/* ==========================================================================
   SIABE 3D INTERACTIVE LAB — MASTER STYLESHEET (v4.0 EXP FULL EDITION)
   Editorial Dark Minimalism × Spatial WebGL Experience
   Brand Accents: #D6FF3F (Acid-Lime Neon) | Base: #0C0C0E (Obsidian Dark)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-base: #0C0C0E;
  --bg-surface: #141418;
  --bg-surface-elevated: #1B1B22;
  --bg-surface-glass: rgba(20, 20, 24, 0.75);
  --text-primary: #F5F5F7;
  --text-secondary: #C4C4D0;
  --text-muted: #8E8EA2;
  --accent-neon: #D6FF3F;
  --accent-neon-glow: rgba(214, 255, 63, 0.35);
  --accent-neon-subtle: rgba(214, 255, 63, 0.12);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(214, 255, 63, 0.4);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

[data-theme="light"] {
  --bg-base: #F8F9FA;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F3F5;
  --bg-surface-glass: rgba(255, 255, 255, 0.92);
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6B7280;
  --accent-neon: #65A30D;
  --accent-neon-glow: rgba(101, 163, 13, 0.35);
  --accent-neon-subtle: rgba(101, 163, 13, 0.12);
  --border-glass: #E5E7EB;
  --border-glass-hover: #65A30D;
}

/* Floating Theme Toggle (Stacked at bottom: 24px) */
.floating-theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}
.floating-theme-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px var(--accent-neon-glow);
}
.theme-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* Sleek Segmented Language Pill */
.lang-switch-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}
.lang-pill-btn {
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}
.lang-pill-btn:hover {
  color: var(--text-primary);
}
.lang-pill-btn.active {
  color: #000000;
  background: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon-glow);
}
[data-theme="light"] .lang-pill-btn.active {
  color: #FFFFFF;
  background: var(--accent-neon);
}



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

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

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-base);
}

body.modal-open {
  overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #25252D;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-neon);
}

::selection {
  background: var(--accent-neon);
  color: #000;
}

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

/* ==========================================================================
   CANVAS & 3D BACKGROUND STAGE
   ========================================================================== */

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#webgl-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Tier 3: CSS 2.5D Animated Mesh */
#css-mesh-fallback {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.css-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: floatMesh 14s ease-in-out infinite alternate;
  transition: transform 0.5s ease-out;
}

.css-blob-1 {
  top: 15%;
  left: 55%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #D6FF3F 0%, rgba(214, 255, 63, 0.2) 60%, transparent 80%);
}

.css-blob-2 {
  top: 45%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #2CE898 0%, rgba(44, 232, 152, 0.15) 70%, transparent 85%);
  animation-duration: 18s;
  animation-delay: -5s;
}

.css-blob-3 {
  top: 65%;
  left: 60%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #1DB8CE 0%, rgba(29, 184, 206, 0.15) 60%, transparent 80%);
  animation-duration: 22s;
  animation-delay: -8s;
}

@keyframes floatMesh {
  0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
  50% { transform: translate(40px, -60px) scale(1.15) rotate(180deg); }
  100% { transform: translate(-30px, 40px) scale(0.9) rotate(360deg); }
}

.ambient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(12, 12, 14, 0.75) 100%);
}

/* ==========================================================================
   APP WRAPPER & Z-INDEX LAYERING
   ========================================================================== */

#app {
  position: relative;
  z-index: 10;
  width: 100%;
}

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

.nav-header-container {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  box-sizing: border-box;
}

.nav-header {
  pointer-events: auto;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: padding, background, box-shadow;
}

.nav-header.scrolled {
  padding: 8px 20px;
  background: rgba(10, 11, 15, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-neon-subtle);
  transform: translateY(-2px);
}

[data-theme="light"] .nav-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: #E5E7EB;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 20px rgba(101, 163, 13, 0.06);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.brand-logo span {
  color: var(--accent-neon);
}

.badge-lab {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--accent-neon-subtle);
  color: var(--accent-neon);
  border: 1px solid rgba(214, 255, 63, 0.3);
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-neon);
}

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

.fps-counter {
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--accent-neon);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(214, 255, 63, 0.2);
}

.btn-nav {
  padding: 7px 16px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  background: var(--accent-neon);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.btn-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--accent-neon-glow);
}

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

.hero-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 105px 0 50px;
  position: relative;
}

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

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-neon);
  background: var(--accent-neon-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(214, 255, 63, 0.3);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-neon);
  animation: pulseDot 2s infinite ease-in-out;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.8vw, 5.8rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 900px;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-neon);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.hero-title .highlight:hover {
  color: var(--accent-neon);
  text-shadow: 0 0 30px var(--accent-neon-glow);
}

.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 36px;
}

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

