/* ==========================================================================
   MOIN SHADAB — HIGH-IMPACT NEO-BRUTALIST PORTFOLIO ENGINE (SMOOTH & STABLE)
   ========================================================================== */

/* ─── 0. DESIGN TOKENS & COLOR THEME ────────────────────────────────────── */
:root {
  /* Neo-Brutalist Core Colors */
  --bg-dark: #08090e;
  --bg-card: #11131c;
  --bg-surface: #181b26;
  --bg-elevated: #222636;
  --border-color: #000000;
  
  /* High-Contrast Neon Accents */
  --neon-yellow: #FFDE59;
  --neon-cyan: #00E5FF;
  --neon-pink: #FF2A85;
  --neon-green: #00FF66;
  --neon-purple: #A855F7;
  --neon-orange: #FF914D;

  /* Classic Token Compatibility */
  --accent-cyan: var(--neon-cyan);
  --accent-emerald: var(--neon-green);
  --accent-violet: var(--neon-purple);
  --accent-amber: var(--neon-yellow);
  --accent-rose: var(--neon-pink);
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #000000;

  /* Brutalist Shadows & Borders */
  --brutal-border-sm: 2px solid #000000;
  --brutal-border: 3.5px solid #000000;
  --brutal-border-lg: 5px solid #000000;

  --brutal-shadow-sm: 3px 3px 0px #000000;
  --brutal-shadow: 6px 6px 0px #000000;
  --brutal-shadow-lg: 10px 10px 0px #000000;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;

  /* Z-Index Hierarchy */
  --z-bg: 0;
  --z-matrix: 5;
  --z-content: 10;
  --z-floating: 50;
  --z-nav: 9000;
  --z-modal: 9990;
  --z-cursor: 99999;
}

/* Light Neo-Brutalism Mode */
body.light-mode {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-elevated: #e2e8f0;
  --text-main: #000000;
  --text-muted: #334155;
  --text-dim: #64748b;
}

/* ─── 1. RESET & BASE STYLES ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
  padding-top: 64px; /* Fixed navbar height clearance */
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
}

a, button, select, [role="button"], .bento-card, .skeuo-btn-toggle, .project-filter-btn, .timeline-content, .sandbox-tab, .cli-drawer-toggle, .btn-brutal, .btn-secondary, .cv-btn, .arch-tab-btn {
  cursor: pointer !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: var(--neon-yellow);
  border: 2px solid #000000;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* ─── 2. SPATIAL CURSOR & BACKGROUND CANVAS ────────────────────────────── */
#spatial-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--neon-yellow);
  border: 2px solid #000000;
  border-radius: 0;
  pointer-events: none !important;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, background-color 0.15s ease;
  box-shadow: 2px 2px 0px #000000;
}

#spatial-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border: 2px solid var(--neon-cyan);
  border-radius: 0;
  pointer-events: none !important;
  z-index: calc(var(--z-cursor) - 1);
  transform: translate(-50%, -50%);
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.cursor-hover #spatial-cursor {
  width: 26px;
  height: 26px;
  background: var(--neon-pink);
}

body.cursor-hover #spatial-cursor-follower {
  width: 60px;
  height: 60px;
  border-color: var(--neon-yellow);
  background: rgba(255, 222, 89, 0.15);
}

/* Background Cyber Grid & Matrix Canvas */
.bg-mesh-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none !important;
  z-index: var(--z-bg);
  background: 
    radial-gradient(circle at 12% 18%, rgba(255, 222, 89, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(0, 229, 255, 0.06) 0%, transparent 45%);
}

.bg-cyber-grid {
  position: fixed;
  inset: 0;
  pointer-events: none !important;
  z-index: var(--z-bg);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}

#matrix-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none !important;
  z-index: var(--z-matrix);
  display: none;
  opacity: 0.85;
}

body.matrix-active #matrix-canvas {
  display: block;
}

/* CRT Scanlines Overlay */
.crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none !important;
  z-index: 9995;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
  background-size: 100% 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.crt-enabled .crt-overlay {
  opacity: 0.75;
}

