@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Core Colors */
  --background: #0d0a07;
  --background-rgb: 13, 10, 7;
  --foreground: #f6f6f6;
  --card: #15100b;
  --card-foreground: #fcf9f2;
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-rgb: 245, 158, 11;
  --primary-glow: rgba(245, 158, 11, 0.35);
  --secondary: #dc2626;
  --secondary-rgb: 220, 38, 38;
  --muted: #1c150e;
  --muted-foreground: #a39281;
  --border: rgba(245, 158, 11, 0.15);
  --border-strong: rgba(245, 158, 11, 0.35);
  --input-bg: #1c150e;
  
  /* Typography */
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  /* Sizing & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Container & Layout Utilities
   ───────────────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-wrapper {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Glows, Badges & Interactive Effects
   ───────────────────────────────────────────────────────────────────────────── */
.festipal-glow-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #0d0a07;
  font-weight: 700;
  box-shadow: 0 0 25px var(--primary-glow);
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.festipal-glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.6), 0 8px 24px rgba(234, 88, 12, 0.4);
}

.festipal-glow-btn:active {
  transform: translateY(0);
}

.festipal-text-glow {
  text-shadow: 0 0 35px rgba(245, 158, 11, 0.4), 0 0 70px rgba(245, 158, 11, 0.15);
}

.festipal-card-glow {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 158, 11, 0.04);
  transition: all var(--transition-smooth);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.festipal-card-glow:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 45px rgba(245, 158, 11, 0.12);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--primary);
}

.badge-crimson {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #f87171;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Header & Navbar
   ───────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--transition-smooth);
  background: rgba(13, 10, 7, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.08);
}

.site-header.scrolled {
  background: rgba(13, 10, 7, 0.92);
  border-bottom-color: rgba(245, 158, 11, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.logo-symbol {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b, #b45309);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.logo-accent {
  color: var(--primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-item {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}

.nav-item:hover {
  color: var(--primary);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.header-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(18, 14, 10, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-120%);
  transition: transform var(--transition-smooth);
  z-index: 99;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
}

.mobile-nav-drawer a {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Hero Section
   ───────────────────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(245, 158, 11, 0.12) 0%, rgba(13, 10, 7, 0) 70%),
              radial-gradient(ellipse 60% 40% at 50% 80%, rgba(220, 38, 38, 0.06) 0%, rgba(13, 10, 7, 0) 60%);
  z-index: 1;
}

.particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* Animated Mandalas */
.mandala-bg {
  position: absolute;
  pointer-events: none;
  opacity: 0.22;
  z-index: 1;
  animation: rotateMandala 120s linear infinite;
}

.mandala-left {
  width: 440px;
  height: 440px;
  left: -120px;
  top: 40%;
  transform: translateY(-50%);
}

.mandala-right {
  width: 400px;
  height: 400px;
  right: -100px;
  top: 25%;
  animation-direction: reverse;
  animation-duration: 150s;
}

@keyframes rotateMandala {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 7.5vw, 6.25rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-title .text-gold {
  color: var(--primary);
  background: linear-gradient(135deg, #fbbf24 20%, #f59e0b 60%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--muted-foreground);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Waitlist Form */
.waitlist-form-container {
  max-width: 480px;
  margin: 0 auto 2.25rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(21, 16, 11, 0.85);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (min-width: 600px) {
  .waitlist-form {
    flex-direction: row;
  }
}

.waitlist-input {
  flex: 1;
  background: transparent;
  color: var(--foreground);
  padding: 0.9rem 1.4rem;
  font-size: 0.95rem;
}

.waitlist-input::placeholder {
  color: var(--muted-foreground);
  opacity: 0.8;
}

.waitlist-btn {
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.hero-cities {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-cities .city-pill {
  cursor: pointer;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  color: var(--muted-foreground);
  user-select: none;
}

.hero-cities .city-pill:hover {
  color: var(--foreground);
  background: rgba(245, 158, 11, 0.12);
}

.hero-cities .city-pill.active-city {
  color: var(--primary);
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.hero-cities .city-dot {
  color: rgba(245, 158, 11, 0.3);
  margin: 0 0.15rem;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--background), transparent);
  pointer-events: none;
  z-index: 5;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Features Section
   ───────────────────────────────────────────────────────────────────────────── */
.features-section {
  background-color: var(--background);
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.text-center {
  text-align: center;
}

.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-watermark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(245, 158, 11, 0.07);
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-tag-wrapper {
  margin-bottom: 1rem;
}

.feature-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card-desc {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Buzz / Stats Section
   ───────────────────────────────────────────────────────────────────────────── */
.buzz-section {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.buzz-mandala {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 450px;
  height: 450px;
  opacity: 0.15;
  pointer-events: none;
  animation: rotateMandala 160s linear infinite;
}

.buzz-title {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.buzz-subtitle {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  max-width: 580px;
  margin-bottom: 3.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.25rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────────────────
   How It Works Section
   ───────────────────────────────────────────────────────────────────────────── */
.how-it-works-section {
  background: var(--background);
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .steps-connecting-line {
    display: block;
    position: absolute;
    top: 36px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
    z-index: 1;
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
  position: relative;
  z-index: 2;
}

.step-number-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border-strong);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
  transition: all var(--transition-smooth);
}

.step-card:hover .step-number-circle {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.45);
  transform: scale(1.08);
}

.step-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 320px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Waitlist Call To Action Section
   ───────────────────────────────────────────────────────────────────────────── */
.waitlist-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.08) 0%, var(--background) 70%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.waitlist-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 5;
}

.waitlist-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.waitlist-desc {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}

.waitlist-footer-note {
  font-size: 0.8125rem;
  color: rgba(163, 146, 129, 0.6);
  margin-top: 1rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.footer-top-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    align-items: flex-start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 300px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.footer-domain {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.footer-nav-col a {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.footer-nav-col a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(245, 158, 11, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(163, 146, 129, 0.6);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Toast & Notification
   ───────────────────────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: #19140e;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: var(--foreground);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 380px;
}

@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Responsive Tweaks
   ───────────────────────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .header-actions {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}
