/* ==========================================================================
   Teradix Design System v2
   Statement mode (dark hero) + Work mode (light product surfaces)
   ========================================================================== */

/* ---- Duplet Open typeface (Latin primary on English pages) ---- */
@font-face {
  font-family: "Duplet Open";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-Thin.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-ThinItalic.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-Extralight.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-ExtralightItalic.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-Light.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-LightItalic.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-Regular.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-Italic.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-Semibold.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-SemiboldItalic.otf") format("opentype");
}
/* No upright Extrabold ships in Duplet Open — declare Bold over weight
   range 700 800 so heading rules using font-weight:800 still get the
   heaviest available upright cut instead of falling back to faux-bold. */
@font-face {
  font-family: "Duplet Open";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-Bold.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-BoldItalic.otf") format("opentype");
}
@font-face {
  font-family: "Duplet Open";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Duplet Open/DupletOpen-ExtraboldItalic.otf") format("opentype");
}

/* ---- Matter typeface (kept as fallback for any leftover references) ---- */
@font-face {
  font-family: "Matter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/matter/Matter-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Matter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/matter/Matter-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Matter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/matter/Matter-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Matter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/matter/Matter-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Matter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/matter/Matter-Heavy.ttf") format("truetype");
}
@font-face {
  font-family: "Matter";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/matter/Matter-BoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Matter";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/matter/Matter-HeavyItalic.ttf") format("truetype");
}

:root {
  /* Primary brand */
  --brand-blue: #0203E9;
  --brand-green: #3A8D49;
  --brand-navy: #24315E;

  /* Statement mode */
  --hero-bg: #011388;
  --hero-bg-bright: #0025F6;
  --hero-bg-dark: #000519;
  --hero-cta-bg: #1D1EE7;
  --accent-lime: #E7FF5A;
  --accent-mint: #8FFF99;
  --accent-cyan: #03FEF9;

  /* Dark ground and edge rail, sampled from the approved redesign deck
     ("Complete Redesign on Teradix.pdf"). The ramp is hue-locked blue:
     R and G stay near zero and only B climbs, which is why no green may
     enter the field. Lime and mint are type, numbers and pills only. */
  --tx-d0: #000519;   /* top, near black   */
  --tx-d1: #010B4B;   /* 30%               */
  --tx-d2: #011388;   /* 60%               */
  --tx-d3: #0021E1;   /* 90%               */
  --tx-d4: #0025F6;   /* foot, vivid       */
  --tx-rail: linear-gradient(90deg, #E3FF5D 0%, #8DFF9A 45%, #0AFFF8 100%);
  --tx-rail-h: 4px;
  --tx-card: #F5F7FD;
  --tx-card-line: #E5E9F4;

  /* Work mode */
  --canvas: #FFFFFF;
  --surface-green-soft: #E5FBE9;
  --surface-green-softer: #F0FCF0;
  --surface-blue-soft: #F5F7FD;
  --surface-blue-tint: #DBECFF;
  --surface-cream: #FEF8E9;
  --accent-orange: #FFA03D;
  --accent-orange-soft: #FFEEDC;

  /* Neutrals */
  --ink-900: #24315E;
  --ink-600: #5E6788;
  --ink-400: #9CA3B5;
  --divider: #E5E9F4;
  --border-subtle: #E5E9F4;

  /* Radii */
  --radius-card: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-card: 0 8px 32px rgba(36, 49, 94, 0.08);
  --shadow-card-hover: 0 16px 48px rgba(36, 49, 94, 0.14);
  --shadow-glow: 0 0 64px rgba(143, 255, 153, 0.25);

  /* Type */
  --font-sans: "Duplet Open", "Matter", "Inter", system-ui, -apple-system, sans-serif;
  --font-arabic: "Cairo", "Tajawal", sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Fluid vertical rhythm — laptop-first. All section paddings come from
     this scale (used in both CSS rules and inline styles). At 1470px wide
     (13" MacBook) these render roughly 42/54/70/83/96px; caps restore the
     original generous rhythm on 1900px+ displays; floors keep mobile sane. */
  --sect-xs: clamp(36px, 1.8vw + 16px, 52px);
  --sect-sm: clamp(44px, 2.2vw + 22px, 68px);
  --sect-md: clamp(52px, 3vw + 26px, 88px);
  --sect-lg: clamp(60px, 3.6vw + 30px, 102px);
  --sect-xl: clamp(68px, 4.2vw + 34px, 120px);

  /* Fluid inner spacing (element-level) */
  --space-2xs: clamp(6px, 0.5vw, 10px);
  --space-xs: clamp(10px, 0.8vw, 14px);
  --space-sm: clamp(14px, 1.1vw, 18px);
  --space-md: clamp(18px, 1.5vw, 26px);
  --space-lg: clamp(26px, 2.2vw, 38px);
  --space-xl: clamp(36px, 3vw, 56px);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* NO page-level scroll-snap. Snap + tall panels + trackpad momentum made
     upward scrolling fight the user (the viewport got yanked back toward
     panel snap points). Anchor links still land below the fixed nav via
     scroll-padding-top. */
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--brand-blue); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--hero-bg-bright); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 4.1vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 2.87vw, 2.53rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-600); }

/* Auto-readability for dark sections: any section that inline-styles itself
   with `color: #fff` (the dark-band sections used on About / Why Teradix
   etc.) should cascade that white into headings + paragraphs. Without this,
   the global ink-900/ink-600 colours win and the text disappears into the
   dark background. */
section[style*="color: #fff"] h1,
section[style*="color: #fff"] h2,
section[style*="color: #fff"] h3,
section[style*="color: #fff"] h4 { color: inherit; }
section[style*="color: #fff"] p { color: rgba(255, 255, 255, 0.78); }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Gradients (design tokens)
   -------------------------------------------------------------------------- */

.gradient-hero {
  position: relative;
  background:
    radial-gradient(1100px 780px at 12% 108%, rgba(0, 45, 255, 0.55) 0%, transparent 62%),
    linear-gradient(180deg,
      var(--tx-d0) 0%,
      var(--tx-d1) 30%,
      var(--tx-d2) 60%,
      var(--tx-d3) 88%,
      var(--tx-d4) 100%);
}

.headline-gradient {
  background: linear-gradient(90deg, #6EE87F 0%, #88FC93 50%, #6EE87F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Light-background override for .headline-gradient. The lime/mint gradient
   above looks great on the dark hero, dark CTA-full, and any inline-styled
   `color:#fff` section — but it disappears on white. Auto-flip to a deeper
   blue → green gradient on every other section so contrast stays solid. */
.platform-section .headline-gradient,
.gap-section .headline-gradient,
.voices-pro .headline-gradient,
.voice-slide__quote em.headline-gradient,
.case-card .headline-gradient,
.demo-story .headline-gradient,
.demo-faq .headline-gradient,
.why-faq .headline-gradient,
section:not([style*="color: #fff"]):not(.cta-full):not(.hero) .headline-gradient {
  background: linear-gradient(95deg, var(--brand-blue) 0%, #4d4eff 40%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-rule,
.footer__rule {
  position: relative;
  height: 3px;
  background: linear-gradient(90deg, #E7FF5A 0%, #3A8D49 50%, #03FEF9 100%);
  overflow: hidden;
}
/* Subtle white shimmer sweeping back and forth across the line */
.footer-rule::before,
.footer__rule::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 25%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 100%);
  animation: footerRuleSweep 4s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}
@keyframes footerRuleSweep {
  from { transform: translateX(-100%); }
  to   { transform: translateX(400%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-rule::before,
  .footer__rule::before { animation: none; display: none; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  /* 800 and slightly tighter, as on the e-sourcing page */
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .2s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn--lg { padding: 16px 32px; font-size: 1rem; }

.btn--primary {
  background: var(--hero-cta-bg);
  color: #fff;
  box-shadow: 0 4px 16px rgba(29, 30, 231, 0.24);
}
.btn--primary:hover {
  background: var(--hero-bg-bright);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(29, 30, 231, 0.32);
}

/* Matched to the e-sourcing page. The old four-stop ramp ran to a dark
   green (#3A8D49) which muddied the bottom-right of every button; this is
   the clean lime-to-mint the newer work uses, with the lime glow rather
   than a yellow one. */
.btn--lime {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg,
    #E7FF5A 0%,
    #8FFF99 100%);
  background-size: 240% 240%;
  background-position: 0% 0%;
  color: #001277;
  box-shadow:
    0 8px 28px rgba(143, 255, 153, 0.30),
    0 0 0 1px rgba(0, 2, 16, 0.02) inset;
  transition:
    background-position 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.6s ease,
    box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
/* The old ramp ended in dark green, so hover turned the label white. The
   ramp now ends in mint, and white on mint is unreadable, so the label
   stays navy and the lift comes from the glow instead. */
.btn--lime:hover {
  background-position: 100% 100%;
  color: #001277;
  transform: translateY(-2px);
  box-shadow:
    0 16px 38px rgba(143, 255, 153, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover .btn-arrow { transform: translateX(6px); }

/* --------------------------------------------------------------------------
   Premium CTA animation — large lime buttons (hero / primary conversion)
   -------------------------------------------------------------------------- */

@property --btn-lime-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.btn--lime {
  isolation: isolate;
  --btn-mag-x: 0px;
  --btn-mag-y: 0px;
  transition:
    background-position 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.5s ease,
    text-shadow 0.4s ease,
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  animation: cta-lime-breathe 3.6s ease-in-out infinite;
}

/* Idle "breathing" glow — deeper, double-layered halo pulses gently so the
   button is ALWAYS alive and reads as pressable even before hover */
@keyframes cta-lime-breathe {
  0%, 100% {
    box-shadow:
      0 6px 22px rgba(231, 255, 90, 0.34),
      0 0 38px rgba(143, 255, 153, 0.3),
      0 0 0 1px rgba(0, 2, 16, 0.02) inset;
  }
  50% {
    box-shadow:
      0 12px 38px rgba(231, 255, 90, 0.58),
      0 0 70px rgba(143, 255, 153, 0.58),
      0 0 0 1px rgba(0, 2, 16, 0.02) inset;
  }
}

/* Shimmer beam — subtle white light sweeps across every ~4s */
.btn--lime::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 35%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: cta-lime-sheen 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes cta-lime-sheen {
  0%   { left: -40%; }
  25%, 100% { left: 140%; }
}

/* Rotating conic light — a bright "comet" travels around the button's border
   every 3.5s, sweeping mint → lime → white. Top-tier premium signal. */
.btn--lime::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  z-index: -1;
  pointer-events: none;
  background: conic-gradient(
    from var(--btn-lime-angle, 0deg),
    transparent 0deg,
    transparent 240deg,
    rgba(255, 255, 255, 0.7) 280deg,
    rgba(231, 255, 90, 1) 310deg,
    rgba(143, 255, 153, 0.95) 335deg,
    rgba(58, 141, 73, 0.5) 350deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 6px rgba(231, 255, 90, 0.7));
  animation: cta-lime-ring 3.5s linear infinite;
}
@keyframes cta-lime-ring {
  to { --btn-lime-angle: 360deg; }
}
@supports not (background: conic-gradient(from 0deg, #000 0deg)) {
  .btn--lime::after { display: none; }
}

/* Hover — spring lift + magnetic cursor follow + scale + text glow */
.btn--lime:hover {
  transform:
    translate(var(--btn-mag-x, 0px), calc(-3px + var(--btn-mag-y, 0px)))
    scale(1.03);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
  box-shadow:
    0 26px 54px rgba(143, 255, 153, 0.6),
    0 10px 22px rgba(58, 141, 73, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  animation: none;
}
/* Accelerate the ring during hover for extra energy */
.btn--lime:hover::after {
  animation-duration: 1.8s;
  filter: drop-shadow(0 0 10px rgba(231, 255, 90, 0.9));
}

/* Active — subtle press feedback */
.btn--lime:active {
  transform:
    translate(var(--btn-mag-x, 0px), var(--btn-mag-y, 0px))
    translateY(-1px) scale(0.99);
  transition-duration: 0.1s;
  box-shadow:
    0 8px 20px rgba(231, 255, 90, 0.35),
    0 0 0 1px rgba(0, 2, 16, 0.04) inset;
}

/* Arrow — springs forward on hover, then pulses */
.btn--lime .btn-arrow {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}
.btn--lime:hover .btn-arrow {
  animation: cta-lime-arrow 0.85s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes cta-lime-arrow {
  0%, 100% { transform: translateX(4px); }
  50%      { transform: translateX(11px); }
}

/* Click ripple — Material-style burst from the click point */
.btn--lime .btn-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.25) 40%,
    transparent 70%
  );
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 2;
  animation: cta-lime-ripple 720ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  mix-blend-mode: overlay;
}
@keyframes cta-lime-ripple {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.9; }
  60%  { opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(38); opacity: 0; }
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  .btn--lime,
  .btn--lime::before,
  .btn--lime::after,
  .btn--lime:hover .btn-arrow,
  .btn--lime .btn-ripple {
    animation: none !important;
  }
}

/* Nav Request Demo — blue on scrolled (white-bg) nav, morphs to lime on hover. */
.nav--scrolled .btn--lime {
  background: linear-gradient(135deg,
    #1D1EE7 0%,
    #1D1EE7 42%,
    #E7FF5A 58%,
    #D8F456 100%);
  background-size: 240% 240%;
  background-position: 0% 0%;
  color: #fff;
  box-shadow:
    0 4px 16px rgba(29, 30, 231, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.nav--scrolled .btn--lime:hover {
  background-position: 100% 100%;
  color: var(--hero-bg-dark);
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px rgba(231, 255, 90, 0.42),
    0 4px 14px rgba(2, 3, 233, 0.25),
    0 0 0 1px rgba(0, 2, 16, 0.05) inset;
}

.btn--ghost-dark {
  background: rgba(10, 16, 52, 0.72);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}
.btn--ghost-dark:hover {
  background: rgba(15, 24, 80, 0.82);
  color: #fff;
  border-color: rgba(143, 255, 153, 0.4);
}
.btn-arrow--lime { color: var(--accent-lime); font-weight: 800; }

.btn--outline {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.btn--outline:hover {
  background: var(--brand-blue);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--hero-bg);
}
.btn--white:hover {
  background: var(--accent-lime);
  color: var(--hero-bg-dark);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand-blue);
}
.link-arrow::after {
  content: "→";
  transition: transform .2s var(--ease-out);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s var(--ease-out);
}
.nav--on-dark { background: transparent; }
.nav--on-dark .nav__link,
.nav--on-dark .nav__trigger { color: rgba(255, 255, 255, 0.88); }
.nav--on-dark .nav__trigger:hover { color: #fff; }
.nav--on-dark .nav__brand-mark { filter: brightness(0) invert(1); }
.nav--on-dark .nav__burger { color: #fff; }
.nav--on-dark .nav__burger span { background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); }
.nav--on-dark .nav__lang { color: rgba(255, 255, 255, 0.88); }
.nav--scrolled .nav__burger,
.nav:not(.nav--on-dark) .nav__burger { color: var(--ink-900); }
.nav--scrolled .nav__burger span,
.nav:not(.nav--on-dark) .nav__burger span { background: var(--ink-900); box-shadow: none; }
.nav--on-dark .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.nav--on-dark .btn--outline:hover {
  background: #fff;
  color: var(--hero-bg);
  border-color: #fff;
}

/* Pages with no dark hero pushing content down (legacy product/about/etc.):
   add top padding to body so content doesn't slide under the fixed nav. */
body:has(.nav:not(.nav--on-dark)) {
  padding-top: 64px;
}

/* Light-mode nav: applies in two cases —
     1. .nav--scrolled (toggled by JS once the user scrolls past a dark hero)
     2. .nav with neither nav--on-dark nor nav--scrolled (legacy pages that
        have no dark hero at all — e.g. product/about/pricing pages where
        the body starts immediately with light content) */
.nav--scrolled,
.nav:not(.nav--on-dark) {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.8) blur(12px);
  box-shadow: 0 1px 0 var(--divider);
  padding: 10px 0;
}
.nav--scrolled .nav__link,
.nav--scrolled .nav__trigger,
.nav:not(.nav--on-dark) .nav__link,
.nav:not(.nav--on-dark) .nav__trigger { color: var(--ink-900); }
.nav--scrolled .nav__brand-mark,
.nav:not(.nav--on-dark) .nav__brand-mark { filter: none; }
.nav--scrolled .btn--outline,
.nav:not(.nav--on-dark) .btn--outline {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  transition: background .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav--scrolled .btn--outline:hover,
.nav:not(.nav--on-dark) .btn--outline:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(2, 3, 233, 0.28);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand-mark { height: 28px; width: auto; }

.nav__main {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 auto 0 32px;
  padding: 0;
}

.nav__item { position: relative; }

.nav__link,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-900);
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: all .18s var(--ease-out);
  font-family: inherit;
}
.nav__link:hover,
.nav__trigger:hover { background: rgba(255, 255, 255, 0.08); }

/* Readable hover color per nav state */
.nav--on-dark .nav__link:hover,
.nav--on-dark .nav__trigger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.nav--scrolled .nav__link:hover,
.nav--scrolled .nav__trigger:hover {
  background: var(--surface-blue-soft);
  color: var(--brand-blue);
}

/* Active / current page state */
.nav__link--active,
.nav__link[aria-current="page"] {
  font-weight: 600;
}
.nav--on-dark .nav__link--active,
.nav--on-dark .nav__link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav--scrolled .nav__link--active,
.nav--scrolled .nav__link[aria-current="page"] {
  color: var(--brand-blue);
  background: var(--surface-blue-soft);
}

.nav__trigger .chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .2s var(--ease-out);
}
.nav__item--open .nav__trigger .chev { transform: rotate(-135deg); margin-top: 2px; }

/* ---- Premium mega-menu (dark statement panel) ---- */
.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  transform: translateY(6px);
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(3, 254, 249, 0.05), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(143, 255, 153, 0.06), transparent 60%),
    linear-gradient(180deg, #0A1235 0%, #060A24 100%);
  border: 1px solid rgba(143, 255, 153, 0.1);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 20px 60px rgba(0, 2, 16, 0.5),
    0 4px 12px rgba(0, 2, 16, 0.3);
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s var(--ease-out), transform .22s var(--ease-out);
  z-index: 120;
}
/* Invisible hover bridge so the cursor can cross the gap
   between the trigger and the menu without dismissing it. */
.nav__menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}
.nav__item--open .nav__menu,
.nav__item:hover .nav__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Right-anchor the narrow Company menu so it doesn't overflow */
.nav__menu--narrow {
  left: auto;
  right: 0;
}

.nav__menu--wide { width: 760px; }
.nav__menu--narrow { width: 300px; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}
.nav__menu--narrow .menu-grid { grid-template-columns: 1fr; }

.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  transition: background .18s var(--ease-out);
  position: relative;
}
.menu-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.menu-item:hover .menu-item__icon {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(143, 255, 153, 0.25);
}
.menu-item:hover .menu-item__accent { text-shadow: 0 0 16px currentColor; }

.menu-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(143, 255, 153, 0.14) 0%, rgba(143, 255, 153, 0.04) 100%);
  border: 1px solid rgba(143, 255, 153, 0.16);
  color: var(--accent-mint);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  position: relative;
}
.menu-item__icon svg { width: 22px; height: 22px; }
/* rotate accent colors for visual variety */
.menu-item:nth-child(6n+2) .menu-item__icon {
  background: linear-gradient(135deg, rgba(3, 254, 249, 0.14) 0%, rgba(3, 254, 249, 0.04) 100%);
  border-color: rgba(3, 254, 249, 0.18);
  color: var(--accent-cyan);
}
.menu-item:nth-child(6n+3) .menu-item__icon {
  background: linear-gradient(135deg, rgba(231, 255, 90, 0.14) 0%, rgba(231, 255, 90, 0.04) 100%);
  border-color: rgba(231, 255, 90, 0.2);
  color: var(--accent-lime);
}
.menu-item:nth-child(6n+5) .menu-item__icon {
  background: linear-gradient(135deg, rgba(3, 254, 249, 0.14) 0%, rgba(3, 254, 249, 0.04) 100%);
  border-color: rgba(3, 254, 249, 0.18);
  color: var(--accent-cyan);
}
.menu-item:nth-child(6n+6) .menu-item__icon {
  background: linear-gradient(135deg, rgba(231, 255, 90, 0.14) 0%, rgba(231, 255, 90, 0.04) 100%);
  border-color: rgba(231, 255, 90, 0.2);
  color: var(--accent-lime);
}

.menu-item__body { min-width: 0; padding-top: 2px; }
.menu-item__title {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 6px;
}
.menu-item__accent {
  color: var(--accent-mint);
  transition: text-shadow .2s var(--ease-out);
}
.menu-item:nth-child(6n+2) .menu-item__accent { color: var(--accent-cyan); }
.menu-item:nth-child(6n+3) .menu-item__accent { color: var(--accent-lime); }
.menu-item:nth-child(6n+5) .menu-item__accent { color: var(--accent-cyan); }
.menu-item:nth-child(6n+6) .menu-item__accent { color: var(--accent-lime); }

.menu-item__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

/* Featured / full-width menu row */
.menu-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent);
  margin: 8px 4px;
}
.menu-item--feature {
  grid-column: 1 / -1;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(231, 255, 90, 0.06), rgba(3, 254, 249, 0.04));
  border: 1px solid rgba(231, 255, 90, 0.14);
  border-radius: 14px;
}
.menu-item--feature:hover {
  background: linear-gradient(135deg, rgba(231, 255, 90, 0.09), rgba(3, 254, 249, 0.06));
  border-color: rgba(231, 255, 90, 0.22);
}
.menu-item--feature .menu-item__icon {
  background: linear-gradient(135deg, var(--accent-lime) 0%, var(--accent-mint) 100%) !important;
  border-color: transparent !important;
  color: var(--hero-bg-dark) !important;
}
.menu-item--feature .menu-item__accent { color: var(--accent-lime) !important; }
.menu-item--feature .menu-item__desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

/* Narrow (Company) menu styling override */
.nav__menu--narrow .menu-item__icon {
  background: linear-gradient(135deg, rgba(143, 255, 153, 0.12) 0%, rgba(143, 255, 153, 0.04) 100%);
  border-color: rgba(143, 255, 153, 0.14);
  color: var(--accent-mint);
}
.nav__menu--narrow .menu-item__accent { color: var(--accent-mint); }

@media (max-width: 960px) {
  .nav__menu--wide,
  .nav__menu--narrow { width: auto; left: 0; right: auto; }
  .nav__menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    padding: 8px;
  }
  .nav__menu::before { display: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .nav__item--open .nav__menu { transform: none; }
}

.nav__side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Language switcher — minimal globe-icon + text link (no pill chrome).
   Sits naturally beside Login without competing visually with the CTAs.
   Shows the destination language in its own script:
     EN pages → globe + "العربية"  →  /ar/
     AR pages → globe + "English"  →  /         */
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  line-height: 1;
  transition: color .2s ease, opacity .2s ease;
}
.nav__lang__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.78;
  transition: opacity .2s ease;
}
.nav__lang:hover {
  color: #fff;
}
.nav__lang:hover .nav__lang__icon {
  opacity: 1;
}

/* Arabic label on EN pages — let the browser pick a native Arabic font
   (no extra font load on the English bundle). */
.nav__lang[lang="ar"] {
  font-family: 'Forma Text', 'SF Arabic', 'Geeza Pro', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.92rem;
  /* tiny vertical nudge — Arabic letterforms sit lower than Latin baseline */
  padding-top: 6px;
  padding-bottom: 10px;
}
/* English label on AR pages — pin the Latin font so it doesn't render in
   the Arabic font stack which has no Latin glyphs designed for it */
.nav__lang[lang="en"] {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ====================================================================
   Language-switch loading overlay
   Appears the moment a user clicks the language switcher, so there is
   immediate visual feedback while the destination page (with its own
   font preloads + RTL stylesheet on AR) is fetched and rendered.
   The overlay is created lazily by JS in lang-overlay-init.
   ==================================================================== */
.lang-overlay {
  position: fixed; inset: 0;
  background: rgba(6, 10, 36, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease-out;
}
.lang-overlay--show {
  opacity: 1;
  pointer-events: auto;
}
.lang-overlay__inner {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center;
}
.lang-overlay__ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid rgba(143,255,153,0.16);
  border-top-color: #8FFF99;
  border-right-color: #EFFF7C;
  animation: lang-overlay-spin 0.85s linear infinite;
  box-shadow: 0 0 36px rgba(143,255,153,0.30);
}
@keyframes lang-overlay-spin { to { transform: rotate(360deg); } }
.lang-overlay__msg {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
}
.lang-overlay__msg-sub {
  margin-top: 4px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255,255,255,0.5);
  font-family: 'Forma Text', 'SF Arabic', 'Geeza Pro', 'Segoe UI', system-ui, sans-serif;
}
@media (prefers-reduced-motion: reduce) {
  .lang-overlay__ring { animation: none; border-top-color: #8FFF99; }
}

/* Scrolled / light-bg nav state — flip to dark text */
.nav--scrolled .nav__lang,
.nav:not(.nav--on-dark) .nav__lang {
  color: var(--ink-700, #4b5775);
}
.nav--scrolled .nav__lang:hover,
.nav:not(.nav--on-dark) .nav__lang:hover {
  color: var(--ink-900, #24315e);
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: transform .25s var(--ease-out), opacity .25s var(--ease-out);
}
.nav__burger--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--active span:nth-child(2) { opacity: 0; }
.nav__burger--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__main { display: none; }
  .nav__burger { display: block; }
  .nav__side .btn { display: none; }
  .nav--mobile-open .nav__main,
  .nav--mobile-open .nav__side .btn {
    display: flex;
  }
  .nav--mobile-open .nav__main {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background:
      radial-gradient(900px 400px at 0% 0%, rgba(3, 254, 249, 0.05), transparent 60%),
      radial-gradient(600px 300px at 100% 100%, rgba(143, 255, 153, 0.06), transparent 60%),
      linear-gradient(180deg, #0A1235 0%, #060A24 100%);
    margin: 8px 16px 0;
    padding: 12px;
    border: 1px solid rgba(143, 255, 153, 0.1);
    border-radius: var(--radius-card);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.02) inset,
      0 20px 60px rgba(0, 2, 16, 0.5),
      0 4px 12px rgba(0, 2, 16, 0.3);
    align-items: stretch;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  /* Force dark-theme text inside the mobile drawer regardless of nav scroll state */
  .nav--mobile-open .nav__link,
  .nav--mobile-open .nav__trigger {
    color: rgba(255, 255, 255, 0.88);
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .nav--mobile-open .nav__link:hover,
  .nav--mobile-open .nav__trigger:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }
  .nav--mobile-open .nav__link--active,
  .nav--mobile-open .nav__link[aria-current="page"] {
    color: var(--accent-mint);
  }
  .nav--mobile-open .nav__item { width: 100%; }
  .nav--mobile-open .nav__menu {
    position: static;
    min-width: 0;
    width: auto;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 4px 0 8px 4px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* --------------------------------------------------------------------------
   Hero (Statement mode)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--sect-lg) 0 0;
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(143, 255, 153, 0.1), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(3, 254, 249, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Platform section — "One system of record" on the index page.
   Light-canvas pillar block that replaces the old "Why Teradix" section.
   -------------------------------------------------------------------------- */

.platform-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sect-md) 0 var(--sect-lg);
  color: var(--ink-900);
  background:
    linear-gradient(180deg, #FBFCFF 0%, #F3F5FC 55%, #F8F9FD 100%);
}

.platform-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.platform-section__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 30, 231, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 30, 231, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 1200px 700px at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 1200px 700px at 50% 30%, black 20%, transparent 80%);
}
.platform-section__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.platform-section__glow--mint {
  width: 420px; height: 420px;
  top: -12%; right: -4%;
  background: radial-gradient(circle, rgba(2, 3, 233, 0.22), transparent 70%);
}
.platform-section__glow--blue {
  width: 480px; height: 480px;
  top: 18%; left: -8%;
  background: radial-gradient(circle, rgba(29, 30, 231, 0.14), transparent 70%);
  opacity: 0.7;
}

.platform-section__inner {
  position: relative;
  z-index: 1;
}

.platform-section__head {
  max-width: 840px;
  margin: 0 0 56px;
  text-align: left;
}

.platform-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(143, 255, 153, 0.12);
  border: 1px solid rgba(94, 207, 114, 0.4);
  color: #2E8A43;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.platform-section__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5ECF72;
  box-shadow: 0 0 0 4px rgba(94, 207, 114, 0.25);
}

.platform-section__title {
  color: var(--ink-900);
  font-size: clamp(2.2rem, 3.61vw, 3.06rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 820px;
}
.platform-section__accent {
  font-style: normal;
  background: linear-gradient(95deg, #A29200 0%, #5ECF72 50%, #2E8A43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.platform-section__lead {
  color: var(--ink-600);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

/* Pillar cards --------------------------------------------------------- */
.platform-section__pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pillar-card {
  position: relative;
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid rgba(0, 2, 16, 0.06);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 40px -28px rgba(0, 2, 16, 0.25);
  transition:
    transform .35s var(--ease-out),
    box-shadow .35s var(--ease-out),
    border-color .25s var(--ease-out);
  overflow: hidden;
}
.pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 30, 231, 0.18);
  box-shadow: 0 24px 48px -24px rgba(0, 2, 16, 0.28);
}
.pillar-card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.pillar-card__icon svg { width: 22px; height: 22px; }
.pillar-card__icon--mint   { background: #E5F8EA; color: #2E8A43; }
.pillar-card__icon--blue   { background: #E8EAFE; color: #1D1EE7; }
.pillar-card__icon--orange { background: #FFF0DC; color: #E8813A; }
.pillar-card__icon--yellow { background: #FAFBD3; color: #A29200; }

.pillar-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.pillar-card__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0;
}

@media (max-width: 960px) {
  .platform-section { padding: var(--sect-sm) 0 var(--sect-md); }
  .platform-section__pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 560px) {
  .platform-section__pillars { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Hero shader — lightweight CSS-only animated backdrop
   (grid drift + aurora blobs + twinkles, all GPU-friendly)
   -------------------------------------------------------------------------- */

.hero__shader {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Drifting vector grid */
.hero__shader-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(143, 255, 153, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 255, 153, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 1200px 700px at 50% 40%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 1200px 700px at 50% 40%, black 25%, transparent 85%);
  animation: heroGridDrift 80s linear infinite;
  will-change: background-position;
}
@keyframes heroGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 64px 64px, 64px 64px; }
}

/* Aurora blobs — independently drifting */
.hero__shader-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}
.hero__shader-aurora span:nth-child(1) {
  top: -16%; left: 8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0, 40, 246, 0.42), transparent 70%);
  animation: heroAurora1 22s ease-in-out infinite;
}
.hero__shader-aurora span:nth-child(2) {
  bottom: -22%; right: 4%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(10, 255, 248, 0.10), transparent 70%);
  animation: heroAurora2 28s ease-in-out infinite;
}
.hero__shader-aurora span:nth-child(3) {
  top: 38%; right: 28%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(2, 3, 233, 0.30), transparent 70%);
  animation: heroAurora3 32s ease-in-out infinite;
}
.hero__shader-aurora span:nth-child(4) {
  top: 15%; left: 48%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 37, 246, 0.46), transparent 70%);
  animation: heroAurora4 36s ease-in-out infinite;
}
@keyframes heroAurora1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  50%      { transform: translate(80px, -40px) scale(1.08); opacity: 1; }
}
@keyframes heroAurora2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50%      { transform: translate(-70px, -60px) scale(1.1); opacity: 1; }
}
@keyframes heroAurora3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50%      { transform: translate(50px, 70px) scale(1.15); opacity: 0.9; }
}
@keyframes heroAurora4 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50%      { transform: translate(-40px, 60px) scale(1.12); opacity: 0.85; }
}

