/* ═══════════════════════════════════════════
   CVE Explorer — Terminal-Meets-Modern Design
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0e14;
  --bg-card: #0f1419;
  --bg-hover: #151b23;
  --border: rgba(124, 247, 192, 0.08);
  --border-hover: rgba(124, 247, 192, 0.2);
  --accent: #00ff88;
  --accent-dim: #7cf7c0;
  --text: #e6edf3;
  --text-dim: rgba(230, 237, 243, 0.5);
  --text-muted: rgba(230, 237, 243, 0.3);
  --critical: #ff4757;
  --high: #ff8c42;
  --medium: #ffd93d;
  --low: #6bcb77;
  --info: #4ea8de;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1100px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: var(--accent-dim); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* ─── PARTICLES BACKGROUND ──────────────── */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ─── NAVIGATION ────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.logo-icon { font-size: 1.3rem; }
.logo-text .accent { color: var(--accent); }

.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.2s;
  cursor: pointer;
}
.nav-link:hover { color: var(--text); background: rgba(124, 247, 192, 0.06); }
.nav-link.active { color: var(--accent); background: rgba(124, 247, 192, 0.1); }

/* ─── MAIN ──────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  min-height: 80vh;
}

.view { display: none; }
.view.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── HERO ──────────────────────────────── */
.hero {
  text-align: center;
  padding: 5rem 0 3rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.10) 0%, rgba(0, 255, 136, 0.04) 30%, rgba(0, 255, 136, 0.01) 55%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-line {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.hero-line.accent {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15em;
  color: var(--accent);
  text-shadow: 0 0 60px rgba(0, 255, 136, 0.35), 0 0 120px rgba(0, 255, 136, 0.15);
  letter-spacing: 0;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ─── SEARCH BOX ────────────────────────── */
.search-box-hero, .search-box {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  padding: 0 1rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: calc(var(--radius) - 4px);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s, transform 0.1s;
}
.search-btn:hover { background: var(--accent-dim); }
.search-btn:active { transform: scale(0.97); }

/* ─── STATS ROW ─────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: rgba(15, 20, 25, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 247, 192, 0.06);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover {
  border-color: rgba(124, 247, 192, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.06);
}
.stat-card:hover::before { opacity: 1; }
.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  position: relative;
  z-index: 1;
}
.stat-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}

/* ─── CVE GRID (Home) ───────────────────── */
.cve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

/* ─── CVE CARDS ─────────────────────────── */
.cve-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cve-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.04);
}
.cve-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-accent, var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.cve-card:hover::before { opacity: 1; }

.cve-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.cve-id {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-dim);
}

.severity-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.severity-CRITICAL { background: rgba(255, 71, 87, 0.15); color: var(--critical); border: 1px solid rgba(255, 71, 87, 0.3); }
.severity-HIGH { background: rgba(255, 140, 66, 0.15); color: var(--high); border: 1px solid rgba(255, 140, 66, 0.3); }
.severity-MEDIUM { background: rgba(255, 217, 61, 0.15); color: var(--medium); border: 1px solid rgba(255, 217, 61, 0.3); }
.severity-LOW { background: rgba(107, 203, 119, 0.15); color: var(--low); border: 1px solid rgba(107, 203, 119, 0.3); }
.severity-UNKNOWN { background: rgba(78, 168, 222, 0.15); color: var(--info); border: 1px solid rgba(78, 168, 222, 0.3); }

.cve-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.cve-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.cvss-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ─── CVE LIST ──────────────────────────── */
.cve-list { display: flex; flex-direction: column; gap: 0.5rem; }

.cve-list .cve-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

/* ─── VIEW HEADER ───────────────────────── */
.view-header {
  padding: 2rem 0 1.5rem;
}
.view-header h2 {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.view-sub { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1rem; }

/* ─── PAGINATION ────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
}
.page-btn {
  padding: 0.4rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ─── BACK BUTTON ───────────────────────── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  margin: 1.5rem 0;
}
.back-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── CVE DETAIL ────────────────────────── */
.cve-detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cve-detail-id {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.cvss-ring {
  width: 64px;
  height: 64px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cvss-ring svg { position: absolute; transform: rotate(-90deg); }
.cvss-ring .score-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
}

.detail-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.detail-section h3 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-dim);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

/* ─── ATTACK CHAIN ──────────────────────── */
.attack-chain {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 2rem;
}

.chain-step {
  position: relative;
  padding: 1rem 0 1rem 1.5rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: chainSlide 0.4s ease forwards;
}
.chain-step:nth-child(1) { animation-delay: 0.1s; }
.chain-step:nth-child(2) { animation-delay: 0.3s; }
.chain-step:nth-child(3) { animation-delay: 0.5s; }
.chain-step:nth-child(4) { animation-delay: 0.7s; }
.chain-step:nth-child(5) { animation-delay: 0.9s; }

@keyframes chainSlide {
  to { opacity: 1; transform: translateX(0); }
}

/* Vertical line */
.chain-step::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--chain-color, var(--accent)) 0%, transparent 100%);
}
.chain-step:last-child::before { background: var(--chain-color, var(--accent)); }

