:root {
  --acid: #00e5ff;
  --acid-glow: rgba(0, 229, 255, 0.25);
  --black: #06090e;
  --black-alt: #0a0e17;
  --paper: #0e1422;
  --paper-card: #121a2d;
  --line: #1c2738;
  --line-light: #25334a;
  --gray: #94a3b8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text-main);
  font-family: "Space Grotesk", sans-serif;
}

a {
  color: inherit;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

/* Navigation */
.nav {
  height: 70px;
  padding: 0 clamp(18px, 4vw, 65px);
  display: flex;
  align-items: center;
  gap: 26px;
  background: rgba(6, 9, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  font-family: "JetBrains Mono", monospace;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--acid);
  text-shadow: 0 0 12px var(--acid-glow);
}

.logo-img {
  height: 35px !important;
  width: auto !important;
  max-width: 195px !important;
  display: block;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.28));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.55));
}

.footer .logo-img {
  height: 38px;
  max-width: 210px;
  margin-bottom: 14px;
}

.sidebar-brand .logo-img {
  height: 32px;
  max-width: 170px;
}

.mobile-brand .logo-img {
  height: 28px;
  max-width: 150px;
}

.auth-header .logo-img {
  height: 38px;
  max-width: 210px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  margin-left: auto;
}

.nav nav a {
  font: 600 11px "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #94a3b8;
  padding: 8px 6px;
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  transition: color 0.25s ease, background 0.25s ease, text-shadow 0.25s ease;
  white-space: nowrap;
}

.nav nav a:hover {
  color: #ffffff;
  background: rgba(0, 229, 255, 0.05);
}

.nav nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid), 0 0 20px rgba(0, 229, 255, 0.5);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  opacity: 0;
}

.nav nav a:hover::after {
  width: 50%;
  opacity: 0.6;
}

.nav nav a.active {
  color: var(--acid) !important;
  background: rgba(0, 229, 255, 0.08);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.65);
}

.nav nav a.active::after {
  width: 100%;
  opacity: 1;
}

.nav nav a.active::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
  margin-right: 6px;
  animation: navBlip 1.8s infinite ease-in-out;
}

@keyframes navBlip {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
    box-shadow: 0 0 12px var(--acid);
  }
}

.nav-cta,
.dark-button {
  background: var(--acid);
  color: #06090e;
  padding: 11px 17px;
  text-decoration: none;
  font: bold 11px "JetBrains Mono", monospace;
  white-space: nowrap;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  transition: all 0.2s ease;
}

.nav-cta:hover,
.dark-button:hover {
  background: #ffffff;
  color: #06090e;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.nav-cta b {
  font-size: 16px;
}

.menu {
  display: none;
  background: none;
  color: var(--acid);
  border: 1px solid var(--acid);
  font-size: 20px;
}

/* Hero Section (Dark Enterprise Intelligence Command Center) */
/* Hero Section (Dark Enterprise Intelligence Command Center with Full Circuit Matrix) */
.hero-poster {
  position: relative;
  background-color: #04070c;
  color: var(--text-main);
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-poster:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 38px;
  background: var(--black);
  clip-path: polygon(0 65%, 4% 25%, 8% 60%, 13% 12%, 17% 67%, 23% 33%, 27% 78%, 33% 16%, 38% 56%, 43% 24%, 49% 70%, 55% 14%, 61% 64%, 66% 29%, 72% 76%, 79% 18%, 84% 62%, 91% 27%, 96% 71%, 100% 38%, 100% 100%, 0 100%);
  z-index: 5;
}

/* Hero Ambient Grid & Subtle Cyber Matrix */
.hero-ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(circle at 60% 45%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.15) 65%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 60% 45%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.15) 65%, transparent 85%);
}

.hero-grain,
.section-paper:before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 8px 8px;
  z-index: 2;
}

.hero-layout {
  max-width: 1380px;
  margin: auto;
  padding: 85px 40px 130px;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-copy {
  max-width: 780px;
  position: relative;
  z-index: 3;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--acid);
  letter-spacing: 0.1em;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 6px 14px;
  border-radius: 4px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--acid);
  animation: radarBlip 1.5s ease-in-out infinite alternate;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font: normal clamp(52px, 7.5vw, 110px) / 0.88 Anton, sans-serif;
  letter-spacing: -0.025em;
  margin: 22px 0 20px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.85);
}

.title-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.cyan-accent-bar {
  display: inline-block;
  height: 0.52em;
  width: clamp(35px, 4vw, 75px);
  background: var(--acid);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.7);
  border-radius: 2px;
  vertical-align: middle;
}

.hero-title em {
  font-style: normal;
  font-size: 0.72em;
  color: var(--acid);
  text-shadow: 0 0 25px var(--acid-glow);
  letter-spacing: 0.05em;
  margin-left: 4px;
}

.hero-lede {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: #e2e8f0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tabs span {
  background: rgba(11, 18, 30, 0.85);
  backdrop-filter: blur(8px);
  color: #e2e8f0;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 30px;
  padding: 9px 18px;
  font: 700 11px "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.tabs span::before {
  content: "●";
  color: var(--acid);
  font-size: 8px;
}

.tabs span:hover {
  border-color: var(--acid);
  color: var(--acid);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

.hero-graphic {
  height: 460px;
  position: relative;
  background: #060a12;
  border: 1px solid var(--line-light);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 229, 255, 0.12);
  overflow: hidden;
  isolation: isolate;
  border-radius: 4px;
}

/* =========================================================
   Hero Holographic Animation Stage
   ========================================================= */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 580px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Ambient Radial Emitter Glow under the Platform */
.stage-emitter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.45) 0%, rgba(0, 229, 255, 0.12) 48%, transparent 72%);
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 1;
  animation: emitterPulse 4s ease-in-out infinite alternate;
}

@keyframes emitterPulse {
  0% { transform: translateX(-50%) scale(0.92); opacity: 0.7; filter: blur(24px); }
  100% { transform: translateX(-50%) scale(1.08); opacity: 1; filter: blur(34px); }
}

/* Concentric Cyber Orbit Rings */
.stage-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.stage-orbit-outer {
  width: 590px;
  height: 590px;
  border: 1px dashed rgba(0, 229, 255, 0.22);
  animation: rotateClockwise 40s linear infinite;
}

.stage-orbit-middle {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-top-color: var(--acid);
  border-bottom-color: var(--acid);
  animation: rotateCounter 28s linear infinite;
}

.stage-orbit-inner {
  width: 420px;
  height: 420px;
  border: 1px dotted rgba(0, 229, 255, 0.25);
  animation: rotateClockwise 20s linear infinite;
}

@keyframes rotateClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCounter {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Conic Radar Hologram Scanner Sweep */
.stage-scanner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  margin-top: -250px;
  margin-left: -250px;
  border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(0, 229, 255, 0.22) 0deg, rgba(0, 229, 255, 0.03) 40deg, transparent 55deg);
  animation: radarSweep 6s linear infinite;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
}

/* 3D Holographic Globe Wrap & Float */
.stage-globe-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroGlobeFloat 6s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.hero-image {
  width: 100%;
  max-width: 540px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 38px rgba(0, 229, 255, 0.48)) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.9)) contrast(1.1) brightness(1.06);
  transition: filter 0.4s ease, transform 0.4s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.stage-globe-wrap:hover .hero-image {
  filter: drop-shadow(0 0 58px rgba(0, 229, 255, 0.72)) drop-shadow(0 22px 48px rgba(0, 0, 0, 0.95)) contrast(1.14) brightness(1.1);
  transform: scale(1.02);
}

@keyframes heroGlobeFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.4deg);
  }
}

/* Floating Live Telemetry Signal Badges */
.telemetry-node {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 10, 18, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 7px 12px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 229, 255, 0.18);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.telemetry-node:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--acid);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 229, 255, 0.35);
  z-index: 10;
}

.telemetry-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.telemetry-label {
  font-size: 8.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.telemetry-val {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.text-cyan { color: #00f0ff; text-shadow: 0 0 10px rgba(0, 240, 255, 0.6); }
.text-amber { color: #f59e0b; text-shadow: 0 0 10px rgba(245, 158, 11, 0.6); }
.text-emerald { color: #10b981; text-shadow: 0 0 10px rgba(16, 185, 129, 0.6); }

.node-blip {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
  flex-shrink: 0;
  position: relative;
}

.node-blip::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--acid);
  animation: pulseRing 2s ease-out infinite;
  opacity: 0.8;
}

.blip-amber { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }
.blip-amber::after { border-color: #f59e0b; }

.blip-emerald { background: #10b981; box-shadow: 0 0 10px #10b981; }
.blip-emerald::after { border-color: #10b981; }

/* Badge Placement around the 4 3D Cubes */
.node-cloud {
  top: 35px;
  left: -25px;
  animation: badgeFloatA 5s ease-in-out infinite alternate;
}

.node-analytics {
  top: 40px;
  right: -25px;
  animation: badgeFloatB 5.5s ease-in-out infinite alternate;
}

.node-ai {
  bottom: 75px;
  left: -30px;
  animation: badgeFloatB 4.8s ease-in-out infinite alternate;
}

.node-security {
  bottom: 70px;
  right: -30px;
  animation: badgeFloatA 5.2s ease-in-out infinite alternate;
}

@keyframes badgeFloatA {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-7px); }
}

@keyframes badgeFloatB {
  0% { transform: translateY(-5px); }
  100% { transform: translateY(2px); }
}

/* Bottom Status Pill */
.stage-status-pill {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 7, 12, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 9.5px;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 229, 255, 0.15);
  z-index: 5;
  white-space: nowrap;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--acid);
  animation: radarBlip 1.5s ease-in-out infinite alternate;
}

.hero-layout:has(> .hero-copy:only-child) {
  grid-template-columns: 1fr;
  max-width: 980px;
  padding: 100px 40px 140px;
}

.hero-copy:only-child {
  max-width: 900px;
}

.hero-copy:only-child .hero-lede {
  max-width: 640px;
  font-size: 19px;
  line-height: 1.5;
}

/* Tactical HUD Corner Brackets */
.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--acid);
  z-index: 12;
  pointer-events: none;
  opacity: 0.85;
}
.hud-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hud-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.hud-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.hud-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* HUD Header Readout */
.hud-header {
  position: absolute;
  top: 14px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #64748b;
  z-index: 11;
}

