/* ==========================================================================
   DEEPAN NARAYANAMOORTHY - PORTFOLIO STYLESHEET
   Design System: Deep Cyber Slate / SRE Observability Theme
   ========================================================================== */

:root {
  --bg-base: #070a12;
  --bg-surface: #0c1220;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(26, 36, 56, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(56, 189, 248, 0.15);
  --border-highlight: rgba(56, 189, 248, 0.4);

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

  --accent-cyan: #38bdf8;
  --accent-blue: #60a5fa;
  --accent-indigo: #818cf8;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 35px -5px rgba(56, 189, 248, 0.25);

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Atmosphere */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.35;
}

.orb-1 {
  width: 550px;
  height: 550px;
  top: -100px;
  left: 10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(30, 58, 138, 0.15) 70%, transparent 100%);
}

.orb-2 {
  width: 600px;
  height: 600px;
  top: 35%;
  right: -150px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.25) 0%, rgba(88, 28, 135, 0.15) 70%, transparent 100%);
}

.orb-3 {
  width: 500px;
  height: 500px;
  bottom: 5%;
  left: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(6, 78, 59, 0.1) 70%, transparent 100%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #38bdf8 55%, #818cf8 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight {
  color: var(--accent-cyan);
}

.text-blue { color: var(--accent-cyan); }
.text-emerald { color: var(--accent-emerald-light); }
.text-purple { color: var(--accent-indigo); }
.text-amber { color: var(--accent-amber); }
.text-rose { color: var(--accent-rose); }
.text-cyan { color: #22d3ee; }
.text-green { color: var(--accent-emerald); }

/* Common Section Headers */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

/* Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  border-color: var(--border-card);
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #04101e;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.55);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.4);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOP STATUS BAR
   ========================================================================== */
.top-status-bar {
  background: rgba(12, 18, 32, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  padding: 7px 0;
  position: relative;
  z-index: 50;
}

.status-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald-light);
  display: inline-block;
}

.status-dot.pulse {
  box-shadow: 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.status-slo {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.75rem;
}

.status-quick-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-amber);
  font-weight: 500;
  transition: opacity var(--transition-fast);
}

.cert-pill:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.cert-pill .icon {
  width: 14px;
  height: 14px;
}

.location-badge {
  color: var(--text-dim);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(7, 10, 18, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.logo-bracket {
  color: var(--accent-cyan);
}

.logo-text {
  color: #fff;
  margin: 0 2px;
}

.logo-cursor {
  color: var(--accent-indigo);
  animation: blink 1s step-end infinite;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
}

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

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.availability-badge strong {
  color: var(--accent-cyan);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald-light);
}

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 22px;
  min-height: 4.3rem; /* Reserves space for 2 full lines to permanently eliminate layout shifts */
}

.hero-subtitle-prefix {
  display: block;
  margin-bottom: 5px;
  color: var(--text-secondary);
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 620px;
}

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

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon-btn svg {
  width: 16px;
  height: 16px;
}

.social-icon-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Visual Column: Profile + Terminal */
.hero-visual-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-card-wrapper {
  perspective: 1000px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.profile-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.profile-avatar-container {
  position: relative;
  width: 125px;
  height: 125px;
  flex-shrink: 0;
}

.profile-avatar {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.avatar-glow-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.45), rgba(129, 140, 248, 0.45));
  z-index: -1;
  filter: blur(8px);
}

.profile-card-meta {
  flex-grow: 1;
}

