/**
 * Ferni Story Page - Brand Compliant
 * 
 * Strictly follows FERNI-BRAND-GUIDELINES.md
 * 
 * Typography Scale:
 * - Display XL: 96px, 800, 1.0, -0.03em
 * - Display LG: 80px, 800, 1.0, -0.03em  
 * - Display MD: 64px, 700, 1.05, -0.02em
 * - H1: 40px, 700, 1.2, -0.015em
 * - H2: 32px, 600, 1.25, -0.01em
 * - Body LG: 20px, 400, 1.6
 * - Body MD: 17px, 400, 1.6
 * 
 * All colors imported from design-system tokens.
 */

/* Import design tokens - SINGLE SOURCE OF TRUTH */
@import './_tokens.css';
@import './sections/persona-quiz.css';

/* ============================================
   CSS VARIABLES - BRAND COMPLIANT (EXTENSIONS)
   ============================================ */

:root {
  /* Aliases for backwards compatibility */
  --color-paper-cream: var(--color-bg-primary);
  --color-sand: var(--color-bg-secondary);
  --color-elevated: var(--color-bg-elevated);
  --color-natural-ink: var(--color-text-primary);
  --color-forest-green: var(--color-accent);
  --color-ferni-green: var(--color-ferni);
  --color-warm-amber: var(--color-nayan);
  --color-warm-amber-light: var(--color-highlight);

  /* Dark gradient colors for dramatic sections */
  --color-dark-gradient-start: var(--color-bg-dark);
  --color-dark-gradient-mid: var(--color-bg-dark-elevated);

  /* Muted comparison colors (intentionally softer than error) */
  --color-comparison-bad: var(--color-error);
  --color-comparison-bad-hover: var(--color-error);

  /* === APPLE-LEVEL POLISH: Refined Shadows === */
  --shadow-xs: 0 1px 2px rgba(44, 37, 32, 0.04);
  --shadow-sm: 0 2px 4px rgba(44, 37, 32, 0.06);
  --shadow-md: 0 4px 12px rgba(44, 37, 32, 0.08);
  --shadow-lg: 0 8px 24px rgba(44, 37, 32, 0.1);
  --shadow-xl: 0 16px 48px rgba(44, 37, 32, 0.14);
  --shadow-glow-green: 0 8px 32px rgba(74, 103, 65, 0.15);

  /* === APPLE-LEVEL POLISH: Refined Transitions === */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-snappy: cubic-bezier(0.2, 0, 0, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --duration-instant: 100ms;
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-dramatic: 600ms;

  /* === APPLE-LEVEL POLISH: Line Heights === */
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  /* === TYPOGRAPHY (From Brand Guidelines) === */

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Display Scale */
  --text-display-xl: 96px;
  --text-display-lg: 80px;
  --text-display-md: 64px;
  --text-display-sm: 48px;

  /* Headline Scale */
  --text-h1: 40px;
  --text-h2: 32px;
  --text-h3: 24px;
  --text-h4: 20px;

  /* Body Scale */
  --text-body-lg: 20px;
  --text-body-md: 17px;
  --text-body-sm: 15px;

  /* === SPACING (8px base) === */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Shadows and animations defined in APPLE-LEVEL POLISH section above */
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */

.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background: var(--color-ferni-green);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-body-md);
  font-weight: var(--font-weight-semibold);
  border-radius: 0 0 var(--space-2) var(--space-2);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

/* ============================================
   RESET
   ============================================ */

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

html {
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-natural-ink);
  background: var(--color-paper-cream);
}

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

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-4) var(--space-6);
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--duration-normal) ease;
}

.nav.is-scrolled {
  background: rgba(245, 241, 232, 0.95);
  border-bottom-color: var(--color-border-medium);
}

.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Wordmark-only variant (no avatar orb) */
.nav__logo--wordmark-only {
  gap: 0;
}

.nav__logo--wordmark-only .nav__logo-text {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-extrabold);
  background: linear-gradient(135deg, var(--color-ferni-green) 0%, var(--color-forest-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.015em;
  color: var(--color-natural-ink);
}

.nav__links {
  display: none;
  list-style: none;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) ease;
}

.nav__link:hover {
  color: var(--color-natural-ink);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px var(--space-5);
  background: var(--color-forest-green);
  color: white;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-body-sm);
  font-weight: var(--font-weight-semibold);
  transition: all var(--duration-normal) ease;
}

.nav__cta:hover {
  background: var(--color-ferni-green);
}

.nav__cta svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   SECTION BASE
   ============================================ */

.section {
  position: relative;
  padding: var(--space-24) var(--space-6);
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-32) var(--space-8);
  }
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  padding-left: var(--space-6, 24px);
  padding-right: var(--space-6, 24px);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-12, 48px);
    padding-right: var(--space-12, 48px);
  }
}

.container--narrow {
  max-width: 720px;
}

/* ============================================
   SECTION HEADERS - APPLE POLISH
   Massive typography, high contrast, dramatic presence
   ============================================ */
.section__header {
  text-align: center;
  margin-bottom: clamp(48px, 10vw, 80px);
}

/* EYEBROW - Accent color that POPS */
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ferni-green);
  margin-bottom: var(--space-5);
  /* Subtle glow effect */
  text-shadow: 0 0 30px rgba(74, 103, 65, 0.3);
}

/* TITLE - Apple-scale massive typography */
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-6);
  /* Better text rendering */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* SUBTITLE - High contrast, readable */
.section__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.85;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: var(--space-20);
  background: var(--color-paper-cream);
  overflow: hidden;
}

/* ============================================
   HERO ANIMATED BACKGROUND
   Living, breathing orbs that convey warmth (Pixar: everything alive breathes)
   ============================================ */

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    rgba(74, 103, 65, 0.06) 0%,
    rgba(74, 103, 65, 0.02) 40%,
    transparent 70%
  );
}

.hero__bg-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Breathing orb animation - everything alive breathes */
@keyframes orb-breathe {
  0%,
  100% {
    transform: scale(1) translate(var(--orb-x, 0), var(--orb-y, 0));
    opacity: var(--orb-opacity, 0.3);
  }
  50% {
    transform: scale(1.1) translate(calc(var(--orb-x, 0) + 10px), calc(var(--orb-y, 0) - 10px));
    opacity: calc(var(--orb-opacity, 0.3) + 0.1);
  }
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -15px) rotate(1deg);
  }
  50% {
    transform: translate(10px, 10px) rotate(-1deg);
  }
  75% {
    transform: translate(-15px, -5px) rotate(0.5deg);
  }
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation:
    orb-breathe 8s ease-in-out infinite,
    orb-float 25s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Ferni Green Orb */
.hero__bg-orb--1 {
  --orb-opacity: 0.25;
  width: 600px;
  height: 600px;
  top: -15%;
  right: -10%;
  background: radial-gradient(
    circle,
    rgba(74, 103, 65, 0.4) 0%,
    rgba(74, 103, 65, 0.1) 50%,
    transparent 70%
  );
}

/* Warm Amber Orb */
.hero__bg-orb--2 {
  --orb-opacity: 0.15;
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -5%;
  background: radial-gradient(
    circle,
    rgba(196, 162, 101, 0.3) 0%,
    rgba(196, 162, 101, 0.05) 50%,
    transparent 70%
  );
  animation-delay: -3s;
  animation-duration: 10s, 30s;
}

/* Subtle Teal Orb */
.hero__bg-orb--3 {
  --orb-opacity: 0.12;
  width: 300px;
  height: 300px;
  top: 40%;
  left: 20%;
  background: radial-gradient(circle, rgba(58, 107, 115, 0.2) 0%, transparent 60%);
  animation-delay: -5s;
  animation-duration: 12s, 35s;
}

/* Reduced motion: disable floating animations */
@media (prefers-reduced-motion: reduce) {
  .hero__bg-orb {
    animation: none;
    opacity: var(--orb-opacity);
  }
}

.hero__content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Eyebrow wrapper - centers the badge */
.hero__eyebrow-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}

/* Eyebrow - Apple style badge */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ferni-green);
  background: rgba(74, 103, 65, 0.08);
  padding: 10px 18px;
  border-radius: var(--radius-full);
}

.hero__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-ferni-green);
  border-radius: 50%;
}

/* Emotional Hook - Pain Point */
.hero__emotional-hook {
  margin-bottom: var(--space-6);
  text-align: center;
}

.hero__pain {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 500;
  color: var(--color-natural-ink);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}

.hero__pain-detail {
  font-family: var(--font-body);
  font-size: clamp(14px, 2vw, 16px);
  color: var(--color-text-muted);
  margin: 0;
}

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

/* Ferni Avatar - Breathing Animation */
.hero-ferni {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-6);
  
  /* Ensure container is completely transparent - no visible box */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
}

.hero-ferni__orb {
  position: absolute;
  inset: 15%;
  background: linear-gradient(135deg, var(--color-ferni-green), var(--color-ferni-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(74, 103, 65, 0.3);
  z-index: 2;
}

/* Legacy text style (kept for backwards compatibility) */
.hero-ferni__text {
  color: white;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-2xl);
}

/* ============================================
   FERNI EYES SVG - Friendly presence design
   ============================================ */

/* Base eyes SVG styling - fits within orb containers */
.ferni-eyes-svg,
.hero-ferni__eyes {
  width: 100%;
  height: 100%;
  display: block;
}

/* Eyes have subtle animation on orb hover */
.hero-ferni__orb:hover .hero-ferni__eyes ellipse,
.hero-ferni__orb:hover .ferni-eyes-svg ellipse {
  transform: scale(1.05);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

/* Sparkle animation */
.ferni-sparkle,
.ferni-eyes-svg circle[fill="white"] {
  opacity: 0.9;
}

/* Memory demo avatar eyes */
.memory-demo__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.memory-demo__avatar .ferni-eyes-svg {
  width: 100%;
  height: 100%;
}

/* Journey stage avatar eyes */
.journey__avatar .ferni-eyes-svg {
  width: 100%;
  height: 100%;
}

/* Proof table icon eyes */
.proof-table__icon .ferni-eyes-svg {
  width: 100%;
  height: 100%;
}

/* Two-am avatar orb eyes */
.two-am__avatar-orb .ferni-eyes-svg {
  width: 100%;
  height: 100%;
}

/* Final CTA avatar orb eyes */
.final-cta__avatar-orb .ferni-eyes-svg {
  width: 100%;
  height: 100%;
}

/* Persona avatar eyes */
.persona-avatar__orb .ferni-eyes-svg {
  width: 100%;
  height: 100%;
}

/* Rings and glow hidden - cleaner circular orb look */
.hero-ferni__ring,
.hero-ferni__glow,
.hero-ferni__pulse {
  display: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Breathing Animation */
.hero-ferni--breathing .hero-ferni__orb {
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(74, 103, 65, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(74, 103, 65, 0.4);
  }
}

/* Better than human tagline */
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ferni-green);
  margin-bottom: var(--space-3);
}

/* Main Headline - Display XL specs */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 64px);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-4);
}

.hero__headline-accent {
  display: inline;
  background: linear-gradient(135deg, var(--color-ferni-green), var(--color-ferni));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subhead - Body LG specs */
.hero__subhead {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-8);
}

/* CTA Buttons */
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .hero__cta {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-4);
  }
}

/* Phone link - subtle secondary action */
.hero__phone {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero__phone a {
  color: var(--color-ferni);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--duration-fast) ease;
}

.hero__phone a:hover {
  color: var(--color-ferni-dark);
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-body-md);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border: none;
  text-decoration: none;
  /* Apple-level transitions */
  transition:
    transform var(--duration-fast) var(--ease-spring),
    box-shadow var(--duration-normal) var(--ease-smooth),
    background var(--duration-fast) ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn--primary {
  background: var(--color-forest-green);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--color-ferni-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-green);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
  transition-duration: 50ms;
}

.btn--secondary {
  background: var(--color-elevated);
  color: var(--color-natural-ink);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  border-color: var(--color-forest-green);
  background: rgba(61, 90, 69, 0.05);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-xs);
  transition-duration: 50ms;
}

.btn--lg {
  padding: 18px 36px;
  font-size: var(--text-lg);
}

/* Trust Row */
.hero__trust {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .hero__trust {
    flex-wrap: wrap;
    gap: var(--space-3);
  }
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.hero__trust-item strong {
  font-weight: var(--font-weight-semibold);
  color: var(--color-natural-ink);
}

.hero__trust-divider {
  width: 4px;
  height: 4px;
  background: var(--color-border-strong);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   PROMISE SECTION
   ============================================ */

.promise {
  background: var(--color-elevated);
  padding: var(--space-32) var(--space-6);
}

.promise__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.promise__quote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-h2), 4vw, var(--text-h1));
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-6);
}

