/* =================================================================
   ALVEA HUB — Landing styles
   Mobile-first · No external deps (except Google Fonts)
================================================================= */

/* -----------------------------------------------------------------
   1. TOKENS
----------------------------------------------------------------- */
:root {
  /* Base — deeper, richer navy with tonal variety */
  --color-bg: #091833;
  --color-bg-deep: #050F25;
  --color-bg-card: #142B4D;
  --color-bg-elevated: #1E3A66;

  /* Accent — multi-tone gold for depth */
  --color-accent: #C4891E;
  --color-accent-bright: #E8B868;
  --color-accent-strong: #D99A2A;
  --color-accent-deep: #8C5E14;
  --color-accent-glow: rgba(232, 184, 104, 0.18);

  /* Text — warmer cream tones */
  --color-text: #F5EAD4;
  --color-text-bright: #FFFCF2;
  --color-text-muted: rgba(245, 234, 212, 0.72);
  --color-text-subtle: rgba(245, 234, 212, 0.5);
  --color-text-faint: rgba(245, 234, 212, 0.3);

  /* Borders — layered */
  --color-border: rgba(245, 234, 212, 0.08);
  --color-border-strong: rgba(245, 234, 212, 0.16);
  --color-border-accent: rgba(196, 137, 30, 0.35);

  --color-success: #C4891E;
  --color-negative: rgba(245, 234, 212, 0.4);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #E8B868 0%, #C4891E 55%, #8C5E14 100%);
  --gradient-gold-soft: linear-gradient(135deg, #D99A2A 0%, #B17A18 100%);
  --gradient-surface: linear-gradient(180deg, #15305A 0%, #0E2241 100%);
  --gradient-surface-deep: linear-gradient(180deg, #0E2241 0%, #050F25 100%);

  /* Subtle metal — soft 3-stop gradient */
  --gradient-metal: linear-gradient(
    135deg,
    #D9A845 0%,
    #C4891E 50%,
    #9D6A14 100%
  );

  /* Noise / grain — fine fractal turbulence baked as SVG (no external file) */
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  --noise-fine: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' stitchTiles='stitch' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, -apple-system, sans-serif;

  /* Spacing 8pt */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);

  /* Safe areas */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Section padding */
  --section-py: clamp(64px, 10vw, 128px);
  --container-px: clamp(20px, 5vw, 64px);
}

/* -----------------------------------------------------------------
   2. RESET & BASE
----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Ambient mesh — soft gold glows fixed in the viewport for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 85% 10%, rgba(232, 184, 104, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 5% 85%, rgba(196, 137, 30, 0.05), transparent 65%),
    radial-gradient(ellipse 500px 400px at 50% 50%, rgba(30, 58, 102, 0.4), transparent 70%);
}

/* Whole-page fine grain — anchors the leather texture across all sections */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--noise-fine);
  background-size: 220px 220px;
  opacity: 0.18;
  mix-blend-mode: overlay;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1em;
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

em {
  font-style: italic;
  color: var(--color-accent);
  transition: text-shadow 0.5s var(--ease);
}

h1 em,
h2 em,
h3 em {
  text-shadow: 0 0 0 transparent;
}

h1:hover em,
h2:hover em,
h3:hover em {
  text-shadow: 0 0 24px rgba(232, 184, 104, 0.4);
}

s {
  text-decoration: line-through;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  color: var(--color-text-muted);
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* Custom scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-deep) var(--color-bg-deep);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--color-bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-deep));
  border-radius: 999px;
  border: 2px solid var(--color-bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-accent-bright), var(--color-accent));
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: var(--radius-pill);
  font-weight: 500;
  z-index: 200;
  transition: top var(--transition);
}

.skip-link:focus {
  top: calc(16px + var(--safe-top));
}

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

section {
  padding-block: var(--section-py);
}

