/* ==========================================================================
   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;
}

/* 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 {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  margin-top: 16px;
  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);
}

.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: 70px 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
   ========================================================================== */

.marquee-section {
  padding: 30px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(20, 20, 24, 0.4);
}

.marquee-wrapper {
  display: flex;
  width: 200%;
  animation: marqueeRoll 25s linear infinite;
}

.marquee-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 50%;
  gap: 40px;
}

.marquee-track img {
  height: 32px;
  max-width: 130px;
  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-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);
}

/* ==========================================================================
   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: 90px;
  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: 24px;
  right: 24px;
  z-index: 100;
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  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 20px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.toggle-tweak-btn:hover {
  transform: scale(1.1) rotate(45deg);
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px var(--accent-neon-glow);
}

/* ==========================================================================
   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;
}

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

@media (max-width: 768px) {
  .nav-header {
    padding: 10px 18px;
    margin-top: 12px;
  }

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

  .hero-section {
    padding: 40px 0 30px;
    min-height: 80vh;
  }

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

  .floating-tier-bar {
    width: 92%;
    justify-content: space-between;
    padding: 6px 10px;
  }

  .tier-label {
    display: none;
  }

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

  .tweak-drawer {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 80px;
  }

  .toggle-tweak-btn {
    right: 16px;
    bottom: 16px;
  }

  .contact-box {
    padding: 40px 20px;
  }

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