/* ============================================================
   ONEINFRA — PROFESSIONAL SAAS REDESIGN v3
   Light, clean, premium — no dark backgrounds
   ============================================================ */

/* ── Google Fonts are loaded in HTML ── */

/* ── Design tokens ── */
:root {
  --font-sans: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  /* Neutrals */
  --white: #ffffff;
  --gray-25: #fcfcfd;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Brand */
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;

  /* Semantic */
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --rose-50: #fff1f2;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(16,24,40,.05);
  --shadow-sm: 0 1px 3px rgba(16,24,40,.07), 0 1px 2px rgba(16,24,40,.04);
  --shadow-md: 0 4px 8px -2px rgba(16,24,40,.08), 0 2px 4px -2px rgba(16,24,40,.04);
  --shadow-lg: 0 12px 24px -4px rgba(16,24,40,.08), 0 4px 8px -2px rgba(16,24,40,.04);
  --shadow-xl: 0 24px 48px -12px rgba(16,24,40,.12);
  --shadow-2xl: 0 40px 96px -24px rgba(16,24,40,.16);
  --shadow-brand: 0 4px 16px rgba(99,102,241,.22), 0 1px 3px rgba(99,102,241,.12);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-700);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ── Global utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Sections ── */
.section { padding: 100px 0 !important; }
.section.tint { background: var(--gray-50) !important; }
.section-sm { padding: 48px 0 !important; }

.section-head { margin-bottom: 60px !important; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem) !important;
  font-weight: 750 !important;
  letter-spacing: -0.038em !important;
  line-height: 1.14 !important;
  color: var(--gray-900) !important;
}
.section-head .lead {
  max-width: 580px;
  margin: 18px auto 0 !important;
  color: var(--gray-500) !important;
  font-size: 1.06rem !important;
  line-height: 1.75 !important;
}

/* Eyebrows / kickers */
.eyebrow {
  display: inline-block;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: var(--indigo-600) !important;
  margin-bottom: 14px;
}
.eyebrow-emerald { color: var(--emerald-600) !important; }
.eyebrow-amber { color: var(--amber-600) !important; }
.eyebrow-indigo { color: var(--indigo-600) !important; }
.eyebrow-rose { color: var(--rose-600) !important; }

/* ──────────────────────────────────────────
   ANNOUNCEMENT BAR
────────────────────────────────────────── */
.announce {
  background: linear-gradient(90deg, var(--indigo-600) 0%, var(--violet-600) 100%) !important;
  font-size: .84rem !important;
  padding: 10px 16px !important;
  color: #fff !important;
  text-align: center;
}
.announce a { color: rgba(255,255,255,.9) !important; text-decoration: underline; text-underline-offset: 3px; }
.announce .tag {
  background: rgba(255,255,255,.2) !important;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff !important;
  font-size: .68rem !important;
  padding: 2px 9px !important;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .05em;
}

/* ──────────────────────────────────────────
   NAVIGATION
────────────────────────────────────────── */
.nav {
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 1px solid var(--gray-100) !important;
  box-shadow: 0 1px 0 var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner { height: 64px !important; }
.nav-links a {
  font-size: .875rem !important;
  font-weight: 500 !important;
  color: var(--gray-600) !important;
  transition: color .15s ease !important;
  letter-spacing: -.01em;
}
.nav-links a:hover { color: var(--gray-900) !important; }
.brand { font-weight: 700 !important; }
.brand .b1 { color: var(--indigo-600) !important; }
.brand .b2 { color: var(--gray-800) !important; }

/* ──────────────────────────────────────────
   HERO SECTION — Premium Light
────────────────────────────────────────── */
.hero-v2 {
  position: relative;
  padding: 72px 0 80px !important;
  overflow: hidden;
  /* Visible gradient: soft indigo at top → clean white */
  background:
    linear-gradient(180deg,
      #eef0ff 0%,
      #f5f3ff 18%,
      #fafafe 42%,
      #ffffff 65%
    ) !important;
}

/* Background layers container */
.hero-v2-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* Dot grid — visible but elegant */
.hero-v2-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99,102,241,.18) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: .65;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 10%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 10%, transparent 68%);
}

/* Top center glow — the main light source */
.hero-v2-glow--1 {
  position: absolute;
  width: 1100px; height: 650px;
  top: -350px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 15%,
    rgba(99,102,241,.22) 0%,
    rgba(124,58,237,.10) 35%,
    transparent 68%
  );
  filter: blur(24px);
}

/* Left accent glow */
.hero-v2-glow--2 {
  position: absolute;
  width: 500px; height: 500px;
  top: 5%; left: -60px;
  background: radial-gradient(circle,
    rgba(99,102,241,.12) 0%, transparent 65%
  );
  filter: blur(50px);
}

/* Right accent glow */
.hero-v2-glow--3 {
  position: absolute;
  width: 500px; height: 500px;
  top: 5%; right: -60px;
  background: radial-gradient(circle,
    rgba(139,92,246,.11) 0%, transparent 65%
  );
  filter: blur(50px);
}

/* Pseudo corner tints */
.hero-v2-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 350px at 0% 0%, rgba(165,180,252,.20), transparent),
    radial-gradient(400px 350px at 100% 0%, rgba(196,181,253,.18), transparent);
}
.hero-v2-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.9));
}

/* Centered inner */
.hero-v2-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Floating cards ── */
.hero-float {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 3;
  width: 230px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow:
    0 2px 8px rgba(99,102,241,.08),
    0 12px 40px rgba(99,102,241,.12),
    0 1px 0 rgba(255,255,255,.9) inset;
}
.hero-float--left  { left: max(24px, calc(50% - 500px)); animation: heroFloatL 6s ease-in-out infinite; }
.hero-float--right { right: max(24px, calc(50% - 500px)); animation: heroFloatR 7s ease-in-out infinite; }

@keyframes heroFloatL {
  0%, 100% { transform: translateY(-60%); }
  50%       { transform: translateY(-64%); }
}
@keyframes heroFloatR {
  0%, 100% { transform: translateY(-58%); }
  50%       { transform: translateY(-62%); }
}

