/* ─── Theme tokens — dark is the default ─── */
:root,
:root[data-theme="dark"] {
  --bg: #0B0F19;
  --bg-2: #111827;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #E5E7EB;
  --text-muted: rgba(229, 231, 235, 0.62);
  --text-dim: rgba(229, 231, 235, 0.38);

  --accent: #8B5CF6;
  --accent-2: #7C3AED;
  --accent-soft: rgba(139, 92, 246, 0.16);
  --accent-glow: 0 12px 32px -10px rgba(139, 92, 246, 0.6);

  --be-yellow: #FDDA24;
  --be-red:    #EF3340;

  --ok:   #22C55E;
  --warn: #F59E0B;
  --idle: #94A3B8;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);

  /* Themeable chrome tokens */
  --nav-bg: rgba(11, 15, 25, 0.72);
  --nav-border: var(--border);
  --mesh-tint-1: rgba(139, 92, 246, 0.20);
  --mesh-tint-2: rgba(139, 92, 246, 0.10);
  --mesh-tint-3: rgba(253, 218, 36, 0.04);
  --mesh-tint-4: rgba(239,  51, 64, 0.05);
  --logo-chip-bg: #ffffff;
  --logo-chip-border: rgba(255, 255, 255, 0.06);
  --logo-chip-shadow: 0 6px 18px rgba(139, 92, 246, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  --logo-chip-shadow-hover: 0 10px 26px rgba(139, 92, 246, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  --flag-pin-border: #ffffff;
  --flag-pin-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  --grain-opacity: 0.05;
  --grain-blend: overlay;

  /* Clip-text gradient — bright end reads on dark bg */
  --grad-start: #ffffff;

  /* Form inputs */
  --input-bg: #0E1320;
  --input-bg-focus: #0B0F19;
  --input-border: var(--border-strong);
  --input-placeholder: rgba(229, 231, 235, 0.35);
  --card-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}

/* ─── Light theme overrides ─── */
:root[data-theme="light"] {
  --bg: #F6F4FF;
  --bg-2: #FFFFFF;
  --surface: rgba(15, 23, 42, 0.04);
  --surface-2: rgba(15, 23, 42, 0.08);
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.18);

  --text: #0B0F19;
  --text-muted: rgba(11, 15, 25, 0.66);
  --text-dim: rgba(11, 15, 25, 0.42);

  --accent: #6D28D9;
  --accent-2: #5B21B6;
  --accent-soft: rgba(109, 40, 217, 0.10);
  --accent-glow: 0 12px 32px -10px rgba(109, 40, 217, 0.45);

  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-border: rgba(15, 23, 42, 0.08);
  --mesh-tint-1: rgba(139, 92, 246, 0.18);
  --mesh-tint-2: rgba(139, 92, 246, 0.10);
  --mesh-tint-3: rgba(253, 218, 36, 0.20);
  --mesh-tint-4: rgba(239,  51, 64, 0.10);
  --logo-chip-bg: #ffffff;
  --logo-chip-border: rgba(15, 23, 42, 0.08);
  --logo-chip-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  --logo-chip-shadow-hover: 0 8px 22px rgba(109, 40, 217, 0.22);
  --flag-pin-border: #ffffff;
  --flag-pin-shadow: 0 2px 7px rgba(15, 23, 42, 0.30);
  --grain-opacity: 0.025;
  --grain-blend: multiply;

  /* Clip-text gradient — deep indigo end reads on light bg */
  --grad-start: #1E1B4B;

  /* Form inputs */
  --input-bg: #ffffff;
  --input-bg-focus: #ffffff;
  --input-border: rgba(15, 23, 42, 0.16);
  --input-placeholder: rgba(15, 23, 42, 0.40);
  --card-shadow: 0 24px 60px -30px rgba(76, 29, 149, 0.30);
}

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

html {
  scroll-behavior: smooth;
}
section[id], header[id] { scroll-margin-top: 90px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 600px at 85% -5%, var(--mesh-tint-1), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, var(--mesh-tint-3), transparent 60%),
    radial-gradient(700px 500px at 50% 105%, var(--mesh-tint-4), transparent 60%),
    var(--bg);
  min-height: 100vh;
  transition: background-color 280ms ease, color 280ms ease;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: #fff;
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus { top: 8px; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: repeating-radial-gradient(circle at 0 0, rgba(255,255,255,0.6) 0, rgba(255,255,255,0) 1px, rgba(255,255,255,0) 2px);
  background-size: 3px 3px;
}

/* ───────────────────────────────────────────────────
   ANIMATED MESH BACKGROUND — drifts behind everything
   ─────────────────────────────────────────────────── */
.mesh-bg {
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 700px at 78% 22%, var(--mesh-tint-1), transparent 60%),
    radial-gradient(700px 600px at 18% 78%, var(--mesh-tint-2), transparent 60%),
    radial-gradient(560px 460px at 50% 50%, var(--mesh-tint-3), transparent 60%),
    radial-gradient(500px 420px at 85% 80%, var(--mesh-tint-4), transparent 60%);
  animation: mesh-drift 32s ease-in-out infinite alternate;
  filter: blur(8px);
}
@keyframes mesh-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}

