/* ═══ NEAITECH Design System ═══ */
:root, [data-theme="dark"] {
  --void: #04080f;
  --surface: #0a1220;
  --surface2: #101c30;
  --surface3: #162540;
  --text: #e8f2ff;
  --muted: #7a94b8;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.12);
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --magenta: #e400ff;
  --green: #00ff9a;
  --red: #ff3366;
  --violet: #8b5cf6;
  --border: rgba(0, 229, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --scanline: rgba(0, 0, 0, 0.06);
  --grid-line: rgba(0, 229, 255, 0.04);
  --header-bg: rgba(4, 8, 15, 0.85);
  --card-bg: rgba(10, 18, 32, 0.8);
  --font: "Inter", system-ui, sans-serif;
  --display: "Orbitron", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --radius: 12px;
  --max: 1140px;
}

[data-theme="light"] {
  --void: #f0f4fa;
  --surface: #ffffff;
  --surface2: #e8eef8;
  --surface3: #dce6f5;
  --text: #0a1628;
  --muted: #5a6f8a;
  --cyan: #0077cc;
  --cyan-soft: rgba(0, 119, 204, 0.1);
  --cyan-glow: rgba(0, 119, 204, 0.2);
  --magenta: #a800c8;
  --green: #00875a;
  --red: #d32f5a;
  --violet: #6d28d9;
  --border: rgba(0, 80, 160, 0.12);
  --shadow: 0 16px 40px rgba(0, 40, 100, 0.1);
  --scanline: transparent;
  --grid-line: rgba(0, 80, 160, 0.06);
  --header-bg: rgba(255, 255, 255, 0.9);
  --card-bg: rgba(255, 255, 255, 0.95);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

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

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* FX */
#grid-canvas, #particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#particles { opacity: 0.4; transition: opacity 0.4s; }
[data-theme="light"] #particles { opacity: 0.15; }

.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, var(--scanline) 2px, var(--scanline) 4px);
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.4) 100%);
}
[data-theme="light"] .vignette { display: none; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 300;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  width: 0%; transition: width 0.1s;
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ── HEADER ── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s;
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.logo img { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); }
.logo b { color: var(--cyan); }

.nav { display: flex; gap: 0.25rem; margin-left: auto; }
.nav a {
  font-size: 0.78rem; font-weight: 500; color: var(--muted);
  padding: 0.4rem 0.75rem; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: var(--cyan-soft); }
.nav a.active { color: var(--cyan); background: var(--cyan-soft); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.theme-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface2);
  cursor: pointer; font-size: 1rem;
  display: grid; place-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.theme-btn:hover { border-color: var(--cyan); box-shadow: 0 0 12px var(--cyan-glow); }

.infocon-pill {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--border); display: flex; align-items: center; gap: 0.35rem;
}
.infocon-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.infocon-pill.yellow .dot { background: #ffcc00; }
.infocon-pill.red .dot { background: var(--red); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

.menu-btn {
  display: none; background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); padding: 0.4rem 0.6rem; border-radius: 8px; cursor: pointer;
}

/* ── HERO SIGNAL ── */
.hero {
  position: relative; z-index: 2;
  min-height: 92vh; display: flex; align-items: center;
  padding: 7rem 0 4rem;
}
.hero-center { text-align: center; max-width: 720px; margin-inline: auto; }

.signal-ring-hero {
  width: 100px; height: 100px; margin: 0 auto 2rem;
  position: relative; cursor: pointer;
}
.signal-ring-hero .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--cyan);
  animation: ring-expand 2.5s ease-out infinite;
}
.signal-ring-hero .ring:nth-child(2) { animation-delay: 0.8s; }
.signal-ring-hero .ring:nth-child(3) { animation-delay: 1.6s; }
.signal-ring-hero .core {
  position: absolute; inset: 30%; border-radius: 50%;
  background: var(--cyan-soft); border: 2px solid var(--cyan);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.6rem; color: var(--cyan);
  box-shadow: 0 0 30px var(--cyan-glow);
  animation: core-pulse 2s ease-in-out infinite;
}
@keyframes ring-expand {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--cyan-glow); }
  50% { box-shadow: 0 0 50px var(--cyan-glow); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 1.1;
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--mono); font-size: 0.85rem;
  color: var(--green); margin-bottom: 1.25rem; min-height: 1.4em;
}
.hero-desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; max-width: 52ch; margin-inline: auto; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.4rem; border-radius: 10px;
  font-family: var(--mono); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--cyan); color: var(--void);
  box-shadow: 0 8px 24px var(--cyan-glow);
}
[data-theme="light"] .btn-primary { color: #fff; }
.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block; font-family: var(--display); font-size: 1.6rem; color: var(--cyan);
}
.hero-stat span { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── SECTION COMMON ── */
section { position: relative; z-index: 2; padding: 5rem 0; }
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin-inline: auto; }