/* ─── 3. TOP NAVIGATION BAR ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: var(--z-nav);
  background: var(--bg-card);
  border-bottom: var(--brutal-border);
  box-shadow: 0px 4px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
}

.nav-brand-symbol {
  background: var(--neon-yellow);
  color: #000000;
  border: var(--brutal-border-sm);
  box-shadow: 2px 2px 0px #000000;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 14px;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  background: var(--neon-cyan);
  color: #000000;
  border: 2px solid #000000;
  box-shadow: 2px 2px 0px #000000;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skeuo-control-group {
  display: flex;
  gap: 6px;
}

.skeuo-btn-toggle {
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  color: var(--text-main);
  border: var(--brutal-border-sm);
  box-shadow: 2px 2px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color 0.15s ease;
}

.skeuo-btn-toggle:hover, .skeuo-btn-toggle.active {
  background: var(--neon-yellow);
  color: #000000;
  box-shadow: 0px 0px 0px #000000;
}

/* ─── 4. MARQUEE TICKER BANNER ─────────────────────────────────────────── */
.marquee-wrapper {
  background: var(--neon-yellow);
  color: #000000;
  border-bottom: var(--brutal-border);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 10;
}

.marquee-content {
  display: inline-block;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: 36px;
}

.marquee-separator {
  color: var(--neon-pink);
  font-weight: 900;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── 5. BUTTONS & STICKERS ────────────────────────────────────────────── */
.btn-brutal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--neon-yellow);
  color: #000000;
  border: var(--brutal-border);
  box-shadow: var(--brutal-shadow);
  padding: 12px 26px;
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-brutal:hover {
  box-shadow: 8px 8px 0px #000000;
  background: var(--neon-green);
}

.btn-brutal:active {
  box-shadow: 2px 2px 0px #000000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  color: var(--text-main);
  border: var(--brutal-border);
  box-shadow: var(--brutal-shadow);
  padding: 12px 26px;
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
  background: var(--neon-cyan);
  color: #000000;
  box-shadow: 8px 8px 0px #000000;
}

.btn-secondary:active {
  box-shadow: 2px 2px 0px #000000;
}

/* Sticker Badges */
.sticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neon-pink);
  color: #ffffff;
  border: var(--brutal-border-sm);
  box-shadow: 3px 3px 0px #000000;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sticker-badge.green {
  background: var(--neon-green);
  color: #000000;
}

.sticker-badge.yellow {
  background: var(--neon-yellow);
  color: #000000;
}

.led-indicator {
  width: 10px;
  height: 10px;
  background: #000000;
  border-radius: 50%;
  animation: pulse-led 1.4s infinite alternate;
}

@keyframes pulse-led {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* ─── 6. LAYOUT & CONTAINERS ────────────────────────────────────────────── */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 85px 0;
  border-bottom: var(--brutal-border);
  position: relative;
  overflow: hidden;
}

.section-header {
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #000000;
  background: var(--neon-cyan);
  border: var(--brutal-border-sm);
  box-shadow: 3px 3px 0px #000000;
  padding: 4px 14px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.05;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 740px;
  margin-top: 12px;
}

