/* ============================================================
   MULTI MEDIA FORENSIC V2.0 — STYLES.CSS
   Cyber Forensics Platform | Futuristic UI
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --bg-primary:    #000000;
  --bg-secondary:  #0a192f;
  --bg-card:       rgba(10, 25, 47, 0.7);
  --accent:        #00d4ff;
  --accent-dim:    rgba(0, 212, 255, 0.15);
  --accent-glow:   rgba(0, 212, 255, 0.4);
  --white:         #ffffff;
  --text-primary:  #e0f4ff;
  --text-muted:    rgba(224, 244, 255, 0.5);
  --danger:        #ff3c5a;
  --success:       #00ff88;
  --warning:       #ffaa00;
  --border:        rgba(0, 212, 255, 0.2);
  --glass:         rgba(0, 212, 255, 0.05);
  --font-display:  'Orbitron', sans-serif;
  --font-body:     'Rajdhani', sans-serif;
  --font-mono:     'Share Tech Mono', monospace;
  --nav-h:         65px;
  --radius:        8px;
  --transition:    0.3s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; }

/* ---- PARTICLE CANVAS ---- */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- SCAN LINE OVERLAY ---- */
.scan-line-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 212, 255, 0.015) 2px,
    rgba(0, 212, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* ---- NAVIGATION ---- */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
.main-nav.scrolled { background: rgba(0, 0, 0, 0.97); }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.brand-icon { width: 40px; height: 40px; animation: brandPulse 3s ease-in-out infinite; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  color: var(--accent);
  letter-spacing: 2px;
  line-height: 1;
}
.brand-version {
  font-family: var(--font-mono);
  font-size: 0.65rem; color: var(--text-muted);
  letter-spacing: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  border-color: var(--border);
  background: var(--accent-dim);
  text-shadow: 0 0 8px var(--accent);
}
.nav-icon { font-size: 0.9rem; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--success);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: statusPulse 2s ease-in-out infinite;
}
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- PAGE SYSTEM ---- */
.page {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  z-index: 2;
}
.page.active { display: block; }
.page-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  background: var(--accent-dim);
}
.section-title {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.section-divider {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}
.btn-icon { font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,212,255,0.05));
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.3), rgba(0,212,255,0.1));
  box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(0,212,255,0.15);
  transform: translateY(-2px);
}
.btn-glow { box-shadow: 0 0 15px rgba(0,212,255,0.3); }
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: 16px 40px; font-size: 0.85rem; }
.btn-small { padding: 6px 14px; font-size: 0.65rem; }
.btn-shine {
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
}
.btn-primary:hover .btn-shine { left: 100%; }

/* ---- GLASS CARD ---- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

/* ========== LANDING PAGE ========== */
.landing-hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 60px 24px;
  overflow: hidden;
}
.hero-content {
  max-width: 800px;
  text-align: center;
  position: relative; z-index: 3;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 4px;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 32px;
  background: var(--accent-dim);
  animation: fadeInDown 0.8s ease;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: statusPulse 2s infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}
.title-line {
  display: block;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.line-1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--white);
  letter-spacing: 6px;
  animation-delay: 0.2s;
}
.line-2 {
  font-size: clamp(3rem, 9vw, 7rem);
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(0,212,255,0.2);
  letter-spacing: 8px;
  animation-delay: 0.4s;
}
.line-3 { animation-delay: 0.6s; margin-top: 8px; }
.version-badge {
  display: inline-block;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  letter-spacing: 6px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 24px;
  border-radius: 4px;
  background: var(--accent-dim);
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}
.tagline-prefix, .tagline-suffix { color: var(--accent); margin: 0 8px; }
.hero-description {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.8s ease 1s forwards;
  opacity: 0;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease 1.2s forwards;
  opacity: 0;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  animation: fadeInUp 0.8s ease 1.4s forwards;
  opacity: 0;
}
.stat-item { text-align: center; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(0,212,255,0.5);
}
.stat-label {
  display: block;
  font-size: 0.7rem; letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- RADAR ---- */
.radar-container {
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  opacity: 0.25;
  pointer-events: none;
}
.radar-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--accent);
}
.ring-1 { width: 400px; height: 400px; animation: radarPulse 3s ease-in-out infinite; }
.ring-2 { width: 280px; height: 280px; animation: radarPulse 3s ease-in-out infinite 0.5s; }
.ring-3 { width: 160px; height: 160px; animation: radarPulse 3s ease-in-out infinite 1s; }
.radar-sweep {
  position: absolute; top: 50%; left: 50%;
  width: 200px; height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), transparent);
  animation: radarSweep 3s linear infinite;
}
.radar-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: dotBlink 2s ease-in-out infinite;
}
.dot-1 { top: 30%; left: 60%; animation-delay: 0.5s; }
.dot-2 { top: 65%; left: 45%; animation-delay: 1s; }
.dot-3 { top: 45%; left: 70%; animation-delay: 1.5s; }