.promise__highlight {
  color: var(--color-ferni-green);
}

.promise__author {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

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

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

/* ============================================
   TEAM CARDS - APPLE POLISH
   Clean, inviting, personality-forward
   ============================================ */
.team-card {
  padding: var(--space-8);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(44, 37, 32, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow:
    0 1px 2px rgba(44, 37, 32, 0.04),
    0 4px 16px rgba(44, 37, 32, 0.04);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 30px rgba(44, 37, 32, 0.1),
    0 0 0 1px rgba(74, 103, 65, 0.08);
  border-color: transparent;
}

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

.team-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-natural-ink);
  margin: 0 0 var(--space-1);
}

.team-card__role {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card__quote {
  flex: 1;
  margin: 0 0 var(--space-4);
  padding: 0;
}

.team-card__quote p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.team-card__traits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: auto;
}

.team-card__trait {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  background: var(--color-paper-cream);
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-subtle);
}

/* Persona-specific trait colors */
.team-card--ferni .team-card__trait {
  background: rgba(74, 103, 65, 0.1);
  color: var(--color-ferni);
  border-color: rgba(74, 103, 65, 0.2);
}

.team-card--nayan .team-card__trait {
  background: rgba(154, 123, 90, 0.1);
  color: var(--color-jack);
  border-color: rgba(154, 123, 90, 0.2);
}

.team-card--peter .team-card__trait {
  background: rgba(58, 107, 115, 0.1);
  color: var(--color-peter);
  border-color: rgba(58, 107, 115, 0.2);
}

.team-card--alex .team-card__trait {
  background: rgba(90, 107, 138, 0.1);
  color: var(--color-alex);
  border-color: rgba(90, 107, 138, 0.2);
}

.team-card--maya .team-card__trait {
  background: rgba(166, 122, 106, 0.1);
  color: var(--color-maya);
  border-color: rgba(166, 122, 106, 0.2);
}

.team-card--jordan .team-card__trait {
  background: rgba(196, 133, 106, 0.1);
  color: var(--color-jordan);
  border-color: rgba(196, 133, 106, 0.2);
}

/* Team Card Preview Input */
.team-card__preview-input {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
}

.team-card__preview-input input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-full);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.team-card__preview-input input::placeholder {
  color: var(--color-text-muted);
}

.team-card__preview-input input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.1);
}

.team-card__preview-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.team-card__preview-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(74, 103, 65, 0.3);
}

.team-card__preview-btn:active {
  transform: scale(0.95);
}

.team-card__preview-btn svg {
  width: 18px;
  height: 18px;
}

.team-card__preview-response {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* ============================================
   UNIFIED PERSONA AVATAR SYSTEM
   All avatars are circles with consistent styling
   ============================================ */

.persona-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-4);
}

/* Size variants */
.persona-avatar--sm {
  width: 36px;
  height: 36px;
}

.persona-avatar--md {
  width: 48px;
  height: 48px;
}

.persona-avatar--lg {
  width: 64px;
  height: 64px;
}

/* The main circular orb */
.persona-avatar__orb {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: avatarIdle 4s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.2s ease;
  /* Default Ferni green - persona-specific rules override this */
  background: linear-gradient(
    145deg,
    var(--color-ferni) 0%,
    var(--color-ferni) 50%,
    var(--color-ferni-secondary) 100%
  );
}

/* Highlight shine on orb */
.persona-avatar__orb::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

/* Initials text */
.persona-avatar__text {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  color: white;
  user-select: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.persona-avatar--sm .persona-avatar__text {
  font-size: var(--text-xs);
}

.persona-avatar--md .persona-avatar__text {
  font-size: var(--text-base);
}

.persona-avatar--lg .persona-avatar__text {
  font-size: var(--text-xl);
}

/* Animated ring around avatar */
.persona-avatar__ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.35;
  animation: avatarRingIdle 4s ease-in-out infinite;
}

.persona-avatar--lg .persona-avatar__ring {
  inset: -6px;
  border-width: 2.5px;
}

/* ===== PERSONA COLORS ===== */
.persona-avatar--ferni .persona-avatar__orb {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-ferni) 80%, white) 0%,
    var(--color-ferni) 50%,
    var(--color-ferni-secondary) 100%
  );
}
.persona-avatar--ferni {
  color: var(--color-ferni);
}

.persona-avatar--nayan .persona-avatar__orb {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-nayan) 80%, white) 0%,
    var(--color-nayan) 50%,
    var(--color-nayan-secondary) 100%
  );
}
.persona-avatar--nayan {
  color: var(--color-nayan);
}

.persona-avatar--peter .persona-avatar__orb {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-peter) 80%, white) 0%,
    var(--color-peter) 50%,
    var(--color-peter-secondary) 100%
  );
}
.persona-avatar--peter {
  color: var(--color-peter);
}

.persona-avatar--alex .persona-avatar__orb {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-alex) 80%, white) 0%,
    var(--color-alex) 50%,
    var(--color-alex-secondary) 100%
  );
}
.persona-avatar--alex {
  color: var(--color-alex);
}

.persona-avatar--maya .persona-avatar__orb {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-maya) 80%, white) 0%,
    var(--color-maya) 50%,
    var(--color-maya-secondary) 100%
  );
}
.persona-avatar--maya {
  color: var(--color-maya);
}

.persona-avatar--jordan .persona-avatar__orb {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-jordan) 80%, white) 0%,
    var(--color-jordan) 50%,
    var(--color-jordan-secondary) 100%
  );
}
.persona-avatar--jordan {
  color: var(--color-jordan);
}

/* ===== IDLE ANIMATIONS ===== */
@keyframes avatarIdle {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes avatarRingIdle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.25;
  }
}

/* ===== HOVER INTERACTIONS ===== */
.persona-avatar:hover .persona-avatar__orb {
  animation: avatarHoverBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(1.08);
}

.persona-avatar:hover .persona-avatar__ring {
  animation: avatarRingPulse 0.5s ease-out;
  opacity: 0.5;
}

@keyframes avatarHoverBounce {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.15);
  }
  60% {
    transform: scale(0.98);
  }
  80% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1.08);
  }
}

@keyframes avatarRingPulse {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.08);
    opacity: 0.5;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .persona-avatar__orb,
  .persona-avatar__ring {
    animation: none;
  }
  .persona-avatar:hover .persona-avatar__orb {
    animation: none;
    transform: scale(1.02);
  }
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ferni-green);
  margin-bottom: var(--space-3);
}

.team-card__bio {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

/* ============================================
   FEATURES SECTION - APPLE GRID
   Clean, confident, compelling
   ============================================ */
.features {
  background: linear-gradient(180deg, #f8f6f3 0%, var(--color-paper-cream) 100%);
  padding: clamp(80px, 12vh, 140px) var(--space-6);
}

.features-grid {
  display: grid;
  gap: var(--space-10);
}

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

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

.feature {
  text-align: center;
  padding: var(--space-8);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(44, 37, 32, 0.06);
  box-shadow:
    0 1px 2px rgba(44, 37, 32, 0.04),
    0 4px 16px rgba(44, 37, 32, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 30px rgba(44, 37, 32, 0.08),
    0 0 0 1px rgba(74, 103, 65, 0.1);
}

/* Icon - Large, bold, with gradient */
.feature__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(145deg, rgba(74, 103, 65, 0.12) 0%, rgba(74, 103, 65, 0.06) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature:hover .feature__icon {
  background: linear-gradient(145deg, var(--color-ferni) 0%, var(--color-ferni-secondary) 100%);
  transform: scale(1.05);
}

.feature__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-ferni-green);
  transition: color 0.3s ease;
}

.feature:hover .feature__icon svg {
  color: white;
}

/* Title - Bold and confident */
.feature__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-3);
}

/* Description - High contrast */
.feature__description {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-primary);
  opacity: 0.8;
}

/* ============================================
   LIFE ASSISTANT SECTION
   Complete life companion showcase

   Design System Alignment:
   - Uses design tokens for colors, spacing, shadows
   - Animation durations via --duration-* tokens
   - Animation easings via --ease-* tokens
   - Brand colors only (no rainbow)
   ============================================ */

.assistant {
  background: linear-gradient(
    180deg,
    var(--color-bg-secondary) 0%,
    var(--color-bg-primary) 50%,
    var(--color-bg-secondary) 100%
  );
  padding: clamp(80px, 12vh, 140px) var(--space-6);
  overflow: hidden;
}

.assistant-showcase {
  display: grid;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-12);
}

@media (min-width: 1024px) {
  .assistant-showcase {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-16);
  }
}

/* Phone Mockup - Dark UI element representing a device */
.assistant-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.assistant-phone {
  width: 280px;
  background: linear-gradient(145deg, var(--color-text-primary) 0%, #3a3330 100%);
  border-radius: var(--radius-3xl);
  padding: var(--space-3);
  box-shadow: var(--shadow-2xl);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform var(--duration-slowest) var(--ease-ease-out-back);
}

.assistant-phone:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
}

.assistant-phone__screen {
  background: linear-gradient(180deg, var(--color-bg-dark-elevated) 0%, var(--color-text-primary) 100%);
  border-radius: calc(var(--radius-3xl) - 4px);
  overflow: hidden;
  min-height: 420px;
}

.assistant-phone__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-6) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-inverse);
}

.assistant-phone__notch {
  width: 100px;
  height: 28px;
  background: var(--color-bg-dark);
  border-radius: var(--radius-full);
}

.assistant-phone__signal {
  font-size: var(--text-2xs);
  letter-spacing: 2px;
}

.assistant-phone__content {
  padding: var(--space-5) var(--space-4) var(--space-8);
}

/* Chat bubbles demo */
.assistant-demo {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.assistant-demo__bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  line-height: 1.5;
  animation: bubbleAppear var(--duration-deliberate) var(--ease-ease-out-back) forwards;
  opacity: 0;
}

.assistant-demo__bubble--user {
  background: var(--color-ferni);
  color: var(--color-text-inverse);
  border-bottom-right-radius: var(--radius-xs);
  margin-left: 40px;
  animation-delay: var(--duration-normal);
  font-style: italic;
}

.assistant-demo__bubble--ferni {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: var(--radius-xs);
  margin-right: 20px;
  animation-delay: var(--duration-deliberate);
}

.assistant-demo__action {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
  background: var(--color-ferni-glow);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--color-success);
}

.assistant-demo__action svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-success);
}

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

/* Capabilities Grid */
.assistant-capabilities {
  display: grid;
  gap: var(--space-6);
}

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

@media (min-width: 1024px) {
  .assistant-capabilities {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

.capability {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-bg-elevated);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-slow) var(--ease-ease-in-out),
    box-shadow var(--duration-slow) var(--ease-ease-in-out),
    border-color var(--duration-slow) var(--ease-ease-in-out);
}

.capability:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-ferni-glow);
}

.capability__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(74, 103, 65, 0.1) 0%, rgba(74, 103, 65, 0.05) 100%);
  border: 1px solid rgba(74, 103, 65, 0.1);
  transition:
    background var(--duration-slow) var(--ease-ease-in-out),
    transform var(--duration-slow) var(--ease-ease-out-back),
    border-color var(--duration-slow) var(--ease-ease-in-out);
}

.capability:hover .capability__icon {
  background: linear-gradient(145deg, var(--color-ferni) 0%, var(--color-ferni-secondary) 100%);
  border-color: transparent;
  transform: scale(1.08);
}

.capability__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-ferni);
  transition: color var(--duration-slow) var(--ease-ease-in-out);
}

.capability:hover .capability__icon svg {
  color: var(--color-text-inverse);
}

.capability__content {
  flex: 1;
  min-width: 0;
}

.capability__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.capability__description {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* CTA */
.assistant-cta {
  text-align: center;
  margin-top: var(--space-12);
}

.assistant-cta__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.assistant-cta__text em {
  font-style: italic;
  color: var(--color-ferni);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  gap: var(--space-5);
}

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

.testimonial {
  padding: var(--space-6);
  background: var(--color-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-medium);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.testimonial--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--color-ferni-green), var(--color-ferni));
  color: white;
  border: none;
}

.testimonial--featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(74, 103, 65, 0.3);
}

.testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
}

.testimonial__stars svg {
  width: 16px;
  height: 16px;
  color: var(--color-warm-amber);
  fill: var(--color-warm-amber);
}

.testimonial--featured .testimonial__stars svg {
  color: white;
  fill: white;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--text-body-md);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.testimonial--featured .testimonial__quote {
  font-size: var(--text-body-lg);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
}

