/* ============================================================
   Luna Landing — Conversational Design (Agent 4)
   Chat-inspired, Telegram-look, interactief gevoel
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  /* Brand Core */
  --gold:             #F9C349;
  --gold-hover:       #FFB100;
  --gold-dark:        #C88B00;
  --dark:             #1E1810;
  --gray:             #62615C;
  --cream:            #F8F7F3;
  --white:            #FFFFFF;

  /* Extended Palette */
  --gold-50:          #FFFBEB;
  --gold-100:         #FDF0D5;
  --gold-200:         #FCDDA7;
  --gold-300:         #F9C349;
  --gold-400:         #FFB100;
  --gold-500:         #C88B00;
  --gold-600:         #8B6914;

  --brown-50:         #FAF7F4;
  --brown-100:        #F8F7F3;
  --brown-200:        #EDE8E0;
  --brown-300:        #D4CEC3;
  --brown-400:        #A09A8E;
  --brown-500:        #62615C;
  --brown-600:        #4B4640;
  --brown-700:        #3D2E1F;
  --brown-800:        #2A1F14;
  --brown-900:        #1E1810;

  /* Telegram accent (decorative only) */
  --telegram-blue:    #0088cc;
  --telegram-blue-10: rgba(0, 136, 204, 0.10);
  --telegram-blue-20: rgba(0, 136, 204, 0.20);

  /* Semantic */
  --color-heading:    var(--brown-900);
  --color-body:       var(--brown-500);
  --color-body-light: var(--brown-400);
  --color-accent:     var(--gold-500);
  --color-link:       var(--gold-600);
  --color-inverse:    var(--white);

  /* Surfaces */
  --surface-primary:  var(--white);
  --surface-secondary: var(--brown-100);
  --surface-tertiary: var(--brown-200);
  --surface-gold:     var(--gold-100);
  --surface-dark:     var(--brown-900);

  /* Borders */
  --border-default:   var(--brown-300);
  --border-light:     var(--brown-200);
  --border-focus:     var(--gold-300);

  /* CTA */
  --cta-bg:           var(--gold-300);
  --cta-text:         var(--brown-900);
  --cta-bg-hover:     var(--gold-400);

  /* Feedback */
  --color-success:    #2D7738;
  --color-error:      #C53030;

  /* Gradients */
  --gradient-hero:    linear-gradient(160deg, #FFFFFF 0%, #F8F7F3 40%, #FDF0D5 100%);
  --gradient-warm:    linear-gradient(180deg, #F8F7F3 0%, #FAF7F4 100%);
  --gradient-gold:    linear-gradient(135deg, #F9C349 0%, #FFB100 50%, #F9C349 100%);
  --gradient-dark:    linear-gradient(180deg, #1E1810 0%, #2A1F14 100%);

  /* Shadows */
  --shadow-sm:        0 1px 3px rgba(30, 24, 16, 0.06);
  --shadow-md:        0 4px 12px rgba(30, 24, 16, 0.08);
  --shadow-lg:        0 8px 24px rgba(30, 24, 16, 0.10);
  --shadow-xl:        0 16px 48px rgba(30, 24, 16, 0.12);

  /* Typography */
  --font-display:     'DM Serif Display', Georgia, serif;
  --font-body:        'Montserrat', system-ui, sans-serif;

  --font-size-display: clamp(2.441rem, 1.8rem + 2.8vw, 3.815rem);
  --font-size-h1:      clamp(1.953rem, 1.5rem + 2vw, 3.052rem);
  --font-size-h2:      clamp(1.563rem, 1.25rem + 1.4vw, 2.441rem);
  --font-size-h3:      clamp(1.25rem, 1.1rem + 0.7vw, 1.563rem);
  --font-size-body:    clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-small:   clamp(0.875rem, 0.85rem + 0.12vw, 0.938rem);
  --font-size-caption: 0.8rem;

  --weight-regular:    400;
  --weight-medium:     500;
  --weight-semibold:   600;
  --weight-bold:       700;

  --leading-display:   1.1;
  --leading-heading:   1.25;
  --leading-subhead:   1.3;
  --leading-body:      1.6;

  --tracking-tight:    -0.02em;
  --tracking-normal:   0;
  --tracking-wide:     0.06em;

  --measure-narrow:    45ch;
  --measure-base:      65ch;

  /* Spacing (8px grid) */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.5rem;
  --space-6:    2rem;
  --space-8:    3rem;
  --space-10:   4rem;
  --space-12:   5rem;
  --space-16:   7rem;
  --space-20:   9rem;

  --section-padding: clamp(4rem, 8vw, 7rem);
  --container-max: 1200px;
  --container-narrow: 720px;
  --container-text: 640px;
  --container-padding: clamp(1rem, 5vw, 2rem);

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Chat-specific radius */
  --radius-bubble: 20px;
  --radius-bubble-tail: 4px;

  /* Animation */
  --ease-standard:   cubic-bezier(0.2, 0, 0, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-emphasized: cubic-bezier(0.2, 0, 0, 1.4);
  --ease-gentle:     cubic-bezier(0.4, 0, 0.6, 1);

  --dur-instant: 100ms;
  --dur-fast:    200ms;
  --dur-normal:  300ms;
  --dur-slow:    400ms;
  --dur-slower:  500ms;
}


/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  color: var(--color-body);
  background-color: var(--surface-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--gold-300);
  color: var(--brown-900);
}

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


/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-5);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease-standard);
}