/* Iridescent conic mesh — slow professional rotation (premium SaaS feel) */
.hero__shader-mesh {
  position: absolute;
  inset: -25%;
  background: conic-gradient(
    from 120deg at 50% 50%,
    transparent 0deg,
    rgba(2, 3, 233, 0.20) 55deg,
    rgba(0, 37, 246, 0.16) 130deg,
    rgba(10, 255, 248, 0.05) 200deg,
    rgba(2, 3, 233, 0.18) 280deg,
    transparent 360deg
  );
  filter: blur(140px);
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: heroMeshRotate 80s linear infinite;
  will-change: transform;
}
@keyframes heroMeshRotate {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Slow horizontal light-sweep — a settled "data scan" beam */
.hero__shader-sweep {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__shader-sweep::before {
  content: "";
  position: absolute;
  top: -10%; bottom: -10%;
  left: -240px;
  width: 220px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(10, 255, 248, 0.07) 50%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%);
  filter: blur(12px);
  mix-blend-mode: screen;
  animation: heroSweep 26s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform, opacity;
}
@keyframes heroSweep {
  0%   { transform: translateX(0); opacity: 0; }
  6%   { opacity: 1; }
  60%  { opacity: 1; }
  72%  { opacity: 0; }
  100% { transform: translateX(calc(100vw + 240px)); opacity: 0; }
}

/* Hide the playful twinkle stars — mesh + sweep carry the motion now */
.hero__shader-stars { display: none; }
.hero__shader-stars span {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: heroTwinkle 5s ease-in-out infinite;
  will-change: opacity, transform;
}
.hero__shader-stars span:nth-child(1)  { top: 18%; left: 28%; animation-delay: 0s; }
.hero__shader-stars span:nth-child(2)  { top: 62%; left: 22%; animation-delay: 1.4s; background: var(--accent-mint); box-shadow: 0 0 10px var(--accent-mint); }
.hero__shader-stars span:nth-child(3)  { top: 28%; left: 74%; animation-delay: 2.6s; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.hero__shader-stars span:nth-child(4)  { top: 80%; left: 78%; animation-delay: 3.8s; background: var(--accent-lime); box-shadow: 0 0 10px var(--accent-lime); width: 3px; height: 3px; }
.hero__shader-stars span:nth-child(5)  { top: 12%; left: 52%; animation-delay: 0.9s; }
.hero__shader-stars span:nth-child(6)  { top: 70%; left: 46%; animation-delay: 2.2s; background: var(--accent-mint); box-shadow: 0 0 10px var(--accent-mint); }
.hero__shader-stars span:nth-child(7)  { top: 24%; left: 14%; animation-delay: 3.5s; }
.hero__shader-stars span:nth-child(8)  { top: 48%; left: 86%; animation-delay: 1.1s; background: var(--accent-lime); box-shadow: 0 0 10px var(--accent-lime); }
.hero__shader-stars span:nth-child(9)  { top: 82%; left: 34%; animation-delay: 2.8s; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.hero__shader-stars span:nth-child(10) { top: 36%; left: 42%; animation-delay: 4.2s; width: 3px; height: 3px; }
.hero__shader-stars span:nth-child(11) { top: 58%; left: 64%; animation-delay: 0.5s; background: var(--accent-mint); box-shadow: 0 0 10px var(--accent-mint); }
.hero__shader-stars span:nth-child(12) { top: 88%; left: 58%; animation-delay: 3.1s; }

@keyframes heroTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50%      { opacity: 1; transform: scale(1.2); }
}

/* Keep content above shader */
.hero__grid { position: relative; z-index: 1; }
.trust-band { position: relative; z-index: 1; }

/* Mobile: tone down shader to avoid scroll-jank */
@media (max-width: 720px) {
  .hero__shader-aurora span:nth-child(3),
  .hero__shader-aurora span:nth-child(4) { display: none; }
  .hero__shader-grid { background-size: 40px 40px; }
  .hero__shader-sweep { display: none; }
  .hero__shader-mesh { filter: blur(90px); opacity: 0.45; }
}

/* Respect reduced-motion preference — freeze the mesh + sweep */
@media (prefers-reduced-motion: reduce) {
  .hero__shader-mesh,
  .hero__shader-sweep::before,
  .hero__shader-grid,
  .hero__shader-aurora span { animation: none !important; }
}
.hero__grid {
  display: grid;
  /* text column wider than the mockup, so the copy leads and the
     illustration stays a supporting element */
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 3.4vw, 54px);
  align-items: center;
  /* tighter than the 1220 container → more generous, balanced side margins */
  max-width: 1140px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.hero__body,
.hero__visual { min-width: 0; }
.hero__visual img { max-width: 100%; height: auto; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(143, 255, 153, 0.12);
  border: 1px solid rgba(143, 255, 153, 0.28);
  color: var(--accent-mint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 8px var(--accent-mint);
  animation: pulse 2s ease-in-out infinite;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 4.43vw, 3.74rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  max-width: 640px;
  overflow-wrap: break-word;
  hyphens: auto;
}
/* Centered hero variant — when the parent body is text-align: center,
   let the H1 fill its container so the centered text actually centers
   on the page instead of being constrained to the left 640px box. */
.hero__body[style*="text-align: center"] .hero__title,
.hero__body[style*="text-align:center"] .hero__title {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.1rem, 3.77vw, 3.06rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
@media (max-width: 560px) {
  .hero__title { letter-spacing: -0.03em; line-height: 1.05; }
  .hero__watch--cs { padding: 10px 18px 10px 12px; gap: 10px; }
  .hero__watch--cs .hero__watch-icon { width: 34px; height: 34px; }
  .hero__watch-label { font-size: 0.92rem; }
  .hero__watch-sub { font-size: 0.62rem; letter-spacing: 0.1em; }
}
.hero__title-line {
  display: block;
  animation: heroTitleIn .9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* Vary weight across lines to create rhythm and visual hierarchy —
   opening is firm, middle is the punch, closing is refined. */
.hero__title-line:nth-child(1) {
  animation-delay: .05s;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero__title-line:nth-child(2) {
  animation-delay: .18s;
  margin-top: 2px;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.hero__title-line:nth-child(3) {
  animation-delay: .31s;
  margin-top: 2px;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.85);
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__title em,
.hero__title-em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(110deg, #8FFF99 0%, #6EE87F 40%, #C7F5D0 80%, #8FFF99 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding: 0 2px;
  position: relative;
}
.hero__title-em::after {
  content: "";
  position: absolute;
  left: 6%; right: 6%;
  bottom: 0.06em;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #8FFF99 30%, #8FFF99 70%, transparent 100%);
  border-radius: 3px;
  opacity: 0.55;
  box-shadow: 0 0 12px rgba(143, 255, 153, 0.5);
}
.hero__title-dot {
  color: var(--accent-lime);
  -webkit-text-fill-color: var(--accent-lime);
  text-shadow: 0 0 24px rgba(231, 255, 90, 0.55);
}
.hero__description {
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero__description strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; align-items: center; }

.hero__trust {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}
.hero__trust-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero__trust-note .highlight { color: var(--accent-lime); font-weight: 600; }

/* Legacy marquee (kept in case used on other pages) */
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.logo-marquee__item {
  display: flex;
  align-items: center;
  height: 48px;
  flex-shrink: 0;
}
.logo-marquee__item img {
  height: 36px;
  width: auto;
  opacity: 0.75;
  filter: brightness(0) invert(1);
  transition: opacity .2s var(--ease-out);
}
.logo-marquee__item:hover img { opacity: 1; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Trust band — full-bleed premium logo strip
   -------------------------------------------------------------------------- */

.trust-band {
  position: relative;
  width: 100%;
  margin-top: 64px;
  padding: 36px 0 44px;
  background: transparent;
  isolation: isolate;
}
.trust-band::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%);
  pointer-events: none;
}

.trust-band__note {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 26px;
  padding: 0 24px;
}
.trust-band__note .highlight {
  color: var(--accent-lime);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-shadow: 0 0 12px rgba(231, 255, 90, 0.25);
}

/* Trust band cells — 6 static cells with thin dividers, auto-rotating logos */
.trust-cells {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 24px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.trust-cell {
  position: relative;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: background .3s var(--ease-out);
}
.trust-cell:last-child { border-right: none; }
/* 6-column grid: every 6th cell ends a row, so kill its right border. */
.trust-cell:nth-child(6n) { border-right: none; }
/* When the grid wraps to a second row (12-cell layout), draw a divider
   above row 2. */
.trust-cell:nth-child(n+7) { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.trust-cell:hover {
  background: rgba(255, 255, 255, 0.02);
}
.trust-cell__logo {
  /* Visual logo height kept moderate so tightly-cropped PNGs (e.g. Wadi
     Group at 77% pixel coverage) don't dominate over heavily-padded ones
     (e.g. customers/* at 90%+ transparent). 40px is the sweet spot for
     B2B trust strips — Coupa, Stripe, and Salesforce all sit in 28–40px. */
  height: 40px;
  width: auto;
  max-width: 60%;
  max-height: 40px;
  object-fit: contain;
  /* Clean white to match the dark hero aesthetic, slightly dimmed for rhythm */
  filter: brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity .3s var(--ease-out);
  will-change: transform, opacity;
}
.trust-cell:hover .trust-cell__logo { opacity: 1; }

/* Per-logo size compensation: wadi-group.png and arabian-cement.png are
   tightly-cropped feedback-card variants. Scale them down so they read at
   the same visual weight as the heavily-padded customers/*.png logos. */
.trust-cell__logo[src$="wadi-group.png"] {
  max-height: 26px;
  max-width: 38%;
}
.trust-cell__logo[src$="arabian-cement.png"] {
  max-height: 30px;
  max-width: 45%;
}
.trust-cell__logo[src$="cenomi.svg"] {
  max-height: 32px;
}

/* --------------------------------------------------------------------------
   Trust strip (homepage hero) — single-line proof lockup + seamless logo
   marquee. Replaces the 12-cell rotating grid: one quiet line, masked edges,
   pauses on hover. ~80px shorter than the old grid, so the hero story gets
   the fold back.
   -------------------------------------------------------------------------- */

.trust-strip {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  padding: 20px 24px 30px;
}
.trust-strip__lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.trust-strip__stat {
  font-size: clamp(1.6rem, 1.6vw + 0.7rem, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent-lime);
  text-shadow: 0 0 18px rgba(231, 255, 90, 0.28);
  white-space: nowrap;
}
.trust-strip__caption {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.64);
  max-width: 170px;
}
.trust-strip__divider {
  width: 1px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}
.trust-strip__marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.trust-strip__track {
  display: flex;
  align-items: center;
  gap: clamp(44px, 4vw, 68px);
  width: max-content;
}
/* JS clones the logo set, then adds .is-looping — no-JS/reduced-motion get a
   static masked row instead of a track drifting into emptiness. */
.trust-strip__track.is-looping { animation: marquee 55s linear infinite; }
.trust-strip__marquee:hover .trust-strip__track.is-looping { animation-play-state: paused; }
/* Run the marquee LTR-internally even on RTL pages. The old animation-direction:
   reverse hack unanchored the track from the strip's right edge, opening a
   growing empty gap that reset with a visible jump. Forcing the marquee to
   LTR keeps the two-copy translateX(-50%) loop seamless; logos still flow
   right-to-left, which reads naturally in Arabic. */
[dir="rtl"] .trust-strip__marquee { direction: ltr; }
.trust-strip__track img {
  height: 34px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 0.25s var(--ease-out);
}
.trust-strip__track img:hover { opacity: 1; }
/* Same per-logo optical compensation as the cells */
.trust-strip__track img[src$="wadi-group.png"] { height: 24px; }
.trust-strip__track img[src$="arabian-cement.png"] { height: 28px; }
.trust-strip__track img[src$="cenomi.svg"] { height: 30px; }
@media (max-width: 720px) {
  .trust-strip { flex-direction: column; align-items: stretch; gap: 18px; padding: 18px 20px 26px; }
  .trust-strip__lockup { justify-content: center; }
  .trust-strip__divider { display: none; }
  .trust-strip__caption br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-strip__track.is-looping { animation: none; }
}

/* --------------------------------------------------------------------------
   Hero entrance choreography — one orchestrated page-load sequence.
   Pure CSS (animation + both-fill), so it plays without JS and collapses to
   instant-visible under prefers-reduced-motion.
   -------------------------------------------------------------------------- */

@keyframes heroRise {
  from { opacity: 0; transform: translateY(var(--rise, 18px)); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroVisualIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.hero__eyebrow       { --rise: 14px; animation: heroRise 0.65s var(--ease-out) 0.05s both; }
.hero__title         { --rise: 26px; animation: heroRise 0.85s var(--ease-out) 0.14s both; }
.hero__description   { --rise: 20px; animation: heroRise 0.7s var(--ease-out) 0.26s both; }
.hero__cta           { --rise: 18px; animation: heroRise 0.7s var(--ease-out) 0.36s both; }
.hero__trust-points  { --rise: 14px; animation: heroRise 0.7s var(--ease-out) 0.46s both; }
.hero__visual        { animation: heroVisualIn 0.95s var(--ease-out) 0.32s both; }
.hero .trust-band    { --rise: 10px; animation: heroRise 0.9s var(--ease-out) 0.65s both; }

/* Chart draws itself once the mockup has landed (needs pathLength="1" on the
   path). Dotted baseline and area fill fade in after the line completes. */
.app-mockup__chart-svg .chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: chartDraw 1.4s var(--ease-out) 0.9s forwards;
}
@keyframes chartDraw { to { stroke-dashoffset: 0; } }
.app-mockup__chart-svg .chart-dotted {
  opacity: 0;
  animation: chartFadeIn 0.8s var(--ease-out) 1.55s forwards;
}
.app-mockup__chart-svg .chart-area {
  opacity: 0;
  animation: chartFadeIn 0.9s var(--ease-out) 1.75s forwards;
}
@keyframes chartFadeIn { to { opacity: 1; } }

/* Live KPI ticks — JS bumps a value and flashes it mint for a beat */
.app-mockup__stat-value,
.app-mockup__kpi-value { font-variant-numeric: tabular-nums; }
.app-mockup__stat-value.is-tick { animation: statTick 0.8s var(--ease-out); }
@keyframes statTick {
  0%   { color: var(--accent-mint); transform: translateY(-2px); }
  100% { color: inherit; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero__title, .hero__description, .hero__cta,
  .hero__trust-points, .hero__visual, .hero .trust-band,
  .app-mockup__chart-svg .chart-line,
  .app-mockup__chart-svg .chart-dotted,
  .app-mockup__chart-svg .chart-area,
  .app-mockup__stat-value.is-tick { animation: none; }
  .app-mockup__chart-svg .chart-line { stroke-dasharray: none; stroke-dashoffset: 0; }
  .app-mockup__chart-svg .chart-dotted,
  .app-mockup__chart-svg .chart-area { opacity: 1; }
}

/* Vertical fade-up rotation: old logo slides up + fades out, new slides up
   from below + fades in. JS toggles the two classes on swap. */
.trust-cell__logo.is-leaving {
  animation: trustCellOut .45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.trust-cell__logo.is-entering {
  animation: trustCellIn .55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes trustCellOut {
  from { opacity: 0.78; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-20px); }
}
@keyframes trustCellIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 0.78; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-cell__logo.is-leaving,
  .trust-cell__logo.is-entering { animation: none; opacity: 0.78; transform: none; }
}

@media (max-width: 720px) {
  .trust-band { padding: 32px 0 40px; margin-top: 48px; }
  .trust-band__note { margin-bottom: 20px; font-size: 0.7rem; letter-spacing: 0.18em; }
  .trust-cells { grid-template-columns: repeat(3, 1fr); padding: 0 12px; }
  .trust-cells .trust-cell:nth-child(3n) { border-right: none; }
  .trust-cells .trust-cell:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .trust-cell { height: 88px; }
  .trust-cell__logo { height: 32px; max-height: 32px; }
}

/* Desktop: hero fills exactly one viewport — trust-band pinned to bottom.
   Padding redistributed: top breathing room above the eyebrow, zero at
   the bottom so the logo cells sit flush with the viewport edge. */
@media (min-width: 960px) {
  .hero {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  /* Extra top breathing room ONLY on the homepage hero (the one with the
     product mockup + pinned trust band). Subpage heroes keep the standard
     padding — otherwise they get a big empty gap above their centered copy. */
  .hero:has(.app-mockup) { padding-top: 178px; }
  .hero > .container.hero__grid {
    flex: 1 0 auto;
    align-content: center;
  }
  .trust-band {
    margin-top: auto;
    padding: var(--sect-xs) 0 0;
  }
  .trust-band::before { top: 18px; }
  .trust-band__note { margin: 0 0 26px; }

  /* Subpage heroes (no trust band pinned to the bottom) don't need to
     fill the whole viewport — cap them so the next section peeks above
     the fold instead of leaving a block of dead space. */
  .hero:not(:has(.trust-band)) {
    min-height: min(86vh, 760px);
  }
}

/* Short-viewport laptops (13" MacBook) — fit the full hero story
   (eyebrow, title, description, CTAs, proof points, trust band) inside
   one ~800px-tall fold without the mockup crowding the copy. */
@media (min-width: 960px) and (max-height: 900px) {
  .hero { padding-top: 94px; }
  .hero:has(.app-mockup) { padding-top: 172px; }
  .hero__title { font-size: clamp(2.1rem, 3vw, 2.65rem); margin-bottom: 20px; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__description { font-size: 1rem; margin-bottom: 24px; }
  .hero__cta { margin-bottom: 24px; }
  .trust-band { padding: 28px 0 0; }
  .trust-band::before { top: 10px; }
  .trust-band__note { margin: 0 0 16px; font-size: 0.72rem; }
  .trust-cell { height: 76px; }
  .trust-cell__logo { height: 46px; }
  /* short viewports crowd the tall mockup against the nav. Scale the whole
     mockup down uniformly with zoom (shrinks both dimensions AND its layout
     footprint, unlike max-width which just reflows it taller), so the extra
     top padding opens a clear, balanced gap below the menu.
     .hero scope outranks the later base .app-mockup rule (media queries add
     no specificity, so source order would otherwise win). */
  .hero .app-mockup { zoom: 0.88; }
  .hero .hero__visual { min-height: 380px; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}
/* Soft spotlight behind the mockup: gives the illustration presence and
   balances the composition against the bright CTA on the copy side. */
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 4% -2%;
  background:
    radial-gradient(ellipse 66% 56% at 50% 48%, rgba(143, 255, 153, 0.13), transparent 70%),
    radial-gradient(ellipse 48% 40% at 58% 62%, rgba(3, 254, 249, 0.09), transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

/* ---- Hero CTA secondary (watch video) with lime play circle ---- */
.hero__watch {
  padding-left: 18px;
  padding-right: 24px;
  gap: 10px;
  justify-content: center;
}
.hero__watch-icon {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-lime);
  color: var(--hero-bg-dark);
  flex-shrink: 0;
  transition: transform .2s var(--ease-out);
}
.hero__watch:hover .hero__watch-icon { transform: scale(1.1); }
.hero__watch-icon svg { width: 10px; height: 10px; margin-left: 1px; }

/* ---- Case-study variant — animated, attention-grabbing ---- */
.hero__watch--cs {
  position: relative;
  z-index: 2;
  padding: 10px 22px 10px 10px;
  gap: 14px;
  border: 1px solid rgba(231, 255, 90, 0.3);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  overflow: visible;
  isolation: isolate;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), transform .25s var(--ease-out), box-shadow .3s var(--ease-out);
}
.hero__watch--cs:hover,
.hero__watch--cs:focus-visible {
  border-color: rgba(231, 255, 90, 0.65);
  background: rgba(231, 255, 90, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(231, 255, 90, 0.12);
}
.hero__watch--cs .hero__watch-icon {
  position: relative;
  width: 48px; height: 48px;
  background: #0F1A4A;
  overflow: visible;
  box-shadow:
    0 0 0 2px rgba(231, 255, 90, 0.45),
    0 0 28px rgba(231, 255, 90, 0.4);
  z-index: 1;
  flex-shrink: 0;
}
.hero__watch-avatar {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F1A4A 0%, #060A24 100%);
  pointer-events: none;
}
.hero__watch-play {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-lime);
  color: #0F1A4A;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 2px #0F1A4A,
    0 0 12px rgba(231, 255, 90, 0.6);
  z-index: 2;
  pointer-events: none;
}
.hero__watch-play svg {
  width: 10px; height: 10px;
  margin-left: 1px;
}
.hero__watch--cs:hover .hero__watch-play {
  transform: scale(1.12);
  transition: transform .2s var(--ease-out);
}
.hero__watch-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--accent-lime);
  opacity: 0;
  animation: heroWatchRing 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: transform, opacity;
  pointer-events: none;
}
.hero__watch-ring--d1 { animation-delay: 1.1s; }
@keyframes heroWatchRing {
  0%   { transform: scale(1);   opacity: 0.75; }
  80%  { opacity: 0.05; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hero__watch-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 3px;
  line-height: 1;
}
.hero__watch-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #fff;
  line-height: 1.1;
}
.hero__watch-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-lime);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  line-height: 1;
}

/* Subtle breathing glow on the whole button to draw the eye */
.hero__watch--cs::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(ellipse at 24px 50%, rgba(231, 255, 90, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
  pointer-events: none;
  animation: heroWatchBreathe 3.2s ease-in-out infinite;
}
@keyframes heroWatchBreathe {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.8; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-line,
  .hero__watch-ring,
  .hero__watch--cs::before { animation: none !important; }
  .hero__watch-ring { display: none; }
}

/* ---- Trust points below CTAs ---- */
.hero__trust-points {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.hero__trust-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}
.hero__check {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(143, 255, 153, 0.14);
  color: var(--accent-mint);
  flex-shrink: 0;
}
.hero__check svg { width: 11px; height: 11px; }
@media (max-width: 640px) {
  .hero__trust-points { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   App mockup (hero dashboard visual)
   -------------------------------------------------------------------------- */

.app-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #090E30 0%, #050925 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 40px 80px rgba(0, 2, 16, 0.55),
    0 8px 20px rgba(0, 2, 16, 0.35);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform .6s var(--ease-out);
  font-family: var(--font-sans);
  isolation: isolate;
  animation: mockupFloat 10s ease-in-out infinite;
}
.app-mockup:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(0.5deg);
}
@keyframes mockupFloat {
  0%, 100% { transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg) translateY(0); }
  50%      { transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg) translateY(-6px); }
}

.app-mockup__chrome {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}
.app-mockup__dots { display: flex; gap: 6px; }
.app-mockup__dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.app-mockup__url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.app-mockup__body {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  min-height: 440px;
}

/* Sidebar */
.app-mockup__side {
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.12);
}
.app-mockup__brand {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.52);
  padding: 2px 6px 18px;
}
.app-mockup__kpi {
  position: relative;
  background: var(--accent-lime);
  color: var(--hero-bg-dark);
  padding: 12px 12px 10px 30px;
  border-radius: 10px;
  margin-bottom: 18px;
  overflow: hidden;
  isolation: isolate;
}
.app-mockup__kpi::before {
  /* up arrow icon */
  content: "";
  position: absolute;
  left: 10px; top: 14px;
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='19' x2='12' y2='5'/><polyline points='5 12 12 5 19 12'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='19' x2='12' y2='5'/><polyline points='5 12 12 5 19 12'/></svg>") no-repeat center / contain;
}
.app-mockup__kpi::after {
  /* sheen sweep */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: kpiSheen 5s ease-in-out 1.8s infinite;
  z-index: 1;
}
@keyframes kpiSheen {
  0% { transform: translateX(-120%); }
  45%, 100% { transform: translateX(130%); }
}
.app-mockup__kpi-value {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  position: relative; z-index: 2;
}
.app-mockup__kpi-label {
  font-size: 0.68rem;
  opacity: 0.7;
  margin-top: 2px;
  position: relative; z-index: 2;
}

.app-mockup__nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.app-mockup__nav li {
  display: flex; align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  transition: background .2s var(--ease-out);
  cursor: default;
}
.app-mockup__nav li:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.app-mockup__nav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-mint);
  flex-shrink: 0;
  opacity: 0.72;
}
.app-mockup__nav li:nth-child(2) .app-mockup__nav-dot { background: var(--accent-cyan); }
.app-mockup__nav li:nth-child(3) .app-mockup__nav-dot { background: var(--accent-lime); }
.app-mockup__nav li:nth-child(4) .app-mockup__nav-dot { background: var(--accent-mint); }
.app-mockup__nav li:nth-child(5) .app-mockup__nav-dot { background: var(--accent-cyan); }

/* Main panel */
.app-mockup__main { padding: 20px 22px; min-width: 0; }
.app-mockup__crumb {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.app-mockup__crumb strong { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.app-mockup__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.app-mockup__title-row h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.015em;
}
.app-mockup__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(143, 255, 153, 0.14);
  border: 1px solid rgba(143, 255, 153, 0.3);
  color: var(--accent-mint);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.app-mockup__live .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 6px var(--accent-mint);
  animation: pulse 2s ease-in-out infinite;
}

/* Stat cards row */
.app-mockup__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.app-mockup__stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 0;
}
.app-mockup__stat-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.app-mockup__stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.app-mockup__stat-delta {
  font-size: 0.66rem;
  color: var(--accent-mint);
  margin-top: 3px;
  font-weight: 500;
}

/* Chart card */
.app-mockup__chart {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px 14px;
  position: relative;
}
.app-mockup__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 10px;
}
.app-mockup__chart-head .label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}
.app-mockup__tabs {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 2px;
}
.app-mockup__tabs span {
  padding: 3px 8px;
  font-size: 0.66rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  cursor: default;
}
.app-mockup__tabs span.active {
  background: var(--accent-lime);
  color: var(--hero-bg-dark);
  font-weight: 700;
}

.app-mockup__chart-svg {
  width: 100%;
  height: 120px;
  display: block;
}
.chart-area {
  opacity: 0;
  animation: chartFade 1.6s ease-out .6s forwards;
}
.chart-line {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: drawChart 2.4s cubic-bezier(0.22, 1, 0.36, 1) .8s forwards;
}
.chart-dotted {
  opacity: 0;
  animation: chartFade 1.6s ease-out 1.2s forwards;
}
@keyframes drawChart { to { stroke-dashoffset: 0; } }
@keyframes chartFade { to { opacity: 1; } }

/* Floating toast notifications — rotating queue */
.app-mockup__toast-queue {
  position: absolute;
  right: -18px;
  bottom: 58px;
  width: 260px;
  height: 56px;
}
/* RTL: the dashboard mirrors, so the toast hangs off the left edge instead
   of landing on the sidebar */
[dir="rtl"] .app-mockup__toast-queue { right: auto; left: -18px; }
.app-mockup__toast {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink-900);
  border-radius: 12px;
  box-shadow:
    0 14px 30px rgba(0, 2, 16, 0.45),
    0 2px 6px rgba(0, 2, 16, 0.3);
  opacity: 0;
  transform: translateX(40px) translateY(8px) scale(0.96);
  animation: toastCycle 18s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.app-mockup__toast:nth-child(1) { animation-delay: 2.2s; }
