/* ═══════════════════════════════════════════════════════════════
   LearnCEH.com — Cybersecurity Hacker Theme Stylesheet
   Fonts: Orbitron (display), Roboto Mono (code), Inter (body)
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --bg-deep: #040607;
  --bg-primary: #080b0f;
  --bg-card: #0c1017;
  --bg-card-hover: #101620;
  --bg-surface: #111822;

  --neon: #00ff41;
  --neon-dim: rgba(0, 255, 65, 0.5);
  --neon-ghost: rgba(0, 255, 65, 0.08);
  --neon-glow: 0 0 20px rgba(0, 255, 65, 0.3);
  --neon-glow-strong: 0 0 40px rgba(0, 255, 65, 0.5), 0 0 80px rgba(0, 255, 65, 0.15);

  --cyan: #00d4ff;
  --red: #ff3e3e;
  --amber: #ffb800;

  --text-primary: #e0e4ea;
  --text-secondary: rgba(224, 228, 234, 0.55);
  --text-ghost: rgba(224, 228, 234, 0.25);

  --border: rgba(0, 255, 65, 0.08);
  --border-hover: rgba(0, 255, 65, 0.2);

  --font-display: 'Orbitron', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --font-body: 'Inter', sans-serif;

  --radius: 6px;
  --radius-lg: 12px;

  --header-h: 70px;
  --max-w: 1320px;
  --sidebar-w: 280px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--neon);
  text-decoration: none;
  transition: color 0.25s, text-shadow 0.25s;
}
a:hover {
  text-shadow: 0 0 10px var(--neon-dim);
}

img { max-width: 100%; display: block; }

::selection {
  background: var(--neon);
  color: var(--bg-deep);
}

/* ─── MATRIX CANVAS ─── */
#matrixCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(4, 6, 7, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(4, 6, 7, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo:hover { text-shadow: none; }
.logo-bracket {
  color: var(--neon);
  font-weight: 400;
  opacity: 0.6;
}
.logo-accent {
  color: var(--neon);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--neon);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Navigation */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color 0.25s, background 0.25s;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--neon);
  background: var(--neon-ghost);
}

.chevron { transition: transform 0.3s; }

/* Dropdown */
.has-dropdown {
  position: relative;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  z-index: 100;
  list-style: none;
}
.dropdown.open { display: block; }
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.dropdown a:hover {
  background: var(--neon-ghost);
  color: var(--neon);
  text-shadow: none;
}

/* CTA in Nav */
.nav-cta {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--neon);
  padding: 10px 20px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
}
.nav-cta:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-1px);
  text-shadow: none;
  color: var(--bg-deep);
}
.cta-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  animation: ctaPulse 2s ease-out infinite;
}
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.6); }
  100% { box-shadow: 0 0 0 30px rgba(0, 255, 65, 0); }
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 24px 60px;
  overflow: hidden;
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 65, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 800px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 255, 65, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
}

.hero-terminal-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--neon);
  opacity: 0.6;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.glow-text {
  color: var(--neon);
  text-shadow: var(--neon-glow);
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--text-secondary);
  margin-bottom: 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-ghost);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: rgba(0, 255, 65, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 36px;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--neon);
  display: block;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-ghost);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ─── BUTTONS ─── */
.btn {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--neon);
  color: var(--bg-deep);
}
.btn-primary:hover {
  box-shadow: var(--neon-glow-strong);
  transform: translateY(-2px);
  color: var(--bg-deep);
  text-shadow: none;
}
.btn-outline {
  background: transparent;
  color: var(--neon);
  border: 1px solid var(--neon-dim);
}
.btn-outline:hover {
  background: var(--neon-ghost);
  box-shadow: var(--neon-glow);
}
.btn-sm { padding: 10px 20px; font-size: 11px; }
.btn-lg { padding: 18px 36px; font-size: 13px; }

/* ═══════════════════════════════════════════
   PAGE LAYOUT (Main + Sidebar)
   ═══════════════════════════════════════════ */
.page-layout {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 40px;
}

.main-content {
  min-width: 0;
}

/* ─── SECTION COMMONS ─── */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon);
  opacity: 0.4;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.accent { color: var(--neon); }

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-text strong { color: var(--text-primary); }

.about-subtitle {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--neon);
  margin: 24px 0 14px;
  letter-spacing: 0.5px;
}

.cyber-list {
  list-style: none;
}
.cyber-list li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.list-marker {
  color: var(--neon);
  font-weight: 700;
  opacity: 0.7;
}

/* Terminal Window */
.terminal-window {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-ghost);
  margin-left: auto;
}
.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 2;
}
.terminal-body p { margin-bottom: 2px; }
.t-green { color: var(--neon); }
.t-dim { color: var(--text-secondary); opacity: 0.7; }
.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--neon);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ═══════════════════════════════════════════
   CEH MODULES GRID
   ═══════════════════════════════════════════ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Card link wrappers (modules & careers) */
.module-card-link,
.career-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.module-card-link:hover,
.career-card-link:hover {
  text-shadow: none;
}
.module-card-link:hover .module-card,
.career-card-link:hover .career-card {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.module-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--neon);
  opacity: 0.4;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.module-card h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  line-height: 1.5;
}

.module-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CERTIFICATION PATH
   ═══════════════════════════════════════════ */
.path-timeline {
  max-width: 600px;
}

