/* ============================================================
   VIGILANTE AI — Landing Page Stylesheet
   Aesthetic: "Night Operations" — cinematic surveillance control room
   Signature motif: targeting-viewfinder corner brackets (.corner)
   ------------------------------------------------------------
   EDIT MAP
   1. Tokens (colors, type, spacing)
   2. Base & atmospheric FX (grid / scanlines / grain / glows)
   3. Reusable: buttons, eyebrows, cards, icons, corners, reveal
   4. Nav
   5. Hero + hero visual
   6. Sections (problem, solution flow, features)
   7. Dashboard mockup
   8. Benefits, use cases, steps
   9. Trust, final CTA, footer
   10. Responsive
   ============================================================ */

/* ===== 1. DESIGN TOKENS ===================================== */
:root {
  /* Official palette */
  --night-black: #050910;
  --abyss-blue:  #081B33;
  --vigilante-blue: #0077FF;
  --electric-cyan:  #00E0FF;
  --frozen-blue:    #D6F6FF;

  /* Derived surfaces & text */
  --bg:        #050910;
  --bg-alt:    #060d18;
  --surface:   #0a1a30;
  --surface-2: #0c2138;
  --line:      rgba(0, 224, 255, .14);
  --line-soft: rgba(214, 246, 255, .08);

  --text:      #eaf6ff;
  --text-dim:  #9fb6cf;
  --text-faint:#5e7491;

  --warn: #ffb454;

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Effects */
  --glow-blue: 0 0 40px rgba(0, 119, 255, .35);
  --glow-cyan: 0 0 32px rgba(0, 224, 255, .30);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ===== 2. BASE & ATMOSPHERE ================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* radial depth behind everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(900px 600px at 78% -5%, rgba(0,119,255,.18), transparent 60%),
    radial-gradient(800px 700px at 5% 30%, rgba(0,224,255,.08), transparent 55%),
    linear-gradient(180deg, #050910 0%, #060d18 55%, #050910 100%);
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Fine engineering grid */
.fx-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,224,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,224,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
  opacity: .5;
}

/* Slow drifting scanlines */
.fx-scan {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(0,224,255,.025) 3px 4px);
  animation: scanDrift 12s linear infinite;
}
@keyframes scanDrift { to { background-position: 0 64px; } }

/* Film grain */
.fx-grain {
  position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
/* grain must sit above bg but below content */
.fx-grain { z-index: -1; }

/* FloatingGradient: soft colored blobs that drift slowly (ambient motion) */
.fx-glow { position: fixed; z-index: -2; border-radius: 50%; filter: blur(90px); pointer-events: none; will-change: transform; }
.fx-glow--a { width: 460px; height: 460px; background: rgba(0,119,255,.20); top: 8%; right: -8%; animation: floatBlobA 24s ease-in-out infinite; }
.fx-glow--b { width: 420px; height: 420px; background: rgba(0,224,255,.12); bottom: 12%; left: -10%; animation: floatBlobB 30s ease-in-out infinite; }
@keyframes floatBlobA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,34px) scale(1.08); } }
@keyframes floatBlobB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(46px,-30px) scale(1.1); } }

/* ParticleField: lightweight canvas of soft glowing dots (ambient).
   pointer-events:none + correct z-index keep it strictly decorative. */
/* width/height 100% required: <canvas> is a replaced element, so inset:0
   alone keeps its intrinsic 300x150 size instead of filling the parent. */
.particle-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.hero .particle-field { z-index: 2; }   /* above scrim (1), below content (3) */
.cta  .particle-field { z-index: 0; }   /* above ::before glow, below content */
.cta__inner { position: relative; z-index: 1; }

/* ===== 3. REUSABLE PIECES ================================== */