/* ─── 7. HERO SECTION & HERO CODE ARCHITECTURE FILE VIEWER ───────────────── */
#hero {
  padding: 70px 0 65px;
  border-bottom: var(--brutal-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.hero-title {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 20px 0 18px;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(90deg, var(--neon-yellow), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--neon-cyan);
  margin-bottom: 16px;
}

.hero-bio {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Spatial Card Container (Smooth Transform Layout) */
.spatial-card {
  background: var(--bg-card);
  border: var(--brutal-border);
  box-shadow: var(--brutal-shadow-lg);
  padding: 26px;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  will-change: transform;
}

.spatial-card:hover {
  box-shadow: 12px 12px 0px #000000;
}

/* Hero Code Architecture File Viewer Container */
.hero-code-card {
  background: var(--bg-card);
  border: var(--brutal-border-lg);
  box-shadow: var(--brutal-shadow-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-code-header {
  background: #000000;
  color: #ffffff;
  padding: 10px 16px;
  border-bottom: var(--brutal-border-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.hero-code-filename {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--neon-yellow);
}

.hero-code-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-code-btn {
  background: var(--bg-surface);
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background-color 0.15s ease;
}

.hero-code-btn:hover {
  background: var(--neon-cyan);
  color: #000000;
}

.hero-code-body {
  background: #000000;
  padding: 16px;
  display: flex;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow: auto;
  max-height: 440px;
  flex: 1;
}

.hero-line-nums {
  color: #475569;
  user-select: none;
  text-align: right;
  padding-right: 16px;
  border-right: 1px solid #1e293b;
  margin-right: 16px;
}

.hero-code-content {
  color: #00FF66;
  white-space: pre;
}

/* Syntax Highlighting */
.php-kw { color: var(--neon-pink); font-weight: bold; }
.php-var { color: var(--neon-cyan); }
.php-str { color: var(--neon-yellow); }
.php-num { color: var(--neon-orange); }
.php-comment { color: #64748b; font-style: italic; }

/* ─── 8. IMPACT TELEMETRY BAR ────────────────────────────────────────────── */
.impact-bar {
  background: var(--neon-pink);
  color: #ffffff;
  border-bottom: var(--brutal-border);
  padding: 26px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.impact-item {
  background: #000000;
  border: 2px solid #ffffff;
  box-shadow: 4px 4px 0px #ffffff;
  padding: 18px;
  text-align: center;
}

.impact-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--neon-yellow);
}

.impact-text {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── 9. LANDMARK SHOWCASE & ARCHITECTURE VISUALIZER ─────────────────────── */
.landmark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.landmark-card {
  background: var(--bg-card);
  border: var(--brutal-border-lg);
  box-shadow: var(--brutal-shadow-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  will-change: transform;
}

.landmark-card.featured-mserp {
  background: linear-gradient(135deg, #151826 0%, #0d0f18 100%);
}

.landmark-card.featured-mserp::before {
  content: "OPEN SOURCE ERP";
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--neon-yellow);
  color: #000000;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.75rem;
  padding: 4px 36px;
  transform: rotate(25deg);
  border: 2px solid #000000;
}

.landmark-card.featured-email::before {
  content: "DUAL-DB ARCHITECTURE";
  position: absolute;
  top: 16px;
  right: -35px;
  background: var(--neon-cyan);
  color: #000000;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.75rem;
  padding: 4px 36px;
  transform: rotate(25deg);
  border: 2px solid #000000;
}

.landmark-badge {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.landmark-title {
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.landmark-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.architect-box {
  background: #000000;
  border: var(--brutal-border-sm);
  padding: 18px;
  margin-bottom: 24px;
}

.architect-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.architect-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-main);
}

.architect-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.architect-list li::before {
  content: "⚡";
  color: var(--neon-yellow);
}

/* System Architecture Visualizer Box */
.arch-visualizer-container {
  background: var(--bg-card);
  border: var(--brutal-border-lg);
  box-shadow: var(--brutal-shadow-lg);
  padding: 32px;
  margin-top: 48px;
}

.arch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 2px solid #000000;
  padding-bottom: 16px;
}

.arch-nav {
  display: flex;
  gap: 8px;
}

.arch-tab-btn {
  background: var(--bg-surface);
  color: var(--text-main);
  border: var(--brutal-border-sm);
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.arch-tab-btn.active {
  background: var(--neon-yellow);
  color: #000000;
  box-shadow: 3px 3px 0px #000000;
}

.arch-flow-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  background: #000000;
  padding: 32px 20px;
  border: var(--brutal-border-sm);
}

.arch-node {
  background: var(--bg-surface);
  border: 2px solid var(--neon-cyan);
  box-shadow: 4px 4px 0px var(--neon-cyan);
  padding: 16px 20px;
  text-align: center;
  min-width: 160px;
}

.arch-node-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--neon-yellow);
  margin-bottom: 4px;
}

.arch-node-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.arch-arrow {
  font-size: 1.8rem;
  color: var(--neon-pink);
  font-weight: 900;
}

/* ─── 10. PROJECTS BENTO GRID (FILTERABLE) ───────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }

.bento-card {
  background: var(--bg-card);
  border: var(--brutal-border);
  box-shadow: var(--brutal-shadow);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  will-change: transform;
}

.bento-card:hover {
  box-shadow: 9px 9px 0px #000000;
  background: var(--bg-surface);
}

.bento-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.bento-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.clay-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.clay-tag {
  background: #000000;
  color: var(--neon-yellow);
  border: 1px solid #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--neon-cyan);
  align-self: flex-start;
}

.bento-link:hover {
  color: var(--neon-yellow);
  text-decoration: underline;
}

/* ─── 11. ATS RESUME STUDIO & INTERACTIVE CV VIEWER ───────────────────────── */
#resume {
  background: var(--bg-surface);
}

.ats-studio-frame {
  background: var(--bg-card);
  border: var(--brutal-border-lg);
  box-shadow: var(--brutal-shadow-lg);
  padding: 0;
  overflow: hidden;
}

.cv-toolbar {
  background: #000000;
  color: #ffffff;
  padding: 14px 24px;
  border-bottom: var(--brutal-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.cv-toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--neon-yellow);
}

.cv-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cv-btn {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 2px solid #ffffff;
  box-shadow: 2px 2px 0px #ffffff;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.15s ease;
}

.cv-btn:hover {
  background: var(--neon-cyan);
  color: #000000;
  border-color: #000000;
  box-shadow: 2px 2px 0px #000000;
}

.cv-btn.btn-action-green {
  background: var(--neon-green);
  color: #000000;
  border-color: #000000;
  box-shadow: 3px 3px 0px #000000;
}
.cv-btn.btn-action-green:hover {
  background: var(--neon-yellow);
}

.zoom-indicator {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--neon-pink);
  background: #000000;
  border: 1px solid var(--neon-pink);
  padding: 4px 10px;
}

.cv-viewport {
  background: #181c27;
  padding: 40px 20px;
  overflow: auto;
  max-height: 860px;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.cv-zoom-wrapper {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: top center;
}

/* ─── ATS CV DOCUMENT FORMATTING (MICROSOFT / AMAZON ATS STYLE) ────────── */
.ats-cv-document {
  width: 820px;
  background: #ffffff;
  color: #111111;
  padding: 48px 56px;
  font-family: 'Calibri', 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 10.5pt;
  line-height: 1.45;
  border: 2px solid #000000;
  box-shadow: 8px 8px 0px #000000;
  box-sizing: border-box;
}

.ats-header {
  text-align: center;
  border-bottom: 2px solid #111111;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.ats-name {
  font-size: 24pt;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 4px;
}

.ats-title-line {
  font-size: 12pt;
  font-weight: 700;
  color: #222222;
  margin-bottom: 8px;
}

.ats-contact-strip {
  font-size: 9.5pt;
  color: #333333;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 600;
}

.ats-section-title {
  font-size: 11pt;
  font-weight: 800;
  text-transform: uppercase;
  color: #000000;
  border-bottom: 1.5px solid #000000;
  padding-bottom: 3px;
  margin: 18px 0 10px 0;
  letter-spacing: 0.5px;
}

.ats-summary {
  font-size: 10pt;
  color: #222222;
  text-align: justify;
}

.ats-skills-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 12px;
  font-size: 9.5pt;
}

.ats-skill-cat {
  font-weight: 700;
  color: #000000;
}

.ats-skill-val {
  color: #222222;
}

.ats-job-block {
  margin-bottom: 14px;
}

.ats-job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
}

.ats-job-role {
  font-weight: 800;
  font-size: 10.5pt;
  color: #000000;
}

.ats-job-company {
  font-weight: 700;
  font-size: 10pt;
  color: #333333;
}

.ats-job-date {
  font-weight: 700;
  font-size: 9.5pt;
  color: #444444;
}

.ats-bullets {
  margin: 6px 0 0 18px;
  padding: 0;
}

.ats-bullets li {
  margin-bottom: 4px;
  color: #222222;
  font-size: 9.8pt;
  line-height: 1.4;
}

.ats-bullets li strong {
  color: #000000;
}

/* Print Isolation Engine for ATS PDF Download */
@media print {
  body * {
    visibility: hidden !important;
  }
  #ats-cv-document, #ats-cv-document * {
    visibility: visible !important;
  }
  #ats-cv-document {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 40px !important;
    box-shadow: none !important;
    border: none !important;
    background: #ffffff !important;
    color: #000000 !important;
  }
}

