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

:root {
  --bg-base: #08090c;
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-card: #1c2128;
  --bg-card-hover: #212830;
  --border: #21262d;
  --border-light: #30363d;
  --red: #dc2626;
  --red-light: #ef4444;
  --red-dark: #b91c1c;
  --red-glow: rgba(220,38,38,0.15);
  --red-glow-strong: rgba(220,38,38,0.3);
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #656d76;
  --green: #3fb950;
  --yellow: #d29922;
  --blue: #388bfd;
  --purple: #a371f7;
  --orange: #f0883e;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-red: 0 0 24px rgba(220,38,38,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

img { max-width: 100%; }

/* ─── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ─── LAYOUT ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ─── NAV ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,9,12,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  padding: 6px 14px; border-radius: var(--radius);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-secondary); }
.nav-links a.active { color: var(--red-light); }
.nav-cta {
  background: var(--red); color: #fff !important;
  border-radius: var(--radius); padding: 8px 18px !important;
  font-weight: 600 !important; font-size: 13px !important;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; box-shadow: var(--shadow-red); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 0;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(220,38,38,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(220,38,38,0.06) 0%, transparent 50%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
  background-image: linear-gradient(var(--border-light) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3);
  border-radius: 999px; padding: 6px 14px;
  font-size: 12px; font-weight: 600; color: var(--red-light);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge span { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--red-light); }
.hero p {
  font-size: 1.1rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero-stat { }
.hero-stat .num {
  font-size: 1.8rem; font-weight: 800; color: var(--text-primary);
  font-family: var(--font-mono);
}
.hero-stat .num span { color: var(--red-light); }
.hero-stat .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── TERMINAL ───────────────────────────────────── */
.terminal-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 60px rgba(220,38,38,0.08);
}
.terminal-bar {
  background: var(--bg-card);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }
.terminal-title { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); margin-left: auto; margin-right: auto; }
.terminal-body {
  padding: 20px 24px;
  font-family: var(--font-mono); font-size: 13px;
  line-height: 1.8; min-height: 280px;
}
.t-prompt { color: var(--red-light); }
.t-path { color: var(--blue); }
.t-cmd { color: var(--text-primary); }
.t-out { color: var(--text-secondary); }
.t-success { color: var(--green); }
.t-warn { color: var(--yellow); }
.t-red { color: var(--red-light); }
.t-line { display: block; margin-bottom: 2px; }
.cursor {
  display: inline-block; width: 8px; height: 16px;
  background: var(--red); vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; cursor: pointer;
  border: none; transition: all 0.2s; text-decoration: none;
  font-family: var(--font-main);
}
.btn-primary {
  background: var(--red); color: #fff;
}
.btn-primary:hover { background: var(--red-dark); box-shadow: var(--shadow-red); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { color: var(--text-primary); border-color: var(--text-secondary); background: var(--bg-secondary); }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn svg { width: 16px; height: 16px; }

/* ─── SECTION ────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-header { margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p { color: var(--text-secondary); font-size: 1rem; max-width: 540px; }
.section-header .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--red-light);
  margin-bottom: 10px; display: block;
  font-family: var(--font-mono);
}
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── CARDS ──────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.card:hover { border-color: rgba(220,38,38,0.4); background: var(--bg-card-hover); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--red-glow); border: 1px solid rgba(220,38,38,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--red-light); font-size: 20px;
}
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }

/* ─── LAB CARD ───────────────────────────────────── */
.lab-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.lab-card:hover { border-color: rgba(220,38,38,0.4); transform: translateY(-3px); box-shadow: var(--shadow-red); color: inherit; }
.lab-card-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.lab-card-body { padding: 18px 22px; flex: 1; }
.lab-card-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0,0,0,0.2);
}
.lab-card-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.lab-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.lab-card-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 16px; }
.lab-card-meta span { display: flex; align-items: center; gap: 5px; }

/* ─── BADGES ─────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  font-family: var(--font-mono);
}
.badge-red { background: rgba(220,38,38,0.15); color: var(--red-light); border: 1px solid rgba(220,38,38,0.3); }
.badge-green { background: rgba(63,185,80,0.12); color: var(--green); border: 1px solid rgba(63,185,80,0.25); }
.badge-yellow { background: rgba(210,153,34,0.15); color: var(--yellow); border: 1px solid rgba(210,153,34,0.3); }
.badge-blue { background: rgba(56,139,253,0.12); color: var(--blue); border: 1px solid rgba(56,139,253,0.25); }
.badge-purple { background: rgba(163,113,247,0.12); color: var(--purple); border: 1px solid rgba(163,113,247,0.25); }
.badge-orange { background: rgba(240,136,62,0.15); color: var(--orange); border: 1px solid rgba(240,136,62,0.3); }
.badge-gray { background: rgba(139,148,158,0.1); color: var(--text-secondary); border: 1px solid var(--border-light); }

/* difficulty badges */
.diff-easy { background: rgba(63,185,80,0.12); color: var(--green); border: 1px solid rgba(63,185,80,0.25); }
.diff-medium { background: rgba(210,153,34,0.15); color: var(--yellow); border: 1px solid rgba(210,153,34,0.3); }
.diff-hard { background: rgba(220,38,38,0.15); color: var(--red-light); border: 1px solid rgba(220,38,38,0.3); }

