/* ==========================================================================
   HERI RISKI ANTO — CYBERNETIC CLOUD & DBA CONSOLE PORTFOLIO DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Default Theme: Naruto Blaze (Orange) & Cyber Emerald (Green) */
  --bg-base: #090d14;
  --bg-surface: rgba(15, 23, 36, 0.82);
  --bg-surface-elevated: rgba(24, 34, 50, 0.9);
  --bg-glass: rgba(13, 19, 32, 0.75);
  --bg-code: #060a10;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(249, 115, 22, 0.45);
  --border-glow: rgba(249, 115, 22, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #090d14;
  
  --accent-primary: #f97316;    /* Naruto Chakra Orange */
  --accent-secondary: #10b981;  /* Cyber Emerald Green */
  --accent-cyan: #10b981;       /* Emerald / Jade */
  --accent-emerald: #10b981;    /* System Green */
  --accent-amber: #f59e0b;      /* Warm Gold */
  --accent-rose: #f43f5e;
  
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 45%, #10b981 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.18), transparent 70%);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(249, 115, 22, 0.2);
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme 2: Matrix Terminal */
[data-theme="matrix"] {
  --bg-base: #040d06;
  --bg-surface: rgba(6, 26, 12, 0.8);
  --bg-surface-elevated: rgba(10, 38, 18, 0.9);
  --bg-glass: rgba(4, 18, 8, 0.75);
  --bg-code: #020703;
  
  --border-subtle: rgba(34, 197, 94, 0.15);
  --border-medium: rgba(34, 197, 94, 0.3);
  --border-strong: rgba(34, 197, 94, 0.6);
  --border-glow: rgba(34, 197, 94, 0.35);
  
  --text-primary: #ecfdf5;
  --text-secondary: #86efac;
  --text-muted: #4ade80;
  --text-inverse: #022c22;
  
  --accent-primary: #22c55e;
  --accent-secondary: #10b981;
  --accent-cyan: #14b8a6;
  --accent-emerald: #22c55e;
  
  --gradient-accent: linear-gradient(135deg, #22c55e 0%, #10b981 50%, #14b8a6 100%);
  --shadow-glow: 0 0 35px rgba(34, 197, 94, 0.25);
}

/* Theme 3: Cyberpunk Cyan */
[data-theme="cyberpunk"] {
  --bg-base: #0b0f19;
  --bg-surface: rgba(15, 23, 42, 0.85);
  --bg-surface-elevated: rgba(24, 34, 58, 0.9);
  --bg-glass: rgba(11, 15, 25, 0.75);
  --bg-code: #060910;
  
  --border-subtle: rgba(6, 182, 212, 0.15);
  --border-medium: rgba(6, 182, 212, 0.35);
  --border-strong: rgba(236, 72, 153, 0.6);
  --border-glow: rgba(6, 182, 212, 0.3);
  
  --text-primary: #f0fdfa;
  --text-secondary: #99f6e4;
  --text-muted: #5eead4;
  
  --accent-primary: #06b6d4;
  --accent-secondary: #ec4899;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #ec4899 70%, #a855f7 100%);
  --shadow-glow: 0 0 35px rgba(6, 182, 212, 0.25);
}

/* Theme 4: Executive Clean (Light) */
[data-theme="light"] {
  --bg-base: #f8fafc;
  --bg-surface: rgba(255, 255, 255, 0.88);
  --bg-surface-elevated: #ffffff;
  --bg-glass: rgba(241, 245, 249, 0.8);
  --bg-code: #f1f5f9;
  
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-strong: rgba(79, 70, 229, 0.4);
  --border-glow: rgba(79, 70, 229, 0.15);
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --accent-primary: #4f46e5;
  --accent-secondary: #7c3aed;
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  
  --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #0284c7 100%);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 35px rgba(79, 70, 229, 0.15);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -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.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Background Canvas & Ambient Mesh */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

.bg-mesh-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  z-index: -2;
  mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

code, kbd, pre, samp {
  font-family: var(--font-mono);
}

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

/* Section Common Styling */
section {
  padding: 80px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* Gradient Text */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 24px;
}

.nav-glass-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 18px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  flex-wrap: nowrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 0 12px var(--border-glow);
}

.brand-title {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-weight: 700;
  line-height: 1.1;
}
.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

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

.nav-link {
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

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

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

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn-cli-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-cli-badge:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}
.btn-cli-badge kbd {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 60px 0 80px;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
}

.hero-grid > div {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.hero-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  min-width: 0;
  padding: 4px 6px;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
    padding: 14px 12px;
  }
  .stat-number {
    font-size: 1.15rem;
  }
  .stat-label {
    font-size: 0.62rem;
  }
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 20px;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--accent-emerald); }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-headline {
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #fff;
}

@media (max-width: 640px) {
  .hero-line {
    display: inline;
  }
}

.hero-dynamic-text-wrap {
  font-family: var(--font-mono);
  font-size: clamp(0.88rem, 1.7vw, 1.02rem);
  color: var(--accent-cyan);
  margin-bottom: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  white-space: nowrap;
}

.prompt-symbol {
  color: var(--accent-primary);
  font-weight: 800;
  flex-shrink: 0;
}

.hero-dynamic-text {
  display: inline;
  border-right: 2px solid var(--accent-primary);
  padding-right: 2px;
  animation: blink-caret 0.8s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--accent-primary); }
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  border: none;
}

/* Primary and Outline Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-telegram {
  background: #229ED9;
  color: #ffffff;
}
.btn-telegram:hover {
  background: #0088cc;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(34, 158, 217, 0.4);
}

/* Hero Stats Strip */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero Right Card: Live System Status Bento */
.hero-card-terminal {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  position: relative;
}

.terminal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}
.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: #10b981; }

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

