/* ==========================================================================
   PINTU KUMAR — PORTFOLIO DESIGN SYSTEM & CYBER-EDITORIAL HUD STYLING
   Engineered with Vanilla CSS, CSS Grid, Flexbox & Custom Properties
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-deep: #06080C;
  --bg-surface: #0B0F17;
  --bg-card: rgba(14, 20, 31, 0.78);
  --bg-card-hover: rgba(20, 29, 45, 0.88);
  --bg-overlay: rgba(6, 8, 12, 0.88);

  --border-dim: rgba(255, 255, 255, 0.08);
  --border-card: rgba(0, 255, 157, 0.16);
  --border-active: #00FF9D;
  --border-cyan: #00F0FF;

  --neon-green: #00FF9D;
  --neon-cyan: #00F0FF;
  --neon-amber: #FFB800;
  --neon-red: #FF3B30;

  --text-white: #F8FAFC;
  --text-body: #94A3B8;
  --text-dim: #64748B;
  --text-dark: #06080C;

  /* Typography */
  --font-heading: 'Chakra Petch', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-max: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Glow Effects */
  --glow-neon: 0 0 25px rgba(0, 255, 157, 0.22);
  --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.22);
  --glow-amber: 0 0 25px rgba(255, 184, 0, 0.22);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #1A2434;
  border-radius: 4px;
  border: 1px solid var(--border-dim);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
}

/* Ambient Cyber Grid & Glow Canvas */
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
}

.grid-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 255, 157, 0.08) 0%, rgba(0, 240, 255, 0.03) 45%, transparent 70%);
  filter: blur(80px);
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.4;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

/* Sections */
.section {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  position: relative;
  z-index: 2;
}

/* Helper Utilities */
.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, var(--neon-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-neon { color: var(--neon-green); }
.text-cyan { color: var(--neon-cyan); }
.text-amber { color: var(--neon-amber); }
.text-red { color: var(--neon-red); }

/* HUD Top Ticker */
.hud-ticker {
  background: #090D14;
  border-bottom: 1px solid var(--border-dim);
  padding: 0.45rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 100;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.2);
}

.ticker-item.highlight {
  color: var(--neon-green);
  font-weight: 500;
}

.status-dot, .pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  margin-right: 4px;
  animation: pulseBeacon 2s infinite ease-in-out;
}

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

/* Sticky Navigation HUD */
.hud-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 8, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.hud-nav.scrolled {
  background: rgba(6, 8, 12, 0.94);
  border-bottom-color: var(--border-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.brand-bracket { color: var(--neon-green); }
.brand-code { color: var(--text-white); }
.brand-sep { color: var(--text-dim); }
.brand-name { color: var(--neon-green); }

.nav-brand:hover .brand-code {
  color: var(--neon-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-num {
  font-size: 0.675rem;
  color: var(--neon-green);
  opacity: 0.7;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* SFX Audio Button */
.btn-sfx {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-sfx:hover {
  border-color: var(--neon-green);
  color: var(--text-white);
}

.btn-sfx.active {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(0, 255, 157, 0.08);
}

.sfx-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.sfx-bars i {
  display: block;
  width: 2px;
  height: 4px;
  background: currentColor;
  transition: height 0.2s ease;
}

.btn-sfx.active .sfx-bars i:nth-child(1) { animation: barHop 0.8s infinite ease-in-out alternate; }
.btn-sfx.active .sfx-bars i:nth-child(2) { animation: barHop 0.9s infinite 0.2s ease-in-out alternate; }
.btn-sfx.active .sfx-bars i:nth-child(3) { animation: barHop 0.7s infinite 0.4s ease-in-out alternate; }
.btn-sfx.active .sfx-bars i:nth-child(4) { animation: barHop 1s infinite 0.1s ease-in-out alternate; }

@keyframes barHop {
  from { height: 3px; }
  to { height: 11px; }
}

/* Button HUD standard */
.btn-hud {
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-hud:hover {
  background: rgba(0, 255, 157, 0.12);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: var(--glow-neon);
}

.btn-resume {
  background: rgba(0, 255, 157, 0.08);
  border-color: rgba(0, 255, 157, 0.35);
  color: var(--neon-green);
}

/* Nav Hamburger (Mobile) */
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-white);
  transition: all 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  justify-content: flex-end;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-inner {
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-card);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 1rem;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--neon-green);
  letter-spacing: 0.08em;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.d-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-green);
}

.full-width {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-sec {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(0, 255, 157, 0.25);
  background: rgba(0, 255, 157, 0.05);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  letter-spacing: 0.08em;
  color: var(--neon-green);
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.hero-sur {
  color: var(--text-dim);
  font-size: 0.55em;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.hero-role-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.role-tag {
  color: var(--neon-cyan);
  font-weight: 600;
}

.hero-role {
  color: var(--text-white);
  font-weight: 500;
  font-size: inherit;
}

.role-divider {
  color: var(--neon-green);
}

.hero-bio {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-body);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

/* Call to Action Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.btn-primary {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--neon-green);
  color: var(--text-dark);
  border: 1px solid var(--neon-green);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #26ffaa;
  box-shadow: 0 6px 28px rgba(0, 255, 157, 0.45);
}

.btn-secondary {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.3rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
}

.btn-ghost {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--neon-green);
}

/* Telemetry Stats Strip */
.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border-dim);
  padding-top: 1.5rem;
}

.telemetry-card {
  display: flex;
  flex-direction: column;
}

.tele-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.tele-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* Portrait HUD Card */
.portrait-hud-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 255, 157, 0.04);
}

/* Corner HUD Ticks */
.hud-corners {
  position: absolute;
  inset: -1px;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--neon-green);
}

.c-tl { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.c-tr { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.c-bl { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.c-br { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; }

.portrait-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-dim);
}

.meta-status {
  color: var(--neon-green);
  font-weight: 500;
}

.portrait-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.05) brightness(0.98);
  transition: transform 0.5s ease;
}

