/* ==========================================================================
   Ravi Prajapati Portfolio — Luminous Aurora Glass & Modern Tech UI
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-code: 'JetBrains Mono', 'Fira Code', monospace;

  /* Fresh, Luminous Tech Palette (Default Light Aurora) */
  --bg-deep: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-hover: rgba(255, 255, 255, 0.98);

  --border-subtle: rgba(226, 232, 240, 0.9);
  --border-glass: rgba(255, 255, 255, 0.95);
  --border-glow: rgba(37, 99, 235, 0.3);
  --border-glow-violet: rgba(124, 58, 237, 0.35);

  --text-main: #0f172a;
  --text-dim: #334155;
  --text-muted: #64748b;

  /* High Impact Vibrant Colors */
  --brand-cyan: #0284c7;
  --brand-blue: #2563eb;
  --brand-violet: #6366f1;
  --brand-emerald: #059669;
  --brand-amber: #d97706;
  --brand-rose: #e11d48;

  /* Luminous Gradients */
  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #9333ea 100%);
  --gradient-aurora: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
  --gradient-sunset: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);

  /* Premium Elevated Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 12px 36px -8px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 22px 48px -12px rgba(37, 99, 235, 0.16), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 8px 25px rgba(37, 99, 235, 0.25);

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Optional Dark Theme Switch */
[data-theme="dark"] {
  --bg-deep: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-elevated: #1f2937;
  --bg-glass: rgba(17, 24, 39, 0.8);
  --bg-glass-hover: rgba(31, 41, 55, 0.9);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(56, 189, 248, 0.35);
  --border-glow-violet: rgba(139, 92, 246, 0.4);

  --text-main: #f8fafc;
  --text-dim: #94a3b8;
  --text-muted: #64748b;

  --brand-cyan: #38bdf8;
  --brand-blue: #3b82f6;
  --brand-violet: #8b5cf6;
  --brand-emerald: #10b981;

  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #ec4899 100%);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.2);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Ambient Animated Aurora Mesh Background */
.aurora-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-deep);
}

.aurora-blob {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.55;
  animation: floatOrb 18s ease-in-out infinite alternate;
  will-change: transform;
}

.aurora-blob-1 {
  top: -10%;
  left: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, rgba(99, 102, 241, 0.2) 60%, transparent 80%);
  animation-duration: 20s;
}

.aurora-blob-2 {
  top: 30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(59, 130, 246, 0.2) 60%, transparent 80%);
  animation-duration: 25s;
}

.aurora-blob-3 {
  bottom: -15%;
  left: 20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(6, 182, 212, 0.2) 60%, transparent 80%);
  animation-duration: 22s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Background Node Canvas */
#network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Subtle Cursor Spotlight */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(99, 102, 241, 0.04) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Floating Crystal Header Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 100;
  margin: 0 1.25rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .site-header {
  background: rgba(17, 24, 39, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.site-header.scrolled {
  top: 0.5rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1), 0 0 1px var(--brand-blue);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  padding: 0 1.25rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-symbol {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-code);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.logo-symbol::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(30deg);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-150%) rotate(30deg); }
  30%, 100% { transform: translateX(150%) rotate(30deg); }
}

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

.logo-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.status-dot-mini {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-emerald);
  box-shadow: 0 0 8px var(--brand-emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.04);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] .nav-links {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
}

.nav-link:hover {
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
}

.nav-link.active {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

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

.theme-toggle-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .theme-toggle-btn {
  background: #1f2937;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: rotate(15deg) scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn-secondary {
  background: #1f2937;
}

.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.btn-outline {
  background: rgba(37, 99, 235, 0.06);
  color: var(--brand-blue);
  border-color: rgba(37, 99, 235, 0.3);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 5.5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-code);
  font-size: 0.82rem;
  color: var(--brand-emerald);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
  font-weight: 600;
}

.status-beacon {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald);
}

.status-beacon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--brand-emerald);
  animation: beaconWave 2s infinite;
}

@keyframes beaconWave {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1.35rem;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.3em;
  background: var(--brand-blue);
  vertical-align: middle;
  animation: blinkCursor 0.9s infinite;
}

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

.hero-description {
  font-size: 1.12rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .highlight-pill {
  background: #1f2937;
}

.highlight-pill:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  color: var(--brand-blue);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}

.highlight-pill svg {
  color: var(--brand-blue);
}

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