.app-mockup__toast:nth-child(2) { animation-delay: 8.2s; }
.app-mockup__toast:nth-child(3) { animation-delay: 14.2s; }
@keyframes toastCycle {
  0%   { opacity: 0; transform: translateX(40px) translateY(8px) scale(0.96); }
  3%   { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
  16%  { opacity: 1; transform: translateX(0) translateY(-3px) scale(1); }
  28%  { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
  31%  { opacity: 0; transform: translateX(-28px) translateY(0) scale(0.96); }
  100% { opacity: 0; transform: translateX(40px) translateY(8px) scale(0.96); }
}
.app-mockup__toast-check {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--surface-green-soft);
  color: var(--brand-green);
  flex-shrink: 0;
}
.app-mockup__toast--sourcing .app-mockup__toast-check { background: var(--surface-blue-soft); color: var(--brand-blue); }
.app-mockup__toast--contract .app-mockup__toast-check { background: var(--surface-cream); color: var(--accent-orange); }
.app-mockup__toast-check svg { width: 12px; height: 12px; }
.app-mockup__toast-title { font-size: 0.8rem; font-weight: 600; line-height: 1.2; }
.app-mockup__toast-sub   { font-size: 0.7rem; color: var(--ink-600); margin-top: 2px; }

/* ---- Chart live data point ---- */
.chart-live-dot {
  position: absolute;
  right: 14px;
  top: 54px;
  width: 8px; height: 8px;
  pointer-events: none;
}
.chart-live-dot .core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #8FFF99;
  box-shadow: 0 0 12px #8FFF99;
  animation: chartLiveCore 2s ease-in-out 3.2s infinite;
}
.chart-live-dot .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid #8FFF99;
  opacity: 0;
  animation: chartLiveRing 2.2s ease-out 3.2s infinite;
}
.chart-live-dot .ring.delay { animation-delay: 4.3s; }
@keyframes chartLiveCore {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.8); opacity: 0.85; }
}
@keyframes chartLiveRing {
  0%   { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(4.5); opacity: 0; }
}

/* ---- Sidebar nav dot activity ---- */
.app-mockup__nav-dot {
  animation: navDotActivity 4.5s ease-in-out infinite;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.app-mockup__nav li:nth-child(1) .app-mockup__nav-dot { animation-delay: 0.2s; }
.app-mockup__nav li:nth-child(2) .app-mockup__nav-dot { animation-delay: 1.1s; }
.app-mockup__nav li:nth-child(3) .app-mockup__nav-dot { animation-delay: 2.0s; }
.app-mockup__nav li:nth-child(4) .app-mockup__nav-dot { animation-delay: 2.9s; }
.app-mockup__nav li:nth-child(5) .app-mockup__nav-dot { animation-delay: 3.8s; }
@keyframes navDotActivity {
  0%, 100% { opacity: 0.55; transform: scale(1); box-shadow: 0 0 0 currentColor; }
  45%      { opacity: 1; transform: scale(1.4); box-shadow: 0 0 8px currentColor; }
  55%      { opacity: 1; transform: scale(1.4); box-shadow: 0 0 8px currentColor; }
}

/* ---- Stat delta subtle pulse ---- */
.app-mockup__stat-delta { animation: statDeltaPulse 4s ease-in-out infinite; }
.app-mockup__stats .app-mockup__stat:nth-child(2) .app-mockup__stat-delta { animation-delay: 1.3s; }
.app-mockup__stats .app-mockup__stat:nth-child(3) .app-mockup__stat-delta { animation-delay: 2.6s; }
@keyframes statDeltaPulse {
  0%, 100% { opacity: 0.85; text-shadow: none; }
  50%      { opacity: 1; text-shadow: 0 0 10px rgba(143, 255, 153, 0.5); }
}

/* ---- Scanner sweep across the whole mockup ---- */
.app-mockup::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -30%;
  width: 30%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(143, 255, 153, 0.08) 35%,
    rgba(3, 254, 249, 0.1) 50%,
    rgba(143, 255, 153, 0.08) 65%,
    transparent 100%);
  pointer-events: none;
  z-index: 6;
  filter: blur(2px);
  animation: mockupScan 16s ease-in-out 5s infinite;
  opacity: 0;
}
@keyframes mockupScan {
  0%, 100% { left: -30%; opacity: 0; }
  3%       { opacity: 1; }
  47%      { left: 105%; opacity: 1; }
  52%      { opacity: 0; }
  60%, 100% { left: 105%; opacity: 0; }
}

/* ---- Traveling glow along the frame edge — "noodle" light ----
   Uses @property to smoothly interpolate the conic-gradient angle.
   Browsers without @property support fall back to a choppy but
   still functional rotation. */
@property --gleam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.app-mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--gleam-angle),
    transparent 0%,
    transparent 78%,
    rgba(143, 255, 153, 0.35) 85%,
    rgba(231, 255, 90, 0.9) 90%,
    #E7FF5A 92%,
    rgba(231, 255, 90, 0.9) 94%,
    rgba(143, 255, 153, 0.35) 99%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 7;
  filter: drop-shadow(0 0 6px rgba(231, 255, 90, 0.55));
  animation: mockupGleam 5.5s linear infinite;
}
@keyframes mockupGleam {
  to { --gleam-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .app-mockup::after { animation: none; }
}

@media (max-width: 1100px) {
  .app-mockup { transform: none; animation: none; }
  .app-mockup:hover { transform: none; }
}
@media (max-width: 720px) {
  .app-mockup__body { grid-template-columns: 120px minmax(0, 1fr); min-height: 0; }
  .app-mockup__url { display: none; }
  .app-mockup__stat-value { font-size: 0.95rem; }
  .app-mockup__toast { right: 8px; bottom: 12px; min-width: 0; }
  .app-mockup__toast-sub { display: none; }
}

@media (max-width: 960px) {
  /* top padding must clear the fixed nav — keep it fixed, not fluid */
  .hero { padding: 110px 0 var(--sect-sm); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: 360px; }
}

/* --------------------------------------------------------------------------
   Section rhythm (Work mode)
   -------------------------------------------------------------------------- */

.section {
  padding: var(--sect-md) 0;
  position: relative;
}
.section--tight { padding: var(--sect-sm) 0; }

.section--white { background: var(--canvas); }
.section--green-soft { background: var(--surface-green-soft); }
.section--green-softer { background: var(--surface-green-softer); }
.section--blue-soft { background: var(--surface-blue-soft); }
.section--blue-tint { background: var(--surface-blue-tint); }
.section--cream { background: var(--surface-cream); }
.section--statement {
  color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 760px at 50% -8%, rgba(2, 3, 233, 0.34), transparent 62%),
    linear-gradient(180deg,
      var(--tx-d0) 0%,
      var(--tx-d1) 32%,
      var(--tx-d2) 64%,
      var(--tx-d3) 90%,
      var(--tx-d4) 100%);
}
.section--statement h2, .section--statement h3 { color: #fff; }
.section--statement p { color: rgba(255, 255, 255, 0.78); }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}
.section__subtitle {
  font-size: 1.1rem;
  color: var(--ink-600);
  margin: 0 auto;
  max-width: 640px;
}

@media (max-width: 720px) {
  .section { padding: var(--sect-sm) 0; }
  .section__head { margin-bottom: 40px; }
}

/* --------------------------------------------------------------------------
   Value prop grid (4 pillars)
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
  position: relative;
  overflow: hidden;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(2, 3, 233, 0.12);
}
.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--surface-green-soft);
  color: var(--brand-green);
}
.pillar:nth-child(2) .pillar__icon { background: var(--surface-blue-soft); color: var(--brand-blue); }
.pillar:nth-child(3) .pillar__icon { background: var(--surface-cream); color: var(--accent-orange); }
.pillar:nth-child(4) .pillar__icon { background: var(--accent-orange-soft); color: #D97706; }
.pillar h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pillar p { font-size: 0.92rem; margin: 0; color: var(--ink-600); }

@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Feature row (alternating image + content)
   -------------------------------------------------------------------------- */

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.feature-row__body,
.feature-row__media { min-width: 0; }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row--reverse .feature-row__body { order: 1; }

.feature-row__body { max-width: 520px; }

.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-blue-soft);
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.feature-label--green { background: var(--surface-green-soft); color: var(--brand-green); }
.feature-label--orange { background: var(--surface-cream); color: var(--accent-orange); }
.feature-label--navy { background: var(--surface-blue-tint); color: var(--hero-bg); }
.feature-label__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

.feature-row__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
}
.feature-row__desc {
  font-size: 1rem;
  color: var(--ink-600);
  margin-bottom: 24px;
}

.feature-row__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out);
}
.feature-row__media:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-row__media img { width: 100%; display: block; }

/* --- Accordion / FAQ slider --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--divider);
}
.accordion__item { border-bottom: 1px solid var(--divider); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  text-align: left;
  line-height: 1.3;
  transition: color .2s var(--ease-out);
}
.accordion__trigger:hover { color: var(--brand-blue); }
.accordion__icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-blue-soft);
  color: var(--brand-blue);
  display: grid; place-items: center;
  transition: transform .25s var(--ease-out), background .2s, color .2s;
}
.accordion__icon::before {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-left: -2px;
}
.accordion__item--open .accordion__trigger { color: var(--brand-blue); }
.accordion__item--open .accordion__icon {
  transform: rotate(90deg);
  background: var(--brand-blue);
  color: #fff;
}
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-in-out);
}
.accordion__panel-inner {
  padding: 0 0 18px;
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.6;
}
.accordion__panel-inner .link-arrow {
  font-size: 0.9rem;
  margin-top: 12px;
  display: inline-flex;
}

/* Feature media for device mockup feel */
.device-frame {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.device-frame::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(143, 255, 153, 0.2), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.device-frame img { border-radius: calc(var(--radius-lg) - 8px); width: 100%; }

@media (max-width: 960px) {
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row--reverse .feature-row__media { order: initial; }
  .feature-row--reverse .feature-row__body { order: initial; }
}

/* --------------------------------------------------------------------------
   Product showcase (premium tabbed feature panel)
   -------------------------------------------------------------------------- */

.showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sect-lg) 0 var(--sect-lg);
  background:
    linear-gradient(180deg, #000210 0%, #001277 55%, #050925 100%);
  color: #fff;
}

/* Ambient background — floating glows + masked grid */
.showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.showcase__grid-bg {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 1400px 700px at 50% 45%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 1400px 700px at 50% 45%, black 30%, transparent 85%);
  animation: showcaseGridDrift 90s linear infinite;
}
@keyframes showcaseGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 96px 96px, 96px 96px; }
}
.showcase__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: showcaseGlowDrift 22s ease-in-out infinite;
  will-change: transform;
}
.showcase__glow--lime {
  width: 520px; height: 520px;
  top: -10%; right: -5%;
  background: radial-gradient(circle, rgba(0, 40, 246, 0.34), transparent 70%);
  opacity: 0.7;
  animation-duration: 18s;
}
.showcase__glow--cyan {
  width: 480px; height: 480px;
  bottom: -8%; left: -6%;
  background: radial-gradient(circle, rgba(10, 255, 248, 0.10), transparent 70%);
  opacity: 0.55;
  animation-duration: 22s;
  animation-delay: -6s;
}
.showcase__glow--blue {
  width: 420px; height: 420px;
  top: 40%; right: 32%;
  background: radial-gradient(circle, rgba(29, 30, 231, 0.55), transparent 70%);
  opacity: 0.5;
  animation-duration: 26s;
  animation-delay: -11s;
}
@keyframes showcaseGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.06); }
  66%      { transform: translate(-24px, 22px) scale(0.96); }
}

.showcase__inner { position: relative; z-index: 1; }

.showcase__head { text-align: center; max-width: 880px; margin: 0 auto 56px; }
.showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(143, 255, 153, 0.08);
  border: 1px solid rgba(143, 255, 153, 0.28);
  color: var(--accent-mint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.showcase__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 0 4px rgba(143, 255, 153, 0.22);
  animation: showcaseDotPulse 2s ease-in-out infinite;
}
@keyframes showcaseDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(143, 255, 153, 0.22); }
  50%      { box-shadow: 0 0 0 7px rgba(143, 255, 153, 0.06); }
}
.showcase__title {
  color: #fff;
  font-size: clamp(2rem, 2.79vw, 2.76rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  font-weight: 800;
}
.showcase__accent {
  font-style: normal;
  background: linear-gradient(95deg, #E7FF5A 0%, #8FFF99 50%, #03FEF9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.showcase__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 620px;
}

/* Tab bar with sliding indicator */
.showcase__tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 auto 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.showcase__tabs-wrap {
  display: flex;
  justify-content: center;
}
.showcase__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color .2s var(--ease-out);
  white-space: nowrap;
}
.showcase__tab:hover { color: #fff; }
.showcase__tab svg { width: 16px; height: 16px; }
.showcase__tab--active { color: var(--hero-bg-dark); font-weight: 600; }
.showcase__tab-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-lime) 0%, var(--accent-mint) 100%);
  box-shadow: 0 6px 20px rgba(143, 255, 153, 0.3);
  transition: transform .4s cubic-bezier(0.65, 0, 0.35, 1), width .4s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.showcase__tab-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, rgba(0, 2, 16, 0.4), rgba(0, 2, 16, 0.7));
  border-radius: 999px;
  transition: width 0.1s linear;
}
.showcase__tabs.is-rotating .showcase__tab-progress {
  animation: showcaseTabRotate var(--rotate-duration, 6500ms) linear forwards;
}
.showcase__tabs.is-rotating.is-paused .showcase__tab-progress { animation-play-state: paused; }
@keyframes showcaseTabRotate {
  from { width: 0; }
  to   { width: 100%; }
}

/* Panels */
.showcase__panels { position: relative; }

/* Stacked layout — 7 modules alternating sides, with scroll animation scaffolding */
.showcase__panels--stacked {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 6vw + 16px, 120px);
  margin-top: var(--space-xl);
}

/* Ambient spotlight that tracks the currently-focused module.
   Positioned via JS using translate3d — will-change keeps it GPU-promoted. */
.showcase__spotlight {
  position: absolute;
  top: 0;
  left: 50%;
  width: 900px;
  height: 900px;
  margin-left: -450px;
  margin-top: -450px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(143, 255, 153, 0.14) 0%, rgba(143, 255, 153, 0.06) 40%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity .8s var(--ease-out), transform .8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.showcase__panels--stacked.is-spotlight-active .showcase__spotlight { opacity: 1; }

/* Side rail — FIXED to viewport left, follows user while scrolling through
   the product section. JS toggles .is-visible when panels are in view. */
.showcase__rail {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: auto;
  pointer-events: none;
  z-index: 50;
  display: none;
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
@media (min-width: 1180px) {
  .showcase__rail { display: block; }
}
.showcase__rail.is-visible {
  opacity: 1;
}
.showcase__rail-inner {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 480px;
  pointer-events: auto;
}
.showcase__rail-track {
  position: absolute;
  left: 50%;
  top: 14px;
  bottom: 14px;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.showcase__rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--rail-progress, 0%);
  background: linear-gradient(180deg,
    var(--accent-lime) 0%,
    var(--accent-mint) 50%,
    var(--brand-green) 100%);
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(143, 255, 153, 0.55);
  transition: height .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase__rail-node {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10, 15, 40, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform .35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background .3s var(--ease-out),
    border-color .3s var(--ease-out),
    color .3s var(--ease-out),
    box-shadow .3s var(--ease-out);
}
.showcase__rail-node:hover {
  transform: translate(-50%, -50%) scale(1.15);
  border-color: var(--accent-lime);
  color: var(--accent-lime);
}
.showcase__rail-node.is-reached {
  background: rgba(58, 141, 73, 0.9);
  border-color: var(--brand-green);
  color: #fff;
}
.showcase__rail-node.is-active {
  transform: translate(-50%, -50%) scale(1.3);
  background: var(--accent-lime);
  border-color: var(--accent-lime);
  color: var(--ink-900);
  box-shadow:
    0 0 0 6px rgba(231, 255, 90, 0.15),
    0 0 22px rgba(231, 255, 90, 0.5);
}
.showcase__rail-node.is-active::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent-lime);
  opacity: 0;
  animation: railNodePulse 1.8s ease-out infinite;
}
@keyframes railNodePulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

/* --- Circular progress ring around each node ---
   Fills over the total module duration (VARIANT_MS × bullet count) so the
   user sees how much of the active module is left before advancing.
   Appears only on the active node; inactive nodes show track only faintly. */
.showcase__rail-ring {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  transform: rotate(-90deg); /* start fill from 12 o'clock */
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.showcase__rail-node.is-active .showcase__rail-ring,
.showcase__rail-node.is-reached .showcase__rail-ring {
  opacity: 1;
}
.showcase__rail-ring circle {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.showcase__rail-ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}
.showcase__rail-ring-fill {
  stroke: var(--accent-lime);
  /* Circumference: 2 * π * 20 ≈ 125.66 */
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66; /* starts empty */
  filter: drop-shadow(0 0 5px rgba(231, 255, 90, 0.55));
}
/* Active ring: animate fill from empty → full over total module duration.
   10.5s = 3 variants × 3.5s each (matches VARIANT_MS in JS). */
.showcase__rail-node.is-active .showcase__rail-ring-fill {
  animation: railRingFill 10.5s linear forwards;
}
/* Reached nodes: keep ring at 100% (module was fully viewed) */
.showcase__rail-node.is-reached .showcase__rail-ring-fill {
  stroke-dashoffset: 0;
  stroke: rgba(143, 255, 153, 0.75);
  filter: drop-shadow(0 0 3px rgba(143, 255, 153, 0.5));
}
@keyframes railRingFill {
  from { stroke-dashoffset: 125.66; }
  to   { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase__rail-node.is-active .showcase__rail-ring-fill { animation: none; stroke-dashoffset: 62.83; }
}
/* Position nodes evenly along the rail — 7 nodes, padded 14px top/bottom */
.showcase__rail-node[data-rail-node="0"] { top: calc(14px); transform: translate(-50%, 0); }
.showcase__rail-node[data-rail-node="1"] { top: calc(14px + (100% - 28px) * 0.1667); }
.showcase__rail-node[data-rail-node="2"] { top: calc(14px + (100% - 28px) * 0.3333); }
.showcase__rail-node[data-rail-node="3"] { top: calc(14px + (100% - 28px) * 0.5000); }
.showcase__rail-node[data-rail-node="4"] { top: calc(14px + (100% - 28px) * 0.6667); }
.showcase__rail-node[data-rail-node="5"] { top: calc(14px + (100% - 28px) * 0.8333); }
.showcase__rail-node[data-rail-node="6"] { top: calc(100% - 14px); transform: translate(-50%, -100%); }
.showcase__rail-node[data-rail-node="0"]:hover,
.showcase__rail-node[data-rail-node="0"].is-active { transform: translate(-50%, 0) scale(1.2); }
.showcase__rail-node[data-rail-node="6"]:hover,
.showcase__rail-node[data-rail-node="6"].is-active { transform: translate(-50%, -100%) scale(1.2); }

/* --- Per-panel scroll-driven effects using --panel-progress (0→1) ---
   Set by JS: 0 = panel bottom at viewport bottom, 1 = panel top at viewport top. */
.showcase__panel--static {
  --panel-progress: 0;
}

/* Mock has a subtle intro lift + tilt tied to scroll progress —
   feels like the device is settling into focus as you scroll to it. */
.showcase__panel--static .showcase__device {
  transform:
    perspective(1200px)
    rotateY(calc((0.5 - var(--panel-progress)) * -6deg))
    rotateX(calc((0.5 - var(--panel-progress)) * 1.5deg))
    translateY(calc((0.5 - var(--panel-progress)) * 14px))
    scale(calc(0.985 + var(--panel-progress) * 0.015));
  transition: transform .2s linear;
}
.showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__device {
  transform:
    perspective(1200px)
    rotateY(calc((0.5 - var(--panel-progress)) * 6deg))
    rotateX(calc((0.5 - var(--panel-progress)) * 1.5deg))
    translateY(calc((0.5 - var(--panel-progress)) * 14px))
    scale(calc(0.985 + var(--panel-progress) * 0.015));
}

/* Body content subtly translates as panel travels through viewport */
.showcase__panel--static .showcase__body {
  transform: translateY(calc((0.5 - var(--panel-progress)) * 20px));
  transition: transform .15s linear;
}

/* Focused panel gets a soft lift to its device shadow and accent pulse */
.showcase__panel--static.is-focused .showcase__device {
  box-shadow:
    0 40px 80px rgba(0, 2, 16, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 60px rgba(143, 255, 153, 0.15);
}
.showcase__panel--static.is-focused .showcase__cta {
  animation: focusedCtaPulse 2.4s ease-in-out infinite;
}
@keyframes focusedCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231, 255, 90, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(231, 255, 90, 0.12), 0 8px 24px rgba(231, 255, 90, 0.25); }
}

/* Reduced-motion: freeze all of the above */
@media (prefers-reduced-motion: reduce) {
  .showcase__panel--static .showcase__device,
  .showcase__panel--static .showcase__body {
    transform: none !important;
  }
  .showcase__panel--static.is-focused .showcase__cta { animation: none; }
  .showcase__spotlight { display: none; }
  .showcase__rail-node.is-active::after { display: none; }
  .showcase__rail-fill { transition: none; }
}

/* Mobile: hide rail + spotlight (already hidden at <1280px for rail). */
@media (max-width: 1280px) {
  .showcase__spotlight { display: none; }
  .showcase__panel--static { --panel-progress: 0.5; }
  .showcase__panel--static .showcase__device,
  .showcase__panel--static .showcase__body { transform: none; }
}

/* Section header (replaces the tab bar) */
.showcase__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 24px;
}

/* Module quick-nav — anchor links, not clickable tabs */
.showcase__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.showcase__nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color .25s var(--ease-out), border-color .25s var(--ease-out), background .25s var(--ease-out), transform .25s var(--ease-out);
}
.showcase__nav a:hover,
.showcase__nav a:focus-visible {
  color: var(--accent-lime);
  border-color: rgba(231, 255, 90, 0.38);
  background: rgba(231, 255, 90, 0.06);
  transform: translateY(-1px);
}
.showcase__nav-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.42);
  transition: color .25s var(--ease-out);
}
.showcase__nav a:hover .showcase__nav-num { color: var(--accent-lime); }

/* Static panels — always rendered, revealed on scroll via .is-inview */
.showcase__panel--static {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 72px;
  align-items: stretch;
  scroll-margin-top: 100px;
  /* No scroll-snap here: snap-stop on these tall panels hijacked trackpad
     momentum (especially scrolling up). The quick-nav anchors still land
     cleanly via scroll-margin-top. */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.showcase__panel--static.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Alternate: even modules flip the grid — body on left, visual on right */
.showcase__panels--stacked .showcase__panel--static:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
.showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__visual { order: 2; }
.showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__body   { order: 1; }

/* Mirror the device tilt on flipped modules for visual balance */
.showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__device {
  transform: perspective(1200px) rotateY(4deg) rotateX(1deg);
}
.showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__device:hover {
  transform: perspective(1200px) rotateY(2deg) rotateX(0.5deg);
}

/* Float chip + metric to the opposite corner on flipped modules */
.showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__chip {
  left: -16px;
  right: auto;
}
.showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__metric--tl {
  left: auto;
  right: -24px;
}

/* Module number badge — prominent 01 / 04 at the top of each body */
.showcase__module-num {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}
.showcase__module-num span {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-lime);
  text-shadow: 0 0 16px rgba(231, 255, 90, 0.3);
}
.showcase__module-num span:last-child {
  color: rgba(255, 255, 255, 0.36);
  text-shadow: none;
  font-size: 0.95rem;
}
.showcase__module-num em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
  font-size: 1rem;
}

/* Staggered reveal of body elements when panel enters viewport */
.showcase__panel--static.is-inview .showcase__bullet {
  opacity: 0;
  transform: translateX(-12px);
  animation: showcaseBulletIn .5s var(--ease-out) forwards;
}
.showcase__panel--static.is-inview .showcase__bullet:nth-child(1) { animation-delay: 0.18s; }
.showcase__panel--static.is-inview .showcase__bullet:nth-child(2) { animation-delay: 0.32s; }
.showcase__panel--static.is-inview .showcase__bullet:nth-child(3) { animation-delay: 0.46s; }
@keyframes showcaseBulletIn {
  to { opacity: 1; transform: translateX(0); }
}
.showcase__panel--static.is-inview .showcase__module-num,
.showcase__panel--static.is-inview .showcase__label,
.showcase__panel--static.is-inview .showcase__h,
.showcase__panel--static.is-inview .showcase__p,
.showcase__panel--static.is-inview .showcase__cta {
  opacity: 0;
  animation: showcaseFadeUp .55s var(--ease-out) forwards;
}
.showcase__panel--static.is-inview .showcase__module-num { animation-delay: 0.02s; }
.showcase__panel--static.is-inview .showcase__label      { animation-delay: 0.08s; }
.showcase__panel--static.is-inview .showcase__h          { animation-delay: 0.16s; }
.showcase__panel--static.is-inview .showcase__p          { animation-delay: 0.24s; }
.showcase__panel--static.is-inview .showcase__cta        { animation-delay: 0.58s; }
@keyframes showcaseFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Respect reduced-motion — skip entrance animations */
@media (prefers-reduced-motion: reduce) {
  .showcase__panel--static { opacity: 1 !important; transform: none !important; transition: none !important; }
  .showcase__panel--static .showcase__bullet,
  .showcase__panel--static .showcase__module-num,
  .showcase__panel--static .showcase__label,
  .showcase__panel--static .showcase__h,
  .showcase__panel--static .showcase__p,
  .showcase__panel--static .showcase__cta { opacity: 1 !important; animation: none !important; transform: none !important; }
}

/* Mobile: stack each panel's columns vertically */
@media (max-width: 900px) {
  .showcase__panels--stacked { gap: 80px; }
  .showcase__panel--static,
  .showcase__panels--stacked .showcase__panel--static:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__visual { order: 1; }
  .showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__body   { order: 2; }
  .showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__chip { left: auto; right: -16px; }
  .showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__metric--tl { left: -24px; right: auto; }
  /* Device: drop aspect-ratio, give mocks room on narrow screens */
  .showcase__device {
    aspect-ratio: auto;
    min-height: 400px;
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
  }
  .showcase__panels--stacked .showcase__panel--static:nth-child(even) .showcase__device {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
  }
}
@media (max-width: 560px) {
  .showcase__device { min-height: 380px; padding: 8px; }
}

/* Floating value metric — the big business-value highlight that hovers
   over the device screenshot. Slides in each panel switch. */
