/* The Party Pros — Fun corporate event planning site */

:root {
  --primary: #6b21a8;          /* Deep purple */
  --primary-dark: #4c1d95;
  --primary-light: #a855f7;
  --accent: #ec4899;           /* Hot pink */
  --accent-2: #f59e0b;         /* Warm gold */
  --success: #10b981;
  --text: #1e1b4b;
  --text-muted: #5b5675;
  --text-light: #8b87a3;
  --bg: #faf5ff;
  --bg-white: #ffffff;
  --border: #e9d5ff;
  --shadow: 0 4px 14px rgba(107, 33, 168, 0.12);
  --shadow-lg: 0 12px 40px rgba(107, 33, 168, 0.18);
  --radius: 12px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Trebuchet MS", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.95;
}

.logo-mark {
  font-size: 1.6rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: white;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
}

.btn-primary:hover {
  background: #db2777;
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 50%, #ec4899 100%);
  color: white;
  padding: 3.5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "🎉 🥳 🎈 ✨ 🎊";
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  font-size: 1.5rem;
  opacity: 0.25;
  letter-spacing: 1.5rem;
  pointer-events: none;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Login card on landing */
.login-panel {
  max-width: 400px;
  margin: -2.5rem auto 0;
  position: relative;
  z-index: 10;
  padding: 0 1.5rem 2rem;
}

.login-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem 1.5rem;
  border: 2px solid var(--border);
}

.login-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.25rem;
}

.login-card .sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.form-group input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #faf5ff;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-light);
  background: white;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 0.3rem;
}

.form-error.visible {
  display: block;
}

/* Content sections */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 0.6rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Dashboard / thankyou page */
.dash-header {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 1.5rem 0;
}

.dash-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.welcome {
  font-size: 1.4rem;
  font-weight: 700;
}

.welcome span {
  color: #f9a8d4;
}

.dash-meta {
  font-size: 0.9rem;
  opacity: 0.85;
}

.dashboard {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.stat-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.stat-card .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-card .hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.section-box {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.section-box h2 {
  font-size: 1.1rem;
  color: var(--primary);
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--border);
  background: #faf5ff;
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.event-table th,
.event-table td {
  padding: 0.75rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.event-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #faf5ff;
}

.event-table tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-planned {
  background: #fce7f3;
  color: #be185d;
}

.badge-confirmed {
  background: #d1fae5;
  color: #047857;
}

.badge-draft {
  background: #fef3c7;
  color: #b45309;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #c4b5fd;
  margin-top: auto;
  padding: 2rem 1.5rem 1.25rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #c4b5fd;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: #a78bfa;
  text-align: center;
}

/* Phish modal */
.phish-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 50, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}

.phish-modal {
  background: #ffffff;
  border: 4px solid #dc2626;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  max-width: 420px;
  width: 100%;
  padding: 2.25rem 1.75rem;
  text-align: center;
}

.phish-modal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #dc2626;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.phish-modal p {
  margin: 0;
  color: #1e1b4b;
  font-size: 1.15rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 0.6rem;
  }
}