.testimonial--featured .testimonial__avatar {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.testimonial__name {
  font-family: var(--font-display);
  font-size: var(--text-body-sm);
  font-weight: var(--font-weight-semibold);
}

.testimonial__role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.testimonial--featured .testimonial__role {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial--featured .testimonial__name {
  color: white;
}

/* Testimonials Section Background */
.testimonials-section {
  background: var(--color-sand);
}

/* ============================================
   PRICING
   ============================================ */

/* ============================================
   PRICING SECTION - APPLE-STYLE CARDS
   Clean, confident, featured card stands out
   ============================================ */
.pricing {
  background: linear-gradient(180deg, #f8f6f3 0%, var(--color-paper-cream) 100%);
  padding: clamp(80px, 12vh, 140px) var(--space-6);
}

.pricing-grid {
  display: grid;
  gap: var(--space-6);
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: var(--space-6);
  }
}

/* Base pricing card */
.pricing-card {
  padding: var(--space-10);
  background: white;
  border-radius: 28px;
  border: 1px solid rgba(44, 37, 32, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 2px rgba(44, 37, 32, 0.04),
    0 4px 16px rgba(44, 37, 32, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 32px rgba(44, 37, 32, 0.1);
}

/* FEATURED CARD - Dark, dramatic */
.pricing-card--featured {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-dark) 100%);
  color: white;
  border: none;
  position: relative;
  box-shadow:
    0 8px 32px rgba(26, 22, 18, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

@media (min-width: 768px) {
  .pricing-card--featured {
    transform: scale(1.05);
    z-index: 1;
  }
  
  .pricing-card--featured:hover {
    transform: scale(1.05) translateY(-4px);
  }
}

/* Badge - Accent color pill */
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  background: linear-gradient(135deg, #5a7a4f 0%, var(--color-ferni) 100%);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(74, 103, 65, 0.3);
}

/* Plan name */
.pricing-card__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

/* Price - MASSIVE */
.pricing-card__price {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-2);
  line-height: 1;
}

.pricing-card__price span {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0;
}

.pricing-card--featured .pricing-card__price span {
  color: rgba(255, 255, 255, 0.6);
}

/* Description */
.pricing-card__description {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.pricing-card--featured .pricing-card__description {
  color: rgba(255, 255, 255, 0.7);
}

/* Features list */
.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-8);
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(44, 37, 32, 0.06);
  color: var(--color-text-primary);
}

.pricing-card--featured .pricing-card__features li {
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card--featured .pricing-card__features li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features svg {
  width: 18px;
  height: 18px;
  color: var(--color-ferni-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card--featured .pricing-card__features svg {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card__cta {
  width: 100%;
}

.pricing-card--featured .btn--primary {
  background: white;
  color: var(--color-natural-ink);
}

.pricing-card--featured .btn--primary:hover {
  background: var(--color-paper-cream);
}

/* ============================================
   FERNI FUND SECTION - Gift Forward Model
   ============================================ */
.ferni-fund {
  background: linear-gradient(180deg, var(--color-paper-sand) 0%, var(--color-paper-cream) 100%);
  padding: clamp(80px, 12vh, 120px) var(--space-6);
}

/* Fund Explainer - How it Works */
.fund-explainer {
  background: white;
  border-radius: 28px;
  padding: var(--space-10) var(--space-8);
  margin-bottom: var(--space-12);
  box-shadow:
    0 1px 2px rgba(44, 37, 32, 0.04),
    0 4px 16px rgba(44, 37, 32, 0.04);
  border: 1px solid rgba(44, 37, 32, 0.06);
}

.fund-explainer__grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .fund-explainer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
  }
}

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

.fund-explainer__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(74, 103, 65, 0.12) 0%, rgba(74, 103, 65, 0.06) 100%);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.fund-explainer__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-ferni-green);
}

.fund-explainer__item:hover .fund-explainer__icon {
  background: linear-gradient(145deg, var(--color-ferni-green) 0%, var(--color-ferni-secondary) 100%);
  transform: scale(1.05);
}

.fund-explainer__item:hover .fund-explainer__icon svg {
  color: white;
}

.fund-explainer__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-2);
}

.fund-explainer__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Gift Cards Grid */
.gift-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .gift-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    align-items: stretch;
  }
}

/* Gift Card */
.gift-card {
  padding: var(--space-8);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(44, 37, 32, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 2px rgba(44, 37, 32, 0.04),
    0 4px 16px rgba(44, 37, 32, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(44, 37, 32, 0.08);
  border-color: rgba(74, 103, 65, 0.2);
}

/* Featured Gift Card */
.gift-card--featured {
  background: white;
  border: 2px solid var(--color-ferni-green);
  position: relative;
  box-shadow:
    0 4px 20px rgba(74, 103, 65, 0.12),
    0 0 0 4px rgba(74, 103, 65, 0.04);
}

@media (min-width: 768px) {
  .gift-card--featured {
    transform: scale(1.05);
    z-index: 1;
  }

  .gift-card--featured:hover {
    transform: scale(1.05) translateY(-6px);
  }
}

.gift-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  background: linear-gradient(135deg, #5a7a4f 0%, var(--color-ferni-green) 100%);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(74, 103, 65, 0.3);
  white-space: nowrap;
}

.gift-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(74, 103, 65, 0.12) 0%, rgba(74, 103, 65, 0.06) 100%);
  border-radius: 14px;
}

.gift-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-ferni-green);
}

.gift-card__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-2);
}

.gift-card__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-1);
  line-height: 1;
}

.gift-card__price span {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0;
}

.gift-card__impact {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-ferni-green);
  margin-bottom: var(--space-4);
}

.gift-card__description {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-6);
}

.gift-card__cta {
  width: 100%;
}

/* Fund Note */
.fund-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-top: var(--space-6);
}

.fund-note a {
  color: var(--color-ferni-green);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fund-note a:hover {
  color: var(--color-natural-ink);
  text-decoration: underline;
}

/* ============================================
   FINAL CTA
   ============================================ */

/* ============================================
   FINAL CTA - APPLE DRAMATIC CLOSE
   The moment of decision - powerful, inviting
   ============================================ */
.final-cta {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-dark) 100%);
  color: white;
  text-align: center;
  padding: clamp(100px, 15vh, 160px) var(--space-6);
  position: relative;
  overflow: hidden;
}

/* Ambient background glow */
.final-cta::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(74, 103, 65, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* Avatar - HERO MOMENT */
.final-cta__avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-10);
  z-index: 1;
}

.final-cta__avatar-glow {
  position: absolute;
  inset: -60%;
  background: radial-gradient(circle, rgba(74, 103, 65, 0.35) 0%, transparent 55%);
  border-radius: 50%;
  animation: cta-glow 4s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

.final-cta__avatar-orb {
  position: absolute;
  inset: 12%;
  background: linear-gradient(145deg, #5a7a4f 0%, var(--color-ferni) 50%, var(--color-ferni-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  box-shadow:
    0 12px 40px rgba(74, 103, 65, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 -2px 0 rgba(0, 0, 0, 0.1) inset;
  animation: cta-breathe 4s ease-in-out infinite;
}

@keyframes cta-breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* HEADLINE - Apple massive */
.final-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

/* Subhead - High contrast on dark background */
.final-cta__subhead {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: clamp(40px, 8vh, 64px);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Phone CTA - HERO BUTTON */
.final-cta__phone {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-8) clamp(32px, 8vw, 64px);
  background: white;
  border-radius: var(--radius-xl);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.15);
}

.final-cta__phone:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 24px 60px rgba(0, 0, 0, 0.2);
}

.final-cta__phone-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-natural-ink);
  letter-spacing: -0.03em;
}

.final-cta__phone-label {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ferni-green);
  margin-top: var(--space-2);
  font-weight: 500;
}

/* Divider */
.final-cta__divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-8) auto;
  max-width: 300px;
  color: var(--color-dark-text-muted, var(--color-text-muted));
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

.final-cta__divider::before,
.final-cta__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.final-cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .final-cta__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.final-cta .btn--primary {
  background: white;
  color: var(--color-natural-ink);
}

.final-cta .btn--primary:hover {
  background: var(--color-paper-cream);
}

.final-cta .btn--secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  background: transparent;
}

.final-cta .btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--space-16) var(--space-6) var(--space-8);
  background: var(--color-paper-cream);
  border-top: 1px solid var(--color-border-medium);
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
  }
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.footer__column-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-2);
}

.footer__links a {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) ease;
}

.footer__links a:hover {
  color: var(--color-natural-ink);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-medium);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.footer__legal a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast) ease;
}

.footer__legal a:hover {
  color: var(--color-natural-ink);
}

/* ============================================
   PRODUCT SHOWCASE
   ============================================ */

.showcase {
  padding: var(--space-16) var(--space-6);
  background: var(--color-sand);
  overflow: hidden;
}

.showcase__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .showcase__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.showcase__content {
  text-align: center;
}

@media (min-width: 768px) {
  .showcase__content {
    text-align: left;
  }
}

.showcase__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ferni-green);
  margin-bottom: var(--space-3);
}

.showcase__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-h2), 5vw, var(--text-display-sm));
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-4);
}

.showcase__description {
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.showcase__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.showcase__feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}

.showcase__feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-ferni-green);
  flex-shrink: 0;
}

/* Phone Mockup */
.showcase__phone {
  position: relative;
  width: 260px;
  margin: 0 auto;
  padding: 10px;
  background: var(--color-natural-ink);
  border-radius: 36px;
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

@media (min-width: 768px) {
  .showcase__phone {
    width: 300px;
    padding: 12px;
    border-radius: 42px;
  }
}

.showcase__phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--color-natural-ink);
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.showcase__phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: var(--color-text-primary);
  aspect-ratio: 9/19.5;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .showcase__phone-screen {
    border-radius: 30px;
  }
}

.showcase__app {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-4) var(--space-4);
}

.showcase__app-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.showcase__app-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  overflow: hidden;
}

.showcase__app-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: white;
}

.showcase__app-status {
  font-size: var(--text-xs);
  /* Use lighter green for dark backgrounds - 5.68:1 contrast on var(--color-text-primary) */
  color: var(--color-dark-accent, #8fa67a);
}

.showcase__app-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.showcase__app-bubble {
  padding: var(--space-3);
  border-radius: 14px;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.showcase__app-bubble--ai {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  max-width: 85%;
}

/* Insight bubble - shows emotional intelligence */
.showcase__app-bubble--insight {
  background: rgba(74, 103, 65, 0.15);
  border: 1px solid rgba(74, 103, 65, 0.3);
}

.bubble-insight {
  display: block;
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(74, 103, 65, 0.8);
  margin-bottom: var(--space-1);
  font-weight: var(--font-weight-semibold);
}

.showcase__app-bubble--user {
  background: var(--color-ferni-green);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  max-width: 75%;
}

.showcase__app-input {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  margin-top: auto;
}

.showcase__app-input span {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-dark-text-muted, var(--color-text-muted));
}

.showcase__app-input-mic {
  width: 32px;
  height: 32px;
  background: var(--color-ferni-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase__app-input-mic svg {
  width: 14px;
  height: 14px;
  color: white;
}

/* ============================================
   USE CASES
   ============================================ */

.use-cases {
  background: var(--color-paper-cream);
}

.use-cases-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.use-case {
  padding: var(--space-6);
  background: var(--color-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-medium);
  transition: all var(--duration-normal) ease;
}

.use-case:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 30px rgba(44, 37, 32, 0.1),
    0 0 0 1px rgba(74, 103, 65, 0.1);
  border-color: transparent;
}

/* Icon - Larger, with gradient */
.use-case__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
  background: linear-gradient(145deg, rgba(74, 103, 65, 0.12) 0%, rgba(74, 103, 65, 0.06) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.use-case:hover .use-case__icon {
  background: linear-gradient(145deg, var(--color-ferni) 0%, var(--color-ferni-secondary) 100%);
  transform: scale(1.05);
}

.use-case__icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-ferni-green);
  transition: color 0.3s ease;
}

.use-case:hover .use-case__icon svg {
  color: white;
}

/* Title - Bold */
.use-case__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-3);
}

/* Description - High contrast */
.use-case__description {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  margin-bottom: var(--space-5);
  opacity: 0.85;
}

/* Example quote - Accent treatment */
.use-case__example {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-ferni-green);
  padding: var(--space-3) var(--space-4);
  background: rgba(74, 103, 65, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-ferni-green);
}

/* ============================================
   COMPARISON
   ============================================ */

.comparison {
  background: var(--color-natural-ink);
  color: white;
}

.comparison .section__eyebrow {
  color: var(--color-dark-text-muted, var(--color-text-muted));
}

.comparison .section__title {
  color: white;
}

.comparison .section__subtitle {
  color: var(--color-dark-text-secondary, var(--color-bg-secondary));
}

