/* ============================================
   KORROSIV AI — Corroded Terminal Design
   ============================================ */

:root {
  --code-bg: #0A0A09;
  --void: #0D0C0B;
  --charred: #1A1918;
  --dark-panel: #141312;
  --acid: #D44A3A;
  --oxidised: #8B1A1A;
  --term-green: #4ADE80;
  --term-dim: #2A5A3A;
  --ash: #E8E4DE;
  --slag: #6B6862;
  --light-bg: #F5F3F0;
  --amber: #FBBF24;
  --medium: #CC8800;
  --green-fix: #2E7D32;

  --font-terminal: 'JetBrains Mono', monospace;
  --font-display: 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--code-bg);
  color: var(--ash);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ash); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--acid); }
img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.acid { color: var(--acid); }

/* --- SCANLINE OVERLAY --- */
.scanline-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(26, 25, 24, 0.06) 3px,
    rgba(26, 25, 24, 0.06) 4px
  );
  z-index: 2;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 9, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107, 104, 98, 0.12);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prompt-user { color: var(--acid); }
.prompt-at { color: var(--slag); }
.prompt-host { color: var(--term-green); }
.prompt-path { color: var(--slag); }
.prompt-cmd { color: var(--ash); }
.prompt-dim { color: var(--term-dim); font-family: var(--font-terminal); font-size: 0.8125rem; }

.nav-saltt {
  font-family: var(--font-body);
  font-size: 0.5625rem;
  color: var(--slag);
  margin-top: 3px;
}

.nav-links { display: flex; gap: 24px; }

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slag);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--term-green); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ash); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 32px 24px;
  gap: 12px;
  border-top: 1px solid rgba(107, 104, 98, 0.12);
}

.mobile-menu a {
  font-family: var(--font-terminal);
  font-size: 0.8125rem;
  color: var(--slag);
}

.mobile-menu.open { display: flex; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--code-bg);
  padding: 100px 32px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* Boot sequence */
.boot-sequence {
  font-family: var(--font-terminal);
  font-size: 0.8125rem;
  line-height: 2;
  margin-bottom: 48px;
}

.boot-line {
  opacity: 0;
  transform: translateY(4px);
}

.boot-line.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.3s;
}

.boot-line.dim { color: var(--term-dim); }
.boot-line.ok { color: var(--term-dim); }
.ok-text { color: var(--term-green); font-weight: 700; }

/* Hero main */
.hero-main {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-main.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--acid);
  border-radius: 2px;
  font-family: var(--font-terminal);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--acid);
  margin-bottom: 40px;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acid);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-logo-mark { margin-bottom: 24px; }

.hero-logo-img {
  width: 130px;
  filter: drop-shadow(0 0 40px rgba(212, 74, 58, 0.15));
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 10vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-tagline {
  font-family: var(--font-terminal);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--ash);
  margin-bottom: 16px;
}