/* ─── 12. DINO RUNNER GAME ARCADE MODAL ─────────────────────────────────── */
.dino-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dino-modal.active {
  display: flex;
}

.dino-window {
  width: 100%;
  max-width: 800px;
  background: #000000;
  border: var(--brutal-border-lg);
  box-shadow: var(--brutal-shadow-lg);
  padding: 24px;
  text-align: center;
}

.dino-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--neon-yellow);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.dino-title {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--neon-yellow);
}

.dino-score-strip {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
}

#dino-canvas {
  width: 100%;
  height: 220px;
  background: #11141f;
  border: var(--brutal-border-sm);
  margin-bottom: 16px;
  display: block;
}

.dino-controls-hint {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--neon-cyan);
  margin-bottom: 16px;
}

/* ─── 13. WORK EXPERIENCE TIMELINE ─────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  display: flex;
  gap: 20px;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  background: var(--neon-yellow);
  border: var(--brutal-border-sm);
  margin-top: 24px;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.timeline-role {
  font-size: 1.35rem;
  font-weight: 900;
}

.timeline-co {
  font-size: 1rem;
  color: var(--neon-cyan);
  font-weight: 800;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  background: #000000;
  color: var(--neon-pink);
  border: 1px solid var(--neon-pink);
  padding: 4px 10px;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.timeline-highlight {
  background: #000000;
  border-left: 4px solid var(--neon-yellow);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.timeline-highlight strong {
  display: block;
  color: var(--neon-yellow);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

/* ─── 14. SKILLS MATRIX & TECHNICAL STACK ──────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.skill-category-card {
  background: var(--bg-card);
  border: var(--brutal-border);
  box-shadow: var(--brutal-shadow);
  padding: 26px;
}

.sc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid #000000;
  padding-bottom: 10px;
}

.sc-icon { font-size: 1.6rem; }

.sc-title {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

.skill-row {
  margin-bottom: 16px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.skill-track {
  height: 12px;
  background: #000000;
  border: 1.5px solid #ffffff;
  overflow: hidden;
}

.skill-bar {
  height: 100%;
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ─── 15. INTERACTIVE CODE ARCHITECTURE SANDBOX ────────────────────────── */
.code-sandbox-wrapper {
  background: var(--bg-card);
  border: var(--brutal-border-lg);
  box-shadow: var(--brutal-shadow-lg);
  overflow: hidden;
}

