/* =========================================================
   VIXXO STUDIO — SaaS Kinetic 3D Showcase Theme
   Powered by Silk-Design (MOTION 3) & Three.js WebGL
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Brand Tokens: Studio Velvet Obsidian & Electric Mint */
  --background: #05070A;
  --bg-dark: #05070A;
  --card: rgba(12, 16, 24, 0.78);
  --bg-card: rgba(12, 16, 24, 0.78);
  --card-hover: rgba(20, 28, 42, 0.92);
  --bg-card-hover: rgba(20, 28, 42, 0.92);
  --foreground: #F8FAFC;
  --text-main: #F8FAFC;
  --text-muted: #CBD5E1;
  --text-dim: #94A3B8;

  /* Tactical Audio Hardware Accents */
  --primary-cta: #E5C158;        /* Electric Studio Mint / Cyber Lime */
  --primary-cta-text: #05070A;   /* Pure contrast ink */
  --accent-primary: #E5C158;
  --accent-cyan: #00E5FF;        /* Laser Cyber Ice (USB low latency) */
  --accent-solar: #FF6B00;       /* Solar Tangerine (Stream Deck pads) */
  --accent-amber: #FF6B00;
  --accent-rose: #FF2A55;        /* Signal Crimson (Emergency stop) */
  --accent-emerald: #E5C158;
  --accent-blue: #0284C7;
  --accent-purple: #A855F7;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(229, 193, 88, 0.55);

  /* Single-Knob Radius Architecture (Silk-Design) */
  --radius: 0.875rem;
  --radius-lg: var(--radius);
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-full: 9999px;

  /* Typography Scales via clamp() */
  --text-xs: clamp(0.75rem, 0.72vw + 0.5rem, 0.875rem);
  --text-sm: clamp(0.875rem, 0.82vw + 0.55rem, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.92vw + 0.6rem, 1.0625rem);
  --text-lg: clamp(1rem, 1vw + 0.65rem, 1.125rem);
  --text-xl: clamp(1.125rem, 1.3vw + 0.75rem, 1.375rem);
  --text-2xl: clamp(1.25rem, 1.6vw + 0.8rem, 1.75rem);
  --text-3xl: clamp(1.5rem, 2vw + 0.9rem, 2.25rem);
  --text-4xl: clamp(1.875rem, 2.75vw + 1rem, 2.75rem);
  --text-5xl: clamp(2.25rem, 3.5vw + 1.1rem, 3.5rem);
  --text-hero: clamp(2.5rem, 6vw + 1rem, 5.25rem);

  /* Physics Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  overscroll-behavior: none;
}

body {
  position: relative;
  background-color: var(--background);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

/* 3D WebGL Background Canvas */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Radial Lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  top: -10%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.16), transparent 70%);
}

.glow-2 {
  top: 40%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.14), transparent 70%);
}

.glow-3 {
  bottom: 10%;
  left: 10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12), transparent 70%);
}

/* Content Container */
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   SILK-DESIGN MOTION 3 KINETIC ENGINE STYLES
   ========================================================= */

/* 1. Word-Stagger Splitting Animation ([data-silk-words]) */
[data-silk-words] .silk-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--word-index, 0) * 35ms);
}