/* Eyebrow / telemetry label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--electric-cyan);
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 20px;
}
.eyebrow--center { justify-content: center; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--electric-cyan); box-shadow: 0 0 10px var(--electric-cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity:.4; transform: scale(.7);} }

/* Gradient highlight text */
.grad {
  background: linear-gradient(100deg, var(--electric-cyan), var(--vigilante-blue) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .94rem;
  padding: 14px 26px; border-radius: 12px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap; border: 1px solid transparent;
}
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--primary {
  background: linear-gradient(180deg, #1488ff, var(--vigilante-blue));
  color: #fff; box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 0 56px rgba(0,119,255,.6), inset 0 1px 0 rgba(255,255,255,.25); }
/* PremiumButton attention: a very soft expanding glow ring on key CTAs */
.btn--attention { animation: ctaPulse 3.2s ease-in-out infinite; }
.btn--attention:hover { animation: none; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 0 rgba(0,224,255,.0); }
  50%      { box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 7px rgba(0,224,255,.07); }
}
.btn--ghost {
  background: rgba(0,224,255,.04); color: var(--frozen-blue);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--electric-cyan); color: #fff; transform: translateY(-3px); box-shadow: var(--glow-cyan); }

/* Corner brackets — the signature viewfinder motif */
.corner { position: absolute; width: 14px; height: 14px; pointer-events: none; opacity: .65; }
.corner::before, .corner::after { content: ""; position: absolute; background: var(--electric-cyan); }
.corner::before { width: 100%; height: 1.5px; top: 0; }
.corner::after  { width: 1.5px; height: 100%; left: 0; }
.corner.tl { top: 10px; left: 10px; }
.corner.tr { top: 10px; right: 10px; transform: scaleX(-1); }
.corner.bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.corner.br { bottom: 10px; right: 10px; transform: scale(-1); }
.frame { position: relative; }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Section scaffolding */
.section { padding: 110px 0; position: relative; z-index: 1; }
.section--alt { background: linear-gradient(180deg, rgba(8,27,51,.45), rgba(5,9,16,.2)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; }
.section__lead { color: var(--text-dim); font-size: 1.08rem; margin-top: 20px; }

/* Generic icon box — SVG injected via JS by data-icon */
.card__icon, .flow__node, .step__icon, .trust__icon,
[data-icon] > svg { color: var(--electric-cyan); }
.icon-svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Generic card */
.card {
  position: relative; background: linear-gradient(180deg, rgba(12,33,56,.7), rgba(8,18,33,.6));
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 26px;
  backdrop-filter: blur(10px); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::after { /* hover light sweep */
  content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx,50%) 0%, rgba(0,224,255,.10), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 24px 60px -20px rgba(0,119,255,.4); }
.card:hover::after { opacity: 1; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.25; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: .95rem; }
.card__icon {
  width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 20px;
  border-radius: 12px; background: rgba(0,119,255,.10); border: 1px solid var(--line);
}

.card--feature { padding-top: 60px; }
.card--feature::before { /* icon injected via data-icon, rendered top-left */
  content: ""; position: absolute; top: 26px; left: 26px; width: 46px; height: 46px;
}
.card--feature .feat-ico { position: absolute; top: 22px; left: 24px; width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center; background: rgba(0,119,255,.10); border: 1px solid var(--line); color: var(--electric-cyan); }

/* ===== 4. NAV ============================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,9,16,.6); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; }
/* PNG logo (square emblem + wordmark). Rounded to blend on the dark bar. */
.logo__img { height: 48px; width: auto; display: block; border-radius: 8px; }
.logo__img--footer { height: 60px; }
.logo__mark { color: var(--electric-cyan); display: grid; place-items: center; filter: drop-shadow(0 0 8px rgba(0,224,255,.5)); }
.logo__mark.sm { filter: none; }
.logo__text { font-size: 1.18rem; color: #fff; }
.logo__ai { color: var(--electric-cyan); margin-left: 2px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: .92rem; color: var(--text-dim); transition: color .2s; }
.nav__links a:hover { color: var(--frozen-blue); }
.nav__cta {
  font-family: var(--font-display); font-weight: 600; color: #fff !important;
  background: linear-gradient(180deg, #1488ff, var(--vigilante-blue));
  padding: 9px 18px; border-radius: 10px; box-shadow: var(--glow-blue);
  transition: transform .2s, box-shadow .2s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0,119,255,.6); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--frozen-blue); transition: .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 5. HERO ============================================= */
/* Cinematic, centered hero: the loop is the full background; the message sits
   in one centered, structured column above a soft legibility veil. */
.hero {
  padding: 96px 0 64px; position: relative; z-index: 1; overflow: hidden;
  min-height: 94vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
}

/* Full-bleed background video (object-fit: cover fills the section) */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 0;            /* keep the top (baked CCTV clock) visible */
  opacity: 1;                        /* fully visible — the video is the star */
  filter: saturate(118%) contrast(104%) brightness(1.04);
}
/* Dark futuristic fallback if the video fails to load */
.hero__bg--fallback {
  background:
    radial-gradient(900px 600px at 75% 20%, rgba(0,119,255,.28), transparent 60%),
    radial-gradient(700px 500px at 20% 80%, rgba(0,224,255,.14), transparent 55%),
    linear-gradient(160deg, #04070d, #081B33 60%, #04070d);
}

/* Legibility veil — a soft centered vignette behind the text + a gentle
   top/bottom fade. No card: the video stays clearly visible at the edges. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(115% 80% at 50% 46%, rgba(5,9,16,.62), rgba(5,9,16,.26) 44%, rgba(5,9,16,0) 78%),
    linear-gradient(180deg, rgba(5,9,16,.5) 0%, rgba(5,9,16,0) 26%, rgba(5,9,16,0) 70%, rgba(5,9,16,.62) 100%);
}

/* Centered content block above everything */
.hero__inner {
  position: relative; z-index: 3;
  max-width: 900px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
}

/* Badge above the headline */
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; margin-bottom: 30px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--frozen-blue);
  background: rgba(6,13,24,.5); border: 1px solid var(--line);
  backdrop-filter: blur(10px); box-shadow: 0 0 24px rgba(0,224,255,.12);
}

/* Headline — the main visual focus */
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.25rem, 5.6vw, 5.125rem);   /* ~52px → 82px desktop */
  line-height: 1.03; letter-spacing: -.025em; text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0,0,0,.55);
}

/* Subheadline */
.hero__sub {
  color: #cfe2f4; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6;
  max-width: 680px; margin: 28px auto 0; text-shadow: 0 1px 14px rgba(0,0,0,.6);
}

/* CTAs — centered, side-by-side on desktop */
.hero__actions { display: flex; gap: 16px; margin-top: 42px; justify-content: center; flex-wrap: wrap; }

