/* MASHUPMAKER.SPACE v1.0 — Precision Acoustic DJ Console Design System
   60% Cool Platinum Mist Silver (#f3f5f8) × 30% Midnight Graphite (#12161f) × 10% Acid Cyber Lime (#c8ff00 + #0f131a ink, 15.7:1 AAA contrast)
   4-Layer Top Luminance Progression + Embedded Hardware Pod Buttons + Curtain Mega-Menu + 70%+ First-Screen Dual-Deck Studio */

:root {
  --trim-slate: #dce2eb;        /* Layer 1: Top Anodized Slate Framing Strip */
  --platinum: #f3f5f8;          /* Layer 2: 60% Cool Platinum Mist Silver Header & Canvas */
  --chassis: #e6ebf2;           /* Layer 3: Machined Aluminum Console Base */
  --chassis-deep: #d5dce7;      /* Tactile Fader Groove & Hairline */
  --surface: #ffffff;           /* Layer 4: Pure Studio Daylight Deck Panel */
  --surface-alt: #f8fafd;       /* Clean Editorial Alternating Band */
  --graphite: #12161f;          /* 30% Midnight Graphite Heavy Anchor */
  --graphite-elev: #191f2c;     /* Elevated Monitor & Platter Housing */
  --graphite-line: #283144;     /* Subtle Dark Hardware Hairline */
  --lime: #c8ff00;              /* 10% High-Luminance Acid Cyber Lime (15.75:1 vs #0f131a) */
  --lime-hover: #d4ff33;
  --lime-soft: rgba(200, 255, 0, 0.20);
  --cyan-signal: #38e8ff;       /* Deck B High-Contrast Signal Trace on Graphite */
  --ink: #0f131a;               /* Razor-Sharp Deep Graphite Ink */
  --ink-body: #333c4d;          /* Balanced Slate Body Copy */
  --ink-muted: #5e687a;         /* Secondary Hardware Readout Label */
  --danger: #dc2626;
  --ok: #15803d;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--platinum);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, select { font-family: inherit; }
[hidden] { display: none !important; }

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==================== LAYER 1: TOP ANODIZED TRIM STRIP ==================== */
.top-trim-bar {
  background: var(--trim-slate);
  min-height: 34px;
  padding: 4px 32px;
  font-size: 0.81rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(15, 19, 26, 0.06);
}
.top-trim-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.trim-left, .trim-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trim-badge {
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 4px;
}
.trim-eco-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  transition: background 0.16s ease;
}
.trim-eco-link:hover { background: var(--lime); }

/* ==================== LAYER 2: SPACIOUS STUDIO HEADER & MEGA-MENU ==================== */
.topbar {
  height: 72px;
  background: var(--platinum);
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(15, 19, 26, 0.07);
}
.topbar-inner {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--graphite);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.brand-mark svg { width: 20px; height: 20px; }
body.is-playing .brand-mark {
  box-shadow: 0 0 0 3px var(--lime-soft);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}