.section-kicker {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 0.5rem;
}
.report-title.title-anim {
  font-family: var(--display); font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.section-desc { color: var(--muted); max-width: 55ch; font-size: 0.95rem; }

/* ── Title animations ── */
.title-anim { position: relative; display: inline-block; }
.title-anim .ta-text { position: relative; z-index: 1; display: inline-block; }

/* Hero — glitch cyber */
.title-anim[data-anim="hero"] .ta-glitch {
  font-style: normal; color: var(--cyan);
  text-shadow: 0 0 30px var(--cyan-glow);
  animation: ta-glitch 4s infinite;
}
@keyframes ta-glitch {
  0%, 92%, 100% { text-shadow: 0 0 30px var(--cyan-glow); transform: none; }
  93% { text-shadow: -2px 0 var(--red), 2px 0 var(--cyan); transform: skewX(-2deg); }
  95% { text-shadow: 2px 0 var(--magenta), -2px 0 var(--green); transform: skewX(2deg); }
  97% { text-shadow: 0 0 30px var(--cyan-glow); transform: none; }
}

/* Arsenal — scanline rossa + bracket terminal */
.title-anim[data-anim="arsenal"]::before {
  content: "[ PENTEST ]"; position: absolute; top: -1.1rem; left: 0;
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.2em;
  color: var(--red); opacity: 0; transition: opacity 0.4s;
}
.title-anim[data-anim="arsenal"].anim-on::before { opacity: 1; animation: ta-blink 2s infinite; }
.title-anim[data-anim="arsenal"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: scaleX(0); transform-origin: left;
}
.title-anim[data-anim="arsenal"].anim-on::after { animation: ta-scanline 2.5s ease-in-out infinite; }
.title-anim[data-anim="arsenal"].anim-on .ta-text { animation: ta-type-red 0.6s steps(20) forwards; }
@keyframes ta-scanline {
  0% { transform: scaleX(0); opacity: 0.3; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); transform-origin: right; opacity: 0.3; }
}
@keyframes ta-type-red {
  from { clip-path: inset(0 100% 0 0); color: var(--red); }
  to { clip-path: inset(0 0 0 0); color: var(--text); }
}
@keyframes ta-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Threat — radar pulse */
.title-anim[data-anim="threat"]::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 120%; height: 200%; margin: -100% 0 0 -60%;
  border-radius: 50%;
  border: 1px solid rgba(255,51,102,0.3);
  opacity: 0; pointer-events: none;
}
.title-anim[data-anim="threat"].anim-on::before { animation: ta-radar 2.5s ease-out infinite; }
.title-anim[data-anim="threat"].anim-on .ta-text {
  animation: ta-pulse-red 2s ease-in-out infinite;
  color: var(--text);
}
@keyframes ta-radar {
  0% { transform: scale(0.3); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0; }
}
@keyframes ta-pulse-red {
  0%, 100% { text-shadow: 0 0 8px rgba(255,51,102,0.3); }
  50% { text-shadow: 0 0 20px rgba(255,51,102,0.6); }
}

/* Report — decrypt dati */
.title-anim[data-anim="report"].anim-on .ta-text {
  animation: ta-decrypt 1.2s steps(24) forwards;
}
@keyframes ta-decrypt {
  0% { opacity: 0.3; letter-spacing: 0.3em; filter: blur(2px); }
  40% { opacity: 0.7; letter-spacing: 0.15em; filter: blur(1px); color: var(--cyan); }
  100% { opacity: 1; letter-spacing: 0.05em; filter: none; color: var(--text); }
}

/* Target — mirino */
.title-anim[data-anim="target"] { padding: 0 1.5rem; }
.title-anim[data-anim="target"]::before,
.title-anim[data-anim="target"]::after {
  content: "+"; position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.2rem; color: var(--red);
  opacity: 0; font-weight: 300;
}
.title-anim[data-anim="target"]::before { left: 0; }
.title-anim[data-anim="target"]::after { right: 0; }
.title-anim[data-anim="target"].anim-on::before,
.title-anim[data-anim="target"].anim-on::after {
  opacity: 1; animation: ta-crosshair 1.5s ease-in-out infinite;
}
.title-anim[data-anim="target"].anim-on .ta-text { animation: ta-lock 0.8s ease forwards; }
@keyframes ta-crosshair {
  0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.2); color: var(--red); }
}
@keyframes ta-lock {
  from { letter-spacing: 0.2em; opacity: 0; }
  to { letter-spacing: 0.05em; opacity: 1; }
}