[data-silk-words][data-silk-visible="true"] .silk-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 2. Block Entrance Reveal ([data-silk-reveal]) */
[data-silk-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-silk-reveal][data-silk-visible="true"] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 3. Magnetic Hover Buttons ([data-silk-magnetic]) */
[data-silk-magnetic] {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* 4. Conic Border Glow ([data-silk-border-glow]) */
[data-silk-border-glow] {
  position: relative;
  --start: 0;
  --active: 0;
  --spread: 45;
}

[data-silk-border-glow]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  opacity: var(--active, 0);
  transition: opacity 0.3s ease;
  background: conic-gradient(
    from calc((var(--start, 0) - var(--spread, 45)) * 1deg),
    transparent 0deg,
    var(--primary-cta) calc(var(--spread, 45) * 1deg),
    transparent calc(var(--spread, 45) * 2deg)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Typography & Visual Accents */
.gradient-text {
  color: #FFFFFF;
}

.gradient-text-accent {
  color: var(--primary-cta);
}

.gradient-text-solar {
  color: #FF8533;
}

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

/* Milled Glass & Carbon Panels */
.glass-panel {
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: rgba(229, 193, 88, 0.35);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tilt-card {
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.2s ease;
  transform-style: preserve-3d;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
}

.navbar-inner {
  max-width: 1340px;
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 8px 16px 8px 18px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 11, 18, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #E5C158, #D4AF37);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #05070A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.brand-name {
  line-height: 1;
}

.brand-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(229, 193, 88, 0.12);
  color: #E5C158;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(229, 193, 88, 0.3);
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.1vw, 18px);
  list-style: none;
  margin: 0 8px;
  padding: 0;
  flex: 1 1 auto;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 4px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.nav-link:hover {
  color: #E5C158;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-cta);
  color: var(--primary-cta-text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: 15px 30px;
  font-size: 16px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 160px 20px 110px;
  position: relative;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid rgba(229, 193, 88, 0.35);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: #E5C158;
  margin-bottom: 24px;
}

.status-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-cta);
  display: inline-block;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 1040px;
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: clamp(16px, 1.8vw, 21px);
  color: var(--text-muted);
  max-width: 740px;
  margin-bottom: 42px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.meta-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item i {
  color: #E5C158;
}

/* Sections Common Structure */
.section-tag {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #E5C158;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: var(--text-4xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-desc {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Section 1: Audio Pipeline Flow */
.flow-diagram-section {
  padding: 120px 0;
  position: relative;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  position: relative;
}

.pipeline-node {
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.pipeline-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #E5C158, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pipeline-node:hover::before {
  opacity: 1;
}

.node-number {
  font-size: 12px;
  font-weight: 800;
  color: #E5C158;
  background: rgba(229, 193, 88, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
}

.node-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E5C158;
  margin-bottom: 20px;
}

.node-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.node-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================
   STREAM DECK MOBILE (REMOTE PHONE SOUNDBOARD) SHOWCASE
   ========================================================= */
.soundboard-section {
  padding: 110px 0;
  position: relative;
}

.streamdeck-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-device-frame {
  width: 320px;
  background: #080C14;
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.95), 0 8px 24px -4px rgba(0, 0, 0, 0.6);
  border: 3px solid #1E293B;
  position: relative;
}

.phone-screen {
  background: #05070A;
  border-radius: 32px;
  padding: 16px 14px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding: 0 4px;
}

.phone-nav-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.phone-tab-btn {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  background: #0D121D;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.phone-tab-btn.active {
  background: rgba(229, 193, 88, 0.15);
  border-color: #E5C158;
  color: #E5C158;
}

.phone-quick-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0C101A;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-btn-panic {
  background: rgba(255, 42, 85, 0.25);
  border: 1px solid #FF4D6D;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.phone-btn-panic:hover,
.phone-btn-panic:active {
  background: #FF2A55;
  color: white;
  transform: scale(0.96);
}

/* Tactical Sound Pads Grid */
.tactical-pads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.interactive-pad {
  background: #0D1322;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.18s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  overflow: hidden;
}

.interactive-pad:hover {
  border-color: rgba(229, 193, 88, 0.5);
  background: #121A2E;
  transform: translateY(-2px);
}

.interactive-pad:active {
  transform: scale(0.95);
  background: rgba(229, 193, 88, 0.2);
}

.interactive-pad.is-playing {
  border-color: #E5C158;
  background: rgba(229, 193, 88, 0.18);
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.6), inset 0 0 0 1px #E5C158;
}

.pad-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
}

.pad-cat-badge {
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

.pad-cat-badge.val { background: rgba(255, 70, 85, 0.2); color: #FF4655; }
.pad-cat-badge.music { background: rgba(0, 229, 255, 0.2); color: #00E5FF; }
.pad-cat-badge.meme { background: rgba(255, 107, 0, 0.2); color: #FF6B00; }

.pad-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--foreground);
  margin: 6px 0;
  line-height: 1.3;
}

.interactive-pad.is-playing .pad-name {
  color: #E5C158;
}

.pad-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
}

.hotkey-chip {
  background: #141A28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #FF8533;
}

/* =========================================================
   REAL-TIME RVC AI NEURAL VOICE CHANGER SHOWCASE
   ========================================================= */
.voice-changer-section {
  padding: 110px 0;
  position: relative;
}

.voice-lab-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
}

.voice-preset-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.preset-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.preset-card:hover {
  border-color: rgba(229, 193, 88, 0.45);
  background: var(--card-hover);
}

.preset-card.active {
  background: rgba(229, 193, 88, 0.12);
  border: 1.5px solid #E5C158;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
}

.preset-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #141A28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.preset-info h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 2px;
}