/* Stats — centered row */
.hero__stats { display: flex; gap: 0; margin-top: 56px; list-style: none; justify-content: center; flex-wrap: wrap; }
.hero__stats li { padding: 0 34px; }
.hero__stats li + li { border-left: 1px solid var(--line-soft); }
.hero__stats strong { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: #fff; display: block; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero__stats span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; color: var(--frozen-blue); text-transform: uppercase; opacity: .8; }

/* --- Hero visual: surveillance panel --- */
.hero__visual { position: relative; }
.panel {
  background: linear-gradient(180deg, rgba(10,26,48,.92), rgba(6,13,24,.92));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: 0 40px 90px -30px rgba(0,119,255,.5), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}
.panel__bar { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; margin-bottom: 12px; color: var(--text-dim); }
.panel__live { color: var(--frozen-blue); display: inline-flex; align-items: center; gap: 8px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: pulse 1.4s infinite; }
.panel__meta { color: var(--text-faint); }

/* camera feed */
.feed {
  position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0,119,255,.16), transparent 60%),
    repeating-linear-gradient(180deg, transparent 0 2px, rgba(0,224,255,.03) 2px 3px),
    linear-gradient(180deg, #08172b, #04080f);
  border: 1px solid var(--line-soft);
}
.feed__scan { position: absolute; left: 0; right: 0; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, rgba(0,224,255,.22), transparent); animation: feedScan 3.4s var(--ease) infinite; }
@keyframes feedScan { 0% { top: -60px; } 100% { top: 100%; } }
.feed__figure { position: absolute; left: 44%; bottom: 0; width: 90px; height: 150px; fill: rgba(0,224,255,.10); stroke: rgba(0,224,255,.4); stroke-width: 2; }
.feed__hud { position: absolute; bottom: 8px; left: 10px; right: 10px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; color: var(--text-faint); }
.feed__hud .ok, .ok { color: #34e2a0; }

/* AI bounding boxes */
.bbox { position: absolute; border: 1.5px solid var(--vigilante-blue); border-radius: 3px; box-shadow: 0 0 16px rgba(0,119,255,.5); }
.bbox--person { top: 24%; left: 40%; width: 26%; height: 60%; animation: bboxBlink 2.6s infinite; }
.bbox--object { top: 58%; left: 14%; width: 18%; height: 22%; border-color: var(--electric-cyan); box-shadow: 0 0 14px rgba(0,224,255,.5); }
@keyframes bboxBlink { 0%,100% { border-color: var(--vigilante-blue);} 50% { border-color: var(--electric-cyan);} }
.bbox__tag { position: absolute; top: -18px; left: -1px; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .06em; background: var(--vigilante-blue); color: #fff; padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.bbox__tag--cyan { background: var(--electric-cyan); color: #04121a; }

/* event stream */
.panel__feed { margin-top: 12px; }
.panel__feedtitle { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; color: var(--text-faint); margin-bottom: 8px; }
.event { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--text-dim); padding: 7px 0; border-top: 1px solid var(--line-soft); }
.event__t { font-family: var(--font-mono); font-size: .68rem; color: var(--text-faint); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--blue { background: var(--vigilante-blue); box-shadow: 0 0 8px var(--vigilante-blue); }
.dot--cyan { background: var(--electric-cyan); box-shadow: 0 0 8px var(--electric-cyan); }
.dot--warn { background: var(--warn); box-shadow: 0 0 8px var(--warn); }

/* floating mini camera grid */
.minigrid {
  position: absolute; bottom: -34px; left: -34px; width: 190px;
  background: rgba(8,18,33,.92); border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  backdrop-filter: blur(12px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
}
.minigrid__title { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em; color: var(--electric-cyan); }
.minigrid__cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.minigrid__cells i { aspect-ratio: 1; border-radius: 3px; background: rgba(0,224,255,.06); border: 1px solid var(--line-soft); }
.minigrid__cells i.active { background: rgba(0,119,255,.4); border-color: var(--electric-cyan); box-shadow: 0 0 10px rgba(0,224,255,.6); }

/* ===== 6. SOLUTION FLOW ==================================== */
.flow { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.flow__step { flex: 1; min-width: 150px; text-align: center; padding: 28px 16px; background: linear-gradient(180deg, rgba(12,33,56,.55), rgba(8,18,33,.4)); border: 1px solid var(--line-soft); border-radius: var(--radius); position: relative; transition: border-color .3s, transform .3s; }
.flow__step:hover { border-color: var(--line); transform: translateY(-4px); }
.flow__step--accent { background: linear-gradient(180deg, rgba(0,119,255,.18), rgba(8,18,33,.5)); border-color: var(--line); }
.flow__node { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,119,255,.10); border: 1px solid var(--line); box-shadow: var(--glow-cyan); }
.flow__step h4 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.flow__step p { font-size: .82rem; color: var(--text-dim); }
.flow__arrow { align-self: center; width: 34px; height: 2px; position: relative; background: linear-gradient(90deg, var(--vigilante-blue), var(--electric-cyan)); flex: none; }
.flow__arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--electric-cyan); }

/* ===== 7. DASHBOARD MOCKUP ================================= */
.dash {
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  background: linear-gradient(180deg, rgba(9,20,37,.95), rgba(5,10,20,.96));
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0,119,255,.45), inset 0 1px 0 rgba(255,255,255,.05);
}
.dash__side { background: rgba(6,13,24,.7); border-right: 1px solid var(--line-soft); padding: 22px 16px; display: flex; flex-direction: column; }
.dash__brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: .9rem; letter-spacing: .08em; color: #fff; }
.dash__brand .logo__mark { color: var(--electric-cyan); }
.dash__nav { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.dash__nav a { display: flex; align-items: center; gap: 11px; font-size: .85rem; color: var(--text-dim); padding: 10px 12px; border-radius: 9px; cursor: pointer; transition: .2s; }
.dash__nav a:hover { background: rgba(0,224,255,.05); color: var(--frozen-blue); }
.dash__nav a.active { background: rgba(0,119,255,.16); color: #fff; border: 1px solid var(--line); }
.dash__nav a .icon-svg { width: 18px; height: 18px; color: var(--electric-cyan); }
.dash__sidefoot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em; color: var(--text-faint); padding-top: 18px; border-top: 1px solid var(--line-soft); }

.dash__main { padding: 22px 24px; }
.dash__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.dash__crumb { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; color: var(--electric-cyan); }
.dash__h { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-top: 4px; }
.dash__status { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; color: var(--text-dim); display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-soft); padding: 7px 12px; border-radius: 8px; }

