/* ==========================================================================
   AKHIL JOY — 2026 DIGITAL PORTFOLIO STYLESHEET (ENHANCED MOTION & ICONS)
   Design System: Obsidian Dark-First • Electric Violet / Cyan • Glassmorphism
   ========================================================================== */

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

:root {
  --bg-base: #080808;
  --bg-surface: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1E1E1E;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);

  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;
  --text-inverse: #080808;

  --accent-purple: #7C3AED;
  --accent-blue: #3B82F6;
  --accent-cyan: #22D3EE;
  --accent-success: #10B981;
  --accent-warning: #F59E0B;
  --accent-danger: #EF4444;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(124, 58, 237, 0.5);

  --gradient-electric: linear-gradient(135deg, #7C3AED 0%, #3B82F6 50%, #22D3EE 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.4s var(--ease-smooth);
}

/* Light Theme Override */
body.light-theme {
  --bg-base: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-strong: rgba(255, 255, 255, 0.95);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  --border-subtle: rgba(15, 23, 42, 0.07);
  --border-medium: rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   LIGHT MODE REDUCED CLEAN SHADOW & NAVIGATION CONTRAST OVERRIDES
   ========================================================================== */
body.light-theme .nav-pill {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .nav-pill.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(124, 58, 237, 0.3) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.09) !important;
}

body.light-theme .nav-link {
  color: #475569 !important;
  font-weight: 600 !important;
}

body.light-theme .nav-link:hover,
body.light-theme .nav-link.active {
  color: #0F172A !important;
}

body.light-theme .brand-logo {
  color: #0F172A !important;
}

body.light-theme .theme-toggle-btn {
  background: #F1F5F9 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.light-theme .theme-toggle-btn:hover {
  background: #E2E8F0 !important;
  color: var(--accent-purple) !important;
}

body.light-theme .hamburger-btn {
  background: #F1F5F9 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #0F172A !important;
}

body.light-theme .mobile-menu-overlay {
  background: rgba(255, 255, 255, 0.97) !important;
}

body.light-theme .mobile-nav-links a {
  color: #0F172A !important;
}

body.light-theme .mobile-nav-links a:hover {
  color: var(--accent-purple) !important;
}

body.light-theme .status-badge {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #059669 !important;
}

body.light-theme .hero-avatar-frame,
body.light-theme .hero-avatar-frame img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

body.light-theme .floating-badge-top,
body.light-theme .floating-badge-bottom {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.95);
}

body.light-theme .stats-counter-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  background: #FFFFFF;
}

body.light-theme .stats-counter-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

body.light-theme .marquee-tech-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  background: #FFFFFF;
}

body.light-theme .marquee-tech-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  background: #FFFFFF;
}

body.light-theme .marquee-center-icon,
body.light-theme .marquee-live-indicator,
body.light-theme .services-guarantee-pill,
body.light-theme .section-tag {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .service-nav-item {
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

body.light-theme .service-nav-item:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  background: #F8FAFC;
}

body.light-theme .service-nav-item.active {
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

body.light-theme .service-stage-card {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

body.light-theme .service-stage-card.active {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

body.light-theme .stage-ambient-glow {
  opacity: 0.15;
}

body.light-theme .stage-deliv-box {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .stage-deliv-box:hover {
  background: #F1F5F9;
}

body.light-theme .stage-cta-primary {
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.2);
}

body.light-theme .stage-cta-secondary {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .project-card-bento {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

body.light-theme .project-card-bento:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

body.light-theme .tab-btn {
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

body.light-theme .tab-btn.active {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

body.light-theme .contact-card {
  background: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

body.light-theme .contact-input,
body.light-theme .contact-textarea {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
  color: #0F172A;
}

body.light-theme .contact-input:focus,
body.light-theme .contact-textarea:focus {
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

body.light-theme .btn-primary {
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.2);
}

body.light-theme .btn-secondary {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.light-theme .modal-box {
  background: #FFFFFF;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

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

/* GLOBAL TOP SCROLL PROGRESS BAR */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-electric);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
  z-index: 99999;
  transition: width 0.1s linear;
}

/* Canvas & Ambient Glows */
#canvas-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.5);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 620px;
  line-height: 1.7;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
  user-select: none;
  will-change: transform;
}

.btn-primary {
  background: var(--gradient-electric);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent-purple);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 12px rgba(124, 58, 237, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* GLASS PANEL */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-medium);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 28px;
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-normal);
}

.nav-pill.scrolled {
  background: rgba(10, 10, 10, 0.9);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-success);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 20px;
}

.status-beacon {
  width: 6px;
  height: 6px;
  background: var(--accent-success);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-success);
  animation: pulseDot 1.8s infinite ease-in-out;
}

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

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-electric);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

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

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-glass-strong);
  border-color: var(--accent-purple);
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Mobile Menu Fullscreen Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px 36px 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.35s var(--ease-smooth), visibility 0.35s ease;
}

body.light-theme .mobile-menu-overlay {
  background: rgba(255, 255, 255, 0.98);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: auto 0;
  padding: 24px 0;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4.2vw, 2rem);
  font-weight: 700;
  text-decoration: none;
  color: var(--text-secondary);
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), transform 0.2s ease, background 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.12);
  transform: scale(1.04);
}

