/* Lendia Homepage — Enterprise Fintech Redesign */

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

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

:root {
  /* Brand */
  --navy: #002652;
  --navy-d: #061627;
  --navy-deep: #03101E;
  --blue: #528CD6;
  --blue-deep: #2B60B8;
  --sky: #A3D4E8;
  --sky-light: #E7F0F7;
  --coral: #F26649;
  --coral-d: #E55636;

  /* Text */
  --ink: #0A1A2E;
  --ink-2: #1F3355;
  --muted: #5E7490;
  --muted-2: #8FA2B8;
  --line: #E6ECF2;
  --line-2: #F0F4F8;
  --bg: #FFFFFF;
  --bg-soft: #FAFBFD;
  --bg-tint: #F4F8FB;

  /* Overlays */
  --scrim: rgba(5, 38, 73, 0.55);    /* Modal/sheet backdrop. Base #052649 @ 55%. */

  /* Dark surfaces */
  --on-dark: rgba(255,255,255,0.92);
  --on-dark-mute: rgba(255,255,255,0.56);
  --on-dark-dim: rgba(255,255,255,0.38);
  --on-dark-line: rgba(255,255,255,0.10);
  --on-dark-line-2: rgba(255,255,255,0.06);

  /* Success/warn */
  --green: #10B981;
  --green-soft: rgba(16,185,129,0.14);

  /* Fonts */
  --font-d: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10,26,46,0.04), 0 1px 1px rgba(10,26,46,0.02);
  --shadow-md: 0 4px 12px rgba(10,26,46,0.06), 0 1px 3px rgba(10,26,46,0.04);
  --shadow-lg: 0 20px 50px rgba(10,26,46,0.10), 0 8px 20px rgba(10,26,46,0.05);
  --shadow-hero: 0 40px 80px rgba(3,16,30,0.35), 0 12px 30px rgba(3,16,30,0.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
  line-height: 1.5;
  overflow-x: hidden;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ──────────────────────────────────────── NAV */
.nav-wrap {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(10,26,46,0.06);
}
.nav {
  max-width: 1280px; margin: 0 auto;
  height: 56px; padding: 0 32px;
  display: flex; align-items: center; gap: 36px;
}
.nav-cta {
  font-family: var(--font-d);
  font-size: 13px; font-weight: 600;
  color: white; background: var(--navy);
  padding: 8px 14px; border-radius: 8px;
  display: inline-flex; align-items: center;
  transition: background 140ms ease;
}
.nav-cta:hover { background: var(--navy-d); }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 22px; display: block; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-link {
  font-family: var(--font-d);
  font-size: 14px; font-weight: 500;
  color: var(--ink-2); padding: 0 12px; border-radius: 8px;
  height: 40px; line-height: 1;
  display: inline-flex; align-items: center; gap: 4px;
  transition: background 140ms ease, color 140ms ease;
}
.nav-link:hover { background: var(--bg-tint); color: var(--ink); }
.nav-link .chev { width: 10px; height: 10px; opacity: 0.5; }
.nav-actions { display: flex; align-items: center; gap: 13px; }
.nav-lang {
  display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 8px; padding: 2px; font-size: 12px; font-weight: 600;
  font-family: var(--font-d);
}
.nav-lang button {
  padding: 3px 10px; border-radius: 6px; color: var(--muted);
  background: transparent;
  transition: background 120ms, color 120ms;
}
.nav-lang button:focus { outline: none; }
.nav-lang button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.nav-lang button:not(.on):hover { color: var(--ink); background: rgba(0,0,0,0.04); }
.nav-lang button.on { background: var(--navy); color: white; }
.nav-login {
  font-family: var(--font-d); font-size: 14px; font-weight: 600;
  color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px; border-radius: 8px;
  height: 40px; line-height: 1;
  line-height: 1;
  transition: background 120ms, color 120ms;
}
.nav-login:hover {
  background: linear-gradient(135deg, #EEF3F8 0%, #DCE7F2 100%);
  color: var(--ink-2);
}
.nav-cta {
  font-family: var(--font-d); font-size: 14px; font-weight: 600;
  background: var(--navy); color: white;
  padding: 0 14px; border-radius: 8px;
  height: 40px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 140ms ease, transform 140ms ease;
}
.nav-cta:hover { background: var(--navy-d); }

/* ──────────────────────────────────────── HERO (light, centered) */
body { background: #FFFFFF; }
.hero-stage {
  position: relative;
  /* Height is computed at runtime: sticky-content + scroll runway.
     Default while JS warms up. */
  min-height: 100vh;
}
.hero-sticky {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
}
.hero {
  position: relative;
  background: #FBFAF7;
  color: var(--ink);
  overflow: hidden;
  padding: 28px 32px 0;
  margin: 0 20px;
  border-radius: 28px;
}
.hero-inner {
  opacity: max(0, calc(1 - var(--hero-progress, 0) * 1.6));
  transform: translateY(calc(var(--hero-progress, 0) * -30px));
  transition: opacity 80ms linear, transform 80ms linear;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 95%, rgba(43,96,184,0.55) 0%, rgba(43,96,184,0) 60%),
    radial-gradient(ellipse 60% 50% at 25% 70%, rgba(82,140,214,0.45) 0%, rgba(82,140,214,0) 55%),
    radial-gradient(ellipse 60% 50% at 80% 75%, rgba(43,96,184,0.40) 0%, rgba(43,96,184,0) 55%),
    linear-gradient(180deg, #FBFCFE 0%, #DCE8F5 55%, #A8C2DF 100%);
}
.hero::after {
  content: none;
}

/* Hero dark variant — strong directional gradient, premium fintech */
.hero.hero-dark {
  background: #050E1B;
  color: var(--on-dark);
  /* Mouse-driven offsets (-1..1) — set by Hero JS, default 0 */
  --hero-mx: 0;
  --hero-my: 0;
  /* 0 when idle, ~1 when mouse is moving over the hero — boosts brightness */
  --hero-active: 0;
}
.hero.hero-dark .hero-bg {
  /* Base diagonal navy — blobs sit on top of this */
  background: linear-gradient(135deg, #03101E 0%, #0A1F3A 60%, #143A6B 100%);
  overflow: hidden;
}
/* ── Mesh gradient blobs — soft, slow, mouse-aware ───────────────── */
.hero.hero-dark .mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
  pointer-events: none;
  transition: opacity 1200ms ease-out;
}
.hero.hero-dark .mesh-blob.b1 {
  /* Sky blue — upper right, drifts visibly */
  top: -15%; right: -15%;
  width: 70%; height: 80%;
  background: radial-gradient(circle, rgba(163,212,232,0.55) 0%, rgba(82,140,214,0.20) 45%, rgba(163,212,232,0) 75%);
  opacity: calc(0.55 + var(--hero-active) * 0.08);
  animation: meshDrift1 18s ease-in-out infinite;
  transform:
    translate(calc(var(--hero-mx) * 10px), calc(var(--hero-my) * 8px));
}
.hero.hero-dark .mesh-blob.b2 {
  /* Mid-navy glow — lower left, lifts the dark corner */
  bottom: -20%; left: -12%;
  width: 70%; height: 80%;
  background: radial-gradient(circle, rgba(82,140,214,0.42) 0%, rgba(43,96,184,0.20) 45%, rgba(82,140,214,0) 75%);
  opacity: calc(0.55 + var(--hero-active) * 0.08);
  animation: meshDrift2 22s ease-in-out infinite;
  transform:
    translate(calc(var(--hero-mx) * -12px), calc(var(--hero-my) * -10px));
}
.hero.hero-dark .mesh-blob.b3 {
  /* Mid-tone royal navy — center-right, large and soft */
  top: 15%; left: 30%;
  width: 60%; height: 70%;
  background: radial-gradient(circle, rgba(43,96,184,0.50) 0%, rgba(43,96,184,0.18) 50%, rgba(43,96,184,0) 75%);
  opacity: calc(0.5 + var(--hero-active) * 0.08);
  animation: meshDrift3 20s ease-in-out infinite;
  transform:
    translate(calc(var(--hero-mx) * 8px), calc(var(--hero-my) * 12px));
}
.hero.hero-dark .mesh-blob.b4 {
  /* Soft white-ish highlight — drifts top-left, very faint */
  top: -10%; left: 0%;
  width: 50%; height: 55%;
  background: radial-gradient(circle, rgba(220,235,250,0.18) 0%, rgba(220,235,250,0.05) 50%, rgba(220,235,250,0) 75%);
  opacity: calc(0.35 + var(--hero-active) * 0.10);
  animation: meshDrift4 24s ease-in-out infinite;
  transform:
    translate(calc(var(--hero-mx) * -8px), calc(var(--hero-my) * 6px));
}
/* Cursor spotlight — large, soft, multi-layered glow that lifts the area
   around the cursor without ever reading as a hard disc. Two stacked
   radials at different sizes + heavy blur = diffused illumination. */
.hero.hero-dark .mesh-spotlight {
  position: absolute;
  inset: -25%;
  pointer-events: none;
  filter: blur(60px);
  background:
    radial-gradient(
      circle 500px at var(--hero-spot-x, 50%) var(--hero-spot-y, 50%),
      rgba(82,140,214,0.32) 0%,
      rgba(82,140,214,0.14) 35%,
      rgba(82,140,214,0) 65%
    ),
    radial-gradient(
      circle 900px at var(--hero-spot-x, 50%) var(--hero-spot-y, 50%),
      rgba(43,96,184,0.18) 0%,
      rgba(43,96,184,0.07) 45%,
      rgba(43,96,184,0) 70%
    );
  opacity: calc(0.5 + var(--hero-active) * 0.7);
  transition: opacity 900ms ease-out;
}

/* Idle drift — large excursions on slow cycles so motion is clearly visible
   without the mouse, but still calm. Each blob takes a different path. */
@keyframes meshDrift1 {
  0%   { translate: 0 0; }
  25%  { translate: -22% 18%; }
  50%  { translate: -8% 28%; }
  75%  { translate: 18% 8%; }
  100% { translate: 0 0; }
}
@keyframes meshDrift2 {
  0%   { translate: 0 0; }
  25%  { translate: 24% -14%; }
  50%  { translate: 10% -26%; }
  75%  { translate: -16% -10%; }
  100% { translate: 0 0; }
}
@keyframes meshDrift3 {
  0%   { translate: 0 0; }
  25%  { translate: -20% -16%; }
  50%  { translate: 14% -22%; }
  75%  { translate: 22% 14%; }
  100% { translate: 0 0; }
}
@keyframes meshDrift4 {
  0%   { translate: 0 0; }
  25%  { translate: 22% 16%; }
  50%  { translate: -10% 24%; }
  75%  { translate: -20% -8%; }
  100% { translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.hero-dark .mesh-blob { animation: none !important; }
}
.hero.hero-dark::before {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 100% 90% at 50% 50%, transparent 70%, rgba(0,0,0,0.20) 100%);
}
.hero.hero-dark::after {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 1.5px);
  background-size: 3px 3px;
}
.hero.hero-dark h1 { color: #FFFFFF; }
.hero-h1-accent {
  background: linear-gradient(180deg, #FFFFFF 0%, #A3D4E8 55%, #528CD6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero.hero-dark .hero-sub { color: rgba(255,255,255,0.72); }
.hero.hero-dark .hero-eyebrow {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* Primary CTA — solid #3361AE pill with diffused mouse-tracked highlight */
.hero.hero-dark .btn-primary.hero-cta-primary {
  position: relative;
  isolation: isolate;
  background: #3361AE;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 12px 28px -8px rgba(3,16,30,0.45),
    0 4px 10px -2px rgba(3,16,30,0.25);
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 220ms ease;
}
.hero.hero-dark .btn-primary.hero-cta-primary > * { position: relative; z-index: 2; }
/* Diffused highlight at cursor — large soft radial, peak color #A0BEED */
.hero.hero-dark .btn-primary.hero-cta-primary::before {
  content: '';
  position: absolute;
  inset: -50%;
  z-index: 1;
  border-radius: 50%;
  filter: blur(30px);
  background: radial-gradient(
    circle 220px at var(--mx, 50%) var(--my, 50%),
    rgba(160,190,237,0.90) 0%,
    rgba(160,190,237,0.45) 25%,
    rgba(160,190,237,0.18) 55%,
    rgba(160,190,237,0) 80%
  );
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.hero.hero-dark .btn-primary.hero-cta-primary:hover::before { opacity: 1; }
.hero.hero-dark .btn-primary.hero-cta-primary,
.hero.hero-dark .btn-primary.hero-cta-primary:hover,
.hero.hero-dark .btn-primary.hero-cta-primary:active {
  transform: none;
}
.hero.hero-dark .btn-primary.hero-cta-primary:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 16px 32px -8px rgba(3,16,30,0.55),
    0 6px 14px -2px rgba(3,16,30,0.35);
}
/* Secondary ghost — translucent pill, white border */
.hero.hero-dark .btn-ghost-dark {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.30);
  color: #FFFFFF;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero.hero-dark .btn-ghost-dark:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.45);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1080px; margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-ui);
  font-size: 11.5px; font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 28px;
  letter-spacing: 0.12em;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 8px 20px -8px rgba(10,26,46,0.12);
  border: 1px solid rgba(10,26,46,0.04);
}
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 980px;
  margin: 0 auto 22px;
  text-wrap: balance;
  white-space: pre-line;
}
.hero-sub {
  font-family: var(--font-d);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  color: rgba(10,26,46,0.62);
  line-height: 1.55;
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-actions .btn-primary { display: inline-flex; align-items: center; gap: 8px; }
.hero-disclaimer {
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin: 12px 0 0;
}
.btn-primary {
  font-family: var(--font-d);
  font-size: 15px; font-weight: 600;
  background: var(--ink);
  color: white;
  padding: 14px 28px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 10px 24px -6px rgba(10,26,46,0.35);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.btn-primary.btn-pill { border-radius: 999px; padding: 14px 32px; }
.btn-primary:hover { background: #061627; transform: translateY(-1px); }
.btn-ghost-dark {
  font-family: var(--font-d);
  font-size: 15px; font-weight: 500;
  background: rgba(255,255,255,0.04);
  color: white;
  padding: 13px 22px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 140ms, border-color 140ms;
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.24); }

/* ──────────────────────────────────────── HERO PRODUCT SHOWCASE
   Centered iframe under hero copy. Becomes sticky during the
   scroll past it (height = 180vh) so it pins to the top of the
   viewport once, while the JS swaps screen → SAT.
   ──────────────────────────────────────────────────────────────*/
.hero-showcase {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 8px auto 0;
  padding: 0 32px 0;
  perspective: 2000px;
  /* No clipping here — the framed mock slides up as one unit into the
     text area as it fades. The hero card itself clips the overflow. */
}
.showcase-sticky {
  width: 100%;
}
.showcase-frame {
  /* Bezel padding scales with viewport so frame:mock proportion stays
     constant from desktop (1240px showcase) down to mobile (~310px).
     At ≥1400vw caps at 14px; at ~390vw drops to ~3.9px (≈1.1% of
     showcase width either way). Same for border-radius. */
  border-radius: clamp(5px, 1.6vw, 22px);
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.7);
  padding: clamp(3px, 1vw, 14px);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 30px 80px -24px rgba(10,26,46,0.22);
  width: 100%;
  /* The framed mock rises as a whole into the space the fading text
     leaves behind. No internal scrolling — frame + content move together. */
  transform: translateY(calc(var(--hero-progress, 0) * -560px));
  transition: transform 80ms linear;
  will-change: transform;
}
.showcase-inner {
  background: #FFFFFF;
  /* Inner card radius also scales (12px desktop → ~3px mobile),
     keeping the corner-radius:size ratio constant. */
  border-radius: clamp(3px, 0.85vw, 12px);
  overflow: hidden;
  border: 1px solid rgba(19,43,82,0.06);
  position: relative;
  /* Height tracks the scaled iframe so nothing is clipped vertically.
     Width still fills the column. Aspect ratio: 1440 × 900 → scaled. */
  aspect-ratio: 1440 / 900;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 140px);
}
.showcase-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 900px;
  border: 0;
  display: block;
  /* Scale so the 1440px iframe fits the container width exactly.
     Computed at runtime via JS so the BPM is never cropped. */
  transform-origin: top left;
  pointer-events: none;
}
@media (max-width: 899px) {
  .hero-showcase { height: auto; padding-bottom: 0; max-height: 280px; }
  .showcase-sticky { position: relative; top: auto; }
  .showcase-inner { max-height: none; }
}
@media (max-width: 899px) {
  /* Mockup card on mobile: keep the desktop bezel chrome intact and
     let it grow to its natural aspect ratio inside the hero's padded
     content area. No bleed — width matches the other hero children so
     eyebrow, headline, sub, CTAs and mockup share the same left/right
     vertical lines. */
  .hero-showcase {
    max-height: none;
    /* Mockup container size: 132% → 112% (−15% from previous pass). */
    width: 112%;
    margin-inline: -6%;
    max-width: none;
    margin-top: 18px;
    /* C4. Bezel shadow softened −40% — less halo around the mockup. */
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.21),
      0 2px 8px rgba(0, 0, 0, 0.11);
    border-radius: 4px;
  }
  /* Inner mock card: tighter radius (40% smaller than 6px → 4px), no
     border — the bezel chrome reads as a subtle edge, not a frame.
     NOTE: the desktop rule now uses clamp() that already drops to 3px
     at mobile, so this override is intentionally a no-op for radius and
     only clears the 1px navy outline. */
  .showcase-inner {
    border-width: 0;
  }
}

/* ──────────────────────────────────────── TRUST BAR */
.trust {
  background: var(--bg);
  padding: 44px 32px;
}
.trust-inner {
  max-width: 1280px; margin: 0 auto;
  display: block;
}
.trust-label {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
  max-width: 200px;
  line-height: 1.6;
}
.trust-logos {
  display: flex; flex-wrap: wrap; gap: 44px; align-items: center; justify-content: flex-end;
}
.trust-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0, black 60px, black calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 60px, black calc(100% - 60px), transparent 100%);
}
.trust-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: trustScroll 70s linear infinite;
}
.trust-marquee:hover .trust-marquee-track { animation-play-state: paused; }
@keyframes trustScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 28px)); }
}
.trust-logo-img {
  width: auto;
  opacity: 0.68;
  filter: grayscale(1) brightness(0.85);
  flex-shrink: 0;
  transition: opacity 180ms ease, filter 180ms ease;
}
.trust-logo-img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}
.trust-logo {
  font-family: var(--font-d);
  font-size: 19px; font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 6px;
}