.dash__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.stat { background: rgba(8,18,33,.6); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 7px; }
.stat__k { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; color: var(--text-faint); }
.stat__v { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff; }
.stat__v.ok { color: #34e2a0; }
.stat__bar { height: 4px; border-radius: 4px; background: rgba(0,224,255,.08); overflow: hidden; }
.stat__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--vigilante-blue), var(--electric-cyan)); border-radius: 4px; }

.dash__cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.dash__cams { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dcam { position: relative; aspect-ratio: 16/10; border-radius: 11px; border: 1px solid var(--line-soft); overflow: hidden;
  background: linear-gradient(180deg, #08172b, #050b14);
  box-shadow: inset 0 0 0 1px rgba(0,224,255,.05), 0 6px 20px rgba(0,0,0,.35); }
/* feed: real scene graded to look like a night CCTV stream */
.dcam__feed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  filter: brightness(.62) contrast(1.08) saturate(.78) hue-rotate(-6deg);
  transform: scale(1.02); }
/* scanlines + vignette + signal tint, painted above the feed */
.dcam::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0,12,24,.32) 2px 3px);
  mix-blend-mode: multiply; opacity: .6; }
.dcam::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0,119,255,.16), transparent 60%),
    radial-gradient(140% 120% at 50% 110%, rgba(0,0,0,.7), transparent 55%),
    linear-gradient(180deg, rgba(5,9,16,.35) 0%, transparent 22%, transparent 70%, rgba(5,9,16,.78) 100%); }