.hud-live-tag {
  color: var(--acid);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.radar-blip {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--acid);
  animation: radarBlip 1.5s ease-in-out infinite alternate;
}

@keyframes radarBlip {
  from { opacity: 0.3; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.2); }
}

.hud-metrics {
  color: #64748b;
  letter-spacing: 0.04em;
}

/* Background Coordinate Grid & Crosshairs */
.graphic-grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: linear-gradient(rgba(0, 229, 255, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, 0.15) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 80%);
}

.radar-crosshair-x {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.25) 20%, rgba(0, 229, 255, 0.25) 80%, transparent);
  pointer-events: none;
}

.radar-crosshair-y {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.25) 20%, rgba(0, 229, 255, 0.25) 80%, transparent);
  pointer-events: none;
}

/* Concentric Radar Range Rings */
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.radar-ring-1 {
  width: 160px;
  height: 160px;
}

.radar-ring-2 {
  width: 280px;
  height: 280px;
  border-color: rgba(0, 229, 255, 0.28);
}

.radar-ring-3 {
  width: 400px;
  height: 400px;
  border-style: dashed;
  border-color: rgba(0, 229, 255, 0.18);
}

.ring-label {
  position: absolute;
  top: 4px;
  left: 52%;
  font-size: 8px;
  color: #475569;
}

.orbit-two {
  width: 440px;
  height: 210px;
  transform: translate(-50%, -50%) rotate(-25deg);
  border: 1px dashed rgba(0, 229, 255, 0.2);
}

/* Rotating Radar Scanner Beam */
.radar-scanner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  margin-top: -200px;
  margin-left: -200px;
  border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(0, 229, 255, 0.22) 0deg, rgba(0, 229, 255, 0.04) 40deg, transparent 55deg);
  animation: radarSweep 7s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Central Decision Intelligence Core */
.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--acid);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--acid);
  box-shadow: 0 0 0 8px rgba(0, 229, 255, 0.08), 0 0 35px rgba(0, 229, 255, 0.45);
  background: rgba(6, 10, 18, 0.96);
  font: 700 11px "JetBrains Mono", monospace;
  z-index: 6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 0 0 12px rgba(0, 229, 255, 0.12), 0 0 45px rgba(0, 229, 255, 0.6);
}

.core b {
  font: normal 34px Anton, sans-serif;
  line-height: 1;
  color: #ffffff;
}

.core small {
  font-size: 7px;
  color: var(--acid);
  letter-spacing: 0.12em;
  margin-top: 1px;
}

/* Active Signal Nodes & Floating Telemetry Cards */
.signal-node-wrap {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s ease;
  cursor: pointer;
}

.signal-node-wrap:hover {
  transform: scale(1.08);
  z-index: 15;
}

.node-pulse {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.25), 0 0 16px var(--acid);
  flex-shrink: 0;
  position: relative;
}

.node-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--acid);
  animation: pulseRing 2s ease-out infinite;
  opacity: 0.8;
}

@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.pulse-amber {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25), 0 0 16px #f59e0b;
}
.pulse-amber::after {
  border-color: #f59e0b;
}

.pulse-emerald {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25), 0 0 16px #10b981;
}
.pulse-emerald::after {
  border-color: #10b981;
}

.signal-card {
  background: rgba(8, 13, 22, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid #1e2a40;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 8px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signal-node-wrap:hover .signal-card {
  border-color: var(--acid);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.25);
}

.signal-title {
  display: block;
  color: #64748b;
  font-size: 7px;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
}

.signal-val {
  display: block;
  font-weight: 700;
  font-size: 10px;
}