.mobile-menu-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  align-items: center;
}

/* ==========================================================================
   HERO SECTION & FLOATING TECH ORBITS
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
}

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

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-name {
  font-size: clamp(3.2rem, 7.5vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero-name .char {
  display: inline-block;
  will-change: transform, opacity;
}

.kinetic-role-wrapper {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.kinetic-role-roller {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 700;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
}

.social-strip {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  border-color: var(--accent-purple);
  transform: translateY(-3px);
}

/* HERO 3D VISUAL & BACKGROUND TECH CONSTELLATION */
.hero-visual-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  perspective: 1000px;
}

.hero-3d-asset {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 10px 24px rgba(124, 58, 237, 0.22));
  animation: floatHero 6s ease-in-out infinite;
  position: relative;
  z-index: 2; /* In front of tech constellation */
}

@keyframes floatHero {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

/* ORBIT RINGS BEHIND AVATAR (EXPANDED RADIUS) */
.tech-orbit-track {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(124, 58, 237, 0.2);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
}

.tech-orbit-track.track-1 {
  width: 390px;
  height: 390px;
  border-color: rgba(34, 211, 238, 0.22);
  animation: spinOrbit 50s linear infinite;
}

.tech-orbit-track.track-2 {
  width: 550px;
  height: 550px;
  border-color: rgba(124, 58, 237, 0.28);
  animation: spinOrbitReverse 65s linear infinite;
}

.tech-orbit-track.track-3 {
  width: 710px;
  height: 710px;
  border-color: rgba(242, 78, 30, 0.2);
  animation: spinOrbit 80s linear infinite;
}

@keyframes spinOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinOrbitReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* TECH CONSTELLATION LAYER (BEHIND CHARACTER - AMBIENT ONLY) */
.tech-constellation-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Behind avatar */
  pointer-events: none;
}

.floating-tech-node {
  position: absolute;
  pointer-events: none;
  transform: translate(var(--tx), var(--ty));
  animation: cosmicTechFloat var(--dur, 6s) ease-in-out infinite var(--del, 0s);
  z-index: 1;
}

@keyframes cosmicTechFloat {
  0%, 100% {
    transform: translate(var(--tx), var(--ty)) translateY(0px) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(var(--tx), var(--ty)) translateY(-18px) scale(1.08) rotate(3deg);
  }
}

/* ALL TECHNOLOGIES BRAND ICON CIRCLE BADGES (INCREASED RADIUS & CIRCULAR SHAPE) */
.brand-tech-badge,
.figma-icon-badge,
.hubspot-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s var(--ease-smooth);
}

.figma-icon-badge {
  background: rgba(242, 78, 30, 0.18);
  border: 1.5px solid #F24E1E;
  color: #F24E1E;
  box-shadow: 0 0 8px rgba(242, 78, 30, 0.2);
}

.ps-badge {
  background: #001E36;
  border: 1.5px solid #31A8FF;
  color: #31A8FF;
  box-shadow: 0 0 8px rgba(49, 168, 255, 0.2);
}

.ai-badge {
  background: #331100;
  border: 1.5px solid #FF9A00;
  color: #FF9A00;
  box-shadow: 0 0 8px rgba(255, 154, 0, 0.2);
}

.hubspot-icon-badge {
  background: rgba(255, 122, 89, 0.18);
  border: 1.5px solid #FF7A59;
  color: #FF7A59;
  box-shadow: 0 0 8px rgba(255, 122, 89, 0.2);
}