.portrait-hud-card:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(6, 8, 12, 0.85) 100%);
  pointer-events: none;
}

.hud-scanner-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  box-shadow: 0 0 10px var(--neon-green);
  animation: scanPortrait 4s infinite linear;
  opacity: 0.75;
}

@keyframes scanPortrait {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

.portrait-meta-bottom {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border-dim);
  padding-top: 0.85rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.meta-k {
  color: var(--text-dim);
}

.meta-v {
  color: var(--text-white);
  font-weight: 500;
}

/* Scroll Cue */
.hero-scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.scroll-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.scroll-link:hover {
  color: var(--neon-green);
}

.scroll-chevron {
  animation: bounceDown 1.8s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sec-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-green);
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.sec-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-white);
}

.sec-line {
  width: 60px;
  height: 2px;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  margin-top: 0.75rem;
}

/* ==========================================================================
   SECTION 01: PROFILE / ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  backdrop-filter: blur(12px);
  position: relative;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-green);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.dossier-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.prose p {
  margin-bottom: 1.15rem;
  color: var(--text-body);
  font-size: 0.975rem;
}

.prose strong {
  color: var(--text-white);
}

.dossier-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border-dim);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.dossier-stat {
  display: flex;
  flex-direction: column;
}

.d-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
}

.d-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.specs-list li {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.spec-k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.spec-v {
  color: var(--text-white);
  font-weight: 500;
}

.spec-v a {
  color: var(--neon-cyan);
  text-decoration: none;
}
.spec-v a:hover {
  text-decoration: underline;
}

.social-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  border-top: 1px solid var(--border-dim);
  padding-top: 1.25rem;
}

.social-pill {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-body);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.social-pill:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(0, 255, 157, 0.05);
}

/* ==========================================================================
   SECTION 02: PROJECTS GRID
   ========================================================================== */
.project-filters {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  color: var(--text-dim);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
}

.filter-btn.active {
  background: rgba(0, 255, 157, 0.1);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.filter-count {
  opacity: 0.65;
  font-size: 0.7rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 255, 157, 0.03);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.project-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.status-live {
  background: rgba(0, 255, 157, 0.12);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 157, 0.3);
}

.status-enterprise {
  background: rgba(255, 184, 0, 0.12);
  color: var(--neon-amber);
  border: 1px solid rgba(255, 184, 0, 0.3);
}

.status-internal {
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.status-prod {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: 1px solid var(--border-dim);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.project-domain {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  margin-bottom: 0.85rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  padding: 0.2rem 0.5rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-dim);
  padding-top: 1rem;
}

.btn-view-dossier {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--neon-green);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.btn-view-dossier:hover {
  color: var(--text-white);
}

.btn-view-dossier:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.link-external {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.link-external:hover {
  color: var(--neon-green);
}

.badge-lock {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SECTION 03: ARCHITECTURE PIPELINE
   ========================================================================== */
.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  backdrop-filter: blur(12px);
}

.pipeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.pipeline-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--text-white);
}

.pipeline-telemetry {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tele-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dim);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--text-body);
}

