/* ==========================================================================
   Steffin Abraham - DevOps Engineer Portfolio Stylesheet
   Theme: Cyber-Industrial DevOps Aesthetic
   Palette:
     Background: Deep obsidian midnight (#0B0F19)
     Surface/Cards: Frosted slate glass (#111827 / rgba(17, 24, 39, 0.8))
     Border: Subtle slate (1px solid #1F2937)
     Primary Accent: Cyberpunk Neon Teal (#00F5D4)
     Secondary Accent: Electric Amber (#F59E0B)
     Body Text: Crisp off-white (#F3F4F6), Muted silver (#9CA3AF)
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-obsidian: #0b0f19;
  --bg-obsidian-deep: #070a12;
  --surface-slate: #111827;
  --surface-glass: rgba(17, 24, 39, 0.82);
  --surface-glass-hover: rgba(22, 31, 50, 0.92);
  --surface-elevated: #162033;
  --border-slate: #1f2937;
  --border-slate-light: #2d3748;
  --border-hover: rgba(0, 245, 212, 0.4);

  /* Cyber Accents */
  --accent-teal: #00f5d4;
  --accent-teal-glow: rgba(0, 245, 212, 0.25);
  --accent-teal-dim: rgba(0, 245, 212, 0.12);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --accent-amber-dim: rgba(245, 158, 11, 0.12);
  --accent-cyan: #06b6d4;
  --status-green: #10b981;
  --status-red: #ef4444;

  /* Typography */
  --text-white: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Consolas, monospace;

  /* Layout & Spacing */
  --header-height: 72px;
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Shadows & Glows */
  --glow-teal-sm: 0 0 12px rgba(0, 245, 212, 0.35);
  --glow-teal-lg: 0 0 28px rgba(0, 245, 212, 0.45);
  --glow-amber-sm: 0 0 12px rgba(245, 158, 11, 0.35);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-white);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}

::-webkit-scrollbar-thumb {
  background: var(--border-slate-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal);
}

/* Selection Color */
::selection {
  background: var(--accent-teal-glow);
  color: var(--accent-teal);
}

/* Typography Utilities */
.font-mono { font-family: var(--font-mono); }
.text-teal { color: var(--accent-teal); }
.text-amber { color: var(--accent-amber); }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.select-all { user-select: all; }

/* SVG Icons Helper */
.icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-sm { width: 0.95rem; height: 0.95rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }

/* Global Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Ambient Cyber Mesh Background Glow & Floating Blobs */
.mesh-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.cyber-canvas,
#cyber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.65;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  pointer-events: none;
  will-change: transform;
  z-index: -1;
}

.orb-1 {
  top: -5%;
  left: 15%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.28) 0%, rgba(0, 245, 212, 0.05) 55%, transparent 70%);
  animation: floatOrb1 28s ease-in-out infinite alternate;
}

.orb-2 {
  top: 40%;
  right: -5%;
  width: 490px;
  height: 490px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.04) 55%, transparent 70%);
  animation: floatOrb2 36s ease-in-out infinite alternate;
}

.orb-3 {
  bottom: 5%;
  left: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.05) 55%, transparent 70%);
  animation: floatOrb3 24s ease-in-out infinite alternate;
}

.orb-4 {
  top: 70%;
  right: 25%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.18) 0%, rgba(245, 158, 11, 0.12) 45%, transparent 70%);
  animation: floatOrb4 32s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, 90px) scale(1.08); }
  66% { transform: translate(-50px, 110px) scale(0.94); }
  100% { transform: translate(-30px, 30px) scale(1.02); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-90px, -70px) scale(1.12); }
  66% { transform: translate(-40px, 60px) scale(0.92); }
  100% { transform: translate(50px, 40px) scale(1.04); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -80px) scale(1.06); }
  66% { transform: translate(90px, -30px) scale(0.95); }
  100% { transform: translate(-20px, 40px) scale(1.03); }
}