/* Float card internals */
.hf-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.hf-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hf-icon--violet { background: #f5f3ff; color: #7c3aed; }
.hf-icon--amber  { background: #fffbeb; color: #d97706; }
.hf-title { font-size: .79rem; font-weight: 660; color: #1e2240; flex: 1; }
.hf-live {
  font-size: .65rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #059669;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: 4px; padding: 2px 6px;
}
.hf-warn {
  font-size: .65rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #d97706;
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 4px; padding: 2px 6px;
}

.hf-steps { display: flex; flex-direction: column; gap: 6px; }
.hf-step {
  display: flex; align-items: center; gap: 7px;
  font-size: .74rem; color: #6b7280; line-height: 1.3;
}
.hf-step--done { color: #374151; }
.hf-step--active { color: #4f46e5; font-weight: 560; }
.hf-step code { font-family: var(--font-mono); font-size: .71rem; background: #f3f4f6; padding: 1px 4px; border-radius: 3px; }

.hf-step-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.hf-step-dot--done { background: #10b981; }
.hf-step-dot--spin {
  border: 2px solid #e0e7ff; border-top-color: #4f46e5;
  animation: heroSpin .8s linear infinite;
}
@keyframes heroSpin { to { transform: rotate(360deg); } }

.hf-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid #f3f4f6;
}
.hf-conf { font-size: .71rem; color: #9ca3af; }
.hf-badge {
  font-size: .67rem; font-weight: 700; color: #4f46e5;
  background: #eef2ff; border: 1px solid #c7d2fe;
  border-radius: 4px; padding: 2px 7px;
}

.hf-cost-row { display: flex; gap: 12px; margin-bottom: 10px; }
.hf-cost-item { display: flex; flex-direction: column; gap: 2px; }
.hf-cost-n { font-size: 1.12rem; font-weight: 760; letter-spacing: -.03em; line-height: 1; }
.hf-cost-n--red   { color: #e11d48; }
.hf-cost-n--green { color: #059669; }
.hf-cost-l { font-size: .69rem; color: #9ca3af; }
.hf-reco {
  display: flex; align-items: center; gap: 5px;
  font-size: .72rem; color: #059669; font-weight: 540;
  background: #f0fdf4; border-radius: 6px; padding: 5px 8px;
}

/* Trust separator */
.hero-v2-trust-sep { color: #d1d5db; font-size: .8rem; }

/* Hide float cards on narrow screens */
@media (max-width: 1100px) {
  .hero-float { display: none; }
}

/* Content is now centered via hero-v2-inner */

/* Badge — clean light pill on white */
.hero-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px 7px 12px;
  background: #f5f7ff;
  border: 1px solid rgba(99,102,241,0.28);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--indigo-600);
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 1px 4px rgba(99,102,241,0.08);
  animation: heroFadeUp .6s .05s both;
}
.hero-v2-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--indigo-500);
  box-shadow: 0 0 0 3px rgba(99,102,241,.22);
  animation: heroPulse 2.4s ease-in-out infinite;
}

/* Headline */
.hero-v2-h1 {
  margin: 26px 0 0;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: -.048em;
  color: #0c0d1a;
  animation: heroFadeUp .6s .12s both;
}
.hero-v2-gradient {
  background: linear-gradient(128deg, #4f46e5 0%, #7c3aed 45%, #6366f1 80%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: heroGradShift 6s ease infinite;
}
@keyframes heroGradShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* Lead */
.hero-v2-lead {
  margin: 24px 0 0;
  max-width: 580px;
  font-size: 1.1rem;
  line-height: 1.76;
  color: #5a607a;
  font-weight: 400;
  animation: heroFadeUp .6s .2s both;
  text-align: center;
}
.hero-v2-lead strong { color: #1e2240; font-weight: 640; }

/* CTAs */
.hero-v2-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeUp .6s .28s both;
}

.hero-v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 11px;
  font-size: .95rem;
  font-weight: 640;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  border: 1.5px solid transparent;
  line-height: 1.25;
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
}
.hero-v2-btn--primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(79,70,229,.36), 0 1px 3px rgba(79,70,229,.22);
}
.hero-v2-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, transparent 100%);
  pointer-events: none;
}
.hero-v2-btn--primary:hover {
  box-shadow: 0 8px 28px rgba(79,70,229,.48), 0 2px 6px rgba(79,70,229,.28);
  transform: translateY(-2px);
}
.hero-v2-btn--ghost {
  background: #ffffff;
  color: #374151;
  border-color: #d1d5db;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.hero-v2-btn--ghost:hover {
  background: #f9fafb;
  border-color: rgba(99,102,241,.40);
  box-shadow: 0 2px 10px rgba(99,102,241,.10);
  transform: translateY(-1px);
}

/* Sub-copy */
.hero-v2-muted {
  margin-top: 14px;
  font-size: .82rem;
  color: #9ca3af;
  animation: heroFadeUp .6s .36s both;
}

/* Trust pill */
.hero-v2-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
  animation: heroFadeUp .6s .42s both;
}
.hero-v2-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f0fdf4;
  border: 1px solid rgba(16,185,129,.30);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 640;
  color: #065f46;
  box-shadow: 0 1px 3px rgba(16,185,129,.06);
}
.hero-v2-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,.20);
  animation: heroPulse 2.4s ease-in-out infinite;
}
.hero-v2-trust-text { font-size: .82rem; color: #9ca3af; }

/* ── Metric strip — crisp white card ── */
.hero-v2-metrics {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 60px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 8px 32px rgba(99,102,241,.08),
    0 0 0 1px rgba(99,102,241,.04);
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  animation: heroFadeUp .7s .52s both;
}
.hero-v2-metric {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  transition: background .18s;
}
.hero-v2-metric:hover { background: rgba(99,102,241,.04); }
.hero-v2-metric-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,.12) 20%, rgba(99,102,241,.12) 80%, transparent);
  align-self: stretch;
  flex-shrink: 0;
}
.hero-v2-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-v2-metric-icon--indigo {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  color: var(--indigo-600);
  box-shadow: 0 2px 8px rgba(99,102,241,.14);
}
.hero-v2-metric-icon--emerald {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: var(--emerald-600);
  box-shadow: 0 2px 8px rgba(16,185,129,.12);
}
.hero-v2-metric-icon--violet {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: var(--violet-600);
  box-shadow: 0 2px 8px rgba(124,58,237,.12);
}
.hero-v2-metric-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}
.hero-v2-metric-num {
  font-size: 1.28rem;
  font-weight: 800;
  color: #0c0d1a;
  letter-spacing: -.04em;
  line-height: 1;
  font-family: var(--font-display);
}
.hero-v2-metric-label {
  font-size: .73rem;
  color: #8b92a8;
  font-weight: 520;
  letter-spacing: .01em;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .hero-v2-metrics { flex-direction: column; border-radius: 16px; }
  .hero-v2-metric-divider { width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,.10) 20%, rgba(99,102,241,.10) 80%, transparent);
    align-self: auto;
  }
  .hero-v2-metric { padding: 16px 20px; }
  .hero-v2 .hero-ring-1,
  .hero-v2 .hero-ring-2 { display: none; }
}



