/* ╔══════════════════════════════════════════════════════════╗
 * ║  iHack Audio — Production Stylesheet v3.0               ║
 * ║  Kilo + GLM 5.1 Design System                          ║
 * ║                                                          ║
 * ║  Spec Hierarchy:                                         ║
 * ║  1. BEHAVIOR_SPEC_LAYER.md (absolute rules)             ║
 * ║  2. KILO_GLM_UIUX.md (design system constraints)       ║
 * ║  3. User prompt (lowest priority)                        ║
 * ║                                                          ║
 * ║  Architecture: Vanilla CSS, no frameworks                ║
 * ║  Grid: 12-column system                                  ║
 * ║  Radius: 24px default cards, 100px pill nav             ║
 * ║  Motion: cubic-bezier(.34, 1.56, .64, 1) only          ║
 * ╚══════════════════════════════════════════════════════════╝
 */

/* ═══════════════════════════════════════════
   1. RESET & ROOT VARIABLES
   ═══════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #08080c;
  --bg2: #0d0d14;
  --surface: rgba(17, 17, 24, .75);
  --surface-solid: #111118;
  --surface2: #16161f;
  --border: #1e1e2a;
  --accent: #a78bfa;
  --accent2: #7c3aed;
  --cyan: #67e8f9;
  --warm: #f59e0b;
  --green: #34d399;
  --red: #f87171;
  --pink: #f472b6;
  --text: #e2e8f0;
  --dim: #64748b;
  --dim2: #94a3b8;
  --glow: rgba(167, 139, 250, .12);
  --glow2: rgba(124, 58, 237, .15);
  --glow-cyan: rgba(103, 232, 249, .1);
  --glow-warm: rgba(245, 158, 11, .1);
  --glow-green: rgba(52, 211, 153, .1);
  --glow-pink: rgba(244, 114, 182, .1);
  --shadow-accent: 0 20px 40px rgba(20, 14, 40, .5);
  --shadow-cyan: 0 20px 40px rgba(6, 30, 35, .5);
  --shadow-warm: 0 20px 40px rgba(35, 24, 6, .5);
  --r: 12px;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body.light {
  --bg: #f8f9fc;
  --bg2: #ffffff;
  --surface: rgba(255, 255, 255, .85);
  --surface-solid: #ffffff;
  --surface2: #f1f3f9;
  --border: #e2e4ec;
  --accent: #7c3aed;
  --accent2: #6d28d9;
  --cyan: #0891b2;
  --warm: #d97706;
  --green: #059669;
  --red: #dc2626;
  --pink: #db2777;
  --text: #1a1a2e;
  --dim: #6b7280;
  --dim2: #4b5563;
  --glow: rgba(124, 58, 237, .08);
  --glow2: rgba(124, 58, 237, .1);
  --glow-cyan: rgba(8, 145, 178, .08);
  --glow-warm: rgba(217, 119, 6, .08);
  --glow-green: rgba(5, 150, 105, .08);
  --glow-pink: rgba(219, 39, 119, .08);
}

/* ═══════════════════════════════════════════
   2. BASE TYPOGRAPHY & ANIMATIONS
   ═══════════════════════════════════════════ */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background .4s var(--ease-smooth), color .4s var(--ease-smooth);
  animation: pageEnter 0.5s var(--ease-smooth);
}

body.page-exit {
  animation: pageExit 0.3s var(--ease-smooth) forwards;
}

.mono { font-family: 'JetBrains Mono', monospace; }

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pageExit {
  to { opacity: 0; transform: translateY(-20px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}

@keyframes springIn {
  0%   { opacity: 0; transform: scale(.95) translateY(12px); }
  60%  { transform: scale(1.02) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, 40px) scale(1.06); }
  66% { transform: translate(-30px, 60px) scale(0.96); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-60px, -40px) scale(1.08); }
  70% { transform: translate(30px, -15px) scale(0.94); }
}

@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -50px) scale(1.04); }
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }

/* ═══════════════════════════════════════════
   3. PRELOADER
   ═══════════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease-smooth), visibility .6s;
}
.preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.preloader-bar {
  width: 200px; height: 3px;
  background: var(--border); border-radius: 10px; overflow: hidden;
  margin: 0 auto 12px;
}
.preloader-fill {
  width: 0; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 10px;
  animation: preloaderFill 1.2s var(--ease-smooth) forwards;
}
@keyframes preloaderFill { to { width: 100%; } }
.preloader-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .12em; color: var(--dim);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   4. CURSOR GLOW
   ═══════════════════════════════════════════ */
