/* =============================================
   CYBERFLIPPER — NEON DUSK PROTOCOL
   Styles v2.0.0 — Cyberpunk Overhaul
   ============================================= */

:root {
  --cf-cyan: #00ffcc;
  --cf-pink: #ff006e;
  --cf-purple: #7c3aed;
  --cf-electric: #00e5ff;
  --cf-bg: #030308;
  --cf-surface: #0a0a14;
  --cf-surface-2: #12121f;
  --cf-border: #1a1a30;
  --cf-text: #d8dce8;
  --cf-muted: #525870;
  --cf-success: #22c55e;
  --cf-warning: #eab308;
  --cf-danger: #ef4444;
  --cf-orange: #f97316;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--cf-bg);
  color: var(--cf-text);
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-height: 100vh;
}

::selection { background: rgba(0,255,204,0.25); color: #fff; }

/* ══════════════════════════════════════════════
   BOOT SEQUENCE — Flipper-shaped loader
   ══════════════════════════════════════════════ */
.loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cf-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), visibility 0.6s;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loading-logo {
  width: 100px; height: 60px;
  background: transparent;
  border: 2px solid var(--cf-cyan);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem; font-weight: 900;
  color: var(--cf-cyan);
  position: relative;
  text-shadow: 0 0 30px rgba(0,255,204,0.8);
  animation: boot-flicker 0.15s 3 0.4s;
}
.loading-logo::before {
  content: '';
  position: absolute; top: 50%; left: -18px;
  width: 12px; height: 30px;
  border: 2px solid var(--cf-cyan);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  transform: translateY(-50%);
  opacity: 0.4;
}
.loading-logo::after {
  content: '\25CF';
  position: absolute; top: -6px; right: 10px;
  font-size: 8px; color: var(--cf-pink);
  animation: led-blink 0.4s infinite;
}

@keyframes boot-flicker {
  0%,100% { opacity: 1; }
  50% { opacity: 0.1; }
}
@keyframes led-blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.loading-text {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem; letter-spacing: 1px;
  color: var(--cf-muted);
}
.loading-text::after {
  content: '\2588';
  animation: cursor-blink 0.6s steps(1) infinite;
  color: var(--cf-cyan);
}
@keyframes cursor-blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.loading-bar {
  width: 300px; height: 2px;
  background: rgba(255,255,255,0.03);
  border-radius: 1px; overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  background: var(--cf-cyan);
  box-shadow: 0 0 12px var(--cf-cyan);
  border-radius: 1px;
  animation: boot-load 2s steps(40) forwards;
}
@keyframes boot-load { from { width: 0%; } to { width: 100%; } }

/* ══════════════════════════════════════════════
   AMBIENT FX — CRT scanlines + nebula radials
   ══════════════════════════════════════════════ */
.scan-line {
  position: fixed; left: 0; top: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0,255,204,0.012) 3px,
    rgba(0,255,204,0.012) 4px
  );
  pointer-events: none; z-index: 9998;
  opacity: 0.6;
}

.hud-grid-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: 0.25;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(124,58,237,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,255,204,0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,0,110,0.03) 0%, transparent 60%);
}
.hud-grid-overlay::before,
.hud-grid-overlay::after {
  content: '';
  position: fixed;
  width: 80px; height: 80px;
  border: 1px solid rgba(0,255,204,0.06);
  pointer-events: none;
}
.hud-grid-overlay::before { top: 20px; left: 20px; border-right: 0; border-bottom: 0; }
.hud-grid-overlay::after { bottom: 20px; right: 20px; border-left: 0; border-top: 0; }

.site-background {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden;
}
.site-image-bg {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.08;
  filter: hue-rotate(200deg) saturate(2) contrast(1.2);
}
.site-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(124,58,237,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0,255,204,0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(3,3,8,0.85) 0%, rgba(3,3,8,0.95) 100%);
}

/* ══════════════════════════════════════════════
   HUD STATUS BAR
   ══════════════════════════════════════════════ */
.hud-top-bar {
  background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(10,10,20,0.85), rgba(0,0,0,0.85));
  border-bottom: 1px solid rgba(0,255,204,0.08);
  padding: 4px 24px;
  font-family: 'Courier New', monospace;
  font-size: 0.58rem; letter-spacing: 1.5px;
  color: var(--cf-muted);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 500;
}
.hud-top-bar::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cf-cyan), transparent);
  opacity: 0.2;
}
.hud-top-bar .text-cyan { color: var(--cf-cyan); }
.hud-status-indicator {
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 6px currentColor;
}
.hud-status-indicator.online { background: var(--cf-success); color: var(--cf-success); }
.hud-status-indicator.warning { background: var(--cf-warning); color: var(--cf-warning); }