.brand-name em {
  font-style: normal;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 5px;
  vertical-align: middle;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-trigger, .nav-link {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-trigger:hover, .nav-trigger.active, .nav-link:hover {
  background: var(--chassis);
  color: var(--ink);
}
.nav-chev {
  width: 13px;
  height: 13px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-trigger.active .nav-chev {
  transform: rotate(180deg);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Custom Language Dropdown in Header */
.lang-dropdown {
  position: relative;
}
.lang-btn {
  height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--chassis-deep);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.lang-btn:hover { border-color: var(--graphite); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 175px;
  background: var(--surface);
  border: 1px solid var(--chassis-deep);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(15, 19, 26, 0.14);
  padding: 6px;
  z-index: 160;
}
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.lang-menu a:hover, .lang-menu a.current {
  background: var(--lime);
  color: var(--ink);
}

.btn-header-pro {
  height: 40px;
  padding: 0 6px 0 14px;
  border-radius: 10px;
  border: none;
  background: var(--graphite);
  color: var(--platinum);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-header-pro:hover { transform: translateY(-1px); }
.btn-header-pro .mini-pod {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-header-pro.is-pro {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 3px var(--lime-soft);
}
.btn-header-pro.is-pro .mini-pod {
  background: var(--graphite);
  color: var(--lime);
}

.mobile-menu-btn {
  display: none;
  height: 42px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid var(--chassis-deep);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

/* Curtain Mega-Menu Flyout */
.mega-backdrop {
  position: fixed;
  inset: 106px 0 0 0;
  background: rgba(18, 22, 31, 0.30);
  backdrop-filter: blur(5px);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mega-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.mega-curtain {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 2px solid var(--graphite);
  box-shadow: 0 24px 54px rgba(15, 19, 26, 0.16);
  z-index: 125;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.mega-curtain.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mega-panel {
  max-width: 1380px;
  margin: 0 auto;
  padding: 26px 32px 30px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.mega-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.mega-item:hover {
  background: var(--platinum);
}
.mega-icon {
  min-width: 46px;
  height: 32px;
  padding: 0 7px;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  font-weight: 800;
}
.mega-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.mega-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.38;
}
.mega-spotlight {
  background: var(--graphite);
  color: var(--platinum);
  border-radius: 14px;
  overflow: hidden;
}
.mega-spotlight img {
  width: 100%;
  height: 158px;
  object-fit: cover;
  display: block;
}
.mega-spotlight-body {
  padding: 14px 16px 16px;
}
.mega-spotlight-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.mega-spotlight-body h4 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  margin-bottom: 4px;
}
.mega-spotlight-body p {
  font-size: 0.81rem;
  color: #b8c2d4;
}

/* Mobile Slide Drawer (Never hides subpages on narrow screens!) */
.mobile-drawer {
  background: var(--surface);
  border-bottom: 2px solid var(--graphite);
  padding: 18px 20px 24px;
  max-height: calc(100vh - 106px);
  overflow-y: auto;
}
.mobile-drawer-group {
  margin-bottom: 18px;
}
.mobile-drawer-group h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.mobile-drawer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.mobile-drawer-links a {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--platinum);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

/* ==================== INDUSTRIAL EMBEDDED POD BUTTONS ==================== */
.btn-pod-lime, .btn-pod-dark {
  height: 58px;
  padding: 0 10px 0 22px;
  border-radius: 12px;
  border: none;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.16s ease, background 0.16s ease;
}
.btn-pod-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(200, 255, 0, 0.28);
}
.btn-pod-lime:hover {
  background: var(--lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 255, 0, 0.38);
}
.btn-pod-lime .pod-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.btn-pod-lime:hover .pod-box { transform: translateX(2px); }

.btn-pod-dark {
  background: var(--graphite);
  color: var(--platinum);
}
.btn-pod-dark:hover {
  background: #1b2230;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 22, 31, 0.22);
}
.btn-pod-dark .pod-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.btn-pod-dark:hover .pod-box { transform: translateY(2px); }

/* ==================== LAYER 3 & 4: FIRST-SCREEN 70%+ DUAL-DECK STUDIO ==================== */
.studio-hero {
  padding: 10px 0 20px;
  background: linear-gradient(180deg, var(--platinum) 0%, var(--chassis) 100%);
}
.hero-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 9px;
}
.hero-title-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.55vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--ink);
}
.hero-title-wrap p {
  font-size: 0.98rem;
  color: var(--ink-body);
  margin-top: 4px;
  max-width: 760px;
}
.instant-demo-pill {
  height: 46px;
  padding: 0 8px 0 16px;
  border-radius: 11px;
  border: 1.5px solid var(--graphite);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.16s ease, transform 0.16s ease;
}
.instant-demo-pill:hover {
  background: var(--lime);
  transform: translateY(-1px);
}
.instant-demo-pill .demo-led-pod {
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--graphite);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Machined Console Chassis (Layer 3 -> Layer 4) */
.console-chassis {
  background: var(--chassis);
  border: 1px solid var(--chassis-deep);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(15, 19, 26, 0.08);
}
.console-inner {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 18px 16px;
}

/* Row 1: Midnight Graphite Dual-Waveform & Beat-Grid Phase Scope */
.scope-bar {
  background: var(--graphite);
  color: var(--platinum);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.scope-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.scope-readouts {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.readout-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.dot-a { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); display: inline-block; }
.dot-b { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-signal); display: inline-block; }
.harmonic-pill {
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 2px 9px;
  border-radius: 5px;
}
.ab-compare-group {
  display: inline-flex;
  background: var(--graphite-elev);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--graphite-line);
}
.ab-btn {
  border: none;
  background: transparent;
  color: #b4bfd3;
  font-size: 0.79rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.ab-btn.active {
  background: var(--lime);
  color: var(--ink);
}
#scopeCanvas {
  width: 100%;
  height: 58px;
  display: block;
  border-radius: 7px;
  background: #0c0f16;
}

/* Row 2: Dual-Deck Upload & Stem/Pitch Row */
.dual-decks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}
.dual-decks-grid > *, .deck-controls-row > *, .master-rack-row > *, .dropzone-btn > span {
  min-width: 0;
}
.deck-panel {
  background: var(--surface-alt);
  border: 1.5px solid var(--chassis-deep);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.deck-panel.drag-over {
  border-color: var(--graphite);
  background: var(--lime-soft);
}
.deck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.deck-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.deck-badge-a {
  background: var(--lime);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
}
.deck-badge-b {
  background: var(--graphite);
  color: var(--cyan-signal);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
}
.deck-metrics {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--chassis);
  padding: 3px 9px;
  border-radius: 6px;
}

.dropzone-btn {
  width: 100%;
  min-height: 66px;
  border: 1.5px dashed #9aa6ba;
  border-radius: 10px;
  background: var(--surface);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  margin-bottom: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone-btn:hover {
  border-color: var(--graphite);
  background: #f4f7fb;
}
.drop-main-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  line-height: 1.24;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.drop-sub-text {
  font-size: 0.83rem;
  color: var(--ink-muted);
  display: block;
  margin-top: 2px;
}
.drop-upload-chip {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.deck-controls-row {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.8fr;
  gap: 8px;
  align-items: end;
}
.ctrl-field label {
  display: block;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

/* Center Sync Spine */
.sync-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-sync-lock {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  border: 2px solid var(--graphite);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.76rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.btn-sync-lock:hover { transform: scale(1.04); }
.btn-swap-decks {
  width: 60px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--chassis-deep);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-swap-decks:hover { background: var(--chassis); }

/* Custom Accessible Select Component (Zero native <select> exposed!) */
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--chassis-deep);
  background: var(--surface);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease;
}
.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
  border-color: var(--graphite);
}
.custom-select-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  background: var(--surface);
  border: 1.5px solid var(--graphite);
  border-radius: 11px;
  box-shadow: 0 16px 36px rgba(15, 19, 26, 0.16);
  padding: 5px;
  z-index: 150;
  max-height: 250px;
  overflow-y: auto;
}
.custom-option {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 9px 11px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.custom-option:hover, .custom-option.selected {
  background: var(--lime);
  color: var(--ink);
}

/* Pitch Stepper & Tactile Sliders */
.stepper-box {
  height: 48px;
  border: 1.5px solid var(--chassis-deep);
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}
.stepper-btn {
  width: 32px;
  height: 36px;
  border: none;
  border-radius: 7px;
  background: var(--chassis);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}
.stepper-btn:hover { background: var(--lime); }
.stepper-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.fader-wrap {
  height: 48px;
  border: 1.5px solid var(--chassis-deep);
  border-radius: 10px;
  background: var(--surface);
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
input[type="range"].dj-fader {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--chassis-deep);
  outline: none;
}
input[type="range"].dj-fader::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 24px;
  border-radius: 5px;
  background: var(--graphite);
  border: 2px solid var(--lime);
  cursor: pointer;
}

/* Row 3: Master Sync, Transition, Crossfader & Pro Rack */
.master-rack-row {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 1.15fr 1fr;
  gap: 10px;
  align-items: end;
  padding-top: 10px;
  border-top: 1px solid var(--chassis);
  margin-bottom: 12px;
}
.pro-switches {
  display: flex;
  gap: 6px;
  height: 48px;
}
.rack-pill-btn {
  flex: 1;
  height: 48px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1.5px solid var(--chassis-deep);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.rack-pill-btn:hover { border-color: var(--graphite); }
.rack-pill-btn.active {
  background: var(--graphite);
  color: var(--lime);
  border-color: var(--graphite);
}

/* Explicit Glowing Pro Hardware Switch Bar Inside Console */
.pro-hw-bar {
  background: var(--graphite);
  color: var(--platinum);
  border-radius: 10px;
  padding: 7px 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.pro-hw-title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.pro-hw-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pro-hw-switch {
  height: 32px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid var(--graphite-line);
  background: var(--graphite-elev);
  color: #cfd8e8;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.pro-hw-switch:hover {
  border-color: var(--lime);
  color: #ffffff;
}
.pro-hw-switch .hw-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4e5a70;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.pro-hw-switch.active {
  border-color: var(--lime);
  background: rgba(200, 255, 0, 0.14);
  color: var(--lime);
}
.pro-hw-switch.active .hw-led {
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

/* Row 4: Primary Action & Export Bar */
.action-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.quota-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-body);
  font-weight: 600;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}
body.is-stretching .status-dot {
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulseMeter 0.45s ease-in-out infinite alternate;
}
.primary-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==================== DE-CARDED METRIC RIBBON (WITH REAL VISUAL SPARKBARS!) ==================== */
.telemetry-ribbon {
  background: var(--graphite);
  color: var(--platinum);
  padding: 34px 0;
}
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.telemetry-item {
  padding-right: 18px;
  border-right: 1px solid var(--graphite-line);
}
.telemetry-item:last-child { border-right: none; }
.telemetry-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--lime);
  line-height: 1.05;
}
.telemetry-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-top: 6px;
  color: #ffffff;
}
.telemetry-desc {
  font-size: 0.85rem;
  color: #aeb9ce;
  margin-top: 3px;
}
.telemetry-meter {
  margin-top: 12px;
  height: 6px;
  border-radius: 999px;
  background: #232b3b;
  overflow: hidden;
}
.telemetry-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), var(--cyan-signal));
  transform-origin: left center;
  animation: pulseMeter 3.4s ease-in-out infinite alternate;
}
@keyframes pulseMeter {
  0% { opacity: 0.82; transform: scaleX(0.94); }
  100% { opacity: 1; transform: scaleX(1); }
}

