/* ==========================================================================
   Empty Nest Quiz Funnel - Design System
   TAUT "Soft Power" Aesthetic Migration
   ========================================================================== */

/* --------------------------------------------------------------------------
   Font Face Declarations
   -------------------------------------------------------------------------- */
/* Using Google Fonts for better reliability and performance match */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens) - TAUT v6.2 - Visual Redesign V3
   -------------------------------------------------------------------------- */
:root {
  /* Foundation */
  --color-ivory: #fff8e8;
  /* Warm Beige Background */
  --color-surface: #FFFFFF;
  /* Pure White Surface */
  --color-near-black: #111111;
  /* Deep Black */
  --color-body: #2C2C2C;
  /* High contrast body text */
  --color-warm-gray: #555555;
  /* Neutral gray */

  /* Primary Brand */
  --color-primary: #f23643;
  /* Vibrant Red - Strong CTA */
  --color-primary-dark: #d92f3c;
  /* Darker Red for hover */

  /* Accent */
  --color-accent: #FFFFFF;
  /* White as accent on dark/colored backgrounds */
  --color-secondary: #FFF0E6;
  /* Very light Coral tint */

  /* Semantic */
  --color-success: #2D5A27;
  --color-error: #D32F2F;

  /* Typography - FULL SANS SERIF */
  --font-serif: "Inter", sans-serif;
  /* Override serif var to be sans for quick switch */
  --font-sans: "Inter", sans-serif;

  /* Shadows - High Definition */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Legacy Compat/Mappings */
  --color-background: var(--color-ivory);
  --color-text: var(--color-near-black);
  --color-text-light: var(--color-warm-gray);
  --color-text-muted: var(--color-warm-gray);
  --color-terracotta: var(--color-primary);
  /* Map old accent to new primary */
  --color-burgundy: var(--color-primary);
  --color-burgundy-dark: var(--color-primary-dark);
  --color-sage: var(--color-success);
  --color-border: rgba(0, 0, 0, 0.08);

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;
  --container-width: 1200px;

  /* Border Radius - Significantly Reduced for Elegance */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Max Widths */
  --max-width: 680px;
}

/* --------------------------------------------------------------------------
   Global Typography Overrides - NO ITALICS
   -------------------------------------------------------------------------- */
em,
i,
.italic,
[class*="italic"] {
  font-style: normal !important;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: #FDF8F3;
  overflow-x: hidden;
}

/* Skip Link - Removed per user request */
/* .skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: var(--space-3);
  background: var(--color-terracotta);
  color: white;
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
} */

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: var(--leading-tight);
  color: var(--color-near-black);
}

h1 {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-5xl));
}

h2 {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl));
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

p {
  margin-bottom: var(--space-4);
}

.text-serif {
  font-family: var(--font-serif);
}

.text-italic {
  font-style: italic;
}

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

.text-muted {
  color: var(--color-text-muted);
}

.text-light {
  color: var(--color-text-light);
}

.text-accent {
  color: var(--color-terracotta);
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-terracotta);
  margin-bottom: var(--space-3);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section-padding {
  padding: 64px 0 80px;
}

/* --------------------------------------------------------------------------
   Progress Bar - Thin, Editorial Style
   -------------------------------------------------------------------------- */
/* Progress bar styles are in quiz.html inline styles */

.progress-text {
  display: none;
  /* Hidden by default, shown only on interstitials */
}

.progress-text.visible {
  display: block;
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-warm-gray);
  z-index: 1000;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-terracotta);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--color-near-black);
  border: 1px solid rgba(196, 120, 92, 0.4);
}

.btn-secondary:hover {
  background: rgba(196, 120, 92, 0.05);
}

.btn-large {
  padding: 1.5rem 3rem;
  font-size: 1.35rem;
  font-weight: 700;
  min-height: 5rem;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Floating Continue Button (for multi-select questions)
   -------------------------------------------------------------------------- */
.floating-continue-wrapper {
  margin-top: 2rem;
  padding: 0;
  background: none;
  position: static;
  transform: none;
  width: 100%;
}

.floating-continue-btn {
  max-width: 400px;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  padding: 18px 32px;
  min-height: auto;
}

.floating-continue-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Bottom padding for question screens */
.question-screen {
  padding-bottom: 40px;
}

/* --------------------------------------------------------------------------
   Answer Cards - Clean Editorial Style (TodayIsTheDay + Tai Chi)
   -------------------------------------------------------------------------- */
.answer-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: var(--space-6) 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Simple list-style cards (no images) - Bone white fill */
.answer-card {
  background: #FFFBF7;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.answer-card:hover {
  background: #FFFFFF;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.answer-card.selected {
  border: 2px solid #3B82F6;
  background: #FFFFFF;
}

.answer-card.selected::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #3B82F6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  z-index: 10;
}

