/* ===================================================================
   VAIBHAV DATTA - CYBER SENTINEL & NETWORK ENGINEER PORTFOLIO
   Design System, CSS Variables, Typography, Layout & Theming
   =================================================================== */

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

:root {
  /* THEME: OBSIDIAN CYBER (Default Dark) */
  --bg-primary: #070a0c;
  --bg-secondary: #0c1214;
  --bg-tertiary: #111a1d;
  --bg-card: rgba(14, 22, 25, 0.75);
  --bg-card-hover: rgba(18, 28, 32, 0.9);
  --bg-glass: rgba(10, 16, 18, 0.72);
  --border: rgba(0, 255, 163, 0.16);
  --border-bright: rgba(0, 255, 163, 0.5);
  --border-subtle: rgba(255, 255, 255, 0.07);

  --accent-primary: #00ffa3;
  --accent-secondary: #00e5ff;
  --accent-dim: rgba(0, 255, 163, 0.1);
  --accent-glow: rgba(0, 255, 163, 0.25);
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  --accent-purple: #a855f7;

  --text-primary: #f0fdf9;
  --text-secondary: #94a3b8;
  --text-muted: #5e7a72;
  --text-dim: #3a504b;

  --nav-bg: rgba(7, 10, 12, 0.85);
  --grid-line: rgba(0, 255, 163, 0.035);
  --scanline: rgba(0, 255, 163, 0.02);

  --font-mono: 'JetBrains Mono', 'Space Mono', monospace;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 25px rgba(0, 255, 163, 0.18);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* THEME 2: TITANIUM SLATE / TWILIGHT (Mid-Tone Gunmetal & Electric Ice Cyan) */
[data-theme="stealth"], [data-theme="slate"] {
  --bg-primary: #1e2433;
  --bg-secondary: #273043;
  --bg-tertiary: #313c54;
  --bg-card: rgba(35, 44, 62, 0.85);
  --bg-card-hover: rgba(43, 54, 76, 0.95);
  --bg-glass: rgba(30, 36, 51, 0.88);
  --border: rgba(56, 189, 248, 0.28);
  --border-bright: rgba(56, 189, 248, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.12);

  --accent-primary: #38bdf8;
  --accent-secondary: #818cf8;
  --accent-dim: rgba(56, 189, 248, 0.15);
  --accent-glow: rgba(56, 189, 248, 0.3);
  --accent-warning: #fbbf24;
  --accent-danger: #f87171;
  --accent-purple: #c084fc;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --nav-bg: rgba(30, 36, 51, 0.92);
  --grid-line: rgba(56, 189, 248, 0.05);
  --scanline: rgba(56, 189, 248, 0.025);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}

/* THEME 3: ARCTIC FROST / CYBER-GLAZE (Crisp Ice-White, Glacial Azure & Deep Navy Ink) */
[data-theme="light"], [data-theme="frost"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(248, 250, 252, 0.92);
  --border: rgba(2, 132, 199, 0.22);
  --border-bright: rgba(2, 132, 199, 0.6);
  --border-subtle: rgba(15, 23, 42, 0.08);

  --accent-primary: #0284c7;
  --accent-secondary: #6366f1;
  --accent-dim: rgba(2, 132, 199, 0.10);
  --accent-glow: rgba(2, 132, 199, 0.28);
  --accent-warning: #d97706;
  --accent-danger: #dc2626;
  --accent-purple: #7c3aed;

  --text-primary: #091322;
  --text-secondary: #1e293b;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --nav-bg: rgba(248, 250, 252, 0.94);
  --grid-line: rgba(2, 132, 199, 0.04);
  --scanline: rgba(2, 132, 199, 0.015);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.22);
  --shadow-card: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.68;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Cybernetic Canvas & Ambient Grid */
#matrix-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  transition: opacity 0.4s ease;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.scanlines-overlay {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    var(--scanline) 2px,
    var(--scanline) 4px
  );
  pointer-events: none;
  z-index: 999;
}

/* App Container */
.app-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
/* Navbar — Completely Redesigned for Spacious, Cyber-Command Feel */
nav.cyber-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px clamp(16px, 2.5vw, 36px);
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-smooth);
}

/* Zone 1: Brand & Status */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-glow);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-handle {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-handle span {
  color: var(--text-muted);
}

.brand-prompt {
  color: var(--accent-primary);
  animation: pulse-glow 2s infinite ease-in-out;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.brand-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Zone 2: Streamlined Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

/* Zone 3: Command & Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Full-Size Guaranteed Uncompressed Terminal Button */
.header-vsh-btn {
  flex-shrink: 0;
  min-width: 165px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  color: var(--accent-primary);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 0 16px var(--accent-glow);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.header-vsh-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  transition: left 0.5s ease;
}

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

.header-vsh-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent-primary);
  box-shadow: 0 0 25px var(--accent-glow);
  transform: translateY(-1px);
}