/* ──────────────────────────────────────── SECTION */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px;
}
.section-tight { padding: 88px 32px; }
.section-header { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.section-header.left { text-align: left; margin: 0 0 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px; font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 16px; height: 1px; background: var(--blue-deep); }
.section-title {
  font-family: var(--font-d);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-sub {
  font-family: var(--font-d);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
}
.section-header.left .section-sub { margin: 0; }

/* ──────────────────────────────────────── METRICS STRIP */
.metrics {
  background: var(--navy-deep);
  color: white;
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}
.metrics::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(82,140,214,0.15), transparent 60%);
}
.metrics-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.metrics-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end;
  margin-bottom: 56px;
}
.metrics-head h2 {
  font-family: var(--font-d);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
}
.metrics-head p {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.metrics-grid-3 { grid-template-columns: repeat(3, 1fr); }
.metric {
  padding: 36px 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.metric:last-child { border-right: none; }
.metric-value {
  font-family: var(--font-d);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 2px;
}
.metric-value .unit { font-size: 0.55em; color: var(--sky); margin-left: 4px; font-weight: 400; }
.metric-value .plus { font-size: 0.55em; color: var(--sky); font-weight: 400; }
.metric-value .neg { color: var(--coral); font-weight: 300; margin-right: 2px; }
.metric-impact .metric-value { font-size: clamp(56px, 6vw, 96px); letter-spacing: -0.04em; }
.metric-impact .metric-value .unit { font-size: 0.45em; }
.metric-impact { padding: 56px 32px 48px; }
.metric-label {
  font-family: var(--font-d);
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.62);
  line-height: 1.4;
  max-width: 220px;
}

/* ──────────────────────────────────────── PRODUCT WALKTHROUGH */
.walkthrough { background: var(--bg-soft); position: relative; }
.wt-pin-stage { position: relative; }
.wt-pin-sticky {
  position: sticky;
  top: 0;
  background: var(--bg-soft);
  z-index: 1;
}
.walkthrough .section { padding: 88px 32px; }
.wt-pin-sticky > .section:first-child { padding-bottom: 16px; }
.wt-pin-sticky > .section + .section { padding-top: 0; padding-bottom: 56px; }
.wt-grid {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
  align-items: start;
}
.wt-steps { position: relative; }
.wt-step {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  padding-left: 28px;
  transition: opacity 200ms;
  opacity: 0.45;
}
.wt-step:last-child { border-bottom: none; }
.wt-step.active { opacity: 1; }
.wt-step::before {
  content: '';
  position: absolute; left: 0; top: 26px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--muted-2);
  background: white;
  transition: border-color 200ms, background 200ms;
}
.wt-step.active::before { border-color: var(--coral); background: var(--coral); box-shadow: 0 0 0 4px rgba(242,102,73,0.15); }
.wt-step::after {
  content: '';
  position: absolute; left: 6px; top: 40px; bottom: -5px;
  width: 2px;
  background: var(--line);
}
.wt-step:last-child::after { display: none; }
.wt-step-num {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.wt-step-title {
  font-family: var(--font-d);
  font-size: 20px; font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.wt-step-desc {
  font-family: var(--font-d);
  font-size: 14px; font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}
.wt-progress {
  position: absolute; left: 6px; top: 40px; bottom: 0;
  width: 2px;
  background: var(--coral);
  transform-origin: top;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.wt-viewport {
  position: relative;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  aspect-ratio: 1440 / 900;
  width: 100%;
  height: auto;
  max-height: none;
}
/* Same glass frame as the hero mock */
.wt-frame {
  border-radius: 22px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.7);
  padding: 14px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 30px 80px -24px rgba(10,26,46,0.22);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.wt-frame-inner {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(19,43,82,0.06);
  position: relative;
  width: 100%;
  height: 100%;
}
.wt-img-slot {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(19,43,82,0.04) 0 12px, rgba(19,43,82,0.06) 12px 24px);
  opacity: 0;
  transition: opacity 280ms ease;
}
.wt-img-slot.active { opacity: 1; }
.wt-img-placeholder {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(19,43,82,0.55);
  padding: 10px 18px;
  border: 1px dashed rgba(19,43,82,0.25);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
.wt-scene {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 300ms ease;
}
.wt-scene.active { opacity: 1; }

/* ──────────────────────────────────────── PRODUCTS */
.products {
  background: #03101E;
  color: white;
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.products::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(82,140,214,0.15), transparent 60%);
}
.products-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.product-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(163,212,232,0.35);
  border-radius: 18px;
  padding: 28px 24px 24px;
  min-height: 320px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 220ms, background 220ms, transform 220ms, box-shadow 220ms;
}
.product-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 0% 0%, rgba(163,212,232,0.14), transparent 60%);
  opacity: 1; transition: opacity 220ms, background 220ms;
  pointer-events: none;
}
.product-card:hover::before {
  background: radial-gradient(520px 240px at 0% 0%, rgba(242,102,73,0.18), transparent 60%);
  opacity: 1;
}
.product-card::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F26649, transparent);
  opacity: 0; transition: opacity 220ms;
  pointer-events: none;
}
.product-card:hover {
  background: linear-gradient(180deg, rgba(82,140,214,0.20), rgba(82,140,214,0.05));
  border-color: rgba(242,102,73,0.45);
  box-shadow: 0 0 0 1px rgba(242,102,73,0.15) inset, 0 12px 40px -20px rgba(242,102,73,0.45);
  transform: translateY(-2px);
}
.product-card:hover::after { opacity: 1; }
.product-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(163,212,232,0.10);
  border: 1px solid rgba(163,212,232,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  color: var(--sky);
}
.product-card:hover .product-icon {
  background: rgba(242,102,73,0.14);
  border-color: rgba(242,102,73,0.32);
  color: #FF9B7A;
}
.product-name {
  font-family: var(--font-d);
  font-size: 22px; font-weight: 400;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.product-desc {
  font-family: var(--font-d);
  font-size: 13.5px; font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  min-height: 60px;
}
.product-meta {
  display: flex; gap: 14px; align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-ui);
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.5);
}
.product-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(242,102,73,0.14); color: #FF9B7A;
  font-family: var(--font-ui);
}
.product-badge.soon {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5);
}

