/* ================================================================
   Tuhüt Landing Page — Design System
   Brand Palette:
     Primary Navy    #14325A
     Accent Gold     #C9A227
     Secondary Terra #8B3A28
     Surface Cream   #FAF7EF
   ================================================================ */

/* ========================
   1. Design Tokens
   ======================== */
:root {
  /* Brand Colors */
  --navy:        #14325A;
  --navy-light:  #1e4a82;
  --navy-dark:   #0c1f38;
  --navy-muted:  #2a4a6b;

  --gold:        #C9A227;
  --gold-light:  #e0b93a;
  --gold-dark:   #a8871f;
  --gold-subtle: rgba(201, 162, 39, 0.12);
  --gold-glow:   rgba(201, 162, 39, 0.25);

  --terra:       #8B3A28;
  --terra-light: #b04b34;
  --terra-subtle:rgba(139, 58, 40, 0.12);

  --cream:       #FAF7EF;
  --cream-dark:  #f0ebe0;
  --cream-light: #fdfcf9;

  /* Semantic */
  --bg:          var(--navy-dark);
  --bg-surface:  var(--navy);
  --bg-surface-2:#1a3d67;
  --border:      rgba(255,255,255,0.08);
  --border-gold: rgba(201, 162, 39, 0.3);

  --text:        var(--cream);
  --text-muted:  rgba(250, 247, 239, 0.65);
  --text-faint:  rgba(250, 247, 239, 0.38);

  --success:     #4ade80;
  --error:       #f87171;

  /* Typography */
  --font:        'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

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

  /* Layout */
  --max-w: 1160px;
  --px: clamp(1rem, 5vw, 2rem);

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Transitions */
  --t:        200ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================
   2. 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);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Ambient grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: 0;
  pointer-events: none;
}

/* Radial glow overlays */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(201,162,39,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 80%, rgba(139,58,40,0.08) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

::selection { background: var(--gold); color: var(--navy-dark); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-sm); }

/* ========================
   3. Layout
   ======================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section {
  padding-block: var(--sp-24);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-16);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--sp-4);
  color: var(--cream);
}

.section__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================
   4. Typography
   ======================== */
.inline-code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-light);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

/* ========================
   5. Buttons (Component Gallery: Button pattern)
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--r-md);
  transition: background var(--t), color var(--t), border-color var(--t),
              transform var(--t), box-shadow var(--t);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t);
  border-radius: inherit;
}

.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn:active { transform: scale(0.98); }

/* Primary — Gold fill */
.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 4px 20px -4px var(--gold-glow);
  transform: translateY(-1px);
}
.btn--primary:focus-visible {
  outline-color: var(--gold);
}

/* Ghost — Outlined */
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--border-gold);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

/* Sizes */
.btn--sm  { font-size: 0.85rem; padding: 0.45rem 1rem; }
.btn--md  { font-size: 0.95rem; padding: 0.6rem 1.25rem; }
.btn--lg  { font-size: 1rem; padding: 0.8rem 1.75rem; }

/* Spinner inside button */
.btn__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(20,50,90,0.3);
  border-top-color: var(--navy-dark);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

/* ========================
   6. Badges (Component Gallery: Badge pattern)
   ======================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.badge--gold {
  background: var(--gold-subtle);
  color: var(--gold);
  border: 1px solid rgba(201,162,39,0.25);
}

.badge--terra {
  background: var(--terra-subtle);
  color: #e0845e;
  border: 1px solid rgba(139,58,40,0.25);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease infinite;
}

.badge--subtle {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ========================
   7. Announcement Banner (Component Gallery: Alert/Banner)
   ======================== */
.banner {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.6rem var(--px);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  transition: max-height var(--t-slow), padding var(--t-slow), opacity var(--t-slow);
  overflow: hidden;
  max-height: 60px;
}

.banner.is-hidden {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
  pointer-events: none;
}

.banner__icon { font-size: 1rem; flex-shrink: 0; }

.banner__link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(20,50,90,0.4);
  text-underline-offset: 2px;
  color: inherit;
}
.banner__link:hover { text-decoration-color: var(--navy-dark); }

.banner__close {
  position: absolute;
  right: var(--px);
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy-dark);
  padding: var(--sp-1);
  opacity: 0.7;
  transition: opacity var(--t);
}
.banner__close:hover { opacity: 1; }

