/* ============================================================
   Zain Al Bayan Security Solutions LLC
   "Engineered Trust" — precision-instrument / blueprint system
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Warm ink base (NOT cold navy) */
  --ink-900: #0a0a0c;
  --ink-850: #0d0d10;
  --ink-800: #121215;
  --ink-750: #161619;
  --ink-700: #1c1c20;

  /* Hairlines & surfaces */
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.22);

  /* Warm neutral type ramp */
  --paper: #ededea;
  --paper-soft: #c2c2bb;
  --muted: #8d8d85;
  --dim: #5d5d57;

  /* Single disciplined accent + rare support */
  --acc: #2fd98a;          /* emerald — primary sharp accent */
  --acc-bright: #5cf0ac;   /* glow */
  --acc-deep: #16archive;  /* placeholder (unused) */
  --blue: #4f8bff;         /* rare secondary */
  --acc-ink: #05140d;      /* text on accent */

  /* Signature gradient — used ONLY on logo + one hero word */
  --grad-brand: linear-gradient(102deg, #4f8bff 0%, #2fd98a 100%);

  /* Geometry — machined, less rounded */
  --r: 10px;
  --r-sm: 6px;
  --r-pill: 999px;

  /* Layout */
  --container: 1220px;
  --nav-h: 64px;
  --gutter: clamp(20px, 5vw, 44px);

  /* Type */
  --f-display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --f-body: "Satoshi", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.85);
}

/* fix typo token safely */
:root { --acc-deep: #14b377; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  background: var(--ink-900);
  color: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv01";
}

/* Atmospheric base: deep warm ink + faint blueprint + glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(900px 620px at 82% -6%, rgba(47, 217, 138, 0.10), transparent 60%),
    radial-gradient(820px 580px at -8% 8%, rgba(79, 139, 255, 0.07), transparent 58%),
    var(--ink-900);
}
/* Blueprint grid (fine + coarse), radially masked */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px, 150px 150px, 150px 150px;
  mask-image: radial-gradient(ellipse 100% 85% at 50% 0%, #000 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 100% 85% at 50% 0%, #000 35%, transparent 82%);
  pointer-events: none;
}

/* Film grain overlay for premium depth */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: rgba(47, 217, 138, 0.28); color: #fff; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.accent { color: var(--acc); }
.grad-hero {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--acc);
  color: var(--acc-ink);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Mono kicker label with index */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--acc);
}
.kicker .no { color: var(--acc); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--acc);
  z-index: 80;
  box-shadow: 0 0 12px rgba(47, 217, 138, 0.7);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.1px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.25s, border-color 0.25s, color 0.2s;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn svg { transition: transform 0.3s var(--ease); }