.cursor {
  color: var(--term-green);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  font-size: 1rem;
  color: var(--slag);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Dashboard */
.hero-dashboard-wrapper {
  margin-top: 56px;
  perspective: 1200px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-dashboard-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-mockup {
  background: var(--charred);
  border: 1px solid rgba(107, 104, 98, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(212, 74, 58, 0.04);
  transform: rotateX(12deg) scale(0.92);
  transform-origin: center top;
  will-change: transform;
}

.dashboard-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(10, 10, 9, 0.8);
  border-bottom: 1px solid rgba(107, 104, 98, 0.12);
}

.dashboard-dot { width: 10px; height: 10px; border-radius: 50%; }
.dashboard-dot:first-child { background: #ff5f57; }
.dashboard-dot:nth-child(2) { background: #ffbd2e; }
.dashboard-dot:nth-child(3) { background: #28ca42; }

.dashboard-url {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-terminal);
  font-size: 0.6875rem;
  color: var(--slag);
  margin-left: 12px;
  background: rgba(10, 10, 9, 0.5);
  padding: 4px 12px;
  border-radius: 3px;
}

.dashboard-lock svg { color: #28ca42; }

.dashboard-body { display: flex; min-height: 260px; }

.dash-sidebar {
  width: 150px;
  flex-shrink: 0;
  background: rgba(10, 10, 9, 0.4);
  border-right: 1px solid rgba(107, 104, 98, 0.1);
  padding: 12px 0;
}

.dash-sidebar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  font-family: var(--font-terminal);
  font-size: 0.6875rem;
  color: var(--slag);
}

.dash-sidebar-item.active {
  color: var(--ash);
  background: rgba(212, 74, 58, 0.08);
  border-left: 2px solid var(--acid);
}

.dash-main {
  flex: 1; padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}

.dash-header { display: flex; justify-content: space-between; align-items: flex-start; }

.dash-target { font-family: var(--font-terminal); font-size: 0.8125rem; color: var(--ash); margin-bottom: 4px; }

.dash-status-line {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.6875rem; color: var(--slag);
}

.dash-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--acid);
  animation: pulse 1.5s ease-in-out infinite;
}

.dash-depth {
  font-family: var(--font-terminal);
  font-size: 0.6875rem;
  color: var(--acid);
  padding: 3px 8px;
  border: 1px solid rgba(212, 74, 58, 0.3);
  border-radius: 2px;
}

.dash-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.dash-metric {
  background: var(--code-bg);
  border: 1px solid rgba(107, 104, 98, 0.1);
  border-radius: 4px;
  padding: 10px;
  text-align: center;
}

.dash-metric-val {
  font-family: var(--font-terminal);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--term-green);
}

.critical-val { color: var(--acid); }
.high-val { color: #e07a5f; }

.dash-metric-label {
  font-family: var(--font-terminal);
  font-size: 0.5rem;
  color: var(--slag);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.dash-findings { display: flex; flex-direction: column; gap: 5px; }

.dash-finding {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: var(--code-bg);
  border: 1px solid rgba(107, 104, 98, 0.08);
  border-radius: 3px;
  opacity: 0;
  transform: translateX(-8px);
  animation: slideIn 0.4s forwards;
}

.dash-finding:nth-child(1) { animation-delay: 3.5s; }
.dash-finding:nth-child(2) { animation-delay: 4.2s; }
.dash-finding:nth-child(3) { animation-delay: 4.9s; }
.dash-finding:nth-child(4) { animation-delay: 5.6s; }

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

.dash-finding-text { font-family: var(--font-terminal); font-size: 0.6875rem; color: var(--ash); }

.dash-progress-row { display: flex; align-items: center; gap: 10px; margin-top: auto; }

.dash-progress-track { flex: 1; height: 3px; background: var(--code-bg); border-radius: 2px; overflow: hidden; }

.dash-progress-bar {
  width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--oxidised), var(--acid));
  animation: progress 6s 3s ease-out forwards;
}

@keyframes progress { to { width: 72%; } }

.dash-progress-label { font-family: var(--font-terminal); font-size: 0.5625rem; color: var(--slag); }

/* --- SECTIONS --- */
.section { position: relative; padding: 100px 0; background: var(--void); }
.section-dark { background: var(--code-bg); }
.section-panel { background: var(--dark-panel); }

/* Terminal prompt headers */
.terminal-prompt {
  font-family: var(--font-terminal);
  font-size: 0.8125rem;
  margin-bottom: 24px;
}

/* Display titles */
.display-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-desc {
  color: var(--slag);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* --- DATA READOUT CARDS --- */
.data-readout {
  background: var(--code-bg);
  padding: 24px 24px 24px 28px;
  position: relative;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.data-readout:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 74, 58, 0.06);
}

.readout-border {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--acid);
  border-radius: 3px 0 0 3px;
}

.readout-border.green { background: var(--term-green); }
.readout-border.oxidised { background: var(--oxidised); }

