:root {
  --bg: #03050a;
  --surface: rgba(11, 16, 28, 0.78);
  --surface-solid: #0b101c;
  --surface-2: rgba(18, 26, 44, 0.82);
  --border: rgba(255, 255, 255, 0.085);
  --border-bright: rgba(0, 245, 160, 0.35);
  --text: #f6f9ff;
  --muted: #8b9bb4;
  --emerald: #00f5a0;
  --cyan: #00d9f5;
  --gold: #fbbf24;
  --bad: #ff4d6d;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, .brand-text, .big-stat, .score-num {
  font-family: 'Sora', 'Cairo', sans-serif;
}
.hud-live, .hud-chip, .hud-lbl, .hud-bar-head, .eyebrow, .bento-badge, .pillar-num {
  font-family: 'JetBrains Mono', 'Manrope', monospace;
}
.field input, .field select, .stack-pills span {
  font-family: 'Manrope', 'Cairo', sans-serif;
}
html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .field input,
html[dir="rtl"] .field select {
  font-family: 'Cairo', 'Manrope', sans-serif;
}

/* AMBIENT CINEMATIC LAYERS */
#bg-neural-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 80%);
}
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
}
.orb-emerald { width: 580px; height: 580px; top: -180px; left: -120px; background: radial-gradient(circle, var(--emerald), var(--cyan)); }
.orb-gold { width: 520px; height: 520px; bottom: -160px; right: -120px; background: radial-gradient(circle, var(--gold), #f59e0b); opacity: 0.11; }

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  font-family: 'Orbitron', sans-serif;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #03050a;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 0 24px rgba(0, 245, 160, 0.35);
}
.brand-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 17.5px;
  letter-spacing: 2.2px;
}
.brand-accent { color: var(--emerald); }
.brand-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: var(--gold);
  vertical-align: middle;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  color: #a6b6cf;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--emerald); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.2s;
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #03050a;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #03050a;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(0, 245, 160, 0.28);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(0, 245, 160, 0.42); }
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { border-color: rgba(255, 255, 255, 0.24); }
.btn-discord {
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: #fff;
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.34);
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* SPLIT CINEMATIC HERO */
.hero { padding: 64px 0 42px; }
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.28);
  color: var(--emerald);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}
.hero-title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -1.3px;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--cyan) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-family: 'Manrope', 'Cairo', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: #aebed6;
  max-width: 550px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-metrics {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.hm-item strong { display: block; font-size: 22px; font-weight: 800; color: var(--text); }
.hm-item span { font-size: 12px; color: var(--muted); }
.hm-sep { width: 1px; height: 32px; background: var(--border); }

/* HERO MOTION VIDEO STAGE */
.stage-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 12;
  background: #050811;
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72), 0 0 60px rgba(0, 245, 160, 0.12);
}
.stage-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  animation: slowKenBurns 18s ease-in-out infinite alternate;
}
@keyframes slowKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.09) translate(-1.5%, -1.5%); }
}
.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.stage-scanline {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(3,5,10,0.45) 0%, transparent 28%, transparent 62%, rgba(3,5,10,0.92) 100%);
  pointer-events: none;
}
.hud-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.hud-live, .hud-chip {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.7px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(3, 5, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.hud-live { display: inline-flex; align-items: center; gap: 6px; color: var(--emerald); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.hud-chip { color: var(--gold); border-color: rgba(251, 191, 36, 0.35); }

.hud-card {
  position: absolute;
  z-index: 4;
  padding: 11px 14px;
  border-radius: 13px;
  background: rgba(6, 10, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  animation: floatY 5s ease-in-out infinite;
}
.hud-card-1 { top: 64px; left: 16px; }
.hud-card-2 { top: 130px; right: 16px; animation-delay: 1.5s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hud-lbl { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.8px; color: var(--muted); }
.hud-val { font-size: 20px; font-weight: 800; }
.hud-val small { font-size: 11px; opacity: 0.9; }
.emerald { color: var(--emerald); }
.gold { color: var(--gold); }

.hud-bottom {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 4;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(6, 10, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}
.hud-bar-head { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 800; letter-spacing: 0.6px; margin-bottom: 7px; }
.hud-bar { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hud-bar-fill {
  height: 100%;
  width: 82%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan), var(--gold));
  animation: barGlow 3s ease-in-out infinite alternate;
}
@keyframes barGlow { 0% { width: 72%; } 100% { width: 92%; } }

/* SECTIONS & BENTO GRID */
.section { padding: 54px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--emerald);
  margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.7px; margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 26px;
  backdrop-filter: blur(14px);
  transition: border-color 0.25s, transform 0.22s;
}
.bento-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.bento-span-2 { grid-column: span 2; }
.bento-visual-card { min-height: 290px; display: flex; align-items: flex-end; padding: 0; }
.bento-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.6s ease;
}
.bento-visual-card:hover .bento-bg-img { transform: scale(1.05); }
.bento-visual-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 5, 10, 0.92) 65%);
}
.bento-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(0, 245, 160, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(0, 245, 160, 0.3);
  margin-bottom: 12px;
}
.gold-badge { background: rgba(251, 191, 36, 0.12); color: var(--gold); border-color: rgba(251, 191, 36, 0.32); }
.bento-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.bento-card p { font-size: 14px; color: var(--muted); }