.pipeline-explainer {
  font-size: 0.925rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.pipeline-stages {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
}

.pipeline-stage {
  flex: 1;
  min-width: 175px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.pipeline-stage:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.pipeline-stage.active {
  background: rgba(0, 255, 157, 0.08);
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.15);
}

.stage-step {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  color: var(--neon-green);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.stage-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.stage-sub {
  font-size: 0.725rem;
  color: var(--text-dim);
}

.pipeline-connector {
  color: var(--neon-green);
  font-size: 1.25rem;
  opacity: 0.6;
}

.pipeline-dossier {
  background: #080C14;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
}

.p-k {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  color: var(--neon-green);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
  display: block;
}

.p-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.p-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.p-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.p-specs strong {
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.775rem;
}

/* ==========================================================================
   SECTION 04: EXPERIENCE TIMELINE
   ========================================================================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.5rem;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  margin-top: 0.4rem;
}

.marker-line {
  flex-grow: 1;
  width: 1px;
  background: linear-gradient(180deg, var(--neon-green) 0%, rgba(255, 255, 255, 0.08) 100%);
  margin-top: 0.5rem;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
}

.timeline-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.675rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(0, 255, 157, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 157, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.timeline-role {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--neon-cyan);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.duties-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.duties-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
}

.duties-list li::before {
  content: '◤';
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.65rem;
  color: var(--neon-green);
}

.duties-list strong {
  color: var(--text-white);
}

.timeline-note {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Education Block */
.education-block {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.edu-item {
  display: flex;
  flex-direction: column;
}

.edu-degree {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.edu-school {
  font-size: 0.9rem;
  color: var(--neon-cyan);
  margin-bottom: 0.25rem;
}

.edu-period {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.edu-desc {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* ==========================================================================
   SECTION 05: CAPABILITIES & SKILLS MATRIX
   ========================================================================== */
.skills-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.skill-category:hover {
  border-color: var(--border-card);
  transform: translateY(-3px);
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cat-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
}

.skill-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.skill-items li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sk-name {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--text-white);
}

.sk-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.sk-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green));
  border-radius: 2px;
}

.cat-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-top: 1px solid var(--border-dim);
  padding-top: 1rem;
}

.cat-chip {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Certifications Dossier */
.certifications-dossier {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.cert-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-dim);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.cert-icon {
  color: var(--neon-green);
  font-size: 1.1rem;
  font-weight: bold;
}

.cert-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ==========================================================================
   SECTION 06: HONORS & AWARDS
   ========================================================================== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.award-card:hover {
  transform: translateY(-3px);
  border-color: var(--neon-green);
}

.highlight-award {
  border-color: rgba(255, 184, 0, 0.4);
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.08);
}

.award-badge-top {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  color: var(--neon-amber);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.award-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.award-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.award-org {
  font-size: 0.85rem;
  color: var(--neon-cyan);
  display: block;
  margin-bottom: 0.85rem;
}

.award-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 07: CONTACT / TRANSMISSION FORM
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  backdrop-filter: blur(12px);
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-dim);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.channel-row:hover {
  border-color: var(--neon-green);
  background: rgba(0, 255, 157, 0.05);
}

.ch-icon {
  color: var(--neon-green);
  display: flex;
}

.ch-text {
  display: flex;
  flex-direction: column;
}

.ch-k {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.ch-v {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-white);
}

.contact-matrix {
  border-top: 1px solid var(--border-dim);
  padding-top: 1.5rem;
}

.matrix-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.85rem;
}

.matrix-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.matrix-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  text-decoration: none;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.matrix-links a:hover {
  background: rgba(0, 240, 255, 0.15);
  color: var(--text-white);
  border-color: var(--neon-cyan);
}

/* Transmission Form Controls */
.transmission-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-body);
  letter-spacing: 0.05em;
}

.form-label .required {
  color: var(--neon-green);
}

.form-input, .form-select, .form-textarea {
  background: #080C14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 12px rgba(0, 255, 157, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
  font-size: 0.95rem;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  min-height: 1.5rem;
}

.form-status.success {
  color: var(--neon-green);
}

.form-status.error {
  color: var(--neon-red);
}

/* ==========================================================================
   FOOTER (HUD TELEMETRY)
   ========================================================================== */
.hud-footer {
  border-top: 1px solid var(--border-dim);
  background: #05070A;
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.08em;
  display: block;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.footer-telemetry {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.btn-back-to-top {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border-dim);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-back-to-top:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

/* ==========================================================================
   MODAL DOSSIER VIEWER
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 9, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.2s ease;
}

.modal-backdrop[hidden] {
  display: none;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: #0B0F17;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 157, 0.15);
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-hud-corners {
  position: absolute;
  inset: -1px;
  pointer-events: none;
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-green);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.2rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text-white);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
}

.modal-body h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-white);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.4rem;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-dim);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-right {
    max-width: 440px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .pipeline-dossier {
    grid-template-columns: 1fr;
  }
  .edu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .hero-telemetry {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .dossier-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline-stages {
    flex-direction: column;
    align-items: stretch;
  }
  .pipeline-connector {
    transform: rotate(90deg);
    text-align: center;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* ==========================================================================
   DEVELOPER HUD, ANIMATIONS & INTERACTIVE CLI EXTENSIONS
   ========================================================================== */

/* Custom Cyber Cursor */
.cyber-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--neon-green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease-out;
  box-shadow: 0 0 10px var(--neon-green);
}

.cyber-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 255, 157, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.cyber-cursor-ring.hovered {
  width: 52px;
  height: 52px;
  border-color: var(--neon-cyan);
  background-color: rgba(0, 240, 255, 0.06);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

@media (pointer: coarse) {
  .cyber-cursor-dot, .cyber-cursor-ring { display: none !important; }
}

/* Matrix & Constellation Cyber Canvas */
.cyber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Dynamic Hero Typing Prompt */
.hero-typing-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 12, 20, 0.85);
  border: 1px solid rgba(0, 255, 157, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.08);
}