.comparison-grid {
  display: grid;
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

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

.comparison-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

.comparison-card--others {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-card--ferni {
  background: var(--color-ferni-green);
}

.comparison-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.comparison-card__title svg {
  width: 20px;
  height: 20px;
}

.comparison-card__list {
  list-style: none;
}

.comparison-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-card__list li:last-child {
  border-bottom: none;
}

.comparison-card__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-card--others .comparison-card__list svg {
  color: var(--color-dark-text-muted, var(--color-text-muted));
}

.comparison-card--ferni .comparison-card__list svg {
  color: white;
}

/* ============================================
   STATS BAR
   ============================================ */

/* ============================================
   STATS BAR - APPLE BOLD NUMBERS
   Massive stats that command attention
   ============================================ */
.stats-bar {
  padding: clamp(48px, 8vh, 80px) var(--space-6);
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, #1f1a16 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow */
.stats-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(74, 103, 65, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.stats-bar__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .stats-bar__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-12);
  }
}

.stat {
  text-align: center;
  position: relative;
}

/* Divider line between stats on desktop */
@media (min-width: 768px) {
  .stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--space-6));
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  }
}

/* MASSIVE STAT VALUE */
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  /* Gradient text for drama */
  background: linear-gradient(135deg, var(--color-text-inverse) 0%, var(--color-bg-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
  /* Subtle glow */
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

/* Label - high contrast */
.stat__label {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   FAQ - Apple Polish
   ============================================ */

.faq {
  background: var(--color-paper-cream);
}

/* === Section Header Polish === */
.faq .section__eyebrow {
  color: var(--color-ferni-green);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.faq .section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  color: var(--color-natural-ink);
}

.faq .section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-elevated);
  border: 1px solid rgba(44, 37, 32, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    box-shadow var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth),
    transform var(--duration-normal) var(--ease-smooth);
}

.faq-item:hover {
  border-color: rgba(74, 103, 65, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-item[open] {
  border-color: var(--color-ferni-green);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(74, 103, 65, 0.08);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  text-align: left;
  color: var(--color-natural-ink);
  cursor: pointer;
  list-style: none;
  transition: color var(--duration-fast) ease;
  background: transparent;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item[open] .faq-item__question {
  color: var(--color-ferni-green);
}

.faq-item__question::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--color-ferni-green);
  border-bottom: 2.5px solid var(--color-ferni-green);
  transform: rotate(45deg);
  transition:
    transform var(--duration-slow) var(--ease-spring),
    border-color var(--duration-fast) ease;
  flex-shrink: 0;
  margin-left: var(--space-4);
  opacity: 0.6;
}

.faq-item:hover .faq-item__question::after {
  opacity: 1;
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(-135deg);
  opacity: 1;
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
  animation: faq-expand var(--duration-slow) var(--ease-out-expo);
}

@keyframes faq-expand {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   HOW IT WORKS - Apple Polish
   ============================================ */

.how-it-works {
  background: var(--color-paper-cream);
}

/* === Section Header Polish === */
.how-it-works .section__eyebrow {
  color: var(--color-ferni-green);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.how-it-works .section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  color: var(--color-natural-ink);
}

.how-it-works .section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 800px;
  margin: 0 auto;
  counter-reset: step-counter;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    gap: var(--space-6);
    max-width: none;
  }
}

.step {
  flex: 1;
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--color-elevated);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(44, 37, 32, 0.06);
  transition:
    transform var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth);
  counter-increment: step-counter;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(74, 103, 65, 0.15);
}

.step__number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-ferni-green) 0%, var(--color-ferni-secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(74, 103, 65, 0.3);
  transition: transform var(--duration-slow) var(--ease-spring);
}

.step:hover .step__number {
  transform: translateX(-50%) scale(1.1);
}

.step__content {
  text-align: center;
  padding-top: var(--space-4);
}

.step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background: rgba(74, 103, 65, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 
    background var(--duration-normal) ease,
    transform var(--duration-slow) var(--ease-spring);
}

.step:hover .step__icon {
  background: rgba(74, 103, 65, 0.12);
  transform: scale(1.05);
}

.step__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-ferni-green);
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-spring);
}

.step:hover .step__icon svg {
  transform: scale(1.1);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.step__description {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.step__description strong {
  color: var(--color-ferni-green);
  font-weight: 600;
}

.step__link {
  font-family: var(--font-display);
  font-size: var(--text-body-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-ferni-green);
  text-decoration: none;
  transition: opacity var(--duration-fast) ease;
}

.step__link:hover {
  opacity: 0.8;
}

/* Step connector lines */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    width: 24px;
    height: 2px;
    background: var(--color-border-medium);
  }
}

/* ============================================
   SMOOTH SCROLL & GLOBAL POLISH
   ============================================ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Selection color */
::selection {
  background: rgba(74, 103, 65, 0.2);
  color: var(--color-natural-ink);
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--color-ferni-green);
  outline-offset: 2px;
}

/* ============================================
   FLOATING MOBILE CTA
   ============================================ */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: linear-gradient(to top, var(--color-paper-cream) 80%, transparent);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

.mobile-cta__inner {
  display: flex;
  gap: var(--space-3);
}

.mobile-cta__inner .btn {
  flex: 1;
  justify-content: center;
}

@media (max-width: 767px) {
  .mobile-cta {
    display: block;
  }

  .footer {
    padding-bottom: calc(var(--space-16) + 80px);
  }
}

/* ============================================
   ENHANCED HERO
   ============================================ */

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(74, 103, 65, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(74, 103, 65, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
}

/* ============================================
   BUTTON MICRO-INTERACTIONS
   ============================================ */

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.5s ease,
    height 0.5s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 103, 65, 0.25);
}

.btn--secondary:hover {
  background: rgba(74, 103, 65, 0.05);
}

/* ============================================
   CARD HOVER POLISH
   ============================================ */

.team-card,
.use-case,
.feature {
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card {
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card--featured {
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   PROMISE SECTION ENHANCEMENT
   ============================================ */

.promise {
  position: relative;
  overflow: hidden;
}

.promise::before {
  content: '"';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40vw;
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--color-ferni-green);
  opacity: 0.03;
  pointer-events: none;
  line-height: 1;
}

/* ============================================
   COMPARISON GLOW
   ============================================ */

.comparison::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(74, 103, 65, 0.12), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

.scroll-indicator {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: scrollBounce 2s infinite;
  transition: opacity 0.4s ease;
  z-index: 10;
}

@media (max-width: 767px) {
  .scroll-indicator {
    display: none;
  }
}

.scroll-indicator__mouse {
  width: 24px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: var(--radius-md);
  position: relative;
}

.scroll-indicator__mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: var(--radius-xs);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-6px);
  }
  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    top: 6px;
  }
  100% {
    opacity: 0;
    top: 16px;
  }
}

/* ============================================
   NAVIGATION POLISH
   ============================================ */

.nav.is-scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-ferni-green);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

/* ============================================
   STAT COUNTER ANIMATION
   ============================================ */

.stat__value {
  transition: transform 0.3s ease;
}

.stat:hover .stat__value {
  transform: scale(1.05);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

/* Progressive enhancement: visible by default */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

/* When JS scroll animation is enabled */
.js-animate .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js-animate .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Progressive enhancement: visible by default */
.reveal-stagger > * {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

/* When JS scroll animation is enabled */
.js-animate .reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
}

.js-animate .reveal-stagger.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
  opacity: 1;
  transform: translateY(0);
}
.js-animate .reveal-stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}
.js-animate .reveal-stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.15s;
  opacity: 1;
  transform: translateY(0);
}
.js-animate .reveal-stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.25s;
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(6) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO ANIMATED BACKGROUND
   ============================================ */

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(74, 103, 65, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 90% 90%, rgba(74, 103, 65, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(154, 123, 90, 0.06) 0%, transparent 40%);
  animation: heroGradientShift 12s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero__bg-orbs {
  position: absolute;
  inset: 0;
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero__bg-orb--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: 10%;
  background: rgba(74, 103, 65, 0.3);
  animation: orbFloat1 20s ease-in-out infinite;
}

.hero__bg-orb--2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: 5%;
  background: rgba(154, 123, 90, 0.2);
  animation: orbFloat2 25s ease-in-out infinite;
}

.hero__bg-orb--3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 20%;
  background: rgba(58, 107, 115, 0.15);
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-30px, 20px) scale(1.1);
  }
  66% {
    transform: translate(20px, -30px) scale(0.95);
  }
}

@keyframes orbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -20px) scale(1.15);
  }
}

@keyframes orbFloat3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-25px, 25px);
  }
}

/* ============================================
   HERO TRUST BADGES
   ============================================ */

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(74, 103, 65, 0.08);
  border: 1px solid rgba(74, 103, 65, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ferni-green);
  transition: all 0.3s ease;
}

.hero__badge:hover {
  background: rgba(74, 103, 65, 0.12);
  border-color: rgba(74, 103, 65, 0.25);
  transform: translateY(-2px);
}

.hero__badge svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero__badges {
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 var(--space-4);
    padding-bottom: 80px; /* Space for floating chat bubble */
  }

  .hero__badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
  }

  .hero__badge svg {
    width: 16px;
    height: 16px;
  }
}

/* ============================================
   INLINE TRY FERNI DEMO
   AI-infused: Let visitors try without signup
   ============================================ */

.hero__try-demo {
  margin-top: var(--space-6);
  text-align: center;
}

.hero__try-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: transparent;
  border: 1px dashed rgba(74, 103, 65, 0.4);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ferni-green);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__try-btn:hover {
  background: rgba(74, 103, 65, 0.08);
  border-style: solid;
  border-color: var(--color-ferni-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 103, 65, 0.15);
}

.hero__try-btn:active {
  transform: translateY(0) scale(0.98);
}

.hero__try-btn svg {
  animation: mic-pulse 2s ease-in-out infinite;
}

@keyframes mic-pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Demo modal that expands inline */
.hero__demo-panel {
  display: none;
  margin-top: var(--space-6);
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(74, 103, 65, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  animation: panel-expand 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__demo-panel.is-open {
  display: block;
}

@keyframes panel-expand {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__demo-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--color-ferni-green), var(--color-ferni-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  box-shadow: 0 8px 32px rgba(74, 103, 65, 0.3);
}

.hero__demo-avatar.listening {
  animation: listening-pulse 0.8s ease-in-out infinite;
}

@keyframes listening-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(74, 103, 65, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(74, 103, 65, 0.5);
  }
}

.hero__demo-status {
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.hero__demo-action {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

.hero__demo-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.hero__demo-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
  .hero__try-btn {
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-4);
  }

  .hero__demo-panel {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
  }
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-natural-ink);
  border-radius: var(--radius-xs);
  transition: all 0.3s ease;
}

.nav__cta--desktop {
  display: inline-flex;
}

@media (max-width: 767px) {
  .nav__links {
    display: none;
  }

  .nav__cta--desktop {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-paper-cream);
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-medium);
  margin-bottom: var(--space-6);
}

.mobile-menu__header .nav__logo-text {
  flex: 1;
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sand);
  border: none;
  border-radius: 50%;
  color: var(--color-natural-ink);
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-menu__close:hover {
  background: var(--color-border-strong);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--font-weight-semibold);
  color: var(--color-natural-ink);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  transition: color 0.2s ease;
}

.mobile-menu__nav a:hover {
  color: var(--color-ferni-green);
}

.mobile-menu__cta {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-medium);
}

.mobile-menu__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   SECURITY SECTION - Apple Polish
   ============================================ */

.security {
  background: var(--color-elevated);
}

/* === Section Header Polish === */
.security .section__eyebrow {
  color: var(--color-ferni-green);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.security .section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  color: var(--color-natural-ink);
}

.security .section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.security-grid {
  display: grid;
  gap: var(--space-6);
}

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

@media (min-width: 1024px) {
  .security-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.security-card {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  background: var(--color-paper-cream);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(44, 37, 32, 0.05);
  transition: 
    all var(--duration-normal) var(--ease-smooth);
}

.security-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(74, 103, 65, 0.15);
}

.security-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(74, 103, 65, 0.1) 0%, rgba(74, 103, 65, 0.05) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 
    transform var(--duration-slow) var(--ease-spring),
    background var(--duration-normal) ease;
}

.security-card:hover .security-card__icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(74, 103, 65, 0.15) 0%, rgba(74, 103, 65, 0.08) 100%);
}

.security-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-ferni-green);
  transition: transform var(--duration-slow) var(--ease-spring);
}

.security-card:hover .security-card__icon svg {
  transform: scale(1.1);
}

.security-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-natural-ink);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.security-card__description {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  padding: var(--space-4) var(--space-6);
  background: var(--color-natural-ink);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0) !important;
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
}