.btn-primary {
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  background: var(--accent-neon);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--accent-neon-glow);
}

.btn-secondary {
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  transform: translateY(-3px);
}

.btn-download {
  padding: 13px 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  background: rgba(20, 20, 24, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.btn-download:hover {
  color: var(--text-primary);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.hero-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discipline-item {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.discipline-item:hover {
  color: var(--accent-neon);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   CLIENT MARQUEE TICKER (SEAMLESS INFINITE LOOP)
   ========================================================================== */

.marquee-section {
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(20, 20, 24, 0.4);
  position: relative;
  user-select: none;
  width: 100%;
}

.marquee-wrapper {
  display: flex;
  width: max-content;
  animation: marqueeRoll 28s linear infinite;
  will-change: transform;
}

.marquee-wrapper:hover {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 56px;
  padding-right: 56px;
}

.marquee-track img {
  height: 32px;
  width: auto;
  max-width: 130px;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: var(--transition-smooth);
}

.marquee-track img:hover {
  filter: grayscale(0%) opacity(1) drop-shadow(0 0 10px var(--accent-neon-glow));
  transform: scale(1.1);
}

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

/* ==========================================================================
   SECTION COMMON LAYOUTS
   ========================================================================== */

.section-container {
  padding: 100px 0;
  position: relative;
}

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

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-neon);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ==========================================================================
   3D INTERACTIVE LIVE WEB VIEWPORT (CYBER BROWSER RIG)
   ========================================================================== */

.live-web-section {
  padding: 80px 0 100px;
  position: relative;
}

.live-selector-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.site-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.site-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-glass-hover);
}

.site-tab-btn.active {
  background: var(--accent-neon);
  color: #000;
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px var(--accent-neon-glow);
}

.site-tab-btn .role-tag {
  font-size: 0.68rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.site-tab-btn.active .role-tag {
  background: rgba(0, 0, 0, 0.15);
  color: #000;
}

.live-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.device-toggle-btn:hover, .device-toggle-btn.active {
  color: var(--accent-neon);
  border-color: var(--accent-neon);
}

.live-browser-stage {
  perspective: 1200px;
  width: 100%;
}

.live-browser-frame {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 30px var(--accent-neon-subtle);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 auto;
  width: 100%;
}

.live-browser-frame.mobile-view {
  max-width: 400px;
  border-radius: 36px;
  border-width: 6px;
  border-color: #25252D;
}

.browser-topbar {
  background: #101014;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
  gap: 14px;
}

.browser-lights {
  display: flex;
  gap: 6px;
}

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

.browser-url-bar {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-url-bar span.secure {
  color: var(--accent-neon);
  margin-right: 6px;
}

.btn-open-ext {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: #000 !important;
  background: var(--accent-neon);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 0 16px var(--accent-neon-glow);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  position: relative;
  z-index: 30;
}

.btn-open-ext:hover {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 0 25px var(--accent-neon-glow), 0 5px 15px rgba(0,0,0,0.4);
}

.browser-viewport {
  width: 100%;
  height: 560px;
  position: relative;
  background: #000;
}

.browser-viewport iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.iframe-fallback-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #17171E 0%, #0C0C0E 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  z-index: 10;
}

.browser-role-bar {
  background: var(--bg-surface);
  padding: 14px 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.role-tag-live {
  color: var(--accent-neon);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   FEATURED WORKS & FILTER ENGINE
   ========================================================================== */

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-glass-hover);
}

.filter-btn.active {
  background: var(--accent-neon);
  color: #000;
  border-color: var(--accent-neon);
  box-shadow: 0 0 15px var(--accent-neon-glow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  perspective: 1000px;
}

.project-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.project-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--accent-neon-subtle);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%),
    rgba(214, 255, 63, 0.15) 0%,
    rgba(214, 255, 63, 0.03) 40%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

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

.card-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-neon);
  background: var(--accent-neon-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.card-year {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-item {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.card-thumb-frame {
  width: 100%;
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: #09090C;
  border: 1px solid var(--border-glass);
  position: relative;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.project-card:hover .card-thumb-img {
  transform: scale(1.06);
}

.card-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-neon);
}

/* ==========================================================================
   MODAL SHOWCASE GALLERY & PANORAMIC BANNER VIEWER
   ========================================================================== */
.modal-gallery-wrapper {
  margin-bottom: 28px;
}

.modal-main-display {
  width: 100%;
  min-height: 260px;
  max-height: 460px;
  background: #09090C;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.modal-main-img {
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}

.modal-panoramic-container {
  width: 100%;
  overflow-x: auto;
  padding: 10px 0;
  background: #08080A;
  border: 1px solid rgba(214, 255, 63, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.modal-panoramic-container::-webkit-scrollbar {
  height: 6px;
}

.modal-panoramic-container::-webkit-scrollbar-thumb {
  background: var(--accent-neon);
  border-radius: 4px;
}

.modal-panoramic-img {
  height: 220px;
  width: auto;
  max-width: none;
  display: block;
  border-radius: 4px;
}

.panoramic-hint {
  font-size: 0.75rem;
  color: var(--accent-neon);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 14px;
}

.gallery-thumbs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.gallery-thumbs-row::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.gallery-thumb-btn {
  flex: 0 0 76px;
  height: 60px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-glass);
  background: #09090C;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-smooth);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb-btn:hover {
  border-color: var(--border-glass-hover);
}

.gallery-thumb-btn.active {
  border-color: var(--accent-neon);
  box-shadow: 0 0 12px var(--accent-neon-glow);
}

/* ==========================================================================
   PRICING PACKAGES & COLLABORATION TABS
   ========================================================================== */

.pricing-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.pricing-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pricing-tab-btn:hover {
  color: var(--text-primary);
}

.pricing-tab-btn.active {
  background: var(--accent-neon);
  color: #000;
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px var(--accent-neon-glow);
}

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

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
  border-color: rgba(214, 255, 63, 0.5);
  background: linear-gradient(180deg, rgba(214, 255, 63, 0.05) 0%, var(--bg-surface) 100%);
}

.pricing-pill {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-neon);
  margin-bottom: 12px;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-neon);
  font-weight: bold;
}

.btn-pricing {
  width: 100%;
  padding: 12px 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  background: var(--accent-neon);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.btn-pricing:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--accent-neon-glow);
}