/* ---- CIRCUIT LINES ---- */
.circuit-lines {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden; z-index: 1;
}
.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  height: 1px; opacity: 0.15;
  animation: circuitFlow 4s linear infinite;
}
.cl-1 { top: 20%; width: 200px; animation-delay: 0s; }
.cl-2 { top: 40%; width: 300px; left: 60%; animation-delay: 1s; }
.cl-3 { top: 65%; width: 150px; animation-delay: 2s; }
.cl-4 { top: 80%; width: 250px; left: 50%; animation-delay: 3s; }

/* ---- FEATURES ---- */
.features-section {
  max-width: 1300px; margin: 0 auto;
  padding: 80px 24px;
  position: relative; z-index: 2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  cursor: default;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,212,255,0.15);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 60px; height: 60px; margin-bottom: 20px; }
.feature-title {
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.feature-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.feature-meter { position: relative; }
.meter-fill {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(0,212,255,0.3));
  width: var(--fill);
  border-radius: 2px;
  position: relative;
  box-shadow: 0 0 8px rgba(0,212,255,0.4);
}
.meter-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  margin-top: 6px;
}

/* ========== DASHBOARD ========== */
.dashboard-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 0; flex-wrap: wrap; gap: 16px;
}
.dashboard-time {
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--font-mono);
}
.time-label { font-size: 0.6rem; color: var(--text-muted); letter-spacing: 3px; }
.time-value { font-size: 1.6rem; color: var(--accent); }
.metrics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; align-items: center; gap: 20px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.metric-card::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 60px; height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-dim));
  pointer-events: none;
}
.metric-card.alert { border-color: rgba(255,60,90,0.3); }
.metric-card.alert::after { background: linear-gradient(90deg, transparent, rgba(255,60,90,0.05)); }
.metric-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,212,255,0.1); }
.metric-icon-wrap { position: relative; flex-shrink: 0; }
.metric-icon { font-size: 2rem; position: relative; z-index: 1; }
.metric-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--border);
  animation: metricPulse 3s ease-in-out infinite;
}
.metric-info { flex: 1; }
.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--accent);
}
.metric-card.alert .metric-value { color: var(--danger); }
.metric-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 1px; }
.metric-trend { font-family: var(--font-mono); font-size: 0.7rem; }
.metric-trend.up { color: var(--success); }
.metric-trend.down { color: var(--danger); }
.charts-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 24px; margin-bottom: 24px;
}
.chart-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.chart-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.chart-title {
  font-family: var(--font-display);
  font-size: 0.85rem; color: var(--white);
  letter-spacing: 1px;
}
.chart-controls { display: flex; gap: 6px; }
.chart-btn {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 4px;
  transition: var(--transition);
}
.chart-btn.active, .chart-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
.chart-body { overflow: hidden; }
.chart-body canvas { width: 100% !important; }
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--success);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: statusPulse 1.5s ease-in-out infinite;
}
.activity-section { margin-bottom: 24px; }
.activity-list { max-height: 280px; overflow-y: auto; }
.activity-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,212,255,0.07);
  font-size: 0.82rem;
  animation: slideInRow 0.4s ease;
}
.activity-item:last-child { border-bottom: none; }
.activity-icon { font-size: 1.1rem; flex-shrink: 0; }
.activity-info { flex: 1; }
.activity-name { color: var(--text-primary); font-weight: 500; }
.activity-type { color: var(--text-muted); font-size: 0.72rem; }
.activity-status { padding: 3px 10px; border-radius: 20px; font-size: 0.65rem; font-family: var(--font-mono); font-weight: 700; }
.status-clean { background: rgba(0,255,136,0.1); color: var(--success); border: 1px solid rgba(0,255,136,0.2); }
.status-threat { background: rgba(255,60,90,0.1); color: var(--danger); border: 1px solid rgba(255,60,90,0.2); }
.status-warning { background: rgba(255,170,0,0.1); color: var(--warning); border: 1px solid rgba(255,170,0,0.2); }
.activity-time { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.65rem; white-space: nowrap; }
.threat-section { }
.threat-bars { display: flex; flex-direction: column; gap: 16px; padding: 8px 0; }
.threat-bar-item { display: flex; align-items: center; gap: 16px; }
.threat-bar-label { font-size: 0.78rem; color: var(--text-primary); width: 140px; flex-shrink: 0; }
.threat-bar-track { flex: 1; height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }
.threat-bar-fill { height: 100%; border-radius: 4px; position: relative; transition: width 1.5s ease; }
.threat-bar-value { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); width: 40px; text-align: right; }