.terminal-card-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.console-line {
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.console-prompt { color: var(--accent-cyan); }
.console-cmd { color: var(--text-primary); font-weight: 600; }
.console-out { color: var(--text-secondary); padding-left: 16px; }
.console-success { color: var(--accent-emerald); }
.console-highlight { color: var(--accent-primary); font-weight: 600; }

.live-metrics-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.metric-pill {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.metric-pill-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.metric-pill-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   RECRUITER & HR FAST-TRACK HUB (HR CHEAT SHEET)
   ========================================================================== */

.recruiter-hub-card {
  background: rgba(10, 15, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.recruiter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.recruiter-left-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recruiter-profile-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.recruiter-candidate-name {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
}

.recruiter-role-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

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

.meta-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
}

.recruiter-summary-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.recruiter-competencies-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recruiter-comp-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.recruiter-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.recruiter-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-secondary);
}

.recruiter-tag.highlight {
  border-color: rgba(249, 115, 22, 0.35);
  color: #fff;
  background: rgba(249, 115, 22, 0.08);
}

.recruiter-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Right Spec Card */
.recruiter-right-col {
  display: flex;
  flex-direction: column;
}

.recruiter-spec-card {
  background: rgba(4, 7, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.spec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.spec-match {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.76rem;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 6px;
}
.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-k {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.spec-v {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.spec-v.highlight-green {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE SYSTEM TOPOLOGY & ARCHITECTURE VISUALIZER
   ========================================================================== */

.topology-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.topology-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.topology-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.topology-tab-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.topology-tab-btn.active, .topology-tab-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

#topology-flow-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.topology-canvas-area {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(249, 115, 22, 0.5) rgba(255, 255, 255, 0.05);
}

.topology-canvas-area::-webkit-scrollbar {
  height: 6px;
}
.topology-canvas-area::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 3px;
}
.topology-canvas-area::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.4);
  border-radius: 3px;
}
.topology-canvas-area::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Interactive Node Elements */
.arch-diagram-flow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: max-content;
  margin: 0;
  padding: 10px 16px;
  box-sizing: border-box;
}

.arch-node {
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 215px;
  max-width: 240px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.arch-node:hover, .arch-node.active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.35);
  transform: translateY(-2px);
}

.arch-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.arch-node-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1.2;
}

.arch-node-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}

.arch-node-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
  word-break: break-word;
}

.arch-node-desc {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-bottom: 8px;
}

.arch-node-telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 6px;
  margin-top: auto;
}

.arch-node-telemetry > span:first-child {
  color: var(--accent-emerald);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.6rem;
}

.arch-node-telemetry > span:last-child {
  font-weight: 600;
  text-align: right;
  line-height: 1.25;
}

.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.arch-connector-line {
  width: 20px;
  height: 2px;
  background: var(--border-medium);
  position: relative;
  overflow: hidden;
}

.arch-connector-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  animation: data-stream 1.8s infinite linear;
}

@keyframes data-stream {
  0% { left: -100%; }
  100% { left: 100%; }
}

.topo-swipe-hint {
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.topology-detail-panel {
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   DBA BENCHMARK & QUERY SIMULATOR
   ========================================================================== */

.benchmark-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.benchmark-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.benchmark-box-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.benchmark-comparison-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}
.bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease-out;
}
.bar-fill.before { background: #ef4444; }
.bar-fill.after { background: #10b981; }

.benchmark-impact-pill {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   FLAGSHIP PROJECTS BENTO GRID
   ========================================================================== */

/* Cybernetic High-Tech Bento Projects Grid */
.bento-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1080px) {
  .bento-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .bento-projects-grid {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  background: linear-gradient(145deg, rgba(15, 23, 36, 0.88) 0%, rgba(9, 13, 20, 0.95) 100%);
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Cybernetic Corner Bracket & Ambient Scanlines */
.bento-card::before {
  content: ;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-emerald), transparent);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.bento-card::after {
  content: ;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(249, 115, 22, 0.28);
  background: linear-gradient(145deg, rgba(24, 34, 50, 0.95) 0%, rgba(13, 19, 32, 0.98) 100%);
}

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

.bento-card:hover::after {
  transform: scale(1.4);
}

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

.bento-code-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.bento-status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.bento-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bento-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.bento-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.bento-action-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bento-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.bento-icon-btn:hover {
  background: var(--gradient-accent);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.45);
}

.bento-hud-metric {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 12px;
  background: rgba(6, 10, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin: 12px 0 16px 0;
}

.bento-hud-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bento-hud-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.bento-hud-val {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-emerald);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bento-card.featured-hero-card {
  grid-column: span 1.5; /* If 2 columns on top */
}

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

.bento-icon-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-lang-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.bento-action-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.bento-icon-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-1px);
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.bento-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Minimalist Clean Highlights Strip */
.bento-highlights-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-chip.highlight {
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   PUBLIC GITHUB REPOSITORIES EXPLORER
   ========================================================================== */

.github-explorer-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.github-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.github-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.github-search-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(10, 15, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
  transition: all var(--transition-fast);
}
.github-search-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.github-category-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  padding-bottom: 4px;
}
.github-category-tabs::-webkit-scrollbar {
  display: none;
}

.github-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--font-mono);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.github-tab.active, .github-tab:hover {
  background: rgba(249, 115, 22, 0.18);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.25);
}

.repo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.repo-card {
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  box-sizing: border-box;
}
.repo-card:hover, .repo-card.active {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(249, 115, 22, 0.2);
}
.repo-card.featured-repo {
  border-left: 3px solid var(--accent-primary);
}

.repo-card-top {
  margin-bottom: 12px;
}

.repo-name-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.repo-name-link:hover {
  color: var(--accent-cyan);
}

.repo-desc-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.repo-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.repo-lang-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-color-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ==========================================================================
   EXPERIENCE & CAREER TIMELINE (EXECUTIVE SLEEK DESIGN)
   ========================================================================== */
.timeline-track {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 14px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.timeline-item {
  position: relative;
  padding-left: 36px;
  margin-bottom: 24px;
}

.timeline-node-point {
  position: absolute;
  top: 8px;
  left: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  border: 1px solid #fff;
}

.timeline-content-card {
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
}
@media (max-width: 640px) {
  .timeline-content-card {
    padding: 14px 14px;
  }
}
.timeline-content-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-2px);
}