.btn-primary {
  background: var(--acc);
  color: var(--acc-ink);
  box-shadow: 0 0 0 1px rgba(47, 217, 138, 0.4), 0 14px 36px -14px rgba(47, 217, 138, 0.6);
}
.btn-primary:hover {
  background: var(--acc-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(92, 240, 172, 0.6), 0 20px 44px -14px rgba(47, 217, 138, 0.7);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--acc);
  color: var(--acc);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #1faf54;
  color: #fff;
  box-shadow: 0 14px 34px -16px rgba(31, 175, 84, 0.8);
}
.btn-whatsapp:hover { background: #25c763; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), border-color 0.35s,
    backdrop-filter 0.35s, box-shadow 0.35s;
  background: #ffffff;
  border-bottom: 1px solid rgba(13, 18, 28, 0.06);
  /* dark-mode-friendly nav text */
  color: #0c1015;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(13, 18, 28, 0.08);
  box-shadow: 0 6px 26px -16px rgba(0, 0, 0, 0.2);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { flex-shrink: 0; display: block; }

/* Premium white "plate" for a light-bg logo on a dark navbar/footer.
   The logo file itself is untouched; this is a subtle backdrop that lets
   the dark text inside the logo remain legible against the dark theme. */
.brand-lockup .brand-mark {
  height: 32px;
  width: auto;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
  box-sizing: content-box;
  box-shadow: 0 6px 22px -10px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brand-lockup:hover .brand-mark {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(47, 217, 138, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
/* Larger footer plate */
.brand-lockup-lg .brand-mark { height: 40px; padding: 8px 14px; border-radius: 12px; }

/* Inside the WHITE navbar the plate is redundant — strip it.
   The "with name" SVG is a square 1:1 with the lockup composed inside, so we
   need a generous box for the text + mark to read clearly. */
/* Header lockup: trimmed 4.7:1 wide SVG. Height drives the size,
   width auto-scales to preserve the file's natural aspect. */
.navbar .brand-lockup {
  height: 30px;
  display: inline-flex;
  align-items: center;
}
.navbar .brand-lockup .brand-mark {
  background: transparent;
  box-shadow: none;
  padding: 0;
  height: 30px;
  width: auto;
  max-width: none;
}
.navbar .brand-lockup:hover .brand-mark { box-shadow: none; }
.navbar .brand-lockup:hover .brand-mark {
  box-shadow: none;
  transform: translateY(-1px);
}

/* Footer mark — the "without name" SVG is the standalone ZAB symbol (1:1).
   It's a colorful gradient mark designed to stand on its own. */
/* Footer mark: trimmed 2:1 horizontal SVG — height-driven, width auto. */
.footer .brand-lockup {
  height: 40px;
  display: inline-flex;
  align-items: center;
}
.footer .brand-lockup .brand-mark {
  background: transparent;
  box-shadow: none;
  padding: 0;
  height: 40px;
  width: auto;
  max-width: none;
  border-radius: 0;
}
.footer .brand-lockup:hover .brand-mark { box-shadow: none; }
.footer .brand-lockup:hover .brand-mark {
  box-shadow: none;
  transform: translateY(-1px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.2px;
  color: var(--paper);
}
.brand-sub {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--paper-soft);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--paper); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--paper); }
.nav-cta {
  margin-left: 10px;
  padding: 8px 16px;
  font-size: 0.84rem;
  letter-spacing: 0.05px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--paper); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   WHITE NAVBAR overrides
   The navbar is light; recolor links/toggle/dropdown to read on white.
   ============================================================ */
.navbar .nav-link { color: #56616f; }
.navbar .nav-link:hover { color: #0c1015; }
.navbar .nav-link.active { color: #0c1015; }
.navbar .nav-link::after { background: #0e9e63; height: 2px; }

.navbar .nav-toggle {
  background: rgba(13, 18, 28, 0.04);
  border-color: rgba(13, 18, 28, 0.1);
}
.navbar .nav-toggle span { background: #0c1015; }

/* Mobile dropdown becomes light too */
@media (max-width: 760px) {
  .navbar .nav-links {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    border-bottom-color: rgba(13, 18, 28, 0.1);
    box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.2);
  }
  .navbar .nav-link { color: #0c1015; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(76px, 11vh, 134px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 58px; }

.section-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.3px;
  word-spacing: 0.04em;
}
.section-lead {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  color: var(--muted);
  max-width: 600px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 46px);
  padding-bottom: 64px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 760px; height: 620px;
  background: radial-gradient(circle, rgba(47, 217, 138, 0.13), transparent 62%);
  z-index: 0; pointer-events: none;
}
/* vertical scanning beam */
.hero-scan {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  left: 0;
  background: linear-gradient(180deg, transparent, rgba(47, 217, 138, 0.55), transparent);
  z-index: 0;
  animation: scanX 9s var(--ease) infinite;
  pointer-events: none;
}
/* corner registration crosshairs */
.crosshair {
  position: absolute;
  width: 16px; height: 16px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}
.crosshair::before, .crosshair::after {
  content: "";
  position: absolute;
  background: var(--line-3);
}
.crosshair::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.crosshair::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }
.crosshair.tl { top: calc(var(--nav-h) + 28px); left: var(--gutter); }
.crosshair.tr { top: calc(var(--nav-h) + 28px); right: var(--gutter); }
.crosshair.bl { bottom: 34px; left: var(--gutter); }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

/* mono eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--paper-soft);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 0 rgba(47, 217, 138, 0.6);
  animation: pulse 2.4s infinite;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.9px;
  word-spacing: 0.06em;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 528px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  color: var(--paper-soft);
}
.hero-trust svg { color: var(--acc); flex-shrink: 0; }

/* Instrument "spec" panel (was glass HUD) */
.hero-panel { position: relative; }
.glass-panel {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.hud-card { padding: 4px; position: relative; overflow: hidden; }
.hud-inner { padding: 22px 24px; position: relative; z-index: 1; }
.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 1px;
}
.hud-status { display: inline-flex; align-items: center; gap: 8px; color: var(--acc); font-weight: 500; }
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 0 rgba(47, 217, 138, 0.6);
  animation: pulse 2s infinite;
}
.hud-id { color: var(--dim); }

.hud-rows { display: flex; flex-direction: column; }
.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
}
.hud-label { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.4px; color: var(--muted); }
.hud-value { font-family: var(--f-display); font-weight: 600; font-size: 1.18rem; color: var(--paper); }
.hud-value .accent { color: var(--acc); }
.hud-bar {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-top: 9px;
}
.hud-bar span {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--acc);
  transform-origin: left;
  animation: growBar 1.4s var(--ease) both;
}
.hud-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  color: var(--muted);
}
.hud-footer svg { color: var(--acc); }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; }
.scroll-cue-track { display: block; width: 24px; height: 40px; border: 1px solid var(--line-2); border-radius: 13px; position: relative; }
.scroll-cue-thumb { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 3px; background: var(--acc); animation: scrollCue 1.8s infinite; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar-label {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 28px;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 76px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.4px;
  color: #ffffff;
  opacity: 0.65;
  transition: opacity 0.3s var(--ease);
  white-space: nowrap;
}
.logo-chip:hover { opacity: 1; }
.logo-chip img {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: brightness(0) invert(1);   /* render any SVG as white on dark */
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.service-card {
  padding: 34px 30px 32px;
  position: relative;
  background: var(--ink-850);
  transition: background-color 0.35s var(--ease);
  cursor: default;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover, .service-card:focus-visible { background: var(--ink-800); }
.service-card:hover::before, .service-card:focus-visible::before { transform: scaleX(1); }
.service-card.featured { background: var(--ink-800); }

.svc-no {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 1px;
  color: var(--dim);
}
.card-flag {
  position: absolute;
  top: 30px; right: 30px;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--acc);
  padding: 4px 10px;
  border: 1px solid rgba(47, 217, 138, 0.4);
  border-radius: var(--r-pill);
}
.service-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(47, 217, 138, 0.08);
  border: 1px solid var(--line);
  color: var(--acc);
  margin: 18px 0 20px;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-icon { transform: translateY(-3px); }

.service-name { font-family: var(--f-display); font-weight: 600; font-size: 1.34rem; margin-bottom: 11px; }
.service-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--paper-soft);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--acc);
  transform: rotate(45deg);
}