.readout-tag {
  font-family: var(--font-terminal);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.readout-tag.green-tag { color: var(--term-green); }

.readout-title {
  font-family: var(--font-terminal);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ash);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.readout-num {
  font-family: var(--font-terminal);
  font-size: 2rem;
  font-weight: 700;
  color: var(--term-green);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.5;
}

.data-readout p {
  font-size: 0.875rem;
  color: var(--slag);
  line-height: 1.6;
}

/* --- ORIGIN STORY --- */
.origin-flow {
  margin-top: 40px;
}

.origin-text {
  color: var(--slag);
  line-height: 1.8;
  margin: 24px 0;
  font-size: 0.9375rem;
}

.origin-text strong, .origin-text em {
  color: var(--ash);
}

.highlight-text {
  color: var(--ash) !important;
  font-size: 1.0625rem;
  font-weight: 500;
}

/* Code blocks */
.code-block {
  background: var(--code-bg);
  border-radius: 4px;
  position: relative;
  padding: 20px 20px 20px 24px;
  overflow-x: auto;
  margin: 24px 0;
}

.code-block.highlight {
  background: rgba(10, 10, 9, 0.95);
  border: 1px solid rgba(74, 222, 128, 0.1);
}

.code-border {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--acid);
  border-radius: 3px 0 0 3px;
}

.code-border.green { background: var(--term-green); }

.code-content {
  font-family: var(--font-terminal);
  font-size: 0.75rem;
  line-height: 1.9;
}

.code-comment { color: var(--slag); }
.code-cmd { color: var(--ash); }
.code-val { color: var(--acid); font-weight: 700; }
.code-slag { color: var(--slag); }
.code-green { color: var(--term-green); font-weight: 700; }
.code-acid { color: var(--acid); font-weight: 700; }

/* Reasoning section */
.reasoning-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(107, 104, 98, 0.15);
}

.reasoning-heading {
  font-family: var(--font-terminal);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.reasoning-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .reasoning-bars { grid-template-columns: 1fr; }
}

.reasoning-bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reasoning-label {
  font-family: var(--font-terminal);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ash);
}

.reasoning-track {
  height: 8px;
  background: var(--dark-panel);
  border-radius: 4px;
  overflow: hidden;
}

.reasoning-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reasoning-fill.human {
  background: var(--slag);
  width: 25%;
}

.reasoning-fill.ai {
  background: linear-gradient(90deg, var(--term-dim), var(--term-green));
  width: 0%;
}

.reasoning-fill.ai.animated {
  width: 100%;
}

.reasoning-pct {
  font-family: var(--font-terminal);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slag);
}

.reasoning-pct.green-pct {
  color: var(--term-green);
}

.reasoning-note {
  font-weight: 400;
  font-size: 0.6875rem;
  color: var(--slag);
  margin-left: 4px;
}

/* --- SEVERITY BADGES --- */
.sev-badge {
  font-family: var(--font-terminal);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
  color: white;
}

.sev-badge.critical { background: var(--acid); }
.sev-badge.high { background: var(--oxidised); }
.sev-badge.medium { background: var(--medium); }

/* --- GRIDS --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-left .terminal-prompt { margin-bottom: 24px; }
.about-left .display-title { margin-bottom: 24px; }
.about-left p { color: var(--slag); margin-bottom: 16px; line-height: 1.8; }
.about-left em { color: var(--ash); }
.about-left strong { color: var(--ash); font-weight: 600; }

.about-pillars { display: grid; gap: 16px; align-content: center; min-height: 100%; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 40px;
}

.vuln-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }

.vuln-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

.vuln-meta span {
  font-family: var(--font-terminal);
  font-size: 0.625rem;
  color: var(--slag);
  padding: 2px 6px;
  border: 1px solid rgba(107, 104, 98, 0.2);
  border-radius: 2px;
}

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }

.stat-num {
  font-family: var(--font-terminal);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--term-green);
  line-height: 1.2;
  margin-bottom: 6px;
}

.recognition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.quote-text {
  font-style: italic;
  color: var(--slag) !important;
  margin-bottom: 12px !important;
  line-height: 1.7 !important;
}

.quote-source {
  font-family: var(--font-terminal);
  font-size: 0.625rem;
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- TIMELINE --- */
.timeline {
  display: flex; flex-direction: column;
  padding-left: 24px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(107, 104, 98, 0.25);
}