/* Image placeholder - hidden by default */
.answer-card-image {
  width: 100%;
  height: 0;
  object-fit: cover;
  background: transparent;
  display: none;
  overflow: hidden;
}

.answer-card-text-bar {
  padding: 20px 24px;
  padding-right: 54px;
  background: white;
  display: flex;
  align-items: center;
}

.answer-card-text {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-near-black);
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Grid Answer Cards - Tai Chi Image Style (PREMIUM SIZE for Older Users)
   -------------------------------------------------------------------------- */
.answer-cards.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
  max-width: 720px;
}

.answer-cards.grid .answer-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFBF7;
}

.answer-cards.grid .answer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  background: #FFFFFF;
}

.answer-cards.grid .answer-card.selected {
  border: 2px solid #3B82F6;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
  background: #FFFFFF;
}

.answer-cards.grid .answer-card.selected::after {
  top: 12px;
  right: 12px;
  transform: none;
  width: 26px;
  height: 26px;
  font-size: 13px;
  background: #3B82F6;
}

.answer-cards.grid .answer-card-image {
  display: block;
  width: 100%;
  height: 200px;
  background: linear-gradient(180deg, #FAFAF8 0%, #F5EBE6 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.answer-cards.grid .answer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.answer-cards.grid .answer-card-text-bar {
  padding: 20px 20px;
  padding-right: 20px;
  background: white;
  min-height: auto;
}

/* Text-only grid cards (no image) - add vertical padding for consistent sizing */
.answer-cards.grid .answer-card:not(:has(.answer-card-image)) .answer-card-text-bar {
  padding: 32px 24px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.answer-cards.grid .answer-card-text {
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  width: 100%;
  color: var(--color-near-black);
  line-height: 1.3;
}

/* 3-column for wider screens with more options */
@media (min-width: 700px) {
  .answer-cards.grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   Mobile Responsive - Editorial Clean (PREMIUM SIZE for Older Users)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section-padding {
    padding: 32px 0 48px;
  }

  .container {
    padding: 0 20px;
  }

  .question-text {
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    padding-top: 20px;
    letter-spacing: -0.01em;
  }

  .answer-cards {
    gap: 14px;
    margin-top: 32px;
  }

  .answer-card-text-bar {
    padding: 18px 20px;
    padding-right: 50px;
  }

  .answer-card-text {
    font-size: 17px;
    font-weight: 600;
  }

  .answer-cards.grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
  }

  .answer-cards.grid .answer-card-image {
    height: 140px;
  }

  .answer-cards.grid .answer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .answer-cards.grid .answer-card-text-bar {
    padding: 16px 16px;
  }

  /* Text-only grid cards on mobile */
  .answer-cards.grid .answer-card:not(:has(.answer-card-image)) .answer-card-text-bar {
    padding: 24px 18px;
    min-height: 85px;
  }

  .answer-cards.grid .answer-card-text {
    font-size: 15px;
    font-weight: 700;
  }

  .answer-cards.grid .answer-card {
    border-radius: 16px;
  }

  .answer-cards.grid .answer-card.selected::after {
    width: 24px;
    height: 24px;
    font-size: 12px;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 380px) {
  .answer-cards.grid {
    gap: 12px;
  }

  .answer-cards.grid .answer-card-image {
    height: 120px;
  }

  .answer-cards.grid .answer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .answer-cards.grid .answer-card-text {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   Form Inputs - Premium Style for Older Users
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--color-near-black);
}

.form-input {
  width: 100%;
  padding: 18px 20px;
  font-family: var(--font-sans);
  font-size: 18px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  background: white;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 4px rgba(196, 120, 92, 0.12);
}

.form-input::placeholder {
  color: var(--color-warm-gray);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Special Screens
   -------------------------------------------------------------------------- */

/* Welcome Page */
.welcome-hero {
  text-align: center;
  padding: var(--space-12) 0;
  background: linear-gradient(180deg, #F8F5F0 0%, #F5EBE6 100%);
  position: relative;
}

.welcome-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.welcome-trust {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--color-success-light);
  color: var(--color-success);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

/* Commitment Screen */
.commitment-screen {
  text-align: center;
  padding: var(--space-12) var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  margin: var(--space-8) 0;
}

/* Insight Screen */
.insight-screen {
  padding: var(--space-12) 0;
}

.insight-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-elevated);
  border: 1px solid white;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --------------------------------------------------------------------------
   Interstitial Screens (Affirmations, Testimonials, Transitions)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Interstitial Screens - Full Screen TodayIsTheDay Style
   -------------------------------------------------------------------------- */
.interstitial-screen {
  min-height: calc(100vh - 120px);
  min-height: calc(100dvh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 40px 24px 120px;
}

.interstitial-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.interstitial-icon {
  width: 80px;
  height: 80px;
  background: rgba(196, 120, 92, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.25rem;
}

.interstitial-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(196, 120, 92, 0.1);
  color: var(--color-terracotta);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.interstitial-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-near-black);
  margin-bottom: 20px;
}

.interstitial-text {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-body);
  margin-bottom: 28px;
  max-width: 400px;
}

.interstitial-cta {
  position: static;
  padding: 0;
  background: none;
  margin-top: 0.5rem;
}

.interstitial-cta .btn-large {
  max-width: 440px;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  font-size: 19px;
  font-weight: 700;
  padding: 22px 36px;
  min-height: auto;
}

@media (max-width: 768px) {
  .interstitial-screen {
    padding: 24px 20px 100px;
    min-height: calc(100vh - 100px);
    min-height: calc(100dvh - 100px);
  }

  .interstitial-icon {
    width: 72px;
    height: 72px;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .interstitial-headline {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .interstitial-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
}

/* Old interstitial styles removed - using new full-screen TodayIsTheDay style above */

/* Testimonial Card Styling - Compact */
.testimonial-interstitial {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 24px 20px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: 380px;
  text-align: center;
}

.testimonial-interstitial .quote {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-near-black);
  margin-bottom: 12px;
  font-style: italic;
}

.testimonial-interstitial .attribution {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-warm-gray);
}

.testimonial-interstitial .stars {
  color: var(--color-terracotta);
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-interstitial .testimonial-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-light);
  margin: 0 auto 12px;
}

.testimonial-interstitial .detail {
  font-size: 12px;
  color: var(--color-warm-gray);
  margin-bottom: 16px;
}

/* Quiz Header - Minimal */
.quiz-header {
  display: none;
  /* Hidden for cleaner quiz experience */
}

.quiz-logo {
  display: none;
}

.quiz-back-btn {
  position: fixed;
  top: 16px;
  left: var(--space-4);
  z-index: 1000;
  background: transparent;
  border: none;
  color: var(--color-warm-gray);
  font-size: var(--text-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.quiz-back-btn:hover {
  color: var(--color-near-black);
}

/* Question styling - Editorial, Breathable (WIDER for better readability) */
.question-text {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-near-black);
  text-align: center;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 0;
  letter-spacing: -0.01em;
}

/* Question counter/progress indicator above question */
.question-counter {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-warm-gray);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

/* Decorative background elements - Hidden for clean look */
.quiz-bg-decoration {
  display: none;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

/* ==========================================================================
   Homepage V3 Styles - Fan Cards Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header V3
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 253, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem 0;
}

.header-v3-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.nav-links-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-self: start;
}

.nav-item {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-near-black);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.logo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.logo-center .top {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.15em;
  color: var(--color-warm-gray);
}

.logo-center .bottom {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-near-black);
  letter-spacing: -0.01em;
}

.auth-right {
  display: flex;
  align-items: center;
  justify-self: end;
}

.header-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header-cta:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Hero V3 - Fan Cards Section
   -------------------------------------------------------------------------- */
.hero-v3-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #a8d5e5 0%, #d4e8ed 40%, #f5e6d3 70%, #fff8e8 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 1.5rem 0;
}

.float-cloud {
  position: absolute;
  width: 200px;
  opacity: 0.6;
  pointer-events: none;
}

.float-cloud.left {
  left: 5%;
  top: 20%;
}

.float-cloud.right {
  right: 5%;
  top: 25%;
}

.hero-v3-content {
  text-align: center;
  max-width: 700px;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.hero-v3-headline {
  font-family: var(--font-sans);
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-near-black);
  margin-bottom: 1.5rem;
}

.hero-v3-subhead {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-body);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-selection-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-near-black);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   Fan Cards
   -------------------------------------------------------------------------- */
.cards-fan-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  position: relative;
  z-index: 3;
  margin-bottom: -60px;
  padding: 0 1rem;
}