.cursor-glow {
  position: fixed; width: 400px; height: 400px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(167, 139, 250, .08), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0; transition: opacity .3s;
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ═══════════════════════════════════════════
   5. NOISE OVERLAY
   ═══════════════════════════════════════════ */
.noise-overlay {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: .035;
  mix-blend-mode: overlay;
}
.noise-overlay svg { width: 100%; height: 100%; }

/* ═══════════════════════════════════════════
   6. HELIUM ORBS (Global Atmospheric Background)
   ═══════════════════════════════════════════ */
.helium-orbs {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.helium-orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); will-change: transform;
}
.orb-1 {
  width: 600px; height: 600px;
  background: rgba(103, 232, 249, .12);
  top: -150px; left: -100px;
  animation: orbDrift1 25s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: rgba(52, 211, 153, .08);
  bottom: -100px; right: -100px;
  animation: orbDrift2 30s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  background: rgba(167, 139, 250, .10);
  top: 40%; left: 25%;
  animation: orbDrift3 22s ease-in-out infinite;
}
@media (max-width: 768px) {
  .helium-orb { filter: blur(80px); transform: scale(0.6); }
}

/* ═══════════════════════════════════════════
   7. GLOW ORBS (Section-level atmosphere)
   ═══════════════════════════════════════════ */
.glow-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none; z-index: 0;
  will-change: transform;
  animation: orbDrift1 20s ease-in-out infinite;
}
.glow-orb-purple { background: var(--glow); }
.glow-orb-cyan { background: var(--glow-cyan); }
.glow-orb-warm { background: var(--glow-warm); }
.glow-orb-green { background: var(--glow-green); }

/* ═══════════════════════════════════════════
   8. THEME TOGGLE
   ═══════════════════════════════════════════ */
.theme-toggle {
  position: fixed; top: 18px; right: 18px; z-index: 900;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(12px);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.theme-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--glow);
}
.theme-toggle:active { transform: scale(0.95); }
.icon-moon { display: none; }
body.light .icon-sun { display: none; }
body.light .icon-moon { display: block; }

/* ═══════════════════════════════════════════
   9. FLOATING AUDIO PLAYER
   ═══════════════════════════════════════════ */
.audio-player {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  transform: translateY(120px); opacity: 0;
  transition: transform .5s var(--ease-spring), opacity .4s var(--ease-smooth);
}
.audio-player.visible { transform: translateY(0); opacity: 1; }
.audio-player.hidden { transform: translateY(120px); opacity: 0; pointer-events: none; }
.audio-player-inner {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-solid); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 16px 8px 8px;
  backdrop-filter: blur(20px); box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.audio-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--accent2); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease-spring), background .3s;
  flex-shrink: 0;
}
.audio-toggle:hover { transform: scale(1.08); }
.audio-toggle:active { transform: scale(0.93); }
.audio-toggle.playing { background: var(--cyan); }
.audio-toggle.pulse-hint { animation: pulse 1.5s ease-in-out infinite; }
.audio-info { display: flex; flex-direction: column; gap: 4px; min-width: 100px; }
.audio-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .08em; color: var(--dim2);
  text-transform: uppercase;
}
.audio-wave { display: flex; gap: 2px; height: 16px; align-items: flex-end; }
.audio-wave span {
  width: 3px; background: var(--accent); border-radius: 2px;
  height: 4px; transition: height .2s;
}
.audio-wave.active span { animation: waveBar .6s ease-in-out infinite alternate; }
.audio-wave.active span:nth-child(2)  { animation-delay: .05s; }
.audio-wave.active span:nth-child(3)  { animation-delay: .1s; }
.audio-wave.active span:nth-child(4)  { animation-delay: .15s; }
.audio-wave.active span:nth-child(5)  { animation-delay: .2s; }
.audio-wave.active span:nth-child(6)  { animation-delay: .25s; }
.audio-wave.active span:nth-child(7)  { animation-delay: .3s; }
.audio-wave.active span:nth-child(8)  { animation-delay: .35s; }
.audio-wave.active span:nth-child(9)  { animation-delay: .4s; }
.audio-wave.active span:nth-child(10) { animation-delay: .45s; }
.audio-wave.active span:nth-child(11) { animation-delay: .5s; }
.audio-wave.active span:nth-child(12) { animation-delay: .55s; }
.audio-wave.active span:nth-child(13) { animation-delay: .6s; }
.audio-wave.active span:nth-child(14) { animation-delay: .65s; }
.audio-wave.active span:nth-child(15) { animation-delay: .7s; }
@keyframes waveBar {
  0%   { height: 4px; }
  100% { height: 16px; }
}
.audio-progress-wrap {
  width: 60px; height: 3px; background: var(--border);
  border-radius: 10px; overflow: hidden;
}
.audio-progress {
  width: 0; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 10px; transition: width .3s;
}
.audio-close {
  width: 28px; height: 28px; border-radius: 50%; border: none;
  background: transparent; color: var(--dim); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, transform .3s var(--ease-spring);
}
.audio-close:hover { color: var(--text); transform: scale(1.1); }