.timeline-item { display: flex; gap: 16px; padding: 14px 0; position: relative; }

.timeline-marker {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid var(--slag);
  background: var(--code-bg);
  flex-shrink: 0;
  margin-left: -24px;
  margin-top: 2px;
  z-index: 1;
}

.timeline-item.old .timeline-marker { opacity: 0.4; }

.timeline-marker.alert {
  border-color: var(--acid);
  background: rgba(212, 74, 58, 0.15);
  box-shadow: 0 0 10px rgba(212, 74, 58, 0.2);
  opacity: 1;
}

.timeline-label {
  font-family: var(--font-terminal);
  font-size: 0.625rem;
  color: var(--slag);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.timeline-content p { font-size: 0.8125rem; color: var(--slag); line-height: 1.5; }
.timeline-item.old .timeline-content p { opacity: 0.5; }
.problem-highlight .timeline-content p { color: var(--ash); opacity: 1; }
.problem-highlight .timeline-content strong { color: var(--acid); }
.problem-highlight .timeline-label { color: var(--acid); }

.alert-readout {
  margin-top: 20px;
  background: var(--code-bg);
  padding: 20px 20px 20px 24px;
  position: relative;
  border-radius: 4px;
}

.alert-readout .readout-border { background: var(--acid); }
.alert-readout p { font-size: 0.875rem; color: var(--slag); line-height: 1.6; }
.alert-readout strong { color: var(--ash); }

/* --- COMPARISON --- */
.compare-grid { display: flex; align-items: stretch; gap: 0; margin-top: 40px; }

.compare-col { flex: 1; padding: 32px; border-radius: 4px; }
.compare-old { background: var(--charred); }
.compare-new { background: rgba(212, 74, 58, 0.04); border: 1px solid rgba(212, 74, 58, 0.15); }

.compare-col h3 {
  font-family: var(--font-terminal);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(107, 104, 98, 0.15);
}

.compare-old h3 { color: var(--slag); }

.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.compare-col li {
  font-family: var(--font-terminal);
  font-size: 0.8125rem;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.compare-old li { color: var(--slag); }
.compare-new li { color: var(--ash); }

.diff-minus {
  position: absolute; left: 0;
  color: var(--acid);
  font-weight: 700;
}

.diff-plus {
  position: absolute; left: 0;
  color: var(--term-green);
  font-weight: 700;
}

.compare-divider {
  display: flex; align-items: center; justify-content: center;
  width: 48px; flex-shrink: 0;
}

.compare-divider span {
  font-family: var(--font-terminal);
  font-size: 0.75rem;
  color: var(--slag);
}

/* --- SECTION DIVIDER --- */
.section-divider {
  position: relative;
  background: var(--code-bg);
  padding: 28px 0;
  overflow: hidden;
}

.section-divider .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 5;
}

.divider-text {
  font-family: var(--font-terminal);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--acid);
  letter-spacing: 0.06em;
}

.divider-bar {
  font-family: var(--font-terminal);
  font-size: 0.75rem;
  color: var(--term-green);
}

.bar-fill { letter-spacing: -0.05em; }

/* --- FOOTER --- */
.footer {
  position: relative;
  background: var(--code-bg);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  z-index: 5;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 6px;
}

.footer-saltt { font-size: 0.75rem; color: var(--slag); }
.footer-saltt strong { color: var(--ash); font-weight: 600; }

.footer-tagline p { font-size: 0.8125rem; color: var(--slag); font-style: italic; }

.footer-prompt {
  font-family: var(--font-terminal);
  font-size: 0.8125rem;
}

.footer-dots {
  font-size: 0.875rem;
  color: var(--charred);
  letter-spacing: 0.5em;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 5;
}

.footer-legal {
  font-size: 0.6875rem;
  color: var(--slag);
  text-align: center;
  position: relative;
  z-index: 5;
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-grid, .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
  .vuln-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .recognition-grid { grid-template-columns: 1fr; }
  .compare-grid { flex-direction: column; gap: 16px; }
  .compare-divider { width: 100%; height: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 90px 20px 40px; }
  .cap-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 20px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
}

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