/* --------------------------------------------------------------------------
 * Executive Dark Cyberpunk & Glassmorphism Design System
 * -------------------------------------------------------------------------- */

:root {
  /* Color Palette */
  --bg-primary: #070a12;
  --bg-secondary: #0d1322;
  --bg-tertiary: #131c31;
  --bg-glass: rgba(13, 22, 41, 0.7);
  --bg-glass-hover: rgba(20, 34, 61, 0.85);

  --text-main: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-emerald: #00e676;
  --accent-purple: #9254de;
  --accent-amber: #ffb703;
  --accent-red: #ff2a5f;

  --border-glow: rgba(0, 242, 254, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --gradient-cyan-blue: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-emerald: linear-gradient(135deg, #00e676 0%, #00f2fe 100%);
  --gradient-purple: linear-gradient(135deg, #9254de 0%, #4facfe 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Typography */
  --font-heading: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-code: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Spacing & Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

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

ul,
ol {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

html {
  font-size: 16px;
  color-scheme: dark;
}

html.smooth-scroll {
  scroll-behavior: smooth;
}

#hero {
  scroll-margin-top: 0;
}

section[id]:not(#hero) {
  scroll-margin-top: 15px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-cyan-blue);
  z-index: 1000;
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
}

/* Selection Highlight */
::selection {
  background: rgba(0, 242, 254, 0.25);
  color: #ffffff;
}

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

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

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-full);
}

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

/* Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.gradient-text {
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: var(--gradient-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header Component */
.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  font-family: var(--font-code);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 242, 254, 0.15);
}

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

/* Buttons & CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-cyan-blue);
  color: #070a12;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
  color: #000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-2px);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1.25rem 0;
  border-bottom: 1px solid transparent;
  transition: padding var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(7, 10, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  border-bottom: 1px solid rgba(0, 242, 254, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 0.85rem 0;
}

.navbar .container {
  max-width: 1380px;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-badge {
  background: var(--accent-cyan);
  color: #070a12;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-family: var(--font-code);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-shrink: 1;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 0.84rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-search-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.nav-search-btn i {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

.search-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 20px;
  padding: 0 0.35rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-family: var(--font-code);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
}

.drawer-search-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all var(--transition-fast);
}

.drawer-search-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
}

.drawer-search-btn kbd {
  font-family: var(--font-code);
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
}

.mobile-search-nav-item {
  display: none;
}

.availability-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  font-weight: 500;
  white-space: nowrap;
}

.mobile-drawer-pill-item {
  display: none;
  margin-top: 0.5rem;
}

.pill-text-full {
  display: inline;
}

.pill-text-short {
  display: none;
}

.header-pill::after,
.header-pill::before {
  display: none;
}

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

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.4);
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

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

/* Hero Section */
.hero {
  padding-top: calc(10px + 1.5rem);
  padding-bottom: 1.5rem;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px) 380px;
  justify-content: center;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-status {
  margin-bottom: 0.65rem;
}

.hero-title {
  font-size: 3rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.glitch {
  --glitch-color-1: var(--accent-cyan);
  --glitch-color-2: var(--accent-blue);
  display: inline-block;
  position: relative;
  isolation: isolate;
  will-change: transform;
  animation: glitch-base 4s step-end infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text) / "";
  opacity: 0;
  pointer-events: none;
  user-select: none;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  position: absolute;
  inset: 0;
  will-change: transform, clip-path, opacity;
  transform: translateZ(0);
}

.glitch::before {
  color: var(--glitch-color-1);
  text-shadow: -1px 0 2px rgba(0, 242, 254, 0.5);
  animation: glitch-a 4s step-end infinite;
}

.glitch::after {
  color: var(--glitch-color-2);
  text-shadow: 1px 0 2px rgba(79, 172, 254, 0.5);
  animation: glitch-b 4s step-end infinite;
}

@keyframes glitch-a {

  0%,
  39.9% {
    opacity: 0;
  }

  40% {
    opacity: 1;
    clip-path: inset(0 0 58%);
    transform: translate(-10px, -3px);
  }

  42% {
    opacity: 1;
    clip-path: inset(35% 0 22%);
    transform: translate(8px, 2px);
  }

  44% {
    opacity: 1;
    clip-path: inset(70% 0 0);
    transform: translate(-6px, 3px);
  }

  46% {
    opacity: 1;
    clip-path: inset(15% 0 60%);
    transform: translate(12px, -1px);
  }

  48%,
  84.9% {
    opacity: 0;
  }

  85% {
    opacity: 1;
    clip-path: inset(48% 0 30%);
    transform: translate(9px, 2px);
  }

  87% {
    opacity: 1;
    clip-path: inset(5% 0 75%);
    transform: translate(-11px, -2px);
  }

  89%,
  100% {
    opacity: 0;
  }
}