/* Step node */
.chain-step::after {
  content: '';
  position: absolute;
  left: calc(-2rem - 6px);
  top: 1.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--chain-color, var(--accent));
  box-shadow: 0 0 12px var(--chain-color, rgba(0, 255, 136, 0.4));
  z-index: 1;
}

.chain-step[data-type="recon"] { --chain-color: var(--info); }
.chain-step[data-type="access"] { --chain-color: var(--medium); }
.chain-step[data-type="exploit"] { --chain-color: var(--high); }
.chain-step[data-type="impact"] { --chain-color: var(--critical); }

.chain-step-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.chain-step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--chain-color, var(--accent));
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chain-step-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.chain-step-type {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--chain-color, var(--accent));
  letter-spacing: 0.1em;
}

.chain-step-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.chain-step-tools {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-dim);
  margin-top: 0.4rem;
  opacity: 0.7;
}
.chain-connector {
  display: flex;
  justify-content: center;
  padding: 0.2rem 0;
  opacity: 0.4;
}
.chain-step[data-type="persist"] { --chain-color: #b266ff; }

/* ─── CALLOUT BOXES ─────────────────────── */
.callout {
  padding: 0.8rem 1rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.6;
}
.callout strong { font-size: 0.8rem; display: block; margin-bottom: 0.2rem; }
.callout-red { background: rgba(255,71,87,0.06); border-left: 3px solid var(--critical); }
.callout-red strong { color: var(--critical); }
.callout-green { background: rgba(107,203,119,0.06); border-left: 3px solid var(--low); }
.callout-green strong { color: var(--low); }
.callout-blue { background: rgba(78,168,222,0.06); border-left: 3px solid var(--info); }
.callout-blue strong { color: var(--info); }
.callout-orange { background: rgba(255,140,66,0.06); border-left: 3px solid var(--high); }
.callout-orange strong { color: var(--high); }
.callout-purple { background: rgba(178,102,255,0.06); border-left: 3px solid #b266ff; }
.callout-purple strong { color: #b266ff; }

/* ─── CODE BLOCKS ───────────────────────── */
.code-block {
  border-radius: 8px;
  overflow: hidden;
  margin: 0.6rem 0;
  border: 1px solid rgba(124,247,192,0.1);
}
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background: rgba(0,255,136,0.05);
  border-bottom: 1px solid rgba(124,247,192,0.08);
}
.code-lang {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.code-copy {
  background: none;
  border: 1px solid rgba(124,247,192,0.15);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.code-copy:hover { border-color: var(--accent); color: var(--accent); }
.code-content {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  padding: 0.8rem 1rem;
  margin: 0;
  background: rgba(0,0,0,0.3);
  color: var(--text);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ─── DETAIL SUBSECTION ─────────────────── */
.detail-subsection {
  margin: 1rem 0;
}
.detail-subsection h4 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-dim);
  margin-bottom: 0.5rem;
}
.subsection-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.detection-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.detection-list li {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
}
.detection-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ─── CWE CARD ──────────────────────────── */
.cwe-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem;
  margin-top: 0.5rem;
}
.cwe-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}
.cwe-id {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  background: rgba(0,255,136,0.08);
  border-radius: 4px;
  border: 1px solid rgba(0,255,136,0.15);
}
.cwe-name {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.cwe-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.cwe-prevention {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 0.6rem 0.8rem;
  background: rgba(107,203,119,0.05);
  border-left: 2px solid var(--low);
  border-radius: 0 4px 4px 0;
}
.cwe-prevention strong {
  color: var(--low);
  font-size: 0.75rem;
}

/* ─── AI ANALYSIS LOADING ───────────────── */
.analysis-loading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ─── REFERENCE LINKS ───────────────────── */
.ref-list { list-style: none; }
.ref-item {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.ref-item:last-child { border-bottom: none; }
.ref-item a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  word-break: break-all;
}
.ref-tag {
  display: inline-block;
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
  background: rgba(124, 247, 192, 0.08);
  border-radius: 3px;
  color: var(--text-muted);
  margin-left: 0.4rem;
}

/* ─── CWE / AFFECTED ────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  background: rgba(78, 168, 222, 0.1);
  border: 1px solid rgba(78, 168, 222, 0.2);
  border-radius: 4px;
  color: var(--info);
}

/* ─── LOADING SKELETON ──────────────────── */
.loading-skeleton {
  height: 200px;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── EMPTY STATE ───────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.empty-state .emoji { font-size: 3rem; margin-bottom: 1rem; display: block; }
.empty-state p { font-size: 0.9rem; }

/* ─── FOOTER ────────────────────────────── */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

/* ─── SECTION ───────────────────────────── */
.section { margin-bottom: 3rem; }
.section-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

/* ─── SCROLLBAR ─────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(124, 247, 192, 0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124, 247, 192, 0.3); }

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 3rem 0 2rem; }
  .hero-title { font-size: 2rem; }
  .cve-grid { grid-template-columns: 1fr; }
  .cve-list .cve-card { grid-template-columns: 1fr; }
  .cve-detail-header { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