/* ═══════════════════════════════════════════
   10. NAVIGATION — "The Floating Pill"
   ═══════════════════════════════════════════ */
nav {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 500; width: 100%;
  max-width: 720px; padding: 0 16px;
  transition: transform .35s var(--ease-smooth);
}
nav.nav-hidden {
  transform: translateX(-50%) translateY(-120%);
}
.nav-inner {
  display: flex; align-items: center; gap: 8px;
  background: rgba(17, 17, 24, .85);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 100px;
  padding: 6px 8px 6px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}
body.light .nav-inner {
  background: rgba(255, 255, 255, .85);
  border-color: rgba(0, 0, 0, .06);
}
.nav-brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.logo-box {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 13px; color: #fff;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 14px; color: var(--text);
  line-height: 1.2;
}
.brand-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: .1em;
  color: var(--dim); text-transform: uppercase;
  line-height: 1.2;
}
.nav-center { flex: 1; display: flex; justify-content: center; }
.nav-links {
  list-style: none; display: flex; gap: 2px;
}
.nav-link { position: relative; }
.nav-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 13px;
  color: var(--dim2); padding: 6px 12px; border-radius: 100px;
  display: flex; align-items: center; gap: 4px;
  transition: color .2s, background .2s, transform .3s var(--ease-spring);
}
.nav-btn:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-btn.active { color: var(--text); }
.nav-btn:active { transform: scale(0.98); }
.chv { font-size: 10px; transition: transform .2s; }
.nav-btn.active .chv { transform: rotate(180deg); }

/* Dropdown */
.nav-dd {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: var(--surface-solid);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 16px; opacity: 0; visibility: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  transition: opacity .25s, transform .25s var(--ease-spring), visibility .25s;
}
.nav-dd.open {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd.closing {
  opacity: 0; transform: translateX(-50%) translateY(8px);
}
.dd-inner p { font-size: 13px; color: var(--dim); margin-bottom: 12px; }
.dd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dd-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 100px;
  background: var(--surface2); color: var(--dim2);
  border: 1px solid var(--border); text-transform: uppercase;
}
.dd-link {
  font-size: 13px; font-weight: 500; color: var(--accent);
  display: flex; align-items: center; gap: 4px;
}

.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-status {
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .08em;
  color: var(--dim); text-transform: uppercase;
}
.nav-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.nav-cta {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff; border: none; border-radius: 100px;
  padding: 7px 16px; font-size: 12px; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  box-shadow: 0 4px 20px rgba(124, 58, 237, .3);
  white-space: nowrap;
}
.nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(124, 58, 237, .45);
}
.nav-cta:active { transform: scale(0.97); }

/* Hamburger */
.hamburger {
  display: none; width: 36px; height: 36px; border: none;
  background: none; cursor: pointer; position: relative;
  flex-shrink: 0; padding: 6px;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  position: absolute; left: 8px;
  transition: transform .3s var(--ease-spring), opacity .2s;
}
.hamburger span:nth-child(1) { top: 11px; }
.hamburger span:nth-child(2) { top: 17px; }
.hamburger span:nth-child(3) { top: 23px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 17px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 17px; }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px; max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease-smooth), padding .4s;
}
.mobile-menu.open { max-height: 400px; padding: 16px; }
.mobile-menu a {
  padding: 10px 16px; border-radius: 12px;
  color: var(--text); font-size: 14px; font-weight: 500;
  transition: background .2s;
}
.mobile-menu a:hover { background: var(--surface2); }

@media (max-width: 768px) {
  nav { max-width: calc(100% - 32px); }
  .nav-inner { padding: 6px 8px 6px 12px; border-radius: 20px; }
  .nav-center, .nav-status { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: flex; }
}