.cookie-banner__content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 768px) {
  .cookie-banner__content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.cookie-banner p {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cookie-banner a {
  color: white;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn--sm {
  padding: 8px 16px;
  font-size: var(--text-sm);
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .hero__bg-orb,
  .hero__bg-gradient {
    animation: none;
  }
}

/* ============================================
   PRESS / SOCIAL PROOF BAR
   ============================================ */

.press-bar {
  background: var(--color-sand);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.press-bar__label {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: var(--space-4);
}

.press-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.press-bar__logo {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.press-bar__logo:hover {
  opacity: 0.7;
}

.press-bar__logo svg {
  height: 24px;
  width: auto;
  color: var(--color-natural-ink);
}

@media (max-width: 768px) {
  .press-bar__logos {
    gap: var(--space-6);
  }

  .press-bar__logo svg {
    height: 18px;
  }
}

/* ============================================
   ACCESSIBILITY - FOCUS STATES
   ============================================ */

/* Global focus-visible outline */
*:focus-visible {
  outline: 3px solid var(--color-ferni-green);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Remove default outline for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Button focus states */
.btn:focus-visible {
  outline: 3px solid var(--color-ferni-green);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(74, 103, 65, 0.15);
}

/* Link focus states */
a:focus-visible {
  outline: 2px solid var(--color-ferni-green);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* Nav link focus */
.nav__link:focus-visible {
  background: rgba(74, 103, 65, 0.08);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  margin: calc(-1 * var(--space-2)) calc(-1 * var(--space-3));
}

/* Card focus for keyboard nav */
.team-card:focus-within,
.pricing-card:focus-within,
.use-case:focus-within {
  outline: 2px solid var(--color-ferni-green);
  outline-offset: 4px;
}

/* FAQ item focus */
.faq-item summary:focus-visible {
  outline: 2px solid var(--color-ferni-green);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-ferni-green);
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: 0 0 8px 8px;
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

/* ============================================
   ENHANCED TEAM CARD HOVER (Luxo Jr. style)
   ============================================ */

.team-card {
  position: relative;
  cursor: pointer;
}

/* Persona glow on hover */
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--persona-glow, rgba(74, 103, 65, 0.2)) 0%,
    transparent 70%
  );
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.team-card:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1.3);
}

/* Avatar bounce on card hover */
.team-card:hover .persona-avatar {
  animation: avatar-excited-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes avatar-excited-bounce {
  0% {
    transform: scale(1) translateY(0);
  }
  30% {
    transform: scale(1.08, 0.92) translateY(2px);
  }
  50% {
    transform: scale(0.95, 1.08) translateY(-8px);
  }
  70% {
    transform: scale(1.02, 0.98) translateY(-2px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

/* Persona-specific glow colors */
.team-card:has(.persona-avatar--ferni)::before {
  --persona-glow: var(--color-ferni-glow);
}
.team-card:has(.persona-avatar--nayan)::before {
  --persona-glow: var(--color-nayan-glow);
}
.team-card:has(.persona-avatar--peter)::before {
  --persona-glow: var(--color-peter-glow);
}
.team-card:has(.persona-avatar--alex)::before {
  --persona-glow: var(--color-alex-glow);
}
.team-card:has(.persona-avatar--maya)::before {
  --persona-glow: var(--color-maya-glow);
}
.team-card:has(.persona-avatar--jordan)::before {
  --persona-glow: var(--color-jordan-glow);
}

/* ============================================
   ENHANCED MICRO-INTERACTIONS
   ============================================ */

/* Button ripple effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.4s ease,
    height 0.4s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

/* Link underline animation */
.nav__link,
.footer__links a,
.step__link {
  position: relative;
}

.nav__link::after,
.footer__links a::after,
.step__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:hover::after,
.footer__links a:hover::after,
.step__link:hover::after {
  width: 100%;
}

/* Pricing card hover lift */
.pricing-card {
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44, 37, 32, 0.12);
}

.pricing-card--featured:hover {
  transform: translateY(-12px) scale(1.02);
}

/* Feature icon hover */
.feature__icon {
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease;
}

.feature:hover .feature__icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(74, 103, 65, 0.15);
}

/* Security card icon pulse */
.security-card:hover .security-card__icon {
  animation: icon-pulse 0.5s ease;
}

@keyframes icon-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* Use case hover glow */
.use-case {
  position: relative;
}

.use-case::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(74, 103, 65, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.use-case:hover::before {
  transform: translate(-50%, -50%) scale(1.5);
}

/* Testimonial card hover */
.testimonial {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

/* FAQ chevron - styles defined in main FAQ section */

/* Scroll indicator animation */
.scroll-indicator {
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ============================================
   LAZY LOADING IMAGES
   ============================================ */

img[loading='lazy'] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img[loading='lazy'].loaded,
img[loading='lazy']:not([data-src]) {
  opacity: 1;
}

/* Placeholder shimmer for lazy images */
.img-placeholder {
  background: linear-gradient(
    90deg,
    var(--color-sand) 0%,
    var(--color-paper-cream) 50%,
    var(--color-sand) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */

@media (prefers-contrast: high) {
  :root {
    --color-border-subtle: rgba(44, 37, 32, 0.2);
    --color-border-medium: rgba(44, 37, 32, 0.4);
  }

  .btn {
    border-width: 2px;
  }

  .nav.is-scrolled {
    border-bottom-width: 2px;
  }
}

/* ============================================
   HERO AUDIO SAMPLE
   ============================================ */

.hero__audio {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
}

.hero__audio-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--color-elevated);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-natural-ink);
}

.hero__audio-btn:hover {
  background: var(--color-ferni-green);
  color: white;
  border-color: var(--color-ferni-green);
  transform: scale(1.02);
}

.hero__audio-btn:hover .hero__audio-icon {
  color: white;
}

.hero__audio-icon {
  width: 18px;
  height: 18px;
  color: var(--color-ferni-green);
  flex-shrink: 0;
}

.hero__audio-text {
  font-weight: 500;
}

.hero__audio-duration {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  padding-left: var(--space-2);
  border-left: 1px solid var(--color-border-subtle);
}

.hero__audio-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero__audio-wave.is-playing {
  opacity: 1;
}

.hero__audio-wave span {
  width: 3px;
  height: 100%;
  background: var(--color-ferni-green);
  border-radius: var(--radius-xs);
  animation: audio-wave 1s ease-in-out infinite;
}

.hero__audio-wave span:nth-child(1) {
  animation-delay: 0s;
  height: 40%;
}
.hero__audio-wave span:nth-child(2) {
  animation-delay: 0.1s;
  height: 70%;
}
.hero__audio-wave span:nth-child(3) {
  animation-delay: 0.2s;
  height: 100%;
}
.hero__audio-wave span:nth-child(4) {
  animation-delay: 0.3s;
  height: 60%;
}
.hero__audio-wave span:nth-child(5) {
  animation-delay: 0.4s;
  height: 30%;
}

@keyframes audio-wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 640px) {
  .hero__audio {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__audio-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   MEMORY SECTION - Now using memory-story in components.css
   Old memory-demo styles kept for reference but commented out
   ============================================ */

/*
.memory-demo-DEPRECATED {
  background: linear-gradient(180deg, var(--color-paper-cream) 0%, var(--color-sand) 100%);
  padding: var(--space-24) 0;
}
-- END DEPRECATED MEMORY-DEMO STYLES */

/* ============================================
   THE 2AM MOMENT - Emotional Core
   ============================================ */

/* ============================================
   2AM SECTION - APPLE CINEMATIC DRAMA
   The emotional core - powerful, immersive, memorable
   ============================================ */
.two-am {
  /* ALWAYS dark dramatic background - explicit colors since --color-bg-dark doesn't exist in tokens */
  background: linear-gradient(180deg, #1a1613 0%, #2c2520 100%);
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Atmospheric background */
.two-am::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 100% 80% at 50% 20%, rgba(74, 103, 65, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(154, 123, 90, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.two-am__scene {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.two-am__darkness {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 15vh, 120px) var(--space-6);
  text-align: center;
}

/* MASSIVE TIME DISPLAY */
.two-am__time {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1;
  /* Ethereal glow effect - brighter for visibility */
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.9) 0%, rgba(255, 250, 245, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-10);
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.05));
}

.two-am__thought {
  margin-bottom: clamp(48px, 8vh, 80px);
  max-width: 700px;
}

/* The anxious thought - high contrast italic */
.two-am__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-style: italic;
  font-weight: 500;
  /* Always light cream text on always-dark background - explicit color */
  color: #f5f0e6;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Limitations list - glass cards */
.two-am__limitations {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 450px;
  width: 100%;
}

.two-am__limit {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-6);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.two-am__limit:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Who - Label */
.two-am__limit-who {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  /* Warm accent color - explicit for always-dark section */
  color: var(--color-nayan, #c4956b);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Status - Light text on dark bg */
.two-am__limit-status {
  font-family: var(--font-body);
  font-size: var(--text-base);
  /* Light muted text - explicit for always-dark section */
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* THE RESPONSE - Relief moment */
.two-am__response {
  /* Transition from dark to cream - explicit colors */
  background: linear-gradient(180deg, #1a1613 0%, var(--color-paper-cream, #f5f0e6) 30%);
  padding: clamp(80px, 12vh, 120px) var(--space-6);
  display: flex;
  justify-content: center;
}

.two-am__ferni {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 550px;
}

/* Ferni Avatar - Hero moment */
.two-am__avatar {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: var(--space-8);
}

.two-am__avatar-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(74, 103, 65, 0.25) 0%, transparent 60%);
  border-radius: 50%;
  animation: two-am-glow 4s ease-in-out infinite;
}

@keyframes two-am-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.two-am__avatar-orb {
  position: absolute;
  inset: 10%;
  background: linear-gradient(145deg, #5a7a4f 0%, var(--color-ferni) 50%, var(--color-ferni-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  box-shadow:
    0 8px 32px rgba(74, 103, 65, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Speech bubble - elevated glass */
.two-am__bubble {
  background: white;
  padding: var(--space-8) var(--space-10);
  border-radius: 28px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 40px rgba(44, 37, 32, 0.1);
}

/* Ferni's words - warm and present */
.two-am__ferni-says {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: var(--color-natural-ink);
  margin: 0 0 var(--space-3);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.two-am__ferni-sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ferni-green);
  margin: 0;
  font-weight: 500;
}

@media (max-width: 640px) {
  .two-am__darkness {
    padding: var(--space-16) var(--space-4);
  }

  .two-am__response {
    padding: var(--space-16) var(--space-4);
  }
}

/* Memory Demo Animations - DEPRECATED, see components.css for memory-story */

/* ============================================
   BETTER THAN HUMAN PROOF TABLE
   ============================================ */

/* ============================================
   PROOF SECTION - APPLE COMPARISON TABLE
   Bold, clear hierarchy, Ferni wins
   ============================================ */
.proof {
  background: linear-gradient(180deg, var(--color-paper-cream) 0%, #f5f2ed 100%);
  padding: clamp(80px, 12vh, 140px) var(--space-6);
}

.proof-table {
  overflow-x: auto;
  margin-top: clamp(40px, 6vh, 64px);
  -webkit-overflow-scrolling: touch;
  padding: var(--space-4);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 2px rgba(44, 37, 32, 0.04),
    0 8px 32px rgba(44, 37, 32, 0.06);
}

.proof-table__header,
.proof-table__row {
  display: grid;
  grid-template-columns: 150px repeat(3, 1fr);
  gap: var(--space-3);
  min-width: 700px;
}

.proof-table__header {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid rgba(44, 37, 32, 0.06);
}

.proof-table__col {
  padding: var(--space-4) var(--space-3);
  text-align: center;
  border-radius: var(--radius-md);
}

/* Row label - Bold and readable */
.proof-table__col--label {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-natural-ink);
  display: flex;
  align-items: center;
}

/* Coach & Friend columns - Subtle muted background */
.proof-table__col--coach,
.proof-table__col--friend {
  background: rgba(44, 37, 32, 0.03);
}

/* FERNI COLUMN - Hero gradient */
.proof-table__col--ferni {
  background: linear-gradient(145deg, var(--color-ferni) 0%, var(--color-ferni-secondary) 100%);
  color: white;
  box-shadow: 
    0 4px 12px rgba(74, 103, 65, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Header styling */
.proof-table__header .proof-table__col {
  flex-direction: column;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
}

.proof-table__icon {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(44, 37, 32, 0.08);
}

.proof-table__icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-text-secondary);
}

.proof-table__icon--ferni {
  background: rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  box-shadow: none;
}

.proof-table__header .proof-table__col--ferni .proof-table__icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.proof-table__row {
  margin-bottom: var(--space-2);
  transition: all 0.2s ease;
}

.proof-table__row:hover {
  transform: scale(1.01);
}

.proof-table__row .proof-table__col {
  font-family: var(--font-body);
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

/* BAD - Muted red, readable */
.proof-table__bad {
  color: var(--color-error);
  font-weight: 500;
}

/* NEUTRAL - Secondary text */
.proof-table__neutral {
  color: var(--color-text-secondary);
}

/* GOOD - Bold and prominent */
.proof-table__good {
  font-weight: 600;
  color: white;
}

.proof-table__row .proof-table__col--ferni {
  background: linear-gradient(145deg, rgba(74, 103, 65, 0.1) 0%, rgba(74, 103, 65, 0.05) 100%);
}

.proof-table__row .proof-table__col--ferni .proof-table__good {
  color: var(--color-ferni-green);
  font-weight: 700;
}

/* Disclaimer - Warm and supportive */
.proof__disclaimer {
  max-width: 650px;
  margin: clamp(40px, 6vh, 64px) auto 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  line-height: 1.7;
  opacity: 0.85;
}

.proof__disclaimer strong {
  color: var(--color-ferni-green);
  font-weight: 600;
}

/* Proof Table Animations */
.proof-table__row {
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  border-radius: var(--radius-md);
}

.proof-table__row:hover {
  transform: scale(1.01);
}

.proof-table__row:hover .proof-table__col--ferni {
  background: linear-gradient(135deg, var(--color-ferni-secondary), var(--color-ferni-green));
}

.proof-table__col {
  transition: background 0.2s ease;
}

.proof-table__row:hover .proof-table__col--coach,
.proof-table__row:hover .proof-table__col--friend {
  background: var(--color-paper-cream);
}

.proof-table__bad {
  transition: color 0.2s ease;
}

.proof-table__row:hover .proof-table__bad {
  color: var(--color-comparison-bad-hover);
}

.proof-table__good {
  position: relative;
}

.proof-table__row:hover .proof-table__good::after {
  content: '✓';
  margin-left: var(--space-2);
  font-size: var(--text-xs);
  opacity: 0.7;
}

/* Proof Table Stagger Animation - Progressive enhancement */
.proof-table__row {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* When JS scroll animation is enabled */
.js-animate .proof-table__row {
  opacity: 0;
  transform: translateX(-20px);
}

.js-animate .proof-table__row.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.proof-table__row:nth-child(1) {
  transition-delay: 0.1s;
}
.proof-table__row:nth-child(2) {
  transition-delay: 0.15s;
}
.proof-table__row:nth-child(3) {
  transition-delay: 0.2s;
}
.proof-table__row:nth-child(4) {
  transition-delay: 0.25s;
}
.proof-table__row:nth-child(5) {
  transition-delay: 0.3s;
}
.proof-table__row:nth-child(6) {
  transition-delay: 0.35s;
}

@media (max-width: 768px) {
  .proof-table__header,
  .proof-table__row {
    grid-template-columns: 100px repeat(3, 1fr);
    font-size: var(--text-xs);
  }

  .proof-table__col {
    padding: var(--space-3);
  }

  .proof-table__icon {
    width: 32px;
    height: 32px;
  }

  .proof-table__icon svg {
    width: 16px;
    height: 16px;
  }
}

/* ============================================
   TRANSFORMATION STORIES
   ============================================ */

.stories {
  background: var(--color-elevated);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.story {
  background: var(--color-paper-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.story:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(44, 37, 32, 0.1);
}

.story--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--color-bg-primary), var(--color-paper-cream));
  border: 1px solid var(--color-border-subtle);
}

.story__journey {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
}

.story__journey-start {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-3);
  background: var(--color-sand);
  border-radius: var(--radius-full);
}

.story__journey svg {
  color: var(--color-ferni-green);
  flex-shrink: 0;
}

.story__journey-end {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-ferni-green);
  padding: var(--space-1) var(--space-3);
  background: rgba(74, 103, 65, 0.1);
  border-radius: var(--radius-full);
}

.story__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-6);
  font-style: normal;
}

.story--featured .story__quote {
  font-size: var(--text-lg);
}

.story__highlight {
  background: linear-gradient(120deg, rgba(74, 103, 65, 0.15) 0%, rgba(74, 103, 65, 0.05) 100%);
  padding: 0 var(--space-1);
  border-radius: var(--radius-xs);
}

.story__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.story__avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-ferni-green), var(--color-ferni-secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--text-sm);
}

.story__name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-natural-ink);
  margin: 0;
}

.story__role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* Story Card Animations - Progressive enhancement */
.story {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

/* When JS scroll animation is enabled */
.js-animate .story {
  opacity: 0;
  transform: translateY(30px);
}

.js-animate .story.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stories-grid .story:nth-child(1) {
  transition-delay: 0.1s;
}
.stories-grid .story:nth-child(2) {
  transition-delay: 0.2s;
}
.stories-grid .story:nth-child(3) {
  transition-delay: 0.3s;
}
.stories-grid .story:nth-child(4) {
  transition-delay: 0.4s;
}

.story__journey {
  transition: gap 0.3s ease;
}

.story:hover .story__journey {
  gap: var(--space-4);
}

.story__journey svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.story:hover .story__journey svg {
  transform: translateX(4px);
}

.story__highlight {
  position: relative;
  transition: background 0.3s ease;
}

.story:hover .story__highlight {
  background: linear-gradient(120deg, rgba(74, 103, 65, 0.25) 0%, rgba(74, 103, 65, 0.1) 100%);
}

.story__avatar {
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.story:hover .story__avatar {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(74, 103, 65, 0.3);
}

@media (max-width: 900px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .story--featured {
    grid-column: span 1;
  }
}

/* ============================================
   JOURNEY VISUALIZATION - Apple Polish
   ============================================ */

.journey {
  background: var(--color-sand);
}

/* === Section Header Polish === */
.journey .section__eyebrow {
  color: var(--color-ferni-green);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.journey .section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  color: var(--color-natural-ink);
}

.journey .section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.journey__timeline {
  max-width: 700px;
  margin: 0 auto;
  padding-top: var(--space-10);
}

.journey__stage {
  display: flex;
  gap: var(--space-6);
  padding-bottom: var(--space-10);
  opacity: 0.5;
  transition: 
    opacity var(--duration-normal) var(--ease-smooth),
    transform var(--duration-normal) var(--ease-smooth);
}

.journey__stage:hover,
.journey__stage--active {
  opacity: 1;
}

.journey__stage:hover {
  transform: translateX(4px);
}

.journey__stage-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
}

.journey__stage-dot {
  width: 18px;
  height: 18px;
  background: var(--color-elevated);
  border: 2px solid var(--color-border-medium);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.journey__stage--active .journey__stage-dot {
  background: var(--color-ferni-green);
  border-color: var(--color-ferni-green);
  box-shadow: 0 0 0 4px rgba(74, 103, 65, 0.2);
}

.journey__stage-line {
  width: 2px;
  flex-grow: 1;
  background: var(--color-border-medium);
  margin-top: var(--space-2);
}

.journey__stage-content {
  flex: 1;
  padding-top: 0;
}

.journey__stage-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.journey__stage-title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-natural-ink);
  margin: 0;
}

.journey__stage-badge {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-3);
  background: var(--color-elevated);
  border-radius: var(--radius-full);
}

.journey__stage-badge--premium {
  background: linear-gradient(135deg, var(--color-warm-amber), var(--color-warm-amber-light));
  color: white;
}

.journey__stage-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}

.journey__stage-unlock,
.journey__stage-unlocks {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.journey__stage-unlocks {
  gap: var(--space-4);
}

.journey__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-bold);
  color: white;
}

.journey__avatar--ferni {
  background: var(--color-ferni);
}
.journey__avatar--maya {
  /* Use secondary (darker) color for better contrast - 5.23:1 with white */
  background: var(--color-maya-secondary);
  color: white;
}
.journey__avatar--peter {
  background: var(--color-peter);
}
.journey__avatar--alex {
  background: var(--color-alex);
}
.journey__avatar--jordan {
  background: var(--color-jordan);
  /* Use dark text for lighter background - 5.3:1 contrast */
  color: var(--color-natural-ink);
}
.journey__avatar--nayan {
  background: var(--color-nayan);
  /* Use dark text for lighter background - 4.8:1 contrast */
  color: var(--color-natural-ink);
}

.journey__stage-unlock span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-natural-ink);
}

.journey__note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 500px;
  margin: var(--space-8) auto 0;
  padding: var(--space-4) var(--space-5);
  background: var(--color-elevated);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.journey__note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-ferni-green);
}