.showcase__metric {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #0F1A4A 0%, #060A24 100%);
  border: 1px solid rgba(231, 255, 90, 0.3);
  border-radius: 16px;
  box-shadow:
    0 20px 40px rgba(0, 2, 16, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(-12px) scale(0.92);
  transition: opacity .7s cubic-bezier(0.22, 1, 0.36, 1), transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase__metric--tl { top: -20px; left: -24px; }
.showcase__panel--static.is-inview .showcase__metric {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: .35s;
}
.showcase__metric::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(231, 255, 90, 0.4), rgba(3, 254, 249, 0.25));
  z-index: -1;
  opacity: 0.5;
  filter: blur(6px);
}
.showcase__metric-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: rgba(231, 255, 90, 0.14);
  color: var(--accent-lime);
  flex-shrink: 0;
  animation: showcaseMetricIconSpin 14s linear infinite;
}
.showcase__metric-icon svg { width: 20px; height: 20px; }
@keyframes showcaseMetricIconSpin {
  0%, 92% { transform: rotate(0); }
  100%    { transform: rotate(360deg); }
}
.showcase__metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
}
.showcase__metric-unit {
  color: var(--accent-lime);
  margin-left: 2px;
}
.showcase__metric-label {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Visual column - floating device frame, stretches to match body height */
.showcase__visual {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.showcase__device {
  position: relative;
  border-radius: 20px;
  padding: 10px;
  flex: 1;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 40px 80px rgba(0, 2, 16, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transition: transform .6s var(--ease-out);
}
.showcase__device:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(0.5deg);
}

/* Mock-set holds multiple mock variants — crossfades on bullet click */
.mock-set {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
}
.mock-set > .mock {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  /* Slower, more deliberate crossfade so users can read each variant
     before it transitions to the next. */
  transition:
    opacity .75s cubic-bezier(0.4, 0, 0.2, 1),
    transform .85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.mock-set > .mock--active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}
.showcase__device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  transition: opacity .18s var(--ease-out);
}

/* ======================================================================
   FEATURE MOCKUPS — custom HTML/CSS previews that replace screenshots
   Built once, styled for theme coherence, fully responsive.
   ====================================================================== */

.mock {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  background: linear-gradient(180deg, #E8ECF3 0%, #D8DEE9 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #0F1A4A;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

/* Window chrome */
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #DDE3ED 0%, #CED5E2 100%);
  border-bottom: 1px solid rgba(15, 26, 74, 0.1);
  flex-shrink: 0;
  min-width: 0;
}
.mock__dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.mock__dots i { display: block; width: 9px; height: 9px; border-radius: 50%; }
.mock__dots i:nth-child(1) { background: #FF6B6B; }
.mock__dots i:nth-child(2) { background: #FFD166; }
.mock__dots i:nth-child(3) { background: #06D6A0; }
.mock__crumb {
  flex: 1;
  min-width: 0;
  font-size: 0.7rem;
  color: rgba(15, 26, 74, 0.6);
  font-weight: 500;
  letter-spacing: 0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mock__chrome-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}
.mock__chrome-pill--live     { background: rgba(225, 52, 69, 0.1); color: #D63644; }
.mock__chrome-pill--pending  { background: rgba(231, 200, 90, 0.22); color: #7B6B14; }
.mock__chrome-pill--active   { background: rgba(29, 30, 231, 0.1); color: #1D1EE7; }
.mock__chrome-pill--ok       { background: rgba(58, 141, 73, 0.12); color: #2F7B3D; }
.mock__chrome-pill--live::before {
  content: "";
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #D63644;
  box-shadow: 0 0 6px rgba(225, 52, 69, 0.7);
  animation: mockPulse 1.4s ease-in-out infinite;
}

/* Body */
.mock__body {
  flex: 1;
  min-height: 0;
  min-width: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

/* Avatar */
.mock__av {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #0F1A4A;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

@keyframes mockPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.7); }
}

/* ========== MOCK 01 · Purchase Requisition ========== */
.mock-pr__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 26, 74, 0.07);
  min-width: 0;
}
.mock-pr__title-wrap { min-width: 0; }
.mock-pr__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F1A4A;
  margin-bottom: 3px;
  letter-spacing: -0.005em;
}
.mock-pr__sub {
  font-size: 0.66rem;
  color: rgba(15, 26, 74, 0.55);
}
.mock-pr__amount { text-align: right; flex-shrink: 0; }
.mock-pr__amount-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F1A4A;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.mock-pr__amount-lbl {
  font-size: 0.56rem;
  font-weight: 700;
  color: rgba(15, 26, 74, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.mock-pr__progress-bar {
  height: 5px;
  background: rgba(15, 26, 74, 0.07);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.mock-pr__progress-fill {
  position: absolute;
  inset: 0;
  width: 66%;
  background: linear-gradient(90deg, #3A8D49 0%, #8FFF99 100%);
  border-radius: 3px;
  transform-origin: left;
  animation: mockBarGrow 1.4s cubic-bezier(0.22, 1, 0.36, 1) .2s both;
}
@keyframes mockBarGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mock-pr__progress-lbl {
  margin-top: 7px;
  font-size: 0.65rem;
  color: rgba(15, 26, 74, 0.55);
}
.mock-pr__progress-lbl strong { color: #0F1A4A; font-weight: 700; }
.mock-pr__steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-height: 0;
}
.mock-pr__step {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #F5F7FB;
  border: 1px solid transparent;
  min-width: 0;
}
.mock-pr__step--active {
  background: linear-gradient(90deg, rgba(231, 255, 90, 0.16) 0%, rgba(231, 255, 90, 0.04) 100%);
  border-color: rgba(231, 255, 90, 0.4);
}
.mock-pr__step-body { flex: 1; min-width: 0; }
.mock-pr__step-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0F1A4A;
  letter-spacing: -0.002em;
}
.mock-pr__step-meta {
  font-size: 0.6rem;
  color: rgba(15, 26, 74, 0.55);
  margin-top: 1px;
}
.mock-pr__tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #3A8D49;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mock-pr__tick svg { width: 12px; height: 12px; }
.mock-pr__ping {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #E7FF5A;
  box-shadow: 0 0 0 4px rgba(231, 255, 90, 0.25);
  animation: mockPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ========== MOCK 02 · e-RFx ========== */
.mock-rfx__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mock-rfx__stat {
  padding: 9px 10px;
  background: #F5F7FB;
  border-radius: 10px;
  text-align: left;
  min-width: 0;
}
.mock-rfx__stat--accent {
  background: linear-gradient(135deg, rgba(29, 30, 231, 0.08) 0%, rgba(3, 254, 249, 0.1) 100%);
  border: 1px solid rgba(29, 30, 231, 0.18);
}
.mock-rfx__stat-val {
  font-size: 1rem;
  font-weight: 800;
  color: #0F1A4A;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.mock-rfx__stat--accent .mock-rfx__stat-val { color: #1D1EE7; }
.mock-rfx__stat-lbl {
  font-size: 0.58rem;
  color: rgba(15, 26, 74, 0.55);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.mock-rfx__table {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #FAFBFE;
  border: 1px solid rgba(15, 26, 74, 0.06);
  border-radius: 10px;
  padding: 8px;
}
.mock-rfx__thead,
.mock-rfx__row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 0.6fr 0.6fr;
  gap: 8px;
  padding: 8px 10px;
  align-items: center;
  font-variant-numeric: tabular-nums;
  min-width: 0;
}
.mock-rfx__thead {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 26, 74, 0.5);
  padding: 4px 10px;
  border-bottom: 1px solid rgba(15, 26, 74, 0.07);
}
.mock-rfx__row {
  background: #fff;
  border-radius: 8px;
  font-size: 0.7rem;
  color: #0F1A4A;
}
.mock-rfx__row--best {
  background: linear-gradient(90deg, rgba(58, 141, 73, 0.08) 0%, rgba(143, 255, 153, 0.05) 100%);
  border: 1px solid rgba(58, 141, 73, 0.22);
  position: relative;
}
.mock-rfx__row--best::before {
  content: "WINNER";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(-4px, -50%) rotate(-90deg);
  transform-origin: right center;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #2F7B3D;
  opacity: 0;
}
.mock-rfx__supplier {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-rfx__rank {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #0F1A4A;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.56rem;
  font-weight: 800;
  flex-shrink: 0;
}
.mock-rfx__row--best .mock-rfx__rank { background: #2F7B3D; }
.mock-rfx__bid {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.mock-rfx__row--best .mock-rfx__bid { color: #2F7B3D; }
.mock-rfx__score {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(15, 26, 74, 0.07);
  font-size: 0.6rem;
  font-weight: 800;
  color: #0F1A4A;
  font-style: normal;
  letter-spacing: 0.02em;
}
.mock-rfx__score--good {
  background: rgba(58, 141, 73, 0.15);
  color: #2F7B3D;
}

/* ========== MOCK 03 · e-Auctions ========== */
.mock-auc__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mock-auc__timer,
.mock-auc__lowest {
  padding: 10px 12px;
  border-radius: 10px;
  background: #F5F7FB;
}
.mock-auc__timer {
  background: linear-gradient(135deg, #0F1A4A 0%, #060A24 100%);
  color: #fff;
}
.mock-auc__timer-val {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #E7FF5A;
}
.mock-auc__timer-val span { display: inline-block; min-width: 1.1em; }
.mock-auc__timer-sec { animation: mockCountBlink 1s steps(2) infinite; }
@keyframes mockCountBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.mock-auc__timer-lbl {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}
.mock-auc__lowest-lbl {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(15, 26, 74, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mock-auc__lowest-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1D1EE7;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin: 4px 0 2px;
}
.mock-auc__lowest-delta {
  font-size: 0.6rem;
  font-weight: 700;
  color: #2F7B3D;
}
.mock-auc__chart {
  height: 70px;
  background: #FAFBFE;
  border-radius: 10px;
  padding: 8px;
  border: 1px solid rgba(15, 26, 74, 0.06);
}
.mock-auc__chart svg { width: 100%; height: 100%; }
.mock-auc__board {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-height: 0;
}
.mock-auc__bidder {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
  background: #F5F7FB;
  font-size: 0.7rem;
  min-width: 0;
}
.mock-auc__bidder--first {
  background: linear-gradient(90deg, rgba(29, 30, 231, 0.08) 0%, rgba(29, 30, 231, 0.02) 100%);
  border: 1px solid rgba(29, 30, 231, 0.25);
}
.mock-auc__medal {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #CBD5E1;
  color: #0F1A4A;
  display: grid;
  place-items: center;
  font-size: 0.56rem;
  font-weight: 800;
  flex-shrink: 0;
}
.mock-auc__bidder--first .mock-auc__medal { background: #1D1EE7; color: #fff; }
.mock-auc__bidder-name {
  font-weight: 600;
  color: #0F1A4A;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-auc__bidder-bid {
  font-weight: 800;
  color: #0F1A4A;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.mock-auc__bidder--first .mock-auc__bidder-bid { color: #1D1EE7; }

/* ========== MOCK 04 · Supplier Management ========== */
.mock-sup__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 26, 74, 0.07);
}
.mock-sup__avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3A8D49 0%, #88A51F 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.mock-sup__head-body { min-width: 0; }
.mock-sup__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F1A4A;
  letter-spacing: -0.005em;
  margin-bottom: 3px;
}
.mock-sup__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
}
.mock-sup__stars {
  display: inline-flex;
  gap: 1px;
  color: #F5B800;
}
.mock-sup__stars svg { width: 11px; height: 11px; }
.mock-sup__rating-val { font-weight: 700; color: #0F1A4A; }
.mock-sup__rating-count { color: rgba(15, 26, 74, 0.5); }

.mock-sup__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mock-sup__kpi {
  padding: 10px;
  background: #F5F7FB;
  border-radius: 10px;
  text-align: center;
  min-width: 0;
}
.mock-sup__kpi-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F1A4A;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.mock-sup__kpi-val em {
  font-style: normal;
  font-size: 0.65em;
  color: rgba(15, 26, 74, 0.55);
  margin-left: 1px;
  font-weight: 700;
}
.mock-sup__kpi-lbl {
  font-size: 0.56rem;
  color: rgba(15, 26, 74, 0.55);
  margin-top: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.mock-sup__docs-title {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(15, 26, 74, 0.5);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.mock-sup__docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.mock-sup__doc {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #F5F7FB;
  font-size: 0.66rem;
  font-weight: 600;
  color: #0F1A4A;
  min-width: 0;
}
.mock-sup__doc-tick {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 800;
  flex-shrink: 0;
}
.mock-sup__doc--ok { background: rgba(58, 141, 73, 0.08); }
.mock-sup__doc--ok .mock-sup__doc-tick { background: #3A8D49; color: #fff; }
.mock-sup__doc--warn { background: rgba(245, 184, 0, 0.1); }
.mock-sup__doc--warn .mock-sup__doc-tick { background: #F5B800; color: #fff; }

/* ========== MOCK 05 · Contract Management ========== */
.mock-con__alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(245, 184, 0, 0.12) 0%, rgba(245, 184, 0, 0.04) 100%);
  border: 1px solid rgba(245, 184, 0, 0.35);
  min-width: 0;
}
.mock-con__alert-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(245, 184, 0, 0.25);
  color: #A67C00;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mock-con__alert-icon svg { width: 14px; height: 14px; }
.mock-con__alert-body {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  color: #0F1A4A;
}
.mock-con__alert-body strong { color: #A67C00; font-weight: 800; }
.mock-con__alert-cta {
  padding: 5px 10px;
  border-radius: 6px;
  background: #0F1A4A;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.mock-con__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
}
.mock-con__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  background: #F5F7FB;
  border-radius: 9px;
  min-width: 0;
}
.mock-con__file {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(15, 26, 74, 0.1);
  color: #1D1EE7;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mock-con__file svg { width: 14px; height: 14px; }
.mock-con__file-body { min-width: 0; }
.mock-con__file-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0F1A4A;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-con__file-meta {
  font-size: 0.6rem;
  color: rgba(15, 26, 74, 0.55);
  margin-top: 1px;
}
.mock-con__tag {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.mock-con__tag--warn { background: rgba(245, 184, 0, 0.15); color: #A67C00; }
.mock-con__tag--ok   { background: rgba(58, 141, 73, 0.12); color: #2F7B3D; }
.mock-con__tag--new  { background: rgba(29, 30, 231, 0.1); color: #1D1EE7; }

/* ========== MOCK 06 · Spend Analytics ========== */
.mock-ana__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mock-ana__kpi {
  padding: 9px 11px;
  background: #F5F7FB;
  border-radius: 10px;
  min-width: 0;
}
.mock-ana__kpi-lbl {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 26, 74, 0.55);
}
.mock-ana__kpi-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F1A4A;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 3px 0 2px;
}
.mock-ana__kpi-val em { font-style: normal; font-size: 0.7em; color: rgba(15, 26, 74, 0.55); font-weight: 700; }
.mock-ana__kpi-delta {
  font-size: 0.58rem;
  font-weight: 700;
}
.mock-ana__kpi-delta--up { color: #2F7B3D; }
.mock-ana__kpi-delta--down { color: #1D1EE7; }

.mock-ana__charts {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 10px;
}
.mock-ana__donut-wrap,
.mock-ana__bars {
  padding: 10px;
  background: #FAFBFE;
  border-radius: 10px;
  border: 1px solid rgba(15, 26, 74, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.mock-ana__donut-wrap {
  flex-direction: row;
  align-items: center;
}
.mock-ana__donut {
  position: relative;
  width: 78px; height: 78px;
  border-radius: 50%;
  background:
    conic-gradient(
      #1D1EE7 0% 42%,
      #3A8D49 42% 70%,
      #E7FF5A 70% 88%,
      #03FEF9 88% 100%
    );
  flex-shrink: 0;
  animation: mockDonutIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes mockDonutIn {
  from { transform: rotate(-90deg) scale(0.6); opacity: 0; }
  to   { transform: rotate(0) scale(1); opacity: 1; }
}
.mock-ana__donut-core {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: #FAFBFE;
  display: grid;
  place-items: center;
  text-align: center;
}
.mock-ana__donut-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F1A4A;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mock-ana__donut-val em { font-style: normal; font-size: 0.7em; color: rgba(15, 26, 74, 0.55); font-weight: 700; }
.mock-ana__donut-lbl {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 26, 74, 0.55);
  margin-top: 1px;
}
.mock-ana__legend {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.62rem;
  color: #0F1A4A;
  min-width: 0;
  overflow: hidden;
}
.mock-ana__legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-ana__legend li span {
  width: 8px; height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.mock-ana__bars-title {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 26, 74, 0.55);
}
.mock-ana__bars-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: end;
  min-height: 0;
}
.mock-ana__bar {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.mock-ana__bar::before {
  content: "";
  width: 100%;
  height: var(--h, 50%);
  background: linear-gradient(180deg, rgba(29, 30, 231, 0.65) 0%, rgba(29, 30, 231, 0.3) 100%);
  border-radius: 4px 4px 2px 2px;
  animation: mockBarRise 1s cubic-bezier(0.22, 1, 0.36, 1) .3s both;
  transform-origin: bottom;
}
.mock-ana__bar--hl::before {
  background: linear-gradient(180deg, #E7FF5A 0%, rgba(231, 255, 90, 0.5) 100%);
  box-shadow: 0 0 12px rgba(231, 255, 90, 0.5);
}
.mock-ana__bar span {
  font-size: 0.54rem;
  font-weight: 700;
  color: rgba(15, 26, 74, 0.5);
  letter-spacing: 0.04em;
}
@keyframes mockBarRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ========== MOCK 07 · Integration Platform ========== */
.mock-int__stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 4px 0;
}
.mock-int__col {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  height: 100%;
  position: relative;
  z-index: 2;
}
.mock-int__node {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  background: #fff;
  border: 1px solid rgba(15, 26, 74, 0.1);
  border-radius: 8px;
  font-size: 0.64rem;
  font-weight: 600;
  color: #0F1A4A;
  box-shadow: 0 2px 6px rgba(15, 26, 74, 0.06);
  min-width: 0;
}
.mock-int__col--right .mock-int__node { flex-direction: row-reverse; text-align: right; }
.mock-int__badge {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  font-size: 0.54rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.mock-int__badge--sap  { background: #0FA8E0; }
.mock-int__badge--or   { background: #EA1B22; }
.mock-int__badge--ms   { background: #00A4EF; }
.mock-int__badge--ns   { background: #1A3A6C; }
.mock-int__badge--mint { background: linear-gradient(135deg, #3A8D49 0%, #88A51F 100%); }

.mock-int__hub {
  position: relative;
  width: 78px; height: 78px;
  display: grid;
  place-items: center;
  z-index: 3;
}
.mock-int__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(29, 30, 231, 0.25);
  animation: mockRing 3s ease-out infinite;
}
.mock-int__ring--d1 { animation-delay: 1.5s; }
@keyframes mockRing {
  0%   { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.mock-int__core {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0F1A4A 0%, #060A24 100%);
  color: #E7FF5A;
  display: grid;
  place-items: center;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(15, 26, 74, 0.25), 0 0 0 3px rgba(231, 255, 90, 0.15);
  position: relative;
  z-index: 2;
}
.mock-int__lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ======================================================================
   SHARED MOCK PRIMITIVES · form fields, timelines, code blocks, rows
   ====================================================================== */

/* Form field */
.mock__field {
  display: block;
  padding: 8px 12px;
  background: #FAFBFE;
  border: 1px solid rgba(15, 26, 74, 0.1);
  border-radius: 8px;
  font-size: 0.68rem;
  color: #0F1A4A;
  min-width: 0;
}
.mock__field-lbl {
  display: block;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 26, 74, 0.5);
  margin-bottom: 3px;
}
.mock__field-val {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  gap: 8px;
}
.mock__field-val svg { width: 11px; height: 11px; color: rgba(15, 26, 74, 0.4); flex-shrink: 0; }

/* Timeline */
.mock__tl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  flex: 1;
  min-height: 0;
}
.mock__tl::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(58, 141, 73, 0.4) 0%, rgba(231, 255, 90, 0.4) 100%);
  border-radius: 1px;
}
.mock__tl-item {
  position: relative;
  padding-left: 32px;
  min-width: 0;
}
.mock__tl-dot {
  position: absolute;
  left: 4px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #3A8D49;
  z-index: 1;
}
.mock__tl-item--active .mock__tl-dot {
  background: #E7FF5A;
  border-color: #E7FF5A;
  box-shadow: 0 0 0 4px rgba(231, 255, 90, 0.2);
  animation: mockPulse 1.8s ease-in-out infinite;
}
.mock__tl-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0F1A4A;
}
.mock__tl-meta {
  font-size: 0.6rem;
  color: rgba(15, 26, 74, 0.55);
  margin-top: 1px;
}

/* Code block */
.mock__code {
  background: #0F1A4A;
  color: #C6D2FF;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  line-height: 1.55;
  overflow: hidden;
  min-height: 0;
}
.mock__code .k { color: #8FFF99; }
.mock__code .s { color: #E7FF5A; }
.mock__code .n { color: #03FEF9; }
.mock__code .c { color: rgba(198, 210, 255, 0.5); font-style: italic; }

/* Search bar */
.mock__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #F5F7FB;
  border: 1px solid rgba(15, 26, 74, 0.08);
  border-radius: 8px;
  font-size: 0.7rem;
  color: rgba(15, 26, 74, 0.55);
}
.mock__search svg { width: 12px; height: 12px; flex-shrink: 0; }
.mock__search-shortcut {
  margin-left: auto;
  padding: 2px 6px;
  background: #fff;
  border: 1px solid rgba(15, 26, 74, 0.08);
  border-radius: 4px;
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(15, 26, 74, 0.5);
  font-family: monospace;
  flex-shrink: 0;
}

/* Generic list row */
.mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #F5F7FB;
  border-radius: 8px;
  font-size: 0.7rem;
  min-width: 0;
}
.mock__row--selected {
  background: rgba(29, 30, 231, 0.08);
  border: 1px solid rgba(29, 30, 231, 0.22);
}
.mock__row-check {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: #fff;
  border: 2px solid rgba(15, 26, 74, 0.2);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0.6rem;
  font-weight: 800;
}
.mock__row--selected .mock__row-check {
  background: #1D1EE7;
  border-color: #1D1EE7;
  color: #fff;
}
.mock__row-body { flex: 1; min-width: 0; }
.mock__row-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0F1A4A;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock__row-meta {
  font-size: 0.58rem;
  color: rgba(15, 26, 74, 0.55);
  margin-top: 1px;
}

/* CTA button mock */
.mock__cta {
  padding: 9px 14px;
  border-radius: 8px;
  background: #0F1A4A;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  flex-shrink: 0;
}
.mock__cta--lime { background: #E7FF5A; color: #0F1A4A; }

/* Badge grid */
.mock__bgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

/* Generic pill/chip set */
.mock__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.mock__chip {
  padding: 4px 9px;
  background: #F5F7FB;
  border: 1px solid rgba(15, 26, 74, 0.08);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  color: #0F1A4A;
}
.mock__chip--sel {
  background: rgba(29, 30, 231, 0.1);
  border-color: rgba(29, 30, 231, 0.25);
  color: #1D1EE7;
}

/* Section title inside mock body */
.mock__h {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 26, 74, 0.55);
}

/* ==== Variant-specific styles ==== */

/* PR · Form variant */
.mock-pr-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mock-pr-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: #F5F7FB;
  border-radius: 8px;
  border: 1px dashed rgba(15, 26, 74, 0.12);
}
.mock-pr-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 5px 4px;
  font-size: 0.66rem;
  color: #0F1A4A;
  border-bottom: 1px solid rgba(15, 26, 74, 0.05);
}
.mock-pr-item:last-child { border-bottom: none; }
.mock-pr-item__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-pr-item__qty { color: rgba(15, 26, 74, 0.55); font-variant-numeric: tabular-nums; }
.mock-pr-item__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.mock-pr__budget {
  padding: 8px 10px;
  background: rgba(58, 141, 73, 0.06);
  border: 1px solid rgba(58, 141, 73, 0.18);
  border-radius: 8px;
}
.mock-pr__budget-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: rgba(15, 26, 74, 0.65);
  margin-bottom: 5px;
}
.mock-pr__budget-head strong { color: #2F7B3D; font-weight: 800; }
.mock-pr__form-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(15, 26, 74, 0.07);
  gap: 12px;
}

/* RFx · Invites variant */
.mock-rfx__invites {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mock-rfx__invite-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(15, 26, 74, 0.07);
  gap: 12px;
}

/* RFx · Q&A thread variant */
.mock-rfx__qa-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(29, 30, 231, 0.05);
  border: 1px solid rgba(29, 30, 231, 0.15);
  border-radius: 8px;
  font-size: 0.64rem;
  color: #1D1EE7;
  font-weight: 600;
}
.mock-rfx__thread {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #F5F7FB;
  border-radius: 10px;
}
.mock-rfx__msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.mock-rfx__msg--buyer { flex-direction: row-reverse; }
.mock-rfx__msg-body {
  flex: 1;
  min-width: 0;
  background: #fff;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 26, 74, 0.06);
}
.mock-rfx__msg--buyer .mock-rfx__msg-body {
  background: linear-gradient(135deg, rgba(231, 255, 90, 0.12) 0%, rgba(143, 255, 153, 0.06) 100%);
  border-color: rgba(231, 255, 90, 0.4);
}
.mock-rfx__msg-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.56rem;
  color: rgba(15, 26, 74, 0.55);
  margin-bottom: 3px;
}
.mock-rfx__msg-head strong { color: #0F1A4A; font-weight: 700; font-size: 0.62rem; }
.mock-rfx__msg-text {
  font-size: 0.66rem;
  color: #0F1A4A;
  line-height: 1.4;
}
.mock-rfx__msg-tags {
  display: flex;
  gap: 4px;
  margin-top: 5px;
}
.mock-rfx__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(15, 26, 74, 0.07);
  gap: 12px;
}

/* Auction · Schedule variant */
.mock-auc-sched {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.mock-auc-sched__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(15, 26, 74, 0.07);
  gap: 12px;
}

/* Auction · Report variant */
.mock-auc__report-head {
  padding: 10px 12px;
  background: linear-gradient(135deg, #0F1A4A 0%, #060A24 100%);
  color: #fff;
  border-radius: 10px;
}
.mock-auc__report-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.mock-auc__report-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 3px;
}
.mock-auc__report-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mock-auc__sections {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #F5F7FB;
  border-radius: 10px;
}
.mock-auc__sec {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #0F1A4A;
}
.mock-auc__sec-tick {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #3A8D49;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.54rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Supplier · Contacts list + Ranking bars */
.mock-sup__contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mock-sup__ranking {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  background: #FAFBFE;
  border-radius: 10px;
  border: 1px solid rgba(15, 26, 74, 0.06);
}
.mock-sup__rank-row {
  display: grid;
  grid-template-columns: minmax(0, 110px) 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
}
.mock-sup__rank-lbl { color: rgba(15, 26, 74, 0.65); font-weight: 600; }
.mock-sup__rank-val { font-weight: 800; color: #2F7B3D; font-variant-numeric: tabular-nums; }
.mock-sup__rank-row .mock__bar { position: relative; height: 5px; }

/* Supplier · Legal docs list */
.mock-sup__docs-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-height: 0;
}

/* Contract · Calendar variant */
.mock-cal {
  padding: 10px;
  background: #FAFBFE;
  border-radius: 10px;
  border: 1px solid rgba(15, 26, 74, 0.06);
}
.mock-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 6px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(15, 26, 74, 0.4);
  text-align: center;
}
.mock-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.mock-cal__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(15, 26, 74, 0.7);
  border-radius: 5px;
  background: #fff;
  position: relative;
}
.mock-cal__day--today {
  background: #0F1A4A;
  color: #fff;
}
.mock-cal__day--alert {
  background: rgba(245, 184, 0, 0.15);
  color: #A67C00;
  font-weight: 800;
}
.mock-cal__day--alert em {
  position: absolute;
  bottom: 3px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #F5B800;
  box-shadow: 0 0 6px rgba(245, 184, 0, 0.6);
  animation: mockPulse 2s ease-in-out infinite;
}
.mock-con__upcoming {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Contract · Audit signatures */
.mock-con__sigs {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid rgba(15, 26, 74, 0.07);
}
.mock-con__sig {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: rgba(58, 141, 73, 0.08);
  border: 1px solid rgba(58, 141, 73, 0.2);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  color: #2F7B3D;
}

/* Analytics · Breakdown variant */
.mock-ana__breakdown {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #FAFBFE;
  border-radius: 10px;
  border: 1px solid rgba(15, 26, 74, 0.06);
}
.mock-ana__bd-row {
  display: grid;
  grid-template-columns: auto minmax(0, 110px) 1fr auto auto;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  color: #0F1A4A;
}
.mock-ana__bd-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-ana__bd-bar {
  height: 6px;
  background: rgba(29, 30, 231, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.mock-ana__bd-bar span {
  position: absolute;
  inset: 0;
  width: var(--w, 60%);
  background: linear-gradient(90deg, #1D1EE7 0%, #5B5CEB 100%);
  border-radius: 3px;
  transform-origin: left;
  animation: mockBarGrow .9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mock-ana__bd-val {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0F1A4A;
}
.mock-ana__bd-pct {
  font-size: 0.56rem;
  font-weight: 700;
}
.mock-ana__bd-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(15, 26, 74, 0.07);
  gap: 12px;
}

/* Integration · API endpoints */
.mock-int__endpoints {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-int__ep {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: #F5F7FB;
  border-radius: 8px;
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.64rem;
  color: #0F1A4A;
}
.mock-int__ep-method {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}
.mock-int__ep-method--get { background: #2F7B3D; }
.mock-int__ep-method--post { background: #1D1EE7; }

/* Integration · Audit log */
.mock-int__audit {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ======================================================================
   RESPONSIVE · Mocks must stay readable at narrow widths without
   distortion. Below 560px we slightly reduce internal padding/font.
   ====================================================================== */
@media (max-width: 560px) {
  .mock__chrome { padding: 8px 12px; gap: 8px; }
  .mock__crumb { font-size: 0.64rem; }
  .mock__body { padding: 12px 14px; gap: 10px; }

  .mock-pr__amount-val,
  .mock-auc__timer-val,
  .mock-auc__lowest-val,
  .mock-ana__kpi-val { font-size: 0.95rem; }

  .mock-rfx__stats,
  .mock-ana__kpis { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .mock-rfx__stat,
  .mock-ana__kpi { padding: 7px 8px; }
  .mock-rfx__stat-val { font-size: 0.85rem; }

  .mock-rfx__thead,
  .mock-rfx__row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 0.6fr;
    padding: 6px 8px;
    font-size: 0.62rem;
  }
  .mock-rfx__thead span:nth-child(3),
  .mock-rfx__row > span:nth-child(3) { display: none; }

  .mock-ana__charts { grid-template-columns: 1fr; }
  .mock-ana__donut-wrap { flex-direction: row; }
  .mock-ana__donut { width: 60px; height: 60px; }
  .mock-ana__bars { min-height: 90px; }

  .mock-sup__docs-grid { grid-template-columns: 1fr; }
  .mock-sup__avatar { width: 36px; height: 36px; font-size: 0.72rem; }

  .mock-int__core { width: 44px; height: 44px; font-size: 0.56rem; }
  .mock-int__hub { width: 64px; height: 64px; }
  .mock-int__node { padding: 4px 6px; font-size: 0.56rem; gap: 5px; }
  .mock-int__badge { width: 18px; height: 18px; font-size: 0.48rem; }
}
/* Reflected floor glow under device */
.showcase__device::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: -60px;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(143, 255, 153, 0.28), rgba(3, 254, 249, 0.12) 45%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}
/* Floating top-right chip badge */
.showcase__chip {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #0A1235 0%, #060A24 100%);
  border: 1px solid rgba(231, 255, 90, 0.25);
  border-radius: var(--radius-pill);
  color: var(--accent-lime);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0, 2, 16, 0.4);
  animation: floatChip 6s ease-in-out infinite;
}
.showcase__chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 10px var(--accent-lime);
}
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Body column */
.showcase__body { min-width: 0; }
.showcase__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(143, 255, 153, 0.08);
  border: 1px solid rgba(143, 255, 153, 0.2);
  color: var(--accent-mint);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.showcase__label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.showcase__h {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 480px;
  background: linear-gradient(100deg,
    #FFFFFF 0%,
    #FFFFFF 45%,
    #D3F5DA 72%,
    #8FFF99 92%,
    #6EE87F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Safari fallback when background-clip: text isn't supported */
  -webkit-text-fill-color: transparent;
}
.showcase__p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 500px;
}

.showcase__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.showcase__bullet {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
  cursor: pointer;
  overflow: hidden;
}
/* Attention sweep — on the active card a lime "searchlight" beam travels
   left→right continuously every 3s. Looping animation so it never stops,
   giving constant motion that draws the eye. Paused on hover. */
.showcase__bullet::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background-image: linear-gradient(90deg,
    transparent 0%,
    transparent 30%,
    rgba(231, 255, 90, 0.95) 45%,
    rgba(143, 255, 153, 0.95) 55%,
    transparent 70%,
    transparent 100%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  background-position: 100% 0;
  box-shadow: 0 0 10px rgba(143, 255, 153, 0.55);
  opacity: 0;
  pointer-events: none;
  will-change: background-position, opacity;
}
.showcase__bullet--active::after {
  opacity: 1;
  animation: bulletSweep 3s linear infinite;
}
@keyframes bulletSweep {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
/* Note: the bullet sweep keeps running even when hovering the showcase —
   only the tab rotation and per-step timer pause on hover, not this
   attention animation. */
@media (prefers-reduced-motion: reduce) {
  .showcase__bullet::after { display: none; }
}
.showcase__bullet:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.showcase__bullet--active {
  background: linear-gradient(135deg, rgba(143, 255, 153, 0.08), rgba(3, 254, 249, 0.05));
  border-color: rgba(143, 255, 153, 0.35);
  box-shadow: 0 10px 28px -14px rgba(143, 255, 153, 0.25);
}

/* Dwell-timer progress bar at the TOP of the active bullet.
   Fills over 2s (matches MIN_DWELL_MS in JS) — visual countdown showing
   when the next feature variant is ready to take over. */
.showcase__bullet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--accent-mint) 0%,
    var(--accent-lime) 60%,
    var(--accent-lime) 100%);
  box-shadow: 0 0 10px rgba(231, 255, 90, 0.6);
  border-radius: 14px 14px 0 0;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
}
.showcase__bullet--active::before {
  opacity: 1;
  /* 3.5s matches VARIANT_MS in JS — bar fills as the variant holds, ending
     just as the next one takes over. */
  animation: bulletDwellFill 3.5s linear forwards;
}
@keyframes bulletDwellFill {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .showcase__bullet::before { animation: none; display: none; }
}
.showcase__bullet-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: rgba(143, 255, 153, 0.1);
  color: var(--accent-mint);
  border: 1px solid rgba(143, 255, 153, 0.2);
  margin-top: 1px;
  transition: background .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.showcase__bullet--active .showcase__bullet-icon {
  background: var(--accent-mint);
  color: var(--hero-bg-dark);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(143, 255, 153, 0.45);
}
.showcase__bullet-icon svg { width: 14px; height: 14px; }
.showcase__bullet-body { min-width: 0; flex: 1; }
.showcase__bullet-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.showcase__bullet-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}
.showcase__bullet--active .showcase__bullet-desc { color: rgba(255, 255, 255, 0.75); }

.showcase__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 960px) {
  .showcase { padding: var(--sect-md) 0; }
  .showcase__panel { grid-template-columns: 1fr; gap: 40px; }
  .showcase__visual { order: -1; }
  .showcase__device { transform: none; }
  .showcase__tabs-wrap { overflow-x: auto; padding: 0 16px 8px; }
  .showcase__tabs { min-width: max-content; }
}

/* Unified dark section: Integration Hub (top) + Product Showcase (bottom) in one <section>. */
.integrations--unified {
  position: relative;
  background:
    radial-gradient(1200px 760px at 50% -8%, rgba(2, 3, 233, 0.34), transparent 62%),
    linear-gradient(180deg,
      var(--tx-d0) 0%,
      var(--tx-d1) 32%,
      var(--tx-d2) 64%,
      var(--tx-d3) 90%,
      var(--tx-d4) 100%);
  padding-bottom: 120px;
}
.integrations--unified .integrations__inner {
  margin-bottom: 96px; /* spacer that replaces the removed "Don't see your system?" note */
}
.integrations--unified .showcase__inner {
  position: relative;
  z-index: 1;
}
.showcase__bg--unified {
  top: auto;
  bottom: 0;
  height: 60%;
}
@media (max-width: 960px) {
  .integrations--unified { padding-bottom: 80px; }
  .integrations--unified .integrations__inner { margin-bottom: 64px; }
}

/* --------------------------------------------------------------------------
   Stats — full statement-mode section, animated count-up
   -------------------------------------------------------------------------- */

.stats {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--sect-md) 0 var(--sect-lg);
  color: #fff;
  background:
    radial-gradient(1100px 600px at 0% 0%, rgba(3, 254, 249, 0.06), transparent 55%),
    radial-gradient(900px 500px at 100% 100%, rgba(143, 255, 153, 0.08), transparent 60%),
    linear-gradient(180deg, #000210 0%, #001277 60%, #050925 100%);
}
/* Floating ambient orbs */
.stats__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.stats__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.28;
  animation: floatOrb 22s ease-in-out infinite;
}
.stats__orb--1 { top: 12%; left: 8%; width: 220px; height: 220px; background: var(--accent-mint); }
.stats__orb--2 { bottom: 14%; right: 12%; width: 280px; height: 280px; background: var(--accent-cyan); animation-delay: -7s; }
.stats__orb--3 { top: 40%; left: 45%; width: 160px; height: 160px; background: var(--accent-lime); opacity: 0.18; animation-delay: -14s; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(40px, -30px); }
  66% { transform: translate(-30px, 50px); }
}
.stats > .container { position: relative; z-index: 1; }

.stats__head { text-align: center; max-width: 900px; margin: 0 auto 48px; }
.stats__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-mint);
  margin-bottom: 12px;
}
.stats__title {
  color: #fff;
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  white-space: nowrap;
}
.stats__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 640px;
}
@media (max-width: 720px) {
  .stats__title { white-space: normal; font-size: clamp(1.5rem, 6vw, 2rem); }
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat {
  position: relative;
  padding: 40px 32px 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(143, 255, 153, 0.12);
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform .6s var(--ease-out),
    opacity .6s var(--ease-out),
    border-color .3s var(--ease-out),
    box-shadow .3s var(--ease-out);
}
.stat:hover {
  border-color: rgba(143, 255, 153, 0.3);
  box-shadow: 0 18px 40px rgba(0, 2, 16, 0.45);
}
.stat:hover .stat__icon { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(143, 255, 153, 0.3); }
.stat--in { transform: translateY(0); opacity: 1; }
.stat:nth-child(1) { transition-delay: 0ms, 0ms, 0s, 0s; }
.stat:nth-child(2) { transition-delay: 80ms, 80ms, 0s, 0s; }
.stat:nth-child(3) { transition-delay: 160ms, 160ms, 0s, 0s; }
.stat:nth-child(4) { transition-delay: 240ms, 240ms, 0s, 0s; }

/* Corner bracket decoration (top-right) */
.stat::before {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 18px; height: 18px;
  border-top: 1px solid rgba(143, 255, 153, 0.45);
  border-right: 1px solid rgba(143, 255, 153, 0.45);
  border-top-right-radius: 6px;
  opacity: 0.8;
}
/* Inner radial glow following accent */
.stat::after {
  content: "";
  position: absolute;
  top: -30%; left: -20%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(143, 255, 153, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.stat:nth-child(2)::after { background: radial-gradient(circle, rgba(3, 254, 249, 0.18), transparent 70%); }
.stat:nth-child(3)::after { background: radial-gradient(circle, rgba(231, 255, 90, 0.18), transparent 70%); }
.stat:nth-child(4)::after { background: radial-gradient(circle, rgba(143, 255, 153, 0.16), transparent 70%); }

.stat__icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(143, 255, 153, 0.16), rgba(143, 255, 153, 0.04));
  border: 1px solid rgba(143, 255, 153, 0.28);
  color: var(--accent-mint);
  margin-bottom: 24px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.stat:nth-child(2) .stat__icon {
  background: linear-gradient(135deg, rgba(3, 254, 249, 0.16), rgba(3, 254, 249, 0.04));
  border-color: rgba(3, 254, 249, 0.3);
  color: var(--accent-cyan);
}
.stat:nth-child(3) .stat__icon {
  background: linear-gradient(135deg, rgba(231, 255, 90, 0.18), rgba(231, 255, 90, 0.04));
  border-color: rgba(231, 255, 90, 0.32);
  color: var(--accent-lime);
}
.stat__icon svg { width: 20px; height: 20px; }

.stat__value {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: clamp(2.6rem, 3.44vw, 3.23rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}
.stat__number,
.stat__prefix {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 50%, var(--accent-mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat:nth-child(2) .stat__number,
.stat:nth-child(2) .stat__prefix {
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat:nth-child(3) .stat__number,
.stat:nth-child(3) .stat__prefix {
  background: linear-gradient(135deg, #fff 0%, var(--accent-lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__suffix {
  font-size: 0.52em;
  font-weight: 700;
  color: var(--accent-lime);
  margin-left: 4px;
  letter-spacing: -0.02em;
}
.stat:nth-child(2) .stat__suffix { color: var(--accent-cyan); }
.stat:nth-child(3) .stat__suffix { color: var(--accent-lime); }
.stat:nth-child(4) .stat__suffix { color: var(--accent-mint); }

.stat__bar {
  position: relative;
  z-index: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
}
.stat__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-mint), var(--accent-lime), var(--accent-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) .3s;
}
.stat--in .stat__bar span { transform: scaleX(var(--fill, 0.85)); }
.stat:nth-child(1) { --fill: 0.82; }
.stat:nth-child(2) { --fill: 0.46; }
.stat:nth-child(3) { --fill: 0.92; }
.stat:nth-child(4) { --fill: 0.68; }

.stat__label {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}
.stat__label strong { color: rgba(255, 255, 255, 0.95); font-weight: 600; }

/* Live pulse dot in corner */
.stat__pulse {
  position: absolute;
  top: 22px; right: 42px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
  animation: pulse 2.4s ease-in-out infinite;
  z-index: 2;
}
.stat:nth-child(2) .stat__pulse { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.stat:nth-child(3) .stat__pulse { background: var(--accent-lime); box-shadow: 0 0 10px var(--accent-lime); }

@media (max-width: 960px) {
  .stats { padding: var(--sect-md) 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Stats (LIGHT variant) — separator between dark integration/showcase block
   and the dark case-study card. Clean white-canvas rhythm with soft orbs.
   -------------------------------------------------------------------------- */

.stats-light {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sect-lg) 0 var(--sect-lg);
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F7FB 100%);
  color: var(--ink-900);
}
.stats-light__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stats-light__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}
.stats-light__orb--mint {
  width: 520px; height: 520px;
  top: -18%; left: -12%;
  background: radial-gradient(circle, rgba(2, 3, 233, 0.12), transparent 70%);
}
.stats-light__orb--blue {
  width: 600px; height: 600px;
  bottom: -22%; right: -14%;
  background: radial-gradient(circle, rgba(29, 30, 231, 0.16), transparent 70%);
}
.stats-light > .container { position: relative; z-index: 1; }

.stats-light__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 64px;
}
.stats-light__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(58, 141, 73, 0.08);
  border: 1px solid rgba(58, 141, 73, 0.22);
  color: var(--brand-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.stats-light__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 10px rgba(58, 141, 73, 0.6);
}
.stats-light__title {
  font-size: clamp(2rem, 3.12vw, 2.53rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink-900);
}
.stats-light__accent {
  font-style: normal;
  background: linear-gradient(95deg, var(--brand-blue) 0%, var(--brand-green) 55%, var(--accent-mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-light__subtitle {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-600);
  max-width: 640px;
  margin: 0 auto;
}

.stats-light__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Platform pillars nested inside stats-light (merged section) */
.stats-light__pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Divider between Platform block and Real Numbers block */
.stats-light__head--divider {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid rgba(29, 30, 231, 0.08);
}

.stat-card {
  position: relative;
  padding: 28px 24px 26px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(36, 49, 94, 0.06);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
  opacity: 0;
  transform: translateY(14px);
}
.stat-card.stat-card--in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.stat-card:nth-child(1) { transition-delay: 0s; }
.stat-card:nth-child(2) { transition-delay: .08s; }
.stat-card:nth-child(3) { transition-delay: .16s; }
.stat-card:nth-child(4) { transition-delay: .24s; }
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(36, 49, 94, 0.1);
  border-color: rgba(58, 141, 73, 0.22);
}

.stat-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--surface-green-soft);
  color: var(--brand-green);
}
.stat-card__icon--mint  { background: var(--surface-green-soft); color: var(--brand-green); }
.stat-card__icon--blue  { background: var(--surface-blue-soft);  color: var(--brand-blue); }
.stat-card__icon--orange { background: var(--accent-orange-soft); color: var(--accent-orange); }
.stat-card__icon--lime  { background: #F2FBD1;                   color: #88A51F; }
.stat-card__icon svg { width: 22px; height: 22px; }

.stat-card__value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(2.2rem, 2.95vw, 2.76rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.stat-card__number {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-card:nth-child(2) .stat-card__number {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #3B82F6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-card:nth-child(3) .stat-card__number {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #B85C1A 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-card:nth-child(4) .stat-card__number {
  background: linear-gradient(135deg, #88A51F 0%, var(--brand-green) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-card__suffix {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: -0.02em;
}
.stat-card:nth-child(2) .stat-card__suffix { color: var(--brand-blue); }
.stat-card:nth-child(3) .stat-card__suffix { color: var(--accent-orange); }
.stat-card:nth-child(4) .stat-card__suffix { color: #88A51F; }

.stat-card__label {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-600);
}
.stat-card__label strong {
  color: var(--ink-900);
  font-weight: 600;
}

@media (max-width: 960px) {
  .stats-light { padding: var(--sect-md) 0 var(--sect-md); }
  .stats-light__head { margin-bottom: 48px; }
  .stats-light__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-light__pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .stats-light__head--divider { margin-top: 72px; padding-top: 56px; }
}
@media (max-width: 520px) {
  .stats-light { padding: var(--sect-sm) 0 var(--sect-sm); }
  .stats-light__head { margin-bottom: 40px; }
  .stats-light__grid { grid-template-columns: 1fr; }
  .stats-light__pillars { grid-template-columns: 1fr; }
  .stats-light__head--divider { margin-top: 56px; padding-top: 44px; }
  .stat-card { padding: 24px 20px 22px; }
}

/* --------------------------------------------------------------------------
   Platform Pro — Unified Source-to-Pay Cycle (revamp of stats-light)
   -------------------------------------------------------------------------- */

.platform-pro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sect-lg) 0 var(--sect-lg);
  color: var(--ink-900);
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F6F8FD 55%, #FFFFFF 100%);
}
.platform-pro__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.platform-pro__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(2, 3, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 3, 233, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 1100px 700px at 50% 35%, black 22%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 1100px 700px at 50% 35%, black 22%, transparent 82%);
}
.platform-pro__orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
}
.platform-pro__orb--mint {
  width: 560px; height: 560px;
  top: -14%; right: -8%;
  background: radial-gradient(circle, rgba(2, 3, 233, 0.12), transparent 70%);
}
.platform-pro__orb--blue {
  width: 620px; height: 620px;
  bottom: -18%; left: -6%;
  background: radial-gradient(circle, rgba(29, 30, 231, 0.14), transparent 70%);
}

.platform-pro__inner { position: relative; z-index: 1; }

/* Head */
.platform-pro__head {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
}
.platform-pro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(58, 141, 73, 0.08);
  border: 1px solid rgba(58, 141, 73, 0.24);
  color: var(--brand-green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.platform-pro__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 10px rgba(58, 141, 73, 0.6);
  animation: pulse 2.2s ease-in-out infinite;
}
.platform-pro__title {
  font-size: clamp(2.1rem, 3.44vw, 2.89rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--ink-900);
}
.platform-pro__title-accent {
  font-style: normal;
  background: linear-gradient(95deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.platform-pro__lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 680px;
  margin: 0 auto;
}

/* LIFECYCLE FLOW — horizontal editorial timeline with spine + numbered nodes */
.platform-flow {
  position: relative;
  margin: 0 0 72px;
  padding: 0 8px;
}

/* Week banding row above the spine */
.platform-flow__weeks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.platform-flow__week {
  position: relative;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(36, 49, 94, 0.55);
  font-variant-numeric: tabular-nums;
  text-align: center;
  padding: 6px 14px;
}
.platform-flow__week::before,
.platform-flow__week::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 44px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(36, 49, 94, 0.18) 100%);
}
.platform-flow__week::before { left: 0; }
.platform-flow__week::after { right: 0; transform: scaleX(-1); }

/* Horizontal rail containing spine + numbered nodes */
.platform-flow__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  height: 58px;
  margin-bottom: 22px;
  padding: 0 0;
}

/* Gradient horizontal spine behind the nodes */
.platform-flow__spine {
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg,
    rgba(58, 141, 73, 0.3) 0%,
    rgba(29, 30, 231, 0.3) 35%,
    rgba(232, 129, 58, 0.3) 65%,
    rgba(136, 165, 31, 0.35) 100%);
  transform: translateY(-50%);
  z-index: 0;
  overflow: hidden;
}
.platform-flow__spine::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg,
    var(--brand-green) 0%,
    var(--brand-blue) 35%,
    #E8813A 65%,
    #88A51F 100%);
  box-shadow: 0 0 10px rgba(58, 141, 73, 0.45);
  transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.platform-flow.is-revealed .platform-flow__spine::after { width: 100%; }

/* Square numbered nodes on the spine */
.platform-flow__node {
  --stage-color: var(--brand-green);
  --stage-soft: rgba(58, 141, 73, 0.1);
  justify-self: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--stage-color);
  display: grid;
  place-items: center;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--stage-color);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  box-shadow:
    0 0 0 4px var(--stage-soft),
    0 8px 20px rgba(36, 49, 94, 0.12);
  opacity: 0;
  transform: scale(0.6);
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .4s var(--ease-out), box-shadow .35s var(--ease-out);
  position: relative;
  z-index: 1;
}
.platform-flow.is-revealed .platform-flow__node { opacity: 1; transform: scale(1); }
.platform-flow.is-revealed .platform-flow__node:nth-child(3) { transition-delay: .22s; }
.platform-flow.is-revealed .platform-flow__node:nth-child(4) { transition-delay: .44s; }
.platform-flow.is-revealed .platform-flow__node:nth-child(5) { transition-delay: .66s; }

.platform-flow__node--mint   { --stage-color: var(--brand-green); --stage-soft: rgba(58, 141, 73, 0.1); }
.platform-flow__node--blue   { --stage-color: var(--brand-blue);  --stage-soft: rgba(29, 30, 231, 0.09); }
.platform-flow__node--orange { --stage-color: #E8813A;            --stage-soft: rgba(232, 129, 58, 0.1); }
.platform-flow__node--lime   { --stage-color: #6B8514;            --stage-soft: rgba(136, 165, 31, 0.1); }

/* Card row below the rail */
.platform-flow__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-stage {
  --stage-color: var(--brand-green);
  --stage-soft: rgba(58, 141, 73, 0.08);
  --stage-border: rgba(58, 141, 73, 0.24);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 100%);
  border: 1px solid rgba(36, 49, 94, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px rgba(36, 49, 94, 0.06);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .6s var(--ease-out),
    transform .6s var(--ease-out),
    border-color .3s var(--ease-out),
    box-shadow .4s var(--ease-out);
}
.platform-flow.is-revealed .platform-stage { opacity: 1; transform: translateY(0); }
.platform-flow.is-revealed .platform-stage:nth-child(2) { transition-delay: .18s; }
.platform-flow.is-revealed .platform-stage:nth-child(3) { transition-delay: .36s; }
.platform-flow.is-revealed .platform-stage:nth-child(4) { transition-delay: .54s; }

.platform-stage:hover {
  border-color: var(--stage-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px rgba(36, 49, 94, 0.1);
}

.platform-stage--mint   { --stage-color: var(--brand-green); --stage-soft: rgba(58, 141, 73, 0.1);  --stage-border: rgba(58, 141, 73, 0.26); }
.platform-stage--blue   { --stage-color: var(--brand-blue);  --stage-soft: rgba(29, 30, 231, 0.09);  --stage-border: rgba(29, 30, 231, 0.24); }
.platform-stage--orange { --stage-color: #E8813A;            --stage-soft: rgba(232, 129, 58, 0.1);  --stage-border: rgba(232, 129, 58, 0.28); }
.platform-stage--lime   { --stage-color: #6B8514;            --stage-soft: rgba(136, 165, 31, 0.1);  --stage-border: rgba(136, 165, 31, 0.3); }

.platform-stage__days {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--stage-soft);
  border: 1px solid var(--stage-border);
  color: var(--stage-color);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.platform-stage__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.platform-stage__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0 0 14px;
}
.platform-stage__tag {
  display: inline-block;
  margin-top: auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--stage-border);
  color: var(--stage-color);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* PROOF RIBBON */
.platform-proof {
  position: relative;
  padding: 36px 44px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(143, 255, 153, 0.16) 0%, rgba(3, 254, 249, 0.08) 50%, rgba(29, 30, 231, 0.1) 100%);
  border: 1px solid rgba(58, 141, 73, 0.24);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 20px 44px rgba(58, 141, 73, 0.12);
  overflow: hidden;
}
.platform-proof::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(143, 255, 153, 0.22) 50%, transparent 58%);
  transform: translateX(-120%);
  animation: voices-sheen 10s ease-in-out 2.2s infinite;
  pointer-events: none;
}
.platform-proof__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.platform-proof__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(58, 141, 73, 0.12);
  border: 1px solid rgba(58, 141, 73, 0.28);
  color: var(--brand-green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.platform-proof__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
  animation: pulse 2s ease-in-out infinite;
}
.platform-proof__note {
  font-size: 0.94rem;
  color: var(--ink-600);
  max-width: 560px;
  line-height: 1.5;
  flex: 1;
  text-align: right;
}

.platform-proof__stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}
.platform-proof__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 16px;
}
.platform-proof__value {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: clamp(2.2rem, 3.28vw, 2.76rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.platform-proof__stats > .platform-proof__stat:nth-of-type(2) .platform-proof__value {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #3B82F6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.platform-proof__stats > .platform-proof__stat:nth-of-type(3) .platform-proof__value {
  background: linear-gradient(135deg, #E8813A 0%, #B85C1A 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.platform-proof__stats > .platform-proof__stat:nth-of-type(4) .platform-proof__value {
  background: linear-gradient(135deg, #88A51F 0%, var(--brand-green) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.platform-proof__value em {
  font-style: normal;
  font-size: 0.48em;
  font-weight: 700;
  color: var(--brand-green);
  -webkit-text-fill-color: initial;
  margin-left: 1px;
}
.platform-proof__stats > .platform-proof__stat:nth-of-type(2) .platform-proof__value em { color: var(--brand-blue); }
.platform-proof__stats > .platform-proof__stat:nth-of-type(3) .platform-proof__value em { color: #E8813A; }
.platform-proof__stats > .platform-proof__stat:nth-of-type(4) .platform-proof__value em { color: #88A51F; }

.platform-proof__label {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-600);
  font-weight: 500;
  max-width: 160px;
}
.platform-proof__divider {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent 0%, rgba(36, 49, 94, 0.18) 50%, transparent 100%);
  justify-self: center;
}

/* Responsive */
@media (max-width: 960px) {
  .platform-pro { padding: var(--sect-md) 0 var(--sect-md); }
  .platform-pro__head { margin-bottom: 48px; }
  .platform-flow { margin-bottom: 52px; padding: 0; }
  .platform-flow__weeks,
  .platform-flow__rail { display: none; }
  .platform-flow__cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .platform-proof { padding: 28px 28px; }
  .platform-proof__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .platform-proof__note { text-align: left; }
  .platform-proof__stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .platform-proof__divider { display: none; }
}
@media (max-width: 560px) {
  .platform-pro { padding: var(--sect-sm) 0 var(--sect-sm); }
  .platform-flow__cards { grid-template-columns: 1fr; gap: 12px; }
  .platform-stage { padding: 20px 18px; border-radius: 14px; }
  .platform-stage__title { font-size: 1.05rem; }
  .platform-proof { padding: 24px 20px; }
  .platform-proof__stats { grid-template-columns: 1fr; gap: 20px; }
  .platform-proof__stat { padding: 8px 0; }
  .platform-proof__label { max-width: none; }
}

/* --------------------------------------------------------------------------
   Problem / Solution section
   -------------------------------------------------------------------------- */

.problem {
  padding: var(--sect-md) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FD 100%);
  position: relative;
  overflow: hidden;
}
.problem::before {
  content: "";
  position: absolute;
  top: 0; left: 40%;
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(255, 160, 61, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.problem > .container { position: relative; z-index: 1; }

.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}

/* ---- Left column: eyebrow + headline + subtitle + bridge ---- */
.problem__lead { max-width: 500px; }
.problem__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-orange-soft);
  border: 1px solid rgba(255, 160, 61, 0.3);
  color: #D97706;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.problem__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
  animation: pulse 2.2s ease-in-out infinite;
}
.problem__title {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
}
/* Animated strike-through on problem phrases */
.problem__strike {
  position: relative;
  display: inline-block;
  color: #C04A22;
  white-space: nowrap;
}
.problem__strike::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px;
  top: 56%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF6B4A, #FFA03D);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s cubic-bezier(0.22, 1, 0.36, 1);
}
.problem--revealed .problem__strike:nth-of-type(1)::after { transform: scaleX(1); transition-delay: 0.4s; }
.problem--revealed .problem__strike:nth-of-type(2)::after { transform: scaleX(1); transition-delay: 1s; }

.problem__subtitle {
  color: var(--ink-600);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 32px;
}

.problem__bridge {
  display: inline-block;
}
.problem__bridge-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #E5FBE9 0%, #D0F5D8 100%);
  border: 1px solid rgba(58, 141, 73, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: -0.005em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 8px 22px rgba(58, 141, 73, 0.18);
  isolation: isolate;
  text-decoration: none;
}
.problem__bridge-text::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(58, 141, 73, 0.22) 0%, transparent 70%);
  z-index: -1;
  animation: bridgePulse 3.2s ease-in-out infinite;
}
@keyframes bridgePulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.problem__bridge-text .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
  animation: pulse 2.2s ease-in-out infinite;
}
.problem__bridge-text .arrow {
  display: inline-block;
  color: var(--brand-green);
  transition: transform .25s var(--ease-out);
}
.problem__bridge-text:hover .arrow { transform: translateX(5px); }

/* ---- Right column: compact pain rows stacked vertically ---- */
.problem__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pain-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 26px 22px 22px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFE 100%);
  border: 1px solid #E6E8F0;
  border-left: 3px solid rgba(255, 160, 61, 0.5);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 2px 6px rgba(36, 49, 94, 0.04);
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity .65s var(--ease-out),
    transform .65s var(--ease-out),
    border-color .3s var(--ease-out),
    border-left-color .3s var(--ease-out),
    box-shadow .3s var(--ease-out);
}
.problem--revealed .pain-row { opacity: 1; transform: translateX(0); }
.problem--revealed .pain-row:nth-child(1) { transition-delay: 100ms, 100ms, 0s, 0s, 0s; }
.problem--revealed .pain-row:nth-child(2) { transition-delay: 240ms, 240ms, 0s, 0s, 0s; }
.problem--revealed .pain-row:nth-child(3) { transition-delay: 380ms, 380ms, 0s, 0s, 0s; }

.pain-row:hover {
  border-color: rgba(255, 160, 61, 0.28);
  border-left-color: #FF6B4A;
  transform: translateX(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 12px 28px rgba(36, 49, 94, 0.08);
}

.pain-row__num {
  padding-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 160, 61, 0.55);
  font-variant-numeric: tabular-nums;
  transition: color .25s var(--ease-out);
  min-width: 18px;
}
.pain-row:hover .pain-row__num { color: #C04A22; }

.pain-row__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFEEDC 0%, #FFE1BF 100%);
  border: 1px solid rgba(255, 160, 61, 0.2);
  color: #D97706;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.pain-row:hover .pain-row__icon {
  transform: rotate(-5deg) scale(1.05);
  box-shadow: 0 8px 18px rgba(255, 160, 61, 0.3);
}
.pain-row__icon svg { width: 20px; height: 20px; }

.pain-row__body { min-width: 0; }
.pain-row__body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.pain-row__body p {
  font-size: 0.88rem;
  color: var(--ink-600);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 960px) {
  .problem__grid { grid-template-columns: 1fr; gap: 48px; }
  .problem__lead { max-width: none; }
}
@media (max-width: 540px) {
  .pain-row { grid-template-columns: auto minmax(0, 1fr); padding: 18px 18px 18px 16px; }
  .pain-row__num { display: none; }
}

/* --------------------------------------------------------------------------
   Gap Section — "The cost of status quo" (revamped problem section)
   -------------------------------------------------------------------------- */

.gap-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sect-lg) 0 var(--sect-lg);
  color: var(--ink-900);
  background:
    linear-gradient(180deg, #FFFFFF 0%, var(--tx-card) 50%, #FFFFFF 100%);
}
.gap-section__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.gap-section__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(2, 3, 233, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 3, 233, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 1100px 700px at 50% 35%, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 1100px 700px at 50% 35%, black 20%, transparent 85%);
}
.gap-section__glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
}
.gap-section__glow--orange {
  width: 620px; height: 620px;
  top: -16%; right: -8%;
  background: radial-gradient(circle, rgba(2, 3, 233, 0.16), transparent 70%);
}
.gap-section__glow--blue {
  width: 540px; height: 540px;
  bottom: -18%; left: -6%;
  background: radial-gradient(circle, rgba(29, 30, 231, 0.12), transparent 70%);
}

.gap-section__inner { position: relative; z-index: 1; }

/* Head */
.gap-section__head {
  max-width: 880px;
  margin: 0 auto 64px;
  text-align: center;
}
.gap-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 160, 61, 0.08);
  border: 1px solid rgba(255, 160, 61, 0.28);
  color: #C04A22;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.gap-section__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
  animation: pulse 2.2s ease-in-out infinite;
}
.gap-section__title {
  font-size: clamp(2rem, 3.28vw, 2.94rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 22px;
  color: var(--ink-900);
}
.gap-section__title-line { display: block; }
.gap-section__strike {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: #8B3A1C;
  white-space: nowrap;
}
.gap-section__strike::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  top: 56%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF6B4A, #FFA03D);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .85s cubic-bezier(0.22, 1, 0.36, 1);
}
.problem--revealed .gap-section__strike:nth-of-type(1)::after { transform: scaleX(1); transition-delay: 0.3s; }
.problem--revealed .gap-section__strike:nth-of-type(2)::after { transform: scaleX(1); transition-delay: 0.7s; }
.problem--revealed .gap-section__strike:nth-of-type(3)::after { transform: scaleX(1); transition-delay: 1.1s; }

.gap-section__lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 680px;
  margin: 0 auto;
}

/* Cards grid */
.gap-section__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.gap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: #FFFFFF;
  border: 1px solid rgba(36, 49, 94, 0.08);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 2px 6px rgba(36, 49, 94, 0.04),
    0 18px 40px rgba(36, 49, 94, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out),
    border-color .3s var(--ease-out),
    box-shadow .3s var(--ease-out);
}
.problem--revealed .gap-card { opacity: 1; transform: translateY(0); }
.problem--revealed .gap-card:nth-child(1) { transition-delay: 120ms, 120ms, 0s, 0s; }
.problem--revealed .gap-card:nth-child(2) { transition-delay: 260ms, 260ms, 0s, 0s; }
.problem--revealed .gap-card:nth-child(3) { transition-delay: 400ms, 400ms, 0s, 0s; }

.gap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 160, 61, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 2px 6px rgba(36, 49, 94, 0.04),
    0 26px 56px rgba(255, 107, 74, 0.14);
}

/* Decorative warm corner */
.gap-card__corner {
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, rgba(255, 160, 61, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.gap-card > *:not(.gap-card__corner) { position: relative; z-index: 1; }

.gap-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.gap-card__num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(255, 107, 74, 0.7);
  font-variant-numeric: tabular-nums;
}
.gap-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C04A22;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 160, 61, 0.1);
  border: 1px solid rgba(255, 160, 61, 0.28);
}

.gap-card__metric {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(36, 49, 94, 0.12);
}
.gap-card__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(2.4rem, 2.95vw, 2.94rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #C04A22 0%, #FF6B4A 50%, #FFA03D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gap-card__value em {
  font-style: normal;
  font-size: 0.42em;
  font-weight: 700;
  color: #C04A22;
  -webkit-text-fill-color: initial;
  letter-spacing: 0.02em;
  margin-left: 2px;
}
.gap-card__metric-label {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-600);
  max-width: 92%;
}