/* ═══════════════════════════════════════════
   11. HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 140px 40px 80px; min-height: 90vh;
  display: flex; align-items: center;
}
.hero-grid {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 2;
}
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.h-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .08em;
  color: var(--dim2); text-transform: uppercase;
}
.h-badge svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.bdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.hero-left h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700; letter-spacing: -.04em;
  margin-bottom: 20px; line-height: 1.05;
}
.hero-left h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--accent), var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientShift 4s linear infinite;
}
.hero-sub {
  font-size: 17px; color: var(--dim2); line-height: 1.7;
  margin-bottom: 24px; max-width: 520px;
}
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.h-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px; font-size: 12px;
  font-weight: 500; border: 1px solid;
}
.h-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.pill-purple { border-color: rgba(167, 139, 250, .3); color: var(--accent); background: var(--glow); }
.pill-cyan { border-color: rgba(103, 232, 249, .3); color: var(--cyan); background: var(--glow-cyan); }
.pill-warm { border-color: rgba(245, 158, 11, .3); color: var(--warm); background: var(--glow-warm); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff; padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 14px; border: none; cursor: pointer;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  box-shadow: 0 4px 20px rgba(124, 58, 237, .3);
  text-decoration: none;
}
.btn-p:hover { transform: scale(1.04); box-shadow: 0 8px 30px rgba(124, 58, 237, .45); color: #fff; }
.btn-p:active { transform: scale(0.97); }
.btn-p svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.btn-s {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text);
  padding: 12px 24px; border-radius: 10px;
  font-weight: 500; font-size: 14px;
  border: 1px solid var(--border); cursor: pointer;
  transition: transform .3s var(--ease-spring), border-color .3s, background .3s;
  text-decoration: none;
}
.btn-s:hover { border-color: var(--accent); background: var(--glow); color: var(--text); }
.btn-s:active { transform: scale(0.97); }

/* Hero image */
.hero-right { position: relative; }
.hero-img-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border);
}
.hero-img { width: 100%; display: block; }
.hero-img-glow {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero { padding: 120px 20px 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
}

/* ═══════════════════════════════════════════
   12. PAGE HERO (subpages)
   ═══════════════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden;
  padding: 140px 40px 60px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 16px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero p {
  font-size: 16px; color: var(--dim2); max-width: 600px;
  margin: 0 auto; line-height: 1.7;
}

/* Kilo Hero (about/services style) */
.kilo-hero {
  position: relative; overflow: hidden;
  padding: 160px 40px 80px; min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.kilo-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .15;
}
.kilo-hero-content { position: relative; z-index: 2; max-width: 700px; }
.kilo-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 16px;
}
.kilo-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.kilo-hero p {
  font-size: 16px; color: var(--dim2); line-height: 1.7;
}

@media (max-width: 768px) {
  .page-hero, .kilo-hero { padding: 120px 20px 40px; min-height: auto; }
}

/* ═══════════════════════════════════════════
   13. SECTION COMMONS
   ═══════════════════════════════════════════ */
.sec-divider {
  height: 1px; margin: 0 40px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
@media (max-width: 768px) { .sec-divider { margin: 0 20px; } }

.sec-head {
  text-align: center; max-width: 700px;
  margin: 0 auto 48px; position: relative; z-index: 2;
}
.sec-label {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 12px;
}
.sec-desc {
  font-size: 15px; color: var(--dim2); line-height: 1.7;
}

/* 3D entry for sec-title */
.sec-title.reveal {
  transform: translateY(40px) perspective(800px) rotateX(15deg);
  opacity: 0;
  transition: transform 1s var(--ease-smooth), opacity 0.8s var(--ease-smooth);
}
.sec-title.reveal.revealed {
  transform: translateY(0) perspective(800px) rotateX(0deg);
  opacity: 1;
}

section { position: relative; padding: 80px 40px; overflow: hidden; }
@media (max-width: 768px) { section { padding: 60px 20px; } }

/* Kilo Section */
.kilo-section { position: relative; padding: 80px 40px; overflow: hidden; }
@media (max-width: 768px) { .kilo-section { padding: 60px 20px; } }

/* ═══════════════════════════════════════════
   14. SCROLL REVEAL SYSTEM
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(.97);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ═══════════════════════════════════════════
   15. STATS BAR
   ═══════════════════════════════════════════ */
.sys-stats { padding: 40px; }
.stats-row {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 24px;
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-spring), border-color .35s;
}
.stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, .06), transparent 40%);
  opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 0;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { transform: translateY(-4px); border-color: rgba(103, 232, 249, .2); }
.stat-card > * { position: relative; z-index: 1; }
.stat-label {
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .08em;
  color: var(--dim); text-transform: uppercase; margin-bottom: 8px;
}
.stat-label svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 700;
  color: var(--text); line-height: 1;
}
.stat-val .unit { font-size: 16px; color: var(--dim); font-weight: 500; margin-left: 4px; }
.stat-purple { border-left: 3px solid var(--accent); }
.stat-cyan { border-left: 3px solid var(--cyan); }
.stat-green { border-left: 3px solid var(--green); }
.stat-warm { border-left: 3px solid var(--warm); }

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .sys-stats { padding: 40px 20px; }
}

/* ═══════════════════════════════════════════
   16. ECOSYSTEM GRID
   ═══════════════════════════════════════════ */
