@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Orbitron:wght@700;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #050508;
  --bg-card: rgba(10, 10, 16, 0.85);
  --bg-elevated: rgba(15, 15, 24, 0.9);
  --matrix-green: #00ff41;
  --matrix-dim: #00aa2a;
  --cyan: #00d4ff;
  --cyan-glow: rgba(0, 212, 255, 0.4);
  --cyan-dim: rgba(0, 212, 255, 0.1);
  --text: #e0e0e0;
  --text-secondary: #888898;
  --text-dim: #555565;
  --border: rgba(0, 255, 65, 0.12);
  --border-hover: rgba(0, 255, 65, 0.4);
  --red: #ff4757;
  --orange: #ffa502;
  --green: #2ed573;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============ MATRIX RAIN ============ */
#matrix-rain {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
}

.scanlines {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1) 0px,
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 4px
  );
}

.content {
  position: relative;
  z-index: 10;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

nav.scrolled { background: rgba(5, 5, 8, 0.95); }

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--matrix-green);
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-logo:hover {
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.8);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--matrix-green);
  box-shadow: 0 0 10px var(--matrix-green);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--matrix-green);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--matrix-green);
  color: var(--bg);
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.nav-cta:hover {
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.6), 0 0 60px rgba(0, 255, 65, 0.3);
  transform: translateY(-2px);
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--matrix-green);
  color: var(--bg);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.6), 0 0 80px rgba(0, 255, 65, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 65, 0.05);
  color: var(--matrix-green);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(0, 255, 65, 0.3);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 255, 65, 0.15);
  border-color: var(--matrix-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transform: translateY(-2px);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
  margin-bottom: 2rem;
}

.btn-back:hover {
  color: var(--matrix-green);
  transform: translateX(-4px);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 255, 65, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 10; }

.hero-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--matrix-green);
  text-shadow:
    0 0 10px var(--matrix-green),
    0 0 20px var(--matrix-green),
    0 0 40px var(--matrix-green),
    0 0 80px rgba(0, 60, 0, 0.8);
  animation: glowPulse 3s ease-in-out infinite, glitchText 8s infinite;
  margin-bottom: 0.25rem;
  transition: all 0.3s;
}

.hero-logo:hover {
  text-shadow:
    0 0 20px var(--matrix-green),
    0 0 40px var(--matrix-green),
    0 0 80px var(--matrix-green),
    0 0 120px rgba(0, 255, 65, 0.5);
}

.hero-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  color: rgba(0, 255, 65, 0.5);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
}

.hero-subheadline {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.scroll-indicator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(0, 255, 65, 0.4);
  letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}

/* ============ PAGE HEADER (for sub-pages) ============ */
.page-header {
  padding: 8rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-header .section-label {
  margin-bottom: 1rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
}

/* ============ SECTIONS ============ */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--matrix-green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  line-height: 1.7;
}

/* ============ DIVIDER ============ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--matrix-green), transparent);
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0.3;
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

/* ============ STATS BAR ============ */
.stats-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.stat-item {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}

.stat-item:hover {
  background: var(--bg-elevated);
  transform: scale(1.02);
}

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  transition: all 0.3s;
}

.stat-item:hover .stat-value {
  transform: scale(1.1);
}

.stat-value.red { color: var(--red); text-shadow: 0 0 15px rgba(255, 71, 87, 0.4); }
.stat-value.orange { color: var(--orange); text-shadow: 0 0 15px rgba(255, 165, 2, 0.4); }
.stat-value.cyan { color: var(--cyan); text-shadow: 0 0 15px rgba(0, 212, 255, 0.4); }
.stat-value.green { color: var(--green); text-shadow: 0 0 15px rgba(46, 213, 115, 0.4); }

.stat-item:hover .stat-value.red { text-shadow: 0 0 25px rgba(255, 71, 87, 0.6); }
.stat-item:hover .stat-value.orange { text-shadow: 0 0 25px rgba(255, 165, 2, 0.6); }
.stat-item:hover .stat-value.cyan { text-shadow: 0 0 25px rgba(0, 212, 255, 0.6); }
.stat-item:hover .stat-value.green { text-shadow: 0 0 25px rgba(46, 213, 115, 0.6); }

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.stat-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
  transition: color 0.3s;
}

.stat-source a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.stat-source a:hover {
  color: var(--matrix-green);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* ============ CARDS (THREATS, CASES, SERVICES) ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 255, 65, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover::before { opacity: 1; }

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 255, 65, 0.1);
}

.card-clickable {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-clickable:hover .card-title {
  color: var(--matrix-green);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-elevated);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.card:hover .card-num {
  background: rgba(0, 255, 65, 0.1);
  color: var(--matrix-green);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card-stat {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--red);
  background: rgba(255, 71, 87, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 71, 87, 0.2);
  transition: all 0.3s;
}

.card:hover .card-stat {
  background: rgba(255, 71, 87, 0.25);
  box-shadow: 0 0 15px rgba(255, 71, 87, 0.2);
}

.card-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.card-badge.critical { color: var(--red); background: rgba(255, 71, 87, 0.15); border: 1px solid rgba(255, 71, 87, 0.25); }
.card-badge.warning { color: var(--orange); background: rgba(255, 165, 2, 0.15); border: 1px solid rgba(255, 165, 2, 0.25); }
.card-badge.info { color: var(--cyan); background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.2); }