/* ============================================================
   WHY / STATS
   ============================================================ */
.why { overflow: hidden; }
.why-glow {
  position: absolute;
  top: 18%; right: -12%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(79, 139, 255, 0.08), transparent 66%);
  pointer-events: none;
}
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.why-points { display: flex; flex-direction: column; gap: 0; margin: 32px 0 38px; }
.why-points li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.why-points li:last-child { border-bottom: 1px solid var(--line); }
.why-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid rgba(47, 217, 138, 0.4);
  color: var(--acc);
  margin-top: 1px;
}
.why-points strong { display: block; font-family: var(--f-display); color: var(--paper); font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.why-points div { color: var(--muted); font-size: 0.94rem; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.stat-card {
  padding: 30px 26px;
  background: var(--ink-850);
  transition: background-color 0.3s;
}
.stat-card:hover { background: var(--ink-800); }
.stat-card.wide { grid-column: 1 / -1; }
.stat-num {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -1.4px;
  color: var(--paper);
  margin-bottom: 10px;
}
.stat-num .accent { color: var(--acc); }
.stat-label { font-family: var(--f-mono); color: var(--muted); font-size: 0.78rem; letter-spacing: 0.4px; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.industry-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 22px;
  background: var(--ink-850);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--paper-soft);
  transition: background-color 0.3s, color 0.25s;
  cursor: default;
}
.industry-card svg { color: var(--acc); flex-shrink: 0; transition: transform 0.3s var(--ease); }
.industry-card:hover, .industry-card:focus-visible { background: var(--ink-800); color: var(--paper); }
.industry-card:hover svg { transform: translateY(-2px); }

/* ============================================================
   PROCESS
   ============================================================ */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-step { position: relative; padding: 0 26px; border-left: 1px solid var(--line); }
.process-step:first-child { padding-left: 0; border-left: none; }
.process-num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: var(--acc);
  display: block;
  margin-bottom: 24px;
}
.process-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(47, 217, 138, 0.06);
  color: var(--acc);
  margin-bottom: 18px;
}
.process-body h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.16rem; margin-bottom: 9px; }
.process-body p { color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-viewport { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-850); }
.testi-track { display: flex; transition: transform 0.6s var(--ease); }
.testi-card {
  flex: 0 0 100%;
  padding: 48px clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.testi-stars { display: flex; gap: 4px; color: var(--acc); }
.testi-card blockquote {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  line-height: 1.4;
  color: var(--paper);
  letter-spacing: -0.3px;
}
.testi-card figcaption { display: flex; align-items: center; gap: 15px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--acc);
  border: 1px solid rgba(47, 217, 138, 0.4);
  flex-shrink: 0;
}
.testi-meta { display: flex; flex-direction: column; }
.testi-meta strong { font-family: var(--f-display); font-weight: 600; color: var(--paper); }
.testi-meta span { font-family: var(--f-mono); font-size: 0.76rem; color: var(--muted); }