.timeline-role-title {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}

.timeline-company-name {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.84rem;
  margin-top: 2px;
}

.timeline-period-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

.timeline-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

.timeline-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--accent-primary);
}

.timeline-bullet-list {
  padding-left: 16px;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.timeline-bullet-list li {
  margin-bottom: 6px;
}
.timeline-bullet-list li:last-child {
  margin-bottom: 0;
}
.timeline-bullet-list strong {
  color: var(--text-primary);
}

/* ==========================================================================
   MODALS (ATS CV MODAL, CONTACT MODAL, CLI TERMINAL MODAL)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.open, .modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  background: #0f172a;
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 20px;
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(249, 115, 22, 0.25);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #060913;
  z-index: 20;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.modal-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 4px;
}
.m-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.m-dot.red { background: #ef4444; }
.m-dot.yellow { background: #f59e0b; }
.m-dot.green { background: #10b981; }

.modal-header-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.modal-header-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(92vh - 60px);
}

/* ==========================================================================
   CLEAN CYBERNETIC RESUME MODAL STYLES (UNIFIED EXECUTIVE DOSSIER)
   ========================================================================== */
.resume-dossier-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resume-profile-block {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.resume-candidate-name {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.resume-candidate-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 4px;
  line-height: 1.35;
}

.resume-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}

.resume-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-secondary);
}

.resume-tag-chip.highlight {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.resume-actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resume-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.resume-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.resume-sec-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-summary-p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.84rem;
  margin: 0;
}

/* Competencies Table */
.resume-spec-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 10px 14px;
}

.spec-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.78rem;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .spec-row {
    flex-direction: column;
    gap: 2px;
  }
}

.spec-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
  flex-shrink: 0;
  min-width: 130px;
}

.spec-val {
  color: var(--text-secondary);
}

/* Timeline */
.resume-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 6px;
}

.resume-timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -18px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 6px;
}

.timeline-role-co {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.role-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.co-name {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.84rem;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.resume-bullet-list {
  padding-left: 16px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.5;
}

.resume-bullet-list li {
  margin-bottom: 4px;
}
.resume-bullet-list li:last-child {
  margin-bottom: 0;
}
.resume-bullet-list strong {
  color: var(--text-primary);
}

/* Projects List */
.resume-projects-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-inline-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-size: 0.78rem;
}

.project-inline-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
}

.project-inline-desc {
  color: var(--text-secondary);
  flex: 1 1 auto;
}

.project-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  white-space: nowrap;
}

/* Credentials Grid */
.resume-creds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
@media (max-width: 640px) {
  .resume-creds-grid {
    grid-template-columns: 1fr;
  }
}

.cred-chip {
  font-size: 0.76rem;
  color: var(--text-secondary);
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  line-height: 1.4;
}
.cred-chip strong {
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* ATS Modal Custom Styles */
.ats-score-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.ats-score-number {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
}

.ats-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}
.ats-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

/* CLI Interactive Terminal Modal */
.cli-terminal-window {
  background: var(--bg-code);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.cli-body {
  padding: 20px;
  min-height: 380px;
  max-height: 480px;
  overflow-y: auto;
  font-size: 0.85rem;
}

.cli-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-subtle);
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100010;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-primary);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-in-toast 0.3s ease-out;
}

.cyber-toast {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 100010;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent-primary);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(249, 115, 22, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cyber-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes slide-in-toast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER (MINIMALIST EXECUTIVE TERMINAL)
   ========================================================================== */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 6, 12, 0.85);
  backdrop-filter: blur(20px);
}

.footer-executive-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 860px) {
  .footer-executive-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-brand-subtitle {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

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

.footer-nav-col, .footer-tools-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.footer-link:hover {
  color: var(--accent-primary);
  transform: translateX(2px);
}

.footer-tools-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.footer-tool-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.footer-tool-btn.highlight {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
  color: var(--accent-primary);
}
.footer-tool-btn.highlight:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--accent-primary);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-domain-tag {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BASE MOBILE & TABLET LAYOUT)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid, .recruiter-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .terminal-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 6px 0 !important;
  }
  .t-val-green, .t-val-cyan {
    text-align: left !important;
    padding-left: 18px !important;
    font-size: 0.72rem !important;
  }
  .t-audit-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }
  .persona-pitch-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  .persona-pitch-title > span#pitch-badge {
    margin-left: 0 !important;
  }
  .topology-canvas-area {
    min-height: 200px !important;
    padding: 12px 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .arch-diagram-flow {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: max-content !important;
    margin: 0 !important;
    padding: 4px 8px !important;
  }

  .arch-node {
    flex: 0 0 240px !important;
    width: 240px !important;
    max-width: 240px !important;
    min-width: 240px !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
  }

  .arch-connector {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }

  .arch-connector-line {
    width: 20px !important;
    height: 2px !important;
  }
}