.typing-prefix {
  color: var(--neon-cyan);
}

.typing-cmd {
  color: var(--text-dim);
}

.typing-output {
  color: var(--neon-green);
  font-weight: 500;
}

.typing-cursor {
  color: var(--neon-green);
  animation: blinkCursor 0.9s infinite step-start;
}

@keyframes blinkCursor {
  50% { opacity: 0; }
}

/* Glitch Text Effect */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch:hover::before, .glitch:hover::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch:hover::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-red);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch:hover::after {
  left: -2px;
  text-shadow: -2px 0 var(--neon-cyan);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip: rect(12px, 9999px, 44px, 0); }
  20% { clip: rect(65px, 9999px, 85px, 0); }
  40% { clip: rect(30px, 9999px, 60px, 0); }
  60% { clip: rect(78px, 9999px, 98px, 0); }
  80% { clip: rect(15px, 9999px, 35px, 0); }
  100% { clip: rect(52px, 9999px, 72px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(55px, 9999px, 80px, 0); }
  20% { clip: rect(15px, 9999px, 35px, 0); }
  40% { clip: rect(90px, 9999px, 110px, 0); }
  60% { clip: rect(25px, 9999px, 45px, 0); }
  80% { clip: rect(70px, 9999px, 95px, 0); }
  100% { clip: rect(10px, 9999px, 30px, 0); }
}

/* Developer Station Multi-Tab Card */
.dev-station-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 255, 157, 0.04);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dev-station-card:hover {
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 255, 157, 0.15);
}

.dev-station-header {
  background: #090E17;
  border-bottom: 1px solid var(--border-dim);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.win-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.win-close { background: #FF5F56; }
.win-min { background: #FFBD2E; }
.win-max { background: #27C93F; }

.dev-station-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dev-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.dev-tab:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.dev-tab.active {
  color: var(--neon-green);
  border-color: rgba(0, 255, 157, 0.3);
  background: rgba(0, 255, 157, 0.08);
}

.dev-tab-panel {
  padding: 1.25rem;
}

.dev-tab-panel[hidden] {
  display: none;
}

/* CLI Console styles */
.cli-console {
  background: #05080E;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cli-output {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
  max-height: 250px;
  padding-right: 0.5rem;
}

.cli-line {
  line-height: 1.5;
  color: var(--text-white);
  word-break: break-word;
}

.cli-line.dim {
  color: var(--text-dim);
}

.cli-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
  margin-bottom: 0.65rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 0.65rem;
}

.cli-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cli-chip:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--text-white);
}

.cli-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #080C14;
  border: 1px solid rgba(0, 255, 157, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
}

.cli-prompt {
  color: var(--neon-green);
  font-weight: 600;
  user-select: none;
}

.cli-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.775rem;
  flex-grow: 1;
}

/* Code Editor Window */
.code-editor-body {
  background: #05080E;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  display: flex;
  gap: 1.25rem;
  min-height: 380px;
  overflow-x: auto;
}

.code-line-numbers {
  display: flex;
  flex-direction: column;
  color: #3B4B61;
  user-select: none;
  text-align: right;
}

.code-content {
  color: var(--text-white);
  line-height: 1.6;
}

.code-content .ck { color: #FF7B72; } /* keyword */
.code-content .ct { color: #79C0FF; } /* type */
.code-content .cp { color: #D2A8FF; } /* property */
.code-content .cs { color: #A5D6FF; } /* string */
.code-content .cn { color: #FFA657; } /* number */

/* Pipeline Pulse Packet Animation */
.pipeline-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 24px;
}

.conn-pulse {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulsePacket 1.8s infinite linear;
}

@keyframes pulsePacket {
  0% { left: 0%; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.conn-arrow {
  color: var(--neon-green);
  opacity: 0.4;
  font-size: 1.1rem;
}

/* Card 3D tilt hover classes */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.2s ease;
  will-change: transform;
}

