/* ==========================================================================
   Veyros Systems — Design tokens & resets
   ========================================================================== */

:root {
  --bg-void: #05070d;
  --bg-deep: #0a0e1a;
  --bg-panel: #0c1220;
  --bg-panel-2: #101a2e;
  --bg-panel-3: #131f36;

  --border-subtle: rgba(148, 163, 184, 0.10);
  --border-strong: rgba(148, 163, 184, 0.18);
  --border-accent: rgba(45, 212, 191, 0.28);

  --accent: #14b8a6;
  --accent-bright: #2dd4bf;
  --accent-dim: #0d9488;
  --accent-glow: rgba(45, 212, 191, 0.35);
  --accent-glow-soft: rgba(45, 212, 191, 0.12);
  --danger: #f0554a;

  --text-primary: #eaf0f7;
  --text-secondary: #93a1b8;
  --text-tertiary: #5c6980;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-void);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }

.mono { font-family: var(--font-mono); }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ==========================================================================
   Background layers
   ========================================================================== */

.bg-void {
  position: fixed;
  inset: 0;
  z-index: -30;
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -20;
  background-image:
    linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -25;
  overflow: hidden;
  pointer-events: none;
}

.bg-aurora .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}

.blob-a {
  width: 46vw; height: 46vw;
  top: -12vw; left: -10vw;
  background: radial-gradient(circle at 30% 30%, var(--accent-dim), transparent 70%);
  animation: drift-a 34s ease-in-out infinite;
}
.blob-b {
  width: 38vw; height: 38vw;
  top: 20vh; right: -14vw;
  background: radial-gradient(circle at 60% 40%, #0e2a4a, transparent 70%);
  animation: drift-b 40s ease-in-out infinite;
}
.blob-c {
  width: 42vw; height: 42vw;
  bottom: -16vw; left: 20vw;
  background: radial-gradient(circle at 50% 50%, var(--accent-dim), transparent 72%);
  opacity: 0.22;
  animation: drift-c 46s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 8vh) scale(1.12); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7vw, 6vh) scale(0.9); }
}
@keyframes drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5vw, -6vh) scale(1.08); }
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -15;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

body.reduced-motion .bg-aurora .blob { animation: none; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), backdrop-filter .35s;
}
.nav.scrolled {
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text-primary);
}
.brand-mark { width: 26px; height: 26px; color: var(--accent-bright); flex-shrink: 0; }
.brand-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-sub {
  font-size: 8px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.28em;
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 32px; height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 32px 24px;
  background: #05070d;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}
.nav-mobile a {
  padding: 12px 4px;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-mobile .btn { margin-top: 12px; justify-content: center; }
.nav-mobile.open { display: flex; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s var(--ease-out), box-shadow .3s, border-color .2s, background .2s, color .2s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-dim));
  color: #04120f;
  box-shadow: 0 0 0 rgba(45,212,191,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -6px var(--accent-glow);
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover {
  border-color: var(--border-accent);
  background: var(--accent-glow-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--border-subtle);
  color: var(--text-primary);
  padding: 10px 18px;
  font-size: 13px;
}
.btn-ghost:hover { border-color: var(--border-accent); background: var(--accent-glow-soft); }

.btn-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-bright);
  flex-shrink: 0;
}

.nav-cta { margin-left: 8px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 80px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-circuits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}
.circuit-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 18 14;
  opacity: 0.55;
  animation: circuit-flow 9s linear infinite;
}
.circuit-path-2 { stroke: var(--accent-bright); animation-duration: 12s; animation-direction: reverse; opacity: 0.4; }
.circuit-path-3 { stroke: var(--accent-dim); animation-duration: 7s; opacity: 0.35; }
.circuit-path-4 { stroke: var(--accent); animation-duration: 10s; animation-direction: reverse; opacity: 0.3; }
.circuit-node { fill: var(--accent-bright); opacity: 0.6; }