.testi-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.testi-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--paper-soft);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.testi-btn:hover { border-color: var(--acc); color: var(--acc); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-3); border: none; padding: 0; transition: width 0.3s var(--ease), background-color 0.3s; }
.testi-dot.active { width: 22px; border-radius: 4px; background: var(--acc); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { overflow: hidden; }
.contact-glow { position: absolute; bottom: -20%; left: -8%; width: 640px; height: 640px; background: radial-gradient(circle, rgba(47, 217, 138, 0.10), transparent 66%); pointer-events: none; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 76px); align-items: start; }
.contact-points { display: flex; flex-direction: column; gap: 0; margin: 36px 0; }
.contact-points li { display: flex; align-items: center; gap: 17px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-points li:last-child { border-bottom: 1px solid var(--line); }
.contact-ic {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--acc);
}
.contact-k { display: block; font-family: var(--f-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--dim); margin-bottom: 3px; }
.contact-v { font-family: var(--f-display); font-weight: 500; font-size: 1.04rem; color: var(--paper); transition: color 0.2s; }
a.contact-v:hover { color: var(--acc); }

.contact-form { padding: clamp(28px, 4vw, 40px); position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--paper-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--paper);
  background: var(--ink-900);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 84px; font-family: inherit; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(47, 217, 138, 0.12);
}
.field input.invalid, .field select.invalid { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12); }
.field-error { font-size: 0.78rem; color: #fca5a5; min-height: 0; }
.field-error:not(:empty) { min-height: 16px; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap select option { background: var(--ink-800); color: var(--paper); }
.select-arrow { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.form-note { margin-top: 14px; font-family: var(--f-mono); font-size: 0.72rem; color: var(--dim); text-align: center; letter-spacing: 0.3px; }

/* Form-level error banner (replaces alert()) */
.form-error {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.08);
  border-radius: var(--r-sm);
  color: #fca5a5;
  font-size: 0.86rem;
  text-align: center;
}
.form-error[hidden] { display: none; }

.btn-spinner { display: none; animation: spin 0.7s linear infinite; }
.btn.loading .btn-label { opacity: 0; }
.btn.loading .btn-spinner { display: block; position: absolute; }
.btn.loading { pointer-events: none; }

.form-success {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 40px;
  background: var(--ink-800);
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.form-success.show { display: flex; animation: fadeUp 0.5s var(--ease) both; }
.form-success svg { color: var(--acc); margin-bottom: 6px; }
.form-success h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; }
.form-success p { color: var(--muted); max-width: 320px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 66px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(40px, 6vw, 84px); padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-desc { margin: 22px 0; color: var(--muted); font-size: 0.93rem; max-width: 360px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 9px; }
.badge {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  color: var(--paper-soft);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col h4 { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer-col a, .footer-addr { display: block; color: var(--muted); font-size: 0.92rem; padding: 5px 0; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: var(--acc); transform: translateX(3px); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-family: var(--f-mono); font-size: 0.74rem; color: var(--dim); letter-spacing: 0.3px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--paper-soft); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #1faf54;
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(31, 175, 84, 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  animation: floatBob 3.4s ease-in-out infinite;
}
.whatsapp-float::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(31, 175, 84, 0.5); animation: ripple 2.6s infinite; }
.whatsapp-float:hover { transform: scale(1.07); }

/* ============================================================
   MOTION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 217, 138, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(47, 217, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 217, 138, 0); }
}
@keyframes scanX {
  0% { left: 2%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 98%; opacity: 0; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scrollCue {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 13px); }
  100% { opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 480px; }
  .crosshair.tr { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .process-step { padding: 0 24px; }
  .process-step:nth-child(odd) { padding-left: 0; border-left: none; }
  .why-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 20px 24px;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s var(--ease), opacity 0.3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 13px 14px; font-size: 1rem; }
  .nav-link::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 48px); }
  .crosshair { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr; gap: 24px 0; }
  .process-step { padding: 0; border-left: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .section-head { margin-bottom: 42px; }
}

@media (max-width: 440px) {
  .industries-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ============================================================
   CINEMATIC HERO  (huly-inspired: spotlight, aurora, 3D console)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-h) + 42px);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* --- Lights --- */
.hero-lights { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.spotlight {
  position: absolute; top: -44%; left: 50%; transform: translateX(-50%);
  width: min(1500px, 150vw); height: 1120px;
  background: radial-gradient(ellipse 46% 52% at 50% 0%, rgba(150, 205, 255, 0.18), rgba(120, 190, 255, 0.06) 40%, transparent 70%);
}
.spotbeam {
  position: absolute; top: -6%; left: 50%; transform: translateX(-50%);
  width: 720px; height: 880px;
  background: conic-gradient(from 180deg at 50% 0%,
    transparent 150deg,
    rgba(120, 190, 255, 0.10) 167deg,
    rgba(190, 230, 255, 0.18) 180deg,
    rgba(47, 217, 138, 0.10) 193deg,
    transparent 210deg);
  filter: blur(7px);
  -webkit-mask: linear-gradient(#000, transparent 80%);
          mask: linear-gradient(#000, transparent 80%);
}
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; mix-blend-mode: screen; }
.aurora-a { width: 520px; height: 420px; left: 7%; top: 5%; background: radial-gradient(circle, rgba(47, 217, 138, 0.55), transparent 68%); animation: auroraDrift 15s ease-in-out infinite; }
.aurora-b { width: 560px; height: 460px; right: 5%; top: 2%; background: radial-gradient(circle, rgba(79, 139, 255, 0.5), transparent 68%); animation: auroraDrift 18s ease-in-out infinite reverse; }
.aurora-c { width: 760px; height: 520px; left: 50%; top: 32%; background: radial-gradient(circle, rgba(34, 211, 170, 0.32), transparent 66%); animation: auroraDriftC 21s ease-in-out infinite; }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 82% 60% at 50% 28%, transparent 42%, rgba(5, 5, 7, 0.6) 100%); }
@keyframes auroraDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(26px, 18px) scale(1.08); } }
@keyframes auroraDriftC { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) translateY(22px) scale(1.07); } }