/* ========== ANALYSIS PAGE ========== */
.upload-section { margin-bottom: 32px; }
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  background: var(--glass);
  transition: var(--transition);
  cursor: pointer;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 40px rgba(0,212,255,0.1);
}
.upload-icon { width: 80px; height: 80px; margin: 0 auto 20px; }
.upload-title { font-family: var(--font-display); font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.upload-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px; }
.file-list { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 16px; }
.file-list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.file-list-header h3 { font-family: var(--font-display); font-size: 0.85rem; color: var(--accent); }
.file-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(0,212,255,0.07);
  font-size: 0.82rem;
}
.file-item-icon { font-size: 1.3rem; }
.file-item-info { flex: 1; }
.file-item-name { color: var(--text-primary); }
.file-item-size { color: var(--text-muted); font-size: 0.7rem; }
.file-item-remove { color: var(--danger); cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: var(--transition); }
.file-item-remove:hover { background: rgba(255,60,90,0.1); }
.analysis-options { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-bottom: 32px; }
.options-title { font-family: var(--font-display); font-size: 0.9rem; color: var(--white); letter-spacing: 2px; margin-bottom: 24px; }
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.option-card {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  gap: 12px;
  position: relative;
}
.option-card input[type="checkbox"] { display: none; }
.option-card:hover { border-color: var(--accent); background: var(--accent-dim); }
.option-card:has(input:checked) { border-color: var(--accent); background: var(--accent-dim); }
.option-content { flex: 1; }
.option-icon { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.option-name { display: block; font-family: var(--font-display); font-size: 0.75rem; color: var(--white); margin-bottom: 3px; }
.option-desc { display: block; font-size: 0.7rem; color: var(--text-muted); }
.option-check { color: var(--accent); font-size: 1rem; opacity: 0; transition: var(--transition); }
.option-card:has(input:checked) .option-check { opacity: 1; }

/* ---- SCAN PROGRESS ---- */
.analysis-progress { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.scan-visual { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.scan-circle { position: relative; width: 200px; height: 200px; }
.scan-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scan-progress-ring { transition: stroke-dashoffset 0.5s ease; }
.scan-percentage {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(0,212,255,0.5);
}
.scan-status { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.progress-steps { width: 100%; max-width: 500px; }
.progress-step {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,212,255,0.07);
}
.step-indicator {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: var(--transition);
}
.progress-step.active .step-indicator { border-color: var(--accent); box-shadow: 0 0 10px var(--accent); animation: statusPulse 1.5s infinite; }
.progress-step.done .step-indicator { background: var(--success); border-color: var(--success); }
.step-info { display: flex; flex-direction: column; flex: 1; }
.step-name { font-size: 0.82rem; color: var(--text-primary); }
.step-status { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); }
.progress-step.active .step-status { color: var(--accent); }
.progress-step.done .step-status { color: var(--success); }
.live-log { width: 100%; max-width: 700px; background: rgba(0,0,0,0.5); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.log-header { margin-bottom: 12px; }
.log-entries { max-height: 200px; overflow-y: auto; font-family: var(--font-mono); font-size: 0.7rem; }
.log-entry {
  padding: 4px 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  animation: fadeInLog 0.3s ease;
}
.log-entry .log-time { color: var(--accent); margin-right: 8px; }
.log-entry.ok .log-msg { color: var(--success); }
.log-entry.warn .log-msg { color: var(--warning); }
.log-entry.err .log-msg { color: var(--danger); }

/* ---- ANALYSIS RESULTS ---- */
.analysis-results { }
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.results-header h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); }
.results-actions { display: flex; gap: 12px; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative; overflow: hidden;
}
.result-card.authentic { border-left: 3px solid var(--success); }
.result-card.manipulated { border-left: 3px solid var(--danger); }
.result-card.suspicious { border-left: 3px solid var(--warning); }
.result-verdict { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }
.verdict-authentic { color: var(--success); }
.verdict-manipulated { color: var(--danger); }
.verdict-suspicious { color: var(--warning); }
.result-filename { font-size: 0.82rem; color: var(--text-primary); margin-bottom: 8px; word-break: break-all; }
.result-confidence { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.confidence-label { font-size: 0.7rem; color: var(--text-muted); }
.confidence-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.confidence-fill { height: 100%; border-radius: 3px; }
.confidence-pct { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); }
.result-meta { display: flex; flex-direction: column; gap: 4px; }
.meta-row { display: flex; justify-content: space-between; font-size: 0.72rem; }
.meta-key { color: var(--text-muted); }
.meta-val { color: var(--text-primary); font-family: var(--font-mono); }

/* ========== REPORTS PAGE ========== */
.reports-filter {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px;
}
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-display); font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 20px;
  transition: var(--transition);
  letter-spacing: 1px;
}
.filter-btn.active, .filter-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
.filter-search { flex: 0 0 auto; }
.reports-list { display: flex; flex-direction: column; gap: 16px; }
.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 20px;
  transition: var(--transition);
  cursor: pointer;
}
.report-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(0,212,255,0.1); transform: translateX(4px); }
.report-icon { font-size: 2rem; flex-shrink: 0; }
.report-info { flex: 1; }
.report-name { font-family: var(--font-display); font-size: 0.85rem; color: var(--white); margin-bottom: 4px; }
.report-meta { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); }
.report-verdict { flex-shrink: 0; padding: 6px 14px; border-radius: 20px; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; }
.report-score { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); flex-shrink: 0; }
.report-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---- MODAL ---- */
.report-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); }
.modal-content {
  position: relative; z-index: 1;
  background: #030d1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%; max-width: 660px;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalOpen 0.3s ease;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--border); }
.modal-title { font-family: var(--font-display); font-size: 1rem; color: var(--accent); letter-spacing: 2px; }
.modal-close { color: var(--text-muted); font-size: 1.2rem; padding: 4px 8px; border-radius: 4px; transition: var(--transition); }
.modal-close:hover { color: var(--danger); background: rgba(255,60,90,0.1); }
.modal-body { padding: 24px; }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; padding: 20px 24px; border-top: 1px solid var(--border); }