@keyframes glitch-b {

  0%,
  40.9% {
    opacity: 0;
  }

  41% {
    opacity: 1;
    clip-path: inset(52% 0 8%);
    transform: translate(10px, 3px);
  }

  43% {
    opacity: 1;
    clip-path: inset(8% 0 64%);
    transform: translate(-9px, -2px);
  }

  45% {
    opacity: 1;
    clip-path: inset(28% 0 42%);
    transform: translate(7px, -3px);
  }

  47% {
    opacity: 1;
    clip-path: inset(62% 0 12%);
    transform: translate(-12px, 1px);
  }

  48.5%,
  85.9% {
    opacity: 0;
  }

  86% {
    opacity: 1;
    clip-path: inset(20% 0 55%);
    transform: translate(-10px, -1px);
  }

  88% {
    opacity: 1;
    clip-path: inset(66% 0 4%);
    transform: translate(11px, 2px);
  }

  89.5%,
  100% {
    opacity: 0;
  }
}

@keyframes glitch-base {

  0%,
  39.9% {
    opacity: 1;
    transform: none;
  }

  40% {
    opacity: 0.85;
    transform: translate(3px) skew(-6deg);
  }

  41.5% {
    opacity: 1;
    transform: translate(-3px) skew(5deg);
  }

  43% {
    opacity: 0.4;
    transform: translate(2px, 1px) skew(-3deg);
  }

  44% {
    opacity: 1;
    transform: translate(-2px);
  }

  46% {
    opacity: 0.7;
    transform: translate(1px) skew(4deg);
  }

  48%,
  84.9% {
    opacity: 1;
    transform: none;
  }

  85% {
    opacity: 0.5;
    transform: translate(-3px) skew(6deg);
  }

  86.5% {
    opacity: 1;
    transform: translate(3px) skew(-4deg);
  }

  88% {
    opacity: 0.8;
    transform: translate(-1px, 1px);
  }

  89%,
  100% {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .glitch,
  .glitch::after,
  .glitch::before {
    animation: none;
  }

  .glitch::after,
  .glitch::before {
    display: none;
  }
}

/* Hero Certification Badges Strip */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.25rem 0 1.15rem 0;
  flex-wrap: wrap;
  min-height: 85px;
}