@keyframes circuit-flow {
  to { stroke-dashoffset: -320; }
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--x, 50%) var(--y, 30%), var(--accent-glow-soft), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.hero-spotlight.active { opacity: 1; }

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent-bright);
  border: 1px solid var(--border-accent);
  background: var(--accent-glow-soft);
  padding: 7px 14px 7px 12px;
  border-radius: 100px;
}
.eyebrow-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(45,212,191,0.6); }
  70% { box-shadow: 0 0 0 9px rgba(45,212,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text-primary);
  min-height: 2.2em;
}

.scramble-text { display: inline; }
.scramble-char-pending { color: var(--accent); opacity: 0.65; }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badges {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges .check { width: 14px; height: 14px; color: var(--accent); }

.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
}
.scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--accent), transparent);
  animation: scroll-cue 2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0% { opacity: 0.2; transform: scaleY(0.3); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0.2; transform: scaleY(0.3); transform-origin: bottom; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-reveal-delay="1"] { transition-delay: .1s; }
.reveal[data-reveal-delay="2"] { transition-delay: .2s; }
.reveal[data-reveal-delay="3"] { transition-delay: .3s; }

body.reduced-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ==========================================================================
   Trustbar
   ========================================================================== */

.trustbar {
  padding: 56px 32px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.trustbar-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.trustbar-logos {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 48px;
}
.trustbar-logos span {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-tertiary);
  transition: color .25s;
}
.trustbar-logos span:hover { color: var(--accent-bright); }

/* ==========================================================================
   Stats
   ========================================================================== */

.stats { padding: 90px 32px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}
.stat-card {
  background: var(--bg-panel);
  padding: 34px 24px;
  position: relative;
  overflow: hidden;
}
.stat-value {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-unit { font-size: 0.5em; color: var(--accent-bright); font-weight: 600; }
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.stat-spark {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0.6;
  animation: spark-slide 3.5s ease-in-out infinite;
}
@keyframes spark-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   Section shared
   ========================================================================== */

.section-tag {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: var(--text-primary);
}
.section-desc {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  line-height: 1.6;
}
.section-head { margin-bottom: 48px; }

/* ==========================================================================
   About
   ========================================================================== */

.about { padding: 110px 32px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.about-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-top: 18px;
}
.about-text strong { color: var(--text-primary); font-weight: 600; }

.leadership-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.leader-card {
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-panel);
}
.leader-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow-soft);
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
  border: 1px solid var(--border-accent);
}
.leader-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.leader-role { font-size: 11px; color: var(--text-tertiary); margin-top: 4px; letter-spacing: 0.02em; }

/* Terminal */
.terminal {
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  background: #070a13;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-panel-2);
  border-bottom: 1px solid var(--border-subtle);
}
.dot { width: 10px; height: 10px; border-radius: 50%; opacity: 0.8; }
.dot-r { background: #f0554a; }
.dot-y { background: #f0b93a; }
.dot-g { background: #2dd4bf; }
.terminal-title {
  margin-left: 10px;
  font-size: 11px;
  color: var(--text-tertiary);
}
.terminal-body {
  padding: 20px;
  height: 320px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.9;
  color: #9fe8dc;
}
.terminal-line { display: block; white-space: pre-wrap; word-break: break-word; }
.terminal-line .ok { color: var(--accent-bright); }
.terminal-line .warn { color: #f0b93a; }
.terminal-line .prompt { color: var(--text-tertiary); margin-right: 6px; }
.terminal-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent-bright);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================================
   Tilt cards (shared)
   ========================================================================== */

.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .15s ease-out, border-color .3s, box-shadow .3s;
}
.tilt-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5), 0 0 40px -12px var(--accent-glow);
}

/* ==========================================================================
   Team
   ========================================================================== */

.team { padding: 110px 32px; border-top: 1px solid var(--border-subtle); }
.team-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.team-photo-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  line-height: 0;
}
.team-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.team-photo-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -80px 80px -40px rgba(5,7,13,0.85);
  opacity: 0;
  transition: opacity .4s;
}
.team-photo-wrap:hover .team-photo-glow { opacity: 1; }

.team-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-top: 18px;
}