/* ==================== EDITORIAL PHOTOGRAPHY & 60FPS TILT/FLOAT PHYSICS ==================== */
.section-block {
  padding: 76px 0;
}
.section-light { background: var(--surface); }
.section-platinum { background: var(--platinum); }
.section-chassis { background: var(--chassis); }

.section-head {
  max-width: 780px;
  margin-bottom: 44px;
}
.eyebrow-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-head p {
  font-size: 1.06rem;
  color: var(--ink-body);
}

/* Borderless 3-Step Visual Editorial Rows (Zero Box-in-Box!) */
.workflow-rows {
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.workflow-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.workflow-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}
.workflow-row.reverse .wf-media { order: -1; }
.wf-step-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.wf-step-num span {
  font-size: 0.82rem;
  background: var(--graphite);
  color: var(--lime);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}
.wf-copy h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.wf-copy p {
  font-size: 1.02rem;
  color: var(--ink-body);
  margin-bottom: 14px;
}
.wf-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.wf-specs li {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--platinum);
  padding: 6px 12px;
  border-radius: 7px;
}

/* Interactive Tilt + Click Float-Zoom Real Studio Photo Frame */
.tilt-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
  box-shadow: 0 18px 40px rgba(15, 19, 26, 0.14);
  background: var(--graphite);
}
.tilt-photo img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  display: block;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.tilt-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(200, 255, 0, 0.18), transparent 58%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.tilt-photo:hover::after { opacity: 1; }
.tilt-photo:hover img { transform: scale(1.035); }
.tilt-photo.is-floating {
  transform: translateY(-10px) scale(1.03) !important;
  box-shadow: 0 30px 64px rgba(15, 19, 26, 0.28);
  cursor: zoom-out;
  z-index: 30;
}