.text-cyan { color: var(--acid); }
.text-amber { color: #f59e0b; }
.text-emerald { color: #10b981; }

.node-one { left: 8%; top: 22%; }
.node-two { right: 6%; top: 20%; }
.node-three { left: 8%; bottom: 22%; }
.node-four { right: 8%; bottom: 24%; }

/* HUD Bottom Telemetry Bar & Bars */
.hud-footer {
  position: absolute;
  bottom: 14px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
}

.label-bottom {
  color: #64748b;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.graphic-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}

.graphic-bars i {
  display: block;
  width: 4px;
  background: var(--acid);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
  height: 35%;
  border-radius: 1px 1px 0 0;
  animation: barPulse 2.5s ease-in-out infinite alternate;
}

.graphic-bars i:nth-child(2) { height: 65%; animation-delay: 0.2s; }
.graphic-bars i:nth-child(3) { height: 45%; animation-delay: 0.4s; }
.graphic-bars i:nth-child(4) { height: 85%; animation-delay: 0.1s; }
.graphic-bars i:nth-child(5) { height: 55%; animation-delay: 0.5s; }
.graphic-bars i:nth-child(6) { height: 100%; animation-delay: 0.3s; }
.graphic-bars i:nth-child(7) { height: 74%; animation-delay: 0.6s; }
.graphic-bars i:nth-child(8) { height: 60%; animation-delay: 0.15s; }
.graphic-bars i:nth-child(9) { height: 82%; animation-delay: 0.45s; }
.graphic-bars i:nth-child(10) { height: 40%; animation-delay: 0.35s; }

@keyframes barPulse {
  0% { transform: scaleY(0.85); opacity: 0.7; }
  100% { transform: scaleY(1.15); opacity: 1; }
}

.hero-stamp {
  position: absolute;
  bottom: 70px;
  left: 7%;
  font: 90px Anton, sans-serif;
  color: rgba(255, 255, 255, 0.03);
  z-index: 2;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  right: 7%;
  bottom: 70px;
  background: #080c14;
  color: var(--acid);
  border: 2px solid var(--acid);
  border-radius: 50%;
  height: 92px;
  width: 92px;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
  z-index: 2;
}

.hero-badge strong {
  font-size: 24px;
}

/* Marquee Bar */
.marquee {
  width: 100%;
  overflow: hidden;
  background: #080c14;
  color: var(--acid);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  white-space: nowrap;
}

.marquee div {
  font: normal 25px Anton, sans-serif;
  letter-spacing: 0.05em;
  animation: run 24s linear infinite;
  display: inline-block;
}

@keyframes run {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section-dark {
  background: var(--black);
}

.engines {
  padding: 110px max(20px, 5vw);
}

.section-intro {
  max-width: 430px;
  margin-bottom: 50px;
}

.acid-label {
  color: var(--acid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.section-intro h2 {
  font: normal clamp(48px, 7vw, 90px) / 0.88 Anton, sans-serif;
  margin: 15px 0;
  color: #ffffff;
}

.section-intro h2 span {
  color: var(--acid);
  text-shadow: 0 0 20px var(--acid-glow);
}

.section-intro > p:last-child {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pinboard & Decision Engines */
.pinboard {
  max-width: 1180px;
  margin: auto;
  padding: 60px 35px 85px;
  background: #080c14;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  background-image: linear-gradient(120deg, transparent 49%, #0e1422 50%, transparent 51%), linear-gradient(10deg, transparent 49%, #0c121e 50%, transparent 51%);
  background-size: 95px 95px;
}

.engine-card {
  background: #0e1424;
  color: var(--text-main);
  padding: 23px 22px 29px;
  min-height: 500px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.engine-card:hover {
  transform: rotate(0) translateY(-10px) !important;
  border-color: var(--acid);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 229, 255, 0.15);
}

.card-left { transform: rotate(-3.5deg); }
.card-center { transform: rotate(1deg); }
.card-right { transform: rotate(4deg); }

.tape {
  position: absolute;
  top: -14px;
  left: 20%;
  width: 110px;
  height: 31px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transform: rotate(-7deg);
}

.tape-double:after {
  content: "";
  position: absolute;
  left: 40px;
  top: -5px;
  width: 110px;
  height: 31px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.25);
  transform: rotate(6deg);
}

.card-code {
  font-size: 9px;
  color: #64748b;
  margin: 0 0 18px;
}

.engine-card h3 {
  font: normal 42px / 0.9 Anton, sans-serif;
  margin: 0 0 18px;
  color: #ffffff;
}

.terminal {
  background: #05070a;
  color: var(--acid);
  border: 1px solid var(--line);
  padding: 15px;
  font: 10px "JetBrains Mono", monospace;
  min-height: 155px;
}

.terminal span,
.terminal small {
  display: block;
  font-size: 9px;
  color: #94a3b8;
}

.terminal b {
  display: block;
  font-size: 23px;
  margin: 16px 0 8px;
  color: #ffffff;
}

.terminal small {
  color: #64748b;
}

.terminal em {
  color: var(--acid);
  font-style: normal;
  float: right;
}

.bars {
  height: 52px;
  display: flex;
  gap: 5px;
  align-items: end;
}

.bars i {
  display: block;
  background: var(--acid);
  width: 10%;
  height: 30%;
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
}

.bars i:nth-child(2) { height: 50%; }
.bars i:nth-child(3) { height: 35%; }
.bars i:nth-child(4) { height: 78%; }
.bars i:nth-child(5) { height: 55%; }
.bars i:nth-child(6) { height: 90%; }
.bars i:nth-child(7) { height: 70%; }

.chart svg {
  width: 100%;
  height: 52px;
}

.chart polyline {
  fill: none;
  stroke: var(--acid);
  stroke-width: 4;
}

.matrix-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 145px;
  margin: 20px auto;
}

.matrix-dots b {
  display: block;
  width: 25px;
  height: 25px;
  background: #121927;
  border: 1px solid #1e2a40;
}

.matrix-dots b:nth-child(2),
.matrix-dots b:nth-child(6),
.matrix-dots b:nth-child(8) {
  background: var(--acid);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.pill {
  display: inline-block;
  background: #141c2c;
  color: var(--acid);
  border: 1px solid var(--line-light);
  border-radius: 20px;
  padding: 7px 12px;
  font: 700 9px "JetBrains Mono", monospace;
  margin-top: 20px;
}

.engine-card > p:not(.card-code) {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.card-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 29px;
  color: var(--acid);
}

/* Section Paper -> Dark Enterprise Container */
.section-paper {
  position: relative;
  background: #06090e;
  color: var(--text-main);
  overflow: hidden;
}

.pricing {
  padding: 105px max(20px, 5vw) 100px;
}

.pricing > .section-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pricing .section-intro p:last-child {
  color: var(--text-muted);
}

.ticket-grid {
  max-width: 1160px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.ticket {
  background: #0d1422;
  color: var(--text-main);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ticket:hover {
  transform: translateY(-6px);
  border-color: var(--line-light);
}

.ticket:before,
.ticket:after {
  content: "";
  position: absolute;
  bottom: 132px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #06090e;
  border: 1px solid var(--line);
  z-index: 2;
}

.ticket:before { left: -13px; }
.ticket:after { right: -13px; }

.ticket-top {
  padding: 28px 27px 36px;
  flex: 1;
  border-bottom: 2px dashed var(--line);
  position: relative;
}

.ticket-top:after {
  content: "• • • • • • • • • • • • • • • • • • • •";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--line-light);
  letter-spacing: 3px;
  white-space: nowrap;
  font-size: 16px;
}

.ticket-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--acid);
}

.ticket h3 {
  font: normal 46px / 0.88 Anton, sans-serif;
  margin: 25px 0;
  color: #ffffff;
}

.ticket ul {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.ticket li {
  margin: 14px 0;
}

.ticket li:before {
  content: "✓";
  font-weight: 700;
  margin-right: 8px;
  color: var(--acid);
}

.ticket-bottom {
  padding: 22px 27px 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.ticket-bottom del {
  font: 11px "JetBrains Mono", monospace;
  color: #64748b;
}

.ticket-bottom strong {
  font: normal 29px Anton, sans-serif;
  color: #ffffff;
}

.ticket-bottom small {
  font: 11px "JetBrains Mono", monospace;
  color: #94a3b8;
}

.dark-button {
  margin-top: 14px;
}

.ticket-bottom .dark-button {
  display: inline-block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.stripe-badge-hint {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 8px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.featured {
  background: #10192b;
  border: 2px solid var(--acid);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.25);
  transform: translateY(-18px);
}

.featured .ticket-top {
  border-color: var(--acid);
}

.compliance {
  width: max-content;
  max-width: 100%;
  margin: 45px auto 0;
  background: #090e18;
  color: var(--acid);
  border: 1px solid var(--line);
  padding: 13px 18px;
  font-size: 10px;
  position: relative;
  z-index: 1;
}

/* FAQ */
.faq {
  padding: 110px max(20px, 5vw);
}

.faq-wrap {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #f8fafc;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary b {
  color: var(--acid);
  font: 14px "JetBrains Mono", monospace;
}

.faq-list details p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
  max-width: 650px;
}

/* Briefing Section */
.briefing {
  padding: 100px max(20px, 5vw);
}

.manifest {
  max-width: 1100px;
  margin: auto;
  background: #0d1422;
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

.manifest-head {
  background: #070a10;
  color: var(--acid);
  border-bottom: 1px solid var(--line);
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.barcode {
  letter-spacing: 3px;
}

.briefing-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding: 48px;
}

.briefing-grid > div > p:not(.acid-label) {
  color: var(--text-muted);
  line-height: 1.6;
}

.briefing-offices {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.briefing-office strong {
  display: block;
  font-size: 11px;
  color: var(--acid);
  margin-bottom: 5px;
  letter-spacing: 0.04em;
}

.briefing-office p {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  line-height: 1.55 !important;
  margin: 0;
}

.manifest-meta {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 24px;
  font-size: 10px;
  line-height: 1.9;
  color: #64748b;
}

.briefing form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.briefing label {
  font: 700 10px "JetBrains Mono", monospace;
  color: var(--text-muted);
}

.briefing label:nth-child(3),
.briefing label:nth-child(4),
.recaptcha-wrapper,
.submit-button,
.success {
  grid-column: 1 / -1;
}

.recaptcha-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 0 6px;
  overflow-x: auto;
  max-width: 100%;
}

.recaptcha-error {
  color: #ef4444;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 8px;
  display: none;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 6px 12px;
  border-radius: 3px;
}

.recaptcha-error.visible {
  display: block;
}

.briefing input {
  width: 100%;
  display: block;
  border: 0;
  border-bottom: 2px solid var(--line-light);
  padding: 12px 0;
  background: transparent;
  font: 15px "Space Grotesk", sans-serif;
  color: #ffffff;
  outline: 0;
}

.briefing select {
  width: 100%;
  display: block;
  border: 0;
  border-bottom: 2px solid var(--line-light);
  padding: 12px 10px;
  background-color: #000000 !important;
  color: #ffffff !important;
  font: 15px "Space Grotesk", sans-serif;
  outline: 0;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
}

.briefing select option {
  background-color: #000000 !important;
  color: #ffffff !important;
  padding: 12px 10px;
  font-size: 14px;
}

.briefing input:focus,
.briefing select:focus {
  border-color: var(--acid);
}

.submit-button {
  border: 0;
  background: var(--acid);
  padding: 18px;
  color: #06090e;
  font: 700 11px "JetBrains Mono", monospace;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
  transition: all 0.2s ease;
}

.submit-button:hover,
.dark-button:hover,
.nav-cta:hover {
  background: #ffffff;
  color: #06090e;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.35);
}

.success {
  color: #10b981;
  font: 700 11px "JetBrains Mono", monospace;
}

/* Contact Form Success Banner */
.form-success-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 6px;
  padding: 22px 24px;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.form-success-banner .success-icon {
  font-size: 24px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #10b981;
}

.form-success-banner .success-content strong {
  font-size: 13.5px;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
  color: #10b981;
}

.form-success-banner .success-content p {
  color: #94a3b8;
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

/* Footer */
.footer {
  background: #04060a;
  border-top: 1px solid var(--line);
  padding: 55px max(20px, 5vw) 26px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr minmax(265px, 1.4fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.footer-col-brand .logo {
  display: inline-block;
}

.footer .logo-img {
  height: 38px;
  max-width: 210px;
  margin-bottom: 8px;
  display: block;
}

.footer-note {
  color: var(--acid) !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

.footer-tagline {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 10px;
  max-width: 320px;
}

.footer h3 {
  color: var(--acid);
  font: 700 11px "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.footer p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  padding: 0;
  text-align: left;
}

.footer-links-list a:hover {
  color: var(--acid);
  transform: translateX(3px);
}

.footer-connect-desc {
  font-size: 11px !important;
  color: var(--text-dim) !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
}

.footer-social-links-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 14px;
  width: max-content !important;
  max-width: 100%;
}

.footer-social-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  padding: 0;
  border-radius: 6px;
  background: rgba(14, 20, 34, 0.7);
  border: 1px solid var(--line);
  color: #94a3b8 !important;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box !important;
}

.footer-social-pill:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--acid);
  color: var(--acid) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--acid-glow);
}

.footer-social-pill svg {
  flex-shrink: 0;
  fill: currentColor;
}

@media (max-width: 360px) {
  .footer-social-links-grid {
    gap: 4px;
  }
  .footer-social-pill {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }
  .footer-social-pill svg {
    width: 13px;
    height: 13px;
  }
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: #64748b;
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
  font-weight: 500;
}

.footer-legal-link:hover {
  color: var(--acid);
  text-decoration: underline;
}

.footer-sep {
  color: #334155;
  user-select: none;
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: radarBlink 1.6s infinite ease-in-out;
  display: inline-block;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Business Data Layer / Connectors */
.connectors {
  padding: 90px max(20px, 5vw);
  border-top: 8px solid var(--acid);
  background: var(--paper);
}

.connector-wrap {
  max-width: 1160px;
  margin: auto;
  padding: 44px;
  background: #11151f;
  border: 1px solid #1e2638;
  box-shadow: 12px 12px 0 #000;
}

.connector-wrap .section-intro {
  max-width: 780px;
  margin-bottom: 35px;
}

.connector-wrap .section-intro h2 {
  font: normal clamp(44px, 6vw, 72px) / 0.92 Anton, sans-serif;
  letter-spacing: -0.02em;
  margin: 16px 0;
  color: #ffffff;
}

.connector-wrap .section-intro h2 span {
  color: var(--acid);
  text-shadow: 0 0 25px var(--acid-glow);
}

.connector-wrap .section-intro p:last-child {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.5;
  max-width: 720px;
}

.connector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.connector-grid article {
  position: relative;
  padding: 24px;
  background: #05070a;
  border: 1px solid #1e2638;
  min-height: 110px;
  transition: all 0.2s ease;
}

.connector-grid article:hover {
  border-color: var(--acid);
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--acid);
}

.connector-grid strong,
.connector-grid span,
.connector-grid small {
  display: block;
}

.connector-grid strong {
  font: 22px Anton, sans-serif;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.connector-grid span {
  color: #94a3b8;
  font-size: 11px;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.connector-grid small {
  color: var(--acid);
  font: 600 10px "JetBrains Mono", monospace;
  margin-top: 10px;
  letter-spacing: 0.05em;
}

.connector-grid b {
  position: absolute;
  right: 20px;
  top: 20px;
  color: var(--acid);
  font-size: 22px;
  transition: transform 0.2s ease;
}

.connector-grid article:hover b {
  transform: translate(2px, -2px);
}

.cli-stream {
  position: relative;
  background: #05070a;
  border: 2px solid #30394c;
  margin-top: 28px;
  padding: 24px;
  box-shadow: 8px 8px 0 #000;
}

.cli-tape {
  position: absolute;
  top: -14px;
  left: 38%;
  width: 145px;
  height: 29px;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(3deg);
  pointer-events: none;
}

.cli-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  border-bottom: 1px solid #30394c;
  padding-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.cli-head .live {
  color: var(--acid);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.cli-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--acid);
}

.cli-stream pre {
  white-space: pre-wrap;
  color: var(--acid);
  font-size: 13px;
  line-height: 2;
  margin: 20px 0;
  font-family: "JetBrains Mono", monospace;
}

.cli-progress {
  height: 5px;
  background: #242a36;
  border-radius: 2px;
  overflow: hidden;
}

.cli-progress span {
  display: block;
  width: 82%;
  height: 100%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid-glow);
}

.cli-stream > small {
  color: #777;
  display: block;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.05em;
}

/* War Room / Monte Carlo Engine */
.war-room {
  padding: 105px max(20px, 5vw);
  border-top: 1px solid #1e2638;
}

.war-room-head {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.war-room-head h2 {
  font: normal clamp(44px, 6vw, 72px) / 0.92 Anton, sans-serif;
  letter-spacing: -0.02em;
  margin: 16px 0;
  color: #ffffff;
}

.war-room-head h2 span {
  color: var(--acid);
  text-shadow: 0 0 25px var(--acid-glow);
}

.war-room-head p:last-child {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.5;
}

.scenario-grid {
  max-width: 1160px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.scenario {
  position: relative;
  background: #11151f;
  border: 1px solid #30394c;
  padding: 24px;
  min-height: 350px;
  box-shadow: 8px 8px 0 #000;
  transition: 0.2s;
}

.scenario:hover {
  transform: translateY(-7px);
  border-color: var(--acid);
}

.scenario:nth-child(1) {
  transform: rotate(-1deg);
}

.scenario:nth-child(2) {
  transform: translateY(10px);
}

.scenario:nth-child(3) {
  transform: rotate(1deg);
}

.scenario:hover {
  transform: translateY(-7px) rotate(0);
}

.scenario > p:first-child {
  font-size: 9px;
  color: #888;
}

.scenario h3 {
  font: normal 30px Anton, sans-serif;
  margin: 22px 0 15px;
  color: #ffffff;
}

.scenario .status {
  display: inline-block;
  border: 1px solid var(--acid);
  color: var(--acid);
  padding: 7px 9px;
  font: 9px "JetBrains Mono", monospace;
}

.scenario-risk .status {
  border-color: #ffba00;
  color: #ffba00;
}

.scenario-fx .status {
  border-color: #4cd9ff;
  color: #4cd9ff;
}

.scenario h4 {
  font: 700 9px "JetBrains Mono", monospace;
  color: #888;
  margin: 22px 0 6px;
}

.scenario > p:not(:first-child) {
  font-size: 12px;
  color: #ccc;
  line-height: 1.45;
}

.scenario-mark {
  position: absolute;
  right: 20px;
  bottom: 14px;
  color: var(--acid);
  font-size: 25px;
}

.simulation-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1160px;
  width: 100%;
  margin: 70px auto 0;
  padding: 18px 22px;
  background: var(--acid);
  border: 0;
  color: #0a0d14;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
  box-shadow: 8px 8px 0 #000;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  transition: 0.2s;
}

.simulation-toggle:hover {
  background: #ffffff;
}

.simulation-toggle i {
  display: block;
  width: 100px;
  height: 8px;
  background: #0a0d14;
  position: relative;
}

.simulation-toggle i:after {
  content: "";
  position: absolute;
  right: 8px;
  top: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--acid);
  border: 2px solid #0a0d14;
  transition: right 0.2s ease;
}

.simulation-toggle.is-running i:after {
  right: 74px;
}

.simulation-toggle b {
  margin-left: auto;
  font-size: 10px;
}

/* Responsive */
@media (max-width: 960px) {
  .nav {
    height: 64px;
    padding: 0 20px;
  }
  .nav .logo-img {
    height: 30px !important;
    max-width: 160px !important;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(6, 9, 14, 0.98);
    backdrop-filter: blur(16px);
    padding: 16px 20px 24px;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    z-index: 50;
  }
  .nav nav.open {
    display: flex;
  }
  .nav nav a {
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid transparent;
  }
  .nav nav a:hover {
    background: rgba(0, 229, 255, 0.05);
  }
  .nav nav a.active {
    background: rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.3);
    border-left: 3px solid var(--acid);
  }
  .nav nav a.active::after {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
    font-size: 10px;
    padding: 8px 12px;
  }
  .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid var(--line-light);
    border-radius: 3px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
  }
  .menu:hover {
    border-color: var(--acid);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
  }
  .hero-layout {
    grid-template-columns: 1fr;
    padding: 65px 22px 120px;
    min-height: 0;
    gap: 40px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(44px, 12vw, 75px);
  }
  .cyan-accent-bar {
    width: 28px;
  }
  .hero-copy h1 {
    font-size: clamp(68px, 19vw, 125px);
  }
  .hero-stage {
    min-height: 380px;
    margin-top: 15px;
  }
  .stage-orbit-outer { width: 360px; height: 360px; }
  .stage-orbit-middle { width: 300px; height: 300px; }
  .stage-orbit-inner { width: 240px; height: 240px; }
  .stage-scanner { width: 300px; height: 300px; margin-top: -150px; margin-left: -150px; }
  .stage-emitter { width: 340px; height: 100px; }
  .hero-image {
    max-width: 320px;
    margin: 0 auto;
  }
  .telemetry-node {
    display: none;
  }
  .stage-status-pill {
    bottom: -10px;
    font-size: 8.5px;
  }
  .hero-stamp {
    left: 4%;
    bottom: 55px;
    font-size: 65px;
  }
  .hero-badge {
    right: 5%;
    bottom: 52px;
  }
  .pinboard,
  .ticket-grid,
  .faq-wrap,
  .briefing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .pinboard {
    padding: 45px 18px;
    gap: 38px;
  }
  .engine-card {
    min-height: 460px;
  }
  .card-left,
  .card-center,
  .card-right {
    transform: none;
  }
  .featured {
    transform: none;
  }
  .ticket {
    min-height: 0;
  }
  .ticket-bottom {
    padding-bottom: 30px;
  }
  .faq-wrap {
    gap: 35px;
  }
  .briefing-grid {
    padding: 30px 22px;
    gap: 45px;
  }
  .briefing form {
    grid-template-columns: 1fr;
  }
  .briefing label:nth-child(3),
  .briefing label:nth-child(4),
  .submit-button,
  .success {
    grid-column: auto;
  }
  .footer-grid {
    gap: 25px;
  }
  .footer-bottom {
    margin-top: 35px;
  }
  .connector-wrap {
    padding: 28px 18px;
  }
  .connector-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }
  .scenario:nth-child(1),
  .scenario:nth-child(2),
  .scenario:nth-child(3) {
    transform: none;
  }
  .cli-stream pre {
    font-size: 11px;
  }
  .simulation-toggle {
    flex-wrap: wrap;
  }
  .simulation-toggle i {
    order: 3;
    width: 100%;
  }
}

/* ==========================================================================
   PRODUCT PAGE STYLES
   ========================================================================== */
.product-page .product-hero {
  min-height: 720px;
}

.product-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 28px 0 22px;
  flex-wrap: wrap;
}

.hero-btn-large {
  font-size: 13px !important;
  padding: 15px 28px !important;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4) !important;
}

.secondary-btn {
  margin: 0 !important;
  background: #111a2d !important;
  color: #fff !important;
  border: 1px solid var(--line-light);
}

.secondary-btn:hover {
  border-color: var(--acid);
}

.product-spec-tabs {
  margin-top: 15px;
}

.product-grid-8 {
  grid-template-columns: repeat(4, 1fr) !important;
}

.feed-tag {
  color: var(--acid);
  font-size: 9px;
  margin-bottom: 6px;
}

.product-inline-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  padding: 20px 24px;
  background: #080c14;
  border: 1px solid var(--line);
  color: var(--acid);
  font-size: 11px;
  flex-wrap: wrap;
  gap: 15px;
}

.pipeline-flow-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
}