.fan-card {
  background: white;
  border-radius: 1.75rem;
  width: 300px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.fan-card.left {
  transform: rotate(-8deg) translateY(20px);
}

.fan-card.center {
  transform: translateY(-10px);
  z-index: 2;
}

.fan-card.right {
  transform: rotate(8deg) translateY(20px);
}

.fan-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.card-illus {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-illus.yellow {
  background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);
}

.card-illus.teal {
  background: linear-gradient(180deg, #99f6e4 0%, #5eead4 100%);
}

.card-illus.pink {
  background: linear-gradient(180deg, #fecdd3 0%, #fda4af 100%);
}

.card-text {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-near-black);
  padding: 1.25rem 1.25rem 1rem;
  line-height: 1.3;
}

.btn-card {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(242, 54, 67, 0.3);
}

/* --------------------------------------------------------------------------
   Cloud Decoration / Divider
   -------------------------------------------------------------------------- */
.cloud-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.cloud-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Proof / Testimonial Marquee Section
   -------------------------------------------------------------------------- */
.proof-section {
  padding: 3rem 0;
  overflow: hidden;
  background: transparent;
}

.proof-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-left 40s linear infinite;
  width: max-content;
}

.proof-track:hover {
  animation-play-state: paused;
}

.proof-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  min-width: 320px;
  max-width: 360px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.proof-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-body);
  margin-bottom: 0.75rem;
}