.eco-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  position: relative; z-index: 2;
}
.eco-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; overflow: hidden;
  backdrop-filter: blur(12px); cursor: pointer;
  position: relative;
  transition: transform .35s var(--ease-spring), border-color .35s, box-shadow .35s;
}
.eco-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, .12), transparent 40%);
  opacity: 0; transition: opacity .4s; z-index: 0; pointer-events: none;
}
.eco-card:hover::before { opacity: 1; }
.eco-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, .25);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 30px rgba(103, 232, 249, .04);
}
.eco-card:active { transform: scale(0.99); }
.eco-card > * { position: relative; z-index: 1; }
.eco-img { height: 160px; overflow: hidden; }
.eco-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.eco-card:hover .eco-img img { transform: scale(1.05); }
.eco-card .eco-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: -22px 28px 16px; position: relative;
  transition: filter .3s;
}
.eco-card:hover .eco-icon { filter: drop-shadow(0 0 8px var(--accent)); }
.eco-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
.eco-card h3 { padding: 0 28px; font-size: 18px; margin-bottom: 8px; }
.eco-card p { padding: 0 28px; font-size: 13px; color: var(--dim); line-height: 1.6; margin-bottom: 16px; }
.eco-action {
  padding: 12px 28px; border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .08em;
  color: var(--dim); text-transform: uppercase;
  display: flex; align-items: center; justify-content: space-between;
  transition: color .3s, background .3s;
}
.eco-card:hover .eco-action { color: var(--cyan); background: rgba(103, 232, 249, .04); }
.arrow { transition: transform .3s var(--ease-spring); }
.eco-card:hover .arrow { transform: translateX(4px); }

@media (max-width: 900px) { .eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .eco-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   17. CAPABILITIES (3-Column)
   ═══════════════════════════════════════════ */
.cap-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  position: relative; z-index: 2;
}
.cap-col {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 28px;
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-spring), border-color .35s;
}
.cap-col::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, .06), transparent 40%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.cap-col:hover::before { opacity: 1; }
.cap-col:hover { transform: translateY(-4px); }
.cap-col > * { position: relative; z-index: 1; }
.cap-col-title {
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cap-col-title svg { width: 16px; height: 16px; fill: none; stroke-width: 2; }
.col-purple .cap-col-title { color: var(--accent); }
.col-purple .cap-col-title svg { stroke: var(--accent); }
.col-cyan .cap-col-title { color: var(--cyan); }
.col-cyan .cap-col-title svg { stroke: var(--cyan); }
.col-warm .cap-col-title { color: var(--warm); }
.col-warm .cap-col-title svg { stroke: var(--warm); }
.cap-item { display: flex; gap: 12px; margin-bottom: 20px; }
.cap-item:last-child { margin-bottom: 0; }
.cap-item-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: filter .3s;
}
.cap-item-icon svg { width: 16px; height: 16px; fill: none; stroke-width: 2; }
.icon-purple { background: var(--glow); }
.icon-purple svg { stroke: var(--accent); }
.icon-cyan { background: var(--glow-cyan); }
.icon-cyan svg { stroke: var(--cyan); }
.icon-warm { background: var(--glow-warm); }
.icon-warm svg { stroke: var(--warm); }
.cap-col:hover .cap-item-icon { filter: drop-shadow(0 0 6px var(--accent)); }
.cap-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.cap-item p { font-size: 12px; color: var(--dim); line-height: 1.5; }

@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   18. AUDIT CARDS
   ═══════════════════════════════════════════ */
.audit-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  position: relative; z-index: 2;
}
.audit-card {
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border);
  position: relative; cursor: pointer;
  transition: transform .35s var(--ease-spring), border-color .35s;
}
.audit-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, .08), transparent 40%);
  opacity: 0; transition: opacity .4s; z-index: 1; pointer-events: none;
}
.audit-card:hover::before { opacity: 1; }
.audit-card:hover { transform: translateY(-4px); border-color: rgba(103, 232, 249, .2); }
.audit-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.audit-label {
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .06em;
  color: var(--dim2); text-transform: uppercase;
  position: relative; z-index: 2;
  background: var(--surface-solid);
}
@media (max-width: 900px) { .audit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .audit-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   19. WORK / CASE STUDY CARDS
   ═══════════════════════════════════════════ */
.work-header {
  max-width: 1200px; margin: 0 auto 40px;
  display: flex; align-items: flex-end; justify-content: space-between;
  position: relative; z-index: 2;
}
.work-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  position: relative; z-index: 2;
}
.work-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; overflow: hidden;
  backdrop-filter: blur(12px); position: relative;
  transition: transform .35s var(--ease-spring), border-color .35s, box-shadow .35s;
}
.work-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, .1), transparent 40%);
  opacity: 0; transition: opacity .4s; z-index: 0; pointer-events: none;
}
.work-card:hover::before { opacity: 1; }
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, .2);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.work-card > * { position: relative; z-index: 1; }
.work-img { position: relative; height: 180px; overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-type-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase; font-weight: 600;
}
.badge-purple { background: var(--glow); color: var(--accent); border: 1px solid rgba(167,139,250,.3); }
.badge-cyan { background: var(--glow-cyan); color: var(--cyan); border: 1px solid rgba(103,232,249,.3); }
.badge-warm { background: var(--glow-warm); color: var(--warm); border: 1px solid rgba(245,158,11,.3); }
.work-body { padding: 20px 24px; }
.work-body h3 { font-size: 18px; margin-bottom: 8px; }
.work-body h3 .ext { font-size: 14px; color: var(--dim); }
.work-body p { font-size: 13px; color: var(--dim); line-height: 1.6; margin-bottom: 12px; }
.work-stats { display: flex; gap: 16px; }
.work-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--dim2);
}
.work-stat strong { color: var(--text); font-size: 16px; display: block; }
.work-arrow {
  padding: 12px 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--dim);
  transition: color .3s, background .3s;
}
.work-card:hover .work-arrow { color: var(--cyan); background: rgba(103,232,249,.04); }