.meta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.meta-role {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  font-weight: 500;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* SRE Terminal */
.terminal-card {
  background: #090e1a;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  font-family: var(--font-mono);
}

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

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.terminal-title {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.terminal-badge {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.terminal-body {
  padding: 18px;
  font-size: 0.84rem;
  line-height: 1.6;
  max-height: 270px;
  overflow-y: auto;
  color: #e2e8f0;
}

.terminal-line {
  margin-bottom: 6px;
  word-break: break-all;
}

.term-prompt {
  color: var(--accent-emerald-light);
  font-weight: 700;
  margin-right: 6px;
}

.term-cmd {
  color: #f8fafc;
}

.terminal-output {
  margin: 6px 0 12px;
  color: var(--text-secondary);
}

.term-json {
  color: #94a3b8;
  white-space: pre-wrap;
}

.json-key { color: var(--accent-cyan); }
.json-str { color: #86efac; }

.active-line {
  display: flex;
  align-items: center;
}

.term-cursor {
  color: var(--accent-cyan);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

.terminal-quick-actions {
  background: #0b1220;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
}

.term-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.term-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.term-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */
.metrics-section {
  padding: 30px 0 60px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: left;
  transition: transform var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card);
}

.metric-icon-wrap {
  margin-bottom: 14px;
}

.metric-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 2.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

/* ==========================================================================
   ENGINEERING PILLARS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  border-color: var(--border-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-checklist {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.pillar-checklist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.pillar-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-emerald-light);
  font-weight: bold;
}

/* ==========================================================================
   EXPERIENCE / TIMELINE
   ========================================================================== */
.experience-section {
  position: relative;
}

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

.timeline-item {
  position: relative;
  padding-left: 48px;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  top: 32px;
  left: 12px;
  bottom: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
  z-index: 2;
}

.marker-line {
  width: 2px;
  flex-grow: 1;
  background: linear-gradient(to bottom, var(--accent-cyan), rgba(56, 189, 248, 0.1));
}

.timeline-item:last-child .marker-line {
  display: none;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.company-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.company-name {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.company-name a:hover {
  color: var(--accent-cyan);
}

.job-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.job-badge.active-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.job-role {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.role-sub {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.95rem;
}

.exp-meta {
  text-align: right;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.exp-date {
  display: block;
  font-weight: 600;
  color: var(--text-secondary);
}

.exp-location {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Quote Callout */
.quote-callout {
  display: flex;
  gap: 14px;
  background: rgba(30, 41, 59, 0.5);
  border-left: 4px solid var(--accent-indigo);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.quote-icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-indigo);
  opacity: 0.6;
}

.quote-body p {
  line-height: 1.55;
}

.quote-body strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.quote-body em {
  font-style: italic;
  color: #e2e8f0;
}

/* Bullet list */
.exp-bullets ul {
  list-style: none;
  margin-bottom: 24px;
}

.exp-bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.exp-bullets li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  line-height: 1.4;
}

.exp-bullets strong {
  color: #fff;
  font-weight: 600;
}

/* Tech Stack row */
.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
}

/* ==========================================================================
   CASE STUDIES SECTION
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.case-card:hover {
  border-color: var(--border-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-blue { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); }
.tag-purple { background: rgba(168, 85, 247, 0.15); color: var(--accent-purple); }
.tag-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald-light); }
.tag-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }

.case-org {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

.case-title {
  font-size: 1.28rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.case-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-highlights {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.case-highlight-item {
  margin-bottom: 8px;
  line-height: 1.5;
}

.case-highlight-item:last-child {
  margin-bottom: 0;
}

.hl-title {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 600;
  margin-right: 6px;
}

.hl-desc {
  color: var(--text-secondary);
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.skill-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.skill-filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.skill-filter-btn.active {
  background: var(--accent-cyan);
  color: #04101e;
  border-color: var(--accent-cyan);
  box-shadow: 0 2px 12px rgba(56, 189, 248, 0.35);
}

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

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all var(--transition-base);
}

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

.cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.cat-icon svg {
  width: 22px;
  height: 22px;
}

.cat-header h4 {
  font-size: 1.15rem;
}

.skill-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.badge:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
}

.badge.highlight-badge {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.project-card:hover {
  border-color: var(--border-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.project-award-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.award-icon {
  width: 14px;
  height: 14px;
}

.project-type-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.project-ext-link {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.project-ext-link:hover {
  color: var(--accent-cyan);
}

.project-ext-link svg {
  width: 18px;
  height: 18px;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.project-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   CERTIFICATIONS & HONORS
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  transition: all var(--transition-base);
}

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

.cert-card.featured-cert {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(17, 24, 39, 0.8) 100%);
}

.cert-badge-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
}

.cert-badge-icon svg {
  width: 22px;
  height: 22px;
}

.cert-content {
  flex-grow: 1;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 4px;
}

.cert-name {
  font-size: 1.1rem;
  margin-bottom: 6px;
  line-height: 1.35;
}

.cert-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.cert-link:hover {
  text-decoration: underline;
}

.cert-link svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-card-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.contact-heading {
  font-size: 2.1rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-subtext {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  transition: all var(--transition-fast);
}

.contact-item:hover {
  background: rgba(56, 189, 248, 0.06);
  border-color: rgba(56, 189, 248, 0.25);
}

.c-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-icon svg {
  width: 20px;
  height: 20px;
}

.c-details {
  flex-grow: 1;
}

.c-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-mono);
}

.c-value {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.c-value:hover {
  color: var(--accent-cyan);
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.1);
}

.copy-icon {
  width: 18px;
  height: 18px;
}

/* Email Composer Column */
.quick-mail-box {
  background: rgba(12, 18, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.mail-box-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.mail-box-sub {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.resume-download-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px dashed rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.r-text strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
}

.r-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================= */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  background: #060911;
  font-size: 0.88rem;
  color: var(--text-dim);
}

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

.footer-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 6px;
  display: inline-block;
}

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

.footer-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--accent-cyan);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #fff;
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(56, 189, 248, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 1000;
  pointer-events: none;
}

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

/* ==========================================================================
   RECRUITER QUICK-HIRE CHEAT SHEET SECTION
   ========================================================================== */
.recruiter-section {
  padding: 40px 0 60px;
}

.recruiter-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.15);
  padding: 36px 40px;
}

.recruiter-header {
  margin-bottom: 24px;
}

.r-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.r-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1px;
}

.r-title {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.r-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.recruiter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.r-grid-item {
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.r-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.r-value {
  display: block;
  font-size: 0.94rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.45;
}

.recruiter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* Company Logos and Market Context */
.company-logo-wrap {
  width: 130px;
  height: 46px;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.company-logo-wrap:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.4);
}

.company-logo-img {
  width: 100%;
  height: 100%;
  max-height: 36px;
  object-fit: contain;
  display: block;
}

.everstage-logo-bg {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(99, 102, 241, 0.4));
  border: 1px solid rgba(129, 140, 248, 0.4);
  color: #818cf8;
}

.cat-logo-bg {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(245, 158, 11, 0.4));
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.jpmc-logo-bg {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(56, 189, 248, 0.4));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.company-svg {
  width: 22px;
  height: 22px;
}

.company-meta-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.company-market-context {
  background: rgba(15, 23, 42, 0.55);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
  margin: 14px 0 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.company-market-context strong {
  color: var(--text-secondary);
}

/* Skill Badge and SVG Logo Styling */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.skill-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1300px) {
  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(7, 10, 18, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform var(--transition-base);
    backdrop-filter: blur(20px);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

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

  .mobile-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

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

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

  .hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.4;
    min-height: 4.8rem;
  }

  .typewriter-wrap {
    white-space: normal;
  }

  .company-badge-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .timeline-item {
    padding-left: 32px;
  }

  .timeline-marker {
    left: 4px;
  }

  .card {
    padding: 24px;
  }

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

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .status-bar-content {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .profile-card {
    gap: 16px;
    padding: 16px;
  }

  .profile-avatar-container {
    width: 100px;
    height: 100px;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
  }

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

  .exp-header {
    flex-direction: column;
  }

  .exp-meta {
    text-align: left;
  }

  .contact-card {
    padding: 20px;
  }
}


/* ==========================================================================
   INTERACTIVE FEATURES & FUN RECRUITER LAB STYLES
   ========================================================================== */



/* Interactive Terminal Input */
.term-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  flex: 1;
  padding: 0 4px;
}

.term-pill.highlight-pill {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald-light);
  font-weight: 600;
}

.term-pill.highlight-pill:hover {
  background: rgba(16, 185, 129, 0.3);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

/* SRE Lab & FinOps Section */
.sre-lab-section {
  padding: 70px 0;
  position: relative;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.lab-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.lab-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: var(--shadow-md);
}

.lab-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.lab-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lab-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.lab-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
}

.badge-green {
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
}

.badge-red {
  color: var(--accent-rose);
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.15);
  animation: pulse-border 1.5s infinite;
}

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