@media (max-width: 1080px) {
  .site-nav {
    top: 8px !important;
    padding: 0 12px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .nav-glass-container {
    padding: 6px 14px !important;
    gap: 8px !important;
    border-radius: var(--radius-full) !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 48px !important;
    max-height: 48px !important;
    overflow: hidden !important;
  }
  .desktop-nav,
  .desktop-nav *,
  .nav-links,
  .nav-links *,
  .nav-item-dropdown,
  .nav-dropdown-menu,
  .nav-dropdown-trigger,
  .btn-cli-badge,
  .brand-badge {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    overflow: hidden !important;
  }
  .brand-name {
    font-size: 0.95rem !important;
    white-space: nowrap !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .ats-features-list {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   MODULE: INTERACTIVE DBA DIAGNOSTIC LAB & EXPLAIN ANALYZE VISUALIZER
   ========================================================================== */
.dba-lab-card {
  background: rgba(15, 23, 36, 0.85);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(249, 115, 22, 0.15);
  backdrop-filter: blur(20px);
}

.dba-lab-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(6, 10, 16, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   MODULE: INTERACTIVE DBA DIAGNOSTIC LAB & EXPLAIN ANALYZE VISUALIZER
   ========================================================================== */
.dba-lab-card {
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.dba-lab-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(6, 9, 17, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 10px;
}

.dba-topbar-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.dba-scenario-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-primary);
  white-space: nowrap;
}

.dba-select-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  max-width: 100%;
  flex: 1 1 auto;
  transition: all var(--transition-fast);
}
.dba-select-input:focus {
  border-color: var(--accent-primary);
}

.dba-topbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Scenario Header */
.dba-scenario-header {
  padding: 16px 20px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.dba-scenario-left {
  flex: 1 1 auto;
  min-width: 0;
}

.dba-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.dba-engine-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
}

.dba-scenario-title {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.dba-problem-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.dba-speedup-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Panes */
.dba-lab-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px 20px;
}
@media (max-width: 840px) {
  .dba-lab-body { grid-template-columns: 1fr; gap: 10px; }
}

.dba-code-pane {
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dba-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
}

.dba-badge-in {
  color: var(--accent-cyan);
}
.dba-badge-out {
  color: var(--accent-emerald);
}

.dba-code-content {
  padding: 12px 14px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  color: #e2e8f0;
  overflow-x: auto;
  flex-grow: 1;
  max-height: 220px;
}
.dba-code-content.output {
  color: #a7f3d0;
}

/* Footer & Metrics HUD */
.dba-footer-wrap {
  padding: 0 20px 20px 20px;
}

.dba-metrics-hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 640px) {
  .dba-metrics-hud { grid-template-columns: 1fr; }
}

.dba-metric-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
}

.dba-metric-box-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.dba-metric-box-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.dba-solution-desc {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* SRE Box */
.sre-incident-box {
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--accent-rose);
  border-radius: 8px;
  padding: 12px 14px;
}

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

.sre-box-title {
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.sre-box-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.sre-live-logs {
  background: #03060f;
  border-radius: 6px;
  padding: 8px 12px;
  max-height: 95px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.sre-log-placeholder {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODULE: TECHNICAL ADVISORY & FREELANCE ENGAGEMENT MODELS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.service-card {
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}
.service-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(249, 115, 22, 0.15);
}
.service-card.featured {
  border-color: rgba(249, 115, 22, 0.4);
  background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.08) 0%, rgba(10, 15, 26, 0.98) 75%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(249, 115, 22, 0.2);
}

.service-featured-ribbon {
  position: absolute;
  top: -10px;
  right: 18px;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

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

.service-tier-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.service-tier-badge.cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
}
.service-tier-badge.emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}
.service-tier-badge.amber {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
}

.service-icon {
  font-size: 1.4rem;
}

.service-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.service-points {
  list-style: none;
  padding-left: 0;
  margin: 0 0 18px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.service-points li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 5px;
}
.service-points li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.service-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin-top: auto;
}

.service-deliverable {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.service-deliverable strong {
  color: var(--text-primary);
}

.service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.service-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--accent-primary);
}
.service-btn.primary {
  background: rgba(249, 115, 22, 0.18);
  border-color: var(--accent-primary);
  color: #fff;
}
.service-btn.primary:hover {
  background: rgba(249, 115, 22, 0.3);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

.services-trust-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.trust-icon {
  font-size: 0.95rem;
}

/* ==========================================================================
   MODULE: PRODUCTION INCIDENT WAR STORIES & EXECUTIVE ENDORSEMENTS
   ========================================================================== */
.war-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .war-stories-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.war-story-card {
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}
.war-story-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.story-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.story-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}
.story-badge.red {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}
.story-badge.amber {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
}
.story-badge.cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
}

.story-rto {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.story-title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.story-meta-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 10px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}
.story-cause {
  margin-bottom: 6px;
}
.story-solution-row {
  color: var(--text-primary);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}
.story-solution-row strong {
  color: var(--accent-emerald);
}

.story-footer {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.story-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* Endorsements */
.endorsements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 768px) {
  .endorsements-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.endorsement-card {
  background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.06) 0%, rgba(10, 15, 26, 0.95) 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.endorsement-quote {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 16px;
}

.endorsement-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  font-size: 1.3rem;
}

.author-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.author-role {
  font-size: 0.7rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   MODULE: ENTERPRISE ROI & CLOUD COST SAVINGS CALCULATOR
   ========================================================================== */
.roi-preset-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.roi-preset-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.roi-preset-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.roi-preset-btn:hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--accent-primary);
  color: #fff;
}
.roi-preset-btn.active {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.roi-calculator-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}
@media (max-width: 900px) {
  .roi-calculator-wrap { grid-template-columns: 1fr; padding: 16px; }
}

.roi-inputs-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.roi-pane-header {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.roi-pane-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

.roi-slider-group {
  margin-bottom: 4px;
}

.roi-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.roi-val-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.roi-val-chip.primary { color: var(--accent-primary); border-color: rgba(249, 115, 22, 0.3); }
.roi-val-chip.emerald { color: var(--accent-emerald); border-color: rgba(16, 185, 129, 0.3); }
.roi-val-chip.amber { color: var(--accent-amber); border-color: rgba(245, 158, 11, 0.3); }

.roi-slider-input {
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.roi-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-primary);
  transition: transform var(--transition-fast);
}
.roi-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Breakdown Box */
.roi-breakdown-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roi-breakdown-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 2px;
}

.roi-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.roi-breakdown-row strong {
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Results Card */
.roi-results-card {
  background: rgba(4, 7, 15, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.08);
}

.roi-results-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-align: center;
}

.roi-savings-hero {
  text-align: center;
  padding: 12px 0;
}