.pipeline-step-card {
  background: #080c14;
  border: 1px solid var(--line);
  padding: 22px;
  position: relative;
  transition: all 0.2s ease;
}

.pipeline-step-card:hover {
  border-color: var(--acid);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.1);
}

.step-num {
  font-size: 10px;
  color: var(--acid);
  display: block;
  margin-bottom: 8px;
}

.pipeline-step-card h4 {
  font: 700 13px "JetBrains Mono", monospace;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: 0.03em;
}

.pipeline-step-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}

.step-badge {
  font-size: 9px;
  display: inline-block;
  padding: 4px 8px;
  background: #111a2d;
  color: var(--acid);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.widget-c-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 25px;
  max-width: 1160px;
  margin: 0 auto;
}

.preview-panel {
  background: #080c14;
  border: 1px solid var(--line);
  padding: 24px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  margin-bottom: 18px;
}

.preview-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #141c2b;
}

.preview-item:last-child {
  border-bottom: 0;
}

.p-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.tag-critical {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid #f43f5e;
}

.tag-opp {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
}

.tag-warn {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid #f59e0b;
}

.preview-item strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
}

.preview-item p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

.panel-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-box {
  background: #05080e;
  border: 1px solid #182236;
  padding: 18px;
}

.metric-box small {
  display: block;
  font-size: 9px;
  color: #64748b;
  margin-bottom: 8px;
}

.metric-box strong {
  display: block;
  font: normal 28px Anton, sans-serif;
  color: #fff;
  margin-bottom: 6px;
}

.metric-box span {
  font-size: 10px;
}

.dashboard-launch-banner {
  max-width: 1160px;
  margin: 45px auto 0;
  background: linear-gradient(135deg, #091322 0%, #060b14 100%);
  border: 2px solid var(--acid);
  padding: 35px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.15);
  flex-wrap: wrap;
}

.dashboard-launch-banner h3 {
  font: normal clamp(26px, 4vw, 36px) Anton, sans-serif;
  margin: 8px 0;
  color: #fff;
  letter-spacing: 0.02em;
}

.dashboard-launch-banner p {
  color: var(--text-muted);
  margin: 0;
  font-size: 14px;
}

.launch-btn {
  font-size: 13px !important;
  padding: 18px 32px !important;
  white-space: nowrap;
}

/* ==========================================================================
   AUTH PAGE STYLES
   ========================================================================== */
.auth-body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 30%, #0d1a2d 0%, #05080f 60%, #030508 100%);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  font-family: "Space Grotesk", sans-serif;
}

.auth-container {
  width: 100%;
  max-width: 480px;
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.auth-security-badge {
  font-size: 9px;
  color: var(--acid);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 8px;
  border-radius: 2px;
}

.auth-card {
  background: #080d16;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 229, 255, 0.08);
  padding: 32px;
  position: relative;
}

.auth-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.auth-hero-copy h2 {
  font: normal 38px Anton, sans-serif;
  margin: 0 0 8px;
  color: #fff;
  line-height: 1;
}

.auth-hero-copy h2 span {
  color: var(--acid);
  text-shadow: 0 0 15px var(--acid-glow);
}

.auth-hero-copy p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 24px;
}

.demo-access-box {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--acid);
  padding: 16px;
  margin-bottom: 24px;
}

.demo-access-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 10px;
}

.one-click-demo-button {
  width: 100%;
  display: block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  background: var(--acid);
  color: #05080e;
  border: 0;
  padding: 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.3);
}

.one-click-demo-button:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.btn-google-continue {
  width: 100%;
  background: #090f1c;
  border: 1px solid #1c2b44;
  color: #fff;
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 0 24px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-google-continue:hover {
  background: #101c33;
  border-color: var(--acid);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
  transform: translateY(-1px);
}

.google-icon-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  font-size: 9px;
  color: #64748b;
}