/* ───────────────────────────────────────────────────
   SCROLL PROGRESS BAR — fills as you scroll the page
   ─────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 100;
  pointer-events: none;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #7C3AED 0%, #A78BFA 50%, #7C3AED 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.6);
  animation: progress-shimmer 3s linear infinite;
  transition: width 90ms linear;
}
@keyframes progress-shimmer {
  from { background-position: 0 0; }
  to   { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress, .mesh-bg { animation: none; }
}

/* ───────────────────────────────────────────────────
   HERO ENTRY CASCADE — fade-up on page load
   ─────────────────────────────────────────────────── */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-scale-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes chip-pop-in {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float-y {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow            { animation: hero-fade-up 700ms cubic-bezier(0.16, 1, 0.3, 1)  120ms backwards; }
  .hero-title-line:nth-child(1) { animation: hero-fade-up 800ms cubic-bezier(0.16, 1, 0.3, 1) 220ms backwards; }
  .hero-title-line:nth-child(2) { animation: hero-fade-up 800ms cubic-bezier(0.16, 1, 0.3, 1) 360ms backwards; }
  .hero-lede                { animation: hero-fade-up 700ms cubic-bezier(0.16, 1, 0.3, 1)  520ms backwards; }
  .hero-cta                 { animation: hero-fade-up 700ms cubic-bezier(0.16, 1, 0.3, 1)  680ms backwards; }
  .hero-trust               { animation: hero-fade-up 700ms cubic-bezier(0.16, 1, 0.3, 1)  860ms backwards; }
}

/* ───────────────────────────────────────────────────
   RIBBON (Coming Soon)
   ─────────────────────────────────────────────────── */
.ribbon {
  position: relative;
  z-index: 5;
  /* Always-dark announcement bar — pin a light-on-dark palette so its
     text stays readable in BOTH themes (otherwise dark-on-dark in light). */
  --text: #E5E7EB;
  --text-muted: rgba(229, 231, 235, 0.72);
  --accent: #A78BFA;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.4) 0%,
      rgba(0,0,0,0.2) 30%,
      rgba(253, 218, 36, 0.08) 50%,
      rgba(239, 51, 64, 0.10) 80%,
      rgba(0,0,0,0.4) 100%),
    #0a0d14;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.ribbon-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ribbon-flag { font-size: 15px; }

.ribbon-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
  animation: pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.ribbon-text { color: var(--text); }
.ribbon-text strong { color: var(--accent); letter-spacing: 0.04em; }
.ribbon-text > span { color: var(--text-muted); }

.ribbon-cta {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px dotted var(--text-muted);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.ribbon-cta:hover { color: var(--accent); border-color: var(--accent); }

/* ───────────────────────────────────────────────────
   NAV
   ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--nav-border);
  transition: background-color 280ms ease, border-color 280ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 19px;
  color: var(--text);
  transition: transform 200ms ease;
}
.brand:hover { transform: translateY(-1px); }

/* ─── Wordmark logo chip ─── */
.logo-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--logo-chip-bg);
  padding: 7px 14px;
  border-radius: 12px;
  border: 1px solid var(--logo-chip-border);
  box-shadow: var(--logo-chip-shadow);
  transition: background-color 280ms ease, border-color 280ms ease, box-shadow 240ms ease, transform 240ms ease;
}
/* Inner wrapper clips the moving shine; flag pin stays outside it */
.logo-media {
  position: relative;
  display: inline-flex;
  border-radius: 6px;
  overflow: hidden;
}
/* Periodic diagonal shine sweeping across the wordmark */
.logo-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 55%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(139, 92, 246, 0.20) 50%,
    rgba(253, 218, 36, 0.12) 62%,
    transparent 78%
  );
  transform: skewX(-18deg);
  animation: logo-shine 6.5s ease-in-out infinite;
}
@keyframes logo-shine {
  0%, 68%   { left: -70%; opacity: 1; }
  90%, 100% { left: 150%; opacity: 1; }
}
.brand:hover .logo-chip {
  box-shadow: var(--logo-chip-shadow-hover);
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .logo-media::after { animation: none; }
}
.logo-img {
  display: block;
  height: 30px;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.logo-chip-sm { padding: 5px 11px; border-radius: 10px; }
.logo-chip-sm .logo-img { height: 24px; }

/* Belgium flag pin (top-right corner) */
.flag-pin {
  position: absolute;
  top: -5px;
  right: -6px;
  width: 20px;
  height: 13px;
  border-radius: 3px;
  overflow: hidden;
  display: inline-flex;
  border: 1.5px solid var(--flag-pin-border);
  box-shadow: var(--flag-pin-shadow);
  transition: border-color 280ms ease, box-shadow 280ms ease;
}
.flag-pin .fp-b { flex: 1; background: #000000; }
.flag-pin .fp-y { flex: 1; background: #FDDA24; }
.flag-pin .fp-r { flex: 1; background: #EF3340; }
.logo-chip-sm .flag-pin {
  top: -4px; right: -5px;
  width: 17px; height: 11px;
  border-width: 1.25px;
}

/* Accessible label that replaces the old brand-text */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  justify-self: start;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--text); }

.brand { justify-self: center; }

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

/* ─── Theme toggle (sun ↔ moon) ─── */
.theme-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease, color 280ms ease;
  overflow: hidden;
}
.theme-toggle:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.theme-toggle .ic-sun,
.theme-toggle .ic-moon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  transition: opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
:root[data-theme="dark"]  .theme-toggle .ic-sun  { opacity: 0; transform: rotate(-60deg) scale(0.5); }
:root[data-theme="dark"]  .theme-toggle .ic-moon { opacity: 1; transform: rotate(0deg)   scale(1);   }
:root[data-theme="light"] .theme-toggle .ic-sun  { opacity: 1; transform: rotate(0deg)   scale(1);   }
:root[data-theme="light"] .theme-toggle .ic-moon { opacity: 0; transform: rotate(60deg)  scale(0.5); }

/* ─── Mobile: stack nav rows so the centered logo never collides ─── */
@media (max-width: 880px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 12px; }
  .nav-links { display: none; }
}