.proof-author {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Archetypes Section
   -------------------------------------------------------------------------- */
.archetypes-section {
  padding: 4rem 1.5rem 5rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-near-black);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-warm-gray);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.archetype-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.archetype-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.archetype-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.card-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(242, 54, 67, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-near-black);
  margin-bottom: 0.75rem;
}

.card-pain {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-body);
  margin-bottom: 1rem;
}

.card-hook {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-warm-gray);
  font-style: italic;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1rem;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Homepage Mobile Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .cards-fan-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    padding-bottom: 2rem;
  }

  .fan-card {
    width: 320px;
  }

  .fan-card.left,
  .fan-card.center,
  .fan-card.right {
    transform: none;
  }

  .fan-card:hover {
    transform: scale(1.05);
  }

  .hero-v3-container {
    padding-top: 100px;
    min-height: auto;
  }

  .nav-links-left {
    display: none;
  }

  .float-cloud {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-v3-inner {
    padding: 0 1rem;
  }

  .logo-center .bottom {
    font-size: 1.1rem;
  }

  .hero-v3-headline {
    font-size: 2rem;
  }

  .fan-card {
    width: 90%;
    max-width: 300px;
  }

  .proof-card {
    min-width: 280px;
    padding: 1.25rem 1.5rem;
  }

  .archetype-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Benefits Section (How It Works)
   -------------------------------------------------------------------------- */
.benefits-section {
  padding: 5rem 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
  background: #fff8e8;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 100%;
  height: 160px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #fafaf8 0%, #f5f0eb 100%);
  border-radius: 1rem;
  font-size: 4rem;
}

.benefit-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-near-black);
  margin-bottom: 1rem;
}

.benefit-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-body);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Social Proof Stats Section
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: #fff8e8;
}

.stats-intro {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--color-body);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-near-black);
  text-transform: capitalize;
}

/* --------------------------------------------------------------------------
   Testimonials Section V2
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 5rem 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
  background: #fff8e8;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card-v2 {
  background: white;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.15rem;
}

.testimonial-quote {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-body);
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author-info {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.25rem;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-near-black);
  margin-bottom: 0.25rem;
}

.testimonial-detail {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-warm-gray);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Journey CTA Section (Repeat Cards Before FAQ)
   -------------------------------------------------------------------------- */
.journey-cta-section {
  padding: 5rem 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
  background: #fff8e8;
}

.cards-fan-wrapper-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.fan-card-cta {
  background: white;
  border-radius: 1.75rem;
  width: 300px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.fan-card-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

@media (max-width: 900px) {
  .cards-fan-wrapper-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .fan-card-cta {
    width: 320px;
    max-width: 90%;
  }
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 5rem 1.5rem 6rem;
  max-width: 800px;
  margin: 0 auto;
  background: #fff8e8;
}

.faq-container {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition-normal);
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-near-black);
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: rgba(242, 54, 67, 0.03);
}

.faq-toggle {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-body);
}

/* --------------------------------------------------------------------------
   Mobile Responsive for New Sections
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .benefits-section,
  .stats-section,
  .testimonials-section,
  .journey-cta-section,
  .faq-section {
    padding: 3rem 1rem;
  }

  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
  }

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

  .stat-number {
    font-size: 2.75rem;
  }

  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
  }
}