.auth-divider:before,
.auth-divider:after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--line);
}

.auth-divider span {
  padding: 0 12px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.auth-tab-btn {
  background: #0d1422;
  border: 1px solid var(--line);
  color: #94a3b8;
  padding: 10px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: #142036;
  border-color: var(--acid);
  color: var(--acid);
  font-weight: 700;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  background: #05080e;
  border: 1px solid var(--line-light);
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  border-color: var(--acid);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

/* Cyber Password Validator Component */
.password-validator-box {
  margin-top: 8px;
  background: rgba(7, 13, 23, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 10.5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.password-validator-box.hidden {
  display: none !important;
}

.pwd-strength-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.pwd-strength-label {
  font-weight: 700;
  text-transform: uppercase;
}

.pwd-strength-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.pwd-strength-fill {
  height: 100%;
  width: 0%;
  background: #ef4444;
  border-radius: 2px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.pwd-strength-fill.weak {
  width: 25%;
  background: #ef4444;
}

.pwd-strength-fill.fair {
  width: 50%;
  background: #f59e0b;
}

.pwd-strength-fill.good {
  width: 75%;
  background: #06b6d4;
}

.pwd-strength-fill.strong {
  width: 100%;
  background: #10b981;
}

.pwd-rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  font-size: 9px;
  color: #64748b;
}

.pwd-rule-item {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.pwd-rule-item.valid {
  color: #10b981;
  font-weight: 600;
}

.pwd-rule-item .rule-icon {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #94a3b8;
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.forgot-link {
  color: var(--acid);
  text-decoration: none;
}

.auth-submit-btn {
  background: #111a2d;
  border: 1px solid var(--acid);
  color: var(--acid);
  padding: 14px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.auth-submit-btn:hover {
  background: var(--acid);
  color: #05080e;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.auth-loading {
  margin-top: 14px;
  background: #05080e;
  border: 1px solid var(--line);
  padding: 14px;
  text-align: center;
}

.auth-status {
  font-size: 10px;
  color: var(--acid);
  margin-bottom: 8px;
}

.auth-progress-bar {
  height: 4px;
  background: #101a2b;
  overflow: hidden;
}

.auth-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
  transition: width 0.2s ease;
}

.auth-feedback {
  margin-top: 14px;
  padding: 12px;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 2px;
  text-align: left;
}

.auth-feedback.error {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid #f43f5e;
  color: #fda4af;
}

.auth-feedback.warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid #f59e0b;
  color: #fcd34d;
}

.auth-feedback.info {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--acid);
  color: #a5f3fc;
}

.auth-sso {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-align: center;
}

.sso-label {
  font-size: 9px;
  color: #64748b;
  display: block;
  margin-bottom: 12px;
}

.sso-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sso-btn {
  background: #05080e;
  border: 1px solid var(--line);
  color: #94a3b8;
  padding: 9px;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sso-btn:hover {
  border-color: #cbd5e1;
  color: #fff;
}

.sso-btn i {
  font-style: normal;
  font-weight: 700;
  color: var(--acid);
}

.auth-footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
}

.auth-footer a {
  color: #94a3b8;
  text-decoration: none;
}

.auth-footer a:hover {
  color: var(--acid);
}

/* ==========================================================================
   EXECUTIVE DASHBOARD STYLES
   ========================================================================== */
.dashboard-body {
  margin: 0;
  background: #04070d;
  color: var(--text-main);
  font-family: "Space Grotesk", sans-serif;
  min-height: 100vh;
}

/* ==========================================================================
   FROZEN EXECUTIVE SIDEBAR ("SLIDE BAR") & DASHBOARD LAYOUT
   ========================================================================== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: #04070d;
  width: 100%;
  position: relative;
}

/* FROZEN SIDEBAR: Pinned on left, stays fixed/frozen during vertical scroll */
.dash-sidebar {
  width: 284px;
  min-width: 284px;
  max-width: 284px;
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #070c17 0%, #050811 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 16px 16px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 50;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  flex-shrink: 0;
}

.dash-sidebar::-webkit-scrollbar {
  width: 4px;
}
.dash-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.dash-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

.sidebar-top {
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.sidebar-brand .logo {
  display: inline-flex;
  align-items: center;
}

.sidebar-brand .logo-img {
  height: 32px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.4));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.sidebar-brand .logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.65));
}

.dash-mode-pill {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--acid);
  border: 1px solid rgba(0, 229, 255, 0.28);
  padding: 3px 8px;
  background: rgba(0, 229, 255, 0.07);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* Live Telemetry Mini-HUD Card */
.sidebar-telemetry-box {
  background: rgba(11, 18, 33, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s ease;
}

.sidebar-telemetry-box:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  color: #94a3b8;
}

.pulse-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--acid);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 9px;
}

.radar-blip {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--acid);
  animation: radarBlink 1.4s infinite ease-in-out;
}

@keyframes radarBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.telemetry-hz {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--acid);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.sidebar-telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 8px;
}

.telemetry-stat {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 6px 8px;
  border-radius: 5px;
}

.telemetry-stat.full-width {
  grid-column: span 2;
}