/* Sub-tools Directory Strip (Borderless Architectural Grid) */
.tools-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--chassis-deep);
  border-top: 1px solid var(--chassis-deep);
  border-bottom: 1px solid var(--chassis-deep);
}
.tool-cell {
  background: var(--platinum);
  padding: 24px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: background 0.16s ease;
}
.tool-cell:hover {
  background: var(--surface);
}
.tool-cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tool-cell-code {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--graphite);
  color: var(--lime);
}
.tool-cell h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tool-cell p {
  font-size: 0.9rem;
  color: var(--ink-body);
}

/* ==================== QUANTITATIVE COMPARISON TABLE ==================== */
.comp-table-wrap {
  overflow-x: auto;
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.comp-table th, .comp-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--chassis-deep);
}
.comp-table thead th {
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--graphite);
  color: var(--platinum);
}
.comp-table thead th.highlight-col {
  background: var(--lime);
  color: var(--ink);
}
.comp-table tbody td.highlight-col {
  background: rgba(200, 255, 0, 0.12);
  font-weight: 700;
  color: var(--ink);
}

/* ==================== PRICING SECTION (FREE STRIP + STRICTLY 3 PAID CARDS) ==================== */
.free-forever-strip {
  background: var(--platinum);
  border-left: 5px solid var(--graphite);
  border-radius: 12px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.free-forever-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 3px;
}
.free-forever-strip span {
  color: var(--ink-body);
  font-size: 0.94rem;
}
.btn-jump-free {
  height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--graphite);
  color: var(--lime);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-tier {
  background: var(--platinum);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border: 1.5px solid var(--chassis-deep);
}
.price-tier.featured {
  background: var(--graphite);
  color: var(--platinum);
  border-color: var(--graphite);
  box-shadow: 0 22px 48px rgba(18, 22, 31, 0.22);
}
.popular-flag {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 6px;
}
.tier-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.price-tier.featured .tier-eyebrow { color: var(--lime); }
.price-tier h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 6px 0 10px;
}
.price-figure {
  font-family: var(--font-display);
  font-size: 2.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.price-figure s {
  font-size: 1.15rem;
  opacity: 0.5;
  margin-right: 8px;
  font-weight: 500;
}
.price-figure small {
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.78;
}
.tier-summary {
  font-size: 0.9rem;
  color: var(--ink-body);
  margin-bottom: 18px;
}
.price-tier.featured .tier-summary { color: #c0cadb; }
.tier-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}
.tier-perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tier-perks li::before {
  content: '✓';
  font-weight: 900;
  color: var(--ok);
}
.price-tier.featured .tier-perks li::before { color: var(--lime); }

.tier-cta-btn {
  width: 100%;
  justify-content: space-between;
}
.license-redeem-bar {
  margin-top: 22px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-body);
}
.license-link-btn {
  background: none;
  border: none;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ==================== FAQ & PILLAR GUIDE EDITORIAL ==================== */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--chassis-deep);
}
.faq-item {
  border-bottom: 1px solid var(--chassis-deep);
}
.faq-item summary {
  list-style: none;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--chassis);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: '−';
  background: var(--lime);
}
.faq-item .faq-ans {
  padding: 0 4px 20px;
  color: var(--ink-body);
  max-width: 900px;
}