/* ══════════════════════════════════════════════
   HEADER — Animated gradient neon strip
   ══════════════════════════════════════════════ */
.cyber-header {
  background: rgba(3,3,8,0.92);
  border-bottom: 1px solid var(--cf-border);
  position: relative; z-index: 400;
}
.cyber-header::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cf-pink), var(--cf-cyan), var(--cf-purple), var(--cf-pink));
  background-size: 300% 100%;
  animation: gradient-slide 8s linear infinite;
}
@keyframes gradient-slide { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

.header-logo {
  width: 52px; height: 52px;
  background: transparent;
  border: 2px solid var(--cf-cyan);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 1rem; font-weight: 900; color: var(--cf-cyan);
  text-shadow: 0 0 20px rgba(0,255,204,0.6);
  flex-shrink: 0;
  position: relative;
}
.header-logo::after {
  content: '';
  position: absolute; inset: -4px;
  border: 1px solid rgba(0,255,204,0.1);
  border-radius: 14px;
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem; font-weight: 900;
  color: #fff; margin: 0; line-height: 1.1;
  letter-spacing: 4px;
}
.logo-text .text-cyan { color: var(--cf-cyan); text-shadow: 0 0 20px rgba(0,255,204,0.4); }
.subtitle {
  font-size: 0.6rem; letter-spacing: 3px;
  color: var(--cf-muted); margin: 0;
  font-family: 'Courier New', monospace;
}

/* ══════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════ */
.cyber-nav {
  background: rgba(3,3,8,0.95) !important;
  border-bottom: 1px solid var(--cf-border);
  z-index: 390;
}
.cyber-nav .nav-link {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem; letter-spacing: 2.5px;
  color: var(--cf-muted) !important;
  padding: 10px 14px;
  transition: all 0.25s;
  position: relative;
  border-radius: 4px;
}
.cyber-nav .nav-link:hover {
  color: var(--cf-text) !important;
  background: rgba(0,255,204,0.04);
}
.cyber-nav .nav-link.active {
  color: var(--cf-cyan) !important;
  background: rgba(0,255,204,0.06);
}
.cyber-nav .nav-link.active::after {
  content: '';
  position: absolute; bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--cf-cyan);
  box-shadow: 0 0 8px rgba(0,255,204,0.4);
  border-radius: 1px;
}

/* ══════════════════════════════════════════════
   BUTTONS — Clip-path cyberpunk cut corners
   ══════════════════════════════════════════════ */
.btn-cyber {
  font-family: 'Orbitron', monospace;
  font-size: 0.68rem; letter-spacing: 2px;
  background: linear-gradient(135deg, rgba(0,255,204,0.1), rgba(0,255,204,0.03));
  border: 1px solid var(--cf-cyan);
  color: var(--cf-cyan) !important;
  border-radius: 2px;
  padding: 11px 24px;
  text-transform: uppercase;
  transition: all 0.2s;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  position: relative;
}
.btn-cyber:hover {
  background: rgba(0,255,204,0.15);
  box-shadow: 0 0 25px rgba(0,255,204,0.3), inset 0 0 25px rgba(0,255,204,0.05);
  color: #fff !important;
}
.btn-outline-cyber {
  font-family: 'Orbitron', monospace;
  font-size: 0.68rem; letter-spacing: 2px;
  background: transparent;
  border: 1px solid var(--cf-border);
  color: var(--cf-muted) !important;
  border-radius: 2px;
  padding: 11px 24px;
  text-decoration: none;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-outline-cyber:hover {
  border-color: var(--cf-purple);
  color: var(--cf-text) !important;
  background: rgba(124,58,237,0.06);
}
.neon-pulse { animation: neon-breathe 3s ease-in-out infinite; }
@keyframes neon-breathe {
  0%,100% { box-shadow: 0 0 5px rgba(0,255,204,0.15); }
  50% { box-shadow: 0 0 20px rgba(0,255,204,0.35), 0 0 50px rgba(0,255,204,0.1); }
}

/* ══════════════════════════════════════════════
   HERO — Angled divider + glitch text
   ══════════════════════════════════════════════ */
.hero-section {
  min-height: 92vh;
  position: relative; z-index: 1;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--cf-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0 100%);
  z-index: 3;
}
.hero-content { position: relative; z-index: 2; }
.hud-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.62rem; letter-spacing: 3px;
  color: var(--cf-cyan); text-transform: uppercase;
}