/* products grid 4 columns */
.products-grid.products-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* card head: icon + index number */
.product-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
}
.product-card-head .product-icon {
  margin-bottom: 0;
}
.product-num {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.32);
  font-variant-numeric: tabular-nums;
}

/* subproduct chips */
.product-items {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: flex; flex-direction: column; gap: 0;
  flex: 1;
}
.product-item {
  font-family: var(--font-d);
  font-size: 13px; font-weight: 300;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.78);
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  position: relative;
}
.product-item::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 1px;
  background: rgba(163,212,232,0.55);
  transform: translateY(-50%);
}
.product-item:last-child { border-bottom: none; }
.product-card:hover .product-item {
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.10);
}
.product-card:hover .product-item::before {
  background: #FF9B7A;
  width: 8px;
}

/* Product family axes (binary attribute pairs) — same look on dark card */
.product-axes {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-direction: column; gap: 0;
  flex: 1;
}
.product-axis {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-axis:first-child { padding-top: 6px; }
.product-axis:last-child { border-bottom: none; padding-bottom: 0; }
.product-axis-label {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 8px;
}
.product-axis-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  font-family: var(--font-d);
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  letter-spacing: -0.005em;
}
.product-axis-val { white-space: normal; line-height: 1.25; }
.product-axis-val.b { text-align: right; }
.product-axis-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(163,212,232,0.45);
  display: inline-block;
}
.product-card:hover .product-axis {
  border-color: rgba(255,255,255,0.10);
}
.product-card:hover .product-axis-row {
  color: rgba(255,255,255,0.95);
}
.product-card:hover .product-axis-sep {
  background: #FF9B7A;
}