/* Guide & Legal Content Layout */
.editorial-article {
  max-width: 920px;
  margin: 0 auto;
}
.editorial-article h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.editorial-article h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 36px 0 12px;
  letter-spacing: -0.03em;
}
.editorial-article h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  margin: 24px 0 8px;
}
.editorial-article p, .editorial-article li {
  font-size: 1.02rem;
  color: var(--ink-body);
  margin-bottom: 12px;
}
.editorial-article ul, .editorial-article ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
.editorial-hero-img {
  margin: 24px 0 32px;
}
.editorial-hero-img img {
  height: 360px;
}

/* ==================== ECOSYSTEM BANNER & BOTTOM CTA ==================== */
.ecosystem-banner {
  background: var(--lime);
  color: var(--ink);
  padding: 44px 0;
}
.ecosystem-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.ecosystem-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.ecosystem-inner p {
  font-size: 1rem;
  max-width: 700px;
  font-weight: 500;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--graphite);
  color: #b8c2d4;
  padding: 58px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--graphite-line);
}
.footer-col h4 {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 0.96rem;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  text-decoration: none;
  font-size: 0.88rem;
  color: #aeb9ce;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
  flex-wrap: wrap;
}

/* ==================== MODAL & COOKIE BAR ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 15, 22, 0.62);
  backdrop-filter: blur(5px);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  background: var(--surface);
  color: var(--ink);
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 16px;
  border: 2px solid var(--graphite);
  padding: 24px 26px;
  box-shadow: 0 28px 64px rgba(12, 15, 22, 0.35);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.modal-head h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--chassis);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}
.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.preset-item-btn {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--chassis-deep);
  background: var(--surface-alt);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.preset-item-btn:hover {
  border-color: var(--graphite);
  background: var(--lime-soft);
}
.preset-item-btn strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink);
}
.preset-item-btn span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.cookie-bar {
  position: fixed;
  left: 18px;
  bottom: 10px;
  max-width: 650px;
  background: var(--graphite);
  color: var(--platinum);
  border: 1px solid var(--graphite-line);
  border-radius: 12px;
  padding: 9px 14px;
  z-index: 180;
  box-shadow: 0 14px 34px rgba(12, 15, 22, 0.28);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cookie-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.cookie-btn {
  height: 32px;
  padding: 0 11px;
  border-radius: 7px;
  border: none;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn.accept { background: var(--lime); color: var(--ink); }
.cookie-btn.essential { background: var(--graphite-elev); color: var(--platinum); border: 1px solid var(--graphite-line); }

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1120px) {
  .topnav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .dual-decks-grid { grid-template-columns: minmax(0, 1fr); }
  .sync-spine { flex-direction: row; justify-content: flex-start; }
  .btn-sync-lock { width: auto; height: 44px; flex-direction: row; padding: 0 14px; gap: 8px; }
  .master-rack-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .telemetry-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .tools-matrix-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container, .topbar-inner, .top-trim-bar { padding-left: 14px; padding-right: 14px; }
  .trim-right { display: none; }
  .brand-name { font-size: 1.12rem; }
  .brand-name em { display: none; }
  .topbar-actions { gap: 6px; }
  .lang-btn, .btn-header-pro, .mobile-menu-btn { height: 38px; padding: 0 10px; font-size: 0.83rem; }
  .btn-header-pro span:first-child { display: none; }
  .btn-header-pro { padding: 0 5px; }
  .hero-header-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .instant-demo-pill { width: 100%; height: auto; padding: 10px 12px; white-space: normal; justify-content: space-between; font-size: 0.86rem; }
  .console-chassis { padding: 8px; }
  .console-inner { padding: 12px; }
  .dropzone-btn { flex-direction: column; align-items: flex-start; gap: 8px; }
  .deck-controls-row { grid-template-columns: minmax(0, 1fr); }
  .master-rack-row { grid-template-columns: minmax(0, 1fr); }
  .pro-switches { flex-wrap: wrap; height: auto; }
  .rack-pill-btn { flex: 1 1 calc(50% - 6px); height: 44px; }
  .primary-cta-group { width: 100%; }
  .btn-pod-lime, .btn-pod-dark { width: 100%; font-size: 16px; padding: 0 10px 0 16px; }
  .workflow-row, .workflow-row.reverse { grid-template-columns: 1fr; gap: 22px; }
  .workflow-row.reverse .wf-media { order: 0; }
  .telemetry-grid, .tools-matrix-grid, .footer-grid, .preset-grid { grid-template-columns: 1fr; }
  .telemetry-item { border-right: none; border-bottom: 1px solid var(--graphite-line); padding-bottom: 16px; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: flex-start; gap: 8px; }
}