.card:hover .card-badge.critical { box-shadow: 0 0 15px rgba(255, 71, 87, 0.3); }
.card:hover .card-badge.warning { box-shadow: 0 0 15px rgba(255, 165, 2, 0.3); }
.card:hover .card-badge.info { box-shadow: 0 0 15px rgba(0, 212, 255, 0.3); }

.card-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-dim);
  transition: all 0.3s;
}

.card-source a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.card-source a:hover {
  color: var(--matrix-green);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--matrix-green);
  margin-top: 1rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

.card:hover .card-link {
  opacity: 1;
  transform: translateX(0);
}

/* ============ SERVICE CARDS ============ */
.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 255, 65, 0.1);
}

.service-card.featured {
  border-color: var(--matrix-green);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.1);
}

.service-card.featured::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--bg);
  background: var(--matrix-green);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.service-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-card.featured .card-title {
  color: var(--matrix-green);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.service-card:hover .card-title {
  color: var(--matrix-green);
}

.service-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.service-features { list-style: none; }

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  transition: all 0.3s;
}

.service-features li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--matrix-green);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  transition: all 0.3s;
}

.service-card:hover .service-features li {
  color: var(--text);
}

.service-card:hover .service-features li::before {
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* ============ CHECKLIST ============ */
.check-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.check-header-text { max-width: 500px; }

.score-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 2.5rem;
  text-align: center;
  min-width: 180px;
  transition: all 0.3s;
}

.score-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.1);
}

.score-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 600;
  transition: all 0.3s;
}

.score-value.critical { color: var(--red); text-shadow: 0 0 20px rgba(255, 71, 87, 0.5); }
.score-value.moderate { color: var(--orange); text-shadow: 0 0 20px rgba(255, 165, 2, 0.5); }
.score-value.strong { color: var(--green); text-shadow: 0 0 20px rgba(46, 213, 115, 0.5); }

.score-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.score-label.critical { color: var(--red); }
.score-label.moderate { color: var(--orange); }
.score-label.strong { color: var(--green); }

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.check-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
}

.check-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
  transform: translateX(5px);
}

.check-item.checked {
  border-color: var(--green);
  background: rgba(46, 213, 115, 0.08);
  box-shadow: 0 0 20px rgba(46, 213, 115, 0.15);
}

.check-box {
  width: 22px; height: 22px;
  border: 2px solid var(--text-dim);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s;
  margin-top: 1px;
}

.check-item:hover .check-box {
  border-color: var(--matrix-green);
}

.check-item.checked .check-box {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg);
  box-shadow: 0 0 15px rgba(46, 213, 115, 0.5);
}

.check-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  transition: all 0.3s;
}

.check-item:hover .check-title {
  color: var(--matrix-green);
}

.check-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============ CTA ============ */
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
}

.cta-box {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--matrix-green);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 0 50px rgba(0, 255, 65, 0.1);
  transition: all 0.3s;
}

.cta-box:hover {
  box-shadow: 0 0 80px rgba(0, 255, 65, 0.15);
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1rem;
  color: var(--matrix-green);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-contact { text-align: right; }

.footer-contact-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.footer-sources {
  font-size: 0.65rem;
  color: var(--text-dim);
  line-height: 1.8;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-sources a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-sources a:hover {
  color: var(--matrix-green);
}

/* ============ CONTENT SECTIONS (for detail pages) ============ */
.content-section {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-section ul {
  list-style: none;
  margin: 1.5rem 0;
}

.content-section ul li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}

.content-section ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--matrix-green);
  font-family: 'JetBrains Mono', monospace;
}

.content-section .highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--matrix-green);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.content-section .highlight-box p {
  margin-bottom: 0;
}

.content-section .stat-highlight {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 600;
  color: var(--matrix-green);
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

/* ============ ANIMATIONS ============ */
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 10px var(--matrix-green), 0 0 20px var(--matrix-green), 0 0 40px var(--matrix-green); }
  50% { text-shadow: 0 0 20px var(--matrix-green), 0 0 40px var(--matrix-green), 0 0 80px var(--matrix-green), 0 0 120px rgba(0, 60, 0, 0.5); }
}

@keyframes glitchText {
  0%, 95%, 100% { transform: none; filter: none; }
  96% { transform: translateX(-2px) skewX(-1deg); filter: hue-rotate(90deg); }
  97% { transform: translateX(2px) skewX(1deg); filter: hue-rotate(-90deg); }
  98% { transform: translateX(-1px); filter: none; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .check-header { flex-direction: column; align-items: stretch; }
  .score-card { width: 100%; }
  .footer-grid { flex-direction: column; }
  .footer-contact { text-align: left; }
  .card-grid { grid-template-columns: 1fr; }
}
</style>