@keyframes heroBadgeEntrance {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem 0.4rem;
  background: rgba(13, 22, 41, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 62px;
  user-select: none;
  animation: heroBadgeEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-badge-card:nth-child(1) {
  animation-delay: 0.03s;
}

.hero-badge-card:nth-child(2) {
  animation-delay: 0.07s;
}

.hero-badge-card:nth-child(3) {
  animation-delay: 0.11s;
}

.hero-badge-card:nth-child(4) {
  animation-delay: 0.15s;
}

.hero-badge-card:nth-child(5) {
  animation-delay: 0.19s;
}

.hero-badge-card:nth-child(6) {
  animation-delay: 0.23s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero-badge-card:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(20, 34, 61, 0.9);
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 0 8px 24px -4px rgba(0, 242, 254, 0.25);
}

.hero-badge-card:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Individual credential brand hover glow effects */
.hero-badge-card[data-badge="ckad"]:hover {
  border-color: rgba(50, 108, 229, 0.6);
  box-shadow: 0 8px 24px -4px rgba(50, 108, 229, 0.35);
}

.hero-badge-card[data-badge="saa-c03"]:hover {
  border-color: rgba(255, 153, 0, 0.65);
  box-shadow: 0 8px 24px -4px rgba(255, 153, 0, 0.35);
}

.hero-badge-card[data-badge="az-204"]:hover {
  border-color: rgba(0, 120, 212, 0.65);
  box-shadow: 0 8px 24px -4px rgba(0, 120, 212, 0.35);
}

.hero-badge-card[data-badge="ai-102"]:hover {
  border-color: rgba(0, 242, 254, 0.65);
  box-shadow: 0 8px 24px -4px rgba(0, 242, 254, 0.35);
}

.hero-badge-card[data-badge="ceh"]:hover {
  border-color: rgba(227, 24, 55, 0.65);
  box-shadow: 0 8px 24px -4px rgba(227, 24, 55, 0.35);
}

.hero-badge-card[data-badge="case"]:hover {
  border-color: rgba(248, 152, 32, 0.65);
  box-shadow: 0 8px 24px -4px rgba(248, 152, 32, 0.35);
}

.hero-badge-img-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-badge-img-box picture {
  display: contents;
}

.hero-badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.hero-badge-card:hover .hero-badge-img {
  transform: scale(1.08);
}

.hero-badge-card[data-badge="ckad"]:hover .hero-badge-img {
  filter: drop-shadow(0 4px 10px rgba(50, 108, 229, 0.45));
}

.hero-badge-card[data-badge="saa-c03"]:hover .hero-badge-img {
  filter: drop-shadow(0 4px 10px rgba(255, 153, 0, 0.45));
}

.hero-badge-card[data-badge="az-204"]:hover .hero-badge-img {
  filter: drop-shadow(0 4px 10px rgba(0, 120, 212, 0.45));
}

.hero-badge-card[data-badge="ai-102"]:hover .hero-badge-img {
  filter: drop-shadow(0 4px 10px rgba(0, 242, 254, 0.45));
}

.hero-badge-card[data-badge="ceh"]:hover .hero-badge-img {
  filter: drop-shadow(0 4px 10px rgba(227, 24, 55, 0.45));
}

.hero-badge-card[data-badge="case"]:hover .hero-badge-img {
  filter: drop-shadow(0 4px 10px rgba(248, 152, 32, 0.45));
}

.hero-badge-code {
  font-family: var(--font-code);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.12rem 0.42rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-badge-card:hover .hero-badge-code {
  color: #ffffff;
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.35);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.hero-badge-card[data-badge="ckad"]:hover .hero-badge-code {
  background: rgba(50, 108, 229, 0.15);
  border-color: rgba(50, 108, 229, 0.45);
  text-shadow: 0 0 8px rgba(50, 108, 229, 0.4);
}

.hero-badge-card[data-badge="saa-c03"]:hover .hero-badge-code {
  background: rgba(255, 153, 0, 0.15);
  border-color: rgba(255, 153, 0, 0.45);
  text-shadow: 0 0 8px rgba(255, 153, 0, 0.4);
}

.hero-badge-card[data-badge="az-204"]:hover .hero-badge-code {
  background: rgba(0, 120, 212, 0.15);
  border-color: rgba(0, 120, 212, 0.45);
  text-shadow: 0 0 8px rgba(0, 120, 212, 0.4);
}

.hero-badge-card[data-badge="ai-102"]:hover .hero-badge-code {
  background: rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.45);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.hero-badge-card[data-badge="ceh"]:hover .hero-badge-code {
  background: rgba(227, 24, 55, 0.15);
  border-color: rgba(227, 24, 55, 0.45);
  text-shadow: 0 0 8px rgba(227, 24, 55, 0.4);
}

.hero-badge-card[data-badge="case"]:hover .hero-badge-code {
  background: rgba(248, 152, 32, 0.15);
  border-color: rgba(248, 152, 32, 0.45);
  text-shadow: 0 0 8px rgba(248, 152, 32, 0.4);
}

.hero-badge-ext {
  opacity: 0.65;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.hero-badge-card:hover .hero-badge-ext {
  opacity: 1;
  transform: translate(1px, -1px);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-item-link {
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.stat-item-link:hover .stat-val {
  color: var(--accent-cyan);
}

.stat-item-link:hover .stat-lbl {
  color: #ffffff;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual Graphic / Badge Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(12px);
}

.cyber-frame {
  position: relative;
  width: 380px;
  min-height: 400px;
  height: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(146, 84, 222, 0.12) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  border: 1px solid var(--border-glow);
  padding: 1.15rem 1.15rem 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.cyber-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
  margin-top: 14px;
}

.cyber-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-subtle);
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.cyber-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(13, 22, 41, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-code);
  font-size: 0.82rem;
  line-height: 1.45;
  min-height: 46px;
  color: var(--text-main);
  transition: transform var(--transition-fast);
}

.tech-chip:hover {
  transform: translateX(6px);
  border-color: var(--accent-cyan);
}

.tech-chip span {
  display: block;
  line-height: 1.4;
}

.tech-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.hero-role-status {
  font-family: var(--font-code);
  font-size: 0.76rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.85rem;
  margin-top: 0.5rem;
  margin-bottom: 12px;
  line-height: 1.4;
  flex-wrap: wrap;
}

.status-dot {
  color: var(--accent-emerald);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.floating-badge {
  position: absolute;
  padding: 0.65rem 1.1rem;
  background: rgba(9, 14, 26, 0.95);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 20;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: -32px;
  right: -20px;
}

.badge-bottom-left {
  bottom: -14px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

/* Experience Timeline */
.experience-section {
  padding: 4.25rem 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  height: 100%;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
}

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

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

.timeline-node {
  position: absolute;
  left: 13px;
  top: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
  z-index: 2;
  transition: transform var(--transition-fast);
}

.timeline-item:hover .timeline-node {
  transform: scale(1.3);
  background: var(--accent-cyan);
}

.timeline-card {
  position: relative;
}

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

.exp-role {
  font-size: 1.4rem;
  color: #ffffff;
  margin-top: 10px;
}

.exp-company {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.exp-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-code);
}

.exp-badge {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(146, 84, 222, 0.15);
  border: 1px solid rgba(146, 84, 222, 0.3);
  color: var(--accent-purple);
  font-size: 0.75rem;
  font-weight: 600;
}

.exp-summary {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.exp-achievements {
  margin-bottom: 1.25rem;
}

.achieve-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.exp-achieve-container {
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-achieve-container.clamped {
  max-height: 130px;
}

.exp-achieve-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(13, 22, 41, 0.95));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exp-achieve-container.clamped::after {
  opacity: 1;
}

.exp-achieve-container.expanded {
  max-height: 1200px;
}

.achieve-list,
.achievements-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.achieve-list li,
.achievements-list li {
  list-style: none !important;
  list-style-type: none !important;
  color: var(--text-main);
  font-size: 0.92rem;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.achieve-list li .bullet-icon,
.achievements-list li .bullet-icon {
  color: var(--accent-cyan);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-code);
  font-size: 0.78rem;
}

/* Skills Matrix */
.skills-section {
  padding: 4.25rem 0;
}

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

.skill-category-card {
  height: 100%;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.category-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.3rem;
}

.skill-matrix-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.skill-matrix-item {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.skill-matrix-item:hover {
  background: rgba(0, 242, 254, 0.05);
  border-color: rgba(0, 242, 254, 0.25);
  transform: translateX(4px);
}

.skill-matrix-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.skill-matrix-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.skill-dot {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: bold;
}

.tag-bullet {
  color: var(--accent-cyan);
  margin-right: 0.35rem;
  font-size: 0.75rem;
}

.skill-matrix-name {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
}

.skill-matrix-tag {
  font-family: var(--font-code);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  white-space: nowrap;
}

.skill-matrix-details {
  font-family: var(--font-code);
  font-size: 0.76rem;
  color: var(--text-muted);
  padding-left: 1.45rem;
  line-height: 1.45;
}

/* Certifications Showcase */
.certs-section {
  padding: 4.25rem 0;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.cert-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.cert-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(146, 84, 222, 0.12);
  border: 1px solid rgba(146, 84, 222, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-size: 1.25rem;
}

.cert-level {
  font-size: 0.75rem;
  font-family: var(--font-code);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.cert-level.global {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-weight: 600;
}

.cert-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.cert-issuer {
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.cert-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cert-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-purple);
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(146, 84, 222, 0.1);
  border: 1px solid rgba(146, 84, 222, 0.3);
  transition: all var(--transition-fast);
}

.cert-verify-link:hover {
  background: rgba(146, 84, 222, 0.22);
  border-color: var(--accent-purple);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(146, 84, 222, 0.35);
}

/* Major Projects Showcase */
.projects-section {
  padding: 4.25rem 0;
}

.projects-hint-banner {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.projects-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  background: rgba(0, 242, 254, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-full);
  color: #94a3b8;
  font-family: var(--font-code);
  font-size: 0.84rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.projects-hint-pill:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.4);
  color: #e2e8f0;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.projects-hint-pill svg,
.projects-hint-pill .hint-icon {
  width: 14px;
  height: 14px;
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
  flex-shrink: 0;
  animation: hintPulse 3s ease-in-out infinite;
}

@keyframes hintPulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.45));
  }

  50% {
    transform: scale(1.18);
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.85));
  }
}

.projects-hint-pill .hint-action {
  color: var(--accent-cyan);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {

  .projects-hint-pill svg,
  .projects-hint-pill .hint-icon {
    animation: none;
  }
}

@media (max-width: 640px) {
  .projects-hint-pill {
    font-size: 0.78rem;
    padding: 0.4rem 0.95rem;
    text-align: center;
    justify-content: center;
  }
}

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

.project-card {
  cursor: pointer;
  transition: all var(--transition-normal);
}

.project-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 14px 35px -10px rgba(0, 242, 254, 0.2);
}

.project-card:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.project-domain {
  font-family: var(--font-code);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.project-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.metric-tag {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Education Section */
.education-section {
  padding: 4.25rem 0;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

.edu-period {
  font-family: var(--font-code);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.edu-degree {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.edu-grade {
  color: var(--accent-emerald);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.edu-institution {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

/* Published Research Grid */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.research-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.research-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.12);
}

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

.research-date {
  font-family: var(--font-code);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.research-venue {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--accent-emerald);
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.research-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

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

.research-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.research-bullets li {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.research-bullets li .bullet-icon {
  color: var(--accent-cyan);
  font-size: 0.75rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.research-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.research-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.research-link-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* ==========================================================================
   Leadership & Peer Endorsements / Recommendations Section
   ========================================================================== */
.recommendations-section {
  padding: 4.25rem 0;
  position: relative;
}

.section-cta-wrapper,
.recommendations-cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.verified-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.4rem;
  background: rgba(10, 102, 194, 0.12);
  border: 1px solid rgba(10, 102, 194, 0.4);
  border-radius: var(--radius-full);
  color: #38bdf8;
  font-family: var(--font-code);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.verified-linkedin-btn svg {
  flex-shrink: 0;
  color: #0a66c2;
  transition: transform var(--transition-fast);
}

.verified-linkedin-btn:hover {
  background: rgba(10, 102, 194, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.verified-linkedin-btn:hover svg {
  transform: scale(1.15);
  color: #38bdf8;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  align-items: start;
}

.recommendation-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all var(--transition-normal);
}

.rec-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.rec-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.1));
  border: 2px solid rgba(0, 242, 254, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rec-author-info {
  flex: 1;
  min-width: 0;
}

.rec-author-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.rec-author-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.rec-badge {
  font-family: var(--font-code);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  white-space: nowrap;
}

.rec-badge.manager {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
}

.rec-badge.executive {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.rec-badge.project-head {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
}

.rec-badge.architect {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.rec-author-role,
.rec-company-wrap {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.rec-relationship-meta {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.45;
}

.rec-relationship-meta svg {
  width: 12px;
  height: 12px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.rec-quote-watermark {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  opacity: 0.05;
  pointer-events: none;
  color: var(--accent-cyan);
  transition: opacity var(--transition-normal);
}

.recommendation-card:hover .rec-quote-watermark {
  opacity: 0.12;
}

.rec-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  z-index: 1;
}

.rec-text-container {
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rec-text-container.clamped {
  max-height: 145px;
}

.rec-text-container.clamped::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: linear-gradient(to bottom, transparent, rgba(13, 22, 41, 0.95));
  pointer-events: none;
}

.rec-text-container.expanded {
  max-height: 1200px;
}

.rec-paragraph {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.rec-paragraph:last-child {
  margin-bottom: 0;
}

.rec-toggle-row,
.exp-toggle-row {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-start;
}

.rec-more-btn,
.exp-more-btn {
  background: transparent;
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-family: var(--font-code);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.rec-more-btn:hover,
.exp-more-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.rec-more-btn svg,
.exp-more-btn svg {
  transition: transform var(--transition-fast);
}

.rec-more-btn[aria-expanded="true"] svg,
.exp-more-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

@media (max-width: 992px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Interactive Terminal Section */
.terminal-section {
  padding: 4.25rem 0;
}

.terminal-window {
  background: #090e1a;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

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

.terminal-title {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.terminal-version {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  white-space: nowrap;
}

.title-full,
.prompt-full {
  display: inline;
}

.title-short,
.prompt-short {
  display: none;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-code);
  font-size: 0.9rem;
  color: #00f2fe;
  min-height: 280px;
  max-height: 400px;
  overflow-y: auto;
}

.terminal-output {
  white-space: pre-wrap;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.terminal-link {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(0, 242, 254, 0.45);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--transition-fast), text-shadow var(--transition-fast), text-decoration-color var(--transition-fast);
  word-break: break-all;
}

.terminal-link:hover {
  color: #ffffff;
  text-decoration-color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.terminal-link:focus-visible {
  outline: 1px dashed var(--accent-cyan);
  outline-offset: 2px;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-prompt {
  color: var(--accent-emerald);
  font-weight: 600;
}

.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-code);
  font-size: 0.9rem;
  width: 100%;
}

/* Contact Section */
.contact-section {
  padding: 4.5rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
}

.contact-details h3,
.contact-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.contact-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-label {
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-main);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

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

/* Footer */
.footer {
  background: #04060c;
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  max-width: 650px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.94) 0%, rgba(9, 14, 26, 0.96) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem 2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 0 35px rgba(0, 242, 254, 0.15);
  transform: translateY(20px);
  transition: transform var(--transition-fast);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-cyan) rgba(255, 255, 255, 0.05);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-tertiary);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

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

/* ==========================================================================
 * Spotlight Recruiter Search Modal & Target Highlight
 * ========================================================================== */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4.5rem 1rem 2rem 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.search-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal-card {
  max-width: 680px;
  width: 100%;
  max-height: 82vh;
  background: linear-gradient(145deg, rgba(13, 20, 36, 0.98) 0%, rgba(7, 11, 22, 0.99) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 0 45px rgba(0, 242, 254, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-16px) scale(0.98);
  transition: all var(--transition-fast);
}

.search-modal-overlay.active .search-modal-card {
  transform: translateY(0) scale(1);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  gap: 0.85rem;
}

.search-input-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #ffffff;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.search-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.search-clear-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.search-clear-btn i {
  width: 16px;
  height: 16px;
}

.search-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.search-modal-close kbd {
  font-family: var(--font-code);
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  transition: all var(--transition-fast);
}

.search-modal-close:hover kbd {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.search-suggestions-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
}

.suggestions-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-code);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  user-select: none;
}

.suggestion-chips {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  padding-right: 0.5rem;
}

.suggestion-chips::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.suggestion-chips .search-chip:last-child {
  margin-right: 1.5rem;
}

.search-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  user-select: none;
}

.search-chip:hover,
.search-chip.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.search-results-list {
  flex: 1;
  overflow-y: auto;
  max-height: 52vh;
  padding: 0.75rem 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-cyan) rgba(255, 255, 255, 0.05);
}

.search-result-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  outline: none;
}

.search-result-item:hover,
.search-result-item.selected {
  background: rgba(0, 242, 254, 0.09);
  border-left-color: var(--accent-cyan);
}

.result-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-badge i,
.result-badge svg {
  width: 12px;
  height: 12px;
  stroke-width: 2px;
}

.badge-experience {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.32);
}

.badge-skill {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.32);
}

.badge-certification {
  background: rgba(146, 84, 222, 0.14);
  color: #c490e4;
  border: 1px solid rgba(146, 84, 222, 0.35);
}

.badge-project {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.32);
}

.badge-research {
  background: rgba(255, 183, 3, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 183, 3, 0.32);
}

.badge-education {
  background: rgba(129, 140, 248, 0.14);
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.badge-recommendation {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.badge-contact {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.badge-profile {
  background: rgba(232, 121, 249, 0.14);
  color: #e879f9;
  border: 1px solid rgba(232, 121, 249, 0.35);
}

.result-section-label {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.result-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.result-subtitle {
  color: var(--accent-cyan);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.result-snippet {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.result-tag {
  font-size: 0.72rem;
  font-family: var(--font-code);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

.result-tag.matched-tag {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}

mark.search-highlight {
  background: rgba(0, 242, 254, 0.25);
  color: #ffffff;
  border-bottom: 2px solid var(--accent-cyan);
  padding: 0.05rem 0.2rem;
  border-radius: 2px;
  font-weight: 600;
}

.search-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-dim);
}

.empty-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem auto;
  color: var(--accent-cyan);
  opacity: 0.7;
}

.empty-icon i {
  width: 44px;
  height: 44px;
}

.empty-title {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

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

.empty-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}

.search-initial-state {
  padding: 2.25rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
}

.initial-state-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 0.75rem auto;
  color: var(--accent-cyan);
  opacity: 0.8;
}

.initial-state-icon i {
  width: 38px;
  height: 38px;
}

.initial-state-title {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.initial-state-text {
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto;
}

.search-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.4rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.76rem;
  color: var(--text-dim);
}

.search-footer-shortcuts {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-footer-shortcuts span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.search-footer-shortcuts kbd {
  font-family: var(--font-code);
  font-size: 0.68rem;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
}

.search-footer-count {
  font-family: var(--font-code);
  color: var(--accent-cyan);
}

/* Deep Jump Target Highlight */
@keyframes spotlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.8), 0 0 25px rgba(0, 242, 254, 0.4);
    border-color: var(--accent-cyan);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(0, 242, 254, 0.25), 0 0 50px rgba(0, 242, 254, 0.6);
    border-color: #ffffff;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0), 0 0 20px rgba(0, 242, 254, 0.2);
    border-color: var(--accent-cyan);
  }
}

.spotlight-active-target {
  animation: spotlightPulse 1.2s ease-in-out 2 !important;
  border-color: var(--accent-cyan) !important;
  position: relative;
  z-index: 10 !important;
}

/* Responsive Media Queries */
@media (max-width: 1280px) {
  .nav-links {
    gap: 0.85rem;
  }

  .nav-link {
    font-size: 0.84rem;
  }

  .nav-container {
    gap: 1rem;
  }

  .header-pill {
    position: relative;
    cursor: help;
  }

  .header-pill .pill-text-full {
    display: none !important;
  }

  .header-pill .pill-text-short {
    display: inline !important;
  }

  /* Hover tooltip for "EU Roles" only on smaller screens */
  .header-pill::after {
    content: attr(data-tooltip);
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: rgba(10, 15, 29, 0.96);
    border: 1px solid rgba(0, 230, 118, 0.45);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 230, 118, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 500;
    font-family: var(--font-body);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1000;
  }

  .header-pill::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 230, 118, 0.45) transparent;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    z-index: 1001;
  }

  .header-pill:hover::after,
  .header-pill:active::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .header-pill:hover::before,
  .header-pill:active::before {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 1180px) {
  .navbar {
    padding: 0.85rem 0;
  }

  .mobile-drawer-pill-item {
    display: block;
  }

  .mobile-search-nav-item {
    display: block;
    width: 100%;
    max-width: 320px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 60px);
    background: rgba(7, 10, 18, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 1.5rem;
    gap: 1.75rem;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
  }

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

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

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

@media (max-width: 768px) {

  .experience-section,
  .skills-section,
  .certs-section,
  .projects-section,
  .education-section,
  .recommendations-section,
  .terminal-section {
    padding: 3rem 0;
  }

  .contact-section {
    padding: 3rem 0 4.5rem;
  }

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

  .hero-badges {
    gap: 0.5rem;
    margin: 0.2rem 0 0.95rem 0;
    min-height: 68px;
  }

  .hero-badge-img-box {
    width: 38px;
    height: 38px;
  }

  .hero-badge-card {
    min-width: 54px;
    padding: 0.35rem 0.48rem 0.32rem;
    gap: 0.28rem;
  }

  .hero-badge-code {
    font-size: 0.67rem;
    padding: 0.1rem 0.32rem;
  }

  .logo {
    font-size: 1.15rem;
    gap: 0.4rem;
  }

  .logo-badge {
    font-size: 0.72rem;
    padding: 0.1rem 0.35rem;
  }

  .pill-text-full {
    display: none !important;
  }

  .pill-text-short {
    display: inline !important;
  }

  .availability-pill {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
  }

  .nav-search-btn {
    padding: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 50%;
  }

  .search-btn-label,
  .nav-search-btn .search-kbd {
    display: none !important;
  }

  .search-modal-overlay {
    padding: 1.5rem 0.75rem 1rem 0.75rem;
    align-items: flex-start;
    background: rgba(4, 8, 18, 0.95);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .search-modal-card {
    max-height: 88vh;
    border-radius: var(--radius-md);
    background: #0d1424;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .search-input-wrapper {
    padding: 0.85rem 1rem;
    gap: 0.6rem;
  }

  .search-input {
    font-size: 0.95rem;
  }

  .search-suggestions-bar {
    padding: 0.6rem 1rem;
  }

  .search-modal-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 420px) {
  .header-pill {
    display: none !important;
  }

  .logo {
    font-size: 1.05rem;
    gap: 0.35rem;
  }

  .logo-badge {
    font-size: 0.68rem;
    padding: 0.08rem 0.35rem;
  }

  .hero-role-status {
    font-size: 0.68rem;
    padding: 0 0.2rem;
  }

  .tech-chip {
    font-size: 0.75rem;
    padding: 0.55rem 0.75rem;
    gap: 0.5rem;
  }

  .badge-top-right,
  .badge-bottom-left {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }
}

@media (max-width: 768px) {
  .terminal-header {
    padding: 0.6rem 0.85rem;
    gap: 0.5rem;
  }

  .terminal-title {
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .terminal-version {
    font-size: 0.7rem;
  }

  .terminal-body {
    padding: 1rem 0.85rem;
    font-size: 0.82rem;
    min-height: 240px;
  }

  .terminal-input {
    font-size: 0.82rem;
  }

  .title-full {
    display: none !important;
  }

  .title-short {
    display: inline !important;
  }

  .prompt-full {
    display: none !important;
  }

  .prompt-short {
    display: inline !important;
  }

  .modal-overlay {
    padding: 0.75rem;
    align-items: flex-start;
  }

  .modal-card {
    margin-top: 1rem;
    max-height: 84vh;
    padding: 1.75rem 1.15rem 1.25rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
    min-height: auto;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-visual {
    transform: none;
  }

  .cyber-frame {
    width: 100%;
    max-width: 360px;
    min-height: auto;
    margin: 2.25rem auto 1rem auto;
    padding: 1rem 0.85rem 1rem 0.85rem;
  }

  .badge-top-right {
    top: -24px;
    right: 0px;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
  }

  .badge-bottom-left {
    bottom: -18px;
    left: 0px;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
  }

  .hero-role-status {
    font-size: 0.72rem;
    padding: 0 0.25rem;
    gap: 0.35rem;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.85rem;
  }

  .stat-item {
    align-items: center;
    text-align: center;
  }

  .stat-val {
    font-size: 1.6rem;
    text-align: center;
  }

  .stat-lbl {
    font-size: 0.72rem;
    text-align: center;
  }

  .certs-grid,
  .edu-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
  }

  .timeline-item {
    padding-left: 0;
    margin-bottom: 2.25rem;
    position: relative;
    z-index: 1;
  }

  .timeline-node {
    left: 50%;
    transform: translateX(-50%);
    top: -12px;
    z-index: 2;
  }

  .timeline-item:hover .timeline-node {
    transform: translateX(-50%) scale(1.2);
  }

  .experience-card {
    padding: 1.5rem 1.25rem;
    background: rgba(13, 22, 41, 0.92);
  }

  .exp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .exp-header>div:last-child {
    text-align: left !important;
  }

  .exp-role {
    font-size: 1.25rem;
  }

  .recommendation-card {
    padding: 1.5rem 1.25rem;
  }

  .rec-quote-watermark {
    width: 38px;
    height: 38px;
    top: 1rem;
    right: 1rem;
  }

  .rec-header {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 0.85rem;
    row-gap: 0.4rem;
    align-items: center;
    margin-bottom: 1.15rem;
  }

  .rec-avatar {
    grid-column: 1;
    grid-row: 1;
    width: 46px;
    height: 46px;
    font-size: 1rem;
    align-self: center;
  }

  .rec-author-info {
    display: contents;
  }

  .rec-author-top {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
  }

  .rec-author-role,
  .rec-company-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.2rem;
    margin-bottom: 0.15rem;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .rec-relationship-meta {
    grid-column: 1 / -1;
    grid-row: 3;
    gap: 0.45rem;
    font-size: 0.72rem;
    line-height: 1.45;
  }
}

@media (max-width: 580px) {
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    max-width: 390px;
    margin: 0.25rem 0 1rem 0;
    min-height: 156px;
  }

  .hero-badge-card {
    width: 100%;
    min-width: 0;
    padding: 0.4rem 0.25rem 0.35rem;
    gap: 0.25rem;
  }

  .hero-badge-img-box {
    width: 36px;
    height: 36px;
  }

  .hero-badge-code {
    font-size: 0.63rem;
    padding: 0.08rem 0.25rem;
    letter-spacing: 0;
  }
}

@media (max-width: 480px) {

  .experience-section,
  .skills-section,
  .certs-section,
  .projects-section,
  .education-section,
  .recommendations-section,
  .terminal-section {
    padding: 2.5rem 0;
  }

  .contact-section {
    padding: 2.5rem 0 3.5rem;
  }

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

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .cyber-frame {
    max-width: 310px;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.65rem;
  }

  .stat-item {
    align-items: center;
    text-align: center;
  }

  .stat-val {
    font-size: 1.4rem;
    text-align: center;
  }

  .stat-lbl {
    font-size: 0.65rem;
    text-align: center;
  }
}