/* ==========================================================================
   Firefly Express — UI Design System & Stylesheet
   Target: https://firefly.nostrabotus.com
   ========================================================================== */

:root {
  /* Core Palette */
  --forest-950: #0c1d16;
  --forest-900: #132a20;
  --forest-800: #1b3b2d;
  --forest-700: #254f3d;
  --cream-50: #fdfbf7;
  --cream-100: #faf6ee;
  --cream-200: #f1e8d8;
  --cream-300: #e5d8c2;

  /* Accents */
  --gold-300: #fae09e;
  --gold-400: #f5c76b;
  --gold-500: #e5a93c;
  --gold-600: #c48822;
  --crimson-500: #c43636;
  --crimson-600: #a82828;
  --crimson-700: #8c1f1f;
  --teal-500: #2a7b6f;

  /* Neutrals */
  --ink-900: #1b221e;
  --ink-700: #3d4842;
  --ink-500: #66736c;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-soft: 0 10px 30px rgba(12, 29, 22, 0.08);
  --shadow-card: 0 18px 45px rgba(12, 29, 22, 0.14);
  --shadow-glow: 0 0 28px rgba(245, 199, 107, 0.35);

  /* Layout */
  --container-max: 1180px;
  --nav-height: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background-color: var(--cream-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--crimson-500);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(196, 54, 54, 0.28);
}

.btn-primary:hover {
  background-color: var(--crimson-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(196, 54, 54, 0.35);
}

.btn-gold {
  background-color: var(--gold-400);
  color: var(--forest-950);
  box-shadow: 0 8px 20px rgba(229, 169, 60, 0.28);
}

.btn-gold:hover {
  background-color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream-50);
  border-color: rgba(250, 246, 238, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-400);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 42, 32, 0.09);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--forest-900);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1.5px solid var(--forest-900);
  border-radius: 10px;
  padding: 7px 11px;
  color: var(--forest-900);
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #214937 0%, var(--forest-900) 55%, var(--forest-950) 100%);
  color: var(--cream-50);
  padding: 68px 0 84px;
  overflow: hidden;
}

#firefly-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 199, 107, 0.14);
  border: 1px solid rgba(245, 199, 107, 0.35);
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 10px var(--gold-400);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(250, 246, 238, 0.86);
  max-width: 540px;
  margin: 0 0 30px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: rgba(250, 246, 238, 0.78);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust-item span.check {
  color: var(--gold-400);
  font-weight: 800;
}

/* Hero Visual Showcase (Phone + Floating Postcard) */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

.phone-frame {
  position: relative;
  width: 300px;
  background: #0d1411;
  border-radius: 38px;
  padding: 11px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(245, 199, 107, 0.25);
  z-index: 3;
}

.phone-screen {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--forest-950);
  aspect-ratio: 9 / 16;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-topbar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.portal-pill {
  background: rgba(12, 29, 22, 0.72);
  backdrop-filter: blur(8px);
  color: var(--cream-50);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.live-pill {
  background: var(--crimson-500);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.phone-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(12, 29, 22, 0.92) 0%, rgba(12, 29, 22, 0.15) 48%, transparent 100%);
}

.phone-caption {
  font-size: 0.8rem;
  color: var(--cream-50);
  margin-bottom: 10px;
  line-height: 1.38;
}

.phone-caption strong {
  color: var(--gold-300);
}

.play-sample-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  background: rgba(250, 246, 238, 0.95);
  color: var(--forest-950);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.play-sample-btn:hover {
  background: var(--gold-300);
  transform: translateY(-1px);
}

/* Floating Postcard */
.floating-postcard {
  position: absolute;
  left: -26px;
  bottom: 34px;
  width: 175px;
  background: var(--cream-50);
  color: var(--ink-900);
  border-radius: 10px;
  padding: 12px;
  transform: rotate(-8deg);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  border: 3px solid var(--white);
  z-index: 4;
}