/* Vuln — warning CVE */
.title-anim[data-anim="vuln"].anim-on .ta-text {
  animation: ta-warning 1.8s ease-in-out infinite;
}
.title-anim[data-anim="vuln"]::after {
  content: "CVE"; position: absolute; top: -0.9rem; right: -2rem;
  font-family: var(--mono); font-size: 0.5rem; padding: 0.1rem 0.35rem;
  border: 1px solid var(--red); color: var(--red); border-radius: 3px;
  opacity: 0;
}
.title-anim[data-anim="vuln"].anim-on::after { animation: ta-cve-flash 2s infinite; }
@keyframes ta-warning {
  0%, 100% { color: var(--text); }
  15%, 25% { color: var(--red); text-shadow: 0 0 12px rgba(255,51,102,0.5); }
}
@keyframes ta-cve-flash {
  0%, 70%, 100% { opacity: 0; }
  75%, 85% { opacity: 1; }
}

/* News — ticker underline */
.title-anim[data-anim="news"]::after {
  content: ""; position: absolute; bottom: -6px; left: 0; height: 3px; width: 100%;
  background: repeating-linear-gradient(90deg, var(--cyan) 0, var(--cyan) 8px, transparent 8px, transparent 16px);
  background-size: 32px 100%;
  opacity: 0;
}
.title-anim[data-anim="news"].anim-on::after {
  opacity: 1; animation: ta-ticker 1s linear infinite;
}
.title-anim[data-anim="news"].anim-on .ta-text {
  animation: ta-news-in 0.7s ease forwards;
}
@keyframes ta-ticker { from { background-position: 0 0; } to { background-position: 32px 0; } }
@keyframes ta-news-in {
  from { transform: translateX(-12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* Cert — timbro */
.title-anim[data-anim="cert"].anim-on .ta-text {
  animation: ta-stamp 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}
.title-anim[data-anim="cert"]::after {
  content: ""; position: absolute; inset: -8px -12px;
  border: 2px solid var(--green); border-radius: 4px;
  opacity: 0; transform: scale(1.3);
}
.title-anim[data-anim="cert"].anim-on::after {
  animation: ta-stamp-ring 0.5s 0.3s ease forwards;
}
@keyframes ta-stamp {
  0% { transform: scale(1.4); opacity: 0; color: var(--green); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; color: var(--text); }
}
@keyframes ta-stamp-ring {
  to { opacity: 0.35; transform: scale(1); }
}

/* Servizi — hex pulse */
.title-anim[data-anim="servizi"].anim-on .ta-text {
  background: linear-gradient(90deg, var(--text), var(--cyan), var(--text));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: ta-hex-flow 3s linear infinite;
}
@keyframes ta-hex-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Network — nodi collegati */
.title-anim[data-anim="network"]::before {
  content: "● ─── ● ─── ●"; position: absolute; bottom: -1rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 0.45rem; letter-spacing: 0.1em;
  color: var(--cyan); white-space: nowrap; opacity: 0;
}
.title-anim[data-anim="network"].anim-on::before { animation: ta-nodes 2s ease-in-out infinite; }
.title-anim[data-anim="network"].anim-on .ta-text { animation: ta-fade-up 0.6s ease forwards; }
@keyframes ta-nodes {
  0%, 100% { opacity: 0.3; letter-spacing: 0.05em; }
  50% { opacity: 1; letter-spacing: 0.2em; }
}
@keyframes ta-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Signal — onde radio */
.title-anim[data-anim="signal"]::before,
.title-anim[data-anim="signal"]::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 100%; height: 100%; margin: -50% 0 0 -50%;
  border: 1px solid var(--cyan); border-radius: 50%;
  opacity: 0; pointer-events: none;
}
.title-anim[data-anim="signal"].anim-on::before { animation: ta-signal 2s ease-out infinite; }
.title-anim[data-anim="signal"].anim-on::after { animation: ta-signal 2s 0.6s ease-out infinite; }
.title-anim[data-anim="signal"].anim-on .ta-text {
  animation: ta-signal-glow 2s ease-in-out infinite;
}
@keyframes ta-signal {
  0% { transform: scale(0.5); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}
@keyframes ta-signal-glow {
  0%, 100% { text-shadow: 0 0 10px var(--cyan-glow); }
  50% { text-shadow: 0 0 25px var(--cyan-glow), 0 0 40px rgba(0,229,255,0.2); }
}

/* ── PENETRATION TESTING ── */
.pentest-section {
  background: linear-gradient(180deg, rgba(255,51,102,0.04), transparent, rgba(255,51,102,0.03));
  border-top: 1px solid rgba(255,51,102,0.15);
}

.pentest-phases {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem;
  margin-bottom: 2rem;
}
.phase-tab {
  padding: 0.75rem 0.5rem; text-align: center;
  border: 1px solid var(--border); background: var(--card-bg);
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; border-radius: var(--radius);
  transition: all 0.25s;
}
.phase-tab:hover, .phase-tab.active {
  border-color: var(--red); color: var(--red);
  background: rgba(255,51,102,0.06);
  box-shadow: 0 0 16px rgba(255,51,102,0.15);
}
.phase-tab .num { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 0.2rem; color: var(--text); }

.tools-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem;
  perspective: 900px;
}
.tool-card {
  height: 108px; border: 1px solid var(--border);
  background: var(--card-bg); border-radius: var(--radius);
  transition: transform 0.5s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer; position: relative;
  transform-style: preserve-3d;
}
.tool-card:hover:not(.flipped) {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 8px 24px var(--shadow);
}
.tool-card.flipped { transform: rotateY(180deg); }
.tool-front, .tool-back {
  position: absolute; inset: 0; padding: 1.1rem;
  backface-visibility: hidden; border-radius: var(--radius);
}
.tool-back {
  background: var(--surface3);
  transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center;
}
.tool-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.tool-name {
  font-family: var(--display); font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.tool-cat { font-family: var(--mono); font-size: 0.6rem; color: var(--muted); }
.tool-back p { font-size: 0.72rem; color: var(--muted); line-height: 1.5; }
.tool-ceh { font-family: var(--mono); font-size: 0.6rem; color: var(--magenta); margin-top: 0.4rem; }

.pentest-flow {
  margin-top: 2rem; padding: 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card-bg);
}
.flow-steps {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; flex-wrap: wrap;
}
.flow-step {
  flex: 1; min-width: 100px; text-align: center;
  padding: 0.75rem; position: relative;
}
.flow-step::after {
  content: "→"; position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%); color: var(--cyan); font-size: 0.8rem;
}
.flow-step:last-child::after { display: none; }
.flow-step strong {
  display: block; font-family: var(--display); font-size: 0.65rem;
  color: var(--cyan); letter-spacing: 0.08em; margin-bottom: 0.2rem;
}
.flow-step span { font-size: 0.72rem; color: var(--muted); }

/* ── THREAT (clean) ── */
.threat-compact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.threat-map-box {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card-bg); overflow: hidden;
}
.map-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 1rem; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.68rem; color: var(--muted);
}
.map-header .live { color: var(--red); display: flex; align-items: center; gap: 0.35rem; }
.map-header .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); animation: pulse 1s infinite;
}
.map-canvas-wrap {
  position: relative;
  background: radial-gradient(ellipse at 50% 45%, rgba(0,60,100,0.15), rgba(4,8,15,0.95));
}
#attack-map { width: 100%; height: 320px; display: block; }