.lang {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-btn {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  background: var(--accent-soft);
  color: #fff;
}

/* ───────────────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.btn-lg { padding: 14px 22px; font-size: 15px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--accent-glow);
}
.btn-primary:hover { background: #9d6bff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { transition: transform 160ms ease; }
.btn-primary:hover svg { transform: translateX(2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }

.nav-cta { padding: 9px 16px; font-size: 13px; }

/* ───────────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 112px) var(--pad-x) clamp(64px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero-text { max-width: 620px; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hero-title-line { display: block; }
.hero-title-line.accent {
  /* Pad so ascenders/descenders aren't clipped by background-clip:text */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  background: linear-gradient(
    100deg,
    var(--grad-start) 0%,
    var(--accent) 45%,
    var(--be-yellow) 72%,
    var(--accent) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  animation: accent-flow 9s ease-in-out infinite;
}
@keyframes accent-flow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-line.accent { animation: none; }
}

.hero-lede {
  margin: 0 0 32px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-muted);
  max-width: 540px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-trust {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 480px;
}
.trust-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.trust-link {
  color: var(--text-muted);
  border-bottom: 1px dotted var(--text-dim);
  padding-bottom: 1px;
}
.trust-link:hover { color: var(--text); border-color: var(--text-muted); }

/* hero visual */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 460px;
  /* Dark "product mockup island" — keep light-on-dark palette in BOTH themes
     so the device screen + floating chips never render dark-on-dark. */
  --text: #E5E7EB;
  --text-muted: rgba(229, 231, 235, 0.62);
  --text-dim: rgba(229, 231, 235, 0.42);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);
}