.stat-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.stat-label {
  display: block;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

.stat-value {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.stat-value.ingest-num {
  font-size: 12.5px;
}

.stat-pulse-dot {
  width: 5px;
  height: 5px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
  animation: radarBlink 1.8s infinite ease-in-out;
}

.sidebar-utc {
  font-size: 9px;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.06em;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

/* Sidebar Section Headers */
.sidebar-section {
  margin-bottom: 16px;
}

.sidebar-section-title {
  display: flex;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  padding: 0 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sidebar-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin-left: 8px;
}

/* Navigation Links - Ultra Clean & Seamless */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: 6px;
  color: #94a3b8;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.15s ease;
  position: relative;
  box-sizing: border-box;
}

/* Explicitly eliminate any pseudo-element inheritance */
.sidebar-link::before,
.sidebar-link::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

.sidebar-link .link-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: #64748b;
  width: 22px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.sidebar-link .link-text {
  flex: 1;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-link .link-tag {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #64748b;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

/* Inactive Hover */
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
}

.sidebar-link:hover .link-num {
  color: #38bdf8;
}

.sidebar-link:hover .link-text {
  color: #f8fafc;
}

.sidebar-link:hover .link-tag {
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Active Navigation Item: Crisp, Minimalist Terminal Highlight */
.sidebar-link.active {
  background: rgba(0, 229, 255, 0.07) !important;
  border: 1px solid rgba(0, 229, 255, 0.22) !important;
  border-left: 3px solid #00e5ff !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.sidebar-link.active .link-num {
  color: #00e5ff !important;
}

.sidebar-link.active .link-text {
  color: #ffffff !important;
  font-weight: 600;
}

.sidebar-link.active .link-tag,
.sidebar-link .link-tag.status-live {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
}

/* Quick Actions */
.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sidebar-actions .action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 33px;
  padding: 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.sidebar-actions .action-btn .btn-icon {
  font-size: 11px;
  line-height: 1;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
  color: #64748b;
}

.sidebar-actions .action-btn .btn-label {
  flex: 1;
  text-align: left;
}

.sidebar-actions .action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.sidebar-actions .action-btn:hover .btn-icon {
  color: #38bdf8;
}

.sidebar-actions .action-shock {
  background: rgba(245, 158, 11, 0.04);
  border-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.sidebar-actions .action-shock .btn-icon {
  color: #f59e0b;
}

.sidebar-actions .action-shock:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

/* Dynamic Quick Action States */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn-icon.spinning {
  display: inline-block;
  animation: spin 0.75s linear infinite;
}

@keyframes shockAlarmPulse {
  0% { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { border-color: #ef4444; box-shadow: 0 0 16px 3px rgba(239, 68, 68, 0.4); }
  100% { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.sidebar-actions .action-shock.active-sim {
  background: rgba(239, 68, 68, 0.16) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
  animation: shockAlarmPulse 2s infinite;
}

.sidebar-actions .action-shock.active-sim .btn-icon {
  color: #ef4444 !important;
}

.hud-metric-card.shock-alert {
  animation: shockAlarmPulse 1.5s infinite;
}

@keyframes cardRadarPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6); border-color: rgba(0, 229, 255, 0.9); }
  50% { box-shadow: 0 0 18px 4px rgba(0, 229, 255, 0.35); border-color: #00e5ff; }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); border-color: rgba(255, 255, 255, 0.08); }
}

.connector-card.reindexing {
  animation: cardRadarPulse 1.2s ease forwards;
}

.shock-active-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 16px;
  gap: 12px;
  font-size: 11px;
  animation: shockAlarmPulse 2s infinite;
}

.shock-active-banner .shock-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shock-active-banner .btn-reset-shock {
  background: #ef4444;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.shock-active-banner .btn-reset-shock:hover {
  background: #dc2626;
}

/* Governance / Security Badge */
.sidebar-security-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 6px;
  margin-top: 10px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.sidebar-security-badge:hover {
  border-color: rgba(16, 185, 129, 0.32);
}

.sec-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
  animation: radarBlink 2.2s infinite ease-in-out;
}

.sec-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sec-title {
  display: block;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

.sec-desc {
  font-size: 9px;
  font-weight: 500;
  color: #cbd5e1;
}

/* Bottom User Profile & Footer Buttons */
.sidebar-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 12px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 8px 10px;
  transition: all 0.2s ease;
}

.user-pill:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.85);
}

.user-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.user-avatar {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #00e5ff 0%, #3b82f6 100%);
  color: #04070d;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 229, 255, 0.22);
  overflow: hidden;
}

.user-online-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 7px;
  height: 7px;
  background: #10b981;
  border: 1.5px solid #050811;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.user-meta {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.user-meta strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.user-meta small {
  display: block;
  font-size: 8.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.sidebar-foot-btns {
  display: flex;
  gap: 7px;
}

.sidebar-foot-btns .dash-nav-btn,
.sidebar-foot-btns .dash-logout-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  padding: 6px 8px;
  font-size: 9.5px;
  font-weight: 500;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dash-nav-btn {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.dash-nav-btn:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.3);
  color: #00e5ff;
}

.dash-logout-btn {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.dash-logout-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

/* MAIN SCROLLABLE CONTENT AREA */
.dash-content-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: #04070d;
  position: relative;
}

/* EXECUTIVE TOP COMMAND BAR (SEARCH, ALERTS, ACTIONS) */
.dash-exec-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(6, 10, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px max(24px, 3vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dash-search-container {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 540px;
  min-width: 240px;
}

.search-icon-prefix {
  position: absolute;
  left: 12px;
  color: var(--acid);
  font-size: 14px;
  pointer-events: none;
}

.dash-search-input {
  width: 100%;
  background: #04070e;
  border: 1px solid #162238;
  color: #fff;
  padding: 9px 85px 9px 34px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  outline: none;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.dash-search-input:focus {
  border-color: var(--acid);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
  background: #060c18;
}

.dash-search-input::placeholder {
  color: #64748b;
  font-size: 11px;
}

.search-kbd-badge {
  position: absolute;
  right: 32px;
  background: #0f1a2e;
  border: 1px solid #223552;
  color: #94a3b8;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 2px;
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  background: transparent;
  border: 0;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  display: none;
  line-height: 1;
}

.search-clear-btn.visible {
  display: block;
}

.search-clear-btn:hover {
  color: #fff;
}

.search-match-pill {
  font-size: 9px;
  color: var(--acid);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3px 8px;
  margin-left: 10px;
  white-space: nowrap;
  display: none;
}

.dash-header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.new-signal-btn {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid var(--acid);
  color: var(--acid);
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.new-signal-btn:hover {
  background: var(--acid);
  color: #04070d;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}

.notif-bell-btn {
  position: relative;
  background: #0c1424;
  border: 1px solid #1c2b44;
  color: #cbd5e1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notif-bell-btn:hover,
.notif-bell-btn.active {
  border-color: var(--acid);
  color: var(--acid);
  background: #111d33;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f43f5e;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.6);
  animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* NOTIFICATION CENTER POPOVER */
.notif-center-popover {
  position: absolute;
  top: 56px;
  right: max(20px, 3vw);
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #060b16;
  border: 1px solid var(--line-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 229, 255, 0.15);
  z-index: 70;
  display: flex;
  flex-direction: column;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #080f1d;
  font-size: 11px;
  color: #fff;
}

.notif-header-actions {
  display: flex;
  gap: 8px;
}

.notif-btn-link {
  background: transparent;
  border: 0;
  color: var(--acid);
  font-size: 9px;
  cursor: pointer;
  padding: 2px 4px;
}

.notif-btn-link:hover {
  text-decoration: underline;
}

.notif-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #1e293b transparent;
}

.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid #10192a;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: background 0.2s ease;
  position: relative;
}

.notif-item:hover {
  background: rgba(15, 26, 44, 0.5);
}

.notif-item.unread {
  background: rgba(0, 229, 255, 0.04);
}

.notif-item.unread::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 16px;
  width: 5px;
  height: 5px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--acid);
}

.notif-icon-badge {
  font-size: 14px;
  line-height: 1;
}

.notif-content {
  flex: 1;
}

.notif-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.notif-title-row strong {
  font-size: 11px;
  color: #fff;
}

.notif-time {
  font-size: 8px;
  color: #64748b;
}

.notif-content p {
  font-size: 10px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.notif-empty {
  padding: 30px 20px;
  text-align: center;
  color: #64748b;
  font-size: 11px;
}

/* CRUD SIGNAL MODAL */
.signal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.signal-modal-box {
  background: #080d18;
  border: 1px solid var(--acid);
  width: 100%;
  max-width: 520px;
  padding: 26px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 229, 255, 0.2);
}

.signal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #fff;
}

.signal-modal-header strong {
  color: var(--acid);
}

.signal-modal-close {
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
}

.signal-modal-close:hover {
  color: #fff;
}

.signal-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.signal-modal-form label {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.signal-modal-form input,
.signal-modal-form select,
.signal-modal-form textarea {
  width: 100%;
  background: #04070e;
  border: 1px solid #19253b;
  color: #fff;
  padding: 9px 12px;
  font-size: 12px;
  font-family: "Space Grotesk", sans-serif;
  box-sizing: border-box;
  outline: none;
  border-radius: 2px;
}

.signal-modal-form input:focus,
.signal-modal-form select:focus,
.signal-modal-form textarea:focus {
  border-color: var(--acid);
  background: #060c18;
}

.signal-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.btn-cancel {
  background: #0e1628;
  border: 1px solid var(--line-light);
  color: #94a3b8;
  padding: 9px 16px;
  font-size: 10px;
  cursor: pointer;
}

.btn-save-signal {
  background: var(--acid);
  border: 0;
  color: #04070d;
  padding: 9px 18px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.btn-save-signal:hover {
  box-shadow: 0 0 15px var(--acid);
}

/* CARD MICRO-CONTROLS FOR EDIT & DELETE */
.card-micro-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.micro-btn {
  background: #09101c;
  border: 1px solid #1c2b44;
  color: #94a3b8;
  font-size: 8px;
  padding: 3px 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "JetBrains Mono", monospace;
  border-radius: 2px;
}

.micro-btn:hover {
  border-color: var(--acid);
  color: #fff;
}

.micro-delete:hover {
  border-color: #f43f5e;
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.1);
}

.dash-mobile-topbar {
  display: none;
  background: #060912;
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 30;
}

.sidebar-toggle-btn {
  background: #0d1526;
  border: 1px solid var(--line-light);
  color: var(--acid);
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-backdrop {
  display: none;
}

.dashboard-main-container {
  padding: 35px max(20px, 3vw) 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.dash-widget-section {
  margin-bottom: 65px;
  padding-bottom: 45px;
  border-bottom: 1px solid var(--line);
}

.dash-widget-section:last-of-type {
  border-bottom: 0;
}

.widget-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.header-titles h2 {
  font: normal clamp(32px, 4vw, 54px) Anton, sans-serif;
  margin: 8px 0;
  color: #fff;
  letter-spacing: 0.02em;
}

.header-titles h2 span {
  color: var(--acid);
  text-shadow: 0 0 18px var(--acid-glow);
}

.header-titles p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  max-width: 650px;
  line-height: 1.5;
}

.widget-summary-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #080d17;
  border: 1px solid var(--line);
  padding: 12px 18px;
}

.stat-cell small {
  display: block;
  font-size: 8px;
  color: #64748b;
  margin-bottom: 3px;
}

.stat-cell strong {
  font-size: 13px;
}

.connect-new-btn {
  background: var(--acid);
  color: #04070d;
  border: 0;
  font-size: 10px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.connect-new-btn:hover {
  background: #fff;
}

/* WIDGET A - CONNECTORS GRID */
.connector-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.connector-card {
  background: #080d17;
  border: 1px solid var(--line);
  padding: 18px;
  position: relative;
  transition: all 0.2s ease;
}

.connector-card:hover {
  border-color: var(--acid);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

.connector-card.paused {
  border-color: #334155;
  opacity: 0.7;
}

.card-head {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  margin-bottom: 10px;
}

.card-id {
  color: var(--acid);
}

.status-pill {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 2px;
}

.status-live {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
}

.status-paused {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid #64748b;
}

.connector-card h3 {
  font: normal 20px Anton, sans-serif;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}

.connector-sources {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.4;
  min-height: 32px;
}

.connector-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #04070d;
  border: 1px solid #151d2d;
  padding: 10px;
  margin-bottom: 14px;
}

.connector-metrics small {
  display: block;
  font-size: 7px;
  color: #64748b;
  margin-bottom: 3px;
}

.connector-metrics b {
  display: block;
  font-size: 10px;
  color: #fff;
}

.card-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ctrl-btn {
  background: #0e1626;
  border: 1px solid var(--line-light);
  color: #94a3b8;
  font-size: 9px;
  padding: 6px 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ctrl-btn:hover {
  border-color: var(--acid);
  color: #fff;
}

/* WIDGET B - BI WORKFLOW PIPELINE */
.workflow-legend {
  display: flex;
  gap: 16px;
  font-size: 10px;
  color: #94a3b8;
}

.workflow-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-active { background: var(--acid); box-shadow: 0 0 6px var(--acid); }
.dot-synced { background: #10b981; }
.dot-anomaly { background: #f59e0b; }

.pipeline-workflow-container {
  position: relative;
  margin-bottom: 24px;
}

.workflow-flowline {
  position: absolute;
  top: 30px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #182236;
  z-index: 1;
}

.flowline-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--acid), #10b981, #f59e0b, var(--acid));
  box-shadow: 0 0 8px var(--acid);
  animation: flowPulse 4s infinite linear;
}

@keyframes flowPulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.workflow-stages-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  position: relative;
  z-index: 2;
}

.pipeline-node {
  background: #080d17;
  border: 1px solid var(--line);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pipeline-node:hover,
.pipeline-node.selected {
  border-color: var(--acid);
  background: #0e172a;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  transform: translateY(-3px);
}

.node-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--acid);
  margin-bottom: 8px;
}

.node-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111a2c;
  border: 2px solid var(--acid);
  margin: 0 auto 12px;
  box-shadow: 0 0 8px var(--acid);
}

.pipeline-node.selected .node-indicator {
  background: var(--acid);
}

.pipeline-node h4 {
  font: 700 10px "JetBrains Mono", monospace;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  min-height: 26px;
}

.pipeline-node p {
  font-size: 8px;
  color: #64748b;
  margin: 0 0 10px;
  line-height: 1.3;
}

.node-telemetry {
  font-size: 8px;
  color: var(--acid);
  display: inline-block;
  background: rgba(0, 229, 255, 0.08);
  padding: 3px 6px;
  border-radius: 2px;
}

.pipeline-inspector-drawer {
  background: #060b13;
  border: 1px solid var(--acid);
  padding: 22px;
  margin-top: 18px;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

.inspector-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.inspector-head strong {
  color: #fff;
  font-size: 13px;
  margin-left: 10px;
}

.close-inspector-btn {
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
}

.inspector-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #03060a;
  border: 1px solid #141d2d;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.inspector-meta-row small {
  display: block;
  font-size: 8px;
  color: #64748b;
  margin-bottom: 4px;
}

.inspector-meta-row b {
  font-size: 12px;
  color: #fff;
}

.inspector-code-box pre {
  background: #020408;
  border: 1px solid #121a28;
  padding: 14px;
  margin: 0;
  overflow-x: auto;
}

.inspector-code-box code {
  color: var(--acid);
  font-size: 11px;
  line-height: 1.6;
}

/* WIDGET C - SIGNALS & EXECUTIVE HUD */
.composite-health-box {
  background: #080d17;
  border: 1px solid var(--line);
  padding: 12px 20px;
  text-align: right;
}

.composite-health-box small {
  display: block;
  font-size: 8px;
  color: #64748b;
  margin-bottom: 4px;
}

.health-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.health-display strong {
  font: normal 24px Anton, sans-serif;
}

.health-display span {
  font-size: 9px;
  color: #10b981;
}

.financial-indicators-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.hud-metric-card {
  background: #080d17;
  border: 1px solid var(--line);
  padding: 18px 14px;
}

.card-label {
  font-size: 8px;
  color: #64748b;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.card-value {
  font: normal 22px Anton, sans-serif;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.card-sub {
  font-size: 9px;
  color: #94a3b8;
}

.trends-and-costs-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-panel {
  background: #080d17;
  border: 1px solid var(--line);
  padding: 22px;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.panel-top strong {
  font-size: 12px;
  color: #fff;
  display: block;
}

.panel-top small {
  font-size: 8px;
}

.chart-time-selector {
  display: flex;
  gap: 6px;
}

.btn-time {
  background: #0f182c;
  border: 1px solid var(--line-light);
  color: #94a3b8;
  padding: 4px 10px;
  font-size: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-time.active,
.btn-time:hover {
  border-color: var(--acid);
  color: var(--acid);
  background: #14213d;
}

.revenue-chart-wrap {
  position: relative;
}

.revenue-svg {
  width: 100%;
  height: 200px;
}

.chart-legend {
  display: flex;
  gap: 18px;
  font-size: 9px;
  color: #94a3b8;
  margin-top: 14px;
  flex-wrap: wrap;
}

.chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-box {
  display: inline-block;
  width: 10px;
  height: 4px;
}

.cost-meters-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cost-meter-item .meter-info {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 6px;
}

.cost-meter-item .meter-info span {
  color: #cbd5e1;
}

.progress-track {
  height: 6px;
  background: #03060a;
  border: 1px solid #162032;
  margin-bottom: 6px;
}

.progress-bar {
  height: 100%;
}

.bar-amber { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.bar-emerald { background: #10b981; box-shadow: 0 0 8px #10b981; }
.bar-cyan { background: var(--acid); box-shadow: 0 0 8px var(--acid); }

.cost-meter-item small {
  font-size: 8px;
  color: #64748b;
}

/* ACTIVE SIGNALS GRID */
.signals-stream-panel {
  margin-bottom: 28px;
}

.signal-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #0e1628;
  border: 1px solid var(--line-light);
  color: #94a3b8;
  padding: 5px 10px;
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--acid);
  color: #fff;
  background: #142036;
}

.signals-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.signal-item-card {
  background: #040810;
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.signal-item-card:hover {
  border-color: var(--acid);
  transform: translateY(-2px);
}

.sig-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sig-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
}

.badge-critical {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid #f43f5e;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid #f59e0b;
}

.badge-opportunity {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
}

.badge-financial {
  background: rgba(0, 229, 255, 0.15);
  color: var(--acid);
  border: 1px solid var(--acid);
}

.sig-impact {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.signal-item-card h4 {
  font: 700 12px "JetBrains Mono", monospace;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.signal-item-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}

.sig-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #141c2c;
  padding-top: 12px;
  font-size: 9px;
}

.sig-footer span {
  color: #64748b;
}

.sig-action-btn {
  background: #0f1a2c;
  border: 1px solid var(--acid);
  color: var(--acid);
  padding: 5px 10px;
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sig-action-btn:hover {
  background: var(--acid);
  color: #04070d;
}

/* DECISION PRIORITIES TABLE */
.decision-queue-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.queue-row {
  display: grid;
  grid-template-columns: 1.1fr 2.5fr 1.6fr 1.8fr 1.2fr 1.5fr;
  align-items: center;
  gap: 14px;
  background: #040810;
  border: 1px solid var(--line);
  padding: 14px 18px;
  font-size: 11px;
  transition: all 0.2s ease;
}

.queue-header {
  background: #0b1220;
  font-size: 9px;
  color: #64748b;
  border-color: #1a253a;
  padding: 10px 18px;
}

.prio-rank {
  color: var(--acid);
  font-weight: 700;
}

.status-cell {
  font-size: 9px;
  padding: 4px 8px;
  text-align: center;
  border-radius: 2px;
}

.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid #f59e0b;
}

.status-executed {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
}

.prio-execute-btn {
  background: var(--acid);
  border: 0;
  color: #04070d;
  padding: 8px 12px;
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.prio-execute-btn:hover {
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.prio-execute-btn.executed {
  background: #10b981;
  color: #fff;
}

/* TOAST NOTIFICATION */
.dash-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #091322;
  border: 1px solid var(--acid);
  color: #fff;
  padding: 16px 24px;
  font-size: 11px;
  box-shadow: 0 10px 35px rgba(0, 229, 255, 0.25);
  z-index: 100;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.dash-toast.show {
  transform: translateY(0);
  opacity: 1;
}


.dash-footer {
  background: #03050a;
  border-top: 1px solid var(--line);
  padding: 24px max(20px, 3vw);
  font-size: 10px;
  color: #64748b;
}

.dash-footer-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dash-footer a {
  color: var(--acid);
  text-decoration: none;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
  .product-grid-8,
  .pipeline-flow-cards,
  .connector-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .workflow-stages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .workflow-flowline {
    display: none;
  }
  .financial-indicators-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trends-and-costs-grid,
  .widget-c-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .dash-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.9);
  }
  .dash-sidebar.open {
    transform: translateX(0) !important;
  }
  .dash-mobile-topbar {
    display: flex !important;
  }
  .sidebar-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 90;
  }
  .sidebar-backdrop.hidden {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .product-grid-8,
  .pipeline-flow-cards,
  .connector-cards-grid,
  .signals-grid-cards,
  .financial-indicators-grid {
    grid-template-columns: 1fr !important;
  }
  .workflow-stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .queue-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .queue-header {
    display: none;
  }
}

/* =========================================================================
   NMARK x1.0 - TECHNICAL PROFILE & NVIDIA SPECIFICATION STYLES
   ========================================================================= */
.nmark-body {
  background: #06090e;
  color: #f8fafc;
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
  position: relative;
}

.nmark-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  background-image: linear-gradient(to right, #1c2738 1px, transparent 1px),
                    linear-gradient(to bottom, #1c2738 1px, transparent 1px);
  background-size: 48px 48px;
}

.nmark-shell {
  position: relative;
  z-index: 10;
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px clamp(16px, 4vw, 40px) 70px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Masthead */
.nmark-masthead {
  border-bottom: 1px solid #1c2738;
  padding-bottom: 24px;
}

.nmark-masthead-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #64748b;
}

.nmark-live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse 1.8s infinite;
}

.nmark-masthead-sub {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(28, 39, 56, 0.5);
  padding-top: 10px;
  font-size: 10px;
  color: #64748b;
  gap: 8px;
}

/* Hero Spread */
.nmark-hero-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
}

.nmark-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0e1422;
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 6px 14px;
  font-size: 12px;
  color: #00e5ff;
  letter-spacing: 0.1em;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
  margin-bottom: 18px;
}

.nmark-title-anton {
  font: normal clamp(54px, 7vw, 100px) / 0.88 'Anton', sans-serif;
  text-transform: uppercase;
  color: #f8fafc;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.nmark-grad-text {
  background: linear-gradient(to right, #ffffff, #f8fafc, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nmark-cyan-glow {
  color: #00e5ff;
  text-shadow: 0 0 35px rgba(0, 229, 255, 0.35);
}

.nmark-hero-desc {
  font-size: clamp(16px, 1.25vw, 19px);
  color: #94a3b8;
  max-width: 650px;
  line-height: 1.65;
  margin: 0 0 26px;
}

.nmark-btn-cyan {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: #00e5ff;
  color: #06090e;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nmark-btn-cyan:hover {
  transform: scale(1.03);
  box-shadow: 0 0 42px rgba(0, 229, 255, 0.7);
  color: #06090e;
}

.nmark-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: #0e1422;
  border: 1px solid #1c2738;
  color: #f8fafc;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
}

.nmark-btn-dark:hover {
  border-color: #00e5ff;
  color: #00e5ff;
}

.nmark-chips-bar {
  border-top: 1px solid rgba(28, 39, 56, 0.8);
  padding-top: 18px;
}

.nmark-channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #0e1422;
  border: 1px solid #1c2738;
  color: #f8fafc;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  margin: 3px;
  transition: border-color 0.2s;
}

.nmark-channel-chip:hover {
  border-color: #25334a;
}

/* Tactical Radar Visualizer */
.nmark-hud-card {
  position: relative;
  background: #0a0e17;
  border: 1px solid #1c2738;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.hud-bracket {
  position: absolute;
  width: 12px;
  height: 12px;
}
.hud-b-tl { top: 0; left: 0; border-top: 2px solid #00e5ff; border-left: 2px solid #00e5ff; }
.hud-b-tr { top: 0; right: 0; border-top: 2px solid #00e5ff; border-right: 2px solid #00e5ff; }
.hud-b-bl { bottom: 0; left: 0; border-bottom: 2px solid #00e5ff; border-left: 2px solid #00e5ff; }
.hud-b-br { bottom: 0; right: 0; border-bottom: 2px solid #00e5ff; border-right: 2px solid #00e5ff; }

.nmark-radar-box {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  margin: 24px auto;
  border-radius: 50%;
  border: 1px solid #1c2738;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 9, 14, 0.85);
  overflow: hidden;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
}
.radar-r1 { inset: 30px; border: 1px dashed rgba(28, 39, 56, 0.8); }
.radar-r2 { inset: 75px; border: 1px solid rgba(0, 229, 255, 0.2); }
.radar-r3 { inset: 115px; border: 1px dotted rgba(0, 229, 255, 0.3); }

.radar-cross-h {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #1c2738;
}

.radar-cross-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #1c2738;
}

.radar-sweep-needle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 180deg at 50% 50%, rgba(0, 229, 255, 0.22) 0deg, transparent 60deg);
  animation: radarSpin 5s linear infinite;
}

.radar-core-hub {
  position: relative;
  z-index: 10;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #0e1422;
  border: 2px solid #00e5ff;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}

.radar-tag-node {
  position: absolute;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 20, 34, 0.92);
  padding: 4px 8px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Sections */
.nmark-section-block {
  padding-top: 36px;
  border-top: 2px solid #1c2738;
}

.nmark-h2 {
  font: normal clamp(34px, 5vw, 52px) / 0.95 'Anton', sans-serif;
  text-transform: uppercase;
  color: #f8fafc;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
}

.nmark-dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nmark-card-dossier {
  background: #0a0e17;
  border: 1px solid #1c2738;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s;
}

.nmark-card-dossier:hover {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.08);
}

.nmark-dossier-h3 {
  font: normal 24px / 1.1 'Anton', sans-serif;
  color: #f8fafc;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

/* Progression Flow */
.nmark-pipeline-matrix {
  margin-top: 24px;
  background: #0e1422;
  border: 1px solid #25334a;
  padding: 16px;
}

.nmark-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

/* NVIDIA Matrix Module */
.nmark-sdk-card {
  background: #0a0e17;
  border: 1px solid #1c2738;
  padding: 28px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.nmark-sdk-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.nmark-sdk-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  align-items: start;
}

/* Scenario Lab */
.nmark-sim-box {
  background: #0a0e17;
  border: 1px solid #1c2738;
  padding: 28px;
}

.nmark-scenario-selectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.scenario-pill-btn {
  text-align: left;
  padding: 14px;
  border: 1px solid #1c2738;
  background: #06090e;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  color: #f8fafc;
  font-family: inherit;
}

.scenario-pill-btn:hover {
  border-color: #25334a;
}

.scenario-pill-btn.active {
  background: #0e1422;
  border-color: #00e5ff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.22);
}

.scenario-pill-btn.active::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: #00e5ff;
}

.nmark-scenario-viewport {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  transition: opacity 0.3s ease;
}

.nmark-scenario-viewport.simulating {
  opacity: 0.35;
}

.nmark-bar-track {
  width: 100%;
  height: 8px;
  background: #06090e;
  border: 1px solid #1c2738;
  overflow: hidden;
  margin-top: 6px;
}

.nmark-bar-fill {
  height: 100%;
  transition: width 0.5s ease-out;
}

/* Tables */
.nmark-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.nmark-spec-table th {
  padding: 12px 10px;
  border-bottom: 1px solid #25334a;
  color: #64748b;
  text-align: left;
}

.nmark-spec-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #1c2738;
  color: #f8fafc;
}

/* Responsive */
@media (max-width: 1080px) {
  .nmark-hero-split,
  .nmark-scenario-viewport,
  .nmark-sdk-layout {
    grid-template-columns: 1fr !important;
  }
  .nmark-dossier-grid {
    grid-template-columns: 1fr !important;
  }
  .nmark-scenario-selectors {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .nmark-matrix-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 580px) {
  .nmark-scenario-selectors {
    grid-template-columns: 1fr !important;
  }
  .nmark-matrix-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   COOKIE & TELEMETRY CONSENT BANNER
   ========================================================================== */
.cookie-banner-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 10000;
  width: calc(100% - 48px);
  max-width: 440px;
  background: rgba(8, 14, 26, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 229, 255, 0.1);
  border-radius: 10px;
  padding: 18px 20px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner-container.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #00e5ff;
  text-transform: uppercase;
}

.cookie-pulse-dot {
  width: 6px;
  height: 6px;
  background: #00e5ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00e5ff;
  animation: radarBlink 1.6s infinite ease-in-out;
  display: inline-block;
}

.cookie-close-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  transition: color 0.15s ease;
}

.cookie-close-btn:hover {
  color: #f8fafc;
}

.cookie-banner-body {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 14px;
}

.cookie-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.cookie-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
}

.cookie-chip.active {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

/* Preferences Toggle Drawer */
.cookie-prefs-drawer {
  display: none;
  background: rgba(4, 8, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 14px;
  flex-direction: column;
  gap: 8px;
}

.cookie-prefs-drawer.open {
  display: flex;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cookie-pref-info {
  display: flex;
  flex-direction: column;
}

.cookie-pref-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  color: #f1f5f9;
}

.cookie-pref-desc {
  font-size: 9px;
  color: #64748b;
  margin-top: 1px;
}

.cookie-pref-toggle {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn-primary {
  flex: 1;
  background: #00e5ff;
  border: 1px solid #00e5ff;
  color: #04070e;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  text-align: center;
}

.cookie-btn-primary:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  text-align: center;
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.cookie-btn-link {
  background: transparent;
  border: none;
  color: #64748b;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  padding: 4px 6px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.cookie-btn-link:hover {
  color: #00e5ff;
}

/* Footer Trigger Button */
.cookie-pref-trigger {
  background: transparent;
  border: none;
  color: #64748b;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.cookie-pref-trigger:hover {
  color: #00e5ff;
}

@media (max-width: 600px) {
  .cookie-banner-container {
    bottom: 14px;
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    padding: 14px 16px;
  }
}

/* Suppress Cookie Banner & Preferences inside Executive Dashboard */
.dashboard-body .cookie-banner-container,
.dashboard-body #cookieBannerContainer,
.dashboard-layout ~ #cookieBannerContainer,
.dashboard-layout .cookie-banner-container {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* ==========================================================================
   LEGAL / PRIVACY POLICY & TERMS OF SERVICE STYLES
   ========================================================================== */

.legal-main {
  background: var(--black);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.legal-hero {
  position: relative;
  padding: 80px max(20px, 5vw) 48px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.08), transparent 70%),
              linear-gradient(180deg, #070b12 0%, #04060a 100%);
  border-bottom: 1px solid var(--line);
}

.legal-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.legal-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.legal-breadcrumbs a:hover {
  color: var(--acid);
}

.legal-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  color: #ffffff;
  text-transform: uppercase;
}

.legal-title span {
  color: var(--acid);
}

.legal-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.legal-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 14px 20px;
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid var(--line);
  border-left: 3px solid var(--acid);
  border-radius: 4px;
  font-size: 11px;
}

.legal-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-meta-label {
  color: var(--text-dim);
  font-weight: 600;
}

.legal-meta-val {
  color: var(--acid);
}

.legal-layout-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px max(20px, 5vw) 80px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* Sticky Table of Contents */
.legal-toc-wrapper {
  position: sticky;
  top: 90px;
}

.legal-toc-card {
  background: rgba(10, 14, 23, 0.95);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 20px;
  backdrop-filter: blur(10px);
}

.legal-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--acid);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}

.legal-toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  line-height: 1.4;
  transition: all 0.15s ease;
  border-left: 2px solid transparent;
}

.legal-toc-list a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--acid);
  transform: translateX(2px);
}