/* -----------------------------------------------------------------
   4. TYPOGRAPHY
----------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}

.display-xl {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
}

.display-lg {
  font-size: clamp(32px, 7vw, 64px);
}

.display-md {
  font-size: clamp(28px, 5.5vw, 48px);
}

h2 {
  font-size: clamp(32px, 7vw, 64px);
}

h3 {
  font-size: clamp(22px, 3vw, 28px);
}

.label,
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

@media (min-width: 1024px) {
  .label,
  .eyebrow { font-size: 13px; }
}

.section-header {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  max-width: 720px;
}

.section-header p {
  margin-inline: auto;
  color: var(--color-text-muted);
  font-size: clamp(17px, 1.8vw, 20px);
}

.section-header .btn {
  margin-top: var(--space-3);
}

/* -----------------------------------------------------------------
   5. BUTTONS
----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-metal);
  color: var(--color-bg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow:
    0 4px 14px rgba(196, 137, 30, 0.22),
    inset 0 1px 0 rgba(255, 240, 200, 0.2);
}

/* Subtle brighter swap on hover */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E0B260 0%, #C4891E 100%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
  border-radius: inherit;
}

.btn-primary:hover {
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(232, 184, 104, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

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

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

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-lg {
  min-height: 64px;
  padding: 20px 36px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
}

/* Animated arrows inside buttons */
.btn span[aria-hidden] {
  display: inline-block;
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.btn:not(.btn-back):hover span[aria-hidden] {
  transform: translateX(5px);
}

.btn-back:hover span[aria-hidden] {
  transform: translateX(-5px);
}

/* -----------------------------------------------------------------
   6. HERO
----------------------------------------------------------------- */
.hero {
  --hero-parallax: 0px;
  position: relative;
  padding-block: clamp(40px, 8vw, 120px) var(--section-py);
  background:
    radial-gradient(ellipse 900px 700px at calc(90% + var(--hero-parallax)) calc(0% - var(--hero-parallax)), rgba(232, 184, 104, 0.14), transparent 55%),
    radial-gradient(ellipse 600px 500px at calc(0% - var(--hero-parallax)) calc(90% + var(--hero-parallax)), rgba(196, 137, 30, 0.06), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(5, 15, 37, 0.6) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle gold horizon line at the bottom of the hero */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-accent), transparent);
}

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

.hero-content {
  max-width: 640px;
}

.hero-logo {
  display: block;
  width: auto;
  height: clamp(40px, 5vw, 56px);
  margin-bottom: var(--space-3);
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(232, 184, 104, 0));
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}

.hero-logo:hover,
.hero:hover .hero-logo {
  filter: drop-shadow(0 4px 24px rgba(232, 184, 104, 0.35));
}

.hero-content h1 {
  margin-bottom: var(--space-3);
}

.subheadline {
  font-size: clamp(18px, 1.7vw, 20px);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.benefits-list {
  margin: 0 0 var(--space-4);
  display: grid;
  gap: 12px;
}

.benefits-list li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(17px, 1.6vw, 18px);
  color: var(--color-text);
}

.benefits-list li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: -4px;
  color: var(--color-accent);
  font-size: 28px;
  font-weight: 700;
}

.closing-line {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.3;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.cta-note {
  display: block;
  margin-top: var(--space-2);
  font-size: 14px;
  color: var(--color-text-subtle);
}

@media (min-width: 1024px) {
  .hero {
    min-height: 100vh;
  }
  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-6);
  }
}

/* -----------------------------------------------------------------
   7. FORM CARD
----------------------------------------------------------------- */
.form-card {
  background-color: #102648;
  background-image: var(--noise), var(--gradient-surface);
  background-blend-mode: soft-light, normal;
  background-size: 240px 240px, auto;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(232, 184, 104, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Top accent line — gold gradient */
.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-bright), transparent);
  opacity: 0.6;
}


.form-card-header h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: var(--space-2);
}

.form-card-header p {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: var(--space-3);
}

/* Progress indicator */
.form-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-4);
}