.roi-savings-number {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.roi-savings-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.roi-savings-year {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.roi-spec-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roi-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
}

.roi-spec-label {
  color: var(--text-secondary);
}

.roi-spec-val {
  font-family: var(--font-mono);
}
.roi-spec-val.highlight { color: var(--accent-primary); }
.roi-spec-val.success { color: var(--accent-emerald); }
.roi-spec-val.cyan { color: var(--accent-cyan); }

.roi-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.roi-cta-row {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   MODULE: EXECUTIVE CONTACT & CTA DISPATCH CARD
   ========================================================================== */
.contact-executive-card {
  background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.1) 0%, rgba(10, 15, 26, 0.95) 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) {
  .contact-executive-card {
    padding: 24px 16px;
  }
}

.contact-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

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

.contact-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 8px;
}

.contact-subtitle {
  font-size: 0.84rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.contact-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 20px;
}
@media (max-width: 540px) {
  .contact-actions-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
  text-align: left;
}
.contact-action-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.contact-action-btn.primary {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.3);
}
.contact-action-btn.primary:hover {
  background: rgba(249, 115, 22, 0.18);
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.25);
}

.contact-action-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-action-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-action-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.contact-action-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-action-btn.primary .contact-action-val {
  color: var(--accent-primary);
}

.contact-copy-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-copy-chip {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.contact-copy-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ==========================================================================
   MODULE: FLOATING CYBERNETIC RECRUITER & CLIENT ACTION DOCK (MOBILE ONLY)
   ========================================================================== */
.floating-action-dock {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(15, 23, 36, 0.92);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(249, 115, 22, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 860px) {
  .floating-action-dock {
    display: flex;
  }
}

.dock-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dock-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.dock-btn.dock-btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.35);
}
.dock-btn.dock-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

@media (max-width: 768px) {
  .floating-action-dock {
    display: flex;
    bottom: 12px;
    padding: 6px 10px;
    gap: 4px;
  }
  .dock-btn span.dock-label {
    display: none;
  }
}

/* Grouped Navbar & Clean Glassmorphism Dropdowns */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown-trigger:hover, .nav-item-dropdown:hover .nav-dropdown-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: rgba(13, 19, 32, 0.96);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(249, 115, 22, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-primary);
  transform: translateX(3px);
}

.nav-dropdown-icon {
  font-size: 1rem;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   ADVANCED CYBERNETIC BACKGROUND & RADAR PULSE
   ========================================== */
body {
  background-color: #070b12 !important;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 88% 78%, rgba(16, 185, 129, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 50% 45%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 36px 36px !important;
  background-attachment: fixed !important;
}

@keyframes radar-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.bento-status-pill {
  animation: radar-pulse 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.live-dot {
  animation: radar-pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.bento-card, .benchmark-box, .dba-lab-card, .roi-results-card, .repo-card {
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

/* ==========================================
   FEATURE 1: RECRUITER 1-CLICK ROLE MATCHER
   ========================================== */
.recruiter-matcher-wrap {
  margin-top: 18px;
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}

.matcher-role-pills {
  display: flex;
  gap: 6px;
  margin: 12px 0 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.matcher-role-pills::-webkit-scrollbar {
  display: none;
}

.matcher-pill-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.matcher-pill-btn:hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  color: #fff;
}

.matcher-pill-btn.active {
  background: rgba(249, 115, 22, 0.18);
  border-color: var(--accent-primary);
  color: #fff;
  font-weight: 700;
}

.matcher-result-card {
  background: rgba(4, 7, 15, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

/* ==========================================
   FEATURE 2: LIVE GLOBAL TELEMETRY TICKER
   ========================================== */
.telemetry-ticker-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 16px;
  background: rgba(6, 10, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  margin-top: 18px;
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.telemetry-item strong {
  color: var(--accent-emerald);
}

/* ==========================================
   FEATURE 3: DDAG MINI QUERY SANDBOX
   ========================================== */
.ddag-sandbox-box {
  margin-top: 10px;
  background: #050811;
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  color: #a7f3d0;
  display: none;
  animation: fadeIn 0.25s ease;
}

.ddag-sandbox-box.active {
  display: block;
}

/* ==========================================
   FEATURE 4: EXECUTIVE PRINT / CLEAN PDF EXPORT
   ========================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #0f172a !important;
  }

  /* Hide website chrome */
  header, nav, #bg-canvas, .floating-action-dock, .theme-toggle-btn, 
  #sound-toggle-btn, .modal-close-btn, .btn-cta, .section-tag,
  .topology-controls-bar, .dba-lab-topbar, .roi-calculator-wrap,
  #hero, #architecture, #benchmarks, #dba-lab, #projects, #repos, 
  #roi-calculator, #contact, footer {
    display: none !important;
  }

  /* Force Resume Modal to be full-page print */
  #resume-modal {
    position: static !important;
    display: block !important;
    background: #ffffff !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .modal-content, .ats-paper-resume {
    background: #ffffff !important;
    color: #0f172a !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .ats-paper-header h1 {
    color: #0f172a !important;
  }

  .ats-paper-sec-title {
    color: #0f172a !important;
    border-bottom: 2px solid #0f172a !important;
  }

  .ats-exp-role {
    color: #0f172a !important;
  }

  .ats-exp-company {
    color: #334155 !important;
  }

  .ats-bullet {
    color: #334155 !important;
  }

  a {
    color: #0f172a !important;
    text-decoration: underline !important;
  }
}

/* ==========================================================================
   AUTHENTIC UNIX DEV-OPS TERMINAL STYLING
   ========================================================================== */
.hero-card-terminal {
  background: #060913;
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.terminal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #03050a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}
.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: #10b981; }

.terminal-card-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.live-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  display: inline-block;
  animation: pulseGlow 2s infinite ease-in-out;
}

.terminal-tabs-bar {
  display: flex;
  gap: 4px;
  padding: 4px 10px;
  background: #04070f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.terminal-tabs-bar::-webkit-scrollbar {
  display: none;
}

.t-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.t-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.t-tab-btn.active {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: #fff;
}

.terminal-card-body {
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.5;
  background: #060913;
}

.cli-prompt-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.74rem;
}

.cli-user {
  color: var(--accent-emerald);
  font-weight: 700;
}

.cli-cmd {
  color: #fff;
  font-weight: 600;
}

.cli-tree-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.cli-tree-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  gap: 8px;
  padding: 2px 0;
}

.cli-branch {
  color: var(--text-muted);
  user-select: none;
  font-weight: 400;
}

.cli-tag {
  color: var(--accent-cyan);
  font-weight: 700;
  margin-right: 4px;
}

.cli-name {
  color: var(--text-secondary);
}

.cli-status-badge {
  font-weight: 700;
  font-size: 0.64rem;
  padding: 0;
  background: transparent;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.cli-status-badge.online {
  color: var(--accent-emerald);
}

.cli-status-badge.cyan {
  color: var(--accent-cyan);
}

.cli-status-badge.orange {
  color: var(--accent-primary);
}

.cli-audit-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.35);
  border-left: 2px solid var(--accent-emerald);
  font-size: 0.7rem;
  color: var(--text-secondary);
  border-radius: 0 4px 4px 0;
}

.cli-audit-key {
  color: var(--text-muted);
  font-weight: 600;
}

.cli-audit-val {
  color: var(--accent-emerald);
  font-weight: 700;
}

.terminal-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 14px 12px 14px;
  width: 100%;
  box-sizing: border-box;
  background: #060913;
}