.threat-feed-box {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card-bg); display: flex; flex-direction: column;
}
.feed-header {
  padding: 0.6rem 1rem; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.68rem;
  display: flex; justify-content: space-between; color: var(--muted);
}
.attack-scroll { flex: 1; max-height: 300px; overflow-y: auto; padding: 0.25rem; }
.attack-row {
  display: flex; gap: 0.6rem; padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s; color: inherit;
}
.attack-row:hover { background: var(--cyan-soft); }
.attack-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-top: 6px; flex-shrink: 0; }
.attack-row.cve-row .attack-dot { background: var(--violet); }
.attack-row p { font-size: 0.8rem; margin: 0.15rem 0 0; line-height: 1.35; }
.attack-row meta, .attack-row .meta { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); }
.attack-row strong { font-family: var(--mono); font-size: 0.62rem; color: var(--cyan); }

/* ── ATTACK REPORT ── */
.attack-report {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.report-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem; align-items: flex-end;
}
.report-title {
  font-family: var(--display); font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.25rem;
}
.report-meta {
  font-family: var(--mono); font-size: 0.65rem; color: var(--muted);
  max-width: 340px; text-align: right; line-height: 1.5;
}
.report-stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.stat-card {
  padding: 0.85rem; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface2); text-align: center;
}
.stat-card.accent { border-color: rgba(0,255,154,0.3); background: rgba(0,255,154,0.06); }
.stat-num {
  display: block; font-family: var(--display); font-size: 1.35rem;
  color: var(--cyan); line-height: 1.1;
}
.stat-card.accent .stat-num { color: var(--green); }
.stat-lbl {
  font-family: var(--mono); font-size: 0.58rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.report-tabs {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem;
}
.report-tab {
  font-family: var(--mono); font-size: 0.68rem; padding: 0.4rem 0.85rem;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.report-tab.active, .report-tab:hover {
  border-color: var(--cyan); color: var(--cyan); background: var(--cyan-soft);
}
.report-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 1rem; align-items: start;
}
.report-toolbar {
  font-family: var(--mono); font-size: 0.65rem; color: var(--muted);
  margin-bottom: 0.5rem; padding: 0.35rem 0;
}
.report-table-wrap {
  overflow-x: auto; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface);
}
.report-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.78rem;
}
.report-table th {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); text-align: left;
  padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border);
  background: var(--surface2); white-space: nowrap;
}
.report-table td {
  padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.report-table tr:hover td { background: var(--cyan-soft); }
.report-table tr:last-child td { border-bottom: none; }
.col-idx { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); width: 2rem; }
.col-date { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); white-space: nowrap; }
.col-title a { color: var(--text); font-weight: 500; line-height: 1.35; }
.col-title a:hover { color: var(--cyan); }
.it-co {
  display: inline-block; margin-top: 0.25rem; margin-right: 0.35rem;
  font-family: var(--mono); font-size: 0.58rem; padding: 0.1rem 0.4rem;
  border-radius: 4px; background: rgba(0,255,154,0.12); color: var(--green);
}
.xref {
  display: inline-block; margin-top: 0.25rem;
  font-family: var(--mono); font-size: 0.58rem; color: var(--violet);
}
.col-country { font-size: 0.72rem; white-space: nowrap; }
.type-pill {
  font-family: var(--mono); font-size: 0.58rem; padding: 0.15rem 0.45rem;
  border-radius: 4px; background: rgba(255,51,102,0.1); color: var(--red);
  white-space: nowrap;
}
.col-source { font-size: 0.68rem; color: var(--muted); }
.src-tier {
  display: block; font-family: var(--mono); font-size: 0.55rem;
  letter-spacing: 0.04em; margin-bottom: 0.15rem;
}
.src-tier.t1 { color: var(--green); }
.src-tier.t2 { color: var(--cyan); }
.src-tier.t3 { color: var(--muted); }
.rel-badge {
  font-family: var(--mono); font-size: 0.6rem; padding: 0.2rem 0.45rem;
  border-radius: 4px; white-space: nowrap;
}
.rel-high { background: rgba(0,255,154,0.12); color: var(--green); }
.rel-med { background: rgba(0,229,255,0.1); color: var(--cyan); }
.rel-low { background: rgba(122,148,184,0.15); color: var(--muted); }
.report-empty {
  text-align: center; padding: 2rem !important;
  font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
}
.report-pagination {
  display: flex; gap: 0.35rem; justify-content: center;
  margin-top: 1rem; flex-wrap: wrap;
}
.page-btn {
  min-width: 32px; height: 32px; border: 1px solid var(--border);
  background: var(--surface2); color: var(--muted);
  border-radius: 6px; cursor: pointer; font-family: var(--mono); font-size: 0.72rem;
  transition: all 0.2s;
}
.page-btn:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.page-btn.active { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-soft); }
.page-btn:disabled { opacity: 0.35; cursor: default; }
.report-side { display: flex; flex-direction: column; gap: 0.85rem; }
.country-rank {
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); overflow: hidden;
}
.rank-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.62rem; color: var(--muted);
}
.rank-list { list-style: none; padding: 0.35rem 0; margin: 0; }
.rank-item {
  display: grid; grid-template-columns: 1.8rem 1fr auto;
  grid-template-rows: auto auto; gap: 0 0.5rem;
  padding: 0.45rem 0.85rem; cursor: pointer;
  transition: background 0.2s; align-items: center;
}
.rank-item:hover, .rank-item.active { background: var(--cyan-soft); }
.rank-pos { font-family: var(--mono); font-size: 0.62rem; color: var(--cyan); }
.rank-name { font-size: 0.75rem; }
.rank-count {
  font-family: var(--mono); font-size: 0.65rem; color: var(--muted);
  grid-row: 1; grid-column: 3;
}
.rank-bar {
  grid-column: 2 / 4; height: 3px; background: var(--surface3);
  border-radius: 2px; overflow: hidden;
}
.rank-bar span {
  display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--magenta));
  border-radius: 2px; transition: width 0.4s;
}
.report-sources {
  padding: 0.85rem; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface);
  font-size: 0.72rem; color: var(--muted); line-height: 1.55;
}
.report-sources strong { color: var(--text); font-size: 0.7rem; }
.report-disclaimer {
  margin-top: 0.65rem; font-family: var(--mono); font-size: 0.58rem;
  color: var(--muted); opacity: 0.85;
}