.postcard-stripe {
  height: 5px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--crimson-500),
    var(--crimson-500) 8px,
    var(--cream-50) 8px,
    var(--cream-50) 14px,
    var(--forest-800) 14px,
    var(--forest-800) 22px,
    var(--cream-50) 22px,
    var(--cream-50) 28px
  );
  margin-bottom: 8px;
}

.postcard-note {
  font-family: var(--font-hand);
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--forest-900);
  margin: 0;
}

.postcard-stamp {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  margin-top: 6px;
  font-weight: 700;
}

/* Floating Memory Pill */
.floating-memory-badge {
  position: absolute;
  right: -14px;
  top: 64px;
  max-width: 185px;
  background: rgba(19, 42, 32, 0.94);
  border: 1px solid rgba(245, 199, 107, 0.45);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--cream-50);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  z-index: 4;
  font-size: 0.76rem;
}

.floating-memory-badge .tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

/* ==========================================================================
   Section Headers & Pillars
   ========================================================================== */
.section {
  padding: 84px 0;
}

.section-cream {
  background: var(--cream-100);
}

.section-white {
  background: var(--cream-50);
}

.section-forest {
  background: linear-gradient(180deg, var(--forest-900) 0%, var(--forest-950) 100%);
  color: var(--cream-50);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}

.section-forest .section-kicker {
  color: var(--gold-400);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--ink-700);
  margin: 0;
}

.section-forest .section-header p {
  color: rgba(250, 246, 238, 0.8);
}

/* 3 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid rgba(19, 42, 32, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cream-200);
  color: var(--forest-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: var(--forest-900);
}

.pillar-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-700);
}

/* ==========================================================================
   Interactive "See What You're Buying" Showcase
   ========================================================================== */
.tour-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.tour-tab-btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(19, 42, 32, 0.16);
  background: var(--white);
  color: var(--forest-900);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tour-tab-btn:hover {
  border-color: var(--forest-800);
}

.tour-tab-btn.active {
  background: var(--forest-900);
  color: var(--gold-300);
  border-color: var(--forest-900);
  box-shadow: 0 8px 20px rgba(19, 42, 32, 0.2);
}

.tour-panel {
  display: none;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(19, 42, 32, 0.1);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.tour-panel.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tab 1: Chat & Memory Engine */
.chat-demo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.chat-box {
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-box-header {
  background: var(--forest-900);
  color: var(--cream-50);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-box-header .status {
  font-size: 0.78rem;
  color: var(--gold-300);
  font-weight: 600;
}

.chat-messages {
  padding: 18px;
  min-height: 250px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg-bubble {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.msg-elf {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-bottom-left-radius: 4px;
  color: var(--ink-900);
}

.msg-kid {
  align-self: flex-end;
  background: var(--forest-800);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-prompts {
  padding: 14px 16px;
  border-top: 1px solid var(--cream-300);
  background: var(--cream-100);
}

.chat-prompts-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  margin-bottom: 8px;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prompt-chip {
  background: var(--white);
  border: 1.5px solid var(--forest-700);
  color: var(--forest-900);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.prompt-chip:hover {
  background: var(--forest-900);
  color: var(--gold-300);
}

.memory-vault {
  background: var(--forest-950);
  color: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(245, 199, 107, 0.25);
}

.memory-vault-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.memory-vault-header h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-300);
}

.vault-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(245, 199, 107, 0.16);
  color: var(--gold-300);
}

.memory-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.memory-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--gold-400);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 0.85rem;
}

.memory-item .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--gold-300);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Tab 2: 12-Month Timeline */
.season-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.season-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--cream-300);
  background: var(--cream-50);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--forest-900);
  cursor: pointer;
}

.season-btn.active {
  background: var(--gold-400);
  border-color: var(--gold-500);
  color: var(--forest-950);
}

.timeline-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.timeline-events {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-event {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: 12px;
  padding: 14px 16px;
}

.timeline-event .channel-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--cream-200);
  color: var(--forest-900);
  margin-bottom: 6px;
}