.form-progress-track {
  flex: 1;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.form-progress-fill {
  height: 100%;
  width: 33.333%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
  border-radius: inherit;
  transition: width 0.4s var(--ease);
  box-shadow: 0 0 12px rgba(232, 184, 104, 0.5);
}

.form-progress-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.form-progress-label strong {
  color: var(--color-accent);
  font-weight: 500;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Stepper */
.form-stepper {
  display: grid;
  gap: var(--space-3);
  position: relative;
}

.form-step {
  display: grid;
  gap: var(--space-3);
  border: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.form-step[hidden] {
  display: none;
}

.form-step.is-active {
  opacity: 1;
  transform: translateX(0);
}

.form-step-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  margin: 0 0 var(--space-1);
  color: var(--color-text);
}

.form-step-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: var(--space-2);
}

.form-step-actions--single {
  grid-template-columns: 1fr;
}

.form-step-actions .btn-back {
  min-width: 100px;
  padding-inline: 20px;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  background: rgba(196, 137, 30, 0.1);
  border: 1px solid rgba(196, 137, 30, 0.4);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-size: 14px;
}

/* Backwards-compat (in case .form-mock is referenced elsewhere) */
.form-mock {
  display: grid;
  gap: var(--space-3);
}

.form-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.form-group legend {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 12px;
  padding: 0;
}

.radio-row {
  display: flex;
  gap: 12px;
}

.radio-stack {
  display: grid;
  gap: 10px;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-size: 15px;
  flex: 1;
  user-select: none;
}

.radio:hover {
  border-color: rgba(196, 137, 30, 0.5);
  transform: translateY(-1px);
}

.radio input {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
  margin: 0;
}

.radio:has(input:checked) {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, rgba(232, 184, 104, 0.12), rgba(196, 137, 30, 0.06));
  box-shadow:
    0 0 0 1px rgba(232, 184, 104, 0.3),
    0 6px 16px -8px rgba(232, 184, 104, 0.3);
  animation: radio-pop 0.45s var(--ease);
}

@keyframes radio-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.radio-stack .radio {
  flex: initial;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.field input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(196, 137, 30, 0.3);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition);
  min-height: 44px;
  width: 100%;
}

.field input::placeholder {
  color: var(--color-text-subtle);
}

.field input:focus {
  border-bottom-color: var(--color-accent-bright);
  box-shadow: 0 8px 16px -16px var(--color-accent-bright);
}

.field:focus-within label {
  color: var(--color-accent-bright);
}

.field label {
  transition: color 0.3s var(--ease);
}

.field small {
  color: var(--color-text-subtle);
  font-size: 13px;
}

/* Phone field with country-code prefix */
.phone-input {
  display: grid;
  grid-template-columns: minmax(140px, max-content) 1fr;
  gap: 12px;
  align-items: end;
}

.phone-prefix {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(196, 137, 30, 0.3);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  padding: 12px 28px 12px 14px;
  min-height: 44px;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4891E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px 14px;
}

.phone-prefix:focus {
  border-bottom-color: var(--color-accent-bright);
}

.phone-prefix option {
  background: var(--color-bg-card);
  color: var(--color-text);
}

.form-disclaimer {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-subtle);
  text-align: center;
}

/* -----------------------------------------------------------------
   8. STATS
----------------------------------------------------------------- */
.stats {
  position: relative;
  padding-block: clamp(40px, 6vw, 72px);
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats::before,
.stats::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-accent), transparent);
  opacity: 0.5;
}

.stats::before { top: 0; }
.stats::after { bottom: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-3);
}

.stat {
  text-align: center;
  padding: var(--space-1) var(--space-2);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1;
  margin-bottom: var(--space-1);
  background: var(--gradient-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat p {
  margin: 0 auto;
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 28ch;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat + .stat {
    border-left: 1px solid var(--color-border);
  }
}

/* -----------------------------------------------------------------
   9. COMPARISON
----------------------------------------------------------------- */
.comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.comp-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.comp-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: var(--space-3);
}

.comp-card--muted {
  opacity: 0.55;
  filter: saturate(0.6);
}

.comp-card--featured {
  border-color: transparent;
  background:
    var(--noise) padding-box,
    linear-gradient(var(--color-bg-card), var(--color-bg-card)) padding-box,
    linear-gradient(135deg, var(--color-accent-bright) 0%, var(--color-accent) 50%, var(--color-accent-deep) 100%) border-box;
  background-blend-mode: soft-light, normal, normal;
  background-size: 240px 240px, auto, auto;
  box-shadow:
    0 20px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 60px -10px rgba(232, 184, 104, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.comp-card--featured:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(232, 184, 104, 0.18), rgba(196, 137, 30, 0.08));
  color: var(--color-accent-bright);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
  border: 1px solid var(--color-border-accent);
  box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.1);
}

.list-x,
.list-check {
  display: grid;
  gap: 14px;
}

.list-x li,
.list-check li {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
  line-height: 1.5;
}

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

