/* style.css — Haggl Design System */

/* ========================================
   FONTS — Cabinet Grotesk + Satoshi from Fontshare
   ======================================== */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@700,800&f[]=satoshi@400,500,700&display=swap');

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
  /* Typography */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* Fluid Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* 4px Spacing System */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ========================================
   LIGHT MODE (Default)
   ======================================== */
:root, [data-theme="light"] {
  --color-primary: #2D5BFF;
  --color-primary-hover: #1D4AED;
  --color-primary-rgb: 45, 91, 255;
  --color-secondary: #0F172A;
  --color-bg: #FAFBFF;
  --color-surface: #FFFFFF;
  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --color-success: #10B981;
  --color-border: #E2E8F0;
  --color-divider: #E2E8F0;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.1), 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* ========================================
   DARK MODE
   ======================================== */
[data-theme="dark"] {
  --color-primary: #5B8AFF;
  --color-primary-hover: #4A7AFF;
  --color-primary-rgb: 91, 138, 255;
  --color-secondary: #E2E8F0;
  --color-bg: #0B1120;
  --color-surface: #111827;
  --color-text: #E2E8F0;
  --color-text-muted: #94A3B8;
  --color-success: #34D399;
  --color-border: #1E293B;
  --color-divider: #1E293B;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-primary: #5B8AFF;
    --color-primary-hover: #4A7AFF;
    --color-primary-rgb: 91, 138, 255;
    --color-secondary: #E2E8F0;
    --color-bg: #0B1120;
    --color-surface: #111827;
    --color-text: #E2E8F0;
    --color-text-muted: #94A3B8;
    --color-success: #34D399;
    --color-border: #1E293B;
    --color-divider: #1E293B;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-text);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 251, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

[data-theme="dark"] .nav {
  background: rgba(11, 17, 32, 0.85);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-4);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
}

.nav__logo svg {
  flex-shrink: 0;
}

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

.nav__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-interactive);
}

.nav__links a:hover {
  color: var(--color-text);
}

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

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-interactive), opacity var(--transition-interactive);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  padding: var(--space-8) var(--space-6);
  z-index: 99;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-weight: 700;
}

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

.hide-mobile {
  display: none !important;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: inline-flex !important;
  }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

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

.btn--primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.3);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.05);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn--nav {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: rgba(var(--color-primary-rgb), 0.08);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding-top: calc(72px + clamp(var(--space-12), 6vw, var(--space-20)));
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-20));
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

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

.hero__headline {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.hero__headline span {
  color: var(--color-primary);
}

.hero__subhead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-10);
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: gap var(--transition-interactive);
}

.hero__link:hover {
  gap: var(--space-3);
}

.hero__link svg {
  transition: transform var(--transition-interactive);
}

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

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  max-width: fit-content;
}

.hero__social-proof svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* ========================================
   CHAT MOCKUP
   ======================================== */
.chat-mockup {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 520px;
  margin-inline: auto;
}

.chat-mockup__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.chat-mockup__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), #7C3AED);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-mockup__avatar svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.chat-mockup__info h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.3;
}

.chat-mockup__info span {
  font-size: var(--text-xs);
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-mockup__info span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  display: inline-block;
}

.chat-mockup__body {
  padding: var(--space-5);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.chat-msg {
  display: flex;
  gap: var(--space-3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-msg__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(var(--color-primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-msg__icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.chat-msg__bubble {
  background: rgba(var(--color-primary-rgb), 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
  max-width: 380px;
}

.chat-msg--savings .chat-msg__bubble {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.chat-msg--savings .chat-msg__icon {
  background: rgba(16, 185, 129, 0.1);
}

.chat-msg--savings .chat-msg__icon svg {
  color: var(--color-success);
}

.savings-amount {
  color: var(--color-success);
  font-weight: 700;
  font-family: var(--font-display);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  opacity: 0;
  transition: opacity 0.3s;
}

.typing-indicator.visible {
  opacity: 1;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: typingBounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: var(--space-12);
}

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

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

.step {
  position: relative;
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* step connector line */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(52px + var(--space-4));
    right: calc(-1 * var(--space-4));
    height: 2px;
    background: linear-gradient(90deg, var(--color-border), transparent);
  }
}

/* ========================================
   PROBLEM / WHY HAGGL
   ======================================== */
.problem__grid {
  display: grid;
  gap: var(--space-8);
}

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

.problem__card {
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
}

.problem__card--pain {
  background: var(--color-surface);
}

.problem__card--solution {
  background: rgba(var(--color-primary-rgb), 0.03);
  border-color: rgba(var(--color-primary-rgb), 0.15);
}

.problem__card h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
}

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

.problem__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.problem__list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.problem__card--pain .problem__list li svg {
  color: #EF4444;
}

.problem__card--solution .problem__list li svg {
  color: var(--color-success);
}

.problem__card--solution .problem__list li {
  color: var(--color-text);
}

/* ========================================
   SAVINGS SHOWCASE
   ======================================== */
.savings {
  text-align: center;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.savings__big-number {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--color-success);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.savings__caption {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  max-width: 500px;
  margin-inline: auto;
}

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

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

.metric-card {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.metric-card__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

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

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
  display: grid;
  gap: var(--space-6);
}

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

.pricing-card {
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  position: relative;
}

.pricing-card--featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
}

.pricing-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  min-height: 40px;
}

.pricing-card__price {
  margin-bottom: var(--space-6);
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
}

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

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing-card__features li svg {
  flex-shrink: 0;
  color: var(--color-success);
}

.pricing-card .btn {
  width: 100%;
}

/* ========================================
   ROADMAP
   ======================================== */
.roadmap-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

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

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

.roadmap-card {
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.roadmap-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.3);
  box-shadow: var(--shadow-md);
}

.roadmap-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(var(--color-primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.roadmap-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.roadmap-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-top: var(--space-3);
}

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

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  transition: border-color var(--transition-interactive);
}

.faq-item.active {
  border-color: rgba(var(--color-primary-rgb), 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  text-align: left;
  color: var(--color-text);
  cursor: pointer;
  gap: var(--space-4);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-interactive);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.faq-answer__inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
}

.final-cta__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.final-cta__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-inline: auto;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

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

.waitlist-form input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.waitlist-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

.waitlist-form input::placeholder {
  color: var(--color-text-muted);
}

.waitlist-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.waitlist-success {
  display: none;
  text-align: center;
  padding: var(--space-6);
}

.waitlist-success.visible {
  display: block;
}

.waitlist-success__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--color-success);
}

.waitlist-success h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.waitlist-success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-10);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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