.glitch-text { color: #fff; position: relative; }
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch-text::before {
  color: var(--cf-pink);
  clip-path: inset(0 0 65% 0);
  animation: glitch-top 3s infinite;
}
.glitch-text::after {
  color: var(--cf-electric);
  clip-path: inset(65% 0 0 0);
  animation: glitch-bot 3.5s infinite;
}
@keyframes glitch-top {
  0%,92%,100% { transform: translate(0); opacity: 0; }
  93% { transform: translate(-4px, -2px); opacity: 0.7; }
  95% { transform: translate(4px, 1px); opacity: 0.5; }
  97% { transform: translate(-2px, 0); opacity: 0; }
}
@keyframes glitch-bot {
  0%,88%,100% { transform: translate(0); opacity: 0; }
  89% { transform: translate(3px, 2px); opacity: 0.6; }
  91% { transform: translate(-5px, -1px); opacity: 0.4; }
  93% { transform: translate(2px, 0); opacity: 0; }
}

/* ══════════════════════════════════════════════
   HOLOGRAPHIC CARD — Conic gradient spin
   ══════════════════════════════════════════════ */
.holographic-card {
  background: rgba(10,10,20,0.8);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background-clip: padding-box;
}
.holographic-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 2px;
  background: conic-gradient(from 0deg, var(--cf-cyan), var(--cf-purple), var(--cf-pink), var(--cf-cyan));
  z-index: -1;
  animation: holo-spin 6s linear infinite;
  opacity: 0.5;
}
@keyframes holo-spin { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(360deg); } }

.holographic-card::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: holo-shine 4s ease-in-out infinite;
}
@keyframes holo-shine { 0% { left: -50%; } 100% { left: 150%; } }

.stat-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
  margin-bottom: 16px;
}
.stat-item .label {
  font-family: 'Courier New', monospace;
  font-size: 0.55rem; letter-spacing: 2px; color: var(--cf-muted);
  text-transform: uppercase;
}
.stat-item .value {
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem; font-weight: 700; color: var(--cf-cyan);
  text-shadow: 0 0 10px rgba(0,255,204,0.4);
}
.wave-container canvas { width: 100% !important; height: 60px !important; }

/* ══════════════════════════════════════════════
   STAT CARDS — Hex-cut corners
   ══════════════════════════════════════════════ */