.lab-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* Telemetry Monitor */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.telemetry-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.telemetry-item.alert-state {
  border-color: rgba(244, 63, 94, 0.5);
  background: rgba(244, 63, 94, 0.08);
}

.telem-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.telem-val {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1.2;
}

.telem-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Incident Alert Banner */
.incident-alert-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.5);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  color: #fecdd3;
  font-size: 0.85rem;
  animation: shake 0.5s ease-in-out;
}

.incident-alert-banner .alert-icon {
  font-size: 1.4rem;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

/* Auto-Heal Console */
.heal-console {
  background: #050811;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.heal-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
  margin-bottom: 8px;
  font-size: 0.72rem;
}

.heal-pulse {
  color: var(--accent-cyan);
  font-weight: 700;
  animation: pulse-text 1.2s infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.heal-console-body {
  max-height: 110px;
  overflow-y: auto;
  color: #38bdf8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.heal-console-line {
  line-height: 1.4;
}

.heal-console-line.success {
  color: var(--accent-emerald-light);
  font-weight: 600;
}

/* Lab Actions */
.lab-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pulse-btn {
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 15px 4px rgba(16, 185, 129, 0.6);
  }
}

.lab-footnote {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* FinOps Sliders & Results */
.finops-sliders {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.slider-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.slider-display {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.finops-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background var(--transition-fast);
}

.finops-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  transition: transform 0.1s ease;
}

.finops-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.finops-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  padding: 0 2px;
}

.roi-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.roi-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.roi-metric {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-emerald-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.roi-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.roi-detail {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.finops-verdict-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.verdict-icon {
  font-size: 1.2rem;
}

/* Recruiter Role Fit Matcher */
.role-matcher-container {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}

.role-matcher-header {
  margin-bottom: 16px;
}

.role-matcher-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.role-matcher-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

.role-selector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.role-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.role-tab:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--text-primary);
}

.role-tab.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.role-evaluation-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(7, 10, 18, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.role-score-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.gauge-circle {
  position: relative;
  width: 90px;
  height: 90px;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.gauge-progress {
  fill: none;
  stroke: var(--accent-emerald);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 8;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.4s ease;
}

.gauge-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.gauge-label {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.role-details-content {
  flex: 1;
}

.role-fit-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.role-fit-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.role-fit-bullets li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.role-fit-bullets li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 1rem;
  line-height: 1;
}

.role-fit-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Page Matching Glow Highlight */
.matched-highlight {
  animation: glow-pulse 1.8s ease-in-out infinite alternate !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6) !important;
}

@keyframes glow-pulse {
  0% {
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
    border-color: rgba(56, 189, 248, 0.5);
  }
  100% {
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.8);
    border-color: var(--accent-cyan);
  }
}

/* Interactive Case Study Card Enhancements */
.interactive-case-card {
  cursor: pointer;
  transform: translateY(0);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.interactive-case-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px -6px rgba(56, 189, 248, 0.25);
}

.case-card-action {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.case-expand-btn {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  font-weight: 600;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.interactive-case-card:hover .case-expand-btn {
  color: var(--accent-blue);
  transform: translateX(3px);
}

/* Architecture Deep Dive Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0b1120;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 32px;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(56, 189, 248, 0.2);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

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

.modal-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  transform: scale(1.15);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* ASCII Architecture Diagram Box */
.arch-diagram-box {
  background: #040711;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.arch-diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.arch-tag {
  color: var(--accent-cyan);
  font-weight: 700;
}

.arch-diagram-code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #38bdf8;
  line-height: 1.45;
  overflow-x: auto;
  white-space: pre;
  margin: 0;
}

.modal-grid-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.modal-subhead {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}

.modal-detail-col p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.modal-impact-banner {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.impact-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.modal-impact-banner p {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ecfdf5;
  line-height: 1.45;
}

.modal-stack-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-stack-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
}

.modal-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  gap: 12px;
}

/* Matrix Overlay */
.matrix-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10001;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.matrix-overlay.active {
  opacity: 0.96;
  pointer-events: auto;
}

#matrixCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.matrix-hud {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10002;
}