.html5-badge {
  background: rgba(228, 77, 38, 0.18);
  border: 1.5px solid #E44D26;
  color: #E44D26;
  box-shadow: 0 0 8px rgba(228, 77, 38, 0.2);
}

.css3-badge {
  background: rgba(41, 128, 185, 0.18);
  border: 1.5px solid #2980B9;
  color: #2980B9;
  box-shadow: 0 0 8px rgba(41, 128, 185, 0.2);
}

.js-badge {
  background: rgba(247, 223, 30, 0.18);
  border: 1.5px solid #F7DF1E;
  color: #F7DF1E;
  box-shadow: 0 0 8px rgba(247, 223, 30, 0.2);
}

.php-badge {
  background: rgba(119, 123, 180, 0.18);
  border: 1.5px solid #777BB4;
  color: #777BB4;
  box-shadow: 0 0 8px rgba(119, 123, 180, 0.2);
}

.wp-badge {
  background: rgba(33, 117, 155, 0.18);
  border: 1.5px solid #21759B;
  color: #21759B;
  box-shadow: 0 0 8px rgba(33, 117, 155, 0.2);
}

.webgl-badge {
  background: rgba(34, 211, 238, 0.18);
  border: 1.5px solid #22D3EE;
  color: #22D3EE;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.2);
}

.ai-core-badge {
  background: rgba(16, 185, 129, 0.18);
  border: 1.5px solid #10B981;
  color: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.gsap-badge {
  background: rgba(168, 85, 247, 0.18);
  border: 1.5px solid #A855F7;
  color: #A855F7;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.2);
}

/* ==========================================================================
   INFINITE MARQUEE
   ========================================================================== */
.marquee-section {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(17, 17, 17, 0.4);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 30px;
  white-space: nowrap;
  user-select: none;
}

.marquee-row-1 {
  animation: marqueeLeft 32s linear infinite;
}

.marquee-row-2 {
  animation: marqueeRight 28s linear infinite;
  margin-top: 12px;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 24px;
}

.marquee-item .separator {
  color: var(--accent-purple);
  font-size: 1.5rem;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

/* ==========================================================================
   ABOUT & STATS BENTO
   ========================================================================== */
.about-section {
  padding: 100px 0;
  position: relative;
}

.bento-grid-about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

.bento-portrait-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.18) 0%, var(--bg-card) 65%);
}

.portrait-avatar-box {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.25);
}

.stats-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-box {
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ==========================================================================
   2026 TRENDING HORIZONTAL INFINITE MARQUEE MATRIX
   ========================================================================== */
.skills-section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.marquee-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-success);
  box-shadow: 0 0 6px var(--accent-success);
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* MARQUEE WRAPPER WITH EDGE MASK GRADIENTS */
.marquee-ecosystem-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.tech-marquee-row {
  display: flex;
  width: 100%;
  overflow: visible;
  padding: 14px 0;
  user-select: none;
}

.tech-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  padding: 6px 0;
}

/* CONTINUOUS SEAMLESS MARQUEE SCROLL */
.marquee-row-left .tech-marquee-track {
  animation: marqueeScrollLeft 42s linear infinite;
}

.marquee-row-right .tech-marquee-track {
  animation: marqueeScrollRight 42s linear infinite;
}

.tech-marquee-row:hover .tech-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3)); }
}

@keyframes marqueeScrollRight {
  0% { transform: translateX(calc(-100% / 3)); }
  100% { transform: translateX(0); }
}

/* COMPACT MARQUEE CARD */
.marquee-tech-card {
  flex: 0 0 285px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  z-index: 1;
}

.marquee-tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--brand-color, var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.marquee-tech-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--brand-color, var(--accent-purple));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 12px var(--brand-color, rgba(124, 58, 237, 0.15));
  background: var(--bg-glass-strong);
  z-index: 10;
}

.marquee-tech-card:hover::before {
  opacity: 1;
}

/* MARQUEE CIRCLE GAUGE & ICON */
.marquee-circle-wrapper {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-svg {
  transform: rotate(-90deg);
  overflow: visible;
}

.marquee-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 4.5;
}

.marquee-circle-progress {
  fill: none;
  stroke-width: 4.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px var(--brand-color, var(--accent-purple)));
}

.marquee-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.marquee-tech-card:hover .marquee-center-icon {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 8px var(--brand-color, var(--accent-purple));
}