@keyframes floatOrb4 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-80px, 60px) scale(0.95); }
  66% { transform: translate(50px, -50px) scale(1.1); }
  100% { transform: translate(30px, 40px) scale(0.98); }
}

/* Faint Base Cyberpunk Grid Overlay */
.grid-overlay,
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(31, 41, 55, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 41, 55, 0.22) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* ==========================================================================
   1. Animated Grid Pulse: Glowing Teal (#00F5D4) Beams (Pure CSS)
   ========================================================================== */
.grid-pulse-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: 0.85;
}

/* Horizontal sliding glowing teal pulse beam */
.grid-pulse-beam-h {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 245, 212, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 245, 212, 0.55) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%);
  mask-size: 320px 100%;
  -webkit-mask-size: 320px 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  animation: gridBeamSlideH 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Vertical sliding glowing teal pulse beam */
.grid-pulse-beam-v {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 245, 212, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 245, 212, 0.5) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
  mask-size: 100% 320px;
  -webkit-mask-size: 100% 320px;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  animation: gridBeamSlideV 14s cubic-bezier(0.4, 0, 0.2, 1) infinite 4s;
}

@keyframes gridBeamSlideH {
  0% {
    mask-position: -320px 0;
    -webkit-mask-position: -320px 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    mask-position: calc(100vw + 320px) 0;
    -webkit-mask-position: calc(100vw + 320px) 0;
    opacity: 0;
  }
}

@keyframes gridBeamSlideV {
  0% {
    mask-position: 0 -320px;
    -webkit-mask-position: 0 -320px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    mask-position: 0 calc(100vh + 320px);
    -webkit-mask-position: 0 calc(100vh + 320px);
    opacity: 0;
  }
}

/* Dynamic Interactive Mouse-Illuminated Grid Spotlight (Radius ~200px) */
.grid-spotlight {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 245, 212, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 245, 212, 0.45) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(200px circle at var(--spotlight-x, -500px) var(--spotlight-y, -500px), #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(200px circle at var(--spotlight-x, -500px) var(--spotlight-y, -500px), #000 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.grid-spotlight.active {
  opacity: 1;
}

/* Interactive Cursor Glow Spotlight */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  margin-top: -200px;
  margin-left: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.12) 0%, rgba(245, 158, 11, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
}

.cursor-spotlight.active {
  opacity: 1;
}

/* Disable spotlight on mobile devices to preserve performance */
@media (max-width: 768px), (pointer: coarse) {
  .grid-spotlight, .cursor-spotlight {
    display: none !important;
  }
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.6);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(11, 15, 25, 0.92);
  border-bottom-color: var(--border-slate);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-white);
  letter-spacing: -0.02em;
  transition: transform var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.brand-logo:hover {
  transform: translateY(-1px);
  animation: cyberGlitch 0.35s ease-in-out;
}

@keyframes cyberGlitch {
  0% { text-shadow: none; transform: translateY(-1px); }
  25% { text-shadow: -2px 0 var(--accent-teal), 2px 0 var(--accent-amber); transform: translate(1px, -1px); }
  50% { text-shadow: 2px 0 var(--accent-teal), -2px 0 var(--accent-amber); transform: translate(-1px, 0); }
  75% { text-shadow: -1px 0 var(--accent-teal); transform: translate(0, -1px); }
  100% { text-shadow: none; transform: translateY(-1px); }
}

.logo-symbol {
  color: var(--accent-teal);
  font-size: 1.25rem;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
}