/* ========================
   8. Navigation (Component Gallery: Navigation)
   ======================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(12, 31, 56, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-slow), background var(--t-slow);
}

.nav.is-scrolled {
  background: rgba(12, 31, 56, 0.97);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.4);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__logo-mark {
  color: var(--gold);
  font-size: 1.4rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t);
}
.nav__link:hover { color: var(--cream); }
.nav__link svg { opacity: 0.7; }

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

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--px) var(--sp-5);
  border-top: 1px solid var(--border);
  background: rgba(12,31,56,0.98);
}
.nav__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--sp-2) 0;
  transition: color var(--t);
  border-bottom: 1px solid var(--border);
}
.nav__mobile-link:hover { color: var(--cream); }

/* ========================
   9. Hero Section
   ======================== */
.hero {
  position: relative;
  padding-block: var(--sp-24) var(--sp-20);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero__headline-accent {
  color: var(--gold);
  display: block;
}

.hero__subline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-2);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
}
.hero__meta-item svg { color: var(--gold); flex-shrink: 0; }

/* Glow orbs */
.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--left  { background: rgba(201,162,39,0.07); top: -100px; left: -200px; }
.hero__glow--right { background: rgba(139,58,40,0.07); bottom: -100px; right: -200px; }

/* ========================
   10. Terminal
   ======================== */
.terminal {
  background: #0b1929;
  border-radius: var(--r-lg);
  border: 1px solid rgba(201,162,39,0.2);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 64px -16px rgba(0,0,0,0.7),
    0 0 40px -10px rgba(201,162,39,0.1);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal__dot--red    { background: #ff5f57; }
.terminal__dot--yellow { background: #febc2e; }
.terminal__dot--green  { background: #28c840; }

.terminal__title {
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.02em;
}

.terminal__body {
  padding: var(--sp-5) var(--sp-6);
  font-size: 0.8rem;
  line-height: 1.9;
  color: #a8bcd0;
  min-height: 280px;
}

.term-prompt { color: var(--gold); }
.term-cmd    { color: var(--cream); }
.term-success{ color: #4ade80; }
.term-info   { color: #60a5fa; }
.term-warn   { color: #febc2e; }
.term-muted  { color: #64748b; }
.term-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--gold);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  border-radius: 1px;
}

/* ========================
   11. Social Proof Bar
   ======================== */
.social-proof {
  padding-block: var(--sp-10);
  border-block: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.social-proof__label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-5);
}

.social-proof__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

/* ========================
   12. How It Works — Steps (Component Gallery: Card)
   ======================== */
.how-it-works { background: rgba(255,255,255,0.01); }

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: var(--sp-4);
}

.step {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  position: relative;
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow);
}
.step:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -8px rgba(201,162,39,0.12);
}

.step__number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-family: var(--font-mono);
  margin-bottom: var(--sp-4);
}

.step__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--gold-subtle);
  border: 1px solid rgba(201,162,39,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}

.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: var(--sp-3);
}

.step__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.step__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--sp-16);
  color: var(--border-gold);
  width: 80px;
  flex-shrink: 0;
}

/* ========================
   13. Feature Grid (Component Gallery: Card)
   ======================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.feature-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow), background var(--t);
}

.feature-card:hover {
  background: rgba(255,255,255,0.055);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px -12px rgba(201,162,39,0.18);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}

.feature-card__icon--gold { background: var(--gold-subtle); color: var(--gold); border: 1px solid rgba(201,162,39,0.2); }
.feature-card__icon--terra { background: var(--terra-subtle); color: #e0845e; border: 1px solid rgba(139,58,40,0.2); }

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: var(--sp-3);
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ========================
   14. ROI Calculator (Component Gallery: Slider, Text Input)
   ======================== */
.calculator {
  border-block: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}

.calc__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: start;
}

.calc__inputs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.calc__field-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--sp-3);
}

.calc__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc__value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-mono);
}

/* Slider (Component Gallery: Slider) */
.calc__slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  transition: background var(--t);
}
.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy-dark);
  box-shadow: 0 0 0 1px var(--gold), 0 2px 8px rgba(201,162,39,0.4);
  cursor: pointer;
  transition: transform var(--t-spring), box-shadow var(--t);
}
.calc__slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 1px var(--gold), 0 4px 16px rgba(201,162,39,0.5);
}
.calc__slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy-dark);
  cursor: pointer;
}

/* Output card */
.calc__result-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: sticky;
  top: 100px;
}

.calc__result-top {
  text-align: center;
  margin-bottom: var(--sp-6);
}

.calc__result-label {
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}

.calc__result-amount {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-mono);
  line-height: 1;
  transition: transform 0.2s ease;
}

.calc__result-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: var(--sp-6);
}

.calc__result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.calc__result-item { display: flex; flex-direction: column; gap: var(--sp-1); }
.calc__result-item-label { font-size: 0.75rem; color: var(--text-faint); font-weight: 500; }
.calc__result-item-val { font-size: 0.95rem; font-weight: 700; color: var(--cream); font-family: var(--font-mono); }
.calc__result-item-val--green { color: var(--success); }