.device {
  position: relative;
  width: min(420px, 100%);
  margin-left: auto;
  perspective: 1200px;
}

.device-frame {
  position: relative;
  background: linear-gradient(180deg, #1B2231, #0F1421);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 14px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transform:
    perspective(1400px)
    rotateY(calc(-6deg + var(--mx, 0) * 8deg))
    rotateX(calc( 4deg + var(--my, 0) * -6deg));
  transform-style: preserve-3d;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: hero-scale-in 1000ms cubic-bezier(0.16, 1, 0.3, 1) 500ms backwards;
  will-change: transform;
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 6px 10px;
  border-bottom: 1px dashed var(--border);
}
.device-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-live  { background: var(--ok);   box-shadow: 0 0 0 4px rgba(34,197,94,0.18); animation: live-pulse 2s ease-in-out infinite; }
.dot-soon  { background: var(--idle); box-shadow: 0 0 0 4px rgba(148,163,184,0.18); }
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.28), 0 0 0 0 rgba(34,197,94,0.45); }
  70%      { box-shadow: 0 0 0 3px rgba(34,197,94,0.10), 0 0 0 9px rgba(34,197,94,0); }
}
@media (prefers-reduced-motion: reduce) { .dot-live { animation: none; } }

.device-time { font-variant-numeric: tabular-nums; color: var(--text); }
.device-loc { color: var(--text-dim); margin-left: auto; }

.device-screen {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(139,92,246,0.20), transparent 55%),
    #0a0d14;
  border-radius: 14px;
  padding: 18px;
  margin-top: 12px;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Moving light sweep across the screen — "live display" feel */
.screen-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.07) 50%, transparent 62%);
  background-size: 250% 100%;
  animation: screen-sheen 7s ease-in-out infinite;
}
@keyframes screen-sheen {
  0%, 100% { background-position: 130% 0; }
  50%      { background-position: -30% 0; }
}

/* Rotating ad slides */
.ad-stage {
  position: relative;
  flex: 1;
  min-height: 188px;
}
.ad-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 560ms cubic-bezier(0.16,1,0.3,1),
              transform 560ms cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.ad-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Brand creative band (top of each ad) */
.ad-creative {
  position: relative;
  height: 86px;
  border-radius: 11px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 32%, #0a0d14), #0a0d14 78%);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
}
.ad-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  z-index: 1;
}
.ad-brand-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 28%, transparent);
}
.ad-glyph {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: color-mix(in srgb, var(--brand) 42%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 50%, transparent);
}
.ad-glyph svg { width: 22px; height: 22px; }

.ad-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: var(--surface-2);
  border-radius: 999px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  width: max-content;
}
.ad-tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--be-red);
  box-shadow: 0 0 0 3px rgba(239,51,64,0.25);
  animation: rec-blink 1.4s steps(2, end) infinite;
}
@keyframes rec-blink { 50% { opacity: 0.25; } }
.ad-headline {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: color-mix(in srgb, var(--brand) 75%, #fff);
  width: max-content;
}

.ad-progress {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.ad-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--be-yellow));
  border-radius: 999px;
}

.ad-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-dim);
}
.ad-imp { color: var(--text-muted); }
.ad-imp .imp-count {
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .screen-sheen, .ad-tag::before { animation: none; }
  .ad-slide { transition: opacity 200ms ease; }
}

/* Floating chips — mouse-parallax via transform, gentle float via the
   separate `translate` CSS property so the two never fight each other. */