.list-x li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(249,244,234,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6 6 18'/><path d='m6 6 12 12'/></svg>");
  background-repeat: no-repeat;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4891E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
}

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

/* -----------------------------------------------------------------
   10. BONUS CTA
----------------------------------------------------------------- */
.bonus-cta {
  position: relative;
  background-color: #15294A;
  background-image:
    var(--noise),
    radial-gradient(ellipse 800px 400px at 30% 50%, rgba(232, 184, 104, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 80% 50%, rgba(196, 137, 30, 0.12), transparent 60%),
    linear-gradient(135deg, #1E3A66, #142B4D);
  background-blend-mode: soft-light, normal, normal, normal;
  background-size: 240px 240px, auto, auto, auto;
  border-top: 1px solid var(--color-border-accent);
  border-bottom: 1px solid var(--color-border-accent);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 200, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.bonus-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 4px at 20% 30%, rgba(232, 184, 104, 0.4), transparent),
    radial-gradient(circle 3px at 75% 60%, rgba(232, 184, 104, 0.3), transparent),
    radial-gradient(circle 2px at 50% 80%, rgba(232, 184, 104, 0.5), transparent);
  pointer-events: none;
  opacity: 0.6;
}

.bonus-inner {
  text-align: center;
  display: grid;
  gap: var(--space-3);
  justify-items: center;
}

.bonus-inner p {
  color: var(--color-text-muted);
  font-size: clamp(16px, 1.8vw, 18px);
  max-width: 60ch;
  margin: 0;
}

.bonus-inner .btn {
  margin-top: var(--space-2);
}

/* -----------------------------------------------------------------
   11. HUB DIAGRAM
----------------------------------------------------------------- */
.solution {
  position: relative;
}

.hub-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
}

.hub-center {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #E0B260 0%, #C4891E 55%, #8C5E14 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(196, 137, 30, 0.25),
    0 0 40px rgba(196, 137, 30, 0.2),
    0 20px 50px -10px rgba(196, 137, 30, 0.3),
    inset 0 -20px 35px rgba(0, 0, 0, 0.25),
    inset 0 6px 14px rgba(255, 240, 200, 0.12);
  border: none;
  overflow: hidden;
}

/* Subtle horizontal sheen band — like brushed metal reflection */
.hub-center > * {
  position: relative;
  z-index: 1;
}

/* Outer halo ring */
.hub-center::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 104, 0.25);
  pointer-events: none;
}

.hub-center::after {
  content: "";
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 104, 0.1);
  pointer-events: none;
}

.hub-brand {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--color-text);
  font-style: italic;
  line-height: 1;
}

.hub-sublabel {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-bg);
  margin-top: 6px;
  opacity: 0.85;
}

.hub-node {
  background-color: #102648;
  background-image: var(--noise-fine), var(--gradient-surface);
  background-blend-mode: soft-light, normal;
  background-size: 200px 200px, auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow:
    0 8px 24px -12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 240, 200, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.hub-node:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px -16px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 240, 200, 0.06);
}

.hub-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(232, 184, 104, 0.22), rgba(196, 137, 30, 0.08));
  color: var(--color-accent-bright);
  border: 1px solid rgba(232, 184, 104, 0.2);
  transition: transform var(--transition);
}

.hub-node:hover .hub-icon {
  transform: scale(1.08);
}

.hub-icon svg {
  width: 24px;
  height: 24px;
}

.hub-node h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0;
  color: var(--color-text);
}

.hub-node p {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 24ch;
}

.hub-connectors {
  display: none;
}

/* Mobile-only sticky stack — cards deploy one over another as you scroll */
@media (max-width: 1023px) {
  .hub-diagram {
    gap: 0;
    padding-bottom: 24vh;
  }

  /* Hub center hidden on mobile — cards are the focus */
  .hub-center {
    display: none;
  }

  .hub-node {
    position: sticky;
    margin-bottom: 36vh;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.6s var(--ease);
  }

  .hub-node[data-position="1"] { top: 90px;  z-index: 1; }
  .hub-node[data-position="2"] { top: 106px; z-index: 2; }
  .hub-node[data-position="3"] { top: 122px; z-index: 3; }
  .hub-node[data-position="4"] { top: 138px; z-index: 4; }
  .hub-node[data-position="5"] { top: 154px; z-index: 5; }
  .hub-node[data-position="6"] { top: 170px; z-index: 6; margin-bottom: 0; }

  /* Make each card visually self-contained while stacking */
  .hub-node {
    box-shadow:
      0 16px 40px -16px rgba(0, 0, 0, 0.7),
      inset 0 1px 0 rgba(255, 240, 200, 0.06),
      inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  }
}