.accent-slash {
  color: var(--accent-amber);
  margin: 0 0.15rem;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.logo-role {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.nav-num {
  color: var(--accent-teal);
  font-size: 0.75rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
  background: rgba(31, 41, 55, 0.5);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* SFX Toggle Button */
.sfx-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sfx-toggle-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-1px);
}

.sfx-toggle-btn.active {
  border-color: rgba(0, 245, 212, 0.45);
  color: var(--accent-teal);
  background: rgba(0, 245, 212, 0.1);
}

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

.wave-bar {
  width: 2.5px;
  height: 4px;
  background-color: var(--text-dim);
  border-radius: 1px;
  transition: height 0.2s ease, background-color 0.2s ease;
}

.sfx-toggle-btn.active .wave-bar {
  background-color: var(--accent-teal);
  animation: eqBounce 0.8s infinite ease-in-out alternate;
}

.sfx-toggle-btn.active .wave-bar:nth-child(1) { animation-delay: 0.1s; }
.sfx-toggle-btn.active .wave-bar:nth-child(2) { animation-delay: 0.3s; }
.sfx-toggle-btn.active .wave-bar:nth-child(3) { animation-delay: 0.2s; }

@keyframes eqBounce {
  0% { height: 3px; }
  50% { height: 12px; }
  100% { height: 5px; }
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(0, 245, 212, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-teal);
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
  animation: pulseLight 2s infinite ease-in-out;
}

@keyframes pulseLight {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 12px var(--accent-teal); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: var(--surface-slate);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav {
  display: none;
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-slate);
  padding: 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.mobile-nav.open {
  display: block;
  max-height: 500px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-white);
  text-decoration: none;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover {
  background: var(--surface-slate);
  color: var(--accent-teal);
}

.mobile-cta-item {
  margin-top: 0.5rem;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-xs {
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-teal {
  background: var(--accent-teal);
  color: #051412;
  box-shadow: 0 4px 14px rgba(0, 245, 212, 0.25);
}

.btn-teal:hover {
  background: #22ffe2;
  box-shadow: 0 6px 20px rgba(0, 245, 212, 0.45);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--accent-teal);
  border-color: rgba(0, 245, 212, 0.5);
}

.btn-outline-teal:hover {
  background: var(--accent-teal-dim);
  border-color: var(--accent-teal);
  box-shadow: var(--glow-teal-sm);
  transform: translateY(-2px);
}

.btn-outline-amber {
  background: transparent;
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.5);
}

.btn-outline-amber:hover {
  background: var(--accent-amber-dim);
  border-color: var(--accent-amber);
  box-shadow: var(--glow-amber-sm);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(31, 41, 55, 0.4);
  color: var(--text-white);
  border-color: var(--border-slate);
}

.btn-ghost:hover {
  background: rgba(31, 41, 55, 0.8);
  border-color: var(--border-slate-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   Frosted Glass Cards & Moving Gradient Borders
   ========================================================================== */
.glass-card {
  position: relative;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Holographic Cursor Spotlight */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--card-mouse-x, var(--mouse-x, 50%)) var(--card-mouse-y, var(--mouse-y, 50%)), rgba(0, 245, 212, 0.16), transparent 65%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

/* Moving Cyberpunk Neon Gradient Border (#00F5D4 to #F59E0B) */
.glass-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    var(--accent-teal) 0%,
    transparent 20%,
    var(--accent-amber) 40%,
    transparent 60%,
    var(--accent-teal) 80%,
    var(--accent-amber) 100%
  );
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: moveNeonBorder 3.5s linear infinite;
}

.glass-card:hover::after {
  opacity: 1;
}

@keyframes moveNeonBorder {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.glass-card:hover {
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 245, 212, 0.15);
}

.card-inner {
  position: relative;
  z-index: 2;
  padding: 1.85rem;
}

.card-glow-edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glass-card:hover .card-glow-edge {
  opacity: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.5rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.terminal-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.terminal-prompt-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  color: var(--text-white);
}

.prompt-user { color: var(--accent-teal); font-weight: 600; }
.prompt-sep { color: var(--text-dim); }
.prompt-path { color: var(--accent-amber); }
.prompt-char { color: var(--text-dim); margin-right: 0.35rem; }
.prompt-cmd { color: var(--text-white); font-weight: 600; }

.uptime-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--status-green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

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

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
  color: var(--text-white);
  min-height: 2.3em;
}

.typed-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cursor {
  display: inline-block;
  color: var(--accent-teal);
  font-weight: 400;
  animation: blinkCursor 1s infinite;
  margin-left: 2px;
}

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

.hero-subtitle-chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.chip-item {
  color: var(--text-white);
  font-weight: 500;
}

.chip-divider {
  color: var(--accent-amber);
}

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

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

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.infra-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-slate);
}