.ps-marquee-text, .ai-marquee-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
}
.ps-marquee-text { color: #31A8FF; }
.ai-marquee-text { color: #FF9A00; }

/* MARQUEE CARD INFO */
.marquee-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  flex: 1;
}

.marquee-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.marquee-cat-badge {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 1px 6px;
  border-radius: 4px;
}

.marquee-pct-tag {
  font-weight: 700;
  font-size: 0.75rem;
}

.marquee-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.marquee-level-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   2026 TRENDING INTERACTIVE CAPABILITY CONSOLE (SERVICES)
   ========================================================================== */
.services-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.services-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* CONSOLE SPLIT LAYOUT */
.services-console-layout {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 32px;
  align-items: stretch;
}

/* LEFT SELECTOR NAV DECK */
.services-nav-deck {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-nav-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.service-nav-item .nav-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-item-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.nav-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.nav-item-title {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.nav-item-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item-indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

/* HOVER & ACTIVE STATE */
.service-nav-item:hover {
  background: var(--bg-surface);
  border-color: var(--border-medium);
  transform: translateX(4px);
}

.service-nav-item.active {
  background: var(--bg-surface);
  border-color: var(--accent-purple);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 14px var(--border-glow);
}

.service-nav-item.active .nav-item-num {
  color: var(--accent-cyan);
}

.service-nav-item.active .nav-item-icon {
  background: var(--btn-primary-bg, var(--gradient-electric));
  color: var(--btn-primary-color, #FFFFFF);
  box-shadow: 0 0 12px var(--border-glow);
}

.service-nav-item.active .nav-item-title {
  color: var(--text-primary);
  font-weight: 700;
}

.service-nav-item.active .nav-item-arrow {
  transform: translateX(3px);
  color: var(--accent-cyan);
}

.service-nav-item.active .nav-item-indicator {
  opacity: 1;
  background: var(--border-medium);
}

.service-nav-item.active .nav-item-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent-purple);
  box-shadow: 0 0 6px var(--accent-purple);
  animation: navTimerProgress 5s linear forwards;
}

.services-console-layout:hover .service-nav-item.active .nav-item-indicator::after,
.services-console-layout.is-paused .service-nav-item.active .nav-item-indicator::after,
.service-nav-item:hover .nav-item-indicator::after {
  animation-play-state: paused;
}

@keyframes navTimerProgress {
  0% { height: 0%; }
  100% { height: 100%; }
}

/* RIGHT STAGE DECK - ZERO LAYOUT SHIFT GRID STACK */
.services-stage-deck {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 480px;
}

.service-stage-card {
  grid-area: 1 / 1 / 2 / 2;
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 40px 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

.service-stage-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-card-hover), 0 0 24px var(--border-glow);
}

/* STAGE AMBIENT GLOW */
.stage-ambient-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--border-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.35;
}

/* STAGE TOP ROW */
.stage-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.stage-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stage-index-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.stage-metric-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.stage-icon-orb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--btn-primary-bg, var(--gradient-electric));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: var(--btn-primary-color, #FFFFFF);
  box-shadow: 0 0 18px var(--border-glow);
}

/* STAGE TITLE & DESC */
.stage-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: var(--heading-weight, 700);
  letter-spacing: var(--heading-spacing, -0.02em);
  text-transform: var(--heading-transform, none);
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.stage-desc {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 90%;
}

/* KEY DELIVERABLES GRID */
.stage-deliverables-header {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.stage-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.stage-deliv-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.stage-deliv-box i {
  color: var(--accent-cyan);
}

.stage-deliv-box:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--accent-purple);
}

/* STAGE FOOTER & CTAS */
.stage-footer {
  display: flex;
  gap: 16px;
  margin-top: auto;
  align-items: center;
}

.stage-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--btn-padding, 14px 28px);
  border-radius: var(--btn-radius, 9999px);
  background: var(--btn-primary-bg, var(--gradient-electric));
  color: var(--btn-primary-color, #FFFFFF);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--btn-primary-shadow);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease;
}

.stage-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-primary-hover-shadow);
  color: var(--btn-primary-color, #FFFFFF);
}