.legal-toc-list a.active {
  color: var(--acid);
  background: rgba(0, 229, 255, 0.08);
  border-left-color: var(--acid);
  font-weight: 600;
}

.legal-toc-num {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 700;
}

/* Legal Content Body */
.legal-content {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.75;
}

.legal-section {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}

.legal-section-tag {
  display: inline-block;
  color: var(--acid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.legal-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 32px 0 14px;
}

.legal-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 24px 0 10px;
  font-family: "JetBrains Mono", monospace;
}

.legal-section p {
  margin: 0 0 16px;
}

.legal-section ul {
  padding-left: 20px;
  margin: 0 0 20px;
}

.legal-section li {
  margin-bottom: 10px;
}

.legal-section a {
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}

.legal-section a:hover {
  opacity: 0.8;
}

.legal-section a.nav-cta,
.terms-highlight-box a.nav-cta,
.terms-highlight-box .nav-cta {
  color: #06090e !important;
  background: var(--acid) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  opacity: 1 !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3) !important;
}

.legal-section a.nav-cta:hover,
.terms-highlight-box a.nav-cta:hover,
.terms-highlight-box .nav-cta:hover {
  background: #ffffff !important;
  color: #06090e !important;
  opacity: 1 !important;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4) !important;
}

/* Definition Cards Grid */
.def-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.def-card {
  background: rgba(14, 20, 34, 0.6);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.def-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-1px);
}