.metric-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(31, 41, 55, 0.8);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.2rem;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.3;
}

/* Hero Terminal Box */
.terminal-card {
  position: relative;
  background: #0d1322;
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.terminal-scanline-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
  box-shadow: 0 0 12px var(--accent-teal);
  opacity: 0.65;
  z-index: 10;
  pointer-events: none;
  animation: laserSweep 6s infinite linear;
}

@keyframes laserSweep {
  0% { transform: translateY(-5px); opacity: 0; }
  10% { opacity: 0.75; }
  90% { opacity: 0.75; }
  100% { transform: translateY(400px); opacity: 0; }
}

/* ==========================================================================
   Real-time Infrastructure Telemetry Marquee Stream Bar
   ========================================================================== */
.telemetry-stream-bar {
  position: relative;
  z-index: 2;
  background: #090e18;
  border-top: 1px solid var(--border-slate);
  border-bottom: 1px solid var(--border-slate);
  padding: 0.65rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.telemetry-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 36s linear infinite;
}

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

.telemetry-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
}

.telemetry-sep {
  color: var(--accent-teal);
  opacity: 0.45;
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 6px var(--status-green);
  display: inline-block;
  animation: pulseLight 1.8s infinite;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #111827;
  border-bottom: 1px solid var(--border-slate);
}

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

.ctrl-btn {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.ctrl-close { background: #ef4444; }
.ctrl-min { background: #f59e0b; }
.ctrl-max { background: #10b981; }

.window-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-active {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(0, 245, 212, 0.15);
  color: var(--accent-teal);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 245, 212, 0.3);
}

.terminal-body {
  padding: 1.25rem 1.4rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

.code-line {
  margin-bottom: 0.35rem;
}

.code-output {
  margin-bottom: 0.85rem;
  padding-left: 0.5rem;
  border-left: 2px solid var(--border-slate);
}

.code-prompt-interactive {
  margin-top: 1rem;
  color: var(--accent-teal);
}

.blink {
  animation: blinkFade 1.4s infinite;
}

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

/* ==========================================================================
   Section Header Standard
   ========================================================================== */
.section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
}

.section-header {
  margin-bottom: 3.25rem;
}

.section-tag {
  font-size: 0.82rem;
  color: var(--accent-teal);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-slate);
}

.avatar-badge {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: linear-gradient(135deg, #162033 0%, #0d1322 100%);
  border: 2px solid var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-teal-sm);
  flex-shrink: 0;
}

.avatar-initials {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-teal);
}

.online-indicator {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--status-green);
  border: 3px solid var(--surface-slate);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.profile-designation {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(31, 41, 55, 0.6);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
}

.about-text-content {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-text-content p {
  margin-bottom: 1rem;
}

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

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-slate);
}

.principle-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.principle-icon {
  font-size: 1.15rem;
  font-weight: 700;
}

.principle-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.principle-content p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.about-side-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-header-with-badge {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-icon-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-heading {
  font-size: 1.15rem;
  font-weight: 700;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.badge-teal {
  background: var(--accent-teal-dim);
  color: var(--accent-teal);
  border: 1px solid rgba(0, 245, 212, 0.3);
}

.badge-amber {
  background: var(--accent-amber-dim);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.education-details .degree-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.edu-desc {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.edu-highlights {
  list-style: none;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-fast-card .fast-email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-top: 1rem;
}

.fast-email-link {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.fast-email-link:hover {
  color: var(--accent-teal);
  text-decoration: underline;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.skill-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.skill-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-slate);
  flex-shrink: 0;
}

.bg-teal-glow {
  background: rgba(0, 245, 212, 0.08);
  border-color: rgba(0, 245, 212, 0.3);
}

.bg-amber-glow {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}

.skill-category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.skill-category-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.5;
}

.skill-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.6rem;
}

.skill-item-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.skill-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
}

.skill-badge {
  font-size: 0.68rem;
  color: var(--accent-teal);
  background: rgba(0, 245, 212, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 245, 212, 0.2);
  white-space: nowrap;
}

.skill-card:nth-child(2) .skill-badge {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
}

.skill-item-detail {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-slate);
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  color: var(--accent-teal);
  border-color: var(--accent-teal);
  background: rgba(0, 245, 212, 0.08);
}