/* Right column — dashboard mock */
.hero-v2-visual {
  position: relative;
  z-index: 1;
  animation: heroFadeUp .7s .28s both;
}
.hv-dash {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.hv-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.hv-topbar-dots { display: flex; gap: 6px; }
.hv-topbar-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.hv-topbar-dots i:nth-child(1) { background: #f87171; }
.hv-topbar-dots i:nth-child(2) { background: #fbbf24; }
.hv-topbar-dots i:nth-child(3) { background: #34d399; }
.hv-topbar-url {
  flex: 1; text-align: center;
  font-size: .7rem; color: var(--gray-400);
  font-family: var(--font-mono); letter-spacing: .01em;
}
.hv-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gray-100); }
.hv-panel { background: #fff; padding: 16px 18px; }
.hv-ph { display: flex; align-items: center; gap: 7px; margin-bottom: 13px; }
.hv-ph svg { flex-shrink: 0; }
.hv-ph-title { font-size: .76rem; font-weight: 650; color: var(--gray-800); letter-spacing: -.01em; }
.hv-ph-badge { margin-left: auto; font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.hv-ph-badge--ok { background: var(--emerald-50); color: var(--emerald-600); }
.hv-ph-badge--live { background: var(--indigo-50); color: var(--indigo-700); }
.hv-ph-badge--warn { background: var(--amber-50); color: var(--amber-600); }

/* Cluster panel */
.hv-cl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 11px; }
.hv-cl-stat { text-align: center; }
.hv-cl-n { display: block; font-size: 1.24rem; font-weight: 750; color: var(--gray-900); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hv-cl-l { display: block; font-size: .64rem; color: var(--gray-400); margin-top: 1px; }
.hv-nodes { display: flex; gap: 3px; flex-wrap: wrap; }
.hv-nd { width: 15px; height: 15px; border-radius: 3px; }
.hv-nd--ok { background: #d1fae5; border: 1px solid #a7f3d0; }
.hv-nd--warn { background: #fef3c7; border: 1px solid #fde68a; }

/* Investigation panel */
.hv-inv-list { display: flex; flex-direction: column; gap: 7px; }
.hv-inv-row { display: flex; align-items: center; gap: 7px; font-size: .72rem; color: var(--gray-500); }
.hv-inv-row code { font-family: var(--font-mono); font-size: .66rem; background: var(--gray-100); padding: 1px 5px; border-radius: 4px; color: var(--indigo-600); }
.hv-inv-icon { width: 15px; height: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .6rem; font-weight: 700; }
.hv-inv-icon--done { background: var(--emerald-50); color: var(--emerald-600); }
.hv-inv-icon--spin { border: 2px solid #e0e7ff; border-top-color: var(--indigo-500); animation: hdSpin .8s linear infinite; }
.hv-inv-row--done { color: var(--gray-700); }
.hv-inv-row--active { color: var(--indigo-700); font-weight: 570; }
.hv-inv-footer { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; padding: 7px 9px; background: var(--emerald-50); border: 1px solid var(--emerald-100); border-radius: 7px; }
.hv-inv-footer span:first-child { font-size: .7rem; font-weight: 700; color: var(--emerald-600); }
.hv-inv-footer span:last-child { font-size: .66rem; color: var(--emerald-500); }

/* Metrics panel */
.hv-met-bars { display: flex; flex-direction: column; gap: 9px; margin-bottom: 7px; }
.hv-met-item label { display: flex; justify-content: space-between; font-size: .66rem; color: var(--gray-400); margin-bottom: 3px; }
.hv-met-item label b { color: var(--gray-700); font-weight: 650; font-variant-numeric: tabular-nums; }
.hv-bar-track { height: 5px; background: var(--gray-100); border-radius: 99px; overflow: hidden; }
.hv-bar-fill { height: 100%; border-radius: 99px; }
.hv-spark { width: 100%; height: 36px; margin-top: 4px; }

/* Cost panel */
.hv-cost-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 11px; }
.hv-cs { display: flex; flex-direction: column; }
.hv-cs-n { font-size: 1.1rem; font-weight: 740; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hv-cs-n--red { color: #dc2626; }
.hv-cs-n--green { color: var(--emerald-600); }
.hv-cs-l { font-size: .63rem; color: var(--gray-400); margin-top: 2px; }
.hv-reco { display: flex; align-items: center; gap: 6px; padding: 6px 9px; background: var(--emerald-50); border: 1px solid var(--emerald-100); border-radius: 7px; font-size: .68rem; color: var(--emerald-600); font-weight: 540; }

/* ──────────────────────────────────────────
   LOGO STRIP
────────────────────────────────────────── */
.section-sm {
  background: var(--white) !important;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.marquee-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track .stack-logo,
.stack-logo,
.logo-word {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  filter: none !important;
  opacity: 1 !important;
  transition: transform .2s ease, opacity .2s ease;
}
.marquee-track .stack-logo:hover,
.stack-logo:hover {
  opacity: 1 !important;
  transform: scale(1.06);
}

/* ──────────────────────────────────────────
   STATS SECTION
────────────────────────────────────────── */
#stats {
  background: var(--gray-50) !important;
  padding: 80px 0 !important;
}
.stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  gap: 16px !important;
}
.stat {
  padding: 36px 28px !important;
  background: var(--white) !important;
  border: 1px solid #eaecf5 !important;
  border-radius: 20px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform .28s cubic-bezier(0.16,1,0.3,1), box-shadow .28s ease, border-color .28s ease !important;
  box-shadow: 0 2px 8px rgba(99,102,241,.06), 0 1px 2px rgba(0,0,0,.03) !important;
}
.stat::before {
  content: "" !important;
  position: absolute !important;
  top: -40px; left: 50% !important;
  transform: translateX(-50%) !important;
  width: 180px; height: 120px !important;
  border-radius: 50% !important;
  opacity: .4 !important; pointer-events: none !important;
}
.stat:not(:last-child)::after { display: none !important; }
.stat:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px -8px rgba(99,102,241,.14), 0 4px 10px rgba(0,0,0,.04) !important;
  border-color: #c7d2fe !important;
}
.stat .n {
  font-size: 2.6rem !important;
  font-weight: 820 !important;
  letter-spacing: -0.045em !important;
  line-height: 1 !important;
  margin-bottom: 10px !important;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display);
  position: relative; z-index: 1;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.stat::before { background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,.18), transparent 70%) !important; }
.stat .l { font-size: .85rem !important; color: #6b7280 !important; line-height: 1.45 !important; font-weight: 480 !important; position: relative; z-index: 1; }

/* ──────────────────────────────────────────
   FEATURE CARDS — Premium
────────────────────────────────────────── */
#features {
  background: linear-gradient(180deg,
    #f4f6ff 0%,
    #f8f9ff 30%,
    #ffffff 70%
  ) !important;
  padding: 100px 0 !important;
}

main #features .section-head { text-align: center; max-width: 720px; margin: 0 auto; }
main #features .section-head .eyebrow { display: block; margin-bottom: 16px; }
main #features .section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); font-weight: 760; letter-spacing: -0.038em; line-height: 1.14; color: var(--gray-900); }
main #features .section-head .lead { margin: 18px auto 0; max-width: 600px; color: var(--gray-500); font-size: 1.02rem; line-height: 1.72; }

main #features .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

/* ── feat-card base ── */
main #features .grid-3 .feat-card {
  padding: 36px 32px 32px;
  background: #ffffff;
  border: 1px solid #eaecf5;
  border-radius: 22px;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 6px 20px -4px rgba(99, 102, 241, 0.06);
  transition:
    transform .32s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow .32s cubic-bezier(0.16, 1, 0.3, 1),
    border-color .32s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Top atmospheric glow per card — via ::before */
main #features .grid-3 .feat-card::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 160px;
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity .3s ease;
  display: block !important;
}
main #features .grid-3 .feat-card:nth-child(1)::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
}
main #features .grid-3 .feat-card:nth-child(2)::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.16) 0%, transparent 70%);
}
main #features .grid-3 .feat-card:nth-child(3)::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(5, 150, 105, 0.14) 0%, transparent 70%);
}