.dcam--alert { border-color: rgba(255,180,84,.5); box-shadow: inset 0 0 0 1px rgba(255,180,84,.18), 0 0 24px rgba(255,180,84,.2); }
.dcam--alert .dcam__feed { filter: brightness(.6) contrast(1.1) saturate(.7) sepia(.18) hue-rotate(-18deg); }
.dcam__id { position: absolute; top: 8px; left: 8px; z-index: 3; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .06em; color: var(--frozen-blue); text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.dcam__time { position: absolute; top: 8px; right: 8px; z-index: 3; font-family: var(--font-mono); font-size: .54rem; letter-spacing: .04em; color: rgba(214,246,255,.78); text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.dcam__live { position: absolute; bottom: 8px; right: 8px; z-index: 3; font-family: var(--font-mono); font-size: .54rem; color: var(--frozen-blue); display: inline-flex; align-items: center; gap: 5px; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.bbox--mini { z-index: 3; }
.bbox--mini { position: absolute; top: 40%; left: 36%; width: 32%; height: 44%; }
.bbox--mini b { position: absolute; top: -15px; left: -1px; font-family: var(--font-mono); font-size: .5rem; background: var(--vigilante-blue); color: #fff; padding: 1px 5px; border-radius: 2px; }
.bbox--mini.warn { border-color: var(--warn); box-shadow: 0 0 14px rgba(255,180,84,.5); }
.bbox--mini.warn b { background: var(--warn); color: #2a1500; }

.dash__panelcol { display: flex; flex-direction: column; gap: 12px; }
.dpanel { background: rgba(8,18,33,.6); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px; }
.dpanel__t { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; color: var(--text-faint); margin-bottom: 12px; }
.alert { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.alert:first-of-type { border-top: 0; }
.alert div { flex: 1; display: flex; flex-direction: column; }
.alert b { font-size: .82rem; font-weight: 600; }
.alert span { font-family: var(--font-mono); font-size: .62rem; color: var(--text-faint); }
.alert__sev { font-family: var(--font-mono); font-size: .58rem; padding: 2px 7px; border-radius: 5px; background: rgba(255,180,84,.16); color: var(--warn); align-self: center; }
.alert__sev.low { background: rgba(0,224,255,.12); color: var(--electric-cyan); }
.tline__row { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--text-dim); padding: 6px 0; }
.tline__row span { font-family: var(--font-mono); font-size: .64rem; color: var(--text-faint); width: 42px; }
.tline__row .dot { width: 7px; height: 7px; }
.dash__disclaimer { text-align: center; font-family: var(--font-mono); font-size: .66rem; color: var(--text-faint); margin-top: 18px; letter-spacing: .04em; }

/* ===== 7.6 RISK IN REAL TIME =============================== */
/* Single cinematic section: tactical background + scan/reticles, an intro
   "statement" block, a 2x2 board of impact cards, and a centered closing
   line. Reuses the site's card design language (glow borders, corners). */
.section--risk {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(5,9,16,.35), rgba(8,27,51,.5) 50%, rgba(5,9,16,.35));
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}

/* Decorative tactical layer (scan sweep + detection reticles) */
.risk__fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.risk__sweep {
  position: absolute; left: 0; right: 0; height: 180px; top: -180px;
  background: linear-gradient(180deg, transparent, rgba(0,224,255,.07), transparent);
  animation: riskSweep 9s linear infinite;
}
@keyframes riskSweep { 0% { top: -180px; } 100% { top: 100%; } }
.risk__reticle { position: absolute; width: 60px; height: 60px; border: 1px solid rgba(0,224,255,.22); border-radius: 50%; opacity: .5; }
.risk__reticle::before, .risk__reticle::after { content: ""; position: absolute; background: rgba(0,224,255,.28); }
.risk__reticle::before { left: 50%; top: -9px; bottom: -9px; width: 1px; transform: translateX(-50%); }
.risk__reticle::after  { top: 50%; left: -9px; right: -9px; height: 1px; transform: translateY(-50%); }
.risk__reticle--a { top: 16%; left: 7%; animation: pulse 3s ease-in-out infinite; }
.risk__reticle--b { top: 60%; right: 9%; width: 44px; height: 44px; animation: pulse 4s ease-in-out infinite; }
.risk__reticle--c { bottom: 14%; left: 17%; width: 34px; height: 34px; animation: pulse 3.6s ease-in-out infinite; }

/* keep all content above the fx layer */
.section--risk .container { position: relative; z-index: 1; }

/* Intro statement block — visually separated from the cards */
.risk__statement {
  max-width: 880px; margin: 0 auto 56px; padding: 34px 38px;
  background: linear-gradient(120deg, rgba(0,119,255,.12), rgba(8,18,33,.6));
  border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px -36px rgba(0,119,255,.4);
}
.risk__past {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-faint);
}
.risk__ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(0,119,255,.10); border: 1px solid var(--line); color: var(--electric-cyan); }
.risk__ico .icon-svg { width: 17px; height: 17px; }
.risk__now { font-size: 1.12rem; color: var(--frozen-blue); line-height: 1.6; }
.risk__now strong { color: #fff; }

/* 4-card board grid — 2x2 on desktop, consistent height & spacing */
.risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.risk-card {
  position: relative; padding: 30px 28px; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(12,33,56,.7), rgba(8,18,33,.6));
  border: 1px solid var(--line-soft); backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.risk-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 26px 60px -22px rgba(0,119,255,.45); }
.risk-card--accent { background: linear-gradient(180deg, rgba(0,119,255,.18), rgba(8,18,33,.6)); border-color: var(--line); }
.risk-card__scan {
  position: absolute; left: 0; right: 0; height: 80px; top: -80px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,224,255,.10), transparent);
}
.risk-card:hover .risk-card__scan { animation: riskCardScan 1.6s var(--ease); }
@keyframes riskCardScan { 0% { top: -80px; } 100% { top: 100%; } }
.risk-card__ico {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(0,119,255,.10); border: 1px solid var(--line); color: var(--electric-cyan);
  box-shadow: 0 0 18px rgba(0,224,255,.16);
}
.risk-card__ico .icon-svg { width: 24px; height: 24px; }
.risk-card__tag { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; color: var(--electric-cyan); margin-bottom: 8px; }
.risk-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; line-height: 1.25; margin-bottom: 10px; }
.risk-card p { color: var(--text-dim); font-size: .95rem; }

/* Centered closing statement below the grid */
.risk__final {
  position: relative; text-align: center; max-width: 720px; margin: 56px auto 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.4; color: var(--frozen-blue);
}
.risk__final-mark { display: block; width: 46px; height: 2px; margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, var(--electric-cyan), transparent); }

/* ===== 8. BENEFITS / USE CASES / STEPS ===================== */
.benefits__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.benefits__head { position: sticky; top: 100px; }
.benefits__head .section__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.benefits__head .section__lead { margin-bottom: 0; }
.benefits__cta { margin-top: 28px; }
.benefits__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefits__list li { display: flex; gap: 14px; padding: 22px; background: linear-gradient(180deg, rgba(12,33,56,.5), rgba(8,18,33,.4)); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: border-color .3s, transform .3s; }
.benefits__list li:hover { border-color: var(--line); transform: translateY(-4px); }
.benefits__list span { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(0,119,255,.10); border: 1px solid var(--line); color: var(--electric-cyan); }
.benefits__list b { font-family: var(--font-display); font-weight: 700; font-size: .98rem; display: block; margin-bottom: 4px; }
.benefits__list p { font-size: .86rem; color: var(--text-dim); }