/* ==========================================================================
   CI/CD Pipeline Visualizer
   ========================================================================== */
.pipeline-section {
  position: relative;
}

.pipeline-wrapper-card .card-inner {
  padding: 2.25rem;
}

.pipeline-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-slate);
  margin-bottom: 2.25rem;
}

.pipeline-info-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pipeline-action-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pipeline-visual-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.pipeline-node {
  position: relative;
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}

.node-status-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.pipeline-node.active .node-status-glow {
  border-color: var(--accent-amber);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.pipeline-node.completed .node-status-glow {
  border-color: var(--accent-teal);
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.4);
}

.node-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-slate);
  border: 1px solid var(--border-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  transition: all var(--transition-fast);
}

.pipeline-node.active .node-icon-circle {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  animation: pulseLight 1.5s infinite;
}

.pipeline-node.completed .node-icon-circle {
  background: rgba(0, 245, 212, 0.15);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.node-step-tag {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.node-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.node-desc {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.node-state-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
}

.badge-success {
  background: rgba(0, 245, 212, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(0, 245, 212, 0.3);
}

.badge-live {
  background: rgba(16, 185, 129, 0.12);
  color: var(--status-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-running {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-pending {
  background: rgba(31, 41, 55, 0.6);
  color: var(--text-dim);
  border: 1px solid var(--border-slate);
}

.pipeline-node.active::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-amber);
  animation: sonarPing 1.8s infinite cubic-bezier(0, 0.2, 0.8, 1);
  pointer-events: none;
}

@keyframes sonarPing {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.18); opacity: 0; }
}

.pipeline-connector {
  position: relative;
  width: 32px;
  height: 2px;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: var(--border-slate);
  position: relative;
  overflow: hidden;
}

.packet-particle {
  position: absolute;
  top: -2px;
  left: 0;
  width: 8px;
  height: 6px;
  background: var(--accent-teal);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-teal);
  animation: packetFlow 2s infinite ease-in-out;
}

.pipeline-connector.active .packet-particle {
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
  animation-duration: 1.1s;
}

@keyframes packetFlow {
  0% { transform: translateX(-15px); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateX(38px); opacity: 0; }
}

.pipeline-connector.active .connector-line {
  background: rgba(245, 158, 11, 0.5);
}

.pipeline-connector.completed .connector-line {
  background: rgba(0, 245, 212, 0.6);
}

.pipeline-log-window {
  background: #090d16;
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pipeline-log-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: #111827;
  border-bottom: 1px solid var(--border-slate);
}

.pipeline-log-content {
  padding: 1rem 1.25rem;
  max-height: 140px;
  overflow-y: auto;
  line-height: 1.7;
}

.log-row {
  margin-bottom: 0.25rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.log-time { color: var(--text-dim); margin-right: 0.4rem; }
.log-tag { padding: 0.1rem 0.4rem; border-radius: 3px; font-size: 0.65rem; margin-right: 0.4rem; }
.tag-info { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.tag-pass { background: rgba(0, 245, 212, 0.15); color: var(--accent-teal); }
.tag-deploy { background: rgba(16, 185, 129, 0.15); color: var(--status-green); }
.tag-run { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }

/* ==========================================================================
   Projects / Hands-on Labs Showcase
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

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

.project-card .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.project-num {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.project-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-architecture-box {
  background: rgba(11, 15, 25, 0.9);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font-size: 0.72rem;
  margin-bottom: 1.25rem;
}

.arch-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--accent-teal);
}

.arch-node {
  background: rgba(31, 41, 55, 0.7);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  color: var(--text-white);
}

.arch-arrow {
  color: var(--accent-amber);
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

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

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-slate);
}

.project-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   Interactive Terminal Section
   ========================================================================== */
.terminal-playground-section {
  position: relative;
}

.terminal-container {
  max-width: 900px;
  margin: 0 auto;
}

.terminal-chips-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chips-label {
  margin-right: 0.25rem;
}

.cmd-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  color: var(--accent-teal);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cmd-chip:hover {
  background: var(--accent-teal-dim);
  border-color: var(--accent-teal);
  transform: translateY(-1px);
}

.interactive-terminal-box {
  background: #090d16;
  border: 1px solid var(--border-slate-light);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 245, 212, 0.1);
  overflow: hidden;
}

.terminal-session-info {
  display: inline-block;
}

.terminal-history {
  padding: 1.5rem;
  min-height: 280px;
  max-height: 440px;
  overflow-y: auto;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-white);
}

.ascii-banner {
  color: var(--accent-teal);
  font-size: 0.75rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.term-line {
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.term-prompt {
  margin-right: 0.5rem;
  user-select: none;
}

.term-command {
  color: var(--text-white);
  font-weight: 600;
}

.term-output {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(0, 245, 212, 0.3);
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.83rem;
}

.term-output .text-teal { color: var(--accent-teal); }
.term-output .text-amber { color: var(--accent-amber); }
.term-output .text-white { color: var(--text-white); }
.term-output table { border-collapse: collapse; margin-top: 0.5rem; width: 100%; font-size: 0.78rem; }
.term-output th, .term-output td { text-align: left; padding: 0.25rem 0.5rem; border-bottom: 1px solid var(--border-slate); }
.term-output th { color: var(--accent-teal); }

.terminal-input-row {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: #0f1524;
  border-top: 1px solid var(--border-slate);
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 0.88rem;
  outline: none;
}

.terminal-input::placeholder {
  color: var(--text-dim);
}

.terminal-submit-btn {
  background: transparent;
  border: none;
  color: var(--accent-teal);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.terminal-submit-btn:hover {
  transform: translateX(2px);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2.25rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.contact-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.direct-email-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid rgba(0, 245, 212, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  color: var(--accent-teal);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  margin-bottom: 1.5rem;
}

.direct-email-link:hover {
  background: rgba(0, 245, 212, 0.1);
  border-color: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: var(--glow-teal-sm);
}

.contact-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(31, 41, 55, 0.5);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}

.ops-status-card .ops-header {
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-slate);
}

.ops-row {
  margin-bottom: 0.45rem;
  display: flex;
  justify-content: space-between;
}

/* Form Styles */
.form-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.form-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.form-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.required-star {
  color: var(--accent-amber);
}

.form-control {
  width: 100%;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-white);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.25);
  background: rgba(15, 22, 36, 0.95);
}

.form-control.is-invalid {
  border-color: var(--status-red);
  background: rgba(239, 68, 68, 0.05);
}

.textarea-control {
  resize: vertical;
  min-height: 120px;
}

.error-feedback {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--status-red);
  min-height: 1em;
}