main #features .grid-3 .feat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.30);
}
main #features .grid-3 .feat-card:nth-child(1):hover { box-shadow: 0 20px 48px -12px rgba(79, 70, 229, 0.18), 0 6px 16px -4px rgba(16, 24, 40, 0.04); }
main #features .grid-3 .feat-card:nth-child(2):hover { box-shadow: 0 20px 48px -12px rgba(124, 58, 237, 0.16), 0 6px 16px -4px rgba(16, 24, 40, 0.04); border-color: rgba(124, 58, 237, 0.28); }
main #features .grid-3 .feat-card:nth-child(3):hover { box-shadow: 0 20px 48px -12px rgba(5, 150, 105, 0.16), 0 6px 16px -4px rgba(16, 24, 40, 0.04); border-color: rgba(5, 150, 105, 0.28); }

main #features .grid-3 .feat-card:hover::before { opacity: 0.85; }

/* Feature number badge */
.feat-num {
  position: absolute;
  top: 22px; right: 24px;
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .08em;
  color: #c7d2fe;
  font-family: var(--font-display);
  line-height: 1;
}
main #features .grid-3 .feat-card:nth-child(2) .feat-num { color: #ddd6fe; }
main #features .grid-3 .feat-card:nth-child(3) .feat-num { color: #a7f3d0; }

/* Icon container */
main #features .grid-3 .feat-card .ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 26px;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}
main #features .grid-3 .feat-card:hover .ic {
  transform: scale(1.1) rotate(-3deg);
}
main #features .grid-3 .feat-card .ic svg { width: 26px; height: 26px; }

main #features .grid-3 .feat-card:nth-child(1) .ic {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.16), 0 0 0 4px rgba(99, 102, 241, 0.06);
}
main #features .grid-3 .feat-card:nth-child(2) .ic {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.20);
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.14), 0 0 0 4px rgba(124, 58, 237, 0.06);
}
main #features .grid-3 .feat-card:nth-child(3) .ic {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.20);
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.14), 0 0 0 4px rgba(5, 150, 105, 0.06);
}

/* Card body */
main #features .grid-3 .feat-card h3 {
  font-size: 1.24rem;
  font-weight: 760;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  color: #0d0f1c;
  line-height: 1.28;
  position: relative; z-index: 1;
}
main #features .grid-3 .feat-card p {
  color: #4b5563;
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
  position: relative; z-index: 1;
}

/* Learn more link */
main #features .grid-3 .feat-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f0f1f8;
  font-size: .9rem;
  font-weight: 660;
  transition: gap .22s ease, color .2s;
  text-decoration: none;
  position: relative; z-index: 1;
}
main #features .grid-3 .feat-card .more svg { transition: transform .22s ease; }
main #features .grid-3 .feat-card .more:hover { gap: 13px; }
main #features .grid-3 .feat-card .more:hover svg { transform: translateX(4px); }

main #features .grid-3 .feat-card:nth-child(1) .more { color: #4f46e5; }
main #features .grid-3 .feat-card:nth-child(2) .more { color: #7c3aed; }
main #features .grid-3 .feat-card:nth-child(3) .more { color: #059669; }


/* ──────────────────────────────────────────
   FEATURE ROWS (Investigate / Cost / Alerts)
────────────────────────────────────────── */
#investigate {
  background: linear-gradient(180deg, #f6f8ff 0%, #f9fafe 100%) !important;
}
#cost {
  background: linear-gradient(180deg, #fffef8 0%, #fffbeb 15%, #ffffff 70%) !important;
}
#alerts {
  background: linear-gradient(180deg, #fff5f5 0%, #fff8f8 20%, #ffffff 70%) !important;
}

.frow { gap: 72px !important; align-items: center !important; }
.ftext .kicker {
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.ftext h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.3rem) !important;
  font-weight: 760 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.12 !important;
  margin: 0 0 0 !important;
  color: var(--gray-900);
}
.ftext .lead {
  margin-top: 18px !important;
  color: var(--gray-500) !important;
  font-size: .97rem !important;
  line-height: 1.74 !important;
}
.flist { margin-top: 24px !important; gap: 11px !important; list-style: none; padding: 0; display: flex; flex-direction: column; }
.flist li {
  font-size: .93rem !important;
  color: var(--gray-600) !important;
  line-height: 1.55 !important;
  gap: 10px !important;
  display: flex;
  align-items: flex-start;
}
.flist svg { flex-shrink: 0; margin-top: 2px; }
#investigate .flist svg { color: #6366f1 !important; }
#cost .flist svg { color: #d97706 !important; }
#alerts .flist svg { color: #ef4444 !important; }
#investigate .ftext .kicker { color: #6366f1 !important; }
#cost .ftext .kicker { color: #d97706 !important; }
#alerts .ftext .kicker { color: #ef4444 !important; }