/* ─── GRIDS ──────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ─── STATS BAR ──────────────────────────────────── */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
.stat-item { padding: 16px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.2rem; font-weight: 800; color: var(--text-primary);
  font-family: var(--font-mono); line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--red-light); }
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── CODE BLOCKS ────────────────────────────────── */
pre, .code-block {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 20px 0;
  position: relative;
}
pre code { background: none; padding: 0; font-size: inherit; }
code {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--red-light);
}
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border);
  border-bottom: none; border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 16px; font-size: 12px; color: var(--text-muted);
  font-family: var(--font-mono);
}
.code-header + pre { border-radius: 0 0 var(--radius) var(--radius); margin-top: 0; }

/* ─── ALERT BOXES ────────────────────────────────── */
.alert {
  border-radius: var(--radius); padding: 14px 18px;
  margin: 16px 0; font-size: 14px; display: flex; gap: 10px;
  border-left: 3px solid;
}
.alert-info { background: rgba(56,139,253,0.08); border-color: var(--blue); color: #79c0ff; }
.alert-warn { background: rgba(210,153,34,0.08); border-color: var(--yellow); color: #e3b341; }
.alert-danger { background: rgba(220,38,38,0.08); border-color: var(--red); color: #ff7b72; }
.alert-success { background: rgba(63,185,80,0.08); border-color: var(--green); color: #56d364; }
.alert-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ─── TABLE ──────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th {
  background: var(--bg-card); color: var(--text-secondary);
  font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border);
}
td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }
td code { font-size: 12px; }

/* ─── TAGS ───────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; padding: 3px 10px; border-radius: 4px;
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  color: var(--text-muted); font-family: var(--font-mono);
  transition: all 0.2s;
}
.tag:hover { color: var(--red-light); border-color: rgba(220,38,38,0.4); background: var(--red-glow); }

/* ─── PAGE HEADER ────────────────────────────────── */
.page-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% -20%, rgba(220,38,38,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-inner { position: relative; }
.page-header .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red-light); margin-bottom: 10px; display: block; font-family: var(--font-mono); }
.page-header h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.page-header p { color: var(--text-secondary); font-size: 1rem; max-width: 600px; }

/* ─── SIDEBAR LAYOUT ─────────────────────────────── */
.content-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: 84px; }
.sidebar-nav { list-style: none; }
.sidebar-section { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); padding: 12px 12px 6px; font-family: var(--font-mono); }
.sidebar-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--radius);
  font-size: 13.5px; color: var(--text-secondary);
  transition: all 0.2s; border: 1px solid transparent;
}
.sidebar-nav a:hover { color: var(--text-primary); background: var(--bg-secondary); }
.sidebar-nav a.active { color: var(--red-light); background: var(--red-glow); border-color: rgba(220,38,38,0.3); }

/* ─── CONTENT PROSE ──────────────────────────────── */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 12px; color: var(--text-primary); }
.prose h4 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; color: var(--text-secondary); }
.prose p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.75; }
.prose ul, .prose ol { color: var(--text-secondary); padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; line-height: 1.65; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.prose .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; background: var(--red); color: #fff;
  border-radius: 50%; font-size: 12px; font-weight: 700;
  flex-shrink: 0; font-family: var(--font-mono);
}
.step { display: flex; gap: 16px; margin-bottom: 24px; padding: 20px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-content { flex: 1; }
.step-content h4 { margin-top: 0; color: var(--text-primary); }

/* ─── OBJECTIVE BOX ──────────────────────────────── */
.objectives {
  background: rgba(220,38,38,0.05);
  border: 1px solid rgba(220,38,38,0.25);
  border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 32px;
}
.objectives h4 { color: var(--red-light); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; font-family: var(--font-mono); }
.objectives ul { list-style: none; padding: 0; margin: 0; }
.objectives li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-secondary); font-size: 14px; margin-bottom: 8px; }
.objectives li::before { content: '▸'; color: var(--red-light); flex-shrink: 0; font-size: 12px; margin-top: 2px; }

/* ─── FILTER BAR ─────────────────────────────────── */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.filter-btn {
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--bg-secondary); color: var(--text-secondary);
  border: 1px solid var(--border-light); cursor: pointer; transition: all 0.2s;
  font-family: var(--font-mono);
}
.filter-btn:hover, .filter-btn.active { background: var(--red-glow); color: var(--red-light); border-color: rgba(220,38,38,0.4); }

/* ─── SEARCH ─────────────────────────────────────── */
.search-bar {
  position: relative; margin-bottom: 24px;
}
.search-bar input {
  width: 100%; background: var(--bg-secondary);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 11px 16px 11px 42px;
  color: var(--text-primary); font-size: 14px; font-family: var(--font-main);
  transition: border-color 0.2s;
}
.search-bar input:focus { outline: none; border-color: var(--red); }
.search-bar input::placeholder { color: var(--text-muted); }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 13.5px; margin-top: 12px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); margin-bottom: 14px; font-family: var(--font-mono); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 13.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--red-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--red-light); }

/* ─── PROGRESS ───────────────────────────────────── */
.progress-bar { background: var(--bg-secondary); border-radius: 999px; height: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--red); border-radius: 999px; transition: width 0.8s ease; }

/* ─── BREADCRUMB ─────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb span { opacity: 0.4; }

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.7;transform:scale(1.3)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp 0.5s ease forwards; }

/* ─── MOBILE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-terminal { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .nav-links { display: none; }
}

/* ─── TOPIC ICON COLORS ──────────────────────────── */
.icon-kali { color: #ef4444; }
.icon-net { color: #388bfd; }
.icon-web { color: #a371f7; }
.icon-crypto { color: #d29922; }
.icon-ccna { color: #3fb950; }
.icon-forensics { color: #f0883e; }