.def-card-term {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.def-card-title {
  color: var(--acid);
  font-size: 13px;
  font-weight: 700;
}

.def-card-badge {
  font-size: 9px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 3px;
}

.def-card-body {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* SMS / Text Notice Alert Card */
.sms-notice-card {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(14, 20, 34, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-left: 4px solid var(--acid);
  border-radius: 6px;
  padding: 26px 28px;
  margin: 28px 0;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.08);
}

.sms-notice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sms-notice-badge {
  background: var(--acid);
  color: #04060a;
  font-weight: 800;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
}

.sms-notice-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.sms-notice-card p {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.7;
}

.sms-optout-banner {
  background: rgba(4, 6, 10, 0.85);
  border: 1px dashed rgba(0, 229, 255, 0.4);
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 18px;
  color: #94a3b8;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

/* Cookie breakdown list */
.cookie-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.cookie-type-card {
  background: rgba(14, 20, 34, 0.5);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}

.cookie-type-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cookie-type-meta {
  font-size: 11px;
  color: var(--acid);
  margin-bottom: 10px;
}

.cookie-type-desc {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Retention Grid */
.retention-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.retention-card {
  background: rgba(14, 20, 34, 0.5);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}

.retention-card h4 {
  margin-top: 0;
  color: #ffffff;
  font-size: 14px;
}

.retention-period {
  display: inline-block;
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  background: rgba(0, 229, 255, 0.12);
  color: var(--acid);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}

/* Service Provider Cards */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.vendor-card {
  background: rgba(14, 20, 34, 0.6);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vendor-card h4 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 16px;
}

.vendor-card p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.vendor-link {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  color: var(--acid) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Contact Grid */
.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.legal-contact-card {
  background: rgba(14, 20, 34, 0.7);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-contact-card .contact-label {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.legal-contact-card .contact-value {
  font-size: 13.5px;
  color: #ffffff;
  word-break: break-word;
}

.legal-contact-card a.contact-value {
  color: var(--acid);
  text-decoration: none;
}

.legal-contact-card a.contact-value:hover {
  text-decoration: underline;
}

/* Terms Specific Callout */
.terms-highlight-box {
  background: rgba(18, 26, 45, 0.85);
  border-left: 3px solid var(--acid);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 13.5px;
  color: #cbd5e1;
}

@media (max-width: 960px) {
  .legal-layout-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc-wrapper {
    position: static;
  }

  .legal-toc-list {
    max-height: 240px;
  }
}