.matrix-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #22c55e;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #22c55e;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.matrix-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 1s infinite;
}

.matrix-exit-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.6);
  color: #fca5a5;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.matrix-exit-btn:hover {
  background: rgba(239, 68, 68, 0.4);
  color: #fff;
}

/* Confetti Canvas */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10002;
  pointer-events: none;
}

/* Easter Egg Modal */
.easter-modal {
  max-width: 540px;
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 158, 11, 0.25);
}

.easter-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.easter-trophy {
  font-size: 3.5rem;
  margin: 14px 0;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.easter-quote {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.easter-achievements {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.easter-item {
  color: var(--text-secondary);
}

/* Responsive Media Queries for New Interactive Elements */
@media (max-width: 992px) {
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .role-evaluation-panel {
    flex-direction: column;
    text-align: center;
  }

  .role-fit-bullets li {
    text-align: left;
  }

  .modal-grid-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roi-results-grid {
    grid-template-columns: 1fr;
  }

  .role-selector-tabs {
    flex-direction: column;
  }

  .role-tab {
    width: 100%;
    text-align: center;
  }

  .modal-dialog {
    padding: 20px;
  }
}

/* Typewriter Effect (Revealing Text) */
.role-lead {
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.01em;
}
.typewriter-wrap {
  display: inline-block;
  position: relative;
  min-height: 1.6em;
  line-height: 1.4;
  white-space: nowrap;
}

.typewriter-text {
  color: var(--accent-cyan);
  font-weight: 700;
  border-bottom: 2px solid rgba(56, 189, 248, 0.4);
  padding-bottom: 1px;
  transition: color var(--transition-fast);
}

.typewriter-cursor {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 300;
  font-family: var(--font-mono);
  margin-left: 3px;
  animation: blink-cursor 0.85s step-end infinite;
  vertical-align: baseline;
}

@keyframes blink-cursor {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}


/* ==========================================================================
   PAGE-WIDE IMMERSIVE INTERACTIVE STYLES
   ========================================================================== */

/* Top Reading Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #10b981);
  width: 0%;
  z-index: 99999;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
  transition: width 0.08s ease-out;
}

/* Interactive Cyber Mouse Cursor Spotlight Follower */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(56, 189, 248, 0.02) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s ease;
  opacity: 0;
}

body:hover .cursor-spotlight {
  opacity: 1;
}

/* Interactive Metric Card Enhancements */
.interactive-metric-card {
  cursor: pointer;
  transform: translateY(0);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.interactive-metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px -4px rgba(56, 189, 248, 0.25);
}

.metric-card-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.metric-cta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.interactive-metric-card:hover .metric-cta {
  color: var(--accent-blue);
  transform: translateY(2px);
}

/* Metric Modal */
.metric-modal-dialog {
  max-width: 680px;
}

.metric-modal-hero {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.metric-modal-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.metric-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.metric-modal-col {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.before-col {
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #fca5a5;
}

.after-col {
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

.metric-modal-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--text-dim);
}

.metric-modal-section {
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Experience Tech Filter Bar */
.exp-filter-bar {
  padding: 18px 24px;
  margin-bottom: 32px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-card);
}

.exp-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-filter-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.exp-match-counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.exp-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.exp-filter-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--text-primary);
}

.exp-filter-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

/* Experience Bullet Highlighting and Dimming */
.exp-bullets li {
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease, padding 0.2s ease;
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  margin: -4px -6px 10px -6px;
}

.exp-bullets li.dimmed {
  opacity: 0.25;
  filter: grayscale(0.5);
}

.exp-bullets li.highlighted {
  opacity: 1;
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid var(--accent-cyan);
  padding-left: 10px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

/* Multi-Cloud Architecture Topology Explorer */
.arch-topology-explorer {
  padding: 24px;
  margin-bottom: 32px;
  background: rgba(11, 17, 32, 0.85);
  border: 1px solid var(--border-card);
}

.topology-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.topology-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topology-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.topology-hint {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
}

.topology-flow-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.topology-node {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.topology-node:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  background: rgba(56, 189, 248, 0.08);
}

.topology-node.active {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.16);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.node-icon {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.node-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.node-spec {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  margin-top: 4px;
}

.topology-arrow {
  color: var(--text-dim);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.topology-node-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 10, 18, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  gap: 24px;
}

.node-card-left {
  flex: 1;
}

.node-card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
}

.node-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 4px 0 8px 0;
}

.node-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.node-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.node-metric-box {
  text-align: right;
}

.node-metric-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-emerald-light);
  line-height: 1;
  display: block;
}