.stage-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--btn-padding, 14px 28px);
  border-radius: var(--btn-radius, 9999px);
  background: var(--btn-secondary-bg);
  border: var(--btn-secondary-border);
  color: var(--btn-secondary-color);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--btn-secondary-shadow);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.stage-cta-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-secondary-hover-shadow);
  border-color: var(--accent-purple);
  color: var(--btn-secondary-color);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .services-console-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services-nav-deck {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .services-nav-deck::-webkit-scrollbar {
    display: none;
  }
  .service-nav-item {
    flex: 0 0 240px;
  }
  .service-stage-card {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .stage-deliverables-grid {
    grid-template-columns: 1fr;
  }
  .stage-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .stage-cta-primary, .stage-cta-secondary {
    justify-content: center;
  }
  .stage-title {
    font-size: 1.55rem;
  }
}

/* ==========================================================================
   05. PROFESSIONAL CERTIFICATIONS SECTION
   ========================================================================== */
.certifications-section {
  padding: 100px 0 80px 0;
  position: relative;
  z-index: 2;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.cert-card-interactive {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.cert-card-interactive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cert-color, var(--accent-purple));
  opacity: 0.8;
}

.cert-card-interactive:hover {
  transform: translateY(-6px);
  border-color: var(--cert-color, var(--accent-purple));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 18px var(--cert-color, rgba(124, 58, 237, 0.15));
}

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

.cert-issuer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid;
}

.cert-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: 12px;
}

.cert-body-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.cert-preview-frame {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0B0A1A;
  cursor: pointer;
}

.cert-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-card-interactive:hover .cert-preview-frame img {
  transform: scale(1.08);
}

.cert-hover-zoom {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cert-preview-frame:hover .cert-hover-zoom {
  opacity: 1;
}

.cert-details-content {
  display: flex;
  flex-direction: column;
}

.cert-date-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cert-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.cert-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.cert-skills-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cert-skill-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
}

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

.cert-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cert-view-btn:hover {
  background: var(--cert-color, var(--accent-purple));
  border-color: var(--cert-color, var(--accent-purple));
  color: #FFFFFF;
}

.cert-credential-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cert-credential-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

/* Light Theme Overrides for Certifications */
body.light-theme .cert-card-interactive {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .cert-preview-frame {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .cert-skill-tag {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.06);
  color: #64748B;
}

body.light-theme .cert-view-btn {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #0F172A;
}

body.light-theme .cert-credential-btn {
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

/* ==========================================================================
   2026 TRENDING ASYMMETRICAL BENTO SHOWCASE (SELECTED WORK)
   ========================================================================== */
.projects-section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
}

.projects-live-stat {
  display: flex;
  align-items: center;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* FILTER TABS & COUNT PILLS */
.skills-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn .filter-count-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  border-color: var(--accent-purple);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tab-btn.active .filter-count-badge,
.tab-btn:hover .filter-count-badge {
  background: var(--accent-purple);
  color: #FFFFFF;
}

/* BENTO GRID MATRIX */
.projects-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.project-card-bento {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.project-card-bento:hover {
  transform: translateY(-6px);
  border-color: var(--card-accent, var(--accent-purple));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 16px var(--card-accent, rgba(124, 58, 237, 0.12));
}

/* BENTO COLUMN SPANS */
.bento-hero-col-12,
.project-card-bento.bento-hero-col-12,
.col-12,
.project-card-bento.col-12 {
  grid-column: span 12 !important;
  width: 100%;
}

.bento-col-6,
.project-card-bento.bento-col-6,
.col-6,
.project-card-bento.col-6 {
  grid-column: span 6 !important;
  width: 100%;
}

.bento-col-4,
.project-card-bento.bento-col-4,
.col-4,
.project-card-bento.col-4 {
  grid-column: span 4 !important;
  width: 100%;
}

.col-8,
.project-card-bento.col-8 {
  grid-column: span 8 !important;
  width: 100%;
}

/* ==========================================================================
   FLAGSHIP HERO BENTO CARD
   ========================================================================== */
.hero-flagship-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%), var(--bg-card);
  border: 1px solid var(--border-medium);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.hero-flagship-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 32px;
  align-items: center;
}

.flagship-media-window {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0D0D0D;
  cursor: pointer;
}

.browser-mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-subtle);
}

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

.dot-red, .dot-yellow, .dot-green {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.mockup-url-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 12px;
  border-radius: 20px;
}

.flagship-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-img-frame {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.project-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.flagship-media-window:hover .project-img-frame img {
  transform: scale(1.06);
}

.img-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.flagship-media-window:hover .img-hover-overlay {
  opacity: 1;
}

.explore-btn-floating {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #080808;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.flagship-media-window:hover .explore-btn-floating {
  transform: translateY(0);
}

/* FLAGSHIP CONTENT COLUMN */
.flagship-content-column {
  display: flex;
  flex-direction: column;
}

.flagship-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.category-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid;
}