.compare-rows { display: grid; gap: 9px; margin-top: 14px; }
.cmp-row {
  font-family: 'Manrope', 'Cairo', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.cmp-row.bad { background: rgba(255, 77, 109, 0.08); color: #fda4af; border: 1px solid rgba(255, 77, 109, 0.22); }
.cmp-row.good { background: rgba(0, 245, 160, 0.08); color: #a7f3d0; border: 1px solid rgba(0, 245, 160, 0.24); }

.big-stat { font-size: 52px; font-weight: 800; line-height: 1; margin: 8px 0 10px; }
.stack-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.stack-pills span {
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: #dbe7ff;
}

/* AUDIT CARD */
.audit-card {
  background: var(--surface);
  border: 1px solid rgba(0, 245, 160, 0.22);
  border-radius: 26px;
  padding: 40px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.audit-header { text-align: center; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 18px; }
.field-wide { grid-column: span 2; }
.field label { display: block; font-size: 13px; font-weight: 700; color: #cbd5e1; margin-bottom: 7px; }
.field input, .field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(3, 5, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.25px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder {
  color: #6f819e;
  font-family: 'Manrope', 'Cairo', sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.1px;
}
.field input:focus, .field select:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.14); }
.form-error { color: var(--bad); font-size: 13.5px; font-weight: 700; margin-top: 12px; text-align: center; }

.agent-progress { margin-top: 26px; display: grid; gap: 12px; }
.agent-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(3, 5, 10, 0.78);
  border: 1px solid var(--border);
  opacity: 0.45;
  transition: 0.3s;
}
.agent-step.active { opacity: 1; border-color: var(--cyan); box-shadow: 0 0 24px rgba(0, 217, 245, 0.16); }
.agent-step.done { opacity: 1; border-color: var(--emerald); }
.step-icon { font-size: 22px; }
.agent-step p { font-size: 13px; color: var(--muted); }

/* RESULT */
.audit-result { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.result-top { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; margin-bottom: 28px; }
.score-box { position: relative; width: 140px; height: 140px; margin: 0 auto; }
.score-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--emerald); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 0.9s ease; }
.score-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-num { font-size: 38px; font-weight: 800; line-height: 1; }
.score-max { font-size: 12px; color: var(--muted); font-weight: 700; }

.result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.badge-url, .badge-engine { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.badge-engine { color: var(--gold); }
.summary-text { font-size: 15px; color: #dbe3f2; margin-bottom: 14px; }
.subscores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.subscore { background: rgba(3, 5, 10, 0.8); border: 1px solid var(--border); border-radius: 12px; padding: 10px; text-align: center; }
.subscore span { display: block; font-size: 11.5px; color: var(--muted); }
.subscore strong { font-size: 18px; font-weight: 800; }

.result-block { margin-bottom: 24px; }
.result-block h3 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.pixels-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pixel-pill { font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--border); }
.pixel-ok { background: rgba(0, 245, 160, 0.1); color: var(--emerald); border-color: rgba(0, 245, 160, 0.34); }
.pixel-miss { background: rgba(255, 77, 109, 0.1); color: #fda4af; border-color: rgba(255, 77, 109, 0.32); }

.leaks-list { display: grid; gap: 12px; }
.leak-item { background: rgba(3, 5, 10, 0.82); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.leak-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.sev { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.sev-HIGH { background: rgba(255, 77, 109, 0.18); color: #fb7185; }
.sev-MEDIUM { background: rgba(251, 191, 36, 0.16); color: var(--gold); }
.leak-impact { font-size: 13px; color: #fda4af; margin-bottom: 6px; }
.leak-fix { font-size: 13.5px; color: #cbd5e1; }
.plan-list { list-style: none; display: grid; gap: 10px; }
.plan-list li { background: rgba(3, 5, 10, 0.82); border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; font-size: 14px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* 4-COLUMN PILLARS */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s, border-color 0.25s;
}
.pillar-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.pillar-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald), var(--cyan), transparent);
  opacity: 0.7;
}
.pillar-num { font-size: 13px; font-weight: 800; color: var(--emerald); margin-bottom: 12px; }
.pillar-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.pillar-card p { font-size: 13.5px; color: var(--muted); }

/* CTA BANNER */
.cta-banner {
  text-align: center;
  padding: 54px 32px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.1), rgba(0, 217, 245, 0.08), rgba(251, 191, 36, 0.08));
  border: 1px solid rgba(0, 245, 160, 0.28);
  backdrop-filter: blur(16px);
}

/* FOOTER & MODAL */
.footer { border-top: 1px solid var(--border); padding: 26px 0; margin-top: 30px; font-size: 13.5px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.link-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 7px 14px; border-radius: 9px; cursor: pointer; font-size: 13px; }
.link-btn:hover { color: var(--text); border-color: var(--emerald); }

.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.76); backdrop-filter: blur(10px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-card { width: 100%; max-width: 740px; max-height: 86vh; overflow-y: auto; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.admin-login { display: flex; gap: 10px; }
.admin-login input { flex: 1; padding: 11px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); color: var(--text); }
.admin-settings { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.settings-grid input { padding: 9px 12px; border-radius: 9px; background: var(--surface-solid); border: 1px solid var(--border); color: var(--text); font-size: 12.5px; }
.admin-leads-list { display: grid; gap: 12px; margin-top: 14px; }
.crm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 6px; }
.crm-stat { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px; text-align: center; }
.crm-stat span { display: block; font-size: 11px; color: var(--muted); }
.crm-stat strong { font-size: 18px; font-weight: 800; }
.lead-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 14px; font-size: 13px; }
.lead-top-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lead-url { color: var(--text); font-weight: 800; text-decoration: none; margin-inline-end: 8px; }
.lead-score { color: var(--emerald); font-weight: 800; font-size: 12.5px; }
.lead-status-select { background: var(--surface-solid); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 5px 9px; font-size: 12px; font-weight: 700; }
.lead-meta { color: var(--muted); margin-top: 6px; font-size: 12.5px; }
.lead-closer { margin-top: 8px; padding: 10px; border-radius: 10px; background: var(--surface-2); font-size: 12.5px; color: #dbe3f2; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hidden { display: none !important; }

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2 { grid-column: span 1; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .result-top { grid-template-columns: 1fr; text-align: center; }
  .subscores { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .form-grid, .settings-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: span 1; }
  .pillars-grid { grid-template-columns: 1fr; }
  .audit-card { padding: 22px; }
  .hero-metrics { gap: 14px; padding: 14px; }
}
@media print {
  .navbar, .hero, #showcase, #pillars, #contact, .footer, .audit-form, .agent-progress, .result-actions, #bg-neural-canvas, .ambient-orb, .grid-overlay { display: none !important; }
  body, .audit-card, .leak-item, .plan-list li, .subscore { background: #fff !important; color: #111 !important; border-color: #ddd !important; box-shadow: none !important; }
}