@media (min-width: 1024px) {
  .hub-diagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: var(--space-5) var(--space-4);
    position: relative;
    min-height: 640px;
    align-items: center;
    justify-items: center;
  }

  .hub-center {
    grid-column: 2;
    grid-row: 2;
    width: 220px;
    height: 220px;
    margin: 0;
    z-index: 2;
  }

  .hub-brand { font-size: 44px; }

  .hub-node {
    width: 220px;
    z-index: 2;
    position: relative;
  }

  .hub-node[data-position="1"] { grid-column: 1; grid-row: 1; }
  .hub-node[data-position="2"] { grid-column: 2; grid-row: 1; }
  .hub-node[data-position="3"] { grid-column: 3; grid-row: 1; }
  .hub-node[data-position="4"] { grid-column: 1; grid-row: 3; }
  .hub-node[data-position="5"] { grid-column: 2; grid-row: 3; }
  .hub-node[data-position="6"] { grid-column: 3; grid-row: 3; }

  .hub-connectors {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
}

/* -----------------------------------------------------------------
   12. TESTIMONIALS
----------------------------------------------------------------- */
.testimonials-grid {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Bleed past container padding for edge-to-edge swipe */
  margin-inline: calc(-1 * var(--container-px));
  padding-inline: var(--container-px);
  padding-block: var(--space-2);
  scroll-padding-inline: var(--container-px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-stop: always;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(100% - 48px);
  scroll-snap-align: start;
}

.testimonials {
  position: relative;
  background: var(--color-bg-deep);
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(232, 184, 104, 0.06), transparent 60%);
  pointer-events: none;
}

.testimonials > .container { position: relative; z-index: 1; }

.testimonial-card {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-height: 220px;
}

.testimonial-card--skeleton {
  border-style: dashed;
  border-color: rgba(196, 137, 30, 0.2);
  background:
    linear-gradient(110deg, transparent 35%, rgba(249, 244, 234, 0.03) 50%, transparent 65%),
    var(--color-bg-card);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}

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

@media (min-width: 1024px) {
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-block: 0;
  }

  .testimonial-card {
    flex: initial;
  }
}

/* -----------------------------------------------------------------
   13. PROCESS
----------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

/* Central timeline line (mobile: left-anchored; tablet+: centered) */
.process-steps::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    rgba(196, 137, 30, 0) 0%,
    rgba(196, 137, 30, 0.45) 6%,
    rgba(196, 137, 30, 0.45) 94%,
    rgba(196, 137, 30, 0) 100%);
  pointer-events: none;
}

.step {
  position: relative;
  padding-left: var(--space-5);
}

.step-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
  background: var(--gradient-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

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

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

.process-cta {
  margin-top: var(--space-5);
  text-align: center;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
    row-gap: var(--space-5);
    max-width: 980px;
  }

  .process-steps::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .step {
    padding-left: 0;
  }

  .step:nth-child(odd) {
    grid-column: 1;
    text-align: right;
    padding-right: var(--space-5);
  }

  .step:nth-child(even) {
    grid-column: 2;
    text-align: left;
    padding-left: var(--space-5);
  }

  /* Force a staircase pattern: one step per row, alternating sides */
  .step:nth-child(1) { grid-row: 1; }
  .step:nth-child(2) { grid-row: 2; }
  .step:nth-child(3) { grid-row: 3; }
  .step:nth-child(4) { grid-row: 4; }

  /* Directional scroll reveal: each step slides in from its own side */
  .process-steps .step:nth-child(odd).reveal {
    transform: translate(-32px, 12px);
  }

  .process-steps .step:nth-child(even).reveal {
    transform: translate(32px, 12px);
  }

  .process-steps .step.reveal.is-visible {
    transform: translate(0, 0);
  }

  /* Horizontal tick connecting each step to the central line, at number height */
  .step::after {
    content: "";
    position: absolute;
    top: 32px;
    width: var(--space-5);
    height: 1px;
    background: rgba(196, 137, 30, 0.4);
  }

  .step:nth-child(odd)::after {
    right: 0;
  }

  .step:nth-child(even)::after {
    left: 0;
  }
}