.node-metric-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.btn-xs {
  padding: 6px 12px;
  font-size: 0.75rem;
}

/* Live Instant Skill Search */
.skill-search-container {
  padding: 16px 20px;
  margin-bottom: 20px;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.skill-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  pointer-events: none;
}

.skill-search-input {
  width: 100%;
  padding: 10px 38px 10px 40px;
  background: rgba(7, 10, 18, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.skill-search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.skill-clear-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.skill-search-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.badge.search-matched {
  border-color: var(--accent-cyan) !important;
  background: rgba(56, 189, 248, 0.18) !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;
  transform: scale(1.05);
}

.badge.search-dimmed {
  opacity: 0.2;
}

/* Quick Inquiry Topic Presets */
.quick-inquiry-presets {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-subtle);
}

.preset-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  font-weight: 600;
}

.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-chip:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Floating Recruiter Command Bar & Persona Dock */
.floating-recruiter-dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.75), 0 0 25px rgba(56, 189, 248, 0.2);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.floating-recruiter-dock:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 42px -6px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.3);
}

.dock-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dock-personas {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dock-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-right: 2px;
}

.dock-persona-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dock-persona-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.dock-persona-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.dock-divider {
  width: 1px;
  height: 22px;
  background: var(--border-subtle);
}

.dock-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-btn {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.dock-btn.btn-resume {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald-light);
}

.dock-btn.btn-resume:hover {
  background: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.dock-btn.btn-contact {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
}

.dock-btn.btn-contact:hover {
  background: rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

/* Mobile Responsiveness for New Page Interactive Elements */
@media (max-width: 992px) {
  .topology-node-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .node-card-right {
    align-items: flex-start;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
  .node-metric-box {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .floating-recruiter-dock {
    width: calc(100% - 24px);
    border-radius: var(--radius-lg);
    padding: 8px 12px;
  }
  .dock-content {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .dock-personas {
    width: 100%;
    justify-content: space-between;
  }
  .dock-divider {
    display: none;
  }
  .dock-actions {
    width: 100%;
    justify-content: space-between;
  }
  .dock-btn {
    flex: 1;
    justify-content: center;
  }
}