.gap-card__pain {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-900);
  font-weight: 500;
  margin: 0 0 22px;
  flex: 1;
}

.gap-card__fix {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(143, 255, 153, 0.18) 0%, rgba(58, 141, 73, 0.06) 100%);
  border: 1px solid rgba(58, 141, 73, 0.22);
}
.gap-card__fix-dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 10px rgba(58, 141, 73, 0.6);
  animation: pulse 2.2s ease-in-out infinite;
}
.gap-card__fix-text {
  font-size: 0.84rem;
  line-height: 1.5;
  font-weight: 600;
  color: #1F6A2F;
  letter-spacing: -0.005em;
}

/* Footer band — big savings stat + CTA */
.gap-section__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(143, 255, 153, 0.18) 0%, rgba(3, 254, 249, 0.1) 50%, rgba(29, 30, 231, 0.1) 100%);
  border: 1px solid rgba(58, 141, 73, 0.26);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 18px 40px rgba(58, 141, 73, 0.12);
  position: relative;
  overflow: hidden;
}
.gap-section__footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 45%, rgba(143, 255, 153, 0.2) 50%, transparent 55%);
  transform: translateX(-120%);
  animation: voices-sheen 9s ease-in-out 2s infinite;
  pointer-events: none;
}

.gap-section__footer-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.gap-section__footer-value {
  display: flex;
  align-items: baseline;
  font-size: clamp(2.6rem, 3.28vw, 3.06rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 70%, var(--accent-mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gap-section__footer-value em {
  font-style: normal;
  font-size: 0.5em;
  font-weight: 700;
  color: var(--brand-green);
  -webkit-text-fill-color: initial;
  margin-left: 2px;
}
.gap-section__footer-label {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-900);
  font-weight: 500;
  max-width: 340px;
}

.gap-section__footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #0A1235;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out);
  box-shadow: 0 10px 24px rgba(10, 18, 53, 0.25);
  position: relative;
  z-index: 1;
}
.gap-section__footer-cta:hover {
  transform: translateY(-2px);
  background: var(--accent-lime);
  color: var(--ink-900);
  box-shadow: 0 16px 36px rgba(231, 255, 90, 0.35);
}
.gap-section__footer-cta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 10px var(--accent-lime);
  animation: pulse 2.2s ease-in-out infinite;
  transition: background .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.gap-section__footer-cta:hover .gap-section__footer-cta-dot {
  background: var(--ink-900);
  box-shadow: 0 0 10px rgba(36, 49, 94, 0.45);
}
.gap-section__footer-cta-arrow {
  display: inline-block;
  transition: transform .25s var(--ease-out), color .25s var(--ease-out);
  color: var(--accent-lime);
}
.gap-section__footer-cta:hover .gap-section__footer-cta-arrow {
  transform: translateX(4px);
  color: var(--ink-900);
}

/* Responsive */
@media (max-width: 960px) {
  .gap-section { padding: var(--sect-md) 0 var(--sect-md); }
  .gap-section__head { margin-bottom: 44px; }
  .gap-section__cards { grid-template-columns: 1fr; gap: 16px; }
  .gap-section__footer { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .gap-section__footer-stat { flex-direction: row; }
  .gap-section__footer-cta { justify-self: stretch; justify-content: center; }
}
@media (max-width: 560px) {
  .gap-section { padding: var(--sect-sm) 0 var(--sect-sm); }
  .gap-card { padding: 22px 20px 20px; }
  .gap-section__footer-stat { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gap-section__footer-label { max-width: none; }
}

/* --------------------------------------------------------------------------
   Integrations — Teradix hub (dark, animated data flow)
   -------------------------------------------------------------------------- */

.integrations { padding: var(--sect-md) 0; }

.integrations--hub {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sect-lg) 0 var(--sect-lg);
  color: #fff;
  background:
    radial-gradient(1200px 700px at 50% 0%, rgba(29, 30, 231, 0.45), transparent 60%),
    linear-gradient(180deg, #000210 0%, #050925 60%, #0A1235 100%);
}
.integrations--hub .section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(143, 255, 153, 0.1);
  border: 1px solid rgba(143, 255, 153, 0.3);
  color: var(--accent-mint);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.integrations--hub .section__title { color: #fff; }
.integrations--hub .section__subtitle { color: rgba(255, 255, 255, 0.7); }
.ih__title-accent {
  font-style: normal;
  background: linear-gradient(95deg, #E7FF5A 0%, #8FFF99 60%, #03FEF9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.integrations__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.integrations__grid-bg {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 1400px 700px at 50% 60%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 1400px 700px at 50% 60%, black 30%, transparent 85%);
}
.integrations__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: ihGlowDrift 22s ease-in-out infinite;
}
.integrations__glow--mint {
  width: 520px; height: 520px;
  top: 20%; left: 10%;
  background: radial-gradient(circle, rgba(0, 40, 246, 0.30), transparent 70%);
}
.integrations__glow--cyan {
  width: 460px; height: 460px;
  bottom: 5%; right: 10%;
  background: radial-gradient(circle, rgba(3, 254, 249, 0.35), transparent 70%);
  animation-duration: 28s;
  animation-delay: -8s;
}
@keyframes ihGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(24px, -18px) scale(1.05); }
}

.integrations__inner { position: relative; z-index: 1; }

/* Stage layout ======================================================== */
.ih-stage {
  position: relative;
  margin: 32px 0 24px;
}
.ih-stage__stakeholders {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.ih-stake {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
.ih-stake:hover { border-color: rgba(143, 255, 153, 0.3); transform: translateY(-2px); }
.ih-stake__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 0 4px rgba(143, 255, 153, 0.18);
  animation: ihStakeDot 2.4s ease-in-out infinite;
}
.ih-stake:nth-child(2) .ih-stake__dot { animation-delay: -.6s; background: var(--accent-lime); box-shadow: 0 0 0 4px rgba(231, 255, 90, 0.18); }
.ih-stake:nth-child(3) .ih-stake__dot { animation-delay: -1.2s; background: var(--accent-cyan); box-shadow: 0 0 0 4px rgba(3, 254, 249, 0.18); }
.ih-stake:nth-child(4) .ih-stake__dot { animation-delay: -1.8s; }
@keyframes ihStakeDot {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.3); }
}

.ih-stage__main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  min-height: 520px;
  align-items: stretch;
  isolation: isolate;
}