@media (min-width: 1024px) {
  .step-number {
    font-size: 80px;
  }

  .step::after {
    top: 40px;
  }
}

/* -----------------------------------------------------------------
   14. ABOUT
----------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}

.about-body p {
  color: var(--color-text-muted);
  font-size: 17px;
  margin-bottom: var(--space-3);
}

.about {
  position: relative;
  background: var(--color-bg-deep);
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-accent), transparent);
  opacity: 0.5;
  z-index: 2;
}

/* Desktop only: About pins while FAQs slides over it. */
@media (min-width: 1024px) {
  .about {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: var(--space-5);
    z-index: 2;
    box-shadow: 0 -40px 80px -20px rgba(0, 0, 0, 0.5);
  }

  .about > .container {
    width: 100%;
  }

  .faqs {
    position: relative;
    z-index: 3;
    background-color: var(--color-bg);
    box-shadow: 0 -40px 80px -20px rgba(0, 0, 0, 0.5);
  }
}

.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-strong);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.about-visual-inner {
  position: absolute;
  inset: 0;
  background-color: #102240;
  background-image:
    var(--noise-fine),
    radial-gradient(circle 300px at 30% 20%, rgba(232, 184, 104, 0.35), transparent 60%),
    radial-gradient(circle 250px at 80% 80%, rgba(196, 137, 30, 0.2), transparent 60%),
    radial-gradient(circle 200px at 70% 30%, rgba(30, 58, 102, 0.5), transparent 70%),
    linear-gradient(135deg, #1E3A66, #050F25);
  background-blend-mode: soft-light, normal, normal, normal, normal;
  background-size: 200px 200px, auto, auto, auto, auto;
}

.about-visual-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 15, 37, 0.6));
}

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

/* -----------------------------------------------------------------
   15. FAQS
----------------------------------------------------------------- */
.faq-list {
  max-width: 1100px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 400;
  color: var(--color-text);
  list-style: none;
  transition: color var(--transition);
}

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

.faq-item summary:hover {
  color: var(--color-accent-bright);
}

.faq-item summary > span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.faq-item summary:hover > span {
  transform: translateX(6px);
}

.faq-item[open] > summary {
  color: var(--color-accent);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 0 var(--space-3);
  color: var(--color-text-muted);
}

.faq-content p {
  max-width: none;
}

.faq-content p {
  margin: 0;
}

/* -----------------------------------------------------------------
   16. FOOTER
----------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-6);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-accent), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-legal a {
  position: relative;
  color: var(--color-text-muted);
  padding-bottom: 2px;
}

.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
  transition: width 0.4s var(--ease);
}

.footer-legal a:hover {
  color: var(--color-accent-bright);
}

.footer-legal a:hover::after {
  width: 100%;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-subtle);
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr auto 1fr;
    text-align: left;
  }
  .footer-copy {
    text-align: right;
  }
}

/* -----------------------------------------------------------------
   17. STICKY MOBILE CTA
----------------------------------------------------------------- */
.sticky-cta {
  display: none;
}

@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: calc(16px + var(--safe-bottom));
    left: 16px;
    right: 16px;
    z-index: 100;
    background: var(--gradient-metal);
    color: var(--color-bg);
    padding: 16px 24px;
    min-height: 56px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 500;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow:
      0 10px 26px rgba(196, 137, 30, 0.28),
      0 4px 12px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 240, 200, 0.2);
    transition: transform var(--transition), opacity var(--transition);
  }

  .sticky-cta:hover {
    color: var(--color-bg);
  }

  .sticky-cta[data-hidden="true"] {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
  }

  .sticky-cta:active {
    transform: scale(0.97);
  }

  .sticky-cta::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 1px solid rgba(232, 184, 104, 0.4);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
  }

  .sticky-cta:hover::after {
    opacity: 1;
  }

  body {
    padding-bottom: 88px;
  }
}

/* -----------------------------------------------------------------
   18. ANIMATIONS
----------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}

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

@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;
  }

  .testimonial-card--skeleton {
    animation: none;
  }
}