.path-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.path-node {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--neon);
  background: var(--bg-card);
  transition: all 0.3s;
}
.path-node.elite {
  border-color: var(--neon);
  box-shadow: var(--neon-glow);
  background: rgba(0, 255, 65, 0.08);
}

.path-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.path-info h3 a {
  color: var(--text-primary);
  transition: color 0.25s, text-shadow 0.25s;
}
.path-info h3 a:hover {
  color: var(--neon);
  text-shadow: 0 0 12px rgba(0,255,65,0.3);
}

.badge-elite {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bg-deep);
  background: var(--neon);
  padding: 2px 8px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
}

.path-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.path-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border-hover), var(--border));
  margin-left: 23px;
}

/* ═══════════════════════════════════════════
   CAREER SECTION
   ═══════════════════════════════════════════ */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.career-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.career-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.career-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════ */
.video-placeholder {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-lg);
}
.video-icon {
  color: var(--neon);
  margin-bottom: 20px;
}
.video-placeholder h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.video-placeholder p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   BLOG SECTION
   ═══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.blog-meta { margin-bottom: 12px; }
.blog-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--neon);
  opacity: 0.6;
  background: var(--neon-ghost);
  padding: 3px 10px;
  border-radius: 3px;
}

.blog-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}
.blog-card h3 a {
  color: var(--text-primary);
  transition: color 0.25s;
}
.blog-card h3 a:hover {
  color: var(--neon);
  text-shadow: none;
}

.blog-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════ */
.sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-header {
  margin-bottom: 20px;
}
.sidebar-icon {
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
}
.sidebar-header h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.sidebar-header p {
  font-size: 12px;
  color: var(--text-ghost);
  line-height: 1.6;
}

/* VPN Cards */
.vpn-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  transition: border-color 0.3s;
}
.vpn-card:hover {
  border-color: var(--border-hover);
}

.vpn-featured {
  border-color: var(--neon-dim);
  background: rgba(0, 255, 65, 0.03);
}

.vpn-badge {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bg-deep);
  background: var(--neon);
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
}

.vpn-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.vpn-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.vpn-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon);
  opacity: 0.7;
  transition: opacity 0.25s;
}
.vpn-link:hover { opacity: 1; text-shadow: none; }
.vpn-link.featured { opacity: 1; font-weight: 500; }

/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.cta-banner {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(0, 255, 65, 0.03) 50%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 1;
  background: #030405;
  overflow: hidden;
}

.footer-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0, 255, 65, 0.012) 2px,
    rgba(0, 255, 65, 0.012) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 65, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%, rgba(0,255,65,0) 10%, rgba(0,255,65,0.5) 30%,
    rgba(0,255,65,0.8) 50%, rgba(0,255,65,0.5) 70%, rgba(0,255,65,0) 90%, transparent 100%
  );
  box-shadow: 0 0 12px rgba(0,255,65,0.3), 0 0 30px rgba(0,255,65,0.1);
  z-index: 2;
}

.footer-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 24px;
}

/* Footer Top Row */
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { max-width: 340px; }
.footer-logo { margin-bottom: 12px; }
.footer-brand-desc {
  font-size: 13px;
  color: var(--text-ghost);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-ghost);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--neon); text-shadow: none; }

/* Footer Credential Block */
.footer-credential {
  text-align: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.badge-icon {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--neon-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--neon);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 4px rgba(0,255,65,0.2); }
  50% { box-shadow: 0 0 12px rgba(0,255,65,0.5); }
}

.badge-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0,255,65,0.4);
}

.credential-title a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s, text-shadow 0.3s;
}
.credential-title a:hover {
  color: var(--neon);
  text-shadow: 0 0 20px rgba(0,255,65,0.4);
}

.award-line {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 10px 0 8px;
  opacity: 0.8;
}

.award-years {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}
.award-years span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(0,255,65,0.6);
  letter-spacing: 4px;
  padding: 2px 10px;
  border: 1px solid rgba(0,255,65,0.15);
  border-radius: 3px;
}

.credential-desc {
  font-size: 13px;
  color: var(--text-ghost);
  max-width: 520px;
  margin: 14px auto 0;
  line-height: 1.7;
}

/* Footer Hosting */
.footer-hosting {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,255,65,0.04);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-ghost);
  letter-spacing: 0.5px;
}
.hosting-sep { color: rgba(0,255,65,0.2); margin: 0 6px; }
.footer-hosting a {
  color: rgba(0,255,65,0.5);
  border-bottom: 1px solid rgba(0,255,65,0.1);
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
}
.footer-hosting a:hover {
  color: var(--neon);
  border-color: rgba(0,255,65,0.4);
  text-shadow: 0 0 10px rgba(0,255,65,0.3);
}
.hosting-desc { color: rgba(255,255,255,0.18); margin-left: 4px; }

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 0;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-ghost);
}
.terminal-prompt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(0,255,65,0.2);
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 10;
  }
  .sidebar-sticky {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .sidebar-header {
    grid-column: 1 / -1;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(4, 6, 7, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
  }
  .main-nav.open { display: block; }
  .nav-list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .nav-link { justify-content: space-between; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(0,255,65,0.02);
    margin-top: 4px;
    border-radius: var(--radius);
  }
  .nav-cta-wrap { margin-top: 12px; }
  .nav-cta { width: 100%; justify-content: center; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }
  .career-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links {
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .footer-links { flex-direction: column; gap: 24px; }
}