/* ==========================================================================
   Motion Graphic: CI/CD Pipeline Visualizer
   ========================================================================== */
.pipeline-section {
  padding: 3.5rem 0;
  position: relative;
}

.pipeline-container {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.pipeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

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

.pipeline-title-group h3 {
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pipeline-title-group p {
  font-size: 0.92rem;
  color: var(--text-dim);
}

.pipeline-live-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-code);
  font-size: 0.8rem;
  color: var(--brand-emerald);
  background: rgba(5, 150, 105, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(5, 150, 105, 0.25);
  font-weight: 700;
}

.pipeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.pipeline-beam {
  position: absolute;
  top: 38px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: rgba(15, 23, 42, 0.08);
  z-index: 1;
}

[data-theme="dark"] .pipeline-beam {
  background: rgba(255, 255, 255, 0.1);
}

.pipeline-pulse-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
  box-shadow: 0 0 12px var(--brand-blue);
  animation: beamTraverse 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes beamTraverse {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 90%; opacity: 0; }
}

.pipeline-node {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.25rem;
  text-align: center;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

[data-theme="dark"] .pipeline-node {
  background: #1f2937;
}

.pipeline-node:hover,
.pipeline-node.active-stage {
  transform: translateY(-6px);
  border-color: var(--brand-blue);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.15);
}

.node-icon-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  border: 2px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  color: var(--brand-blue);
  transition: all var(--transition-smooth);
}

.pipeline-node:hover .node-icon-bubble,
.pipeline-node.active-stage .node-icon-bubble {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.4);
}

.node-stage-num {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.node-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.node-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.node-status {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-family: var(--font-code);
  color: var(--brand-emerald);
  font-weight: 600;
}

/* ==========================================================================
   Modern Frosted Terminal Shell (Clean Light / macOS Aesthetic)
   ========================================================================== */
.terminal-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .terminal-card {
  background: #0d1322;
}

.terminal-card:hover {
  box-shadow: var(--shadow-card-hover);
}

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

[data-theme="dark"] .terminal-header {
  background: #080d1a;
}

.terminal-buttons {
  display: flex;
  gap: 0.45rem;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.btn-close { background-color: #ef4444; }
.btn-minimize { background-color: #f59e0b; }
.btn-expand { background-color: #10b981; }

.terminal-tabs {
  display: flex;
  gap: 0.4rem;
}

.terminal-tab {
  font-family: var(--font-code);
  font-size: 0.78rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-smooth);
}

.terminal-tab.active {
  background: #ffffff;
  color: var(--brand-blue);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .terminal-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-cyan);
}

.terminal-body {
  padding: 1.6rem;
  font-family: var(--font-code);
  font-size: 0.88rem;
  line-height: 1.7;
  min-height: 320px;
  background: #ffffff;
}

[data-theme="dark"] .terminal-body {
  background: #0d1322;
}

.terminal-line {
  margin-bottom: 0.65rem;
}

.term-prompt {
  color: var(--brand-blue);
  margin-right: 0.5rem;
  font-weight: 700;
}

.term-cmd {
  color: var(--text-main);
  font-weight: 600;
}

.term-output {
  color: var(--text-dim);
  padding-left: 0.75rem;
  border-left: 2px solid rgba(37, 99, 235, 0.25);
  margin-top: 0.4rem;
  margin-bottom: 0.95rem;
}

.term-json-key { color: #0284c7; font-weight: 600; }
.term-json-string { color: #059669; }
.term-json-num { color: #d97706; font-weight: 600; }
.term-status-ok { color: #059669; font-weight: 700; }

.terminal-quick-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

[data-theme="dark"] .terminal-quick-actions {
  background: rgba(0, 0, 0, 0.3);
}

.quick-cmd-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-family: var(--font-code);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-smooth);
}

.quick-cmd-btn:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* ==========================================================================
   Metrics Strip
   ========================================================================== */
.metrics-strip {
  margin-top: 3.5rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid rgba(37, 99, 235, 0.3);
  transition: transform var(--transition-smooth);
}

.metric-card:hover {
  transform: translateX(4px);
  border-left-color: var(--brand-blue);
}

.metric-number-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.metric-value {
  font-size: 2.75rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-suffix {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.metric-label {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* ==========================================================================
   Section Headers & Shared Components
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.75rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--brand-blue);
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-title {
  font-size: 2.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ==========================================================================
   Skills Grid with 3D Tilt & Glass Elevation
   ========================================================================== */
.skills-filter {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .filter-btn {
  background: #1f2937;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.skill-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  will-change: transform;
}

.skill-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-6px);
}

.skill-icon-bubble {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-smooth);
}

.skill-card:hover .skill-icon-bubble {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
}

.skill-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.skill-card-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.skill-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skill-tag {
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  font-family: var(--font-code);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .skill-tag {
  background: #1f2937;
}

.skill-card:hover .skill-tag {
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--brand-blue);
}

/* ==========================================================================
   Chronological Experience Timeline
   ========================================================================== */
.timeline-section {
  position: relative;
}

.timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-blue) 0%, var(--brand-violet) 50%, rgba(15, 23, 42, 0.08) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 72px;
  margin-bottom: 3.25rem;
}

.timeline-marker {
  position: absolute;
  left: 19px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--brand-blue);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
  z-index: 2;
  transition: all var(--transition-smooth);
}

.timeline-item.active-role .timeline-marker {
  background: var(--brand-emerald);
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(5, 150, 105, 0.4);
}

.timeline-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: background var(--transition-smooth);
}

.timeline-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateX(6px);
}

.timeline-card:hover::before {
  background: var(--gradient-brand);
}

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

.role-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.company-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-current {
  background: rgba(5, 150, 105, 0.12);
  color: var(--brand-emerald);
  border: 1px solid rgba(5, 150, 105, 0.25);
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.15);
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  font-family: var(--font-code);
}