/* Journey Timeline Animations */
/* Progressive enhancement: visible by default, JS adds .js-animate for scroll reveal */
.journey__stage {
  opacity: 0.6;
  transform: translateY(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Active stage is always fully visible */
.journey__stage--active {
  opacity: 1;
}

/* Hover brings inactive stages to full opacity */
.journey__stage:hover {
  opacity: 1;
}

/* When JS scroll animation is enabled, start hidden */
.js-animate .journey__stage {
  opacity: 0;
  transform: translateY(20px);
}

.js-animate .journey__stage.is-visible {
  opacity: 0.6;
  transform: translateY(0);
}

.js-animate .journey__stage.is-visible.journey__stage--active,
.js-animate .journey__stage.is-visible:hover {
  opacity: 1;
}

.journey__stage:nth-child(1) {
  transition-delay: 0.1s;
}
.journey__stage:nth-child(2) {
  transition-delay: 0.2s;
}
.journey__stage:nth-child(3) {
  transition-delay: 0.3s;
}
.journey__stage:nth-child(4) {
  transition-delay: 0.4s;
}

.journey__stage-dot {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey__stage:hover .journey__stage-dot {
  transform: scale(1.3);
  background: var(--color-ferni-green);
  border-color: var(--color-ferni-green);
}

.journey__stage-line {
  transition: background 0.3s ease;
}

.journey__stage:hover .journey__stage-line {
  background: var(--color-ferni-green);
}

.journey__avatar {
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.journey__stage:hover .journey__avatar {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.journey__stage-badge {
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.journey__stage:hover .journey__stage-badge {
  background: var(--color-ferni-green);
  color: white;
}

.journey__stage--premium:hover .journey__stage-badge--premium {
  background: linear-gradient(135deg, var(--color-warm-amber-light), var(--color-warm-amber));
}

/* Journey Note - Progressive enhancement */
.journey__note {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s ease 0.5s,
    transform 0.5s ease 0.5s;
}

/* When JS scroll animation is enabled */
.js-animate .journey__note {
  opacity: 0;
  transform: translateY(10px);
}

.js-animate .journey__note.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .journey__stage {
    gap: var(--space-4);
  }

  .journey__stage-marker {
    width: 24px;
  }

  .journey__stage-unlocks {
    flex-wrap: wrap;
    gap: var(--space-3);
  }
}

/* ============================================================================
   OUR STORY SECTION - Chapter Cards Design
   ============================================================================ */

.story {
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg-primary) 100%);
  padding: var(--space-20) 0;
}

/* Grid Layout */
.story__grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

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

@media (min-width: 1024px) {
  .story__grid {
    gap: var(--space-8);
  }
}

/* Card Styling */
.story__card {
  padding: var(--space-8);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(44, 37, 32, 0.06);
  box-shadow: 0 1px 2px rgba(44, 37, 32, 0.04),
              0 4px 16px rgba(44, 37, 32, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.story__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(44, 37, 32, 0.08),
              0 0 0 1px rgba(74, 103, 65, 0.1);
}

/* Featured card spans full width - same style as regular cards, just wider */
.story__card--featured {
  grid-column: 1 / -1;
  text-align: center;
}

.story__card--featured .story__card-icon {
  margin-left: auto;
  margin-right: auto;
}

.story__card--featured .story__card-text {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.story__card--featured .story__card-highlight {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Icon Container */
.story__card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(74, 103, 65, 0.12) 0%,
                              rgba(74, 103, 65, 0.06) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.story__card:hover .story__card-icon {
  background: linear-gradient(145deg, var(--color-ferni-green) 0%, var(--color-ferni-secondary) 100%);
  transform: scale(1.05);
}

.story__card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-ferni-green);
  transition: color 0.3s ease;
}

.story__card:hover .story__card-icon svg {
  color: white;
}

/* Card Typography */
.story__card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.story__card-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.story__card-highlight {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  color: var(--color-ferni-green);
  margin-top: var(--space-4);
  font-size: var(--text-lg);
}

/* Signature Block */
.story__signature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(44, 37, 32, 0.1);
  justify-content: center;
}

.story__signature-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-ferni-green) 0%, var(--color-ferni-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.story__signature-avatar svg {
  width: 24px;
  height: 24px;
}

.story__signature-text {
  text-align: left;
}

.story__author {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  font-size: var(--text-lg);
  margin: 0;
}

.story__author-sub {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: var(--space-1) 0 0 0;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .story {
    padding: var(--space-16) 0;
  }

  .story__card {
    padding: var(--space-6);
  }

  .story__card-icon {
    width: 48px;
    height: 48px;
  }

  .story__card-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* ============================================================================
   FERNI CHARACTER & POLISH SYSTEM
   Adds personality, depth, and magic moments to the experience
   ============================================================================ */

/* ===== 1. TIME-AWARE CONTENT ===== */

/* Time-aware tagline styling */
.hero__tagline.time-aware {
  animation: tagline-fade-in 0.8s ease-out;
}

.tagline-soft {
  opacity: 0.7;
  font-weight: var(--font-weight-normal);
}

@keyframes tagline-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Time of day body classes for potential theming */
body[data-time-of-day='late-night'] {
  /* Could adjust colors for late night visitors */
}

body[data-time-of-day='early-morning'] {
  /* Could adjust for morning visitors */
}

/* ===== 2. ROTATING 2AM SCENARIOS ===== */

.two-am__quote {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* ===== 3. FERNI PERSONALITY QUIRKS ===== */

/* Thinking indicator on hover */
.ferni-thinking {
  position: relative;
}

.ferni-thinking::after {
  content: '...';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-sm);
  color: var(--color-accent);
  opacity: 0;
  animation: thinking-dots 1.5s ease-in-out infinite;
}

@keyframes thinking-dots {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
}

/* ===== 4. INTERACTIVE MICRO-MOMENTS ===== */

/* Orb cursor awareness (smooth tracking) */
.hero-ferni__orb,
.two-am__avatar-orb,
.final-cta__avatar-orb {
  transition: transform 0.15s ease-out;
  cursor: default;
}

/* Team card avatar hover effect */
.team-card .persona-avatar__orb {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Subtle scale on card hover */
.team-card:hover .persona-avatar__ring {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* ===== 5. RELIEF MOMENT ===== */

/* Relief effect when Ferni's response appears */
.two-am__response.relief-moment {
  animation: relief-exhale 0.8s ease-out;
}

@keyframes relief-exhale {
  0% {
    transform: scale(0.98);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Subtle glow increase on relief */
.two-am__response.relief-moment .two-am__avatar-glow {
  animation: relief-glow 1.5s ease-out;
}

@keyframes relief-glow {
  0% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
}

/* ===== 6. EASTER EGGS ===== */

/* Konami code reward modal */
.konami-reward {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
  padding: var(--space-6);
}

.konami-reward.visible {
  opacity: 1;
  visibility: visible;
}

.konami-reward__inner {
  background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-primary));
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  max-width: 400px;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.konami-reward.visible .konami-reward__inner {
  transform: scale(1);
}

.konami-reward__orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, var(--color-ferni), var(--color-ferni-dark));
  border-radius: 50%;
  color: white;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  animation: konami-orb-glow 2s ease-in-out infinite;
}

@keyframes konami-orb-glow {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(138, 166, 120, 0.3);
  }
  50% {
    box-shadow: 0 0 50px rgba(138, 166, 120, 0.5);
  }
}

.konami-reward__message {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Floating toast messages (scroll love, idle messages) */
.ferni-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.ferni-toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ferni-toast__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(30, 30, 28, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ferni-toast__orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, var(--color-ferni), var(--color-ferni-dark));
  border-radius: 50%;
  color: white;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-xs);
  flex-shrink: 0;
}

.ferni-toast__message {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .hero__tagline.time-aware {
    animation: none;
  }

  .two-am__quote {
    transition: none;
  }

  .ferni-thinking::after {
    animation: none;
    opacity: 0.5;
  }

  .two-am__response.relief-moment,
  .two-am__response.relief-moment .two-am__avatar-glow {
    animation: none;
  }

  .konami-reward,
  .konami-reward__inner,
  .ferni-toast {
    transition: opacity 0.2s ease;
  }

  .konami-reward__orb {
    animation: none;
    box-shadow: 0 0 40px rgba(138, 166, 120, 0.4);
  }
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 640px) {
  .konami-reward__inner {
    padding: var(--space-8);
  }

  .konami-reward__orb {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
    margin-bottom: var(--space-5);
  }

  .konami-reward__message {
    font-size: var(--text-base);
  }

  .ferni-toast {
    bottom: 80px;
    left: var(--space-4);
    right: var(--space-4);
    transform: translateY(20px);
  }

  .ferni-toast.visible {
    transform: translateY(0);
  }

  .ferni-toast__inner {
    justify-content: center;
  }

  .ferni-toast__message {
    white-space: normal;
    text-align: center;
  }
}

/* ============================================================================
   DARK MODE - High Contrast for System Dark Theme
   ============================================================================ */
@media (prefers-color-scheme: dark) {
  /* Security Cards - Privacy/Trust Section */
  .security-card {
    background: var(--color-ferni-cinematic-surface, var(--color-bg-dark-surface));
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .security-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  }
  
  .security-card__icon {
    background: rgba(74, 103, 65, 0.25);
  }
  
  .security-card__icon svg {
    color: var(--color-highlight, var(--color-nayan));
  }
  
  .security-card__title {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .security-card__description {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* FAQ Section */
  .faq-item {
    background: var(--color-ferni-cinematic-surface, var(--color-bg-dark-surface));
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .faq-item__question {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .faq-item__answer {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  .faq-item__answer p {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* Story sections */
  .story-block__eyebrow {
    color: var(--color-highlight, var(--color-nayan));
  }
  
  .story-block__title {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .story-block__text {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* Story Brand Hero */
  .story-brand-hero__headline {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .story-brand-hero__tagline {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* Contact/Connect Options */
  .connect-option {
    background: var(--color-ferni-cinematic-surface, var(--color-bg-dark-surface));
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .connect-option__title {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .connect-option__detail {
    color: var(--color-highlight, var(--color-nayan));
  }
  
  .connect-option__description {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* Voice First Section */
  .voice-first__card {
    background: var(--color-ferni-cinematic-surface, var(--color-bg-dark-surface));
  }
  
  .voice-first__title {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .voice-first__description {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* Team Section */
  .team-member__name {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .team-member__role {
    color: var(--color-highlight, var(--color-nayan));
  }
  
  .team-member__bio {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* CTA Section */
  .cta-section {
    background: var(--color-ferni-cinematic-dark, var(--color-text-primary));
  }
  
  .cta-section__title {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .cta-section__subtitle {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* Konami reward */
  .konami-reward__inner {
    background: var(--color-ferni-cinematic-surface, var(--color-bg-dark-surface));
  }

  .konami-reward__title {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }

  .konami-reward__message {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }

  /* ===========================================
     FEATURE CARDS - Keep white bg with dark text
     Cards are "islands of light" in dark mode
     =========================================== */
  .feature {
    background: white !important;
    border-color: rgba(44, 37, 32, 0.1);
  }

  .feature__title {
    color: var(--color-text-primary) !important; /* Uses token: dark text on white cards */
  }

  .feature__description {
    color: var(--color-text-secondary) !important; /* Uses token: secondary text on white cards */
    opacity: 1 !important;
  }

  .feature__icon {
    background: rgba(74, 103, 65, 0.1);
  }

  .feature__icon svg {
    color: var(--color-ferni, #4a6741);
  }

  /* ===========================================
     JOURNEY SECTION - Fix heading/timeline contrast
     =========================================== */
  .journey .section__eyebrow {
    color: var(--color-highlight, #b4a89a) !important;
  }

  .journey .section__title {
    color: var(--color-ferni-cinematic-text, #faf6f0) !important;
  }

  .journey .section__subtitle {
    color: var(--color-ferni-cinematic-text-secondary, #d4c8b8) !important;
  }

  .journey__stage-title {
    color: var(--color-ferni-cinematic-text, #faf6f0) !important;
  }

  .journey__stage-description {
    color: var(--color-ferni-cinematic-text-secondary, #d4c8b8) !important;
  }

  .journey__stage-badge {
    background: var(--color-bg-dark-surface, #4a403a);
    color: var(--color-ferni-cinematic-text, #faf6f0);
  }

  /* Generic section headers in dark sections */
  .section--dark .section__eyebrow,
  [class*="dark"] .section__eyebrow {
    color: var(--color-highlight, #b4a89a) !important;
  }

  .section--dark .section__title,
  [class*="dark"] .section__title {
    color: var(--color-ferni-cinematic-text, #faf6f0) !important;
  }

  .section--dark .section__subtitle,
  [class*="dark"] .section__subtitle {
    color: var(--color-ferni-cinematic-text-secondary, #d4c8b8) !important;
  }
}

/* ============================================
   THEME-DARK CLASS OVERRIDES
   The site uses .theme--dark class regardless of OS preference
   These styles ensure proper contrast in dark theme mode
   ============================================ */

/* Feature Cards - "Islands of light" with dark readable text */
.theme--dark .feature,
body.theme--dark .feature {
  background: white !important;
  border-color: rgba(44, 37, 32, 0.1) !important;
}

.theme--dark .feature__title,
body.theme--dark .feature__title {
  color: var(--color-text-inverse) !important; /* Dark text on white cards in dark mode */
}

.theme--dark .feature__description,
body.theme--dark .feature__description {
  color: var(--color-text-inverse) !important; /* Dark text on white cards - token adapts to theme */
  opacity: 0.75 !important; /* Slightly muted secondary text */
}

.theme--dark .feature__icon,
body.theme--dark .feature__icon {
  background: rgba(74, 103, 65, 0.1) !important;
}

.theme--dark .feature__icon svg,
body.theme--dark .feature__icon svg {
  color: var(--color-ferni) !important;
}

/* Story Section - "I'm here when others can't be." headline */
.theme--dark .story .section__eyebrow,
body.theme--dark .story .section__eyebrow {
  color: var(--color-highlight, var(--color-nayan)) !important;
}

.theme--dark .story .section__title,
body.theme--dark .story .section__title {
  color: var(--color-text-primary) !important;
}

/* Journey Section - Timeline headings and descriptions */
.theme--dark .journey .section__eyebrow,
body.theme--dark .journey .section__eyebrow {
  color: var(--color-highlight, var(--color-nayan)) !important;
}

.theme--dark .journey .section__title,
body.theme--dark .journey .section__title {
  color: var(--color-text-primary) !important;
}

.theme--dark .journey .section__subtitle,
body.theme--dark .journey .section__subtitle {
  color: var(--color-text-secondary) !important;
}

.theme--dark .journey__stage-title,
body.theme--dark .journey__stage-title {
  color: var(--color-text-primary) !important;
}

.theme--dark .journey__stage-description,
body.theme--dark .journey__stage-description {
  color: var(--color-text-secondary) !important;
}

.theme--dark .journey__stage-badge,
body.theme--dark .journey__stage-badge {
  background: var(--color-bg-elevated) !important;
  color: var(--color-text-primary) !important;
}

/* Use-Case Cards - "Islands of light" in YOUR MOMENTS section */
.theme--dark .use-case,
body.theme--dark .use-case {
  background: white !important;
  border-color: var(--color-border-medium) !important;
}

.theme--dark .use-case__title,
body.theme--dark .use-case__title {
  color: var(--color-text-inverse) !important; /* Dark text on white cards in dark mode */
}

.theme--dark .use-case__description,
body.theme--dark .use-case__description {
  color: var(--color-text-inverse) !important; /* Dark text on white cards */
  opacity: 0.75 !important; /* Slightly muted for secondary text */
}

.theme--dark .use-case__quote,
body.theme--dark .use-case__quote {
  color: var(--color-text-muted) !important; /* Warm muted for quotes */
  background: var(--color-accent-subtle) !important;
}

.theme--dark .use-case__icon,
body.theme--dark .use-case__icon {
  background: var(--color-accent-subtle) !important;
}

.theme--dark .use-case__icon svg,
body.theme--dark .use-case__icon svg {
  color: var(--color-ferni) !important;
}

/* ============================================
   ZEN/LIGHT THEME FIXES
   These dramatic sections need dark backgrounds with light text
   to maintain visual impact. Force proper contrast when NOT in dark mode.
   ============================================ */

/* Stats Bar - Dramatic dark section (always dark) */
body:not(.theme--dark) .stats-bar,
.theme--zen .stats-bar {
  background: linear-gradient(180deg, #2c2520 0%, #1f1a16 100%) !important; /* Force explicit dark */
}

body:not(.theme--dark) .stat__value,
.theme--zen .stat__value {
  background: linear-gradient(135deg, rgba(255, 250, 245, 1) 0%, rgba(245, 240, 230, 0.9) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15)) !important;
}

body:not(.theme--dark) .stat__label,
.theme--zen .stat__label {
  color: var(--color-text-dimmed) !important;
}

/* Two-AM Section - 3:47 AM dramatic moment (always dark) */
/* NOTE: Main .two-am background rule moved below for proper ordering */

body:not(.theme--dark) .two-am__darkness,
.theme--zen .two-am__darkness {
  background: transparent !important;
}

body:not(.theme--dark) .two-am__time,
.theme--zen .two-am__time {
  background: linear-gradient(180deg, rgba(255, 250, 245, 1) 0%, rgba(255, 250, 245, 0.8) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.2)) !important;
}

/* Two-Am Section - FORCE dark dramatic background in zen mode */
body:not(.theme--dark) .two-am,
.theme--zen .two-am {
  background: linear-gradient(180deg, #1a1613 0%, #2c2520 100%) !important; /* Force dark for dramatic effect */
}

body:not(.theme--dark) .two-am__thought,
.theme--zen .two-am__thought {
  color: var(--color-paper-cream, #f5f0e6) !important; /* Light cream text on forced dark bg */
}

body:not(.theme--dark) .two-am__quote,
.theme--zen .two-am__quote {
  color: var(--color-paper-cream, #f5f0e6) !important; /* Light cream text on forced dark bg */
}

body:not(.theme--dark) .two-am__limit,
.theme--zen .two-am__limit {
  background: rgba(255, 255, 255, 0.08) !important; /* Slightly more visible */
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body:not(.theme--dark) .two-am__limit-who,
.theme--zen .two-am__limit-who {
  color: var(--color-nayan) !important; /* Warm highlight */
}

body:not(.theme--dark) .two-am__limit-status,
.theme--zen .two-am__limit-status {
  color: rgba(255, 255, 255, 0.7) !important; /* Light muted text on dark bg */
}

body:not(.theme--dark) .two-am__response,
.theme--zen .two-am__response {
  background: linear-gradient(180deg, #1a1613 0%, var(--color-paper-cream, var(--color-bg-primary)) 30%) !important;
}

body:not(.theme--dark) .two-am__bubble,
.theme--zen .two-am__bubble {
  background: var(--color-bg-primary) !important;
  color: var(--color-text-primary) !important;
}

body:not(.theme--dark) .two-am__ferni-says,
.theme--zen .two-am__ferni-says {
  color: var(--color-text-primary) !important;
}

body:not(.theme--dark) .two-am__ferni-sub,
.theme--zen .two-am__ferni-sub {
  color: var(--color-text-secondary) !important;
}

/* Memory Demo Section - Keep dark dramatic background (always dark) */
body:not(.theme--dark) .memory-demo,
.theme--zen .memory-demo {
  background: linear-gradient(180deg, #2c2520 0%, #1a1613 100%) !important; /* Force explicit dark */
}

body:not(.theme--dark) .memory-demo .section__eyebrow,
.theme--zen .memory-demo .section__eyebrow {
  color: var(--color-nayan) !important; /* Warm highlight */
}

body:not(.theme--dark) .memory-demo .section__title,
.theme--zen .memory-demo .section__title {
  color: var(--color-paper-cream, #f5f0e6) !important; /* Light cream text on dark bg */
}

body:not(.theme--dark) .memory-demo .section__subtitle,
.theme--zen .memory-demo .section__subtitle {
  color: rgba(255, 255, 255, 0.7) !important; /* Light muted text on dark bg */
}

/* ============================================
   ZEN/LIGHT THEME - CARD TEXT FIXES
   Cards on light backgrounds need DARK text for readability.
   These override the base styles that use CSS variables.
   ============================================ */

/* Use Case Cards - Dark text on white/cream cards */
body:not(.theme--dark) .use-case__title,
.theme--zen .use-case__title {
  color: var(--color-text-primary) !important; /* Natural ink via token */
}

body:not(.theme--dark) .use-case__description,
.theme--zen .use-case__description {
  color: var(--color-text-secondary) !important; /* Secondary text via token */
  opacity: 1 !important;
}

body:not(.theme--dark) .use-case__example,
.theme--zen .use-case__example {
  color: var(--color-accent) !important; /* Ferni green via token */
}

body:not(.theme--dark) .use-case__icon,
.theme--zen .use-case__icon {
  background: var(--color-accent-subtle) !important;
}

body:not(.theme--dark) .use-case__icon svg,
.theme--zen .use-case__icon svg {
  color: var(--color-ferni) !important;
}

/* Feature Cards - Dark text on white/cream cards */
body:not(.theme--dark) .feature__title,
.theme--zen .feature__title {
  color: var(--color-text-primary) !important; /* Natural ink via token */
}

body:not(.theme--dark) .feature__description,
.theme--zen .feature__description {
  color: var(--color-text-secondary) !important; /* Secondary text via token */
  opacity: 1 !important;
}

body:not(.theme--dark) .feature__icon,
.theme--zen .feature__icon {
  background: var(--color-accent-subtle) !important;
}

body:not(.theme--dark) .feature__icon svg,
.theme--zen .feature__icon svg {
  color: var(--color-ferni) !important;
}

/* Story Cards (Amplified, Built by Experts, etc.) */
body:not(.theme--dark) .story__card-title,
.theme--zen .story__card-title {
  color: var(--color-text-primary) !important; /* Natural ink via token */
}

body:not(.theme--dark) .story__card-text,
.theme--zen .story__card-text {
  color: var(--color-text-secondary) !important; /* Secondary text via token */
}

body:not(.theme--dark) .story__card-highlight,
.theme--zen .story__card-highlight {
  color: var(--color-accent) !important; /* Ferni green via token */
}

/* Story Chapter Text */
body:not(.theme--dark) .story__text,
.theme--zen .story__text {
  color: var(--color-text-secondary) !important;
}

body:not(.theme--dark) .story__text--highlight,
.theme--zen .story__text--highlight {
  color: var(--color-jordan) !important; /* Coral/terracotta for highlights */
}

body:not(.theme--dark) .story__text--highlight em,
.theme--zen .story__text--highlight em {
  color: var(--color-jordan) !important;
}

/* Experience Section - Dark text on light background */
body:not(.theme--dark) .experience .section__eyebrow,
.theme--zen .experience .section__eyebrow {
  color: var(--color-text-muted) !important; /* Muted text via token */
}

body:not(.theme--dark) .experience .section__title,
.theme--zen .experience .section__title {
  color: var(--color-text-primary) !important; /* Natural ink via token */
}

body:not(.theme--dark) .experience .section__subtitle,
.theme--zen .experience .section__subtitle {
  color: var(--color-text-secondary) !important; /* Secondary text via token */
}

body:not(.theme--dark) .experience__text,
.theme--zen .experience__text {
  color: var(--color-text-secondary) !important;
}

body:not(.theme--dark) .experience__list li,
.theme--zen .experience__list li {
  color: var(--color-text-secondary) !important;
}

body:not(.theme--dark) .experience__list svg,
.theme--zen .experience__list svg {
  color: var(--color-ferni) !important;
}

/* Proof Section - Values cards */
body:not(.theme--dark) .proof__value-title,
.theme--zen .proof__value-title {
  color: var(--color-jordan) !important; /* Coral accent via token */
}

body:not(.theme--dark) .proof__value-text,
.theme--zen .proof__value-text {
  color: var(--color-text-secondary) !important;
}

body:not(.theme--dark) .proof__value-highlight,
.theme--zen .proof__value-highlight {
  color: var(--color-text-primary) !important; /* Bold highlight via token */
}

/* General Section Titles on Light Backgrounds */
body:not(.theme--dark) .section__eyebrow,
.theme--zen .section__eyebrow {
  color: var(--color-text-muted) !important;
}

body:not(.theme--dark) .section__title,
.theme--zen .section__title {
  color: var(--color-text-primary) !important;
}

body:not(.theme--dark) .section__subtitle,
.theme--zen .section__subtitle {
  color: var(--color-text-secondary) !important;
}

/* Comparison/Limitation Cards */
body:not(.theme--dark) .comparison__title,
.theme--zen .comparison__title {
  color: var(--color-text-primary) !important;
}

body:not(.theme--dark) .comparison__text,
.theme--zen .comparison__text {
  color: var(--color-text-secondary) !important;
}

/* Chat Demo Text */
body:not(.theme--dark) .chat-demo__label,
.theme--zen .chat-demo__label {
  color: var(--color-text-muted) !important;
}

/* ============================================
   STORY PAGE - /story/
   Premium narrative page styling
   
   NOTE: Using explicit pixel values as fallbacks
   to ensure styles work even if CSS vars fail
   ============================================ */

.story-page {
  background: var(--color-bg-primary);
  background: var(--color-paper-cream, var(--color-bg-primary));
  min-height: 100vh;
}

/* Hero Section */
.story-page__hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px 24px;
  padding: var(--space-32, 128px) var(--space-6, 24px);
  text-align: center;
  position: relative;
}

@media (min-width: 768px) {
  .story-page__hero {
    min-height: 80vh;
    padding: 160px 48px;
    padding: var(--space-40, 160px) var(--space-12, 48px);
  }
}

.story-page__eyebrow {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ferni);
  color: var(--color-ferni-green, var(--color-ferni));
  margin-bottom: 24px;
  margin-bottom: var(--space-6, 24px);
  opacity: 1;
}

.story-page__headline {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(40px, 10vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  color: var(--color-natural-ink, var(--color-text-primary));
  margin-bottom: 32px;
  margin-bottom: var(--space-8, 32px);
  opacity: 1;
}

/* Section Base */
.story-page__section {
  padding: 96px 24px;
  padding: var(--space-24, 96px) var(--space-6, 24px);
  position: relative;
}

@media (min-width: 768px) {
  .story-page__section {
    padding: 128px 48px;
    padding: var(--space-32, 128px) var(--space-12, 48px);
  }
}

/* Section Variations */
.story-page__section--dark {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-dark-elevated) 100%) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.story-page__section--dark .story-page__subhead {
  color: var(--color-text-inverse) !important;
}

.story-page__section--dark .story-page__text {
  color: rgba(255, 255, 255, 0.85) !important;
}

.story-page__section--dark .story-page__text--muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.story-page__section--accent {
  background: var(--color-ferni) !important;
  background: var(--color-ferni-green, var(--color-ferni)) !important;
  color: var(--color-text-inverse) !important;
}

.story-page__section--accent .story-page__subhead {
  color: var(--color-text-inverse) !important;
}

.story-page__section--accent .story-page__text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.story-page__section--cta {
  background: var(--color-bg-primary);
  background: var(--color-sand, var(--color-bg-primary));
  text-align: center;
  padding: 128px 24px;
  padding: var(--space-32, 128px) var(--space-6, 24px);
}

@media (min-width: 768px) {
  .story-page__section--cta {
    padding: 160px 48px;
    padding: var(--space-40, 160px) var(--space-12, 48px);
  }
}

/* Content Block */
.story-page__block {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .story-page__block {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Typography */
.story-page__subhead {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-natural-ink, var(--color-text-primary));
  margin-bottom: var(--space-6);
}

.story-page__text {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.7;
  color: var(--color-text-secondary, #70605a);
  margin-bottom: var(--space-6);
}

.story-page__text--muted {
  color: var(--color-text-muted, #9a8a7a);
}

.story-page__accent {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--color-ferni-green, var(--color-ferni));
  margin-top: var(--space-8);
}

.story-page__section--dark .story-page__accent {
  color: var(--color-nayan);
}

.story-page__aside {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-muted, #9a8a7a);
  margin-top: var(--space-6);
  padding-left: var(--space-5);
  border-left: 3px solid var(--color-ferni-green, var(--color-ferni));
}

/* Feature List */
.story-page__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.story-page__list-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, background 0.2s ease;
}

.story-page__list-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 640px) {
  .story-page__list-item {
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
  }
}

.story-page__list-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.6);
  min-width: 120px;
}

.story-page__list-value {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-inverse);
}

/* CTA */
.story-page__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.story-page__cta-note {
  font-size: var(--text-base);
  color: var(--color-text-muted, #9a8a7a);
}

.story-page__cta-note a {
  color: var(--color-ferni-green, var(--color-ferni));
  font-weight: 600;
  transition: color 0.2s ease;
}

.story-page__cta-note a:hover {
  color: var(--color-forest-green, var(--color-ferni-secondary));
  text-decoration: underline;
}

/* Animation */
@keyframes storyFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Story Sections - Always visible (no scroll animation dependency) */
.story-page__section {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .story-page__hero,
  .story-page__section,
  .story-page__eyebrow,
  .story-page__headline {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