.product-meta-text {
  color: rgba(255,255,255,0.45);
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
}
.product-count {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.42);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* products foot — extensibility row */
.products-foot {
  margin-top: 56px;
  padding-top: 40px;
  position: relative;
}
.products-foot-rule {
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.10) 20%, rgba(255,255,255,0.10) 80%, transparent 100%);
}
.products-foot-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.products-foot-block {
  display: flex; flex-direction: column;
}
.products-foot-num {
  font-family: var(--font-d);
  font-size: 44px; font-weight: 300;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.products-foot-cap {
  font-family: var(--font-d);
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  max-width: 180px;
  line-height: 1.4;
}
.products-foot-block--cta {
  border-left: 1px solid rgba(255,255,255,0.10);
  padding-left: 56px;
  align-self: stretch;
  justify-content: center;
}
.products-foot-eye {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  color: var(--sky);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 8px;
}
.products-foot-line {
  font-family: var(--font-d);
  font-size: 18px; font-weight: 400;
  color: white;
  letter-spacing: -0.01em;
  line-height: 1.4;
  max-width: 540px;
}
.products-foot-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 500;
  color: var(--sky);
  text-decoration: none;
  width: fit-content;
  transition: gap 200ms;
}
.products-foot-link:hover { gap: 10px; }
.products-foot-link svg { transition: transform 200ms; }