/* Columns (ERP + Supplier) =========================================== */
.ih-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.ih-col__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 6px;
  margin-bottom: 4px;
}
.ih-col__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}
.ih-col__arrow {
  font-size: 0.72rem;
  color: var(--accent-mint);
  font-weight: 600;
}
.ih-col__arrow--two-way { color: var(--accent-cyan); }

.ih-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}

.ih-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(calc(var(--dir, -1) * 16px));
  animation: ihNodeIn .6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.12s);
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.ih-col--supplier .ih-node { --dir: 1; }
.ih-node:hover {
  border-color: rgba(143, 255, 153, 0.4);
  box-shadow: 0 8px 24px rgba(0, 2, 16, 0.3);
}
@keyframes ihNodeIn {
  to { opacity: 1; transform: translateX(0); }
}

.ih-node__mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.ih-node__mark--sap { background: rgba(247, 195, 51, 0.14); color: #F7C333; border: 1px solid rgba(247, 195, 51, 0.32); }
.ih-node__mark--or  { background: rgba(240, 50, 50, 0.14);  color: #FF7070; border: 1px solid rgba(240, 50, 50, 0.32); }
.ih-node__mark--ms  { background: rgba(0, 120, 215, 0.16);  color: #4DA7E5; border: 1px solid rgba(0, 120, 215, 0.34); }
.ih-node__mark--ns  { background: rgba(125, 184, 67, 0.14); color: #9FCB6A; border: 1px solid rgba(125, 184, 67, 0.32); }
.ih-node__mark--wd  { background: rgba(243, 115, 33, 0.14); color: #FF9952; border: 1px solid rgba(243, 115, 33, 0.32); }
.ih-node__mark--odoo { background: rgba(116, 79, 168, 0.18); color: #B89CE6; border: 1px solid rgba(116, 79, 168, 0.42); }
.ih-node__mark--s1  { background: linear-gradient(135deg, #8FFF99, #03FEF9); color: #060A24; }
.ih-node__mark--s2  { background: linear-gradient(135deg, #E7FF5A, #8FFF99); color: #060A24; }
.ih-node__mark--s3  { background: linear-gradient(135deg, #3B3DFF, #1D1EE7); color: #fff; }
.ih-node__mark--s4  { background: linear-gradient(135deg, #FF9F43, #F39C50); color: #060A24; }
.ih-node__mark--more {
  background: rgba(143, 255, 153, 0.14);
  color: var(--accent-mint);
  font-size: 1.1rem;
  border: 1px dashed rgba(143, 255, 153, 0.5);
}

.ih-node__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
}
.ih-node__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ih-node__sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Tiny beam — decorative line connecting the node to the column edge */
.ih-node__beam {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 255, 153, 0.6));
  transform: translateY(-50%);
}
.ih-col--erp .ih-node__beam { right: -14px; }
.ih-col--supplier .ih-node__beam {
  left: -14px;
  background: linear-gradient(90deg, rgba(3, 254, 249, 0.6), transparent);
}

/* Hub =============================================================== */
.ih-hub {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  z-index: 3;
}
.ih-hub__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ih-hub__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 180px; height: 180px;
  margin: -90px 0 0 -90px;
  border-radius: 50%;
  border: 1px solid rgba(143, 255, 153, 0.5);
  animation: ihHubRing 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  opacity: 0;
}
.ih-hub__ring--d1 { animation-delay: 1.06s; }
.ih-hub__ring--d2 { animation-delay: 2.13s; }
@keyframes ihHubRing {
  0%   { transform: scale(0.6); opacity: 0.85; }
  100% { transform: scale(1.9); opacity: 0; }
}

.ih-hub__core {
  position: relative;
  width: 220px;
  padding: 30px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(29, 30, 231, 0.55), transparent 60%),
    linear-gradient(180deg, #0A2BEE 0%, #011179 55%, #000210 100%);
  border: 1px solid rgba(143, 255, 153, 0.32);
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 30px 60px rgba(0, 2, 16, 0.7),
    0 0 60px rgba(143, 255, 153, 0.15);
  z-index: 1;
  animation: ihHubBreathe 4s ease-in-out infinite;
}
@keyframes ihHubBreathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 30px 60px rgba(0, 2, 16, 0.7), 0 0 60px rgba(143, 255, 153, 0.15); }
  50%      { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 30px 60px rgba(0, 2, 16, 0.7), 0 0 84px rgba(143, 255, 153, 0.35); }
}
.ih-hub__mark {
  width: 58px; height: 58px;
  filter: drop-shadow(0 4px 14px rgba(143, 255, 153, 0.45));
}
.ih-hub__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.ih-hub__word {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.ih-hub__tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mint);
  font-weight: 600;
}

.ih-hub__orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 320px; height: 320px;
  margin: -160px 0 0 -160px;
  list-style: none;
  padding: 0;
  border-radius: 50%;
  border: 1px dashed rgba(143, 255, 153, 0.22);
  animation: ihOrbit 40s linear infinite;
  pointer-events: none;
}
.ih-hub__orbit li {
  position: absolute;
  top: 50%; left: 50%;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(10, 18, 53, 0.85);
  border: 1px solid rgba(143, 255, 153, 0.28);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform-origin: center;
  animation: ihOrbitLabel 40s linear infinite;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ih-hub__orbit li:nth-child(1) { --a: 0deg;   }
.ih-hub__orbit li:nth-child(2) { --a: 60deg;  }
.ih-hub__orbit li:nth-child(3) { --a: 120deg; }
.ih-hub__orbit li:nth-child(4) { --a: 180deg; }
.ih-hub__orbit li:nth-child(5) { --a: 240deg; }
.ih-hub__orbit li:nth-child(6) { --a: 300deg; }
.ih-hub__orbit li {
  transform: rotate(var(--a)) translateY(-160px) rotate(calc(var(--a) * -1));
}
@keyframes ihOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ihOrbitLabel {
  from { transform: rotate(var(--a)) translateY(-160px) rotate(calc(0deg - var(--a))); }
  to   { transform: rotate(calc(var(--a) + 360deg)) translateY(-160px) rotate(calc(0deg - var(--a) - 360deg)); }
}

/* SVG connection lines ============================================== */
.ih-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.ih-lines__path {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
  stroke-dashoffset: 0;
  animation: ihLineFlow 1.4s linear infinite;
}
.ih-lines__erp .ih-lines__path { stroke: url(#ihLineErp); }
.ih-lines__sup .ih-lines__path {
  stroke: url(#ihLineSup);
  animation-direction: reverse;
}
@keyframes ihLineFlow {
  to { stroke-dashoffset: -24; }
}

.ih-lines__particles circle { filter: url(#ihGlow); }

/* Security strip ==================================================== */
.ih-stage__shield {
  text-align: center;
  margin-top: 28px;
}
.ih-shield {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(143, 255, 153, 0.08);
  border: 1px solid rgba(143, 255, 153, 0.3);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ih-shield svg {
  width: 18px; height: 18px;
  color: var(--accent-mint);
}

/* Note ============================================================== */
.integrations--hub .integrations__note {
  text-align: center;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}
.integrations--hub .integrations__note a {
  font-weight: 600;
  color: var(--accent-mint);
}

/* Responsive ======================================================== */
@media (max-width: 1080px) {
  .ih-hub__orbit { width: 280px; height: 280px; margin: -140px 0 0 -140px; }
  .ih-hub__orbit li { transform: rotate(var(--a)) translateY(-140px) rotate(calc(var(--a) * -1)); }
  @keyframes ihOrbitLabel {
    from { transform: rotate(var(--a)) translateY(-140px) rotate(calc(0deg - var(--a))); }
    to   { transform: rotate(calc(var(--a) + 360deg)) translateY(-140px) rotate(calc(0deg - var(--a) - 360deg)); }
  }
}
/* Hub connection beams — hidden on desktop, active on mobile for vertical flow */
.ih-hub__beam { display: none; }

@media (max-width: 860px) {
  .integrations--hub { padding: var(--sect-sm) 0 var(--sect-md); }
  .ih-stage__main { grid-template-columns: 1fr; gap: 56px; min-height: 0; }
  .ih-hub { min-height: 220px; overflow: visible; }
  .ih-lines { display: none; }
  .ih-node { transform: translateY(12px); animation-name: ihNodeInUp; }
  .ih-hub__orbit { display: none; }
  /* Keep the pulsing rings so the hub feels alive on mobile */
  .ih-hub__rings { display: block; }
  .ih-hub__ring { width: 140px; height: 140px; margin: -70px 0 0 -70px; }

  /* Vertical animated beams connecting ERP → Hub → Suppliers */
  .ih-hub__beam {
    display: block;
    position: absolute;
    left: 50%;
    width: 2px;
    height: 56px;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(180deg,
      rgba(143, 255, 153, 0) 0%,
      rgba(143, 255, 153, 0.22) 50%,
      rgba(143, 255, 153, 0) 100%);
  }
  .ih-hub__beam--top { top: -56px; }
  .ih-hub__beam--bottom {
    bottom: -56px;
    background: linear-gradient(180deg,
      rgba(3, 254, 249, 0) 0%,
      rgba(3, 254, 249, 0.22) 50%,
      rgba(3, 254, 249, 0) 100%);
  }
  .ih-hub__beam::after {
    content: '';
    position: absolute;
    left: -1px;
    right: -1px;
    top: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, #8FFF99 50%, transparent 100%);
    box-shadow: 0 0 10px rgba(143, 255, 153, 0.8);
    animation: ihBeamPulse 1.8s linear infinite;
  }
  .ih-hub__beam--bottom::after {
    background: linear-gradient(180deg, transparent 0%, #03FEF9 50%, transparent 100%);
    box-shadow: 0 0 10px rgba(3, 254, 249, 0.8);
    animation-delay: 0.6s;
  }
  @keyframes ihBeamPulse {
    0%   { transform: translateY(-100%); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateY(250%);  opacity: 0; }
  }
}
@keyframes ihNodeInUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .ih-hub__ring,
  .ih-hub__orbit,
  .ih-hub__orbit li,
  .ih-hub__core,
  .ih-lines__path,
  .ih-lines__particles circle,
  .ih-hub__beam::after,
  .integrations__glow,
  .ih-stake__dot { animation: none; }
}

/* --------------------------------------------------------------------------
   Case study spotlight (dark statement card)
   -------------------------------------------------------------------------- */

.case-study {
  padding: var(--sect-md) 0;
  background: #F6F7FB;
}
.case-card {
  position: relative;
  border-radius: 28px;
  padding: 64px 56px;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(3, 254, 249, 0.08), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(143, 255, 153, 0.1), transparent 60%),
    linear-gradient(180deg, #000210 0%, #001277 60%, #050925 100%);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  border: 1px solid rgba(143, 255, 153, 0.14);
}
.case-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(231, 255, 90, 0.1);
  border: 1px solid rgba(231, 255, 90, 0.24);
  color: var(--accent-lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.case-card__h {
  color: #fff;
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 520px;
}
.case-card__h em {
  font-style: normal;
  color: var(--accent-mint);
}
.case-card__quote {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  border-left: 2px solid var(--accent-mint);
  padding-left: 18px;
  margin-bottom: 28px;
  max-width: 520px;
}
.case-card__meta { display: flex; align-items: center; gap: 14px; }
.case-card__meta img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }
.case-card__author { font-size: 0.9rem; flex: 1; min-width: 0; }
.case-card__author-name { font-weight: 600; color: #fff; }
.case-card__author-role { color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; }
.case-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 2, 16, 0.5);
  filter: none !important;
  opacity: 1 !important;
  flex-shrink: 0;
}
.case-card__author-logo {
  height: 36px !important;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0.85 !important;
  filter: none !important;
  margin-left: auto;
  flex-shrink: 0;
}
.case-card__pullquote {
  font-size: 1.15rem;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  padding: 18px 22px;
  border-left: 3px solid rgba(231, 255, 90, 0.75);
  background: linear-gradient(90deg, rgba(231, 255, 90, 0.06) 0%, transparent 100%);
  border-radius: 4px;
  max-width: 560px;
}
.case-card__divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.14);
}

.case-card__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.case-stat {
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: background .2s var(--ease-out);
}
.case-stat:hover { background: rgba(255, 255, 255, 0.06); }
.case-stat__value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-lime), var(--accent-mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 4px;
}
.case-stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

@media (max-width: 960px) {
  .case-card { grid-template-columns: 1fr; padding: 44px 28px; gap: 32px; }
}

/* --------------------------------------------------------------------------
   Case study — video variant (YouTube popup)
   -------------------------------------------------------------------------- */

.case-card--video { align-items: stretch; }
.case-card--video .case-card__stats { display: block; padding: 0; }

/* Caption treatment — matches the book-demo gradient style. Pinned
   bottom-left with max-width so it never runs across the CEO portrait. */
.case-card--video .video-thumb__caption {
  left: 28px;
  right: auto;
  bottom: 32px;
  max-width: 56%;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  background: linear-gradient(92deg, #E7FF5A 0%, #F4FF9A 40%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 16px rgba(0, 2, 16, 0.75)) drop-shadow(0 0 8px rgba(0, 2, 16, 0.5));
}

/* Full-bleed variant: the card IS the section, edge to edge */
.case-study--fullbleed {
  padding: 0;
  background: transparent;
}
.case-card--fullbleed {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: 0;
  display: block;
  width: 100%;
  grid-template-columns: unset;
  gap: 0;
}
.case-card--fullbleed .case-card__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 96px 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
}
/* Slightly bigger headline in the full-bleed card to match the wider canvas */
.case-card--fullbleed .case-card__h {
  font-size: clamp(2rem, 2.62vw, 2.53rem);
  max-width: 540px;
  margin-bottom: 16px;
}
.case-card--fullbleed .case-card__quote {
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 24px;
}
.case-card--fullbleed .case-card__pullquote {
  font-size: 1.05rem;
  padding: 16px 20px;
  margin-bottom: 24px;
  max-width: 560px;
}
.case-card--fullbleed .video-thumb { min-height: 520px; }
@media (max-width: 1024px) {
  .case-card--fullbleed .case-card__inner { gap: 56px; padding: 96px 32px; }
}
@media (max-width: 860px) {
  .case-card--fullbleed .case-card__inner {
    grid-template-columns: 1fr;
    padding: 72px 24px;
    gap: 40px;
  }
}

.video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.video-thumb:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(0, 2, 16, 0.4); }
.video-thumb::before {
  /* branded placeholder gradient (replaced by YouTube thumbnail image if available) */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 30% 40%, rgba(3, 254, 249, 0.18), transparent 55%),
    radial-gradient(500px 300px at 80% 80%, rgba(143, 255, 153, 0.22), transparent 55%),
    linear-gradient(135deg, #001277 0%, #000210 100%);
  z-index: 0;
  transition: transform .5s var(--ease-out);
}
.video-thumb:hover::before { transform: scale(1.03); }
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .5s var(--ease-out);
}
.video-thumb:hover img { transform: scale(1.03); }
.video-thumb::after {
  /* darken overlay for contrast under play button */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.35) 60%);
  z-index: 1;
}

.video-thumb__badge {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 2, 16, 0.6);
  border: 1px solid rgba(231, 255, 90, 0.32);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  color: var(--accent-lime);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.video-thumb__badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 8px var(--accent-lime);
  animation: pulse 2s ease-in-out infinite;
}

.video-thumb__caption {
  position: absolute;
  left: 22px;
  bottom: 36px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  max-width: calc(100% - 120px);
  text-shadow: 0 2px 12px rgba(0, 2, 16, 0.6);
}

/* ---- Brand watermark (Modern Bakery logo) at top-left of card ---- */
.video-thumb__brand {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(0, 2, 16, 0.58);
  border: 1px solid rgba(231, 255, 90, 0.26);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  animation:
    brandEntry 1s cubic-bezier(0.22, 1, 0.36, 1) both,
    brandGlow  3.6s ease-in-out 1.2s infinite;
}
.video-thumb__brand img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.video-thumb__brand-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
@keyframes brandEntry {
  from { opacity: 0; transform: translateY(-12px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)     scale(1); }
}
@keyframes brandGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 2, 16, 0.35), 0 0 0 rgba(231, 255, 90, 0); }
  50%      { box-shadow: 0 4px 16px rgba(0, 2, 16, 0.35), 0 0 22px rgba(231, 255, 90, 0.26); }
}

/* ---- Elevated CEO portrait cutout ---- */
.video-thumb__portrait {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 92%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
/* Soft glow pad under the portrait for "floating above the card" feel */
.video-thumb__portrait::before {
  content: "";
  position: absolute;
  left: 18%; right: 18%;
  bottom: -20px;
  height: 45%;
  background: radial-gradient(ellipse at center,
    rgba(143, 255, 153, 0.28) 0%,
    rgba(3, 254, 249, 0.14) 45%,
    transparent 72%);
  filter: blur(28px);
  z-index: 0;
  animation: portraitGlow 4.4s ease-in-out infinite;
}
@keyframes portraitGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50%      { opacity: 1;    transform: scale(1.08); }
}

.video-thumb__portrait img,
.video-thumb__portrait svg {
  position: relative;
  z-index: 1;
  max-width: 86%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter:
    drop-shadow(0 22px 26px rgba(0, 2, 16, 0.55))
    drop-shadow(0 0 36px rgba(143, 255, 153, 0.14));
  animation: portraitFloat 6s ease-in-out infinite;
  transition: transform .45s var(--ease-out), filter .4s var(--ease-out);
}
@keyframes portraitFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Subtle parallax / tilt on card hover */
.video-thumb:hover .video-thumb__portrait img,
.video-thumb:hover .video-thumb__portrait svg {
  transform: translateY(-10px) scale(1.03);
  filter:
    drop-shadow(0 30px 36px rgba(0, 2, 16, 0.6))
    drop-shadow(0 0 48px rgba(143, 255, 153, 0.24));
}
.video-thumb:hover .video-thumb__brand {
  border-color: rgba(231, 255, 90, 0.5);
}

/* Ambient floating sparkles around the portrait */
.video-thumb__sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.video-thumb__sparks span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  opacity: 0;
  animation: thumbSpark 5s ease-in-out infinite;
}
.video-thumb__sparks span:nth-child(1) { top: 28%; left: 18%; background: var(--accent-mint); box-shadow: 0 0 10px var(--accent-mint); animation-delay: 0s; }
.video-thumb__sparks span:nth-child(2) { top: 42%; right: 14%; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); animation-delay: 1.2s; }
.video-thumb__sparks span:nth-child(3) { top: 62%; left: 24%; background: var(--accent-lime); box-shadow: 0 0 10px var(--accent-lime); animation-delay: 2.4s; width: 4px; height: 4px; }
.video-thumb__sparks span:nth-child(4) { top: 22%; right: 28%; background: var(--accent-mint); box-shadow: 0 0 10px var(--accent-mint); animation-delay: 3.4s; }
.video-thumb__sparks span:nth-child(5) { top: 70%; right: 22%; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); animation-delay: 0.8s; }
@keyframes thumbSpark {
  0%, 100% { opacity: 0; transform: scale(0.3); }
  50%      { opacity: 1; transform: scale(1.3); }
}

/* Fallback SVG portrait placeholder (shown until richbake-ceo.png exists) */
.video-thumb__portrait-placeholder {
  width: 70%;
  max-height: 94%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(60% 50% at 50% 35%, rgba(143, 255, 153, 0.25) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
  text-align: center;
  padding: 24px;
  line-height: 1.4;
}

.play-btn {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 4;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--accent-lime);
  border: 0;
  color: var(--hero-bg-dark);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .25s var(--ease-out), background .2s, box-shadow .25s;
  box-shadow: 0 12px 28px rgba(0, 2, 16, 0.45);
  isolation: isolate;
}
.play-btn:hover {
  transform: scale(1.1);
  background: var(--accent-mint);
  box-shadow: 0 18px 40px rgba(143, 255, 153, 0.45);
}
.play-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
/* Ripple rings */
.play-btn::before,
.play-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-lime);
  opacity: 0.5;
  z-index: -1;
  animation: ripple 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.play-btn::after { animation-delay: 1.3s; }
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

@media (max-width: 960px) {
  .video-thumb { min-height: 240px; }
  .play-btn { width: 72px; height: 72px; }
  .play-btn svg { width: 24px; height: 24px; }
}