.sandbox-tabs {
  display: flex;
  background: #000000;
  border-bottom: var(--brutal-border);
  overflow-x: auto;
}

.sandbox-tab {
  background: var(--bg-surface);
  color: var(--text-muted);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  border-right: 2px solid #000000;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sandbox-tab.active {
  background: var(--neon-yellow);
  color: #000000;
  font-weight: 900;
}

.sandbox-content {
  padding: 26px;
  background: #000000;
  color: #00FF66;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-x: auto;
  max-height: 460px;
}

/* ─── 16. HACKER CLI TERMINAL DRAWER ────────────────────────────────────── */
.cli-drawer-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-floating);
  background: var(--neon-yellow);
  color: #000000;
  border: var(--brutal-border);
  box-shadow: var(--brutal-shadow);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.cli-drawer-toggle:hover {
  background: var(--neon-cyan);
  box-shadow: 8px 8px 0px #000000;
}

.cli-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cli-modal.active {
  display: flex;
}

.cli-window {
  width: 100%;
  max-width: 860px;
  background: #000000;
  border: var(--brutal-border-lg);
  box-shadow: var(--brutal-shadow-lg);
  display: flex;
  flex-direction: column;
  height: 540px;
}

.cli-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #00FF66;
  line-height: 1.6;
}

.cli-line { margin-bottom: 8px; white-space: pre-wrap; }
.cli-user { color: var(--neon-yellow); font-weight: bold; }
.cli-sys { color: #00FF66; }
.cli-err { color: var(--neon-pink); }

.cli-prompt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #11141c;
  border-top: 2px solid #333;
}

.cli-input {
  flex: 1;
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
}

/* ─── 17. VISUAL DATA STUDIO ADMIN MODAL ────────────────────────────────── */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal.active {
  display: flex;
}

.admin-card {
  width: 100%;
  max-width: 700px;
  background: var(--bg-card);
  border: var(--brutal-border-lg);
  box-shadow: var(--brutal-shadow-lg);
  padding: 32px;
  max-height: 90vh;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #000000;
  padding-bottom: 12px;
}

.admin-title {
  font-size: 1.35rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-form-group {
  margin-bottom: 16px;
}

.admin-label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.admin-input, .admin-select, .admin-textarea {
  width: 100%;
  background: #000000;
  color: #ffffff;
  border: var(--brutal-border-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.admin-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

/* ─── 18. FOOTER ─────────────────────────────────────────────────────────── */
footer {
  background: #000000;
  color: #ffffff;
  border-top: var(--brutal-border-lg);
  padding: 44px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--neon-cyan);
}

.footer-link:hover {
  color: var(--neon-yellow);
  text-decoration: underline;
}

/* ─── 19. RESPONSIVE BREAKPOINTS ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid, .landmark-grid {
    grid-template-columns: 1fr;
  }
  .col-span-8, .col-span-4 {
    grid-column: span 12;
  }
  .section-title {
    font-size: 2.3rem;
  }
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  .navbar {
    padding: 0 12px;
    height: 60px;
  }
  .nav-links {
    display: none;
  }
  .ats-cv-document {
    padding: 24px 20px;
    width: 100%;
  }
  .cv-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .cv-controls {
    justify-content: center;
  }
}