/* Compact secondary benefits (checklist under the head) */
.benefits__more { list-style: none; display: grid; gap: 13px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.benefits__more li { display: flex; align-items: center; gap: 13px; color: var(--text-dim); font-size: .95rem; }
.bm-ico { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(0,119,255,.10); border: 1px solid var(--line); color: var(--electric-cyan); }
.bm-ico .icon-svg { width: 16px; height: 16px; }

/* --- Premium glass cards: a clean vertical stack that fills the column --- */
.benefits__stack { display: block; width: 100%; }
.display-cards { display: flex; flex-direction: column; gap: 18px; width: 100%; animation: dcFade .7s ease both; }
@keyframes dcFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.dcard {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 30px; border-radius: 18px; border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, rgba(16,42,72,.62), rgba(8,18,33,.5));
  backdrop-filter: blur(14px) saturate(135%);
  box-shadow: 0 20px 48px -28px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
/* left accent rail + a soft light sweep that appears on hover */
.dcard::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--electric-cyan), var(--vigilante-blue));
  box-shadow: 0 0 16px rgba(0,224,255,.5);
}
.dcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(440px 170px at 14% 0%, rgba(0,224,255,.12), transparent 70%);
}
.dcard:hover {
  transform: translateX(8px); border-color: rgba(0,224,255,.4);
  background: linear-gradient(155deg, rgba(20,52,86,.74), rgba(9,22,40,.6));
  box-shadow: 0 30px 64px -28px rgba(0,119,255,.5), 0 0 42px -14px rgba(0,224,255,.3), inset 0 1px 0 rgba(255,255,255,.08);
}
.dcard:hover::after { opacity: 1; }

.dcard__top { display: flex; align-items: center; gap: 16px; }
.dcard__ico {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, #1488ff, var(--vigilante-blue)); color: #fff;
  box-shadow: 0 0 18px rgba(0,119,255,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.dcard__ico .icon-svg { width: 24px; height: 24px; }
.dcard__title { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: #fff; letter-spacing: -.01em; line-height: 1.2; }
.dcard__desc { font-size: 1.02rem; line-height: 1.55; color: var(--text-dim); }
.dcard__tag {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; color: var(--electric-cyan);
  margin-top: 2px; padding-top: 14px; border-top: 1px solid var(--line-soft);
}

/* --- Benefit boards: vertical timeline that reveals on scroll ---
   Each board (.bboard) is a step on a vertical line; they share the
   global .reveal class, so each one fades/slides up the moment it
   enters the viewport as the user scrolls down. */
.bboards__head { max-width: 720px; margin: 84px auto 52px; text-align: center; }
.bboards__head .section__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }

.bboards { list-style: none; max-width: 820px; margin: 0 auto; padding-left: 8px; }
.bboard { position: relative; padding-left: 70px; padding-bottom: 30px; }
.bboard:last-child { padding-bottom: 0; }

/* Connector line running down the left rail */
.bboard__line {
  position: absolute; left: 26px; top: 8px; bottom: -8px; width: 2px;
  background: linear-gradient(180deg, var(--electric-cyan), rgba(0,224,255,.12));
}
.bboard--last .bboard__line { display: none; }

/* Node on the rail — holds the injected SVG icon */
.bboard__node {
  position: absolute; left: 8px; top: 6px; width: 38px; height: 38px;
  border-radius: 11px; display: grid; place-items: center; z-index: 1;
  background: rgba(0,119,255,.12); border: 1px solid var(--line);
  color: var(--electric-cyan); box-shadow: 0 0 18px rgba(0,224,255,.18);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.bboard__node .icon-svg { width: 19px; height: 19px; }
.bboard.in .bboard__node { box-shadow: 0 0 26px rgba(0,224,255,.4); }

/* The board card itself */
.bboard__card {
  position: relative; padding: 24px 26px;
  background: linear-gradient(180deg, rgba(12,33,56,.7), rgba(8,18,33,.6));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  backdrop-filter: blur(10px); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.bboard__card:hover { transform: translateX(4px); border-color: var(--line); box-shadow: 0 24px 56px -22px rgba(0,119,255,.45); }
.bboard__card--accent { background: linear-gradient(180deg, rgba(0,119,255,.18), rgba(8,18,33,.6)); border-color: var(--line); }

.bboard__num { position: absolute; top: 16px; right: 20px; font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: rgba(0,224,255,.16); letter-spacing: .04em; }
.bboard__body { position: relative; z-index: 1; padding-right: 40px; }
.bboard__body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.25; margin-bottom: 8px; }
.bboard__body p { color: var(--text-dim); font-size: .95rem; margin-bottom: 12px; }
.bboard__tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; color: var(--electric-cyan); }
.bboard__tag--top { display: block; margin-bottom: 8px; }

.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.uc { position: relative; isolation: isolate; padding: 28px 24px 26px; min-height: 252px; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(12,33,56,.55), rgba(8,18,33,.45)); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.uc:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 24px 50px -22px rgba(0,119,255,.4); }
.uc .uc-ico { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: rgba(0,119,255,.18); border: 1px solid var(--line); color: var(--electric-cyan); margin-bottom: 18px; backdrop-filter: blur(4px); box-shadow: 0 0 16px rgba(0,224,255,.18); }
.uc h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; margin-bottom: 8px; }
.uc p { font-size: .86rem; color: var(--text-dim); }