/* --------------------------------------------------------------------------
   Case-study rotator (multiple customer stories)
   -------------------------------------------------------------------------- */
.case-rotator { position: relative; display: grid; }
.case-rotator__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), visibility .55s;
  pointer-events: none;
}
.case-rotator__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.case-rotator .case-card__inner { padding-top: 84px; padding-bottom: 32px; }
.case-rotator__nav {
  grid-row: 2;
  justify-self: center;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 44px;
}
.case-rotator__dots { display: inline-flex; align-items: center; gap: 10px; }
.case-rotator__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background .3s var(--ease-out), width .3s var(--ease-out), box-shadow .3s;
}
.case-rotator__dot:hover { background: rgba(255, 255, 255, 0.4); }
.case-rotator__dot.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--accent-lime);
  box-shadow: 0 0 14px rgba(231, 255, 90, 0.5);
}
.case-rotator__arrow {
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  transition: background .25s var(--ease-out), border-color .25s, transform .25s;
}
.case-rotator__arrow:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(231, 255, 90, 0.5); transform: translateY(-2px); }
.case-rotator__arrow:focus-visible { outline: 2px solid rgba(231, 255, 90, 0.6); outline-offset: 3px; }
.case-rotator__arrow svg { width: 20px; height: 20px; }
/* Photo-cover video thumb (real-thumbnail style, no floating cutout) */
.video-thumb__brand--logo img { filter: none; height: 24px; width: 24px; border-radius: 50%; object-fit: cover; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .case-rotator__slide { transition: opacity .2s; transform: none; }
}
@media (max-width: 860px) {
  .case-rotator__nav { gap: 14px; margin-bottom: 28px; }
  .case-rotator__arrow { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------------------
   Video modal (YouTube lightbox)
   -------------------------------------------------------------------------- */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal[hidden] { display: none; }

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 2, 16, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.video-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1000px;
  opacity: 0;
  /* Start just below center and slide up for the pop-up feel —
     but stay close enough that the iframe renders in-viewport
     (YouTube's player can error out if rendered far off-screen) */
  transform: translateY(60px) scale(0.98);
  transition:
    opacity .35s var(--ease-out),
    transform .45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.video-modal--open .video-modal__backdrop { opacity: 1; }
.video-modal--open .video-modal__dialog { opacity: 1; transform: translateY(0) scale(1); }

/* Fallback footer — always available in case the embed fails */
.video-modal__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.video-modal__hint { font-weight: 500; }
.video-modal__fallback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(231, 255, 90, 0.4);
  background: rgba(231, 255, 90, 0.08);
  color: var(--accent-lime);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.video-modal__fallback:hover,
.video-modal__fallback:focus-visible {
  background: rgba(231, 255, 90, 0.15);
  border-color: rgba(231, 255, 90, 0.7);
  transform: translateY(-1px);
}
.video-modal__fallback svg { width: 12px; height: 12px; }

.video-modal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 2, 16, 0.6);
  border: 1px solid rgba(143, 255, 153, 0.15);
}
.video-modal__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Premium custom HTML5 video player
   -------------------------------------------------------------------------- */

.vplayer {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  background: #000;
}
.vplayer video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* Big centered play overlay (shown when paused) */
.vplayer__big {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(0, 2, 16, 0.2), rgba(0, 2, 16, 0.55) 70%);
  cursor: pointer;
  transition: opacity .3s var(--ease-out);
  z-index: 3;
}
.vplayer--playing .vplayer__big { opacity: 0; pointer-events: none; }
.vplayer__big-btn {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--accent-lime);
  border: 0;
  color: var(--hero-bg-dark);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(0, 2, 16, 0.5);
  transition: transform .25s var(--ease-out), background .2s;
  isolation: isolate;
}
.vplayer__big-btn:hover {
  transform: scale(1.08);
  background: var(--accent-mint);
}
.vplayer__big-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.vplayer__big-btn::before,
.vplayer__big-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-lime);
  opacity: 0.5;
  z-index: -1;
  animation: ripple 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.vplayer__big-btn::after { animation-delay: 1.3s; }

/* Controls bar */
.vplayer__controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 24px 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 2, 16, 0.85) 100%);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  opacity: 1;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.vplayer--hide-controls .vplayer__controls {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}
.vplayer--playing:not(:hover):not(:focus-within) .vplayer__controls {
  /* Controls hidden via JS class after inactivity; keeping CSS fallback */
}

.vplayer__btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .18s var(--ease-out), color .18s var(--ease-out);
  flex-shrink: 0;
}
.vplayer__btn:hover { background: rgba(255, 255, 255, 0.14); color: var(--accent-mint); }
.vplayer__btn svg { width: 18px; height: 18px; }
.vplayer__btn[hidden] { display: none; }

/* Progress bar */
.vplayer__progress {
  position: relative;
  height: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.vplayer__progress-track {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  overflow: hidden;
  transition: height .2s var(--ease-out);
}
.vplayer__progress:hover .vplayer__progress-track { height: 6px; }
.vplayer__progress-buffered {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  width: 0%;
  transition: width .15s linear;
}
.vplayer__progress-played {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--accent-mint), var(--accent-lime));
  border-radius: 3px;
  width: 0%;
}
.vplayer__progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-lime);
  border: 2px solid #fff;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 2px 10px rgba(231, 255, 90, 0.5);
  transition: transform .18s var(--ease-out);
  pointer-events: none;
}
.vplayer__progress:hover .vplayer__progress-handle,
.vplayer--scrubbing .vplayer__progress-handle {
  transform: translate(-50%, -50%) scale(1);
}

/* Time display */
.vplayer__time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  min-width: 92px;
  justify-content: center;
  user-select: none;
}
.vplayer__time-sep { color: rgba(255, 255, 255, 0.38); }

/* Volume — button + expandable slider */
.vplayer__volume {
  position: relative;
  display: flex;
  align-items: center;
}
.vplayer__volume-slider {
  width: 0;
  overflow: hidden;
  transition: width .25s var(--ease-out);
  display: flex;
  align-items: center;
  height: 36px;
}
.vplayer__volume:hover .vplayer__volume-slider,
.vplayer__volume:focus-within .vplayer__volume-slider {
  width: 72px;
}
.vplayer__volume-track {
  position: relative;
  width: 100%;
  height: 3px;
  margin: 0 6px 0 2px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  cursor: pointer;
}
.vplayer__volume-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--accent-mint);
  border-radius: 2px;
  width: 100%;
}

/* Loading spinner */
.vplayer__loader {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent-mint);
  animation: spinLoader 0.8s linear infinite;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease-out);
}
.vplayer--loading .vplayer__loader { opacity: 1; }
@keyframes spinLoader {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 600px) {
  .vplayer__controls {
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
    padding: 16px 12px 10px;
  }
  .vplayer__volume { display: none; }
  .vplayer__time { min-width: 74px; font-size: 0.76rem; }
  .vplayer__big-btn { width: 72px; height: 72px; }
  .vplayer__big-btn svg { width: 24px; height: 24px; }
}

.video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s var(--ease-out), border-color .2s;
}
.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}
.video-modal__close::before,
.video-modal__close::after {
  content: "";
  position: absolute;
  width: 16px; height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.video-modal__close::before { transform: rotate(45deg); }
.video-modal__close::after  { transform: rotate(-45deg); }

@media (max-width: 600px) {
  .video-modal__close { top: 8px; right: 8px; background: rgba(0, 0, 0, 0.6); }
}

/* --------------------------------------------------------------------------
   Security & Compliance
   -------------------------------------------------------------------------- */

.security { padding: var(--sect-md) 0; background: var(--canvas); }
.security__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.sec-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 16px;
  transition: transform .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s;
}
.sec-card:hover {
  transform: translateY(-3px);
  border-color: rgba(58, 141, 73, 0.2);
  box-shadow: 0 12px 28px rgba(36, 49, 94, 0.08);
}
.sec-card__mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface-green-soft);
  color: var(--brand-green);
  margin-bottom: 16px;
}
.sec-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.sec-card p {
  font-size: 0.85rem;
  color: var(--ink-600);
  line-height: 1.5;
  margin: 0;
}
.security__footnote {
  text-align: center;
  color: var(--ink-600);
  font-size: 0.9rem;
}

@media (max-width: 860px) { .security__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .security__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-section { padding: var(--sect-md) 0; background: #F8F9FD; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s var(--ease-out), box-shadow .2s;
}
.faq-item--open {
  border-color: rgba(2, 3, 233, 0.18);
  box-shadow: 0 6px 20px rgba(36, 49, 94, 0.06);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  text-align: left;
  transition: color .2s var(--ease-out);
}
.faq-item__q:hover { color: var(--brand-blue); }
.faq-item__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface-blue-soft);
  color: var(--brand-blue);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .25s var(--ease-out);
  position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.faq-item__icon::before { width: 10px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 10px; transition: transform .2s var(--ease-out); }
.faq-item--open .faq-item__icon {
  background: var(--brand-blue);
  color: #fff;
}
.faq-item--open .faq-item__icon::after { transform: scaleY(0); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-in-out);
}
.faq-item__a-inner {
  padding: 0 28px 22px;
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Newsletter bar in footer
   -------------------------------------------------------------------------- */

.newsletter {
  background: linear-gradient(135deg, rgba(143, 255, 153, 0.04), rgba(3, 254, 249, 0.03));
  border: 1px solid rgba(143, 255, 153, 0.12);
  border-radius: 20px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}
.newsletter h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.newsletter p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  margin: 0;
}
.newsletter__form {
  display: flex;
  gap: 8px;
  min-width: 0;
}
.newsletter__input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color .2s var(--ease-out), background .2s;
}
.newsletter__input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter__input:focus {
  border-color: rgba(143, 255, 153, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 760px) {
  .newsletter { grid-template-columns: 1fr; padding: 24px; }
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonials { margin-top: 48px; }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
  margin: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.testimonial-card__text {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-900);
  font-weight: 500;
  margin-bottom: 24px;
}
.testimonial-card__text::before {
  content: "\201C";
  display: block;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--accent-lime);
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.testimonial-card__meta { display: flex; align-items: center; gap: 16px; }
.testimonial-card__meta .logo { height: 32px; width: auto; opacity: 0.8; }
.testimonial-card__divider { width: 1px; height: 32px; background: var(--divider); }
.testimonial-card__person { display: flex; align-items: center; gap: 10px; }
.testimonial-card__person img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
}
.testimonial-card__name { font-weight: 600; font-size: 0.95rem; }
.testimonial-card__role { font-size: 0.82rem; color: var(--ink-600); }
.testimonial-card__thumb {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.testimonial-card__thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  .testimonial-card { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .testimonial-card__thumb { order: -1; aspect-ratio: 16/9; }
}

/* Slick dot override */
.slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.slick-dots li button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--ink-400);
  opacity: 0.4;
  font-size: 0;
  cursor: pointer;
  transition: all .2s var(--ease-out);
}
.slick-dots li.slick-active button { background: var(--brand-blue); opacity: 1; width: 24px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   CTA block (statement mode)
   -------------------------------------------------------------------------- */

.cta-block {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  padding: 64px 64px;
  color: #fff;
  background:
    radial-gradient(1000px 500px at 85% 50%, #2B3EFF 0%, #0423EA 25%, #02107D 55%, #000210 95%),
    linear-gradient(90deg, #000210 0%, #0423EA 100%);
  border: 1px solid rgba(143, 255, 153, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 50px rgba(0, 2, 16, 0.35);
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block::after {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(143, 255, 153, 0.18), transparent 60%);
  z-index: 0;
  pointer-events: none;
  animation: floatSlow 14s ease-in-out infinite;
  border-radius: 50%;
  filter: blur(20px);
}
.cta-block h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 2.62vw, 2.39rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cta-block p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 460px;
}
.cta-block__actions {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.cta-block__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.cta-block__secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.cta-block__secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.cta-block__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
  padding-top: 6px;
}
.cta-block__list li { display: flex; gap: 8px; align-items: flex-start; }
.cta-block__list .dash { color: rgba(255, 255, 255, 0.35); flex-shrink: 0; }

@media (max-width: 900px) {
  .cta-block { grid-template-columns: 1fr; padding: 44px 28px; gap: 32px; }
  .cta-block__actions { flex-direction: column; gap: 20px; }
}

/* --------------------------------------------------------------------------
   CTA — full-screen closing section
   -------------------------------------------------------------------------- */

.cta-full {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: var(--sect-lg) 0;
  background:
    radial-gradient(1200px 760px at 50% -8%, rgba(2, 3, 233, 0.34), transparent 62%),
    linear-gradient(180deg,
      var(--tx-d0) 0%,
      var(--tx-d1) 32%,
      var(--tx-d2) 64%,
      var(--tx-d3) 90%,
      var(--tx-d4) 100%);
}

.cta-full__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-full__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(143, 255, 153, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 255, 153, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 1200px 700px at 50% 50%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 1200px 700px at 50% 50%, black 25%, transparent 85%);
  animation: ctaGridDrift 70s linear infinite;
}
@keyframes ctaGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 64px 64px, 64px 64px; }
}

.cta-full__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.75;
  animation: ctaAurora 16s ease-in-out infinite;
  will-change: transform;
}
.cta-full__aurora--lime {
  width: 620px; height: 620px;
  top: -10%; right: -8%;
  background: radial-gradient(circle, rgba(0, 40, 246, 0.40), transparent 70%);
  animation-duration: 14s;
}
.cta-full__aurora--cyan {
  width: 520px; height: 520px;
  bottom: -12%; left: -6%;
  background: radial-gradient(circle, rgba(10, 255, 248, 0.12), transparent 70%);
  animation-duration: 18s;
  animation-delay: -4s;
}
.cta-full__aurora--blue {
  width: 480px; height: 480px;
  top: 30%; left: 45%;
  background: radial-gradient(circle, rgba(29, 30, 231, 0.55), transparent 70%);
  animation-duration: 22s;
  animation-delay: -8s;
  opacity: 0.55;
}
@keyframes ctaAurora {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(28px, -22px) scale(1.06); }
  66%      { transform: translate(-22px, 18px) scale(0.96); }
}

.cta-full__spark {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: ctaTwinkle 6s ease-in-out infinite;
}
.cta-full__spark--a { top: 22%; left: 18%; animation-delay: 0s; }
.cta-full__spark--b { top: 68%; left: 72%; animation-delay: 1.8s; }
.cta-full__spark--c { top: 42%; left: 88%; animation-delay: 3.6s; }
@keyframes ctaTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50%      { opacity: 1; transform: scale(1); }
}

.cta-full__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
}

.cta-full__eyebrow {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(143, 255, 153, 0.10);
  border: 1px solid rgba(143, 255, 153, 0.35);
  color: #B8FFC4;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cta-full__title {
  color: #fff;
  font-size: clamp(2.5rem, 4.92vw, 4.04rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  font-weight: 800;
}

.cta-full__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 44px;
}

.cta-full__actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.cta-full__cta-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.cta-full__pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(231, 255, 90, 0.65);
  opacity: 0;
  pointer-events: none;
  animation: ctaPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  z-index: 0;
}
.cta-full__pulse--delay { animation-delay: 1.2s; }
@keyframes ctaPulse {
  0%   { transform: scale(0.9); opacity: 0.9; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.cta-full__cta {
  position: relative;
  z-index: 1;
  animation: ctaBreathe 2.8s ease-in-out infinite;
}
@keyframes ctaBreathe {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 4px 16px rgba(231, 255, 90, 0.35),
      0 0 0 1px rgba(0, 2, 16, 0.02) inset;
  }
  50% {
    transform: translateY(-2px);
    box-shadow:
      0 12px 32px rgba(231, 255, 90, 0.55),
      0 0 0 1px rgba(0, 2, 16, 0.02) inset;
  }
}
.cta-full__cta:hover { animation-play-state: paused; }
.cta-full__cta-wrap:hover .cta-full__pulse { animation-play-state: paused; opacity: 0; }

.cta-full__secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.cta-full__secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.cta-full__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.cta-full__list li { display: flex; gap: 8px; align-items: center; }
.cta-full__list .dash { color: rgba(143, 255, 153, 0.5); }

@media (max-width: 720px) {
  .cta-full { padding: var(--sect-md) 0; }
  .cta-full__actions { flex-direction: column; gap: 14px; width: 100%; }
  .cta-full__cta-wrap, .cta-full__secondary { width: 100%; justify-content: center; }
  .cta-full__cta { width: 100%; justify-content: center; }
  .cta-full__list { flex-direction: column; gap: 12px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-full__grid,
  .cta-full__aurora,
  .cta-full__spark,
  .cta-full__pulse,
  .cta-full__cta { animation: none; }
}

/* --------------------------------------------------------------------------
   Book-a-demo page — hero, form card, testimonial, FAQ
   -------------------------------------------------------------------------- */

.demo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* top must clear the fixed nav on every viewport */
  padding: clamp(96px, 8vh + 40px, 140px) 0 0;
  color: #fff;
}

.demo-hero__shader {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.demo-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  animation: ctaAurora 18s ease-in-out infinite;
  will-change: transform;
}
.demo-hero__blob--lime {
  width: 620px; height: 620px;
  top: -8%; right: -6%;
  background: radial-gradient(circle, rgba(143, 255, 153, 0.55), transparent 70%);
  animation-duration: 15s;
}
.demo-hero__blob--cyan {
  width: 540px; height: 540px;
  top: 40%; left: -8%;
  background: radial-gradient(circle, rgba(3, 254, 249, 0.45), transparent 70%);
  animation-duration: 20s;
  animation-delay: -5s;
}
.demo-hero__blob--blue {
  width: 480px; height: 480px;
  bottom: 10%; right: 35%;
  background: radial-gradient(circle, rgba(29, 30, 231, 0.5), transparent 70%);
  animation-duration: 24s;
  animation-delay: -9s;
  opacity: 0.5;
}
.demo-hero__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(143, 255, 153, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 255, 153, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 1200px 700px at 50% 35%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 1200px 700px at 50% 35%, black 25%, transparent 85%);
  animation: ctaGridDrift 80s linear infinite;
}

.demo-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 24px;
}

/* Page-scoped trust-band tightening — the form column can leave dead space
   below the left content; bring the logos closer so they read as part of
   the hero rather than a separate section. */
.demo-hero .trust-band {
  margin-top: 24px;
  padding: 32px 0 44px;
}
.demo-hero .trust-band__note {
  margin-bottom: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}
.demo-hero .trust-band__inner { gap: 88px; }

.demo-hero__content { max-width: 580px; }
.demo-hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 3.61vw, 2.98rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
  font-weight: 800;
}
.demo-hero__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 560px;
}

.demo-hero__agenda {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.demo-hero__agenda li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.demo-hero__agenda strong {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
}
.demo-hero__agenda span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.55;
}
.demo-hero__check {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(143, 255, 153, 0.16);
  color: #8FFF99;
  border: 1px solid rgba(143, 255, 153, 0.4);
  margin-top: 2px;
}
.demo-hero__check svg { width: 12px; height: 12px; }

.demo-hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.demo-hero__stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.demo-hero__stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Form card ------------------------------------------------------------- */
.demo-form { position: relative; }
.demo-form__card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink-900);
  border-radius: 20px;
  padding: 32px;
  box-shadow:
    0 30px 80px rgba(0, 2, 16, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.demo-form__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E7FF5A 0%, #8FFF99 50%, #03FEF9 100%);
}
.demo-form__header { margin-bottom: 20px; }
.demo-form__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue, #1D1EE7);
  margin-bottom: 12px;
}
.demo-form__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #8FFF99;
  box-shadow: 0 0 0 4px rgba(143, 255, 153, 0.25);
  animation: demoFormDotPulse 2s ease-in-out infinite;
}
@keyframes demoFormDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(143, 255, 153, 0.25); }
  50%      { box-shadow: 0 0 0 7px rgba(143, 255, 153, 0.08); }
}
.demo-form__title {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.demo-form__note {
  color: var(--ink-600);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}
.demo-form__embed {
  margin: 0 -8px;
}
.demo-form__embed iframe {
  width: 100% !important;
  border: 0;
  border-radius: 12px;
  display: block;
}
.demo-form__footnote {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(0, 2, 16, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-600);
  font-size: 0.82rem;
  line-height: 1.5;
}
.demo-form__lock {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: inline-grid;
  place-items: center;
  color: var(--brand-blue, #1D1EE7);
}
.demo-form__lock svg { width: 16px; height: 16px; }

/* Customer story + video — split card, white/blue balance ---------------- */
.demo-story {
  padding: var(--sect-md) 0;
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(29, 30, 231, 0.05), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(143, 255, 153, 0.06), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F8FC 100%);
  position: relative;
  overflow: hidden;
}
.demo-story__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 2, 16, 0.06);
  box-shadow:
    0 30px 80px rgba(0, 2, 16, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.demo-story__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E7FF5A 0%, #8FFF99 50%, #03FEF9 100%);
  z-index: 2;
}

/* Text side ------------------------------------------------------------- */
.demo-story__text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.demo-story__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(29, 30, 231, 0.08);
  color: var(--brand-blue, #1D1EE7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}
.demo-story__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-blue, #1D1EE7);
  box-shadow: 0 0 0 4px rgba(29, 30, 231, 0.15);
}
.demo-story__title {
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0 0 16px;
  font-weight: 800;
}
.demo-story__lead {
  color: var(--ink-600);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 24px;
}
.demo-story__quote {
  position: relative;
  padding: 20px 0 20px 24px;
  border-left: 3px solid rgba(143, 255, 153, 0.55);
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-900);
  font-weight: 500;
  font-style: italic;
}
.demo-story__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px dashed rgba(0, 2, 16, 0.08);
}
.demo-story__author-meta { flex: 1; min-width: 0; }
.demo-story__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 2, 16, 0.12);
  flex-shrink: 0;
}
.demo-story__company {
  height: 38px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: auto;
  opacity: 0.9;
}
.demo-story__name {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.94rem;
}
.demo-story__role {
  color: var(--ink-600);
  font-size: 0.84rem;
  margin-top: 2px;
}
/* Key results — dark-bg stats band (matches the proof-stats look) ------- */
.demo-stats {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sect-md) 0;
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(29, 30, 231, 0.35), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(3, 254, 249, 0.08), transparent 60%),
    linear-gradient(180deg, #000210 0%, #001277 55%, #050925 100%);
}
.demo-stats__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.demo-stats__grid-bg {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 1400px 500px at 50% 50%, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 1400px 500px at 50% 50%, black 35%, transparent 90%);
}
.demo-stats__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.demo-stats__glow--lime {
  width: 360px; height: 360px;
  top: -40%; left: 55%;
  background: radial-gradient(circle, rgba(143, 255, 153, 0.35), transparent 70%);
}
.demo-stats__glow--cyan {
  width: 420px; height: 420px;
  bottom: -50%; right: -10%;
  background: radial-gradient(circle, rgba(3, 254, 249, 0.25), transparent 70%);
}

.demo-stats__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.demo-stats__item {
  color: #fff;
}
.demo-stats__value {
  font-size: clamp(2.8rem, 4.1vw, 3.74rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
  white-space: nowrap;
}
.demo-stats__accent {
  color: var(--accent-mint, #8FFF99);
  margin-left: 2px;
}
.demo-stats__label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  max-width: 240px;
}

@media (max-width: 960px) {
  .demo-stats { padding: var(--sect-sm) 0; }
  .demo-stats__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}
@media (max-width: 520px) {
  .demo-stats__row { grid-template-columns: 1fr; gap: 32px; }
}

/* Media side (blue video) ----------------------------------------------- */
.demo-story__media {
  position: relative;
  background:
    radial-gradient(800px 600px at 100% 0%, rgba(29, 30, 231, 0.7) 0%, transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(3, 254, 249, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #0A1235 0%, #060A24 60%, #000210 100%);
  min-height: 420px;
  padding: 32px;
  display: flex;
  align-items: stretch;
  isolation: isolate;
}
.demo-story__video {
  width: 100%;
  border-radius: 16px;
  min-height: 100%;
}

/* Caption override — larger, bolder, gradient text, pinned to the
   bottom-left so it never runs across the CEO portrait on the right. */
.demo-story__video .video-thumb__caption {
  left: 28px;
  right: auto;
  bottom: 32px;
  max-width: 56%;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  background: linear-gradient(92deg, #E7FF5A 0%, #F4FF9A 40%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 16px rgba(0, 2, 16, 0.75)) drop-shadow(0 0 8px rgba(0, 2, 16, 0.5));
}

@media (max-width: 900px) {
  .demo-story { padding: var(--sect-sm) 0; }
  .demo-story__card { grid-template-columns: 1fr; }
  .demo-story__text { padding: 40px 28px 32px; }
  .demo-story__media { min-height: 360px; padding: 24px; }
}

/* Featured testimonial --------------------------------------------------- */
.demo-quote {
  padding: var(--sect-md) 0;
  background: linear-gradient(180deg, #F8F9FD 0%, #FFFFFF 100%);
}
.demo-quote__card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 64px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0, 2, 16, 0.06);
  box-shadow:
    0 20px 60px rgba(0, 2, 16, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
}
.demo-quote__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E7FF5A 0%, #8FFF99 50%, #03FEF9 100%);
}
.demo-quote__mark {
  width: 44px; height: auto;
  color: rgba(29, 30, 231, 0.12);
  margin-bottom: 18px;
}
.demo-quote__text {
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink-900);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  font-style: normal;
  quotes: none;
}
.demo-quote__person {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.demo-quote__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 2, 16, 0.12);
}
.demo-quote__meta { flex: 1; min-width: 200px; }
.demo-quote__name {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1rem;
}
.demo-quote__title {
  color: var(--ink-600);
  font-size: 0.88rem;
  margin-top: 2px;
}
.demo-quote__logo {
  height: 32px;
  width: auto;
  opacity: 0.8;
}

/* FAQ -------------------------------------------------------------------- */
.demo-faq {
  padding: var(--sect-md) 0 var(--sect-lg);
  background: #fff;
}
.demo-faq__head {
  max-width: 720px;
  margin: 0 0 48px;
}
.demo-faq__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(29, 30, 231, 0.08);
  color: var(--brand-blue, #1D1EE7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.demo-faq__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0;
}
.demo-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 16px;
}
.demo-faq__item {
  border: 1px solid rgba(0, 2, 16, 0.08);
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s var(--ease-out), box-shadow .3s var(--ease-out), transform .2s var(--ease-out);
}
.demo-faq__item:hover {
  border-color: rgba(29, 30, 231, 0.22);
  box-shadow: 0 6px 24px rgba(0, 2, 16, 0.05);
}
.demo-faq__item[open] {
  border-color: rgba(29, 30, 231, 0.3);
  box-shadow: 0 10px 30px rgba(29, 30, 231, 0.06);
}
.demo-faq__item summary {
  list-style: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1rem;
}
.demo-faq__item summary::-webkit-details-marker { display: none; }
.demo-faq__chev {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(29, 30, 231, 0.06);
  color: var(--brand-blue, #1D1EE7);
  transition: transform .3s var(--ease-out), background .2s var(--ease-out);
}
.demo-faq__chev svg { width: 14px; height: 14px; }
.demo-faq__item[open] .demo-faq__chev {
  transform: rotate(180deg);
  background: rgba(29, 30, 231, 0.15);
}
.demo-faq__body {
  padding: 0 24px 22px;
  color: var(--ink-600);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 960px) {
  .demo-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .demo-hero__content { max-width: none; }
  .demo-form { max-width: 560px; margin: 0 auto; width: 100%; }
  .demo-faq__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .demo-hero { padding-top: 110px; }
  .demo-hero__proof { grid-template-columns: 1fr; gap: 16px; }
  .demo-form__card { padding: 24px; }
  .demo-quote__card { padding: 40px 28px; }
  .demo-quote__person { gap: 12px; }
  .demo-quote__logo { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-hero__blob,
  .demo-hero__grid,
  .demo-form__dot { animation: none; }
}

/* --------------------------------------------------------------------------
   Voices — premium testimonials grid with heavy animation
   -------------------------------------------------------------------------- */

.voices {
  padding: var(--sect-lg) 0;
  background: linear-gradient(180deg, #F8F9FD 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.voices__head {
  max-width: 920px;
  margin: 0 0 56px;
}
.voices__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface-green-soft);
  border: 1px solid rgba(58, 141, 73, 0.22);
  color: var(--brand-green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.voices__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
  animation: pulse 2.2s ease-in-out infinite;
}
.voices__title {
  font-size: clamp(2rem, 2.95vw, 2.76rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink-900);
  margin: 0;
}

.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.voice-card {
  position: relative;
  padding: 36px 32px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out),
    box-shadow .35s var(--ease-out),
    border-color .35s var(--ease-out);
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.voice-card--in { opacity: 1; transform: translateY(0); }
.voices__grid .voice-card:nth-child(1) { transition-delay: 0ms, 0ms, 0s, 0s; }
.voices__grid .voice-card:nth-child(2) { transition-delay: 140ms, 140ms, 0s, 0s; }
.voices__grid .voice-card:nth-child(3) { transition-delay: 280ms, 280ms, 0s, 0s; }

/* Carved white quote cards */
.voice-card--quote {
  background:
    linear-gradient(180deg, #ffffff 0%, #FAFBFE 100%);
  border: 1px solid #E6E8F0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 1px 2px rgba(36, 49, 94, 0.03),
    0 10px 24px rgba(36, 49, 94, 0.06);
}
.voice-card--quote::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 141, 73, 0.35), transparent);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.voice-card--quote:hover {
  border-color: rgba(58, 141, 73, 0.25);
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 2px 6px rgba(36, 49, 94, 0.05),
    0 28px 48px rgba(36, 49, 94, 0.12);
}
.voice-card--quote:hover::before { opacity: 1; }
.voice-card--quote:hover .voice-card__mark {
  transform: scale(1.08) rotate(-4deg);
  color: var(--brand-green);
}

.voice-card__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.8rem;
  line-height: 0.5;
  color: var(--accent-lime);
  margin-bottom: 24px;
  transition: transform .35s var(--ease-out), color .35s var(--ease-out);
  user-select: none;
}
.voice-card__text {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-900);
  font-weight: 500;
  margin: 0 0 auto;
  letter-spacing: -0.005em;
}