.skip-link:focus {
  top: var(--space-4);
}


/* === FOCUS STATES === */
:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}


/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--text {
  max-width: var(--container-text);
}


/* === TYPOGRAPHY === */
h1, h2 {
  font-family: var(--font-display);
  color: var(--color-heading);
  letter-spacing: var(--tracking-tight);
}

h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--color-heading);
  font-weight: var(--weight-semibold);
}

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--leading-display);
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--leading-heading);
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--leading-subhead);
}

p {
  max-width: var(--measure-base);
}

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-standard);
}

a:hover {
  color: var(--gold-400);
}


/* === SECTION SPACING === */
.section {
  padding-block: var(--section-padding);
}

.section--alt {
  background: var(--gradient-warm);
}

.section--dark {
  background: var(--gradient-dark);
  color: var(--color-inverse);
}

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

.section-header h2 {
  margin-bottom: var(--space-3);
}

.section-subtitle {
  font-size: var(--font-size-body);
  color: var(--color-body);
  max-width: var(--measure-narrow);
  margin-inline: auto;
}


/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}

.btn-primary:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249, 195, 73, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(249, 195, 73, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  background: transparent;
  color: var(--color-heading);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    border-color var(--dur-fast) var(--ease-standard),
    background-color var(--dur-fast) var(--ease-standard);
}

.btn-secondary:hover {
  border-color: var(--gold-300);
  background: var(--gold-50);
}


/* ============================================================
   CHAT BUBBLE SYSTEM
   Core conversational UI elements used throughout the page
   ============================================================ */

.chat-window {
  background: var(--brown-50);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

.chat-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--surface-primary);
  border-bottom: 1px solid var(--border-light);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.chat-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-5);
  height: 48px;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: var(--weight-bold);
  color: var(--brown-900);
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.chat-header-name {
  font-size: var(--font-size-small);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}

.chat-header-status {
  font-size: var(--font-size-caption);
  color: var(--color-body-light);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5) var(--space-5);
}

/* Base bubble */
.bubble {
  position: relative;
  max-width: 85%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-small);
  line-height: var(--leading-body);
  color: var(--color-heading);
  animation: bubbleFadeIn var(--dur-slow) var(--ease-decelerate) both;
}

/* Luna bubbles — left aligned, cream background */
.bubble--luna {
  align-self: flex-start;
  background: var(--surface-primary);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail);
  box-shadow: var(--shadow-sm);
}

/* User bubbles — right aligned, gold background */
.bubble--user {
  align-self: flex-end;
  background: var(--gold-100);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail) var(--radius-bubble);
  box-shadow: var(--shadow-sm);
}

/* Bubble sender label */
.bubble-sender {
  display: block;
  font-size: var(--font-size-caption);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-1);
  color: var(--color-accent);
}

.bubble--user .bubble-sender {
  text-align: right;
  color: var(--gold-600);
}

/* Bubble timestamps */
.bubble-time {
  display: block;
  font-size: 0.7rem;
  color: var(--color-body-light);
  margin-top: var(--space-1);
}

.bubble--user .bubble-time {
  text-align: right;
}

/* Stagger animation */
.bubble:nth-child(1) { animation-delay: 0ms; }
.bubble:nth-child(2) { animation-delay: 300ms; }
.bubble:nth-child(3) { animation-delay: 600ms; }
.bubble:nth-child(4) { animation-delay: 900ms; }
.bubble:nth-child(5) { animation-delay: 1200ms; }
.bubble:nth-child(6) { animation-delay: 1500ms; }

@keyframes bubbleFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* === TYPING INDICATOR === */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: var(--surface-primary);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail);
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
  animation: bubbleFadeIn var(--dur-slow) var(--ease-decelerate) both;
  animation-delay: 1800ms;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--brown-400);
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0ms; }
.typing-dot:nth-child(2) { animation-delay: 200ms; }
.typing-dot:nth-child(3) { animation-delay: 400ms; }

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding-block: var(--space-16) var(--space-10);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--telegram-blue-10);
  border: 1px solid var(--telegram-blue-20);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  font-weight: var(--weight-medium);
  color: var(--telegram-blue);
  vertical-align: baseline;
  position: relative;
  top: -0.15em;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--telegram-blue);
  flex-shrink: 0;
}