/* Bar chart */
.calc__bar { margin-bottom: var(--sp-2); }
.calc__bar-track { display: flex; flex-direction: column; gap: var(--sp-3); }
.calc__bar-label { font-size: 0.72rem; color: var(--text-faint); margin-bottom: var(--sp-1); }

.calc__bar-fill {
  height: 10px;
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 100%;
}
.calc__bar-fill--before { background: linear-gradient(90deg, var(--terra), var(--terra-light)); }
.calc__bar-fill--after  { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* ========================
   15. Testimonial
   ======================== */
.testimonial { padding-block: var(--sp-16); }

.testimonial__quote {
  background: rgba(201,162,39,0.05);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-16);
  max-width: 820px;
  margin-inline: auto;
  position: relative;
}

.testimonial__quote::before {
  content: '"';
  position: absolute;
  top: var(--sp-6);
  left: var(--sp-8);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.25;
  font-family: Georgia, serif;
}

.testimonial__stars {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}

.testimonial__text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--cream);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--terra) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream);
  flex-shrink: 0;
}

.testimonial__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream);
  font-style: normal;
  margin-bottom: 2px;
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ========================
   16. Waitlist Form (Component Gallery: Text Input, Select, Button)
   ======================== */
.waitlist {
  position: relative;
  overflow: hidden;
  background: rgba(20,50,90,0.3);
}

.waitlist__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(201,162,39,0.06);
  filter: blur(120px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.waitlist__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.waitlist__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding-top: var(--sp-4);
}

.waitlist__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.15;
}

.waitlist__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.waitlist__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.waitlist__perk {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.waitlist__perk svg { color: var(--gold); flex-shrink: 0; }

/* Form wrapper */
.waitlist__form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

/* Form fields (Component Gallery: Text Input, Select) */
.form-field { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-required { color: var(--gold); }
.form-optional { color: var(--text-faint); font-weight: 400; font-size: 0.8rem; }

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--cream);
  font-size: 0.9rem;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  outline: none;
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:hover { border-color: rgba(255,255,255,0.15); }
.form-input:focus {
  border-color: var(--gold);
  background: rgba(201,162,39,0.05);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.form-input[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}

.form-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

.form-select-wrap { position: relative; }
.form-select {
  width: 100%;
  padding: 0.7rem 2.5rem 0.7rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--cream);
  font-size: 0.9rem;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.form-select:focus {
  border-color: var(--gold);
  background: rgba(201,162,39,0.05);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.form-select option { background: var(--navy); color: var(--cream); }

.form-select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
}

.form-error {
  font-size: 0.8rem;
  color: var(--error);
  font-weight: 500;
}

.form-alert {
  padding: var(--sp-3) var(--sp-4);
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.25);
  border-radius: var(--r-md);
  font-size: 0.85rem;
  color: var(--error);
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  justify-content: center;
}
.form-privacy svg { flex-shrink: 0; }

/* Success state */
.waitlist__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  padding: var(--sp-10) var(--sp-6);
}

.waitlist__success-icon {
  color: var(--success);
  animation: pop-in var(--t-spring) both;
}

.waitlist__success-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cream);
}

.waitlist__success-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ========================
   17. Footer
   ======================== */
.footer {
  border-top: 1px solid var(--border);
  padding-block: var(--sp-10);
  background: var(--navy-dark);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cream);
}

.footer__tagline {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 2px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.footer__link {
  font-size: 0.875rem;
  color: var(--text-faint);
  transition: color var(--t);
}
.footer__link:hover { color: var(--cream); }

.footer__copy {
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-5);
  margin-top: var(--sp-4);
}

/* ========================
   18. Scroll Reveal Animation
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ========================
   19. Keyframes
   ======================== */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

@keyframes pop-in {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

@keyframes confetti-fall {
  0%   { transform: translateY(-10px) rotate(0deg);   opacity: 1; }
  100% { transform: translateY(60px)  rotate(360deg); opacity: 0; }
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confetti-fall 0.8s ease forwards;
  pointer-events: none;
}

/* ========================
   20. Responsive
   ======================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__terminal { max-width: 580px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .calc__inner { grid-template-columns: 1fr; }
  .calc__result-card { position: static; }
}

@media (max-width: 768px) {
  .section { padding-block: var(--sp-16); }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .step__connector { transform: rotate(90deg); width: 100%; justify-content: center; padding-top: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .waitlist__inner { grid-template-columns: 1fr; }
  .testimonial__quote { padding: var(--sp-8) var(--sp-6); }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 1.9rem; }
  .calc__result-grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