/* ── Globo threat ── */
.transcendence-map { position: relative; }
.map-header #map-live-count {
  font-family: var(--mono); font-size: 0.62rem; color: var(--cyan);
}
.map-tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  max-width: 220px; padding: 0.55rem 0.75rem;
  background: rgba(4,8,15,0.95); border: 1px solid var(--cyan);
  border-radius: 8px; font-size: 0.72rem; line-height: 1.4;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.map-tooltip strong { color: var(--cyan); font-family: var(--mono); font-size: 0.65rem; }
.map-tooltip em { color: var(--muted); font-size: 0.65rem; }

/* ── Intel blocks ── */
.intel-block {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.intel-empty {
  padding: 2rem; text-align: center;
  font-family: var(--mono); font-size: 0.75rem; color: var(--muted);
}
.companies-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.company-hit-card {
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}
.company-hit-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.ch-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.ch-scope {
  font-family: var(--mono); font-size: 0.58rem; padding: 0.15rem 0.45rem;
  border-radius: 4px; background: var(--cyan-soft); color: var(--cyan);
}
.ch-scope.locale { background: rgba(0,255,154,0.12); color: var(--green); }
.ch-type {
  font-family: var(--mono); font-size: 0.58rem;
  color: var(--red); text-transform: uppercase;
}
.company-hit-card h4 {
  font-size: 0.95rem; color: var(--text); margin-bottom: 0.5rem;
}
.ch-motive {
  font-size: 0.78rem; color: var(--muted); margin-bottom: 0.5rem; line-height: 1.45;
}
.ch-motive strong { color: var(--cyan); font-size: 0.72rem; }
.ch-desc { font-size: 0.8rem; line-height: 1.4; margin-bottom: 0.65rem; }
.ch-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 0.6rem; color: var(--muted);
}
.ch-foot a { color: var(--cyan); }
.ch-foot a:hover { text-decoration: underline; }