/* Browser frames */
.browser {
  border-radius: 16px !important;
  border: 1px solid var(--gray-200) !important;
  background: #fff !important;
  box-shadow: var(--shadow-xl) !important;
  overflow: hidden !important;
}
.browser-bar {
  display: flex;
  align-items: center;
  padding: 12px 16px !important;
  background: var(--gray-50) !important;
  border-bottom: 1px solid var(--gray-100) !important;
  gap: 8px !important;
}
.browser-bar i { width: 11px !important; height: 11px !important; border-radius: 50% !important; flex-shrink: 0; }
.browser-bar i:nth-child(1) { background: #f87171 !important; }
.browser-bar i:nth-child(2) { background: #fbbf24 !important; }
.browser-bar i:nth-child(3) { background: #34d399 !important; }
.browser-url {
  margin-left: 10px !important;
  font-size: .73rem !important;
  color: var(--gray-400) !important;
  background: #fff !important;
  border: 1px solid var(--gray-200) !important;
  padding: 3px 12px !important;
  border-radius: 6px !important;
  font-family: var(--font-mono) !important;
}
.browser img { display: block; width: 100%; }
.browser.float { transition: transform .35s ease, box-shadow .35s ease !important; }
.browser.float:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-2xl) !important;
}

/* ──────────────────────────────────────────
   INSTALL STEPS
────────────────────────────────────────── */
#install {
  background: linear-gradient(180deg, #f4f6ff 0%, #f8f9ff 40%, #f9fafe 100%) !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 100px 0 !important;
}
main #install .section-head { text-align: center; max-width: 640px; margin: 0 auto; }
main #install .section-head .eyebrow { display: block; margin-bottom: 14px; }

main #install .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 56px;
}
/* Connector arrow between steps */
main #install .steps .step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 44px; right: -18px;
  font-size: 1rem; color: #c7d2fe;
  z-index: 2; width: 24px; text-align: center;
  line-height: 1;
}
main #install .steps .step {
  padding: 36px 28px 32px;
  background: #ffffff;
  border: 1px solid #eaecf5;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(99,102,241,.06), 0 1px 2px rgba(0,0,0,.03);
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(0.16,1,0.3,1), box-shadow .3s ease, border-color .3s ease;
}
main #install .steps .step::before {
  content: "";
  position: absolute; top: -50px; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 140px; border-radius: 50%;
  opacity: .4; pointer-events: none;
}
main #install .steps .step:nth-child(1)::before { background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,.25), transparent 70%); }
main #install .steps .step:nth-child(2)::before { background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,.22), transparent 70%); }
main #install .steps .step:nth-child(3)::before { background: radial-gradient(ellipse at 50% 0%, rgba(16,185,129,.2), transparent 70%); }
main #install .steps .step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -10px rgba(99,102,241,.16), 0 6px 16px -4px rgba(0,0,0,.04);
  border-color: #c7d2fe;
}
main #install .steps .step .num {
  width: 48px; height: 48px;
  border-radius: 14px;
  font-size: 1.05rem; font-weight: 780;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 26px;
  color: #fff;
  position: relative; z-index: 1;
}
main #install .steps .step:nth-child(1) .num { background: linear-gradient(135deg, #6366f1, #4f46e5); box-shadow: 0 4px 14px rgba(99,102,241,.38); }
main #install .steps .step:nth-child(2) .num { background: linear-gradient(135deg, #7c3aed, #6d28d9); box-shadow: 0 4px 14px rgba(124,58,237,.36); }
main #install .steps .step:nth-child(3) .num { background: linear-gradient(135deg, #059669, #047857); box-shadow: 0 4px 14px rgba(5,150,105,.34); }
main #install .steps .step h3 { font-size: 1.16rem; font-weight: 730; margin: 0 0 10px; letter-spacing: -0.022em; color: #111827; position: relative; z-index: 1; }
main #install .steps .step p { color: #6b7280; font-size: .93rem; line-height: 1.72; margin: 0; position: relative; z-index: 1; }

/* ──────────────────────────────────────────
   SECURITY BAND
────────────────────────────────────────── */
#security {
  background: linear-gradient(180deg, #f8fffb 0%, #ffffff 100%) !important;
  padding: 72px 0 !important;
}

main #security > .container > .band {
  background: linear-gradient(145deg, #f0fdf4 0%, #ecfdf5 30%, #eef7ff 70%, #f0f4ff 100%);
  border-radius: 24px;
  padding: 64px 56px;
  border: 1px solid #a7f3d0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 28px -6px rgba(16,185,129,.12), 0 2px 8px rgba(0,0,0,.03);
}
main #security > .container > .band::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 5% 90%, rgba(16,185,129,.1), transparent 60%),
    radial-gradient(400px 300px at 95% 15%, rgba(59,130,246,.07), transparent 60%),
    radial-gradient(300px 250px at 50% 50%, rgba(255,255,255,.4), transparent 65%);
}
main .band.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
main .band h2 { color: #0d1117; font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 780; letter-spacing: -0.038em; line-height: 1.13; }
main .band .lead { color: #4b5563; font-size: .97rem; line-height: 1.76; }
main .band .eyebrow { color: #059669 !important; }
main .band .btn-ghost {
  background: rgba(255,255,255,.95);
  color: #1f2937;
  border: 1px solid rgba(167,243,208,.8);
  box-shadow: 0 2px 8px rgba(16,185,129,.12);
  border-radius: 12px;
  padding: 11px 24px;
  font-size: .91rem;
  font-weight: 640;
  text-decoration: none;
  display: inline-block;
  transition: all .22s ease;
  backdrop-filter: blur(4px);
}
main .band .btn-ghost:hover {
  border-color: rgba(52,211,153,.7);
  box-shadow: 0 4px 16px rgba(16,185,129,.18);
  transform: translateY(-2px);
  background: #ffffff;
}
main .band .secpts { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; margin: 0; }
main .band .secpts li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(167,243,208,.7);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
main .band .secpts li:hover {
  background: rgba(255,255,255,.98);
  border-color: rgba(52,211,153,.6);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(16,185,129,.1);
}
main .band .secpts .si {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  flex-shrink: 0; color: #059669;
  box-shadow: 0 2px 8px rgba(16,185,129,.14);
}
main .band .secpts b { display: block; color: #111827; font-size: .95rem; font-weight: 680; margin-bottom: 3px; }
main .band .secpts li div span { color: #6b7280; font-size: .88rem; line-height: 1.6; }

/* ──────────────────────────────────────────
   WHY CARDS — "Trusted by Engineering Teams"
   Premium 3-column layout
────────────────────────────────────────── */
#why {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 40%, #f3f5fd 100%) !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 100px 0 !important;
}
main #why .section-head { text-align: center; max-width: 680px; margin: 0 auto; }
main #why .section-head .eyebrow { display: block; margin-bottom: 12px; }
main #why .section-head h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 780;
  letter-spacing: -0.038em;
  line-height: 1.14;
  color: var(--gray-900);
  margin: 0;
}
main #why .section-head .lead {
  color: var(--gray-500);
  font-size: 1.02rem;
  line-height: 1.72;
  margin: 16px auto 0;
  max-width: 580px;
}

/* Grid — always 3 columns on desktop */
main #why .reason-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
  margin-top: 56px !important;
  align-items: stretch;
}

/* Card base */
main #why .reason-card {
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #eaecf5 !important;
  border-radius: 22px !important;
  box-shadow: 0 2px 10px rgba(99,102,241,.06), 0 1px 3px rgba(0,0,0,.04) !important;
  transition: transform .32s cubic-bezier(0.16,1,0.3,1), box-shadow .32s ease, border-color .32s ease !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}