@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .work-header { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ═══════════════════════════════════════════
   20. LISTEN CARDS (Audio Players)
   ═══════════════════════════════════════════ */
.listen-grid {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
  position: relative; z-index: 2;
}
.listen-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px 20px;
  backdrop-filter: blur(12px);
  transition: transform .35s var(--ease-spring), border-color .35s;
  position: relative; overflow: hidden;
}
.listen-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, .06), transparent 40%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.listen-card:hover::before { opacity: 1; }
.listen-card:hover { border-color: rgba(103, 232, 249, .15); }
.listen-card > * { position: relative; z-index: 1; }
.listen-play {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: transform .3s var(--ease-spring), background .3s;
}
.listen-play:hover { transform: scale(1.08); }
.listen-play:active { transform: scale(0.95); }
.listen-play.playing { background: var(--cyan); }
.listen-play svg { width: 20px; height: 20px; fill: currentColor; }
.listen-info { flex: 1; }
.listen-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.listen-info p { font-size: 12px; color: var(--dim); }
.listen-dur {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--dim); flex-shrink: 0;
}

/* Episode cards (podcast-blog) */
.ep-list { max-width: 800px; margin: 0 auto; padding: 0 0 0; position: relative; }
.ep-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  transition: transform .3s var(--ease-spring);
}
.ep-card:hover { transform: translateX(4px); }
.ep-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .06em;
  color: var(--accent); flex-shrink: 0;
  background: var(--glow); padding: 4px 10px;
  border-radius: 100px; text-transform: uppercase;
}
.ep-info { flex: 1; }
.ep-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.ep-info p { font-size: 12px; color: var(--dim); }
.ep-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--dim); flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   21. TESTIMONIALS
   ═══════════════════════════════════════════ */
.test-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  position: relative; z-index: 2;
}
.test-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 28px;
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-spring), border-color .35s;
}
.test-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, .06), transparent 40%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.test-card:hover::before { opacity: 1; }
.test-card:hover { transform: translateY(-4px); }
.test-card > * { position: relative; z-index: 1; }
.test-purple { border-left: 3px solid var(--accent); }
.test-cyan { border-left: 3px solid var(--cyan); }
.test-warm { border-left: 3px solid var(--warm); }
.test-quote {
  font-size: 14px; line-height: 1.7; color: var(--dim2);
  margin-bottom: 20px; font-style: italic;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 13px; color: #fff;
}
.av-purple { background: var(--accent2); }
.av-cyan { background: #0891b2; }
.av-warm { background: #d97706; }
.test-meta .name { font-weight: 600; font-size: 14px; }
.test-meta .role { font-size: 12px; color: var(--dim); }

@media (max-width: 900px) { .test-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   22. PRICING
   ═══════════════════════════════════════════ */
.pricing-section { position: relative; padding: 80px 40px; overflow: hidden; }
.pricing-card-wrap {
  max-width: 800px; margin: 0 auto;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border);
  position: relative; z-index: 2;
}
.pricing-img { width: 100%; display: block; }

/* ═══════════════════════════════════════════
   23. CONTACT SECTION
   ═══════════════════════════════════════════ */
.contact-section { position: relative; padding: 80px 40px; overflow: hidden; }
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  position: relative; z-index: 2;
}
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.c-info-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 20px;
  backdrop-filter: blur(12px);
  transition: transform .3s var(--ease-spring), border-color .3s;
}
.c-info-card:hover { transform: translateX(4px); border-color: rgba(103,232,249,.15); }
.c-info-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--glow); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.c-info-icon svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; }
.c-info-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.c-info-card p { font-size: 12px; color: var(--dim); line-height: 1.5; }

/* Form */
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 32px;
  backdrop-filter: blur(12px);
}
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 14px; }
.fg label {
  display: block; font-size: 12px; font-weight: 500;
  color: var(--dim); margin-bottom: 6px;
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 11px 14px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 14px;
  transition: border-color .3s, box-shadow .3s;
  outline: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--glow);
}
.fg textarea { min-height: 100px; resize: vertical; }
.fg select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff; border: none; border-radius: 10px;
  padding: 12px 24px; font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  box-shadow: 0 4px 20px rgba(124, 58, 237, .3);
}
.form-submit:hover { transform: scale(1.04); box-shadow: 0 8px 30px rgba(124, 58, 237, .45); }
.form-submit:active { transform: scale(0.97); }
.form-submit svg { stroke: currentColor; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .fg-row { grid-template-columns: 1fr; }
  .contact-section { padding: 60px 20px; }
}