.preset-info p {
  font-size: 12px;
  color: var(--text-dim);
}

.voice-waveform-preview {
  background: #080C14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
}

.spectrogram-display {
  width: 100%;
  height: 125px;
  background: #060910;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
}

.spectrogram-stats-row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
}

.stat-item-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
}

.stat-item-badge strong {
  color: #E5C158;
}

/* =========================================================
   WIN32 GLOBAL BACKGROUND HOTKEYS SHOWCASE
   ========================================================= */
.hotkeys-section {
  padding: 100px 0;
  position: relative;
}

.hotkeys-visual-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.keyboard-cluster-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #080C14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.key-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.key-cap {
  background: #141C2A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
  transition: var(--transition);
}

.key-cap.highlight {
  background: rgba(255, 107, 0, 0.18);
  border-color: #FF6B00;
  color: #FF8533;
  box-shadow: 0 3px 0 rgba(255, 107, 0, 0.4);
}

.key-cap.panic {
  background: rgba(255, 42, 85, 0.22);
  border-color: #FF4D6D;
  color: #FFA3B4;
  box-shadow: 0 3px 0 rgba(255, 42, 85, 0.4);
}

/* =========================================================
   FEATURES GRID (3D BENTO BOXES)
   ========================================================= */
.features-section {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.feat-span-8 { grid-column: span 8; }
.feat-span-4 { grid-column: span 4; }
.feat-span-6 { grid-column: span 6; }

.feature-box {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(229, 193, 88, 0.12);
  color: #E5C158;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.feature-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tech-chip {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

/* =========================================================
   INTERACTIVE DSP AUDIO LAB PLAYGROUND
   ========================================================= */
.audio-lab-section {
  padding: 100px 0;
}

.audio-lab-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.85) 0%, rgba(6, 8, 12, 0.98) 100%);
  border: 1px solid rgba(229, 193, 88, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 100px;
}

.lab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.lab-title-group h3 {
  font-size: 24px;
  font-weight: 900;
}

.lab-title-group p {
  color: var(--text-muted);
  font-size: 14px;
}

.oscilloscope-canvas {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  background: rgba(6, 9, 14, 0.95);
  border: 1px solid var(--border-subtle);
  margin-bottom: 30px;
  display: block;
}

.dsp-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.dsp-toggle-box {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.dsp-toggle-box.active {
  background: rgba(229, 193, 88, 0.12);
  border-color: rgba(229, 193, 88, 0.5);
}

.dsp-toggle-info h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.dsp-toggle-info p {
  font-size: 12px;
  color: var(--text-dim);
}

.switch-pill {
  width: 44px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  transition: var(--transition);
}

.dsp-toggle-box.active .switch-pill {
  background: #E5C158;
}

.switch-pill::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  transition: var(--transition);
}

.dsp-toggle-box.active .switch-pill::after {
  transform: translateX(20px);
  background: #05070A;
}