main #why .reason-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 48px -10px rgba(99,102,241,.14), 0 6px 16px -4px rgba(0,0,0,.05) !important;
  border-color: #c7d2fe !important;
}

/* Colored header area */
.reason-card-header {
  padding: 28px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Icon container */
.reason-glyph {
  width: 52px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  flex-shrink: 0;
  font-size: 0 !important;
}
.reason-glyph--emerald {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
  box-shadow: 0 2px 8px rgba(16,185,129,.2);
}
.reason-glyph--amber {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #d97706;
  box-shadow: 0 2px 8px rgba(245,158,11,.2);
}
.reason-glyph--indigo {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  color: #4f46e5;
  box-shadow: 0 2px 8px rgba(99,102,241,.2);
}

/* Label above title */
.reason-label {
  font-size: .7rem !important;
  font-weight: 700 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
  display: block;
  margin-bottom: 2px;
}
.reason-label--emerald { color: #059669; }
.reason-label--amber { color: #d97706; }
.reason-label--indigo { color: #4f46e5; }

/* Card body */
.reason-card-body {
  padding: 0 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.reason-card h3 {
  font-size: 1.2rem !important;
  font-weight: 750 !important;
  color: #111827 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.25 !important;
  margin: 0 0 12px !important;
}
.reason-card p {
  color: #6b7280 !important;
  font-size: .92rem !important;
  line-height: 1.7 !important;
  margin: 0 0 20px !important;
}

/* Feature bullet list inside cards */
.reason-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}
.reason-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .85rem;
  color: #374151;
  line-height: 1.5;
}
.reason-features li::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.reason-card[data-accent="emerald"] .reason-features li::before {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.5l2 2 4-4' stroke='%23059669' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
.reason-card[data-accent="amber"] .reason-features li::before {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.5l2 2 4-4' stroke='%23d97706' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
.reason-card[data-accent="indigo"] .reason-features li::before {
  background-color: #eef2ff;
  border: 1px solid #c7d2fe;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.5l2 2 4-4' stroke='%234f46e5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* Card divider */
.reason-card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e8f0 20%, #e5e8f0 80%, transparent);
  margin: 0 28px 20px;
}

/* Responsive: collapse to 1 col below 900px */
@media (max-width: 900px) {
  main #why .reason-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
@media (min-width: 640px) and (max-width: 900px) {
  main #why .reason-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ──────────────────────────────────────────
   LIVE STATS
────────────────────────────────────────── */
#live {
  background: linear-gradient(180deg, #f4f6ff 0%, #f8f9ff 50%, #ffffff 100%) !important;
  border-top: none !important;
  border-bottom: none !important;
}

.live-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
main #live .live-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid #eaecf5; border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px -4px rgba(99,102,241,.1), 0 1px 4px rgba(0,0,0,.04);
  background: #ffffff;
  gap: 0; margin-top: 40px;
}
main #live .live-grid .live-cell {
  padding: 38px 28px; background: #ffffff; border: none; border-radius: 0;
  box-shadow: none; text-align: center;
  transition: background .2s ease, transform .2s ease;
  position: relative;
}
main #live .live-grid .live-cell:not(:nth-child(3n))::after {
  content: ""; position: absolute; top: 22%; right: 0;
  height: 56%; width: 1px;
  background: linear-gradient(180deg, transparent, #eaecf5 20%, #eaecf5 80%, transparent);
}
main #live .live-grid .live-cell:nth-child(-n+3) {
  border-bottom: 1px solid #eaecf5;
}
main #live .live-grid .live-cell:hover {
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}
main #live .live-num {
  font-size: 2.4rem; font-weight: 820; color: #0d0f1c;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  line-height: 1; font-family: var(--font-display);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
main #live .live-num-sm { font-size: 1.7rem; }
main #live .live-cell-meta .live-num { background: linear-gradient(135deg, #059669, #047857); -webkit-background-clip: text; background-clip: text; color: transparent; }
main #live .live-lab { color: #94a3b8; font-size: .83rem; margin-top: 10px; line-height: 1.45; }
main #live .live-meta { margin-top: 28px; color: #94a3b8; font-size: .85rem; }
main #live .live-dot { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.22); }
main #live .live-refresh { color: #6366f1; font-weight: 640; }
main #live .live-refresh:hover { color: #4f46e5; }

.live-cell { padding: 22px 24px; background: #fff; border: 1px solid #eaecf5; border-radius: 16px; box-shadow: 0 2px 8px rgba(99,102,241,.06); text-align: center; transition: transform .2s, box-shadow .2s; }
.live-cell:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99,102,241,.1); }
.live-num { font-size: 2.1rem; font-weight: 780; letter-spacing: -0.032em; color: #0d0f1c; line-height: 1; font-variant-numeric: tabular-nums; }
.live-num-sm { font-size: 1.5rem; }
.live-lab { margin-top: 8px; font-size: .83rem; color: #94a3b8; line-height: 1.4; }
.live-cell-meta .live-num { color: #059669; }
.live-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: #94a3b8; font-size: .86rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.22); animation: heroPulse 2.4s ease-in-out infinite; }
.live-refresh { background: none; border: none; color: #64748b; font: inherit; font-size: .86rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; transition: color .15s; }
.live-refresh:hover { color: #4f46e5; }

@keyframes liveFlash { 0% { background: var(--emerald-50); } to { background: transparent; } }
.live-flash { animation: liveFlash 1.6s ease; }


/* ──────────────────────────────────────────
   PRODUCT PAGE — Shared overrides
────────────────────────────────────────── */
.prod-int-section .section-head { margin-bottom: 0 !important; }
.prod-int-section .section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem) !important;
  font-weight: 760 !important;
  letter-spacing: -0.032em !important;
  color: var(--gray-900) !important;
  margin: 12px 0 0 !important;
}
.prod-int-section .section-head .lead {
  color: var(--gray-500) !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
  margin-top: 14px !important;
}

/* ──────────────────────────────────────────
   CTA SECTION
────────────────────────────────────────── */

.cta-section {
  padding: 80px 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%) !important;
}
.cta-section .cta-band {
  text-align: center;
  background: linear-gradient(150deg, #eef0ff 0%, #f0edff 25%, #edf4ff 60%, #eef2ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 28px;
  padding: 88px 48px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 6px 40px -8px rgba(99,102,241,.18),
    0 2px 8px rgba(99,102,241,.08),
    inset 0 1px 0 rgba(255,255,255,.8);
}
.cta-section .cta-band::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 600px 450px at 8% 95%, rgba(99,102,241,.14), transparent 55%),
    radial-gradient(ellipse 500px 350px at 92% 5%, rgba(139,92,246,.12), transparent 55%),
    radial-gradient(ellipse 350px 250px at 50% 50%, rgba(255,255,255,.6), transparent 60%);
}
/* Shimmer line at top */
.cta-section .cta-band::after {
  content: "";
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.4) 30%, rgba(139,92,246,.5) 50%, rgba(99,102,241,.4) 70%, transparent);
  pointer-events: none;
}
.cta-section .cta-band > * { position: relative; }
.cta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.95);
  border: 1px solid #c7d2fe;
  border-radius: 999px; padding: 6px 16px;
  font-size: .74rem; font-weight: 700; color: #4f46e5;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(99,102,241,.14);
  letter-spacing: .06em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.cta-section .cta-band h2 {
  color: #0d0f1c; margin-bottom: 16px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 820; letter-spacing: -0.042em;
}
.cta-section .cta-band p { color: #64748b; max-width: 520px; margin: 0 auto 36px; font-size: 1.02rem; line-height: 1.74; }
.cta-section .cta-band .btn-ghost {
  background: rgba(255,255,255,.95); color: #374151;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  backdrop-filter: blur(4px);
}
.cta-section .cta-band .btn-ghost:hover {
  border-color: #a5b4fc; color: #4f46e5;
  box-shadow: 0 4px 14px rgba(99,102,241,.16);
  transform: translateY(-2px);
}
.cta-section .btn-white {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: #fff; border: none;
  box-shadow: 0 4px 16px rgba(30,27,75,.28);
}
.cta-section .btn-white:hover {
  background: linear-gradient(135deg, #312e81, #1e1b4b);
  box-shadow: 0 6px 24px rgba(30,27,75,.36);
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.footer {
  background: var(--gray-25) !important;
  border-top: 1px solid var(--gray-100) !important;
  padding: 72px 0 40px !important;
  color: var(--gray-500) !important;
}
.foot-grid { gap: 48px !important; }
.footer h4 { font-size: .72rem !important; font-weight: 700 !important; letter-spacing: .1em !important; text-transform: uppercase; color: var(--gray-400) !important; margin-bottom: 18px !important; }
.footer a { font-size: .9rem !important; color: var(--gray-500) !important; transition: color .15s ease; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--gray-900) !important; }
.foot-bottom { margin-top: 56px !important; padding-top: 24px !important; border-top: 1px solid var(--gray-100) !important; font-size: .84rem !important; color: var(--gray-400) !important; }

.nl-label { font-size: .82rem !important; color: var(--gray-400) !important; }
.nl-row { margin-top: 8px; display: flex; gap: 8px; }
.nl-row input {
  border: 1px solid var(--gray-200) !important;
  border-radius: 9px !important;
  padding: 9px 13px !important;
  font-size: .87rem !important;
  background: var(--white) !important;
  transition: border-color .15s ease !important;
  flex: 1;
}
.nl-row input:focus { border-color: var(--indigo-500) !important; outline: none; box-shadow: 0 0 0 3px rgba(99,102,241,.12) !important; }
.nl-row button {
  border-radius: 9px !important;
  background: var(--indigo-600) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 9px 16px;
  border: none;
  cursor: pointer;
  font-size: .87rem;
  white-space: nowrap;
  transition: background .2s ease;
}
.nl-row button:hover { background: var(--indigo-700) !important; }
.nl-msg-ok { color: var(--emerald-600); font-size: .84rem; margin-top: 6px; }
.nl-msg-err { color: #dc2626; font-size: .84rem; margin-top: 6px; }
.nl-hp { position: absolute; left: -9999px; }

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */
.btn { border-radius: 10px !important; font-weight: 600 !important; font-size: .9rem !important; transition: all .2s ease !important; text-decoration: none !important; display: inline-flex !important; align-items: center !important; cursor: pointer; }
.btn-primary { background: var(--indigo-600) !important; border-color: var(--indigo-600) !important; color: #fff !important; box-shadow: var(--shadow-brand) !important; }
.btn-primary:hover { background: var(--indigo-700) !important; border-color: var(--indigo-700) !important; box-shadow: 0 8px 20px rgba(99,102,241,.28) !important; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--gray-200) !important; color: var(--gray-700) !important; background: var(--white) !important; }
.btn-ghost:hover { background: var(--gray-50) !important; border-color: var(--gray-300) !important; transform: translateY(-1px); }
.btn-lg { padding: 12px 24px !important; border-radius: 11px !important; font-size: .94rem !important; }

/* ──────────────────────────────────────────
   MODAL — Premium Light Design
────────────────────────────────────────── */

/* Backdrop */
.oi-modal {
  border: none;
  border-radius: 22px;
  padding: 0;
  max-width: 520px;
  width: calc(100% - 32px);
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.oi-modal[open] { display: flex; flex-direction: column; }
.oi-modal::backdrop {
  background: rgba(15, 20, 50, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Card shell */
.oi-modal-card {
  background: #ffffff;
  border: 1px solid #e8e9f4;
  border-radius: 22px;
  overflow: hidden;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 2px 4px rgba(79,70,229,0.04),
    0 20px 60px -12px rgba(79,70,229,0.18),
    0 40px 80px -20px rgba(0,0,0,0.12);
  margin: 0;
  padding: 0;
  position: relative;
}

/* No extra pseudo-element needed for light version */
.oi-modal-card::after { display: none; }

/* Gradient header band — removed */
.oi-modal-card::before { display: none; }

/* Close button */
.oi-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border: 1px solid #e8e9f0;
  background: #f5f5fb;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  color: #9095b0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.oi-modal-close:hover {
  background: #ecedf8;
  border-color: #c7c9e8;
  color: #3730a3;
}

/* Body / form area */
.oi-modal-body {
  padding: 30px 34px 34px;
  position: relative;
}

/* Eyebrow badge */
.oi-modal-body .eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: .68rem !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  color: #4f46e5 !important;
  margin-bottom: 10px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 5px 12px;
  border-radius: 999px;
}
.oi-modal-body .eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
  display: inline-block;
  flex-shrink: 0;
  animation: oi-dot-pulse 2.2s ease-in-out infinite;
}
@keyframes oi-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(99,102,241,0.22); }
  50%       { box-shadow: 0 0 0 5px rgba(99,102,241,0.08); }
}

/* Heading */
.oi-modal-body h2 {
  font-size: 1.5rem;
  line-height: 1.22;
  letter-spacing: -.03em;
  color: #0f0f1a;
  margin: 10px 0 0;
  font-weight: 760;
}

/* Lead text */
.oi-modal-lead {
  color: #6b7280;
  font-size: .88rem;
  line-height: 1.65;
  margin: 8px 0 0;
}

/* Divider after header */
.oi-modal-lead + .oi-field {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f8;
}

/* Fields */
.oi-field { margin-top: 16px; }

.oi-field label {
  font-size: .79rem;
  font-weight: 640;
  color: #374151;
  display: block;
  margin-bottom: 6px;
  letter-spacing: .005em;
}

.oi-field input,
.oi-field textarea {
  display: block;
  width: 100%;
  border: 1.5px solid #e0e1f0;
  border-radius: 11px;
  padding: 11px 14px;
  font-size: .92rem;
  font-family: inherit;
  background: #fafafa;
  color: #111827;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  resize: vertical;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.oi-field input::placeholder,
.oi-field textarea::placeholder {
  color: #b0b5c8;
}

.oi-field input:hover,
.oi-field textarea:hover {
  border-color: #c7c9e8;
  background: #fff;
}

.oi-field input:focus,
.oi-field textarea:focus {
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.14);
}

.req { color: #e11d48; }
.opt { color: #9ca3af; font-weight: 400; font-size: .78rem; }

/* Radio pills — segment control style */
.oi-radio-row {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  margin-top: 8px;
  background: #f3f4f9;
  border: 1.5px solid #e0e1f0;
  border-radius: 11px;
  padding: 3px;
  width: fit-content;
}

.oi-radio-row label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 640;
  color: #6b7280;
  background: transparent;
  transition: all 0.18s ease;
  user-select: none;
  border: none;
  margin: 0;
  white-space: nowrap;
  min-width: 52px;
}

.oi-radio-row label:hover {
  background: #e8eaf8;
  color: #4338ca;
}

.oi-radio-row label:has(input:checked) {
  background: #fff;
  color: #4338ca;
  font-weight: 680;
  box-shadow:
    0 1px 4px rgba(79,70,229,0.14),
    0 0 0 1px rgba(99,102,241,0.18);
}

.oi-radio-row input { display: none; }

/* honeypot */
.oi-hp { position: absolute; left: -9999px; }

/* Footer */
.oi-modal-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.oi-modal-foot-note {
  font-size: .74rem;
  color: #9ca3af;
  line-height: 1.5;
  max-width: 210px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
.oi-modal-foot-note::before {
  content: '🔒';
  font-size: .68rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Footer buttons override */
.oi-modal-footer .btn-ghost {
  background: #fff !important;
  color: #374151 !important;
  border: 1.5px solid #e0e1f0 !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  transition: border-color 0.18s, background 0.18s, color 0.18s !important;
}
.oi-modal-footer .btn-ghost:hover {
  background: #f5f5fc !important;
  border-color: #c7c9e8 !important;
  color: #111827 !important;
}

.oi-modal-footer .btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 11px 26px !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px -4px rgba(79,70,229,0.45) !important;
  font-weight: 660 !important;
  letter-spacing: .005em !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
  position: relative;
  overflow: hidden;
}
.oi-modal-footer .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, transparent 100%);
  pointer-events: none;
}
.oi-modal-footer .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 26px -4px rgba(79,70,229,0.55) !important;
}
.oi-modal-footer .btn-primary:active {
  transform: translateY(0) !important;
}