/* --- Centered hero text --- */
.hero .eyebrow { margin: 0 auto 24px; opacity: 0; animation: heroUp 0.8s var(--ease-out) both 0.05s; }
.hero-title { text-align: center; font-size: clamp(2.4rem, 5.7vw, 4.4rem); line-height: 1.05; letter-spacing: -1.3px; max-width: 18ch; margin-inline: auto; }
.hero-sub { margin: 22px auto 0; max-width: 580px; }
.hero-actions { justify-content: center; margin-top: 30px; }
.hero-trust { justify-content: center; border-top: none; padding-top: 0; margin-top: 30px; gap: 12px 26px; }
.hero-trust li { color: var(--muted); }

/* Glowing CTA */
.btn-glow { animation: ctaGlow 3.2s ease-in-out infinite; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(47, 217, 138, 0.5), 0 0 30px -8px rgba(47, 217, 138, 0.5); }
  50% { box-shadow: 0 0 0 1px rgba(92, 240, 172, 0.7), 0 0 50px -6px rgba(47, 217, 138, 0.85); }
}

/* ============================================================
   THE CONSOLE CENTERPIECE
   ============================================================ */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: clamp(30px, 4.2vw, 58px) auto 0;
  perspective: 1900px;
  z-index: 2;
}
.hero-stage::before {
  content: ""; position: absolute; left: 50%; top: 6%; transform: translateX(-50%);
  width: 80%; height: 82%;
  background: radial-gradient(ellipse at center, rgba(47, 217, 138, 0.4), rgba(79, 139, 255, 0.16) 45%, transparent 72%);
  filter: blur(72px); z-index: -1; pointer-events: none;
}
.console {
  position: relative;
  transform: rotateX(var(--rx, 15deg)) rotateY(var(--ry, 0deg));
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease);
  animation: floatConsole 7s ease-in-out infinite;
  border-radius: 16px;
}
@keyframes floatConsole { 0%, 100% { translate: 0 0; } 50% { translate: 0 -11px; } }