.meters-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meter-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dim);
  width: 80px;
  letter-spacing: 0.5px;
}

.meter-track {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #E5C158 70%, #FF6B00 88%, #FF2A55 100%);
  border-radius: var(--radius-full);
  transition: width 0.05s ease;
}

.meter-db-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #E5C158;
  width: 70px;
  text-align: right;
}

/* =========================================================
   PERFORMANCE BENCHMARKS MATRIX
   ========================================================= */
.benchmarks-section {
  padding: 100px 0;
}

.benchmark-card {
  padding: 40px;
  margin-bottom: 100px;
  overflow-x: auto;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.benchmark-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}

.benchmark-table td {
  padding: 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.highlight-col {
  background: rgba(229, 193, 88, 0.06);
  color: var(--foreground);
  font-weight: 700;
}

.badge-win {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  background: rgba(229, 193, 88, 0.15);
  color: #E5C158;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-loss {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 42, 85, 0.15);
  color: #FF2A55;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* FAQ Accordion */
.faq-section {
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 100px;
}

.faq-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(229, 193, 88, 0.35);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 800;
  color: var(--foreground);
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--text-dim);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #E5C158;
}

.faq-answer {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Download CTA Banner */
.downloads-section {
  padding: 100px 0 120px;
}

.download-banner {
  padding: 70px 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.9) 0%, rgba(5, 7, 10, 0.98) 100%);
  border: 1px solid rgba(229, 193, 88, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}

.banner-title {
  font-size: var(--text-5xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.banner-desc {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: var(--text-muted);
}

.downloads-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: #040508;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-link:hover {
  color: #E5C158;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* =========================================================
   RESPONSIVE DESIGN RULES
   ========================================================= */
@media (max-width: 1240px) {
  .nav-item-secondary {
    display: none;
  }
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 960px) {
  .streamdeck-layout,
  .voice-lab-container,
  .hotkeys-visual-card {
    grid-template-columns: 1fr;
  }
  .feat-span-8, .feat-span-4, .feat-span-6 {
    grid-column: span 12;
  }
  .pipeline-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .navbar {
    top: 10px;
  }
  .navbar-inner {
    padding: 6px 12px;
    height: 52px;
  }
  .nav-actions .btn-secondary {
    display: none;
  }
  .hero-section {
    padding: 130px 16px 80px;
  }
}

/* Accessibility: prefers-reduced-motion (Antislop R-19) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    animation-iteration-count: 1 !important;
    animation-duration: 0.001s !important;
  }
  [data-silk-reveal],
  [data-silk-words] .silk-word {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.15s ease !important;
  }
  [data-silk-magnetic] {
    transform: none !important;
    transition: none !important;
  }
  [data-silk-border-glow]::after {
    opacity: 0 !important;
    transition: none !important;
  }
  .pulse-dot {
    animation: none !important;
  }
}

/* =========================================================
   HOLOGRAPHIC 3D HUD CALLOUT PINS LAYER
   ========================================================= */
.hud-callouts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 15;
}

.hud-pin {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translate3d(-9999px, -9999px, 0);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease-out;
  will-change: transform, opacity;
}

.hud-pin-marker {
  position: relative;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.hud-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-cta);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: transform 0.25s ease;
}

.hud-pin-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--primary-cta);
  animation: hudRadar 2.2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.7;
}

@keyframes hudRadar {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hud-pin-card {
  background: rgba(11, 14, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 193, 88, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  min-width: 240px;
  max-width: 300px;
  pointer-events: auto;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hud-pin:hover .hud-pin-dot {
  transform: scale(1.3);
}

.hud-pin:hover .hud-pin-card {
  border-color: var(--primary-cta);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hud-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.hud-pin-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary-cta);
  background: rgba(229, 193, 88, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(229, 193, 88, 0.25);
}

.hud-pin-spec {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
}

.hud-pin-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
  line-height: 1.3;
}

.hud-pin-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 860px) {
  .hud-pin-card {
    display: none;
  }
}