@media (max-width: 899px) {
  .products-grid.products-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .products-foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .products-foot-block--cta { border-left: none; padding-left: 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.10); }
}
@media (max-width: 899px) {
  .products-foot-grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────── FEATURES BENTO */
.bento {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 64px;
}
.b-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms, transform 200ms;
}
.b-card:hover { border-color: #BAD7E9; transform: translateY(-2px); }
.b-title {
  font-family: var(--font-d);
  font-size: 22px; font-weight: 500;
  color: var(--ink); letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.b-desc {
  font-family: var(--font-d);
  font-size: 14px; font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  max-width: 380px;
}
.b-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--sky-light);
  color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.b-big { grid-column: span 4; padding: 40px; min-height: 340px; }
.b-small { grid-column: span 2; min-height: 340px; }
.b-wide { grid-column: span 3; min-height: 280px; }
.b-card.dark {
  background: linear-gradient(160deg, #0A1F3A 0%, #061627 100%);
  border-color: rgba(255,255,255,0.08);
}
.b-card.dark .b-title { color: white; }
.b-card.dark .b-desc { color: rgba(255,255,255,0.6); }
.b-card.dark .b-icon { background: rgba(163,212,232,0.12); color: var(--sky); }

/* ──────────────────────────────────────── TESTIMONIAL */
.testimonial {
  background: linear-gradient(135deg, #03101E 0%, #0A1F3A 60%, #143A6B 100%);
  padding: 120px 32px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.testimonial::before {
  content: ''; position: absolute;
  right: -120px; top: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163,212,232,0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.testimonial::after {
  content: ''; position: absolute;
  left: -100px; bottom: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,102,73,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.testimonial-inner {
  max-width: 1080px; margin: 0 auto;
  display: block;
  text-align: left;
  position: relative;
  z-index: 1;
}
.testimonial-quote {
  font-family: var(--font-d);
  font-size: clamp(24px, 2.4vw, 34px);
  white-space: pre-line;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.testimonial-quote::before {
  /* Left curly double-quote (U+201C). Use the CSS unicode-escape form
     so the glyph survives any encoding mismatch between the HTML doc
     and this stylesheet — without it, a non-UTF-8 fetch renders the raw
     bytes as the 3-char mojibake "â€œ". */
  content: '\201C';
  font-size: 80px;
  color: var(--sky);
  line-height: 0;
  position: relative;
  top: 16px;
  margin-right: 4px;
  font-family: Georgia, serif;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
}
.ta-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-family: var(--font-d); font-weight: 600; font-size: 17px;
}
.ta-name { font-family: var(--font-d); font-weight: 500; font-size: 15px; color: #FFFFFF; }
.ta-role { font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.55); }

/* Testimonial carousel */
.testimonial-left { position: relative; }
.testimonial-slides {
  position: relative;
  display: grid;
  /* All slides share the same cell so we can crossfade */
}
.testimonial-slide {
  grid-column: 1; grid-row: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 480ms cubic-bezier(0.4,0,0.2,1), transform 480ms cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.testimonial-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.testimonial-controls {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
}
.t-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  padding: 0;
}
.t-arrow:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.42);
  color: #FFFFFF;
}
.t-dots { display: flex; align-items: center; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.22);
  padding: 0; cursor: pointer;
  transition: background 200ms ease, width 240ms cubic-bezier(0.4,0,0.2,1);
}
.t-dot:hover { background: rgba(255,255,255,0.45); }
.t-dot.on {
  background: var(--sky);
  width: 22px;
  border-radius: 999px;
}

.testimonial-stats { display: flex; flex-direction: column; gap: 24px; }
.ts-card {
  background: white;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.ts-value {
  font-family: var(--font-d);
  font-size: 40px; font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.ts-label {
  font-family: var(--font-d);
  font-size: 14px; font-weight: 300;
  color: var(--muted);
}

/* ──────────────────────────────────────── CTA BANNER */
.final-cta {
  padding: 120px 32px;
  background: var(--bg);
}
.final-cta-inner {
  max-width: 1280px; margin: 0 auto;
  background: linear-gradient(135deg, #03101E 0%, #0A1F3A 60%, #143A6B 100%);
  border-radius: 24px;
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
  display: grid; grid-template-columns: 1.3fr auto;
  gap: 48px; align-items: center;
}
.final-cta-inner::before {
  content: ''; position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(163,212,232,0.18), transparent 60%);
}
.final-cta-inner::after {
  content: ''; position: absolute;
  left: -80px; bottom: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(242,102,73,0.12), transparent 60%);
}
.final-cta-content { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--font-d);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  max-width: 620px;
}
.final-cta p {
  font-family: var(--font-d);
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.5;
}
.final-cta-actions {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
}
.final-cta-actions .hint {
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  margin-top: 4px;
}

/* ──────────────────────────────────────── FOOTER */
footer {
  background: #020A13;
  color: white;
  padding: 80px 32px 36px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 24px; margin-bottom: 20px; }
.footer-tag {
  font-family: var(--font-d);
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-contact {
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.footer-social {
  display: flex; gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.65);
  transition: color 120ms, background 120ms, border-color 120ms;
}
.footer-social a:hover {
  color: white;
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-family: var(--font-d);
  font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.7);
  padding: 5px 0;
  transition: color 120ms;
}
.footer-col a:hover { color: white; }
.footer-assoc {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-assoc h4 {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin: 0 0 12px;
}
.footer-assoc-logo {
  display: inline-flex; align-items: center;
  opacity: 0.85;
  transition: opacity 120ms;
}
.footer-assoc-logo:hover { opacity: 1; }
.footer-assoc-logo img {
  height: 36px; width: auto;
  display: block;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-top: 32px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-badges { display: flex; gap: 16px; }
.footer-badge {
  padding: 6px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}


/* ──────────────────────────────────────── PROBLEM → SOLUTION */
.ps-section { background: var(--cream); padding: 56px 32px 120px; }
.ps-inner { max-width: 1280px; margin: 0 auto; }
.ps-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px;
  align-items: stretch;
}
.ps-col {
  padding: 40px 36px;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(11,28,54,0.08);
  display: flex; flex-direction: column;
}
.ps-col-problem {
  background: rgba(232,90,79,0.04);
  border-color: rgba(232,90,79,0.18);
}
.ps-col-solution {
  background: linear-gradient(160deg, var(--navy-deep) 0%, #0F2B5C 100%);
  border-color: var(--navy-deep);
  color: white;
  box-shadow: 0 24px 60px -20px rgba(11,28,54,0.35);
}
.ps-col-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--coral);
}
.ps-col-solution .ps-col-label { color: var(--sky); }
.ps-dot { width: 8px; height: 8px; border-radius: 50%; }
.ps-dot-problem { background: var(--coral); }
.ps-dot-solution { background: var(--sky); box-shadow: 0 0 0 4px rgba(82,140,214,0.2); }
.ps-col-title {
  font-family: var(--font-d);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500; line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
.ps-col-solution .ps-col-title { color: white; }
.ps-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ps-li {
  display: flex; gap: 12px; align-items: flex-start;
  font-family: var(--font-d); font-size: 16px; line-height: 1.5;
  color: var(--ink-2);
}
.ps-col-solution .ps-li { color: rgba(255,255,255,0.85); }
.ps-icon {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
}
.ps-li-problem .ps-icon { color: var(--coral); }
.ps-li-solution .ps-icon { color: var(--sky); }
.ps-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  width: 56px;
}

/* ──────────────────────────────────────── ATTRIBUTES (5 I's) */
.attrs { background: white; padding: 100px 32px; border-top: 1px solid rgba(11,28,54,0.06); }
.attrs-inner { max-width: 1280px; margin: 0 auto; }
.attrs-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(11,28,54,0.1);
}
.attr-card {
  padding: 32px 24px 28px;
  border-right: 1px solid rgba(11,28,54,0.1);
  border-bottom: 1px solid rgba(11,28,54,0.1);
  position: relative;
  transition: background 200ms;
}
.attr-card:last-child { border-right: none; }
.attr-card:hover { background: var(--cream); }
.attr-num {
  font-family: var(--font-d); font-size: 12px; font-weight: 500;
  color: var(--sky); letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.attr-name {
  font-family: var(--font-d);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500; letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.attr-desc {
  font-family: var(--font-d);
  font-size: 14px; line-height: 1.5;
  color: var(--ink-2);
}

/* ──────────────────────────────────────── PRODUCT MATRIX */
.pm-section { background: var(--cream); padding: 120px 32px; }
.pm-inner { max-width: 1280px; margin: 0 auto; }
.pm-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pm-col {
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(11,28,54,0.08);
  padding: 28px 24px;
  transition: transform 240ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 240ms;
}
.pm-col:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(11,28,54,0.18);
}
.pm-col-header {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(11,28,54,0.08);
  margin-bottom: 18px;
}
.pm-col-num {
  font-family: var(--font-d); font-size: 12px; font-weight: 500;
  color: var(--sky); letter-spacing: 0.1em;
}
.pm-col-title {
  font-family: var(--font-d);
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.pm-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pm-item {
  font-family: var(--font-d);
  font-size: 14px; line-height: 1.45;
  color: var(--ink-2);
  padding: 8px 12px;
  background: rgba(11,28,54,0.03);
  border-radius: 8px;
}

/* ──────────────────────────────────────── BUSINESS MODELS */
.bm-section { background: white; padding: 120px 32px; border-top: 1px solid rgba(11,28,54,0.06); }
.bm-inner { max-width: 1280px; margin: 0 auto; }
.bm-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bm-card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(11,28,54,0.1);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform 240ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 240ms, border-color 240ms;
  position: relative;
}
.bm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(11,28,54,0.18);
  border-color: rgba(82,140,214,0.4);
}
.bm-featured {
  background: linear-gradient(160deg, var(--navy-deep) 0%, #0F2B5C 100%);
  border-color: var(--navy-deep);
  color: white;
  box-shadow: 0 24px 60px -20px rgba(11,28,54,0.4);
}
.bm-tag {
  display: inline-block;
  font-family: var(--font-d); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}
.bm-featured .bm-tag { color: var(--sky); }
.bm-name {
  font-family: var(--font-d);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}
.bm-featured .bm-name { color: white; }
.bm-desc {
  font-family: var(--font-d);
  font-size: 15px; line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
  flex-grow: 1;
}
.bm-featured .bm-desc { color: rgba(255,255,255,0.78); }
.bm-meta {
  border-top: 1px solid rgba(11,28,54,0.08);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.bm-featured .bm-meta { border-top-color: rgba(255,255,255,0.15); }
.bm-meta-row {
  display: flex; flex-direction: column; gap: 2px;
}
.bm-meta-label {
  font-family: var(--font-d); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}
.bm-featured .bm-meta-label { color: rgba(255,255,255,0.5); }
.bm-meta-val {
  font-family: var(--font-d); font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.bm-featured .bm-meta-val { color: white; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1), transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Shimmer on hero product showcase tiles */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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


/* ──────────────────────────────────────── DEMO MODAL */
.dm-overlay {
  position: fixed; inset: 0;
  background: rgba(5, 18, 36, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: grid; place-items: center;
  /* respect notches + dynamic viewport on mobile */
  padding:
    max(24px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  overflow: hidden;
  animation: dm-fade 180ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes dm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dm-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dm-card {
  position: relative;
  width: min(100%, 520px);
  /* card never exceeds the visible area; it scrolls internally if needed */
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 36px 40px 32px;
  box-shadow:
    0 24px 60px rgba(5, 18, 36, 0.32),
    0 2px 0 rgba(255,255,255,0.6) inset;
  animation: dm-pop 240ms cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-d, 'Outfit'), system-ui, sans-serif;
}

.dm-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sky-light, #E7F0F7);
  color: var(--navy, #002652);
  border: 0;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}
.dm-close:hover { background: #D3E3EE; transform: rotate(90deg); }

.dm-logo {
  text-align: center;
  margin-bottom: 22px;
}
.dm-logo img { height: 36px; display: inline-block; }

.dm-title {
  font-family: var(--font-d, 'Outfit'), system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--navy, #002652);
  margin: 0 6px 14px;
  text-wrap: balance;
}
.dm-accent { color: var(--blue, #528CD6); }

.dm-sub {
  font-family: var(--font-d, 'Outfit'), system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: #4A6580;
  text-align: center;
  margin: 0 0 22px;
  text-wrap: pretty;
}

/* fields */
.dm-form { display: flex; flex-direction: column; gap: 12px; }

.dm-field {
  position: relative;
  display: block;
  background: #FFFFFF;
  border: 1px solid #D5E0EA;
  border-radius: 14px;
  padding: 12px 16px 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.dm-field:focus-within {
  border-color: var(--blue, #528CD6);
  box-shadow: 0 0 0 4px rgba(82, 140, 214, 0.14);
}
.dm-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy, #002652);
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 2px;
}
.dm-req {
  color: #F26649;
  margin-left: 2px;
  font-weight: 600;
}
.dm-field input,
.dm-field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy, #002652);
  padding: 0;
  line-height: 1.3;
  resize: none;
}
.dm-field textarea {
  min-height: 36px;
  font-weight: 400;
}
.dm-field input::placeholder,
.dm-field textarea::placeholder { color: #95A6B7; }

/* terms */
.dm-terms {
  text-align: center;
  font-size: 13px;
  color: #4A6580;
  margin: 16px 8px 4px;
  line-height: 1.45;
  text-wrap: pretty;
}
.dm-terms a {
  color: var(--blue, #528CD6);
  text-decoration: none;
  font-weight: 500;
}
.dm-terms a:hover { text-decoration: underline; }

/* submit — match hero CTA: solid #3361AE pill with soft inner highlight + arrow chip */
.dm-submit {
  position: relative;
  isolation: isolate;
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px 14px 30px;
  background: #3361AE;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 12px 28px -8px rgba(3,16,30,0.35),
    0 4px 10px -2px rgba(3,16,30,0.20);
  transition: box-shadow 220ms ease, background 160ms ease;
}
.dm-submit > * { position: relative; z-index: 2; }
.dm-submit::before {
  content: '';
  position: absolute;
  inset: -50%;
  z-index: 1;
  border-radius: 50%;
  filter: blur(30px);
  background: radial-gradient(
    circle 220px at 50% 50%,
    rgba(160,190,237,0.80) 0%,
    rgba(160,190,237,0.38) 25%,
    rgba(160,190,237,0.14) 55%,
    rgba(160,190,237,0) 80%
  );
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.dm-submit:hover::before { opacity: 1; }
.dm-submit:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 16px 32px -8px rgba(3,16,30,0.45),
    0 6px 14px -2px rgba(3,16,30,0.30);
}
.dm-submit:active { transform: translateY(0); }
.dm-submit-arrow {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);
  margin-left: 4px;
  margin-right: -10px;
}

/* success */
.dm-success { text-align: center; padding: 8px 0 4px; }
.dm-success-check {
  width: 64px; height: 64px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: #E0FAF1;
  color: #01A388;
  display: grid; place-items: center;
}
.dm-success .dm-title { margin-bottom: 8px; }
.dm-success .dm-sub { margin-bottom: 8px; }

/* responsive — narrow phones */
@media (max-width: 899px) {
  .dm-card { padding: 26px 20px 22px; border-radius: 22px; }
  .dm-title { font-size: 22px; margin: 0 2px 12px; }
  .dm-sub { font-size: 14px; margin: 0 0 18px; }
  .dm-logo { margin-bottom: 18px; }
  .dm-logo img { height: 28px; }
  .dm-form { gap: 10px; }
  .dm-field { padding: 10px 14px 8px; border-radius: 12px; }
  .dm-field input, .dm-field textarea { font-size: 15px; }
  .dm-submit { width: 100%; justify-content: center; padding: 14px 22px; }
  .dm-submit-arrow { margin-right: 0; }
}

/* very short viewports (landscape phones, small laptops) — tighten vertical rhythm */
@media (max-height: 720px) {
  .dm-card { padding: 24px 36px 22px; }
  .dm-logo { margin-bottom: 14px; }
  .dm-logo img { height: 30px; }
  .dm-title { font-size: 22px; margin-bottom: 8px; }
  .dm-sub { font-size: 14px; margin-bottom: 14px; }
  .dm-form { gap: 9px; }
  .dm-field { padding: 9px 14px 7px; }
  .dm-terms { margin: 12px 8px 0; font-size: 12px; }
  .dm-submit { padding: 12px 24px 12px 28px; font-size: 15px; }
  .dm-submit-arrow { width: 28px; height: 28px; }
}
@media (max-height: 560px) {
  .dm-card { padding: 18px 28px 18px; border-radius: 20px; }
  .dm-logo { margin-bottom: 10px; }
  .dm-logo img { height: 26px; }
  .dm-title { font-size: 19px; line-height: 1.2; }
  .dm-sub { font-size: 13px; margin-bottom: 10px; }
  .dm-close { top: 12px; right: 12px; width: 32px; height: 32px; }
}