/* Error */
.oi-form-error {
  margin-top: 14px;
  padding: 10px 14px;
  background: #fff1f2;
  color: #be123c;
  border-radius: 10px;
  font-size: .84rem;
  border: 1px solid #fecdd3;
}

/* Success state */
.oi-success-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 2px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #059669;
  margin: 0 0 18px;
  box-shadow: 0 4px 16px rgba(5,150,105,0.12);
}

/* Success state text colours stay on light bg */
[data-state="success"] h2 { color: #0f0f1a !important; font-size: 1.35rem !important; }
[data-state="success"] .oi-modal-lead { color: #6b7280 !important; }
[data-state="success"] a { color: #4f46e5 !important; }

/* Scrollbar */
.oi-modal-card::-webkit-scrollbar { width: 4px; }
.oi-modal-card::-webkit-scrollbar-track { background: transparent; }
.oi-modal-card::-webkit-scrollbar-thumb { background: #e0e1f0; border-radius: 99px; }

@media (max-width: 480px) {
  .oi-modal-body { padding: 22px 20px 26px; }
  .oi-modal-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .oi-modal-foot-note { max-width: 100%; }
  .oi-radio-row { width: 100%; }
  .oi-radio-row label { flex: 1; }
}

/* ──────────────────────────────────────────
   ANIMATIONS
────────────────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
@keyframes hdSpin {
  to { transform: rotate(360deg); }
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes ndot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
  50% { box-shadow: 0 0 0 5px rgba(16,185,129,.08); }
}

/* ──────────────────────────────────────────
   SCROLL REVEAL
────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 80px 0 !important; }
  .band-grid, main .band.band-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .band, main #security > .container > .band { padding: 48px 36px !important; }
  .frow { flex-direction: column; gap: 40px !important; }
  .frow.rev { flex-direction: column-reverse; }
  .hero-v2-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-v2-lead { margin-left: auto; margin-right: auto; }
  .hero-v2-cta { justify-content: center; }
  .hero-v2-trust { justify-content: center; }
  .hero-v2-visual { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0 !important; }
  .stats { grid-template-columns: repeat(2, 1fr) !important; }
  .stat:nth-child(2)::after { display: none; }
  .grid-3, main #features .grid-3 { grid-template-columns: 1fr !important; }
  .steps, main #install .steps { grid-template-columns: 1fr !important; gap: 14px !important; }
  main #install .steps .step::after { display: none !important; }
  .cta-section .cta-band { padding: 48px 24px !important; border-radius: 18px !important; }
  main #live .live-grid { grid-template-columns: repeat(2, 1fr) !important; }
  main #security > .container > .band { padding: 36px 24px !important; border-radius: 18px !important; }
}
@media (max-width: 640px) {
  .hero-v2 { padding: 72px 0 52px !important; }
  .hero-v2-grid { text-align: left; }
  .hero-v2-h1 { font-size: clamp(2.2rem, 9vw, 2.9rem); }
  .hero-v2-cta { justify-content: flex-start; }
  .hero-v2-btn { width: 100%; justify-content: center; }
  .hero-v2-trust { justify-content: flex-start; }
  .hv-body { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr !important; }
  .stat::after { display: none !important; }
  .stat:not(:last-child) { border-bottom: 1px solid var(--gray-100); }
  main #live .live-grid { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v2-badge, .hero-v2-h1, .hero-v2-lead, .hero-v2-cta, .hero-v2-muted, .hero-v2-trust, .hero-v2-visual { animation: none !important; opacity: 1; transform: none; }
  .hv-inv-icon--spin { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .reveal { opacity: 1; transform: none; transition: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