/* ==========================================================================
   ABOUT TRIAD & CAPABILITIES
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition-smooth);
}

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

.about-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(214, 255, 63, 0.08);
  border: 1px solid rgba(214, 255, 63, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-neon);
  margin-bottom: 22px;
  transition: var(--transition-smooth);
}

.about-card:hover .about-card-icon {
  background: rgba(214, 255, 63, 0.15);
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px var(--accent-neon-glow);
}

.about-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Career Timeline */
.timeline {
  border-left: 2px solid var(--border-glass);
  margin-left: 10px;
  padding-left: 28px;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon);
}

.timeline-date {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--accent-neon);
  margin-bottom: 6px;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ==========================================================================
   CONTACT & TALK SECTION
   ========================================================================== */

.contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
}

.contact-channels {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ==========================================================================
   MODAL POPUP SYSTEM (PROJECT DETAIL)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: var(--accent-neon);
  color: #000;
}

/* ==========================================================================
   FLOATING DEBUG BAR & CONTROL RIG
   ========================================================================== */

.floating-tier-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(20, 20, 24, 0.9);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tier-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0 8px;
}

.tier-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.tier-btn.active {
  color: #000;
  background: var(--accent-neon);
  box-shadow: 0 0 14px var(--accent-neon-glow);
}

.tweak-drawer {
  position: fixed;
  bottom: 134px;
  right: 24px;
  z-index: 100;
  background: rgba(20, 20, 24, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  width: 290px;
  padding: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.tweak-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.tweak-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
}

.tweak-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-neon);
}

.tweak-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.tweak-row {
  margin-bottom: 14px;
}

.tweak-row label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.tweak-row label span.val {
  color: var(--text-primary);
  font-family: monospace;
}

.tweak-row input[type="range"] {
  width: 100%;
  accent-color: var(--accent-neon);
}

.toggle-tweak-btn {
  position: fixed;
  bottom: 78px;
  right: 24px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  color: var(--accent-neon);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}

.toggle-tweak-btn:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px var(--accent-neon-glow);
}

/* ==========================================================================
   DAY MODE (LIGHT THEME) OVERRIDES
   ========================================================================== */

[data-theme="light"] .ambient-overlay {
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(240, 242, 245, 0.7) 100%);
}

[data-theme="light"] .btn-download {
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid #D1D5DB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .btn-download:hover {
  background: #F3F4F6;
  border-color: #65A30D;
  color: #111827;
}

[data-theme="light"] .btn-secondary {
  background: #FFFFFF;
  color: #111827;
  border: 1px solid #D1D5DB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .btn-secondary:hover {
  border-color: #65A30D;
  color: #65A30D;
  background: #F9FAFB;
}

[data-theme="light"] .btn-primary {
  color: #FFFFFF;
  background: #65A30D;
  box-shadow: 0 4px 14px rgba(101, 163, 13, 0.35);
}

[data-theme="light"] .hero-title .highlight {
  -webkit-text-stroke: 1.5px #65A30D;
}
[data-theme="light"] .hero-title .highlight:hover {
  color: #65A30D;
  text-shadow: 0 0 20px rgba(101, 163, 13, 0.3);
}