/* --- Use-case cards: subtle background image per area --- */
/* ::before = the photo (set via --uc-img). ::after = dark blue/black
   bottom-to-top overlay so text stays readable. Content sits above both. */
.uc--img::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--uc-img); background-size: cover; background-position: center;
  opacity: .5; transform: scale(1.03);
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.uc--img::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,9,16,.5) 0%, rgba(5,9,16,.74) 58%, rgba(5,9,16,.93) 100%),
    radial-gradient(120% 80% at 50% 0%, rgba(0,119,255,.20), transparent 62%);
  transition: background .4s var(--ease);
}
.uc--img > * { position: relative; z-index: 1; }
.uc--img h3 { text-shadow: 0 2px 14px rgba(5,9,16,.85); }
.uc--img p { color: var(--frozen-blue); text-shadow: 0 1px 10px rgba(5,9,16,.9); }
/* Push text to the bottom so the image breathes at the top */
.uc--img .uc-ico { margin-bottom: auto; }
.uc--img h3 { margin-top: 18px; }
/* Elegant hover: gentle zoom + brighter image + cyan glow ring */
.uc--img:hover::before { transform: scale(1.1); opacity: .68; }
.uc--img:hover::after {
  background:
    linear-gradient(180deg, rgba(5,9,16,.42) 0%, rgba(5,9,16,.66) 58%, rgba(5,9,16,.9) 100%),
    radial-gradient(120% 80% at 50% 0%, rgba(0,224,255,.28), transparent 62%);
}
.uc--img:hover { box-shadow: 0 26px 56px -22px rgba(0,119,255,.5), 0 0 0 1px rgba(0,224,255,.25) inset; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 24px; background: linear-gradient(180deg, rgba(12,33,56,.5), rgba(8,18,33,.4)); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.step__num { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; color: var(--electric-cyan); }
.step__icon { width: 52px; height: 52px; margin: 18px 0; border-radius: 13px; display: grid; place-items: center; background: rgba(0,119,255,.10); border: 1px solid var(--line); color: var(--electric-cyan); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; margin-bottom: 10px; }
.step p { font-size: .9rem; color: var(--text-dim); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -12px; width: 12px; height: 2px; background: linear-gradient(90deg, var(--vigilante-blue), transparent); }

/* ===== 8.5 SECURITY INTELLIGENCE (Spline + Spotlight) ====== */
.intel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.intel__points { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.intel__points li { display: flex; align-items: center; gap: 14px; color: var(--text-dim); font-size: .98rem; }
.intel-ico {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(0,119,255,.10); border: 1px solid var(--line); color: var(--electric-cyan);
  box-shadow: 0 0 16px rgba(0,224,255,.12);
}
.intel-ico .icon-svg { width: 19px; height: 19px; }

/* Stage + spotlight beam */
.intel__stage { position: relative; }
.spotlight {
  position: absolute; top: -18%; left: -12%; width: 90%; height: 130%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,224,255,.22), rgba(0,119,255,.10) 55%, transparent 75%);
  filter: blur(36px); transform: rotate(-18deg); transform-origin: top left;
  animation: spotlightDrift 9s ease-in-out infinite alternate;
}
@keyframes spotlightDrift { from { opacity: .65; transform: rotate(-20deg) translateX(-10px); } to { opacity: 1; transform: rotate(-12deg) translateX(20px); } }

/* Glass card holding the 3D scene */
.intel__card {
  position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(0,119,255,.14), transparent 60%),
    linear-gradient(180deg, #07142a, #04080f);
  box-shadow: 0 50px 110px -40px rgba(0,119,255,.55), inset 0 1px 0 rgba(255,255,255,.06);
}
/* Fallback (behind the viewer) */
.intel__fallback {
  position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; gap: 16px;
  align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; color: var(--text-faint);
  background:
    radial-gradient(600px 400px at 50% 40%, rgba(0,119,255,.18), transparent 60%),
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(0,224,255,.03) 3px 4px);
}
.intel__pulse { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--electric-cyan);
  box-shadow: 0 0 24px rgba(0,224,255,.5), inset 0 0 18px rgba(0,224,255,.25); animation: pulse 1.8s ease-in-out infinite; }
/* Spline viewer fills the card (sits above the fallback) */
.intel__spline { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; background: transparent; }
.intel__badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: var(--frozen-blue);
  background: rgba(6,13,24,.6); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; backdrop-filter: blur(8px);
}

/* ===== 9. TRUST / CTA / FOOTER ============================= */
.section--trust { padding: 80px 0; }
.trust { position: relative; display: flex; gap: 32px; align-items: center; padding: 44px; background: linear-gradient(120deg, rgba(0,119,255,.10), rgba(8,18,33,.6)); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(10px); }
.trust__icon { flex: none; width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; background: rgba(0,119,255,.12); border: 1px solid var(--line); color: var(--electric-cyan); box-shadow: var(--glow-cyan); }
.trust__icon .icon-svg { width: 34px; height: 34px; }
.trust__body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: 12px; }
.trust__body p { color: var(--text-dim); max-width: 760px; }

.cta { padding: 130px 0; text-align: center; position: relative; z-index: 1; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 50% 40%, rgba(0,119,255,.22), transparent 70%); }
.cta__inner { max-width: 800px; margin: 0 auto; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.025em; }
.cta__sub { color: var(--text-dim); font-size: 1.14rem; margin: 22px auto 38px; max-width: 600px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta__trust { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--text-faint); margin-top: 30px; }