.chip {
  position: absolute;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 28px -12px rgba(0,0,0,0.7);
  opacity: 0;
  animation:
    chip-pop-in 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--enter, 900ms) forwards,
    float-y 6s ease-in-out infinite calc(var(--enter, 900ms) + 700ms);
  transform: translate3d(
    calc(var(--mx, 0) * var(--p, 6) * 1px),
    calc(var(--my, 0) * var(--p, 6) * 1px),
    0
  );
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, translate;
}
.chip strong { color: var(--text); font-weight: 600; }
.chip span:not(.chip-icon) { color: var(--text-muted); }
.chip-icon { display: inline-flex; align-items: center; justify-content: center; }
.chip-icon-svg {
  width: 18px; height: 18px;
  color: var(--accent);
}
.chip-icon-svg svg { width: 14px; height: 14px; }
.chip-icon-flag {
  width: 22px; height: 14px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.chip-1 .chip-icon-svg { animation: live-broadcast 2.4s ease-in-out infinite; }
@keyframes live-broadcast {
  0%, 100% { opacity: 0.6; transform: scale(0.94); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .chip-1 .chip-icon-svg { animation: none; } }

.chip-1 { top: 6%;  left: -2%;   --enter:  900ms; --p:  6; }
.chip-2 { top: 50%; left: -8%;   --enter: 1100ms; --p: 10; }
.chip-3 { bottom: 4%; right: -2%; --enter: 1300ms; --p: 14; }

@media (prefers-reduced-motion: reduce) {
  .chip { opacity: 1; animation: none; }
  .device-frame { animation: none; transform: rotateY(-6deg) rotateX(4deg); }
}

/* ───────────────────────────────────────────────────
   LOGOS strip — infinite marquee
   ─────────────────────────────────────────────────── */
.logos {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(48px, 6vw, 80px);
  text-align: center;
}
.logos-label {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.logos-row {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logos-track {
  display: inline-flex;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
  padding: 8px 0;
}
.logos-row:hover .logos-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.logo-mark {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  opacity: 0.45;
  transition: opacity 200ms ease, color 200ms ease, transform 200ms ease;
  font-family: var(--font);
  white-space: nowrap;
}
.logo-mark:hover { opacity: 1; color: var(--text); transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ───────────────────────────────────────────────────
   SECTION shells
   ─────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--pad-x);
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-lede {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-muted);
}

/* ───────────────────────────────────────────────────
   STEPS (how it works)
   ─────────────────────────────────────────────────── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 200ms ease, border-color 200ms ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.step p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ───────────────────────────────────────────────────
   NUMBERS
   ─────────────────────────────────────────────────── */
.numbers {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.num {
  position: relative;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}
.num-val {
  display: block;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  padding-bottom: 0.06em;
  background: linear-gradient(180deg, var(--grad-start), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.num-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ───────────────────────────────────────────────────
   FEATURES
   ─────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feat {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transform-style: preserve-3d;
  transition:
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}
.feat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(
    400px circle at calc(50% + var(--tx, 0) * 50%) calc(50% + var(--ty, 0) * 50%),
    rgba(139, 92, 246, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.feat:hover {
  transform:
    perspective(1000px)
    rotateY(calc(var(--tx, 0) * 6deg))
    rotateX(calc(var(--ty, 0) * -6deg))
    translateY(-4px);
  border-color: rgba(139, 92, 246, 0.28);
  background: var(--surface-2);
  box-shadow: 0 20px 40px -20px rgba(139, 92, 246, 0.3);
}
.feat:hover::before { opacity: 1; }
.feat-icon, .feat h3, .feat p { position: relative; z-index: 1; }
.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(139, 92, 246, 0.04));
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 12px;
  color: var(--accent);
}
.feat-icon svg {
  width: 22px; height: 22px;
  display: block;
}
.feat h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feat p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ───────────────────────────────────────────────────
   COVERAGE / CITIES
   ─────────────────────────────────────────────────── */
.cities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.city {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 200ms ease, background 200ms ease;
}
.city:hover { border-color: var(--border-strong); }
.city header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.city h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.city p { margin: 0; font-size: 13px; color: var(--text-muted); }
.city-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.city-live .city-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
.city-soon .city-dot { background: var(--idle); }
.city-soon { opacity: 0.7; }

/* ───────────────────────────────────────────────────
   TEAM — premium cards with depth, glow, and stagger reveal
   ─────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.member {
  position: relative;
  padding: 44px 28px 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.015) 100%),
    var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
  transition:
    transform   500ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms ease,
    background  320ms ease,
    box-shadow  320ms ease;
}

/* Top gradient accent line that widens on hover */
.member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.85), transparent);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 380ms ease, left 420ms ease, right 420ms ease;
}

/* Soft radial glow behind the avatar */
.member::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, rgba(139,92,246,0) 65%);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.member:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.36);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    var(--bg-2);
  box-shadow:
    0 30px 60px -30px rgba(139, 92, 246, 0.45),
    0 0 0 1px rgba(139, 92, 246, 0.08) inset;
}
.member:hover::before { opacity: 1; left: 14%; right: 14%; }
.member:hover::after  { opacity: 1; }