[data-theme="light"] .discipline-item {
  background: #FFFFFF;
  border-color: #E5E7EB;
  color: #4B5563;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .marquee-section {
  background: #FFFFFF;
  border-top-color: #E5E7EB;
  border-bottom-color: #E5E7EB;
}

[data-theme="light"] .marquee-track img {
  filter: grayscale(100%) opacity(0.75);
}
[data-theme="light"] .marquee-track img:hover {
  filter: grayscale(0%) opacity(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

[data-theme="light"] .fps-counter {
  background: #F3F4F6;
  border-color: #E5E7EB;
  color: #374151;
}

[data-theme="light"] .floating-tier-bar {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #E5E7EB;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .tier-label {
  color: #6B7280;
}
[data-theme="light"] .tier-btn {
  color: #4B5563;
}
[data-theme="light"] .tier-btn:hover {
  background: #F3F4F6;
  color: #111827;
}
[data-theme="light"] .tier-btn.active {
  color: #FFFFFF;
  background: #65A30D;
  box-shadow: 0 0 12px rgba(101, 163, 13, 0.4);
}

[data-theme="light"] .floating-theme-toggle,
[data-theme="light"] .toggle-tweak-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #E5E7EB;
  color: #111827;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .tweak-drawer {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #E5E7EB;
  color: #111827;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .contact-box {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .browser-topbar {
  background: #F3F4F6;
  border-bottom: 1px solid #E5E7EB;
}

[data-theme="light"] .browser-url-input {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  color: #111827;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.lab-footer {
  padding: 60px 0 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  margin-top: 80px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.lab-footer a {
  color: var(--accent-neon);
  text-decoration: none;
  font-weight: 600;
}

.lab-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MOBILE HAMBURGER & FULLSCREEN NAVIGATION DRAWER
   ========================================================================== */

.mobile-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.mobile-hamburger-btn:hover {
  background: var(--accent-neon-subtle);
  border-color: var(--accent-neon);
}

.mobile-hamburger-btn .ham-line {
  width: 20px;
  height: 2px;
  background: var(--accent-neon);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background: rgba(7, 7, 9, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.45s;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 24px 20px;
}

[data-theme="light"] .mobile-nav-drawer {
  background: rgba(248, 249, 250, 0.98);
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  gap: 28px;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
}

.mobile-drawer-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-drawer-close-btn:hover {
  background: var(--accent-neon-subtle);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin: auto 0;
  padding: 16px 0;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.mobile-nav-highlight {
  color: var(--accent-neon) !important;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.mobile-portal-btn {
  width: 100%;
  max-width: 280px;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  background: var(--accent-neon);
  color: #070709;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px var(--accent-neon-glow);
  transition: var(--transition-fast);
}

.mobile-portal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-neon-glow);
}

.mobile-drawer-dismiss-btn {
  background: transparent;
  border: none;
  color: var(--accent-neon);
  font-size: 1.4rem;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  padding: 8px 16px;
  letter-spacing: -2px;
  transition: var(--transition-fast);
}

.mobile-drawer-dismiss-btn:hover {
  transform: scale(1.2);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 768px) {
  .nav-header-container {
    top: 12px;
    padding: 0 12px;
  }

  .nav-header {
    padding: 10px 18px;
    justify-content: space-between;
  }

  .nav-header.scrolled {
    padding: 6px 14px;
    background: rgba(7, 7, 9, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  }

  [data-theme="light"] .nav-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-center,
  .nav-actions,
  .fps-counter {
    display: none !important;
  }

  .mobile-hamburger-btn {
    display: flex !important;
  }

  .hero-section {
    padding: 85px 0 20px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.3rem !important;
    line-height: 1.15 !important;
  }

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

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-download {
    width: 100%;
    justify-content: center;
  }

  .projects-grid, .pricing-grid, .about-grid {
    grid-template-columns: 1fr;
  }

  /* Floating controls on mobile - layered vertically with zero overlap */
  .floating-tier-bar {
    width: calc(100% - 32px) !important;
    max-width: 360px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 16px !important;
    z-index: 998 !important;
    justify-content: space-between;
    padding: 6px 10px;
  }

  .tier-label {
    display: none;
  }

  .tier-btn {
    padding: 6px 8px;
    font-size: 0.7rem;
  }

  .floating-theme-toggle {
    bottom: 78px !important;
    right: 16px !important;
    z-index: 999 !important;
  }

  .toggle-tweak-btn {
    bottom: 132px !important;
    right: 16px !important;
    z-index: 999 !important;
  }

  .tweak-drawer {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 184px;
    max-height: 50vh;
  }

  .contact-box {
    padding: 36px 16px;
  }

  .browser-viewport {
    height: 380px;
  }
}