.hero h1 {
  font-size: var(--font-size-display);
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  color: var(--color-body);
  max-width: var(--measure-narrow);
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.hero-trust {
  margin-top: var(--space-5);
  font-size: var(--font-size-small);
  color: var(--color-body-light);
}

.hero-chat {
  position: relative;
}

.hero-chat .chat-window {
  max-width: 440px;
}

/* Decorative circle behind chat */
.hero-chat::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: var(--gold-100);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.hero-chat .chat-window {
  position: relative;
  z-index: 1;
}


/* ============================================================
   HERKEN JE DIT? — Recognition section as chat messages
   ============================================================ */
.recognition .chat-scenario {
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

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

.scenario-bubble {
  position: relative;
  max-width: 80%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--font-size-body);
  line-height: var(--leading-body);
  color: var(--color-heading);
}

.scenario-bubble--thought {
  align-self: flex-end;
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail) var(--radius-bubble);
  font-style: italic;
}

.scenario-bubble--luna {
  align-self: flex-start;
  background: var(--surface-primary);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail);
  box-shadow: var(--shadow-sm);
}

.scenario-label {
  display: block;
  font-size: var(--font-size-caption);
  font-weight: var(--weight-semibold);
  color: var(--color-body-light);
  margin-bottom: var(--space-1);
  font-style: normal;
}

.scenario-bubble--thought .scenario-label {
  text-align: right;
}


/* ============================================================
   HOE HET WERKT — Steps as conversation flow
   ============================================================ */
.steps-conversation {
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.step-exchange {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-weight: var(--weight-bold);
  font-size: var(--font-size-small);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}

.step-bubble {
  position: relative;
  max-width: 85%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-body);
  line-height: var(--leading-body);
}

.step-bubble--action {
  align-self: flex-end;
  background: var(--gold-100);
  color: var(--color-heading);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail) var(--radius-bubble);
  box-shadow: var(--shadow-sm);
}

.step-bubble--response {
  align-self: flex-start;
  background: var(--surface-primary);
  color: var(--color-heading);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail);
  box-shadow: var(--shadow-sm);
}

.step-bubble strong {
  font-weight: var(--weight-semibold);
}

/* Connector line between steps */
.step-connector {
  width: 2px;
  height: 24px;
  background: var(--border-light);
  margin-inline: auto;
}


/* ============================================================
   FEATURES — Chat-styled cards
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-6);
}

.feature-card {
  position: relative;
  background: var(--surface-primary);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}

.feature-card:nth-child(even) {
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail) var(--radius-bubble);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-50);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: var(--space-2);
}

.feature-card p {
  color: var(--color-body);
  font-size: var(--font-size-small);
  max-width: var(--measure-narrow);
}


/* ============================================================
   SOCIAL PROOF — Testimonials as chat bubbles
   ============================================================ */
.testimonials-chat {
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.testimonial-bubble {
  position: relative;
  max-width: 85%;
  padding: var(--space-4) var(--space-5);
  background: var(--surface-primary);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail);
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
}

.testimonial-bubble:nth-child(even) {
  align-self: flex-end;
  background: var(--gold-50);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail) var(--radius-bubble);
}

.testimonial-text {
  font-size: var(--font-size-body);
  line-height: var(--leading-body);
  color: var(--color-heading);
  font-style: italic;
  margin-bottom: var(--space-2);
}

.testimonial-author {
  font-size: var(--font-size-caption);
  color: var(--color-body-light);
  font-weight: var(--weight-medium);
}

.testimonials-note {
  text-align: center;
  font-size: var(--font-size-small);
  color: var(--color-body-light);
  font-style: italic;
  margin-top: var(--space-5);
}


/* ============================================================
   PRICING
   ============================================================ */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-6);
  max-width: 700px;
  margin-inline: auto;
}

.pricing-single {
  max-width: 440px;
  margin-inline: auto;
}

.price-card {
  background: var(--surface-primary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition:
    transform var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard);
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-200);
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  margin-bottom: var(--space-4);
}

.price-amount {
  font-size: var(--font-size-h1);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  line-height: 1;
}

.price-period {
  font-size: var(--font-size-small);
  color: var(--color-body-light);
  margin-bottom: var(--space-2);
}

.price-period-sub {
  font-size: var(--font-size-small);
  color: var(--color-body-light);
  margin-bottom: var(--space-5);
}

.price-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.price-features li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--font-size-small);
  color: var(--color-body);
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--gold-100);
  border-radius: var(--radius-full);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C88B00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.trial-highlight {
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  display: inline-block;
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  font-size: var(--font-size-small);
  margin-bottom: var(--space-5);
}