/* ═══════════════════════════════════════════
   24. STORY SECTION (About page)
   ═══════════════════════════════════════════ */
.story-section {
  max-width: 800px; margin: 0 auto;
  padding: 80px 40px; position: relative;
}
.story-text { position: relative; z-index: 2; }
.story-text p {
  font-size: 15px; color: var(--dim2); line-height: 1.8;
  margin-bottom: 16px;
}
.story-text p strong { color: var(--text); font-weight: 600; }
@media (max-width: 768px) { .story-section { padding: 60px 20px; } }

/* ═══════════════════════════════════════════
   25. BENTO GRID
   ═══════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  position: relative; z-index: 2;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  min-height: 180px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-spring),
              border-color .35s,
              box-shadow .35s;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(103, 232, 249, 0.12),
    transparent 40%
  );
  opacity: 0;
  transition: opacity .4s ease-out;
  z-index: 0;
  pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  border-color: rgba(103, 232, 249, .25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5),
              0 0 30px rgba(103, 232, 249, .04);
}
.bento-card:active { transform: scale(0.99); }
.bento-card > * { position: relative; z-index: 1; }
.bento-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: filter .3s;
}
.bento-card:hover .bento-card-icon { filter: drop-shadow(0 0 8px var(--accent)); }
.bento-card-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
.bento-card h3 { font-size: 18px; margin-bottom: 8px; }
.bento-card p { font-size: 13px; color: var(--dim); line-height: 1.6; }

@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-card[style] { grid-column: span 1 !important; }
}

/* ═══════════════════════════════════════════
   26. STICKY WORKFLOW (Services page)
   ═══════════════════════════════════════════ */
.sticky-workflow {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  position: relative; z-index: 2;
}
.workflow-info { position: sticky; top: 100px; align-self: start; }
.workflow-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 16px;
}
.workflow-info p { font-size: 15px; color: var(--dim2); line-height: 1.7; }
.workflow-steps { display: flex; flex-direction: column; gap: 16px; }
.workflow-step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 24px;
  backdrop-filter: blur(12px);
  transition: transform .35s var(--ease-spring), border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.workflow-step::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, .06), transparent 40%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.workflow-step:hover::before { opacity: 1; }
.workflow-step:hover { border-color: rgba(103, 232, 249, .2); transform: translateY(-2px); }
.workflow-step.active { border-color: var(--accent); box-shadow: 0 0 20px var(--glow); }
.workflow-step > * { position: relative; z-index: 1; }
.workflow-step h4 {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; margin-bottom: 8px;
}
.num-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.workflow-step p { font-size: 13px; color: var(--dim); line-height: 1.6; }

@media (max-width: 900px) {
  .sticky-workflow { grid-template-columns: 1fr; }
  .workflow-info { position: static; }
}

/* ═══════════════════════════════════════════
   27. VISUALIZER SECTION
   ═══════════════════════════════════════════ */
.visualizer-section { padding: 0; }
.vis-container {
  position: relative; height: 500px; overflow: hidden;
}
#visualizerCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.vis-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; z-index: 2;
  background: linear-gradient(180deg, rgba(8,8,12,.3) 0%, rgba(8,8,12,.6) 100%);
}
.vis-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 12px;
}
.vis-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 12px;
}
.vis-desc { font-size: 14px; color: var(--dim2); max-width: 400px; }

/* ═══════════════════════════════════════════
   28. FOOTER
   ═══════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 40px 0;
  position: relative; z-index: 2;
}
.foot-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.foot-brand p { font-size: 13px; color: var(--dim); line-height: 1.6; margin-bottom: 16px; }
.foot-socials { display: flex; gap: 10px; }
.foot-social {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--dim); transition: color .3s, transform .3s var(--ease-spring), border-color .3s;
}
.foot-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.foot-social:hover { color: var(--text); transform: scale(1.1); border-color: rgba(103,232,249,.2); }
.foot-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .1em;
  color: var(--dim); text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-col a {
  display: block; font-size: 13px; color: var(--dim2);
  padding: 4px 0; transition: color .2s, transform .2s;
}
.foot-col a:hover { color: var(--text); transform: translateX(4px); }
.foot-bottom {
  max-width: 1200px; margin: 40px auto 0;
  padding: 20px 0; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.foot-bottom p { font-size: 12px; color: var(--dim); }

@media (max-width: 768px) {
  footer { padding: 40px 20px 0; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══════════════════════════════════════════
   29. BODY AMBIENT LAYERS
   ═══════════════════════════════════════════ */