.header-vsh-btn:active {
  transform: translateY(0);
}

.vsh-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  animation: pulse-dot 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

.vsh-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
}

.vsh-key {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 1px 5px;
  border-radius: 3px;
  line-height: 1;
}

/* Compact SFX Icon Control */
.ctrl-icon-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.ctrl-icon-btn:hover {
  border-color: var(--border-bright);
  color: var(--accent-primary);
  background: var(--accent-dim);
}

.ctrl-icon-btn.active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Compact Theme Switcher */
.theme-switcher-compact {
  display: flex;
  align-items: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px 4px;
  gap: 2px;
  flex-shrink: 0;
}

.theme-opt-compact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
}

.theme-opt-compact:hover {
  color: var(--text-primary);
}

.theme-opt-compact.active {
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-weight: 700;
  box-shadow: 0 0 10px var(--accent-glow);
}

.theme-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-obsidian { background: #00ffa3; box-shadow: 0 0 6px rgba(0, 255, 163, 0.6); }
.dot-stealth, .dot-slate { background: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.6); }
.dot-light, .dot-frost, .dot-arctic { background: #0284c7; box-shadow: 0 0 8px rgba(2, 132, 199, 0.8); }

.theme-opt-compact.active .theme-dot {
  background: var(--bg-primary);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--accent-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-mono);
}

/* Live Sentinel Marquee */
.cyber-ticker {
  margin-top: 61px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: ticker-slide 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ticker-badge {
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--accent-dim);
  color: var(--accent-primary);
  border: 1px solid var(--border);
  font-size: 9px;
}

.ticker-sep {
  color: var(--accent-primary);
  font-size: 9px;
}

/* Layout Sections */
section.cyber-section {
  padding: 100px max(24px, calc((100vw - 1200px) / 2)) 80px;
  position: relative;
}

section.cyber-section + section.cyber-section {
  border-top: 1px solid var(--border-subtle);
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.section-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-left: 8px;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

/* Hero Section */
#hero {
  padding-top: 60px;
  padding-bottom: 80px;
  min-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

.status-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-title .highlight {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 20px var(--accent-glow);
}

.hero-title .cursor-blink {
  display: inline-block;
  color: var(--accent-secondary);
  animation: blink 1s infinite;
}

.hero-roles {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.8vw, 16px);
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-roles span.role-sep {
  color: var(--accent-primary);
}

.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 620px;
}

.hero-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Call-To-Action Buttons */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.cyber-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

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

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

.cyber-btn-primary {
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.cyber-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 25px var(--accent-glow);
  filter: brightness(1.08);
}

.cyber-btn-secondary {
  background: var(--bg-card);
  color: var(--accent-primary);
  border-color: var(--border-bright);
}

.cyber-btn-secondary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  border-color: var(--accent-primary);
}

.cyber-btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.cyber-btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* Hero HUD Telemetry Card */
.hero-telemetry {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.telemetry-hud {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  position: relative;
}

.hud-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--accent-dim);
  color: var(--accent-secondary);
  border: 1px solid var(--border);
}

.hud-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: all var(--transition-fast);
}

.metric-box:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.metric-detail {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Quick Terminal Snippet in Hero */
.hero-terminal-preview {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terminal-header {
  background: var(--bg-tertiary);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.terminal-mini-body {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}

.t-prompt {
  color: var(--accent-primary);
}

.t-cmd {
  color: var(--text-primary);
  font-weight: 600;
}

.t-out {
  color: var(--text-secondary);
  padding-left: 14px;
  display: block;
}

.t-tag {
  color: var(--accent-secondary);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-bio p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.about-bio p strong {
  color: var(--text-primary);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: all var(--transition-fast);
}

.info-card:hover {
  border-color: var(--border-bright);
  transform: translateX(4px);
}

.info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 4px;
}

.info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.info-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Certifications Pill Row */
.certs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cert-badge {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cert-icon {
  font-size: 14px;
  color: var(--accent-primary);
}

.cert-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.cert-status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-warning);
}

/* Global Footer */
footer.cyber-footer {
  padding: 36px max(24px, calc((100vw - 1200px) / 2));
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.footer-meta span {
  color: var(--accent-primary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-primary);
}

/* Animations */
@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  nav.cyber-nav {
    padding: 12px 20px;
  }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: block;
  }
  .hud-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hud-metrics-grid {
    grid-template-columns: 1fr;
  }
  .theme-switcher {
    display: none;
  }
  footer.cyber-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