.t-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.t-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.t-stat-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

/* ==========================================
   INTERACTIVE FLAGSHIP PROJECT SANDBOXES
   ========================================== */
.project-sandbox-panel {
  margin-top: 12px;
  background: #04070f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  display: none;
  animation: fadeIn 0.2s ease;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.project-sandbox-panel.active {
  display: block;
}

.sandbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sandbox-title {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.7rem;
}

.sandbox-badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 700;
}

.sandbox-content {
  color: #a7f3d0;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

.sandbox-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.sandbox-trigger-btn:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.sandbox-trigger-btn.active {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
}

/* ==========================================
   INTERACTIVE DBA TECHNICAL TRIVIA QUIZ
   ========================================== */
.recruiter-quiz-card {
  margin-top: 24px;
  background: rgba(13, 19, 32, 0.8);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.quiz-question-box {
  background: rgba(6, 10, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 14px;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quiz-option-btn:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: var(--accent-primary);
  color: #fff;
}

.quiz-option-btn.correct {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald);
  color: #fff;
  font-weight: 700;
}

.quiz-option-btn.wrong {
  background: rgba(244, 63, 94, 0.15);
  border-color: var(--accent-rose);
  color: #fff;
}

.quiz-explanation {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.8rem;
  color: #a7f3d0;
  line-height: 1.4;
  display: none;
}

.quiz-explanation.active {
  display: block;
}

/* ==========================================
   DYNAMIC PERSONA SWITCHER (RECRUITER & CLIENT HUD)
   ========================================== */
.persona-switch-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 18px 0 14px 0;
}

.persona-switch-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.persona-pills-group {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 10px 4px;
  margin: -4px -4px 0 -4px;
}
.persona-pills-group::-webkit-scrollbar {
  display: none;
}

.persona-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.persona-pill-btn:hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-1px);
}

.persona-pill-btn.active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(16, 185, 129, 0.25));
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.3);
}

.persona-pitch-card {
  background: rgba(13, 19, 32, 0.85);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent-primary);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.3s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.persona-pitch-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
}

.persona-pitch-title > span#pitch-title {
  flex: 1 1 100%;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.persona-pitch-title > span#pitch-badge {
  font-size: 0.68rem;
  margin-left: 0;
}

.persona-pitch-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
  width: 100%;
}

.persona-pitch-point-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.persona-pitch-point-item > span:first-child {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.persona-pitch-point-item > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.persona-pitch-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.persona-btn-minimal {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex: 1 1 180px;
  min-height: 38px;
  box-sizing: border-box;
}

.persona-btn-minimal:hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.persona-btn-minimal.telegram:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.persona-btn-minimal .btn-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.persona-btn-minimal:hover .btn-arrow {
  color: #fff;
  transform: translate(2px, -2px);
}

/* ==========================================
   INTERACTIVE HERO TERMINAL TABS
   ========================================== */
.terminal-tabs-bar {
  display: flex;
  gap: 4px;
  background: rgba(4, 7, 15, 0.9);
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.t-tab-btn {
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.t-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.t-tab-btn.active {
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  font-weight: 700;
}

/* Preset Buttons for ROI Calculator */
.roi-preset-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.roi-preset-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.roi-preset-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   CYBERNETIC MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s ease;
}

.mobile-nav-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: rgba(10, 15, 26, 0.98);
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(249, 115, 22, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(6, 10, 16, 0.7);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.mobile-menu-section-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 14px 0 6px 0;
  padding-left: 6px;
}

.mobile-menu-section-title:first-child {
  margin-top: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
  min-height: 44px;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateX(4px);
}

.mobile-nav-icon {
  font-size: 1.1rem;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   CYBERNETIC CARD CAROUSEL SYSTEM (SWIPE & SNAP ENGINE)
   ========================================================================== */
.carousel-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.carousel-swipe-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.carousel-controls-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.carousel-counter-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  min-width: 58px;
  text-align: center;
  letter-spacing: 0.05em;
}

.carousel-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.carousel-nav-btn:hover:not(:disabled) {
  background: var(--gradient-accent);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.45);
}

.carousel-nav-btn:disabled, .carousel-nav-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-dots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-normal);
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gradient-accent);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.6);
}

/* ==========================================================================
   UNIVERSAL HORIZONTAL SNAP CAROUSEL SYSTEM (DESKTOP, TABLET & MOBILE)
   ========================================================================== */

.carousel-swipe-hint {
  display: inline-flex;
}