.voice-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(36, 49, 94, 0.08);
}
.voice-card__person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.voice-card__person img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(36, 49, 94, 0.14);
}
.voice-card__name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.voice-card__role {
  font-size: 0.78rem;
  color: var(--ink-600);
  line-height: 1.35;
}
.voice-card__logo {
  height: 22px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(30%);
  transition: opacity .25s var(--ease-out), filter .25s var(--ease-out);
  flex-shrink: 0;
}
.voice-card--quote:hover .voice-card__logo {
  opacity: 0.85;
  filter: grayscale(0);
}

/* Stat card - dark statement with heavy animation */
.voice-card--stat {
  color: #fff;
  background:
    radial-gradient(600px 400px at 110% -20%, #2B3EFF 0%, transparent 55%),
    radial-gradient(500px 500px at -10% 120%, #001277 0%, transparent 60%),
    linear-gradient(135deg, #000210 0%, #0423EA 100%);
  border: 1px solid rgba(143, 255, 153, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 50px rgba(0, 2, 16, 0.35);
  justify-content: space-between;
}
.voice-card--stat::before {
  content: "";
  position: absolute;
  top: -30%; right: -25%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(143, 255, 153, 0.26), transparent 65%);
  border-radius: 50%;
  filter: blur(40px);
  animation: floatSlow 12s ease-in-out infinite;
  z-index: -1;
}
.voice-card--stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.06) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: sheen 7s ease-in-out 1.5s infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes sheen {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
.voice-card--stat > * { position: relative; z-index: 1; }
.voice-card--stat:hover {
  border-color: rgba(143, 255, 153, 0.32);
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 32px 64px rgba(0, 2, 16, 0.45);
}

.voice-card__stat-value {
  font-size: clamp(3.5rem, 4.92vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--accent-lime);
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 24px rgba(231, 255, 90, 0.18);
  display: flex;
  align-items: baseline;
}
.voice-card__stat-value .percent {
  font-size: 0.75em;
  margin-left: 2px;
}
.voice-card__stat-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 380px;
}
.voice-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-lime);
  font-weight: 600;
  font-size: 0.95rem;
  align-self: flex-start;
}
.voice-card__link span {
  display: inline-block;
  transition: transform .2s var(--ease-out);
}
.voice-card__link:hover { color: var(--accent-mint); }
.voice-card__link:hover span { transform: translateX(5px); }

@media (max-width: 960px) {
  .voices__grid { grid-template-columns: 1fr 1fr; }
  .voice-card--stat { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .voices__grid { grid-template-columns: 1fr; }
  .voice-card--stat { grid-column: auto; }
  .voice-card { min-height: 0; }
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}

@media (max-width: 860px) {
  .cta-block { grid-template-columns: 1fr; padding: 48px 28px; }
  .cta-block__visual { display: none; }
}

/* --------------------------------------------------------------------------
   Voices Pro — premium testimonial showcase
   -------------------------------------------------------------------------- */

.voices-pro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sect-md) 0 var(--sect-lg);
  color: var(--ink-900);
  background:
    radial-gradient(1100px 700px at 92% -10%, rgba(29, 30, 231, 0.09), transparent 55%),
    radial-gradient(900px 700px at -10% 110%, rgba(0, 37, 246, 0.10), transparent 60%),
    linear-gradient(180deg, var(--tx-card) 0%, #EEF2FA 55%, var(--tx-card) 100%);
}
.voices-pro__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.voices-pro__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29, 30, 231, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 30, 231, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 1200px 700px at 50% 40%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 1200px 700px at 50% 40%, black 25%, transparent 85%);
}
.voices-pro__aurora {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  opacity: 0.8;
  animation: voices-float 16s ease-in-out infinite;
}
.voices-pro__aurora--lime {
  width: 520px; height: 520px;
  top: -14%; right: 4%;
  background: radial-gradient(circle, rgba(143, 255, 153, 0.75), transparent 70%);
  animation-delay: 0s;
}
.voices-pro__aurora--cyan {
  width: 580px; height: 580px;
  top: 38%; left: -10%;
  background: radial-gradient(circle, rgba(3, 254, 249, 0.32), transparent 70%);
  animation-delay: -5s;
}
.voices-pro__aurora--blue {
  width: 680px; height: 680px;
  bottom: -22%; right: -6%;
  background: radial-gradient(circle, rgba(29, 30, 231, 0.22), transparent 70%);
  animation-delay: -10s;
}
@keyframes voices-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(28px, -22px) scale(1.04); }
  66% { transform: translate(-20px, 18px) scale(0.97); }
}
.voices-pro__spark {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5ECF72;
  box-shadow: 0 0 14px rgba(94, 207, 114, 0.9);
  opacity: 0.6;
  animation: voices-twinkle 3.4s ease-in-out infinite;
}
.voices-pro__spark--a { top: 18%; left: 48%; animation-delay: 0s; }
.voices-pro__spark--b { top: 64%; left: 22%; animation-delay: -1.2s; width: 4px; height: 4px; background: #1D1EE7; box-shadow: 0 0 10px rgba(29, 30, 231, 0.7); }
.voices-pro__spark--c { top: 28%; right: 18%; animation-delay: -2.1s; width: 5px; height: 5px; }
@keyframes voices-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 0.95; transform: scale(1.1); }
}

.voices-pro__inner { position: relative; z-index: 1; }

.voices-pro__head {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}
.voices-pro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(58, 141, 73, 0.08);
  border: 1px solid rgba(58, 141, 73, 0.24);
  color: var(--brand-green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.voices-pro__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 12px rgba(58, 141, 73, 0.6);
  animation: pulse 2.2s ease-in-out infinite;
}
.voices-pro__title {
  font-size: clamp(2.1rem, 3.61vw, 3.06rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0 0 18px;
  color: var(--ink-900);
}
.voices-pro__title-accent {
  font-style: normal;
  background: linear-gradient(95deg, var(--brand-blue) 0%, var(--brand-green) 55%, var(--accent-mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.voices-pro__lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-600);
  max-width: 620px;
  margin: 0 auto;
}

/* STAGE --------------------------------------------------------------------- */
.voices-pro__stage {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}

/* PILL SELECTOR (below main card) ----------------------------------------- */
.voices-pro__rail-wrap {
  display: flex;
  justify-content: center;
  padding: 0 8px;
}
.voices-pro__rail {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(246, 248, 253, 0.85) 100%);
  border: 1px solid rgba(29, 30, 231, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 12px 30px rgba(36, 49, 94, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.voices-pro__rail-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(143, 255, 153, 0.95) 0%, rgba(180, 240, 200, 0.95) 60%, rgba(180, 220, 255, 0.85) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 8px 22px rgba(58, 141, 73, 0.25),
    0 2px 6px rgba(29, 30, 231, 0.1);
  transition:
    transform .55s cubic-bezier(0.65, 0, 0.35, 1),
    width .55s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.voices-pro__rail-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(58, 141, 73, 0.4);
}
.voices-pro__rail.is-rotating .voices-pro__rail-progress {
  animation: voicesRailRotate var(--voices-autoplay, 7000ms) linear forwards;
}
.voices-pro__rail.is-rotating.is-paused .voices-pro__rail-progress {
  animation-play-state: paused;
}
@keyframes voicesRailRotate {
  from { width: 0%; }
  to   { width: 100%; }
}

.voice-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 10px;
  border: 0;
  background: transparent;
  color: var(--ink-600);
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s var(--ease-out), transform .25s var(--ease-out);
}
.voice-pill:hover {
  color: var(--ink-900);
}
.voice-pill.is-active {
  color: var(--ink-900);
}
.voice-pill__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(36, 49, 94, 0.35);
  font-variant-numeric: tabular-nums;
  display: none;
  transition: color .25s var(--ease-out);
}
.voice-pill.is-active .voice-pill__num {
  color: rgba(6, 65, 22, 0.7);
}
.voice-pill__avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #FFFFFF;
  box-shadow: 0 3px 10px rgba(36, 49, 94, 0.14);
  background: #F6F8FD;
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.voice-pill__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voice-pill.is-active .voice-pill__avatar {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 2px rgba(58, 141, 73, 0.35),
    0 6px 14px rgba(36, 49, 94, 0.2);
}
.voice-pill__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 2px;
}
.voice-pill__name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.voice-pill__role {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  opacity: 0.72;
}
.voice-pill.is-active .voice-pill__role { opacity: 0.85; }

/* TRUST STRIP — aggregate signals above the main card ---------------------- */
.voices-pro__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto 28px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(246, 248, 253, 0.7) 100%);
  border: 1px solid rgba(29, 30, 231, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 24px rgba(36, 49, 94, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.voices-pro__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.voices-pro__trust-item strong {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink-900);
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.voices-pro__trust-item strong em {
  font-style: normal;
  font-size: 0.72em;
  color: var(--brand-green);
  -webkit-text-fill-color: var(--brand-green);
  background: none;
  margin-left: 1px;
}
.voices-pro__trust-divide {
  color: rgba(36, 49, 94, 0.45);
  font-weight: 600;
  font-size: 0.95rem;
}
.voices-pro__trust-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(36, 49, 94, 0.6);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-top: 2px;
}
.voices-pro__trust-stars {
  display: inline-flex;
  gap: 1px;
  color: #F5B800;
}
.voices-pro__trust-stars svg { width: 16px; height: 16px; }
.voices-pro__trust-sep {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent 0%, rgba(29, 30, 231, 0.18) 50%, transparent 100%);
  flex-shrink: 0;
}

/* MAIN STAGE -------------------------------------------------------------- */
.voices-pro__display {
  position: relative;
  min-height: 440px;
  border-radius: 28px;
  padding: 0;
  background: #FFFFFF;
  border: 1px solid rgba(29, 30, 231, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 2px 6px rgba(36, 49, 94, 0.04),
    0 30px 70px rgba(36, 49, 94, 0.14);
  overflow: hidden;
  animation: voices-card-breathe 6s ease-in-out infinite;
}
@keyframes voices-card-breathe {
  0%, 100% { box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 2px 6px rgba(36,49,94,0.04), 0 30px 70px rgba(36,49,94,0.14); }
  50%      { box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 2px 6px rgba(36,49,94,0.04), 0 34px 80px rgba(58,141,73,0.18); }
}
.voices-pro__display::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(143, 255, 153, 0.14) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: voices-sheen 9s ease-in-out 1.8s infinite;
  pointer-events: none;
  z-index: 0;
}

/* Big faded quotation watermark behind content */
.voices-pro__display::after {
  content: "\201C";
  position: absolute;
  top: -48px;
  right: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24rem;
  line-height: 0.9;
  color: rgba(29, 30, 231, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Animated conic-gradient "signal" ring traveling around the card edge */
@property --voices-ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.voices-pro__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  z-index: 2;
  background:
    conic-gradient(
      from var(--voices-ring-angle, 0deg),
      transparent 0deg,
      transparent 260deg,
      rgba(58, 141, 73, 0.25) 290deg,
      rgba(143, 255, 153, 0.95) 315deg,
      rgba(3, 254, 249, 0.8) 335deg,
      rgba(29, 30, 231, 0.7) 350deg,
      transparent 360deg
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: voices-ring-spin 5.5s linear infinite;
}
@keyframes voices-ring-spin {
  to { --voices-ring-angle: 360deg; }
}
/* Fallback for browsers without @property — use soft static gradient */
@supports not (background: conic-gradient(from 0deg, #000 0deg)) {
  .voices-pro__ring { display: none; }
}

/* Top bar — live chip + nav controls */
.voices-pro__topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px 0;
}
.voices-pro__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(58, 141, 73, 0.08);
  border: 1px solid rgba(58, 141, 73, 0.22);
  color: var(--brand-green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.voices-pro__live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 0 rgba(58, 141, 73, 0.55);
  animation: voices-live-pulse 1.8s ease-out infinite;
}
@keyframes voices-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(58, 141, 73, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(58, 141, 73, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 141, 73, 0); }
}

.voices-pro__nav-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.voices-pro__nav {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(29, 30, 231, 0.14);
  background: #fff;
  color: var(--ink-900);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out), color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.voices-pro__nav:hover,
.voices-pro__nav:focus-visible {
  background: linear-gradient(135deg, rgba(143, 255, 153, 0.2) 0%, rgba(180, 220, 255, 0.2) 100%);
  border-color: rgba(58, 141, 73, 0.45);
  color: var(--brand-green);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(58, 141, 73, 0.18);
}
.voices-pro__nav svg { width: 14px; height: 14px; }
.voices-pro__index {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(36, 49, 94, 0.55);
  font-variant-numeric: tabular-nums;
  padding: 0 6px;
}

/* Decorative corner marks — hairline bracket flourishes */
.voices-pro__corner {
  position: absolute;
  width: 18px; height: 18px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.5;
}
.voices-pro__corner::before,
.voices-pro__corner::after {
  content: "";
  position: absolute;
  background: rgba(58, 141, 73, 0.45);
}
.voices-pro__corner--tl { top: 10px; left: 10px; }
.voices-pro__corner--tl::before { top: 0; left: 0; width: 10px; height: 1.5px; border-radius: 1px; }
.voices-pro__corner--tl::after  { top: 0; left: 0; width: 1.5px; height: 10px; border-radius: 1px; }
.voices-pro__corner--tr { top: 10px; right: 10px; }
.voices-pro__corner--tr::before { top: 0; right: 0; width: 10px; height: 1.5px; border-radius: 1px; }
.voices-pro__corner--tr::after  { top: 0; right: 0; width: 1.5px; height: 10px; border-radius: 1px; }
.voices-pro__corner--bl { bottom: 10px; left: 10px; }
.voices-pro__corner--bl::before { bottom: 0; left: 0; width: 10px; height: 1.5px; border-radius: 1px; }
.voices-pro__corner--bl::after  { bottom: 0; left: 0; width: 1.5px; height: 10px; border-radius: 1px; }
.voices-pro__corner--br { bottom: 10px; right: 10px; }
.voices-pro__corner--br::before { bottom: 0; right: 0; width: 10px; height: 1.5px; border-radius: 1px; }
.voices-pro__corner--br::after  { bottom: 0; right: 0; width: 1.5px; height: 10px; border-radius: 1px; }
@keyframes voices-sheen {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.voice-slide {
  position: relative;
  z-index: 1;
  padding: 26px 36px 36px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.voice-slide[hidden] { display: none; }
.voice-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: voice-slide-in .7s var(--ease-out) both;
}
@keyframes voice-slide-in {
  0% { opacity: 0; transform: translateY(16px) scale(0.99); filter: blur(4px); }
  60% { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.voice-slide__halo {
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 255, 153, 0.35), transparent 70%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}
.voice-slide > *:not(.voice-slide__halo) { position: relative; z-index: 1; }

/* Two-column grid: identity left, quote + metrics right */
.voice-slide__grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ----- Left column: identity ----- */
.voice-slide__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  position: relative;
}
.voice-slide__identity::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: -20px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(29, 30, 231, 0.12) 30%, rgba(29, 30, 231, 0.12) 70%, transparent 100%);
}
.voice-slide__portrait {
  position: relative;
  width: 148px; height: 148px;
  border-radius: 50%;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #8FFF99 0%, #03FEF9 50%, #1D1EE7 100%);
  padding: 3px;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 18px 36px rgba(36, 49, 94, 0.18),
    0 0 0 6px rgba(143, 255, 153, 0.12);
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s var(--ease-out);
  animation: voicePortraitFloat 6s ease-in-out infinite;
}
@keyframes voicePortraitFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.voice-slide__portrait:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 1),
    0 24px 44px rgba(36, 49, 94, 0.22),
    0 0 0 8px rgba(143, 255, 153, 0.2);
}
.voice-slide__portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #F6F8FD;
  display: block;
}
.voice-slide__verify {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green) 0%, #5ECF72 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 3px #fff,
    0 6px 14px rgba(58, 141, 73, 0.35);
  z-index: 2;
  animation: voiceVerifyPop .7s cubic-bezier(0.34, 1.56, 0.64, 1) .4s both;
}
@keyframes voiceVerifyPop {
  0%   { transform: scale(0); }
  100% { transform: scale(1); }
}
.voice-slide__verify svg { width: 16px; height: 16px; }

.voice-slide__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: rgba(245, 184, 0, 0.08);
  border: 1px solid rgba(245, 184, 0, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  color: #8A6500;
  letter-spacing: 0.01em;
}
.voice-slide__stars {
  display: inline-flex;
  gap: 1px;
  color: #F5B800;
}
.voice-slide__stars svg {
  width: 13px; height: 13px;
  filter: drop-shadow(0 1px 2px rgba(245, 184, 0, 0.4));
}
.voice-slide__rating-txt { color: rgba(36, 49, 94, 0.7); font-weight: 600; }

.voice-slide__name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.voice-slide__role {
  font-size: 0.84rem;
  color: var(--ink-600);
  line-height: 1.35;
}
.voice-slide__logo {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(20%);
  flex-shrink: 0;
  margin-top: 4px;
  transition: opacity .3s var(--ease-out), filter .3s var(--ease-out);
}
.voice-slide.is-active .voice-slide__logo {
  opacity: 1;
  filter: grayscale(0);
}
.voice-slide__context {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.voice-slide__context span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(29, 30, 231, 0.05);
  border: 1px solid rgba(29, 30, 231, 0.1);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink-600);
  letter-spacing: 0.01em;
}

/* ----- Right column: quote + metrics ----- */
.voice-slide__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.voice-slide__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 0.4;
  color: var(--brand-green);
  margin: 14px 0 20px;
  user-select: none;
  text-shadow: 0 2px 20px rgba(58, 141, 73, 0.22);
}
.voice-slide__quote {
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  letter-spacing: -0.008em;
  color: var(--ink-900);
  font-weight: 500;
  margin: 0 0 26px;
  max-width: 640px;
}
.voice-slide__quote em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(95deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Metrics row — each in its own card */
.voice-slide__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.voice-metric {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 248, 253, 0.9) 100%);
  border: 1px solid rgba(29, 30, 231, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 6px 18px rgba(36, 49, 94, 0.06);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.voice-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 141, 73, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 26px rgba(36, 49, 94, 0.1);
}
.voice-metric__value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink-900);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.voice-metric__value em {
  font-style: normal;
  font-size: 0.58em;
  font-weight: 800;
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--brand-green);
}
.voice-metric__label {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink-600);
  font-weight: 500;
}

/* Staggered reveal of sub-elements when slide activates */
.voice-slide.is-active .voice-slide__portrait,
.voice-slide.is-active .voice-slide__rating,
.voice-slide.is-active .voice-slide__name,
.voice-slide.is-active .voice-slide__role,
.voice-slide.is-active .voice-slide__logo,
.voice-slide.is-active .voice-slide__context,
.voice-slide.is-active .voice-slide__mark,
.voice-slide.is-active .voice-slide__quote,
.voice-slide.is-active .voice-metric {
  opacity: 0;
  animation: voiceFragmentIn .6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.voice-slide.is-active .voice-slide__portrait    { animation-delay: 0.02s; }
.voice-slide.is-active .voice-slide__rating      { animation-delay: 0.1s; }
.voice-slide.is-active .voice-slide__name        { animation-delay: 0.14s; }
.voice-slide.is-active .voice-slide__role        { animation-delay: 0.18s; }
.voice-slide.is-active .voice-slide__logo        { animation-delay: 0.22s; }
.voice-slide.is-active .voice-slide__context     { animation-delay: 0.26s; }
.voice-slide.is-active .voice-slide__mark        { animation-delay: 0.08s; }
.voice-slide.is-active .voice-slide__quote       { animation-delay: 0.16s; }
.voice-slide.is-active .voice-metric:nth-child(1){ animation-delay: 0.28s; }
.voice-slide.is-active .voice-metric:nth-child(2){ animation-delay: 0.36s; }
.voice-slide.is-active .voice-metric:nth-child(3){ animation-delay: 0.44s; }
@keyframes voiceFragmentIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.voice-slide.is-active .voice-slide__portrait {
  animation: voicePortraitIn .7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.02s both, voicePortraitFloat 6s ease-in-out 0.7s infinite;
}
@keyframes voicePortraitIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 960px) {
  .voices-pro { padding: var(--sect-md) 0 var(--sect-md); }
  .voices-pro__head { margin-bottom: 36px; }
  .voices-pro__stage { gap: 24px; }
  .voices-pro__display { min-height: 0; }
  .voices-pro__topbar { padding: 16px 22px 0; }
  .voice-slide { padding: 22px 24px 28px; }
  .voice-slide__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .voice-slide__identity {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    padding: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(29, 30, 231, 0.08);
  }
  .voice-slide__identity::after { display: none; }
  .voice-slide__portrait { width: 88px; height: 88px; margin-bottom: 0; }
  .voice-slide__verify { width: 26px; height: 26px; }
  .voice-slide__verify svg { width: 12px; height: 12px; }
  .voice-slide__rating { order: 2; }
  .voice-slide__name { order: 1; font-size: 1.05rem; }
  .voice-slide__role { order: 1; flex-basis: 100%; margin-top: -4px; }
  .voice-slide__logo { order: 3; height: 26px; margin-top: 0; }
  .voice-slide__context { order: 4; flex-basis: 100%; }
  .voice-slide__mark { margin: 0 0 12px; font-size: 3.4rem; }
  .voice-slide__quote { font-size: 1.08rem; }
  .voice-slide__metrics { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .voice-metric { padding: 12px 14px; }
  .voice-metric__label { font-size: 0.7rem; }
  .voices-pro__trust {
    gap: 18px;
    padding: 12px 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .voices-pro__trust-sep { display: none; }
  .voices-pro__rail-wrap { overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; padding: 0 16px 8px; }
  .voices-pro__rail-wrap::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
  .voices-pro { padding: var(--sect-sm) 0 var(--sect-md); }
  .voices-pro__display { border-radius: 20px; }
  .voices-pro__topbar { padding: 14px 18px 0; }
  .voice-slide { padding: 18px 18px 22px; }
  .voice-slide__portrait { width: 72px; height: 72px; }
  .voice-slide__name { font-size: 1rem; }
  .voice-slide__mark { font-size: 3rem; }
  .voice-slide__quote { font-size: 1.02rem; margin-bottom: 20px; line-height: 1.4; }
  .voice-slide__metrics { grid-template-columns: 1fr 1fr; }
  .voice-slide__metrics .voice-metric:nth-child(3) { grid-column: 1 / -1; }
  .voice-metric__value { font-size: 1.4rem; }
  .voice-pill { padding: 6px 14px 6px 8px; gap: 10px; }
  .voice-pill__avatar { width: 46px; height: 46px; }
  .voice-pill__name { font-size: 0.86rem; }
  .voice-pill__role { font-size: 0.68rem; }
  .voices-pro__nav { width: 30px; height: 30px; }
  .voices-pro__trust-item strong { font-size: 1.1rem; }
  .voices-pro__trust-lbl { font-size: 0.66rem; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background:
    radial-gradient(1100px 700px at 100% 0%, rgba(0, 37, 246, 0.30), transparent 65%),
    radial-gradient(1200px 760px at 50% -8%, rgba(2, 3, 233, 0.30), transparent 62%),
    linear-gradient(180deg,
      var(--tx-d0) 0%,
      var(--tx-d1) 32%,
      var(--tx-d2) 64%,
      var(--tx-d3) 90%,
      var(--tx-d4) 100%);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 0;
}
/* .footer__rule shared styles + animation live near the top of the file (~line 183) */
.footer__inner { padding-top: 72px; padding-bottom: 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer__blurb { font-size: 0.9rem; line-height: 1.6; max-width: 320px; color: rgba(255, 255, 255, 0.75); }
.footer__col-head {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer .footer__list { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
.footer .footer__list li { margin: 0 !important; padding: 0 !important; line-height: 1 !important; display: block !important; }
.footer .footer__list li a { display: inline-block !important; color: rgba(255, 255, 255, 0.68); font-size: 0.9rem; line-height: 1.3 !important; padding: 0 !important; margin: 0 !important; }
.footer .footer__list li a:hover { color: var(--accent-mint); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer__social { display: flex; align-items: center; gap: 12px; }
.footer__social-label { color: rgba(255, 255, 255, 0.5); }
.footer__social a {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: all .2s var(--ease-out);
}
.footer__social a:hover { background: var(--accent-lime); color: var(--hero-bg-dark); }
.footer__social svg { width: 16px; height: 16px; }

@media (max-width: 860px) {
  .footer__inner { padding-top: 56px; padding-bottom: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; margin-bottom: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand img { margin-bottom: 12px; }
  .footer__blurb { max-width: 560px; line-height: 1.5; margin: 0; }
  .footer__col-head { margin-bottom: 12px; font-size: 0.72rem; }
  .footer .footer__list { gap: 8px !important; }
  .footer .footer__list li a { font-size: 0.88rem; }
  .footer__bottom { padding-top: 20px; gap: 14px; }
}
@media (max-width: 520px) {
  .footer__inner { padding-top: 40px; padding-bottom: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer__blurb { max-width: 100%; font-size: 0.88rem; }
  .footer__col-head { margin-bottom: 10px; }
  .footer .footer__list { gap: 6px !important; }
  .footer .footer__list li a { font-size: 0.92rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-top: 16px; }
}

/* Minimal footer variant — conversion-focused pages (book-demo, etc).
   No links, no columns, just brand + copyright. */
.footer--minimal__inner {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer--minimal__logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer--minimal__copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}
@media (max-width: 520px) {
  .footer--minimal__inner { justify-content: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   Motion utilities
   -------------------------------------------------------------------------- */

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

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal--in { opacity: 1; transform: translateY(0); }

/* Utility */
.m-0 { margin: 0 !important; }
.text-center { text-align: center; }

/* ==========================================================================
   About page — backers wall, awards, global presence
   ========================================================================== */

/* Backed-by logo wall (dark section). Each tile carries a logo <img> plus a
   text fallback; when the logo file is absent the img onerror adds .backer--txt
   and the name shows instead, so the wall reads cleanly before real logos land. */
.backers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}
.backer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), transform .3s var(--ease-out);
}
.backer:hover {
  border-color: rgba(143, 255, 153, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.backer__logo {
  max-height: 46px;
  max-width: 148px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: opacity .3s var(--ease-out);
}
.backer:hover .backer__logo { opacity: 1; }

/* EBRD is a stacked lockup; capped to the same height as the horizontal
   wordmarks it reads far smaller than everything beside it. */
.backer__logo--tall { max-height: 62px; }
.backer__name {
  display: none;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}
.backer--txt .backer__logo { display: none; }
.backer--txt .backer__name { display: block; }

/* Award cards (light section) */
.awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.award-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.award-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.award-card__badge {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(231, 255, 90, 0.22), rgba(143, 255, 153, 0.16));
  color: var(--brand-green);
  margin-bottom: 22px;
}
.award-card__badge svg { width: 26px; height: 26px; }
.award-card__year {
  position: absolute; top: 34px; inset-inline-end: 32px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink-400);
}
.award-card__title { font-size: 1.16rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink-900); line-height: 1.28; }
.award-card__issuer { margin-top: 10px; font-size: 0.9rem; font-weight: 700; color: var(--brand-blue); }
.award-card__desc { margin-top: 16px; font-size: 0.98rem; line-height: 1.55; color: var(--ink-600); }

/* Global presence cards (light section) */
.presence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.presence-card {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.presence-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.presence-card__flag { font-size: 2.1rem; line-height: 1; }
.presence-card__role {
  display: inline-block; margin-top: 18px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-green);
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--surface-green-soft);
}
.presence-card__country { margin-top: 16px; font-size: 1.32rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink-900); }
.presence-card__city { margin-top: 6px; font-size: 0.98rem; color: var(--ink-600); }
.presence-card__addr { margin-top: 14px; font-size: 0.9rem; line-height: 1.5; color: var(--ink-600); }

/* Hero credential strip (dark hero) */
.hero__backed {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
}
.hero__backed-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.hero__backed-names {
  font-size: 0.92rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 560px) {
  .backer { min-height: 96px; padding: 22px; }
}


/* ============================================================================
   Signature edge rail
   Every page of the redesign deck is bracketed by a lime-to-cyan bar. On a
   scrolling site that becomes one rail pinned to the top of the viewport plus
   a seam wherever a dark band ends. It mirrors under RTL so it always runs in
   the direction of reading.
   ========================================================================== */

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--tx-rail-h);
  background: var(--tx-rail);
  z-index: 9999;
  pointer-events: none;
}

.gradient-hero::after,
.cta-full::after,
.section--statement::after,
.integrations--unified::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--tx-rail-h);
  background: var(--tx-rail);
  z-index: 5;
  pointer-events: none;
}

[dir="rtl"] body::before,
[dir="rtl"] .gradient-hero::after,
[dir="rtl"] .cta-full::after,
[dir="rtl"] .section--statement::after,
[dir="rtl"] .integrations--unified::after {
  background: linear-gradient(270deg, #E3FF5D 0%, #8DFF9A 45%, #0AFFF8 100%);
}