.year-meta-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.flagship-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.flagship-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.flagship-specs-row {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.project-capsule-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.capsule-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 8px;
}

.flagship-footer-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* ==========================================================================
   STANDARD BENTO SHOWCASE CARDS (COL-6 & COL-4)
   ========================================================================== */
.mini-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.mini-dots {
  display: flex;
  gap: 5px;
}

.mini-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mini-cat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
}

.media-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.bento-col-4 .media-thumb-wrapper {
  height: 210px;
}

.media-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card-bento:hover .media-thumb-wrapper img {
  transform: scale(1.08);
}

.thumb-hover-curtain {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card-bento:hover .thumb-hover-curtain {
  opacity: 1;
}

.quick-action-badge {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #080808;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.project-content-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.project-meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.project-year-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-client-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.project-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.project-card-bento:hover .project-card-title {
  color: var(--card-accent, var(--accent-cyan));
}

.project-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.bento-mini-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

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

.project-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.project-role-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bento-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.project-card-bento:hover .bento-view-btn,
.bento-view-btn:hover {
  background: var(--card-accent, var(--accent-purple));
  border-color: var(--card-accent, var(--accent-purple));
  color: #FFFFFF;
}

/* LIGHT MODE OVERRIDES FOR SELECTED WORK */
body.light-theme .hero-flagship-card,
body.light-theme .project-card-bento {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .flagship-media-window {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .browser-mockup-bar,
body.light-theme .mini-window-bar {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .mockup-url-chip {
  background: #FFFFFF;
  color: #475569;
}

body.light-theme .flagship-specs-row {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .capsule-tag {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

body.light-theme .mini-tag {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.06);
  color: #64748B;
}

body.light-theme .project-card-footer {
  border-top-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .bento-view-btn {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #0F172A;
}

/* RESPONSIVE BREAKPOINTS FOR SELECTED WORK */
@media (max-width: 1024px) {
  .hero-flagship-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .project-img-frame {
    height: 280px;
  }
  .bento-col-6, .bento-col-4 {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .bento-hero-col-12, .bento-col-6, .bento-col-4 {
    grid-column: span 12;
  }
  .hero-flagship-inner {
    padding: 18px;
  }
  .project-img-frame {
    height: 220px;
  }
  .flagship-title {
    font-size: 1.6rem;
  }
  .flagship-specs-row {
    flex-direction: column;
    gap: 10px;
  }
  .flagship-footer-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   CAREER JOURNEY & TIMELINE
   ========================================================================== */
.journey-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.timeline-filter-bar {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px;
  gap: 6px;
  margin: 32px auto 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.timeline-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.timeline-filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-filter-btn.active {
  background: var(--gradient-electric);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

/* Timeline Track */
.timeline-stepper {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 36px;
  width: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.timeline-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient-electric);
  box-shadow: 0 0 12px var(--accent-cyan);
  border-radius: 3px;
  transition: height 0.1s linear;
}

/* Timeline Node */
.timeline-node {
  position: relative;
  padding-left: 80px;
  margin-bottom: 40px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-node.hidden {
  display: none !important;
}

/* Marker 2026 with Core Icon & Pulse Ring */
.timeline-marker-2026 {
  position: absolute;
  left: 17px;
  top: 24px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.marker-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed var(--node-accent, var(--accent-purple));
  opacity: 0.4;
  animation: markerRotate 12s linear infinite;
}

@keyframes markerRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.marker-icon-core {
  width: 34px;
  height: 34px;
  background: var(--bg-card);
  border: 2px solid var(--node-accent, var(--accent-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--node-accent, var(--accent-cyan));
  font-size: 0.85rem;
  box-shadow: 0 0 16px var(--node-accent, rgba(124, 58, 237, 0.4));
  transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-node:hover .marker-icon-core,
.timeline-node.active-node .marker-icon-core {
  transform: scale(1.15);
  background: var(--node-accent, var(--accent-purple));
  color: #FFFFFF;
}

/* 2026 Glassmorphic Card */
.timeline-card-2026 {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.timeline-card-2026::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--node-accent, var(--accent-purple));
  opacity: 0.85;
  pointer-events: none;
}

.timeline-card-2026:hover {
  transform: translateX(8px);
  border-color: var(--node-accent, var(--accent-purple));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 20px var(--node-accent, rgba(124, 58, 237, 0.12));
}

/* Meta Chips */
.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.timeline-meta-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.timeline-type-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.timeline-type-pill.pill-exp {
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.timeline-type-pill.pill-edu {
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.timeline-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.timeline-date-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Logo Frame */
.timeline-logo-frame {
  height: 40px;
  max-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.timeline-logo-frame img {
  max-height: 30px;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0.95);
}

/* Card Body */
.timeline-role-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: color var(--transition-fast);
}

.timeline-card-2026:hover .timeline-role-title {
  color: var(--node-accent, var(--accent-cyan));
}

.timeline-company-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.timeline-company-name {
  font-weight: 600;
  color: var(--text-primary);
}

.company-divider {
  color: var(--text-muted);
}

.timeline-location-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.timeline-narrative-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* Skills Wrap */
.timeline-skills-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.t-skill-capsule {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.timeline-card-2026:hover .t-skill-capsule {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

/* Light Theme Overrides for Timeline */
body.light-theme .timeline-filter-bar {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

body.light-theme .timeline-filter-btn {
  color: #64748B;
}

body.light-theme .timeline-filter-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

body.light-theme .timeline-card-2026 {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

body.light-theme .timeline-logo-frame {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .timeline-badge-pill,
body.light-theme .t-skill-capsule {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.06);
  color: #475569;
}

body.light-theme .timeline-line {
  background: rgba(15, 23, 42, 0.1);
}

/* ==========================================================================
   07. THE CREATIVE PROCESS (2026 TRENDING PIPELINE MATRIX)
   ========================================================================== */
.process-section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
}

.process-header-stat {
  display: flex;
  align-items: center;
}

.process-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  position: relative;
}

.process-stage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.process-stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stage-accent, var(--accent-purple));
  opacity: 0.85;
}

.process-stage-card:hover {
  transform: translateY(-8px);
  border-color: var(--stage-accent, var(--accent-purple));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 20px var(--stage-accent, rgba(124, 58, 237, 0.15));
}

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

.process-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stage-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--stage-accent, var(--accent-cyan));
}

.stage-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.stage-timeline-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Vector Illustration Frame */
.process-vector-frame {
  width: 100%;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.5) 100%), #0A0A0A;
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.process-svg-art {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-stage-card:hover .process-svg-art {
  transform: scale(1.05);
}

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

.process-stage-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.process-stage-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.process-capsule-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.p-capsule {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.process-stage-card:hover .p-capsule {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

/* Light Mode Overrides for Process Section */
body.light-theme .process-section {
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.03) 0%, transparent 60%);
}

body.light-theme .process-stage-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

body.light-theme .process-stage-card:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.07);
}

body.light-theme .process-vector-frame {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .stage-timeline-chip {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

body.light-theme .p-capsule {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.06);
  color: #64748B;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 50% 100%, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

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

/* ==========================================================================
   CASE STUDY & CERTIFICATE POPUP MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 5, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}

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

.modal-dialog {
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Modal Scrollbar */
.modal-dialog::-webkit-scrollbar {
  width: 8px;
}
.modal-dialog::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}
.modal-dialog::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 8px;
}
.modal-dialog::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--accent-purple);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.modal-media-frame {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--border-subtle);
  background: #0B0A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  min-height: 200px;
  position: relative;
}

.modal-media-frame img {
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Light Theme Overrides for Modal */
body.light-theme .modal-dialog {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

body.light-theme .modal-media-frame {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .modal-close-btn {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0F172A;
}

body.light-theme .modal-close-btn:hover {
  background: var(--accent-purple);
  color: #FFFFFF;
}

/* FOOTER */
.site-footer {
  padding: 60px 0 40px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: relative;
  z-index: 2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   COMPREHENSIVE MULTI-DEVICE RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* 1. TABLET & SMALL LAPTOP (<= 1024px) */
@media (max-width: 1024px) {
  .header-nav {
    top: 14px;
    padding: 0 16px;
  }
  .nav-pill {
    padding: 10px 20px;
  }
  .nav-menu {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.2rem;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 130px;
    padding-bottom: 70px;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .section-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .kinetic-role-wrapper {
    justify-content: center;
  }
  .hero-description {
    max-width: 580px;
    margin: 0 auto 30px auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .social-strip {
    justify-content: center;
  }
  .hero-avatar-wrapper {
    margin: 0 auto;
    max-width: 360px;
  }

  /* Bento Grids */
  .bento-grid-about {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bento-hero-col-12,
  .bento-col-6,
  .bento-col-4,
  .col-8,
  .col-6,
  .col-4,
  .project-card-bento {
    grid-column: span 12 !important;
    height: auto;
  }
  .hero-flagship-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
  .project-img-frame {
    height: 280px;
  }

  /* Services Console */
  .services-console-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services-nav-deck {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .services-nav-deck::-webkit-scrollbar {
    display: none;
  }
  .service-nav-item {
    flex: 0 0 240px;
  }
  .service-stage-card {
    padding: 32px 28px;
    min-height: auto;
  }

  /* Certifications & Process */
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .process-pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* 2. TABLET / MOBILE LANDSCAPE (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .section-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .section-desc {
    font-size: 0.95rem;
  }
  .stats-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .timeline-stepper {
    margin-top: 40px;
  }
  .timeline-node {
    padding-left: 58px;
  }
  .timeline-marker-2026 {
    left: 8px;
    top: 20px;
  }
  .timeline-line {
    left: 28px;
  }
  .modal-dialog {
    max-width: 95vw;
    padding: 28px 20px;
  }
}

/* 3. MOBILE SMARTPHONES (<= 640px) */
@media (max-width: 640px) {
  .header-nav {
    top: 10px;
    padding: 0 10px;
  }
  .nav-pill {
    padding: 8px 14px;
    border-radius: 9999px;
  }
  .brand-logo {
    font-size: 0.95rem;
    gap: 6px;
  }
  .brand-logo .status-badge {
    padding: 2px 6px;
    font-size: 0.58rem;
  }
  .nav-actions .btn-primary {
    display: none !important;
  }
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .hamburger-btn {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 105px;
    padding-bottom: 50px;
  }
  .hero-name {
    font-size: clamp(2.3rem, 11vw, 3.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    word-break: break-word;
  }
  .kinetic-role-wrapper {
    font-size: 1.15rem;
    margin-bottom: 18px;
  }
  .hero-description {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
  .hero-avatar-wrapper {
    max-width: 280px;
  }
  .floating-badge-top,
  .floating-badge-bottom {
    display: none !important;
  }

  /* Quick Stats Matrix */
  .stats-matrix {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .stats-counter-card {
    padding: 18px 20px;
  }

  /* Services Stage Card */
  .service-stage-card {
    padding: 24px 18px;
  }
  .stage-title {
    font-size: 1.5rem;
  }
  .stage-desc {
    font-size: 0.9rem;
    max-width: 100%;
  }
  .stage-deliverables-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stage-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .stage-cta-primary,
  .stage-cta-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  /* Certifications */
  .cert-card-interactive {
    padding: 20px 18px;
  }
  .cert-body-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cert-preview-frame {
    height: 160px;
  }
  .cert-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cert-view-btn,
  .cert-credential-btn {
    width: 100%;
    justify-content: center;
  }

  /* Selected Work Flagship */
  .hero-flagship-inner {
    padding: 16px;
    gap: 20px;
  }
  .project-img-frame {
    height: 220px;
  }
  .flagship-title {
    font-size: 1.55rem;
  }
  .flagship-specs-row {
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
  }
  .flagship-footer-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .flagship-footer-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* My Journey Timeline */
  .timeline-stepper {
    margin-top: 32px;
  }
  .timeline-line {
    left: 18px;
  }
  .timeline-node {
    padding-left: 52px;
    margin-bottom: 28px;
  }
  .timeline-marker-2026 {
    left: 0;
    top: 16px;
    width: 38px;
    height: 38px;
  }
  .marker-icon-core {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  .timeline-card-2026 {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .timeline-role-title {
    font-size: 1.15rem;
  }
  .timeline-company-row {
    font-size: 0.85rem;
  }

  /* Process Pipeline */
  .process-pipeline-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .process-stage-card {
    padding: 20px 18px;
  }
  .process-vector-frame {
    height: 140px;
  }

  /* Contact & Footer */
  .contact-section {
    padding: 80px 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

/* 4. EXTRA SMALL PHONES (<= 400px) */
@media (max-width: 400px) {
  .hero-name {
    font-size: 2.1rem;
  }
  .brand-logo span {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand-logo .status-badge {
    display: none;
  }
  .tab-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .timeline-node {
    padding-left: 46px;
  }
  .timeline-card-2026 {
    padding: 16px 14px;
  }
}