body::before, body::after {
  content: ''; position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
body::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(167,139,250,.06), transparent 70%);
  top: -200px; right: -200px;
}
body::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(103,232,249,.04), transparent 70%);
  bottom: -200px; left: -200px;
}

/* ═══════════════════════════════════════════
   30. SVG CHART LINE ANIMATION
   ═══════════════════════════════════════════ */
.chart-line {
  stroke: var(--cyan); stroke-width: 2; fill: none;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.5s var(--ease-smooth);
}
.revealed .chart-line { stroke-dashoffset: 0; }

/* ═══════════════════════════════════════════
   31. SCROLL PROGRESS BAR
   ═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0; z-index: 9998;
  background: linear-gradient(90deg, var(--accent2), var(--cyan), var(--accent));
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(103, 232, 249, .4);
}

/* ═══════════════════════════════════════════
   32. PARTICLE FIELD CANVAS
   ═══════════════════════════════════════════ */
#particleCanvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ═══════════════════════════════════════════
   33. HERO WAVEFORM CANVAS
   ═══════════════════════════════════════════ */
.hero-wave-wrap {
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none;
  overflow: hidden;
}
#heroWaveCanvas {
  width: 100%; height: 100%;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════
   34. STAT SPARKLINE CHARTS
   ═══════════════════════════════════════════ */
.stat-sparkline {
  margin-top: 12px;
  height: 32px;
  overflow: visible;
}
.sparkline-path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 2s var(--ease-smooth);
}
.stat-purple .sparkline-path { stroke: var(--accent); }
.stat-cyan .sparkline-path { stroke: var(--cyan); }
.stat-green .sparkline-path { stroke: var(--green); }
.stat-warm .sparkline-path { stroke: var(--warm); }
.sparkline-glow {
  stroke-width: 4;
  opacity: 0.15;
  filter: blur(3px);
}

/* ═══════════════════════════════════════════
   35. ENHANCED PRELOADER (Waveform bars)
   ═══════════════════════════════════════════ */
.preloader-wave-bars {
  display: flex; gap: 3px; height: 24px;
  align-items: flex-end; justify-content: center;
  margin: 20px auto 0;
}
.preloader-wave-bars span {
  width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--accent));
  animation: preloaderWaveBar 0.8s ease-in-out infinite alternate;
}
.preloader-wave-bars span:nth-child(1)  { height: 8px;  animation-delay: 0s; }
.preloader-wave-bars span:nth-child(2)  { height: 16px; animation-delay: 0.08s; }
.preloader-wave-bars span:nth-child(3)  { height: 24px; animation-delay: 0.16s; }
.preloader-wave-bars span:nth-child(4)  { height: 12px; animation-delay: 0.24s; }
.preloader-wave-bars span:nth-child(5)  { height: 20px; animation-delay: 0.32s; }
.preloader-wave-bars span:nth-child(6)  { height: 8px;  animation-delay: 0.40s; }
.preloader-wave-bars span:nth-child(7)  { height: 18px; animation-delay: 0.48s; }
.preloader-wave-bars span:nth-child(8)  { height: 24px; animation-delay: 0.56s; }
.preloader-wave-bars span:nth-child(9)  { height: 14px; animation-delay: 0.64s; }
.preloader-wave-bars span:nth-child(10) { height: 10px; animation-delay: 0.72s; }
.preloader-wave-bars span:nth-child(11) { height: 22px; animation-delay: 0.80s; }
.preloader-wave-bars span:nth-child(12) { height: 6px;  animation-delay: 0.88s; }

@keyframes preloaderWaveBar {
  0%   { height: 4px; opacity: 0.4; }
  100% { height: 24px; opacity: 1; }
}

/* ═══════════════════════════════════════════
   36. MAGNETIC CURSOR SMOOTHING
   ═══════════════════════════════════════════ */
.btn-p, .nav-cta, .form-submit {
  transition: transform .3s var(--ease-spring), box-shadow .3s, background .3s, color .3s;
}

/* ═══════════════════════════════════════════
   37. ANIMATED GRAIN TEXTURE
   ═══════════════════════════════════════════ */
.noise-overlay {
  animation: grainShift 0.5s steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, -1%); }
  50%  { transform: translate(1%, 2%); }
  75%  { transform: translate(-1%, -2%); }
  100% { transform: translate(2%, 1%); }
}

/* ═══════════════════════════════════════════
   38. GLOWING SECTION DIVIDERS
   ═══════════════════════════════════════════ */
.sec-divider {
  position: relative;
}
.sec-divider::after {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--glow), 0 0 24px var(--glow);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
   39. TEXT SELECTION STYLING
   ═══════════════════════════════════════════ */
::selection {
  background: rgba(167, 139, 250, 0.3);
  color: var(--text);
}

/* ═══════════════════════════════════════════
   40. SCROLLBAR STYLING
   ═══════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