.team-facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}
.team-facts li { display: flex; align-items: center; gap: 10px; }
.team-facts .check { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* ==========================================================================
   Product
   ========================================================================== */

.product { padding: 110px 32px; border-top: 1px solid var(--border-subtle); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-2));
  position: relative;
  overflow: hidden;
}
.product-icon {
  width: 52px; height: 52px;
  color: var(--accent-bright);
  margin-bottom: 22px;
}
.product-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.product-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.product-glow {
  position: absolute;
  top: -60%; right: -30%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--accent-glow-soft), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
}
.product-card:hover .product-glow { opacity: 1; }

/* ==========================================================================
   Timeline
   ========================================================================== */

.timeline-section { padding: 110px 32px; border-top: 1px solid var(--border-subtle); }
.timeline { position: relative; padding-left: 32px; }
.timeline-line {
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--border-strong);
  overflow: hidden;
}
.timeline-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--accent), var(--accent-bright));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease-out);
}
.timeline.in-view .timeline-line-fill { transform: scaleY(1); }

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2px solid var(--accent-bright);
  box-shadow: 0 0 12px var(--accent-glow);
}
.timeline-year {
  font-size: 13px;
  color: var(--accent-bright);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.timeline-text {
  font-size: 16px;
  color: var(--text-primary);
  max-width: 640px;
  line-height: 1.55;
}

/* ==========================================================================
   Locations / Threat map
   ========================================================================== */

.locations { padding: 110px 32px; border-top: 1px solid var(--border-subtle); }

.threat-map-wrap {
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 40%, #0a1424 0%, #060911 70%);
  padding: 12px;
  margin-bottom: 40px;
  overflow: hidden;
}
.threat-map { width: 100%; height: auto; display: block; }

.threat-map-legend {
  position: absolute;
  bottom: 18px;
  left: 26px;
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--text-tertiary);
}
.threat-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 6px var(--accent-glow);
}
.legend-dot-alert { background: var(--danger); box-shadow: 0 0 6px rgba(240,85,74,0.6); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.location-card {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
}
.location-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.location-card h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.location-card p { margin-top: 8px; font-size: 14px; color: var(--text-secondary); }

/* ==========================================================================
   Press
   ========================================================================== */

.press { padding: 110px 32px; border-top: 1px solid var(--border-subtle); }
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.press-card {
  margin: 0;
  padding: 30px 26px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
}
.press-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
}
.press-card cite {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  font-style: normal;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Careers
   ========================================================================== */

.careers { padding: 110px 32px; border-top: 1px solid var(--border-subtle); }
.job-list {
  border-top: 1px solid var(--border-subtle);
}
.job-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background .2s, padding-left .2s;
}
.job-row:hover {
  background: var(--accent-glow-soft);
  padding-left: 18px;
}
.job-title { font-size: 16px; font-weight: 600; color: var(--text-primary); flex: 1; }
.job-meta { font-size: 12.5px; color: var(--text-tertiary); }
.job-arrow {
  color: var(--accent-bright);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .2s;
}
.job-row:hover .job-arrow { opacity: 1; transform: translateX(0); }

.careers-cta { margin-top: 40px; text-align: center; }

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-section {
  padding: 130px 32px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow-soft), transparent 70%);
  pointer-events: none;
}
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-top: 4px;
}
.cta-sub {
  margin-top: 20px;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
}
.cta-inner .hero-actions { margin-top: 34px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 70px 32px 30px;
  border-top: 1px solid var(--border-subtle);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { margin-top: 14px; color: var(--text-secondary); font-size: 14px; max-width: 240px; }
.footer-certs { display: flex; gap: 10px; margin-top: 20px; }
.footer-certs span {
  font-size: 10.5px;
  padding: 6px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 7px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Threat blip (JS-injected)
   ========================================================================== */

.threat-blip {
  animation: blip-pop 1.6s ease-out forwards;
}
@keyframes blip-pop {
  0% { r: 0; opacity: 0; }
  15% { opacity: 1; }
  100% { r: 14; opacity: 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .stats-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .job-row { flex-wrap: wrap; }
  .hero { padding-top: 120px; padding-bottom: 120px; }
  .hero-badges { flex-direction: column; gap: 10px; }
  .hero-scroll-cue { display: none; }
  .trustbar-logos { gap: 16px 28px; }
}