.console-frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #11141a, #0a0c11);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.console-frame::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.console-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 42px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  font-family: var(--f-mono); font-size: 0.72rem;
}
.cbar-dots { display: flex; gap: 7px; }
.cbar-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.cbar-title { color: var(--paper-soft); letter-spacing: 0.3px; }
.cb-logo { font-family: var(--f-display); font-weight: 700; }
.cbar-stat { display: inline-flex; align-items: center; gap: 7px; color: var(--acc); }
.cbar-stat .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); animation: pulse 2s infinite; }

.console-body { display: grid; grid-template-columns: 52px 1fr 232px; }
.console-rail { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; background: rgba(255, 255, 255, 0.012); }
.rail-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--dim); }
.rail-ic.active { color: var(--acc); background: rgba(47, 217, 138, 0.1); }

.console-main { padding: 14px; min-width: 0; }
.cmain-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.cm-title { font-family: var(--f-display); font-weight: 600; font-size: 0.92rem; color: var(--paper); }
.cm-meta { font-family: var(--f-mono); font-size: 0.66rem; color: var(--muted); white-space: nowrap; }
.cam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.cam { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); margin: 0; }
.cam-scene { position: absolute; inset: 0; }
.cam-scene.s1 { background: linear-gradient(160deg, #1a2733, #0c141c 72%); }
.cam-scene.s2 { background: linear-gradient(160deg, #151b26, #0a0e16 72%); }
.cam-scene.s3 { background: linear-gradient(160deg, #13231d, #0a130f 72%); }
.cam-scene.s4 { background: linear-gradient(160deg, #241c14, #15100a 72%); }
.cam-scene.s5 { background: linear-gradient(160deg, #101a26, #0a1018 72%); }
.cam-scene.s6 { background: linear-gradient(160deg, #1b1f2b, #0c0e16 72%); }
.cam-scene::before { content: ""; position: absolute; left: 0; right: 0; bottom: 34%; height: 1px; background: rgba(255, 255, 255, 0.06); }
.cam-scene::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 38%; background: linear-gradient(180deg, transparent, rgba(150, 210, 255, 0.1), transparent); animation: camScan 4.5s linear infinite; }
.cam:nth-child(2) .cam-scene::after { animation-delay: -1.4s; }
.cam:nth-child(3) .cam-scene::after { animation-delay: -2.6s; }
.cam:nth-child(5) .cam-scene::after { animation-delay: -3.4s; }
.cam:nth-child(6) .cam-scene::after { animation-delay: -0.8s; }
@keyframes camScan { to { top: 140%; } }
.cam-live { position: absolute; top: 6px; left: 7px; display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 0.52rem; letter-spacing: 0.5px; color: rgba(255, 255, 255, 0.8); }
.cam-live i { width: 5px; height: 5px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 6px #ff5a5a; animation: pulse 1.8s infinite; }
.cam-label { position: absolute; bottom: 5px; left: 7px; right: 7px; font-family: var(--f-mono); font-size: 0.52rem; color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam.secure { border-color: rgba(47, 217, 138, 0.5); }
.cam.alert { border-color: rgba(245, 178, 80, 0.75); box-shadow: 0 0 16px -4px rgba(245, 178, 80, 0.5); }
.cam-flag { position: absolute; top: 6px; left: 7px; font-family: var(--f-mono); font-size: 0.52rem; letter-spacing: 0.5px; color: #f4b350; border: 1px solid rgba(245, 178, 80, 0.6); border-radius: 4px; padding: 1px 5px; animation: flagBlink 1.2s steps(1) infinite; }
@keyframes flagBlink { 50% { opacity: 0.35; } }

/* Blueprint (replaces camera wall) */
.blueprint {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #0c1117, #08090e);
  overflow: hidden;
}
.blueprint svg { display: block; width: 100%; height: auto; }
.blueprint .bp-sweep {
  transform-origin: 0 50%;
  animation: bpSweep 9s linear infinite;
}
@keyframes bpSweep {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateX(720px); opacity: 0; }
}
.blueprint .cams circle { animation: camPulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.blueprint .cams circle:nth-child(2) { animation-delay: 0.4s; }
.blueprint .cams circle:nth-child(3) { animation-delay: 0.8s; }
.blueprint .cams circle:nth-child(4) { animation-delay: 1.2s; }
.blueprint .cams circle:nth-child(5) { animation-delay: 1.6s; }
@keyframes camPulse { 0%, 100% { filter: drop-shadow(0 0 0 rgba(47,217,138,0)); } 50% { filter: drop-shadow(0 0 4px rgba(47,217,138,0.85)); } }
.bp-legend {
  position: absolute; bottom: 8px; right: 10px;
  display: flex; gap: 13px; padding: 7px 11px;
  background: rgba(8, 9, 14, 0.78);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--f-mono); font-size: 0.56rem;
  letter-spacing: 0.8px; text-transform: uppercase; color: var(--paper-soft);
}
.bp-legend li { display: inline-flex; align-items: center; gap: 5px; }
.lg-d { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.lg-d.cam { background: #2fd98a; }
.lg-d.net { background: #4f8bff; }
.lg-d.wifi { background: #4f8bff; opacity: 0.55; border: 1px solid #4f8bff; }
.lg-d.acc { background: #f4b350; border-radius: 1px; }

.console-side { border-left: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sb-head { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); margin-bottom: 9px; }
.event-list { display: flex; flex-direction: column; gap: 9px; }
.event-list li { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--paper-soft); }
.ev-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ev-dot.ok { background: var(--acc); } .ev-dot.warn { background: #f4b350; } .ev-dot.info { background: #4f8bff; }
.ev-txt { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-time { font-family: var(--f-mono); font-size: 0.64rem; color: var(--dim); }
.spark { width: 100%; height: 46px; display: block; }
.meter { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.meter-k { font-family: var(--f-mono); font-size: 0.62rem; color: var(--muted); width: 64px; }
.meter-track { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.meter-track i { display: block; height: 100%; width: var(--v); background: var(--acc); border-radius: 3px; }

.console-foot { display: flex; align-items: center; gap: 18px; padding: 9px 16px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.64rem; color: var(--muted); background: rgba(255, 255, 255, 0.012); }
.console-foot .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); margin-right: 6px; }
.cf-mute { margin-left: auto; color: var(--dim); }
.console-floor { position: absolute; left: 6%; right: 6%; bottom: -2px; height: 120px; background: linear-gradient(180deg, rgba(47, 217, 138, 0.12), transparent 70%); filter: blur(22px); transform: translateZ(-40px); z-index: -1; pointer-events: none; }

/* Console responsive */
@media (max-width: 1024px) {
  .console { --rx: 11deg; }
  .hero-title { max-width: none; }
}
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-stage { perspective: 1200px; margin-top: 44px; }
  .console { --rx: 7deg; animation: none; }
  .console-rail, .console-side { display: none; }
  .console-body { grid-template-columns: 1fr; }
  .cbar-title { font-size: 0.66rem; }
  .bp-legend { font-size: 0.5rem; gap: 9px; padding: 6px 9px; }
  .console-foot .cf-mute { display: none; }
}
@media (max-width: 440px) {
  .console-foot { gap: 12px; font-size: 0.58rem; }
  .bp-legend { display: none; }
}

/* ============================================================
   PREMIUM INTERACTIONS  (selective, restrained — emerald/blueprint)
   ============================================================ */
@property --beam-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* Cursor-follow spotlight on cards */
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 217, 138, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}
.spot:hover::after, .spot:focus-within::after { opacity: 1; }
.service-card > *, .industry-card > * { position: relative; z-index: 1; }

/* Traveling border beam — single showcase on the hero spec panel */
.beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--beam-a), transparent 0deg 235deg, rgba(92, 240, 172, 0.95) 300deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: beamSpin 5.5s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes beamSpin { to { --beam-a: 360deg; } }

/* Shimmer sweep on primary CTAs */
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.5) 50%, transparent 82%);
  transform: translateX(-180%) skewX(-14deg);
  pointer-events: none;
}
.btn-primary:hover::after { animation: ctaShimmer 0.9s var(--ease); }
@keyframes ctaShimmer { to { transform: translateX(330%) skewX(-14deg); } }

/* Orchestrated hero entrance */
.hero-content > .eyebrow,
.hero-sub, .hero-actions, .hero-trust, .hero-panel {
  opacity: 0;
  animation: heroUp 0.85s var(--ease-out) both;
}
.hero-content > .eyebrow { animation-delay: 0.06s; }
.hero-sub { animation-delay: 0.5s; }
.hero-actions { animation-delay: 0.6s; }
.hero-trust { animation-delay: 0.7s; }
.hero-panel { animation-delay: 0.42s; animation-duration: 1s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .line > span { display: inline-block; transform: translateY(116%); opacity: 0; animation: lineUp 0.95s var(--ease-out) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: 0.16s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.29s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.42s; }
@keyframes lineUp { to { transform: none; opacity: 1; } }

/* ============================================================
   LIGHT SECTIONS  (dark <-> light hybrid, CrowdStrike/Splunk-style)
   Re-maps the theme tokens so existing components recolor cleanly.
   ============================================================ */
.section.light {
  background: #eef1f5;
  color: #0c1015;
  border-top: none;
  --paper: #0c1015;
  --paper-soft: #39434f;
  --muted: #56616f;
  --dim: #6f7886;
  --ink-900: #e7eaee;
  --ink-850: #ffffff;
  --ink-800: #f4f6f8;
  --ink-750: #eef1f5;
  --line: rgba(13, 18, 28, 0.10);
  --line-2: rgba(13, 18, 28, 0.16);
  --line-3: rgba(13, 18, 28, 0.26);
  --acc: #0e9e63;
  --acc-bright: #11b070;
}
.section.light .why-glow { display: none; }
/* soft top edge so the dark->light handoff reads intentional */
.section.light::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 18, 28, 0.12), transparent);
}
/* keep the emerald check legible on white */
.section.light .why-check { border-color: rgba(14, 158, 99, 0.45); }
.section.light .testi-avatar { border-color: rgba(14, 158, 99, 0.5); }

/* Certifications strip */
.cert-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px 28px;
  padding-bottom: clamp(40px, 5vw, 56px);
  margin-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.cert-strip-label {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--muted);
}
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.cert {
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.3px;
  color: var(--paper-soft); padding: 8px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--ink-850);
}

/* ---- Client logo wall (light section) ---- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.client-logo {
  background: #ffffff;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 20px 24px;
}
.client-logo img {
  max-height: 54px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.05); }
@media (max-width: 1024px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .client-grid { grid-template-columns: repeat(2, 1fr); } .client-logo { aspect-ratio: 3 / 2; padding: 16px; } }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track, .hero-scan, .beam, .console, .aurora, .aurora-c,
  .btn-glow, .cam-scene::after, .cbar-stat .dot, .cam-flag, .cam-live i { animation: none; }
  .beam { opacity: 0.55; }
  .console { transform: rotateX(12deg); }
  .hero .eyebrow, .hero-sub, .hero-actions, .hero-trust, .hero-stage { opacity: 1; }
  .hero-title .line > span { transform: none; opacity: 1; }
}