/* ==========================================================================
   Interactive Lab Breakdown Modal
   ========================================================================== */
.lab-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lab-modal[open] {
  display: flex;
}

.modal-backdrop-layer {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  overflow-y: auto;
  background: #101625;
}

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

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

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-white);
  background: var(--surface-slate);
}

.modal-body {
  padding: 1.75rem;
}

.modal-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--accent-teal);
}

.modal-code-snippet {
  background: #090d16;
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e5e7eb;
  overflow-x: auto;
  margin: 0.75rem 0 1.25rem;
  line-height: 1.5;
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #111827;
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-white);
  min-width: 280px;
  max-width: 400px;
  animation: slideToastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.toast-success {
  border-color: var(--accent-teal);
  box-shadow: 0 8px 24px rgba(0, 245, 212, 0.2);
}

.toast.toast-info {
  border-color: var(--accent-cyan);
}

.toast.toast-warning {
  border-color: var(--accent-amber);
}

.toast.toast-dismiss {
  opacity: 0;
  transform: translateX(40px);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  background: #080c14;
  border-top: 1px solid var(--border-slate);
  padding: 4.5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-heading {
  font-size: 0.78rem;
  color: var(--accent-teal);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: block;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(31, 41, 55, 0.6);
}

.footer-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
}

.back-to-top {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-teal);
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.back-to-top:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-visual-track {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pipeline-connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
  }

  .connector-line {
    width: 2px;
    height: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-cta,
  .header-github {
    display: none;
  }

  .infra-metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-nav-groups {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .toast {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    font-size: 0.95rem;
  }

  .brand-logo .logo-role,
  .brand-logo .accent-slash {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-nav-groups {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Smooth, Performance-Optimized Reveal-on-Scroll Animations
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Backward compatibility for previous classes */
.scroll-reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.scroll-reveal.visible,
.reveal-item.visible,
.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entry delays for card grids, lists, and metrics */
.skills-grid > .reveal-on-scroll:nth-child(1),
.projects-grid > .reveal-on-scroll:nth-child(1),
.about-grid > .reveal-on-scroll:nth-child(1),
.contact-grid > .reveal-on-scroll:nth-child(1),
.infra-metrics-strip > .reveal-on-scroll:nth-child(1),
.principles-grid > .reveal-on-scroll:nth-child(1),
.skill-items-list > .reveal-on-scroll:nth-child(1),
.pipeline-visual-track > .reveal-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}

.skills-grid > .reveal-on-scroll:nth-child(2),
.projects-grid > .reveal-on-scroll:nth-child(2),
.about-grid > .reveal-on-scroll:nth-child(2),
.contact-grid > .reveal-on-scroll:nth-child(2),
.infra-metrics-strip > .reveal-on-scroll:nth-child(2),
.principles-grid > .reveal-on-scroll:nth-child(2),
.skill-items-list > .reveal-on-scroll:nth-child(2),
.pipeline-visual-track > .reveal-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}

.skills-grid > .reveal-on-scroll:nth-child(3),
.projects-grid > .reveal-on-scroll:nth-child(3),
.about-grid > .reveal-on-scroll:nth-child(3),
.contact-grid > .reveal-on-scroll:nth-child(3),
.infra-metrics-strip > .reveal-on-scroll:nth-child(3),
.principles-grid > .reveal-on-scroll:nth-child(3),
.skill-items-list > .reveal-on-scroll:nth-child(3),
.pipeline-visual-track > .reveal-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}

.skills-grid > .reveal-on-scroll:nth-child(4),
.projects-grid > .reveal-on-scroll:nth-child(4),
.about-grid > .reveal-on-scroll:nth-child(4),
.contact-grid > .reveal-on-scroll:nth-child(4),
.infra-metrics-strip > .reveal-on-scroll:nth-child(4),
.principles-grid > .reveal-on-scroll:nth-child(4),
.skill-items-list > .reveal-on-scroll:nth-child(4),
.pipeline-visual-track > .reveal-on-scroll:nth-child(4) {
  transition-delay: 0.4s;
}

/* Interactive Ripple / Neon Pulse on Buttons */
.btn:active {
  transform: scale(0.97);
}

/* Accessible Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-on-scroll,
  .reveal-item,
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .telemetry-track {
    animation: none !important;
  }
  .cyber-canvas {
    display: none !important;
  }
}

/* Fallback for environments with JavaScript disabled */
@media (scripting: none) {
  .reveal-on-scroll,
  .reveal-item,
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