.timeline-callout {
  background: var(--forest-900);
  color: var(--cream-50);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-callout h4 {
  font-family: var(--font-display);
  color: var(--gold-300);
  margin: 0 0 10px;
  font-size: 1.25rem;
}

/* Tab 3: Parent Director Mode */
.director-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.director-controls h4, .script-preview h4 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  color: var(--forest-900);
  font-size: 1.2rem;
}

.beat-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.beat-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream-50);
  border: 1.5px solid var(--cream-300);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
}

.beat-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--forest-800);
}

.nudge-input-wrap label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.nudge-input-wrap input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--cream-300);
  font-size: 0.92rem;
}

.nudge-input-wrap input:focus {
  outline: none;
  border-color: var(--forest-700);
}

.script-preview-box {
  background: var(--forest-950);
  color: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(245, 199, 107, 0.3);
}

.script-preview-box .script-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-400);
  font-weight: 800;
  margin-bottom: 10px;
}

.script-preview-text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--white);
  margin: 0;
}

.script-highlight {
  color: var(--gold-300);
  font-weight: 600;
}

/* ==========================================================================
   Characters & Shared Universe
   ========================================================================== */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cast-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(19, 42, 32, 0.09);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.cast-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--forest-900);
}

.cast-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.cast-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(12, 29, 22, 0.85);
  color: var(--gold-300);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cast-body {
  padding: 22px;
  flex: 1;
}

.cast-body h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  margin: 0 0 8px;
  color: var(--forest-900);
}

.cast-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-700);
}

.coming-soon-strip {
  margin-top: 28px;
  background: var(--cream-200);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--forest-900);
}

/* ==========================================================================
   Pricing & Crossover Bundle Builder
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.plan-card {
  position: relative;
  background: var(--cream-50);
  color: var(--ink-900);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
}

.plan-card.selected {
  border-color: var(--gold-400);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), var(--shadow-glow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  right: 26px;
  background: var(--gold-400);
  color: var(--forest-950);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 13px;
  border-radius: 999px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 6px;
  color: var(--forest-900);
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--forest-950);
  margin: 0 0 16px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-500);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink-700);
}

.plan-features li::before {
  content: '✓';
  color: var(--teal-500);
  font-weight: 800;
  margin-right: 10px;
}

/* Tooth Fairy Add-On & Summary Bar */
.addon-bar {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(245, 199, 107, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.addon-info h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 4px;
  color: var(--white);
}

.addon-info p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(250, 246, 238, 0.82);
}

.switch-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  color: var(--gold-300);
  white-space: nowrap;
}

.switch-label input {
  width: 22px;
  height: 22px;
  accent-color: var(--gold-400);
}

.crossover-unlock-banner {
  display: none;
  background: linear-gradient(90deg, rgba(229, 169, 60, 0.22), rgba(245, 199, 107, 0.1));
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-md);
  padding: 15px 20px;
  margin-bottom: 20px;
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.96rem;
}

.crossover-unlock-banner.visible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: fadeIn 0.25s ease;
}

.checkout-summary-bar {
  background: var(--cream-50);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.summary-total-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  font-weight: 700;
}

.summary-total-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest-950);
  line-height: 1.1;
}

.summary-breakdown {
  font-size: 0.88rem;
  color: var(--ink-700);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(19, 42, 32, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--forest-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.94rem;
  color: var(--ink-700);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 0.2s ease;
  font-size: 0.85rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--forest-950);
  color: rgba(250, 246, 238, 0.72);
  padding: 46px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ==========================================================================
   Modals (Checkout & Sample Video Preview)
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(12, 29, 22, 0.78);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--cream-50);
  color: var(--ink-900);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--cream-300);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
  color: var(--forest-900);
}

.modal-dialog h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: var(--forest-900);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--ink-700);
}

.form-group input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--cream-300);
  font-size: 0.94rem;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-500);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .chat-demo-grid,
  .timeline-card,
  .director-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid,
  .cast-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .floating-postcard {
    left: 0;
    bottom: -16px;
  }

  .floating-memory-badge {
    right: 0;
    top: 10px;
  }

  .addon-bar,
  .checkout-summary-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--cream-50);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--cream-300);
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .tour-panel {
    padding: 20px;
  }
}