/* --- WebGL energy-wave shader background (section-scoped) --- */
.webgl-shader {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  pointer-events: none; opacity: .9;   /* clearly visible energy wave */
  /* CSS fallback if WebGL is unavailable (JS hides the canvas, this shows) */
}
/* Overlay tuned for the centered text: darker at the top (headline) and a
   readable veil, fading toward the bottom so the glowing wave stays visible. */
.cta__overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,9,16,.82) 0%, rgba(5,9,16,.5) 42%, rgba(5,9,16,.22) 72%, rgba(5,9,16,.4) 100%),
    radial-gradient(60% 38% at 50% 34%, rgba(5,9,16,.55), transparent 70%);
}
.cta__title, .cta__sub { text-shadow: 0 2px 22px rgba(5,9,16,.85); }
.cta__trust { text-shadow: 0 1px 10px rgba(5,9,16,.9); }


.footer { border-top: 1px solid var(--line-soft); padding: 64px 0 32px; position: relative; z-index: 1; background: rgba(5,9,16,.6); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.footer__brand p { color: var(--text-faint); font-size: .9rem; margin-top: 18px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__cols h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--electric-cyan); margin-bottom: 16px; }
.footer__cols a { display: block; color: var(--text-dim); font-size: .9rem; padding: 5px 0; transition: color .2s; }
.footer__cols a:hover { color: var(--frozen-blue); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--text-faint); }
.footer__sig { color: var(--electric-cyan); }

/* ===== 10. RESPONSIVE ====================================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  /* Tablet headline ~48–58px */
  .hero__title { font-size: clamp(2.9rem, 6.4vw, 3.6rem); }
  .benefits__inner { grid-template-columns: 1fr; gap: 36px; }
  .benefits__head { position: static; }
  .intel { grid-template-columns: 1fr; gap: 40px; }
  .intel__card { aspect-ratio: 16 / 10; }
  .dash__cols { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(5,9,16,.97); backdrop-filter: blur(20px);
    padding: 16px 28px 28px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .4s var(--ease); align-items: stretch;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__cta { text-align: center; margin-top: 12px; }
  .nav__toggle { display: flex; }
  .section { padding: 76px 0; }
  .grid--4, .usecases, .steps, .benefits__list, .dash__stats, .dash__cams, .risk-grid { grid-template-columns: 1fr; }
  .risk__statement { padding: 26px 22px; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: center; }
  .dash__nav { flex-direction: row; flex-wrap: wrap; margin-top: 0; }
  .dash__sidefoot { display: none; }
  .flow { flex-direction: column; }
  .flow__arrow { transform: rotate(90deg); margin: 4px 0; }
  .trust { flex-direction: column; text-align: center; padding: 32px 24px; }
  .minigrid { left: 0; bottom: -24px; width: 160px; }
  .container { padding-inline: 20px; }
  /* Mobile hero: smaller headline, stacked full-width CTAs, centered stats */
  .hero { min-height: 90vh; padding: 88px 0 56px; }
  .hero__title { font-size: clamp(2.15rem, 9vw, 2.6rem); }   /* ~34–42px */
  .hero__sub { font-size: 1.02rem; margin-top: 22px; }
  .hero__badge { font-size: .64rem; padding: 8px 14px; margin-bottom: 24px; }
  .hero__actions { width: 100%; flex-direction: column; gap: 12px; margin-top: 34px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { gap: 0; margin-top: 44px; }
  .hero__stats li { padding: 0 18px; }
  .hero__stats strong { font-size: 1.7rem; }
  /* Centered legibility veil tuned for the vertical center text on phones */
  .hero__scrim {
    background:
      radial-gradient(130% 70% at 50% 44%, rgba(5,9,16,.6), rgba(5,9,16,.2) 60%, transparent 80%),
      linear-gradient(180deg, rgba(5,9,16,.4) 0%, rgba(5,9,16,0) 34%, rgba(5,9,16,.85) 100%);
  }
  .hero__video { object-position: 50% 24%; }
}

/* Premium card stack is full-width & fluid — it reflows naturally.
   On tablet it sits below the text; only minor mobile padding tweaks. */
@media (max-width: 1024px) { .display-cards { max-width: 560px; margin-inline: auto; } }
@media (max-width: 640px)  { .dcard { padding: 24px 22px; } .dcard__title { font-size: 1.18rem; } .display-cards { gap: 14px; } }

/* Benefit boards on small screens: tighter rail + padding */
@media (max-width: 560px) {
  .bboards { padding-left: 0; }
  .bboard { padding-left: 56px; padding-bottom: 24px; }
  .bboard__line { left: 19px; }
  .bboard__node { width: 34px; height: 34px; }
  .bboard__card { padding: 20px 18px; }
  .bboard__body { padding-right: 0; }
  .bboard__num { font-size: 1.2rem; top: 12px; right: 14px; }
}

/* Shader: lighter on phones (less GPU, keeps CTA text crisp) */
@media (max-width: 720px) { .webgl-shader { opacity: .38; } }

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

/* Focus visibility */
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 2px solid var(--electric-cyan); outline-offset: 3px; border-radius: 6px; }