.os-vulns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.os-vuln-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.os-head {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem; border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.os-icon { font-size: 1.4rem; line-height: 1; }
.os-head h4 { font-size: 0.9rem; color: var(--cyan); margin-bottom: 0.2rem; }
.os-why { font-size: 0.72rem; color: var(--muted); line-height: 1.4; }
.os-count {
  margin-left: auto; font-family: var(--mono); font-size: 0.62rem;
  color: var(--violet); white-space: nowrap;
}
.os-cve-list { list-style: none; padding: 0.5rem 0; }
.os-cve-list li {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
}
.os-cve-list li:last-child { border-bottom: none; }
.os-cve-list a {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.72rem; color: var(--cyan);
}
.os-cve-list a:hover { color: var(--text); }
.os-cve-list .sev {
  font-size: 0.58rem; padding: 0.1rem 0.35rem; border-radius: 3px;
}
.os-cve-list .sev.critical { background: rgba(255,51,102,0.15); color: var(--red); }
.os-cve-list .sev.high { background: rgba(255,150,0,0.12); color: #ff9900; }
.os-cve-list .sev.medium { background: rgba(0,229,255,0.1); color: var(--cyan); }
.os-cve-list .sev.low { background: rgba(122,148,184,0.12); color: var(--muted); }
.os-cve-list p { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; line-height: 1.35; }

/* Warp entry */
.warp-entry {
  position: fixed; inset: 0; z-index: 99999;
  background: #020008;
  display: grid; place-items: center;
}
.warp-entry.fade-out { opacity: 0; transition: opacity 0.8s; pointer-events: none; }
#warp-entry-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.warp-entry-text {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.we-line {
  font-family: var(--display); font-size: clamp(0.9rem, 3vw, 1.2rem);
  letter-spacing: 0.2em; color: var(--cyan);
  animation: we-flicker 0.1s infinite alternate;
}
.we-sub {
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.1em; color: var(--muted);
  animation: none;
}
@keyframes we-flicker {
  from { opacity: 0.85; } to { opacity: 1; }
}

.feed-footer {
  padding: 0.5rem 1rem; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.62rem; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
}
.feed-footer button {
  background: none; border: 1px solid var(--border); color: var(--cyan);
  font-family: var(--mono); font-size: 0.62rem; padding: 0.25rem 0.5rem;
  border-radius: 6px; cursor: pointer;
}

/* Ticker slim */
.ticker-bar {
  position: relative; z-index: 2;
  background: var(--surface2); border-block: 1px solid var(--border);
  overflow: hidden; display: flex; align-items: center;
}
.ticker-bar .label {
  flex-shrink: 0; padding: 0.5rem 0.85rem;
  font-family: var(--mono); font-size: 0.62rem;
  color: var(--red); background: rgba(255,51,102,0.06);
  border-right: 1px solid var(--border);
}
.ticker-inner {
  display: flex; gap: 2.5rem; width: max-content;
  animation: ticker 50s linear infinite; padding: 0.5rem 0;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-item { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.ticker-item:hover { color: var(--cyan); }

/* ── NEWS ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; justify-content: center; }
.filter-btn {
  font-family: var(--mono); font-size: 0.68rem; padding: 0.35rem 0.75rem;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); border-radius: 999px; cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--cyan); color: var(--cyan); background: var(--cyan-soft);
}
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.news-card {
  padding: 1.1rem; border: 1px solid var(--border);
  background: var(--card-bg); border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s; display: block;
}
.news-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.news-top { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.news-badge {
  font-family: var(--mono); font-size: 0.58rem; padding: 0.15rem 0.45rem;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-attack { background: rgba(255,51,102,0.12); color: var(--red); }
.badge-ceh { background: rgba(228,0,255,0.1); color: var(--magenta); }
.badge-hacking { background: var(--cyan-soft); color: var(--cyan); }
.badge-security { background: rgba(0,255,154,0.1); color: var(--green); }
.badge-tech { background: rgba(139,92,246,0.1); color: var(--violet); }
.news-time { font-family: var(--mono); font-size: 0.6rem; color: var(--muted); }
.news-card h3 { font-size: 0.85rem; font-weight: 500; line-height: 1.4; margin-bottom: 0.35rem; }
.news-src { font-family: var(--mono); font-size: 0.58rem; color: var(--muted); }

/* ── CERTS ── */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cert {
  padding: 1.5rem; border: 1px solid var(--border);
  background: var(--card-bg); border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-tag {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.75rem;
  display: inline-block; padding: 0.2rem 0.5rem; border-radius: 4px;
}
.cert.c1 .cert-tag { background: rgba(0,255,154,0.1); color: var(--green); }
.cert.c2 .cert-tag { background: rgba(255,51,102,0.1); color: var(--red); }
.cert.c3 .cert-tag { background: rgba(139,92,246,0.1); color: var(--violet); }
.cert h3 { font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.5rem; }
.cert p { font-size: 0.85rem; color: var(--muted); }

/* ── SERVICES ── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.svc {
  padding: 1.25rem; border: 1px solid var(--border);
  background: var(--card-bg); border-radius: var(--radius);
  transition: border-color 0.2s;
}
.svc:hover { border-color: var(--cyan); }
.svc-icon { font-size: 1.2rem; margin-bottom: 0.5rem; }
.svc h3 { font-size: 0.88rem; margin-bottom: 0.35rem; }
.svc p { font-size: 0.8rem; color: var(--muted); }

/* ── CLIENTS ── */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem; }
.client {
  padding: 0.85rem; border: 1px solid var(--border);
  background: var(--card-bg); border-radius: var(--radius);
  font-size: 0.78rem; text-align: center; color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.client:hover { color: var(--text); border-color: var(--cyan); }
.client strong { display: block; font-size: 0.8rem; color: var(--text); margin-bottom: 0.15rem; }

/* ── CONTACT SIGNAL ── */
.contact-signal {
  max-width: 560px; margin-inline: auto; text-align: center;
}
.signal-transmit {
  width: 120px; height: 120px; margin: 0 auto 2rem;
  position: relative; cursor: pointer;
}
.signal-transmit .r {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--cyan); opacity: 0;
  animation: ring-expand 3s ease-out infinite;
}
.signal-transmit .r:nth-child(2) { animation-delay: 1s; }
.signal-transmit .btn-signal {
  position: absolute; inset: 20%; border-radius: 50%;
  background: var(--cyan); color: var(--void);
  border: none; font-family: var(--display); font-size: 0.55rem;
  letter-spacing: 0.1em; cursor: pointer;
  box-shadow: 0 0 30px var(--cyan-glow);
  transition: transform 0.2s;
}
.signal-transmit .btn-signal:hover { transform: scale(1.08); }
.signal-transmit.transmitting .btn-signal {
  animation: core-pulse 0.5s ease-in-out infinite;
  background: var(--green);
}

.contact-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
  margin-top: 2rem; text-align: left;
}
.contact-card {
  padding: 1rem; border: 1px solid var(--border);
  background: var(--card-bg); border-radius: var(--radius);
}
.contact-card label {
  display: block; font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.35rem;
}
.contact-card a { color: var(--cyan); }
.contact-card a:hover { text-decoration: underline; }

/* ── CLI bar (surprise) ── */
.cli-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 0.4rem 1rem; display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.72rem;
  transform: translateY(100%); transition: transform 0.3s;
}
.cli-bar.open { transform: translateY(0); }
.cli-bar .prompt { color: var(--green); }
.cli-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: var(--mono); font-size: 0.72rem;
}
.cli-toggle {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 151;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--cyan); font-family: var(--mono); font-size: 0.7rem;
  cursor: pointer; box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cli-toggle:hover { border-color: var(--cyan); box-shadow: 0 0 16px var(--cyan-glow); }