/* Base horizontal snap track for all carousels */
.carousel-snap,
.bento-projects-grid.carousel-snap,
.benchmark-grid.carousel-snap,
.repo-cards-grid.carousel-snap,
.education-grid.carousel-snap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 24px !important;
  padding: 12px 4px 24px 4px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  scrollbar-width: none !important; /* Firefox */
  cursor: grab;
}

.carousel-snap:active,
.bento-projects-grid.carousel-snap:active,
.benchmark-grid.carousel-snap:active,
.repo-cards-grid.carousel-snap:active,
.education-grid.carousel-snap:active {
  cursor: grabbing;
}

.carousel-snap::-webkit-scrollbar,
.bento-projects-grid.carousel-snap::-webkit-scrollbar,
.benchmark-grid.carousel-snap::-webkit-scrollbar,
.repo-cards-grid.carousel-snap::-webkit-scrollbar,
.education-grid.carousel-snap::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Edge */
}

/* Default Desktop Card Widths (3-column view) */
.bento-projects-grid.carousel-snap > .bento-card,
.benchmark-grid.carousel-snap > .benchmark-box,
.repo-cards-grid.carousel-snap > .repo-card,
.education-grid.carousel-snap > div {
  flex: 0 0 calc((100% - 48px) / 3) !important;
  min-width: 330px !important;
  scroll-snap-align: start !important;
  scroll-snap-stop: normal !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Tablet Responsive Sizing (768px - 1120px: 2-column view) */
@media (max-width: 1120px) {
  .carousel-snap,
  .bento-projects-grid.carousel-snap,
  .benchmark-grid.carousel-snap,
  .repo-cards-grid.carousel-snap,
  .education-grid.carousel-snap {
    gap: 18px !important;
  }

  .bento-projects-grid.carousel-snap > .bento-card,
  .benchmark-grid.carousel-snap > .benchmark-box,
  .repo-cards-grid.carousel-snap > .repo-card,
  .education-grid.carousel-snap > div {
    flex: 0 0 calc((100% - 18px) / 2) !important;
    min-width: 290px !important;
    scroll-snap-align: start !important;
  }
}

/* Mobile Responsive Sizing (<= 768px: 1-column with peek view) */
@media (max-width: 768px) {
  .carousel-snap,
  .bento-projects-grid.carousel-snap,
  .benchmark-grid.carousel-snap,
  .repo-cards-grid.carousel-snap,
  .education-grid.carousel-snap {
    gap: 14px !important;
    padding: 10px 16px 20px 16px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    max-width: calc(100% + 32px) !important;
  }

  .bento-projects-grid.carousel-snap > .bento-card,
  .benchmark-grid.carousel-snap > .benchmark-box,
  .repo-cards-grid.carousel-snap > .repo-card,
  .education-grid.carousel-snap > div {
    flex: 0 0 calc(100vw - 48px) !important;
    max-width: 360px !important;
    min-width: 270px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    touch-action: pan-y pinch-zoom !important;
  }

  /* Disable 3D tilt on touch screens */
  .bento-card, .benchmark-box, .dba-lab-card, .roi-results-card, .repo-card {
    transform: none !important;
  }
}

/* ==========================================================================
   FINE-TUNING FOR MOBILE SCREENS (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative !important;
  }

  body {
    padding-bottom: 90px !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  section {
    padding: 40px 0 !important;
  }

  .section-header {
    margin-bottom: 24px !important;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.8vw, 2rem) !important;
  }

  .section-subtitle {
    font-size: 0.88rem !important;
  }

  /* Hero Section */
  .hero-section {
    padding: 16px 0 36px !important;
    min-height: auto !important;
  }

  .hero-headline {
    font-size: clamp(1.65rem, 6.2vw, 2.2rem) !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .hero-dynamic-text-wrap {
    white-space: normal !important;
    flex-wrap: wrap !important;
    min-height: auto !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
  }

  .status-badge-live {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
    margin-bottom: 14px !important;
    white-space: normal !important;
  }

  .persona-switch-bar {
    margin: 12px 0 !important;
  }

  .persona-pills-group {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .persona-pill-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.74rem !important;
    padding: 6px 12px !important;
  }

  .persona-pitch-card {
    padding: 14px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .persona-pitch-title {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .persona-pitch-title > span#pitch-title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    flex: 1 1 100% !important;
    line-height: 1.35 !important;
    color: #fff !important;
  }

  .persona-pitch-title > span#pitch-badge {
    margin-left: 0 !important;
    font-size: 0.68rem !important;
  }

  .persona-pitch-points {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .persona-pitch-point-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
  }

  .persona-pitch-point-item > span:first-child {
    flex-shrink: 0 !important;
    font-size: 0.95rem !important;
    margin-top: 1px !important;
  }

  .persona-pitch-point-item > span:last-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .persona-pitch-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .persona-btn-minimal {
    width: 100% !important;
    flex: 1 1 auto !important;
    justify-content: space-between !important;
  }

  /* Hero Terminal Card */
  .hero-card-terminal {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .terminal-tabs-bar {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding: 6px 8px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .t-tab-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.68rem !important;
    padding: 4px 8px !important;
  }

  .terminal-card-body {
    padding: 12px 10px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
  }

  .terminal-table-list, .terminal-query-audit {
    padding: 8px 10px !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  .cli-tree-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 4px 0 !important;
  }

  .cli-tree-row > span:last-child {
    padding-left: 18px !important;
  }

  .cli-audit-panel {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
  }

  .terminal-card-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding: 0 10px 12px 10px !important;
  }

  .t-stat-card {
    padding: 5px 4px !important;
  }

  .t-stat-label {
    font-size: 0.58rem !important;
  }

  .t-stat-val {
    font-size: 0.72rem !important;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 12px 10px !important;
  }

  .stat-box {
    text-align: center !important;
  }

  .stat-number {
    font-size: 1.1rem !important;
  }

  .stat-label {
    font-size: 0.68rem !important;
  }

  .telemetry-ticker-bar {
    padding: 6px 10px !important;
    font-size: 0.68rem !important;
    overflow-x: auto !important;
    max-width: 100% !important;
  }

  /* Recruiter Role Matcher & Hub Mobile */
  .recruiter-hub-card {
    padding: 16px 14px !important;
  }

  .recruiter-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .recruiter-candidate-name {
    font-size: 1.15rem !important;
  }

  .recruiter-summary-text {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }

  .spec-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
    padding-bottom: 5px !important;
  }

  .spec-v {
    text-align: left !important;
    font-size: 0.74rem !important;
  }

  .recruiter-actions-row {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .recruiter-matcher-wrap {
    padding: 14px 12px !important;
  }

  .matcher-role-pills {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .matcher-pill-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
  }

  .matcher-result-card {
    padding: 14px 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .matcher-result-card .persona-btn-minimal {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .recruiter-quiz-card {
    padding: 14px 12px !important;
  }

  .quiz-question-box {
    padding: 10px 12px !important;
  }

  .quiz-option-btn {
    padding: 10px 12px !important;
    font-size: 0.78rem !important;
    min-height: 44px !important;
  }

  /* System Topology */
  .topology-container {
    border-radius: var(--radius-md) !important;
    max-width: 100% !important;
  }

  .topology-header {
    padding: 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .topology-tabs {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .topology-tab-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }

  .topology-controls-bar {
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .topology-btn-sim {
    flex: 1 !important;
    font-size: 0.72rem !important;
    padding: 6px 8px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .topology-canvas-area {
    min-height: 180px !important;
    padding: 12px 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .topology-detail-panel {
    padding: 12px !important;
  }

  /* DBA Lab */
  .dba-lab-card {
    border-radius: var(--radius-md) !important;
    max-width: 100% !important;
  }

  .dba-lab-topbar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .dba-topbar-select-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .dba-topbar-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .dba-topbar-actions .persona-btn-minimal {
    font-size: 0.72rem !important;
    padding: 6px 8px !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .dba-select-input {
    width: 100% !important;
    font-size: 0.74rem !important;
    padding: 6px 8px !important;
  }

  .dba-scenario-header {
    padding: 12px 12px 0 12px !important;
    gap: 8px !important;
  }

  .dba-lab-body {
    padding: 10px 12px !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .dba-code-pane {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .dba-code-content {
    font-size: 0.68rem !important;
    max-height: 180px !important;
    padding: 8px 10px !important;
  }

  .dba-footer-wrap {
    padding: 0 12px 14px 12px !important;
  }

  .dba-metrics-hud {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
  }
  .dba-metric-box {
    padding: 6px 4px !important;
  }
  .dba-metric-box-label {
    font-size: 0.56rem !important;
  }
  .dba-metric-box-val {
    font-size: 0.78rem !important;
  }

  .sre-incident-box {
    padding: 10px !important;
  }

  /* Bento Project Cards Internal */
  .bento-card {
    padding: 18px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .bento-hud-metric {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding: 8px 6px !important;
    margin: 8px 0 12px 0 !important;
  }

  .bento-hud-label {
    font-size: 0.58rem !important;
  }

  .bento-hud-val {
    font-size: 0.72rem !important;
  }

  .bento-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding-top: 10px !important;
  }

  .bento-action-links {
    display: flex !important;
    width: 100% !important;
    gap: 6px !important;
  }

  .bento-action-links > * {
    flex: 1 !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 7px 10px !important;
    font-size: 0.76rem !important;
  }

  /* ROI Calculator */
  .roi-calculator-wrap {
    padding: 14px 12px !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .roi-slider-input::-webkit-slider-thumb {
    width: 24px !important;
    height: 24px !important;
  }

  .roi-results-card {
    padding: 14px 12px !important;
  }

  .roi-savings-number {
    font-size: 1.7rem !important;
  }

  .roi-preset-bar {
    gap: 6px !important;
  }

  .roi-preset-btn {
    font-size: 0.72rem !important;
    padding: 5px 10px !important;
  }

  /* GitHub Explorer Filters */
  .github-explorer-wrap {
    padding: 14px 12px !important;
  }

  .github-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .github-search-input {
    width: 100% !important;
    min-width: 100% !important;
    font-size: 0.8rem !important;
  }

  .github-category-tabs {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .github-tab {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
  }

  /* Career Timeline */
  .timeline-track::before {
    left: 8px !important;
  }

  .timeline-item {
    padding-left: 24px !important;
    margin-bottom: 16px !important;
  }

  .timeline-node-point {
    left: 5px !important;
    top: 8px !important;
    width: 7px !important;
    height: 7px !important;
  }

  .timeline-content-card {
    padding: 12px 12px !important;
  }

  .timeline-role-title {
    font-size: 0.88rem !important;
  }

  /* Contact Section */
  #contact .recruiter-hub-card {
    padding: 28px 16px !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }

  /* Floating Action Dock */
  .floating-action-dock {
    position: fixed !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(6, 10, 18, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(249, 115, 22, 0.35) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(249, 115, 22, 0.25) !important;
    padding: 4px 8px !important;
    gap: 3px !important;
    max-width: calc(100vw - 24px) !important;
    width: max-content !important;
    z-index: 9999 !important;
    justify-content: space-around !important;
    border-radius: var(--radius-full) !important;
  }

  .dock-btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    border-radius: var(--radius-full) !important;
  }
}

/* ==========================================================================
   DEFINITIVE MOBILE/TABLET NAVBAR OVERFLOW SAFETY LOCK (<= 1080px)
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav header,
  .site-nav nav.desktop-nav,
  nav.desktop-nav,
  .desktop-nav,
  .nav-links,
  .nav-item-dropdown,
  .nav-dropdown-menu,
  .nav-dropdown-trigger {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    overflow: hidden !important;
  }

  .nav-glass-container {
    max-height: 52px !important;
    overflow: hidden !important;
    flex-wrap: nowrap !important;
  }
}