/* ── Avatar with glow ring ────────────────────────── */
.member-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  box-shadow:
    0 18px 36px -10px rgba(139, 92, 246, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition:
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms ease;
  will-change: transform;
}

/* Glow halo behind avatar (inherits the same gradient) */
.member-avatar::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.35;
  filter: blur(14px);
  z-index: -1;
  transition: opacity 400ms ease, inset 400ms ease;
}

/* Conic shimmer ring */
.member-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 1.5px;
  background: conic-gradient(from 0deg,
    rgba(255,255,255,0.04),
    rgba(139,92,246,0.7),
    rgba(255,255,255,0.04),
    rgba(139,92,246,0.7),
    rgba(255,255,255,0.04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  animation: spin 7s linear infinite;
}

.member:hover .member-avatar          { transform: scale(1.06); }
.member:hover .member-avatar::before  { opacity: 0.6; inset: -14px; }
.member:hover .member-avatar::after   { opacity: 1; }

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

.member-avatar-te { background: linear-gradient(135deg, #8B5CF6 0%, #4F46E5 100%); }
.member-avatar-am { background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%); }
.member-avatar-aa { background: linear-gradient(135deg, #8B5CF6 0%, #F59E0B 100%); }

.member-avatar span {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* ── Name / role / button ─────────────────────────── */
.member-name {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.member-role {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.member-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(139, 92, 246, 0.10);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 999px;
  line-height: 1;
  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}
.member .member-linkedin .li-glyph,
.member-linkedin svg.li-glyph {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  max-width: 16px;
  flex: 0 0 16px;
  display: inline-block;
  color: var(--accent);
  transition: color 200ms ease;
}
.member-linkedin:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(139, 92, 246, 0.55);
}
.member-linkedin:hover .li-glyph { color: #fff; }

/* ── Stagger reveal ───────────────────────────────── */
.team .member {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms ease,
    background  320ms ease,
    box-shadow  320ms ease;
}
.team.is-revealed .member { opacity: 1; transform: translateY(0); }
.team.is-revealed .member:nth-child(1) { transition-delay: 120ms, 120ms, 0s, 0s, 0s; }
.team.is-revealed .member:nth-child(2) { transition-delay: 260ms, 260ms, 0s, 0s, 0s; }
.team.is-revealed .member:nth-child(3) { transition-delay: 400ms, 400ms, 0s, 0s, 0s; }

@media (prefers-reduced-motion: reduce) {
  .team .member,
  .member, .member-avatar, .member-avatar::before, .member-avatar::after,
  .member::before, .member::after {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ───────────────────────────────────────────────────
   PRICING TEASER
   ─────────────────────────────────────────────────── */
.pricing { display: flex; justify-content: center; }
.pricing-card {
  width: 100%;
  max-width: 720px;
  padding: clamp(36px, 5vw, 56px);
  background:
    linear-gradient(180deg, rgba(139,92,246,0.18), rgba(139,92,246,0.04)),
    var(--surface);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(139, 92, 246, 0.5);
}
.pricing-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--surface-2);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 16px;
}
.pricing-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.025em;
  font-weight: 700;
}
.pricing-lede {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  display: grid;
  gap: 10px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-perks li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px; height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ───────────────────────────────────────────────────
   NOTIFY (form)
   ─────────────────────────────────────────────────── */
.notify { padding-top: clamp(48px, 6vw, 72px); }
.notify-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  background:
    linear-gradient(160deg, rgba(139,92,246,0.06), rgba(139,92,246,0.0) 55%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
/* Soft accent glow drifting behind the form card */
.notify-grid::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
  animation: notify-glow 14s ease-in-out infinite alternate;
}
@keyframes notify-glow {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
  100% { transform: translate3d(-8%, 12%, 0) scale(1.15); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .notify-grid::before { animation: none; }
}
.notify-text, .notify-form { position: relative; z-index: 1; }

.notify-text .section-tag { margin-bottom: 14px; }
.notify-text .section-title { font-size: clamp(26px, 3.4vw, 36px); text-align: left; }
.notify-text .section-lede { text-align: left; }

.contact-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.contact-line { margin: 0 0 4px; }
.contact-block strong { color: var(--text); font-weight: 600; }
.contact-block a:hover { color: var(--accent); }

.notify-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.notify-form { accent-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 160ms ease;
}
.field:focus-within label { color: var(--accent); }

.field input, .field select {
  width: 100%;
  padding: 13px 15px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 180ms ease, background-color 180ms ease,
              box-shadow 220ms ease, transform 140ms ease;
}
.field input::placeholder { color: var(--input-placeholder); }

/* Custom chevron for selects (purple, reads on both themes) */
.field select {
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}
.field input:hover, .field select:hover { border-color: var(--accent); }

.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--input-bg-focus);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field input:focus { transform: translateY(-1px); }

.form-status { margin: 0; font-size: 13px; color: var(--text-dim); min-height: 1em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--be-red); }
.form-fine { margin: 0; font-size: 12px; color: var(--text-dim); }

/* ───────────────────────────────────────────────────
   FAQ
   ─────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 200ms ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ───────────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: clamp(48px, 6vw, 72px) var(--pad-x) clamp(24px, 3vw, 40px);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-tagline {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color 160ms ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-addr { color: var(--text-dim) !important; }

.footer-base {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}
.footer-legal { display: inline-flex; gap: 18px; }
.footer-legal a { color: var(--text-dim); }
.footer-legal a:hover { color: var(--text); }

/* ───────────────────────────────────────────────────
   REVEAL — class-based scroll-in animation
   Plus per-child stagger for feature / city / step grids
   ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity   700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Children of these grids slide-up with a per-child stagger when the
   parent section becomes .is-revealed. Cards already animated on hover
   continue working — these rules only touch the entry state. */
.features > .feat,
.steps    > .step,
.cities   > .city,
.num {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity   650ms cubic-bezier(0.16, 1, 0.3, 1) var(--stagger-d, 0ms),
    transform 650ms cubic-bezier(0.16, 1, 0.3, 1) var(--stagger-d, 0ms),
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}
.is-revealed .features > .feat,
.is-revealed .steps    > .step,
.is-revealed .cities   > .city,
.is-revealed .num {
  opacity: 1;
  transform: translateY(0);
}

.features > .feat:nth-child(1) { --stagger-d:  80ms; }
.features > .feat:nth-child(2) { --stagger-d: 160ms; }
.features > .feat:nth-child(3) { --stagger-d: 240ms; }
.features > .feat:nth-child(4) { --stagger-d: 320ms; }
.features > .feat:nth-child(5) { --stagger-d: 400ms; }
.features > .feat:nth-child(6) { --stagger-d: 480ms; }

.steps > .step:nth-child(1) { --stagger-d: 100ms; }
.steps > .step:nth-child(2) { --stagger-d: 240ms; }
.steps > .step:nth-child(3) { --stagger-d: 380ms; }

.cities > .city:nth-child(1) { --stagger-d:  60ms; }
.cities > .city:nth-child(2) { --stagger-d: 120ms; }
.cities > .city:nth-child(3) { --stagger-d: 180ms; }
.cities > .city:nth-child(4) { --stagger-d: 240ms; }
.cities > .city:nth-child(5) { --stagger-d: 300ms; }
.cities > .city:nth-child(6) { --stagger-d: 360ms; }
.cities > .city:nth-child(7) { --stagger-d: 420ms; }
.cities > .city:nth-child(8) { --stagger-d: 480ms; }

.num:nth-child(1) { --stagger-d: 100ms; }
.num:nth-child(2) { --stagger-d: 220ms; }
.num:nth-child(3) { --stagger-d: 340ms; }
.num:nth-child(4) { --stagger-d: 460ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .features > .feat, .steps > .step, .cities > .city, .num {
    opacity: 1; transform: none; transition: none;
  }
}

/* ───────────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; margin-top: 12px; }
  .device { max-width: 360px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 460px; }
  .notify-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .ribbon-inner { font-size: 12px; gap: 8px; }
  .ribbon-cta { display: none; }
  .nav { padding: 12px 16px; gap: 12px; }
  .lang { padding: 3px; }
  .lang-btn { padding: 5px 10px; }
  .nav-cta { display: none; }
  .features { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .notify-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .chip, .ribbon-pulse, .ad-progress-fill { animation: none; }
  .device-frame { transform: none; }
}