/* Discover panel */
.discover-bar {
  position: fixed; bottom: 1rem; left: 1rem; z-index: 151;
  padding: 0.5rem 0.85rem; border: 1px solid var(--border);
  background: var(--surface); border-radius: 999px;
  font-family: var(--mono); font-size: 0.65rem; color: var(--muted);
  display: flex; align-items: center; gap: 0.5rem;
}
.discover-bar strong { color: var(--cyan); }

/* Overlays */
.overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 1rem;
}
.overlay[hidden] { display: none !important; }
.overlay-box {
  width: min(500px, 100%); border: 1px solid var(--cyan);
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 0 60px var(--cyan-glow);
}
.overlay-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.72rem; color: var(--cyan);
}
.overlay-head button { background: none; border: none; color: var(--red); cursor: pointer; font-family: var(--mono); }
.overlay-body { padding: 1.25rem; font-family: var(--mono); font-size: 0.78rem; line-height: 1.7; }

.toast {
  position: fixed; bottom: 5rem; right: 1rem; z-index: 9000;
  padding: 0.75rem 1rem; background: var(--surface);
  border: 1px solid var(--cyan); border-radius: var(--radius);
  font-family: var(--mono); font-size: 0.72rem; color: var(--cyan);
  box-shadow: var(--shadow); animation: toast-in 0.3s ease;
}
.toast[hidden] { display: none !important; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* Footer */
.footer {
  position: relative; z-index: 2; padding: 2rem 0 5rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.68rem; color: var(--muted);
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 1rem; align-items: center;
}
.footer-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.footer-tags span {
  padding: 0.2rem 0.5rem; border: 1px solid var(--border);
  border-radius: 4px; font-size: 0.6rem;
}

body.matrix-mode { --cyan: #00ff41; --text: #00ff41; filter: saturate(1.2); }

/* Mobile */
@media (max-width: 900px) {
  .pentest-phases { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .threat-compact, .certs, .services, .news-grid, .clients { grid-template-columns: 1fr; }
  .report-stats { grid-template-columns: repeat(3, 1fr); }
  .report-layout { grid-template-columns: 1fr; }
  .report-meta { text-align: left; max-width: none; }
  .flow-step::after { display: none; }
  .nav {
    display: none; position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; padding: 1rem;
    background: var(--header-bg); border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .infocon-pill { display: none; }
}
@media (max-width: 500px) {
  .pentest-phases { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .report-stats { grid-template-columns: repeat(2, 1fr); }
  .companies-list, .os-vulns-grid { grid-template-columns: 1fr; }
}

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