.role-meta span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.role-bullets {
  list-style: none;
  margin-bottom: 1.5rem;
}

.role-bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.65;
}

.role-bullets li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
  color: var(--brand-blue);
}

.role-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Architectural Highlights
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.project-badge {
  font-family: var(--font-code);
  font-size: 0.76rem;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1.25rem;
  align-self: flex-start;
  font-weight: 700;
}

.project-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.98rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-features {
  list-style: none;
  margin-bottom: 1.75rem;
}

.project-features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
}

.project-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-emerald);
  font-weight: 900;
}

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

/* ==========================================================================
   Education & Languages
   ========================================================================== */
.edu-lang-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.edu-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  backdrop-filter: blur(16px);
}

.edu-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateX(6px);
  box-shadow: var(--shadow-card-hover);
}

.edu-degree {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.edu-school {
  font-size: 1.05rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.edu-year {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: var(--font-code);
}

.languages-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.lang-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lang-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.96rem;
  font-weight: 700;
}

.lang-bar-bg {
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

[data-theme="dark"] .lang-bar-bg {
  background: #1f2937;
}

.lang-bar-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--text-main);
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .contact-item {
  background: #1f2937;
}

.contact-item:hover {
  border-color: var(--brand-blue);
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-smooth);
}

.contact-item:hover .contact-icon {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotate(5deg) scale(1.05);
}

.contact-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-family: var(--font-code);
}

.contact-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.copy-btn {
  margin-left: auto;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .copy-btn {
  background: #111827;
}

.copy-btn:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: scale(1.1);
}

.contact-form-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.96rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
  background: #111827;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

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

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ffffff;
  color: var(--text-main);
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1000;
  transform: translateY(150%) scale(0.9);
  transition: transform var(--transition-spring), opacity 0.3s ease;
  opacity: 0;
  font-family: var(--font-code);
  font-size: 0.9rem;
  font-weight: 600;
}

[data-theme="dark"] .toast {
  background: #111827;
}

.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .site-footer {
  background: #0b0f19;
}

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

.footer-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-smooth);
}

.footer-link:hover {
  color: var(--brand-blue);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pipeline-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline-beam {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .edu-lang-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }
  .site-header {
    margin: 0.5rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.6rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  }
  [data-theme="dark"] .nav-links {
    background: #111827;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .pipeline-track {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 14px;
  }
  .timeline-marker {
    left: 5px;
  }
  .timeline-item {
    padding-left: 45px;
  }
}

/* Print Friendly Styles */
@media print {
  .aurora-background,
  #network-canvas,
  .cursor-spotlight,
  .site-header,
  .pipeline-section,
  .terminal-card,
  .skills-filter,
  .contact-form-card,
  .site-footer,
  .copy-btn,
  .toast {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .timeline-card, .skill-card, .edu-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .gradient-text {
    -webkit-text-fill-color: #000 !important;
  }
}