.pricing-single .price-card {
  padding: var(--space-8) var(--space-8);
}

.pricing-single .price-features {
  margin-bottom: var(--space-6);
}

.pricing-single .btn-primary {
  width: 100%;
}

.trial-banner {
  margin-top: var(--space-8);
  padding: var(--space-4) var(--space-6);
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-xl);
  text-align: center;
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}


/* ============================================================
   SIGNUP FORM
   ============================================================ */
.invite-banner {
  max-width: 540px;
  margin: 0 auto var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-heading);
  font-size: var(--font-size-body);
}

.signup-section {
  background: var(--gradient-warm);
  padding-top: calc(var(--section-padding) / 3);
}

.form-container {
  max-width: 540px;
  margin-inline: auto;
  background: var(--surface-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.form-error {
  display: none;
  padding: var(--space-3) var(--space-4);
  background: #FEE2E2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  color: var(--color-error);
  font-size: var(--font-size-small);
  margin-bottom: var(--space-5);
}

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

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-small);
  color: var(--color-heading);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-heading);
  background: var(--surface-primary);
  transition:
    border-color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(249, 195, 73, 0.12);
  outline: none;
}

.form-group input::placeholder {
  color: var(--color-body-light);
}

/* Consent group */
.consent-group {
  margin-bottom: var(--space-5);
}

.consent-intro {
  font-size: var(--font-size-small);
  color: var(--color-body);
  margin-bottom: var(--space-4);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3) !important;
}

.consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--gold-300);
  cursor: pointer;
}

.consent label {
  font-weight: var(--weight-regular) !important;
  font-size: var(--font-size-small);
  color: var(--color-body);
  cursor: pointer;
  line-height: var(--leading-body);
}

.consent label strong {
  color: var(--color-heading);
  font-weight: var(--weight-semibold);
}

.consent-note {
  font-size: var(--font-size-caption);
  color: var(--color-body-light);
  margin-top: var(--space-3);
  max-width: none;
}

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: var(--space-4) var(--space-6);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--weight-semibold);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}

.btn-submit:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249, 195, 73, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(249, 195, 73, 0.2);
}


/* ============================================================
   FLOATING CTA BUTTON
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 100;
  width: 56px;
  height: 56px;
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard),
    opacity var(--dur-normal) var(--ease-standard);
  opacity: 0;
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-cta:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.floating-cta:active {
  transform: translateY(0) scale(1);
}

.floating-cta svg {
  width: 24px;
  height: 24px;
  fill: var(--cta-text);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface-dark);
  color: var(--brown-400);
  padding: var(--space-8) 0;
  text-align: center;
}

.site-footer p {
  max-width: none;
  margin-inline: auto;
}

.disclaimer {
  font-size: var(--font-size-small);
  margin-bottom: var(--space-3);
  color: var(--brown-400);
}

.crisis-note {
  font-size: var(--font-size-small);
  margin-bottom: var(--space-5);
  color: var(--brown-400);
}

.crisis-note a {
  color: var(--gold-300);
}

.copyright {
  font-size: var(--font-size-caption);
  color: var(--brown-600);
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-slower) var(--ease-decelerate),
    transform var(--dur-slower) var(--ease-decelerate);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet and up */
@media (min-width: 544px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .hero-content {
    text-align: left;
  }

  .hero-subtitle {
    margin-inline: 0;
  }

  .hero-cta-group {
    justify-content: flex-start;
  }

  .hero-trust {
    text-align: left;
  }
}

/* Desktop */
@media (min-width: 922px) {
  .hero .container {
    gap: var(--space-10);
  }

  .hero-chat .chat-window {
    max-width: 460px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Wide */
@media (min-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Small screens — more compact chat */
@media (max-width: 543px) {
  .chat-window {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
  }

  .bubble,
  .scenario-bubble,
  .step-bubble {
    max-width: 92%;
    font-size: var(--font-size-small);
    padding: var(--space-2) var(--space-3);
  }

  .feature-card {
    padding: var(--space-5);
  }

  .form-container {
    padding: var(--space-5);
    border-radius: var(--radius-lg);
  }

  .floating-cta {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
  }

  .floating-cta svg {
    width: 20px;
    height: 20px;
  }
}


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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .typing-dot {
    animation: none !important;
    opacity: 0.6;
  }
}

@media (prefers-contrast: more) {
  :root {
    --border-default: var(--brown-600);
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
  }

  .bubble--luna,
  .bubble--user,
  .feature-card,
  .price-card {
    border: 2px solid var(--color-heading);
  }
}

@media (forced-colors: active) {
  .btn-primary,
  .btn-submit,
  .floating-cta {
    border: 2px solid ButtonText;
  }

  .bubble--luna,
  .bubble--user {
    border: 1px solid CanvasText;
  }
}


/* === CONTENT VISIBILITY (perf) === */
.section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