/* ---- MODAL DETAIL ---- */
.detail-section { margin-bottom: 24px; }
.detail-section-title { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 2px; color: var(--accent); margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.detail-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.82rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
.detail-key { color: var(--text-muted); }
.detail-val { color: var(--text-primary); font-family: var(--font-mono); text-align: right; }
.score-display {
  display: flex; flex-direction: column; align-items: center;
  padding: 24px; background: rgba(0,0,0,0.3); border-radius: var(--radius); margin-bottom: 24px;
}
.score-ring { position: relative; width: 120px; height: 120px; margin-bottom: 12px; }
.score-ring svg { transform: rotate(-90deg); }
.score-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.score-label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); letter-spacing: 2px; }

/* ========== AUTH PAGE ========== */
.auth-container {
  min-height: calc(100vh - var(--nav-h));
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 60px 24px;
  gap: 60px;
}
.auth-visual { display: flex; justify-content: center; align-items: center; }
.auth-scanner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.scanner-frame {
  position: relative;
  width: 260px; height: 300px;
  border: 1px solid rgba(0,212,255,0.2);
}
.scanner-corner {
  position: absolute; width: 20px; height: 20px;
  border-color: var(--accent); border-style: solid;
}
.sc-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.sc-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.sc-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.sc-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.scanner-beam {
  position: absolute; left: 10px; right: 10px;
  height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
  top: 0; animation: scanBeam 2.5s linear infinite;
  box-shadow: 0 0 10px var(--accent);
}
.scanner-face { padding: 20px; }
.scanner-face svg { width: 120px; height: 140px; }
.scanner-label { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 4px; color: var(--accent); text-align: center; }
.auth-forms { max-width: 460px; width: 100%; }
.auth-form { display: none; }
.auth-form.active { display: block; }
.form-header { margin-bottom: 32px; }
.form-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }
.form-subtitle { font-size: 0.82rem; color: var(--text-muted); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; }
.input-wrapper { position: relative; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 1rem; z-index: 1; }
.cyber-input {
  width: 100%; padding: 12px 14px 12px 42px;
  background: rgba(0,212,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.cyber-input:focus { border-color: var(--accent); background: rgba(0,212,255,0.07); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.cyber-input option { background: #0a192f; }
input.cyber-input { padding-left: 42px; }
select.cyber-input { padding-left: 42px; cursor: pointer; }
.input-glow {
  position: absolute; inset: -1px; border-radius: var(--radius);
  background: transparent;
  pointer-events: none;
  transition: var(--transition);
}
.form-options { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; font-size: 0.78rem; }
.form-link { color: var(--accent); }
.form-link:hover { text-shadow: 0 0 8px var(--accent); }
.cyber-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cyber-checkbox input { display: none; }
.checkbox-mark {
  width: 16px; height: 16px;
  border: 1px solid var(--border);
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.cyber-checkbox input:checked ~ .checkbox-mark { background: var(--accent); border-color: var(--accent); }
.cyber-checkbox input:checked ~ .checkbox-mark::after { content: '✓'; font-size: 0.7rem; color: #000; font-weight: 700; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.form-divider span { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.password-strength { margin-top: 8px; }
.strength-bar { height: 3px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; margin-bottom: 4px; }
.strength-fill { height: 100%; border-radius: 2px; transition: all 0.3s ease; width: 0; }
.strength-text { font-family: var(--font-mono); font-size: 0.65px; color: var(--text-muted); font-size: 0.65rem; }
.auth-status { margin-top: 16px; padding: 10px; border-radius: var(--radius); font-family: var(--font-mono); font-size: 0.75rem; text-align: center; display: none; }
.auth-status.success { background: rgba(0,255,136,0.1); border: 1px solid rgba(0,255,136,0.3); color: var(--success); display: block; }
.auth-status.error { background: rgba(255,60,90,0.1); border: 1px solid rgba(255,60,90,0.3); color: var(--danger); display: block; }

/* ========== TOAST ========== */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  min-width: 280px;
  backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 12px;
  animation: toastIn 0.3s ease;
  font-size: 0.82rem;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger);  }
.toast.info    { border-left: 3px solid var(--accent);  }
.toast.warning { border-left: 3px solid var(--warning); }
.toast-icon { font-size: 1.1rem; }
.toast-msg { flex: 1; color: var(--text-primary); }

/* ========== LOADING OVERLAY ========== */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex; align-items: center; justify-content: center;
}
.loading-content { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loading-spinner { position: relative; width: 80px; height: 80px; }
.spinner-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent);
}
.r1 { width: 80px; height: 80px; animation: spinRing 1.2s linear infinite; }
.r2 { width: 60px; height: 60px; animation: spinRing 1.5s linear infinite reverse; border-top-color: rgba(0,212,255,0.5); }
.r3 { width: 40px; height: 40px; animation: spinRing 0.8s linear infinite; border-top-color: rgba(0,212,255,0.25); }
.spinner-core {
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 12px;
  transform: translate(-50%,-50%);
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: statusPulse 1.5s infinite;
}
.loading-text { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); letter-spacing: 3px; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ========== KEYFRAMES ========== */
@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInUp   { from { opacity:0; transform:translateY(20px);  } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLog  { from { opacity:0; transform:translateX(-10px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideInRow { from { opacity:0; transform:translateX(-20px); } to { opacity:1; transform:translateX(0); } }
@keyframes statusPulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
@keyframes brandPulse  { 0%,100% { filter:drop-shadow(0 0 4px rgba(0,212,255,0.4)); } 50% { filter:drop-shadow(0 0 12px rgba(0,212,255,0.8)); } }
@keyframes radarPulse  { 0%,100% { opacity:0.4; } 50% { opacity:0.8; } }
@keyframes radarSweep  { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes dotBlink    { 0%,100% { opacity:0.2; transform:scale(0.8); } 50% { opacity:1; transform:scale(1.2); } }
@keyframes circuitFlow { 0% { transform:translateX(-100%); opacity:0; } 50% { opacity:0.3; } 100% { transform:translateX(200%); opacity:0; } }
@keyframes metricPulse { 0%,100% { transform:translate(-50%,-50%) scale(1); opacity:0.3; } 50% { transform:translate(-50%,-50%) scale(1.2); opacity:0.1; } }
@keyframes scanBeam    { 0% { top:0; } 100% { top:100%; } }
@keyframes spinRing    { from { transform:translate(-50%,-50%) rotate(0deg); } to { transform:translate(-50%,-50%) rotate(360deg); } }
@keyframes toastIn     { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }
@keyframes modalOpen   { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
@keyframes progressRing { to { stroke-dashoffset:0; } }

/* ========== RESPONSIVE ========== */
@media (max-width:1024px) {
  .charts-grid { grid-template-columns: 1fr; }
  .auth-container { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .radar-container { display: none; }
}
@media (max-width:768px) {
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(0,0,0,0.95); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .options-grid { grid-template-columns: 1fr 1fr; }
  .reports-filter { flex-direction: column; }
}
@media (max-width:480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