.stats-section { position: relative; z-index: 1; }
.stat-card {
  background: rgba(10,10,20,0.85);
  border: 1px solid var(--cf-border);
  border-radius: 0;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 40px; height: 1px;
  background: var(--cf-cyan);
  opacity: 0; transition: opacity 0.25s;
}
.stat-card:hover {
  border-color: rgba(0,255,204,0.2);
  background: rgba(10,10,20,0.95);
}
.stat-card:hover::before { opacity: 1; }
.stat-icon { font-size: 1.8rem; color: var(--cf-purple); margin-bottom: 10px; }
.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--cf-cyan), var(--cf-electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-title {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem; letter-spacing: 2px; color: var(--cf-muted);
  margin-top: 6px; text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   TERMINAL CARD — Retro CRT
   ══════════════════════════════════════════════ */
.terminal-card {
  background: #060608;
  border: 1px solid rgba(0,255,204,0.12);
  border-radius: 2px; overflow: hidden;
  position: relative;
}
.terminal-card::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none; z-index: 1;
}
.terminal-header {
  background: #0a0a0f;
  border-bottom: 1px solid rgba(0,255,204,0.08);
  padding: 8px 14px;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.62rem; color: var(--cf-muted);
  font-family: 'Courier New', monospace;
}
.terminal-header .dot { width: 8px; height: 8px; border-radius: 50%; }
.terminal-header .dot.red { background: #ef4444; }
.terminal-header .dot.yellow { background: #eab308; }
.terminal-header .dot.green { background: #22c55e; }
.terminal-body {
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  line-height: 1.9; color: #4ade80;
  position: relative; z-index: 2;
}
.terminal-body .typing { display: block; }

/* ── GLASS CARD ── */
.glass-card {
  background: rgba(10,10,20,0.75);
  border: 1px solid var(--cf-border);
  border-radius: 2px;
  position: relative;
}
.glass-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cf-cyan), transparent);
  opacity: 0.3;
}

/* ══════════════════════════════════════════════
   TIMELINE — Diamond markers
   ══════════════════════════════════════════════ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute; left: 6px; top: 0; bottom: 0;
  width: 1px; background: var(--cf-border);
}
.timeline-item { position: relative; margin-bottom: 32px; padding-left: 24px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -6px; top: 6px;
  width: 10px; height: 10px;
  background: var(--cf-surface-2);
  border: 2px solid var(--cf-muted);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.timeline-item.active::before {
  background: var(--cf-cyan);
  border-color: var(--cf-cyan);
  box-shadow: 0 0 12px rgba(0,255,204,0.6);
}
.timeline-item .date {
  font-family: 'Courier New', monospace;
  font-size: 0.62rem; letter-spacing: 2px; color: var(--cf-pink);
  margin-bottom: 6px;
}
.timeline-item .content h5 {
  font-size: 0.85rem; color: #fff; margin-bottom: 4px;
  font-family: 'Orbitron', monospace; letter-spacing: 1px;
}
.timeline-item .content p {
  font-size: 0.75rem; color: var(--cf-muted); margin: 0;
}

/* ── DATA LIST ── */
.data-list { list-style: none; padding: 0; margin: 0; }
.data-list li {
  font-size: 0.78rem; color: var(--cf-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  display: flex; align-items: flex-start; gap: 10px;
}
.data-list li::before {
  content: '//';
  color: var(--cf-purple); flex-shrink: 0;
  font-family: 'Courier New', monospace; font-weight: bold;
}
.data-list li strong { color: var(--cf-text); }

.neon-text {
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, var(--cf-cyan), var(--cf-electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header h2 { font-family: 'Orbitron', monospace; letter-spacing: 3px; }

/* ══════════════════════════════════════════════
   CVE BADGES
   ══════════════════════════════════════════════ */
.cve-badge-critical { background: rgba(239,68,68,0.12); border: 1px solid var(--cf-danger); color: var(--cf-danger); border-radius: 2px; padding: 2px 8px; font-size: 0.62rem; letter-spacing: 1px; font-family: 'Courier New', monospace; }
.cve-badge-high { background: rgba(249,115,22,0.12); border: 1px solid var(--cf-orange); color: var(--cf-orange); border-radius: 2px; padding: 2px 8px; font-size: 0.62rem; letter-spacing: 1px; font-family: 'Courier New', monospace; }
.cve-badge-medium { background: rgba(234,179,8,0.12); border: 1px solid var(--cf-warning); color: var(--cf-warning); border-radius: 2px; padding: 2px 8px; font-size: 0.62rem; letter-spacing: 1px; font-family: 'Courier New', monospace; }
.cve-badge-low { background: rgba(34,197,94,0.12); border: 1px solid var(--cf-success); color: var(--cf-success); border-radius: 2px; padding: 2px 8px; font-size: 0.62rem; letter-spacing: 1px; font-family: 'Courier New', monospace; }

/* ══════════════════════════════════════════════
   AI CHAT PANEL
   ══════════════════════════════════════════════ */
.ai-panel-card {
  background: rgba(10,10,20,0.9);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 2px; overflow: hidden;
}
.ai-header-bar {
  background: rgba(124,58,237,0.06);
  border-bottom: 1px solid rgba(124,58,237,0.15);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.ai-avatar {
  width: 38px; height: 38px;
  background: transparent;
  border: 2px solid var(--cf-purple);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.ai-title { font-family: 'Orbitron', monospace; font-size: 0.72rem; color: var(--cf-purple); letter-spacing: 2px; }
.ai-subtitle { font-size: 0.58rem; color: var(--cf-muted); font-family: 'Courier New', monospace; }
.ai-online { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 0.58rem; color: var(--cf-success); font-family: 'Courier New', monospace; }

.ai-messages {
  min-height: 280px; max-height: 380px;
  overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.ai-messages::-webkit-scrollbar { width: 3px; }
.ai-messages::-webkit-scrollbar-thumb { background: var(--cf-purple); border-radius: 2px; }

.msg { display: flex; gap: 8px; align-items: flex-start; }
.msg-user { flex-direction: row-reverse; }
.msg-avatar-sm {
  width: 24px; height: 24px; border-radius: 4px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.msg-ai .msg-avatar-sm { background: transparent; border: 1px solid var(--cf-purple); color: var(--cf-purple); }
.msg-user .msg-avatar-sm { background: transparent; border: 1px solid rgba(0,255,204,0.3); color: var(--cf-cyan); font-size: 10px; font-family: 'Orbitron', monospace; }

.msg-bubble {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--cf-border);
  border-radius: 2px;
  padding: 8px 12px;
  font-size: 0.73rem; line-height: 1.6;
  max-width: 82%;
}
.msg-ai .msg-bubble { border-color: rgba(124,58,237,0.2); border-left: 2px solid var(--cf-purple); }
.msg-user .msg-bubble { background: rgba(0,255,204,0.03); border-color: rgba(0,255,204,0.15); border-right: 2px solid var(--cf-cyan); text-align: right; }
.msg-bubble code { background: rgba(0,0,0,0.5); border-radius: 2px; padding: 1px 5px; font-size: 0.66rem; color: var(--cf-cyan); }

.typing-dots { display: flex; gap: 4px; padding: 4px; }
.typing-dot { width: 4px; height: 4px; border-radius: 1px; background: var(--cf-purple); animation: typing-pulse 1.2s infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-pulse { 0%,100% { opacity: 0.2; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(2); } }

.quick-pill {
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 2px;
  padding: 4px 10px;
  font-size: 0.6rem; letter-spacing: 1px;
  color: #a78bfa; cursor: pointer;
  font-family: 'Courier New', monospace;
  transition: all 0.15s; white-space: nowrap;
}
.quick-pill:hover { background: rgba(124,58,237,0.15); border-color: var(--cf-purple); color: #c4b5fd; }

/* ══════════════════════════════════════════════
   CVE TABLE
   ══════════════════════════════════════════════ */
.cve-row { cursor: pointer; transition: background 0.15s; }
.cve-row:hover { background: rgba(0,255,204,0.02) !important; }
.cve-row.selected { background: rgba(0,255,204,0.04) !important; border-left: 2px solid var(--cf-cyan); }
.sev-bar { display: inline-block; width: 6px; height: 100%; border-radius: 1px; }
.sev-critical { background: var(--cf-danger); box-shadow: 0 0 8px rgba(239,68,68,0.5); }
.sev-high { background: var(--cf-orange); box-shadow: 0 0 6px rgba(249,115,22,0.4); }
.sev-medium { background: var(--cf-warning); }
.sev-low { background: var(--cf-success); }

/* ── FOOTER ── */
.cyber-footer {
  background: rgba(3,3,8,0.95);
  border-top: 1px solid var(--cf-border);
  position: relative; z-index: 1;
}
.cyber-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cf-pink), var(--cf-cyan), var(--cf-purple));
  opacity: 0.3;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cf-bg); }
::-webkit-scrollbar-thumb { background: var(--cf-purple); border-radius: 0; }

/* ── UTILITIES ── */
.text-cyan { color: var(--cf-cyan) !important; }
.text-purple { color: #a78bfa !important; }
.border-cyan { border-color: rgba(0,255,204,0.3) !important; }
.bg-dark-blue { background: rgba(6,6,16,0.5); }
.z1 { position: relative; z-index: 1; }
.font-orbitron { font-family: 'Orbitron', monospace; }

/* ── API KEY INPUT ── */
.api-key-row {
  border-top: 1px solid var(--cf-border);
  padding: 10px 14px;
  display: flex; gap: 8px; align-items: center;
}
.api-key-input {
  flex: 1;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--cf-border);
  border-radius: 2px;
  padding: 5px 10px;
  font-size: 0.65rem; color: var(--cf-muted);
  font-family: 'Courier New', monospace;
}
.api-key-input:focus { outline: none; border-color: var(--cf-purple); color: var(--cf-text); }
.btn-api-save {
  background: transparent;
  border: 1px solid var(--cf-border);
  border-radius: 2px;
  padding: 5px 12px;
  font-size: 0.6rem; letter-spacing: 1px;
  color: var(--cf-muted); cursor: pointer;
  font-family: 'Courier New', monospace;
  transition: all 0.15s;
}
.btn-api-save:hover { border-color: var(--cf-cyan); color: var(--cf-cyan); }

/* ── LIVE TICKER ── */
.cyber-ticker {
  background: linear-gradient(90deg, rgba(255,0,110,0.03), rgba(0,255,204,0.03), rgba(124,58,237,0.03));
  border-top: 1px solid rgba(255,0,110,0.08);
  border-bottom: 1px solid rgba(0,255,204,0.08);
  padding: 6px 0;
}
.ticker-track {
  display: block;
  white-space: normal;
  animation: none;
  font-family: 'Courier New', monospace;
  font-size: 0.6rem; letter-spacing: 1.5px;
  color: var(--cf-cyan); opacity: 0.45;
}
@keyframes ticker-scroll { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-section { min-height: 75vh; }
  .hero-section::after { height: 40px; }
  .hud-top-bar { font-size: 0.5rem; gap: 6px; padding: 4px 12px; }
  .stat-num { font-size: 1.5rem; }
  .logo-text { font-size: 1.1rem; letter-spacing: 2px; }
  .stat-card { padding: 20px 16px; }
  .btn-cyber, .btn-outline-cyber { padding: 8px 16px; font-size: 0.6rem; }
  .loading-logo { width: 80px; height: 48px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .hud-top-bar { flex-direction: column; gap: 2px; text-align: center; }
  .hero-section { min-height: 65vh; }
}
