/* ══════════════════════════════════════════════════════════════
   RESET + DESIGN TOKENS
══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Tokens inherited from tokens.css — no overrides needed */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-brand);
  overflow-x: hidden;
  min-height: 100vh;
  cursor: default;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ══════════════════════════════════════════════════════════════
   BOOT SPLASH SCREEN
══════════════════════════════════════════════════════════════ */
.boot-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #07060f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.boot-splash.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.booting { overflow: hidden; }

.boot-logo {
  font-family: var(--font-terminal);
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: 4px;
  color: var(--accent-hot-legacy);
  text-shadow: 0 0 30px rgba(180,138,255,0.5);
  margin-bottom: 32px;
}
.boot-logo .accent { color: var(--accent); }

.boot-lines {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--accent2);
  line-height: 2;
  text-align: left;
  min-width: 280px;
  max-width: 420px;
}
.boot-line {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.boot-line.visible {
  opacity: 1;
  transform: translateX(0);
}
.boot-line .ok { color: var(--accent2); }
.boot-line .warn { color: var(--accent-gold); }
.boot-line .hot { color: var(--hot); }

.boot-bar-wrap {
  width: 280px;
  height: 3px;
  background: rgba(180,138,255,0.1);
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.boot-bar-wrap.visible { opacity: 1; }
.boot-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent2), var(--accent), var(--accent));
  border-radius: 2px;
  transition: width 0.4s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .boot-splash { display: none; }
  body.booting { overflow: auto; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-canvas { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   ATMOSPHERE
══════════════════════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(100,50,200,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 28%, rgba(123,79,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* ══════════════════════════════════════════════════════════════
   NAV — Contextual Shift (WeirdMaker → WeirdSynths on scroll)
══════════════════════════════════════════════════════════════ */
.page-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.page-nav.scrolled {
  background: rgba(2,1,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  position: relative;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  overflow: hidden;
  height: 20px;
  display: flex;
  align-items: center;
}
.nav-brand-text {
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.nav-brand-text.hidden {
  opacity: 0;
  transform: translateY(-100%);
  position: absolute;
}
.nav-brand-text.visible {
  opacity: 1;
  transform: translateY(0);
}
.nav-brand-text .accent { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text2);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: #b48aff; }
.nav-links a.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #b48aff;
  margin-top: 3px;
  animation: navUnderline 0.3s ease-out;
}
@keyframes navUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.nav-auth-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-auth-btn.login {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.nav-auth-btn.login:hover {
  background: var(--accent);
  color: #000;
}

/* Profile badge */
.nav-profile-badge {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6a3de8);
  border: 2px solid rgba(139,92,246,0.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.nav-profile-badge:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(139,92,246,0.4);
  transform: scale(1.08);
}
.nav-profile-initial {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}
.nav-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #1a1a2e;
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 8px;
  padding: 12px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  z-index: 9999;
  animation: dropIn 0.15s ease-out;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-profile-name { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: #eee; padding: 4px 16px 0; }
.nav-profile-email { font-family: var(--font-mono); font-size: 10px; color: var(--text2); padding: 2px 16px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-profile-divider { height: 1px; background: rgba(139,92,246,0.15); margin: 4px 0; }
.nav-profile-item { display: block; width: 100%; text-align: left; background: none; border: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; color: #aaa; padding: 8px 16px; cursor: pointer; transition: all 0.15s; text-decoration: none; }
.nav-profile-item:hover { background: rgba(139,92,246,0.1); color: var(--accent); }
.nav-profile-logout { color: #e55; }
.nav-profile-logout:hover { color: #f66; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,1,10,0.97);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-terminal);
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--accent-hot-legacy); }
.mobile-nav a.active { color: #b48aff; }

/* ══════════════════════════════════════════════════════════════
   HERO — Full-Bleed Waveform
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

/* Parallax floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleDrift linear infinite;
}
@keyframes particleDrift {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-100vh) translateX(40px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  will-change: transform, opacity;
}

.hero-tagline {
  font-family: var(--font-terminal);
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent2);
  text-shadow: 0 0 12px rgba(74,255,204,0.5);
  margin-bottom: 16px;
  opacity: 0.8;
}

.hero-headline {
  font-family: var(--font-terminal);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--accent-hot-legacy);
  text-shadow: 0 0 40px rgba(232,213,255,0.5), 0 0 80px rgba(180,138,255,0.2);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(123,79,255,0.7);
  -webkit-text-fill-color: var(--accent);
}

.hero-sub {
  font-family: var(--font-terminal);
  font-size: clamp(16px, 2vw, 22px);
  color: var(--accent);
  text-shadow: 0 0 8px rgba(180,138,255,0.3);
  opacity: 0.6;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 24px rgba(123,79,255,0.4);
}
.hero-cta:hover {
  background: #9366ff;
  box-shadow: 0 0 40px rgba(123,79,255,0.6);
  transform: translateY(-2px);
}
.hero-cta:active { transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   SECTION UTILITIES
══════════════════════════════════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.eyebrow {
  font-family: var(--font-terminal);
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent2);
  text-shadow: 0 0 8px rgba(74,255,204,0.4);
  text-align: center;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-terminal);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--accent-hot-legacy);
  text-shadow: 0 0 20px rgba(232,213,255,0.3);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 2px;
  font-weight: 400;
}

/* ══════════════════════════════════════════════════════════════
   SCROLL-TRIGGERED ENTRANCE ANIMATIONS
══════════════════════════════════════════════════════════════ */

/* Hidden state — all elements start invisible & offset */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Variants — different entrance directions */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-blur {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
  will-change: opacity, filter, transform;
}

/* Visible state — applied by IntersectionObserver */
.reveal.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible,
.reveal-blur.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Stagger children — cascading delays */
.stagger-children.visible > .reveal,
.stagger-children.visible > .reveal-up,
.stagger-children.visible > .reveal-left,
.stagger-children.visible > .reveal-right,
.stagger-children.visible > .reveal-scale {
  opacity: 1;
  transform: none;
}
.stagger-children > :nth-child(1) { transition-delay: 0s; }
.stagger-children > :nth-child(2) { transition-delay: 0.1s; }
.stagger-children > :nth-child(3) { transition-delay: 0.2s; }
.stagger-children > :nth-child(4) { transition-delay: 0.3s; }
.stagger-children > :nth-child(5) { transition-delay: 0.4s; }
.stagger-children > :nth-child(6) { transition-delay: 0.5s; }
.stagger-children > :nth-child(7) { transition-delay: 0.6s; }
.stagger-children > :nth-child(8) { transition-delay: 0.7s; }

/* Manual delay classes for fine control */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* Reduced motion — instant reveal, no animation */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-left, .reveal-right,
  .reveal-scale, .reveal-blur {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECTION 3: MODES — The Dial
══════════════════════════════════════════════════════════════ */
.modes-section {
  overflow: visible;
  transition: background 0.6s ease;
}

.dial-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* ── Dial Visual ── */
.dial-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 60px auto 80px;
}

/* Glow halo behind the dial — color set by JS */
.dial-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--dial-glow, rgba(123,79,255,0.12)) 0%, transparent 70%);
  filter: blur(20px);
  transition: background 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.dial-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  cursor: grab;
  /* Knurled metal surface */
  background:
    repeating-conic-gradient(from 0deg, rgba(30,26,50,0.8) 0deg 2deg, rgba(20,16,36,0.9) 2deg 4deg),
    radial-gradient(circle at center, rgba(22,18,40,1) 40%, rgba(10,8,20,1) 100%);
  border: 2px solid rgba(180,138,255,0.15);
  box-shadow:
    0 0 50px rgba(123,79,255,0.08),
    0 8px 32px rgba(0,0,0,0.6),
    inset 0 0 40px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Tick marks ring rendered via conic gradient overlay */
.dial-ticks {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* Individual tick marks positioned by JS */
.dial-tick {
  position: absolute;
  width: 2px;
  height: 10px;
  background: rgba(180,138,255,0.15);
  top: 0;
  left: 50%;
  transform-origin: 50% 154px; /* half of container */
  border-radius: 1px;
  transition: background 0.4s, box-shadow 0.4s, height 0.3s;
}
.dial-tick.major {
  height: 14px;
  width: 2px;
  background: rgba(180,138,255,0.3);
}
.dial-tick.active {
  background: var(--tick-color, var(--accent));
  box-shadow: 0 0 6px var(--tick-color, rgba(123,79,255,0.5));
  height: 16px;
}

/* Indicator needle */
.dial-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 110px;
  background: linear-gradient(to top, transparent 0%, transparent 30%, var(--needle-color, var(--accent)) 100%);
  transform-origin: bottom center;
  transform: translate(-50%, -100%);
  border-radius: 2px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s;
  z-index: 5;
  pointer-events: none;
}
.dial-ring.dragging { cursor: grabbing; }
.dial-ring.dragging .dial-indicator {
  transition: none;
  filter: drop-shadow(0 0 8px var(--needle-color, rgba(123,79,255,0.6)));
}

/* Needle tip dot */
.dial-indicator::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--needle-color, var(--accent));
  box-shadow: 0 0 10px var(--needle-color, rgba(123,79,255,0.8));
}

/* Center hub — layered for depth */
.dial-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(60,40,100,0.6), transparent 60%),
    radial-gradient(circle, #221640 0%, #140e28 100%);
  border: 2px solid rgba(180,138,255,0.2);
  box-shadow:
    0 0 16px rgba(123,79,255,0.2),
    inset 0 2px 4px rgba(255,255,255,0.05),
    inset 0 -2px 4px rgba(0,0,0,0.4);
  z-index: 6;
}
/* Center screw detail */
.dial-center::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,138,255,0.15), transparent);
  border: 1px solid rgba(180,138,255,0.1);
}

/* ── Labels around the dial ── */
.dial-label {
  position: absolute;
  font-family: var(--font-terminal);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text2);
  cursor: pointer;
  transition: all 0.35s ease;
  user-select: none;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 3px 6px;
  border-radius: 3px;
}
.dial-label:hover {
  color: var(--accent);
  background: rgba(180,138,255,0.05);
}
.dial-label.active {
  color: var(--accent-hot-legacy);
  text-shadow: 0 0 14px rgba(232,213,255,0.6);
  font-size: 14px;
  letter-spacing: 2px;
}
.dial-label.active::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  margin-right: 5px;
  vertical-align: middle;
  animation: dial-dot-pulse 2s ease-in-out infinite;
}
@keyframes dial-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.dial-label:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ── Mode Preview Card ── */
.mode-preview {
  max-width: 640px;
  width: 100%;
  min-height: 220px;
  border: 1px solid rgba(180,138,255,0.12);
  border-radius: 10px;
  padding: 32px;
  background: rgba(14,13,24,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.5s, box-shadow 0.5s;
  position: relative;
  overflow: hidden;
}
/* Subtle accent stripe at top of card */
.mode-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--preview-accent, var(--accent));
  transition: background 0.5s;
  opacity: 0.6;
}

.mode-preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mode-preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  transition: background 0.4s, box-shadow 0.4s;
  flex-shrink: 0;
}

.mode-preview-name {
  font-family: var(--font-terminal);
  font-size: 24px;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: color 0.4s;
}

.mode-preview-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.mode-preview-sample {
  font-family: var(--font-terminal);
  font-size: 17px;
  line-height: 1.7;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  transition: color 0.4s, border-color 0.4s;
  min-height: 80px;
}

.mode-preview-sample .typed-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: currentColor;
  animation: blink 0.7s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
  opacity: 0.7;
}

/* Mode preview footer — counter + CTA */
.mode-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mode-counter {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text2);
}
.mode-counter-current {
  color: var(--preview-accent, var(--accent2));
  font-weight: 600;
  transition: color 0.4s;
}
.mode-counter-sep { opacity: 0.4; margin: 0 2px; }
.mode-counter-total { opacity: 0.5; }

.mode-try-cta {
  display: inline-block;
  padding: 7px 18px;
  font-family: var(--font-terminal);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--preview-accent, var(--accent2));
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.8;
  transition: opacity 0.2s, background 0.2s, transform 0.15s, color 0.4s, border-color 0.4s;
}
.mode-try-cta:hover {
  opacity: 1;
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}
.mode-try-cta #modeTryName {
  text-transform: capitalize;
}

.mode-preview-hint {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text2);
  text-transform: uppercase;
  opacity: 0.5;
}

/* ── Sound Preview Toggle ── */
.sound-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(180,138,255,0.15);
  border-radius: 6px;
  background: rgba(14,13,24,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
  z-index: 3;
}
.sound-toggle:hover {
  border-color: rgba(180,138,255,0.4);
  background: rgba(180,138,255,0.08);
}
.sound-toggle svg { width: 16px; height: 16px; }
.sound-toggle .sound-on { display: block; }
.sound-toggle .sound-off { display: none; }
.sound-toggle.muted .sound-on { display: none; }
.sound-toggle.muted .sound-off { display: block; }

/* Sound playing pulse */
.sound-playing-indicator {
  position: absolute;
  top: 12px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  opacity: 0;
  transition: opacity 0.3s;
}
.sound-playing-indicator.active { opacity: 1; }
.sound-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--preview-accent, #b48aff);
  animation: soundBounce 0.6s ease-in-out infinite alternate;
}
.sound-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.sound-bar:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.sound-bar:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.sound-bar:nth-child(4) { height: 16px; animation-delay: 0.1s; }
.sound-bar:nth-child(5) { height: 6px; animation-delay: 0.25s; }
@keyframes soundBounce {
  from { transform: scaleY(0.3); }
  to { transform: scaleY(1); }
}

/* ── Play Me Prompt ── */
.play-me-prompt {
  position: absolute;
  top: 10px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(180,138,255,0.12);
  border: 1px solid rgba(180,138,255,0.35);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 3;
  animation: playMePulse 2s ease-in-out infinite;
  transition: opacity 0.4s, transform 0.4s;
}
.play-me-prompt:hover {
  background: rgba(180,138,255,0.2);
  border-color: rgba(180,138,255,0.6);
  animation: none;
}
.play-me-prompt.dismissed {
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
}
.play-me-icon {
  font-size: 14px;
  color: var(--accent);
}
.play-me-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}
.play-me-arrow {
  font-size: 14px;
  color: var(--accent);
  animation: playMeArrow 1s ease-in-out infinite;
}
@keyframes playMePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(180,138,255,0); }
  50% { box-shadow: 0 0 12px 4px rgba(180,138,255,0.15); }
}
@keyframes playMeArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* ── Dial Module Preview — Live morphing mini module ── */
.mode-preview-body {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.dial-module-wrap {
  flex-shrink: 0;
  position: relative;
}
.mode-preview-text {
  flex: 1;
  min-width: 0;
}

/* The mini module panel */
.dial-module {
  width: 120px;
  height: 200px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  transition: background 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px 8px;
  gap: 6px;
}

/* Module name label */
.dm-name {
  font-family: var(--font-terminal);
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.5s, text-shadow 0.5s;
  width: 100%;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2px;
}

/* Mini scope display */
.dm-scope {
  width: 90%;
  height: 32px;
  border-radius: 3px;
  background: #060810;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
  transition: border-color 0.5s;
}
.dm-scope-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  transition: opacity 0.5s;
}
.dm-scope-wave svg {
  width: 100%;
  height: 100%;
}

/* Knob row */
.dm-knob-row {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  align-items: center;
}
.dm-knob-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.dm-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: relative;
  transition: background 0.5s, box-shadow 0.5s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.dm-knob::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px; right: 3px; bottom: 3px;
  border-radius: 50%;
  background: inherit;
  filter: brightness(1.2);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.1);
  transition: background 0.5s;
}
.dm-knob::after {
  content: '';
  position: absolute;
  top: 2px; left: 50%;
  transform: translateX(-50%) rotate(var(--knob-rot, -30deg));
  transform-origin: bottom center;
  width: 2px; height: 6px;
  border-radius: 1px;
  transition: background 0.5s, transform 0.5s;
}
.dm-knob-label {
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.5;
  transition: color 0.5s;
}

/* LED indicators */
.dm-led-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dm-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transition: background 0.5s, box-shadow 0.5s;
}

/* Jack row */
.dm-jack-row {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  margin-top: auto;
}
.dm-jack-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.dm-jack {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: relative;
  transition: background 0.5s, box-shadow 0.5s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.dm-jack::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #020202;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.8);
}
.dm-jack-label {
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.5;
  transition: color 0.5s;
}

/* Panel art overlay */
.dm-panel-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.4;
  transition: opacity 0.5s;
}
.dial-module > *:not(.dm-panel-art) { position: relative; z-index: 1; }

/* Screws */
.dm-screw {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #555, #222);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 1px 2px rgba(0,0,0,0.4);
  z-index: 2;
}
.dm-screw.tl { top: 3px; left: 3px; }
.dm-screw.tr { top: 3px; right: 3px; }
.dm-screw.bl { bottom: 3px; left: 3px; }
.dm-screw.br { bottom: 3px; right: 3px; }

/* ── 6 MODE THEMES ── */

/* CLASSIC — clean cream/white, chrome knobs, green LEDs */
.dm-classic {
  background: linear-gradient(180deg, #f0ece4 0%, #e8e2d8 100%);
  border-color: rgba(0,0,0,0.12);
}
.dm-classic .dm-name { color: #333; }
.dm-classic .dm-scope { border-color: rgba(0,0,0,0.08); }
.dm-classic .dm-knob { background: radial-gradient(circle at 30% 25%, #eee, #999); }
.dm-classic .dm-knob::after { background: #333; }
.dm-classic .dm-knob-label, .dm-classic .dm-jack-label { color: #666; }
.dm-classic .dm-led { background: #33cc66; box-shadow: 0 0 6px rgba(51,204,102,0.6); }
.dm-classic .dm-jack { background: radial-gradient(circle at 35% 30%, #ccc, #888); }
.dm-classic .dm-panel-art svg { fill: rgba(0,0,0,0.04); }

/* WEIRD — glitchy purple/magenta, mismatched, neon */
.dm-weird {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1044 40%, #0a1628 100%);
  border-color: rgba(180,138,255,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 30px rgba(180,138,255,0.08);
}
.dm-weird .dm-name { color: #e8aaff; text-shadow: 0 0 8px rgba(180,138,255,0.5); }
.dm-weird .dm-scope { border-color: rgba(180,138,255,0.15); }
.dm-weird .dm-knob:nth-child(1) { background: radial-gradient(circle at 30% 25%, #ff44aa, #880044); }
.dm-weird .dm-knob:nth-child(2) { background: radial-gradient(circle at 30% 25%, #44ffcc, #006644); }
.dm-weird .dm-knob:nth-child(3) { background: radial-gradient(circle at 30% 25%, #ffcc00, #664400); }
.dm-weird .dm-knob::after { background: #fff; box-shadow: 0 0 3px rgba(255,255,255,0.5); }
.dm-weird .dm-knob-label, .dm-weird .dm-jack-label { color: #b48aff; }
.dm-weird .dm-led { background: #ff44dd; box-shadow: 0 0 8px rgba(255,68,221,0.7); }
.dm-weird .dm-led:nth-child(2) { background: #44ffcc; box-shadow: 0 0 8px rgba(68,255,204,0.7); }
.dm-weird .dm-led:nth-child(3) { background: #ffaa00; box-shadow: 0 0 8px rgba(255,170,0,0.7); }
.dm-weird .dm-jack { background: radial-gradient(circle at 35% 30%, #6633aa, #331166); box-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 0 4px rgba(180,138,255,0.15); }

/* SHADOW — dark navy/purple, dramatic, amber LEDs */
.dm-shadow {
  background: linear-gradient(180deg, #0c1220 0%, #141e30 50%, #0a0e18 100%);
  border-color: rgba(155,89,182,0.15);
}
.dm-shadow .dm-name { color: #d4aa66; text-shadow: 0 0 6px rgba(212,170,102,0.3); }
.dm-shadow .dm-scope { border-color: rgba(155,89,182,0.12); }
.dm-shadow .dm-knob { background: radial-gradient(circle at 30% 25%, #d4aa66, #6a5030); }
.dm-shadow .dm-knob::after { background: #1a1535; }
.dm-shadow .dm-knob-label, .dm-shadow .dm-jack-label { color: #9b59b6; }
.dm-shadow .dm-led { background: #ffaa44; box-shadow: 0 0 8px rgba(255,170,68,0.6); }
.dm-shadow .dm-jack { background: radial-gradient(circle at 35% 30%, #4466aa, #1a2a44); }

/* ANALOG — warm walnut/cream, bakelite knobs, orange LEDs */
.dm-analog {
  background: linear-gradient(180deg, #3a2a18 0%, #2a1e10 50%, #1a1208 100%);
  border-color: rgba(251,191,36,0.12);
}
.dm-analog .dm-name { color: #d4b070; }
.dm-analog .dm-scope { border-color: rgba(251,191,36,0.1); }
.dm-analog .dm-knob { background: radial-gradient(circle at 30% 25%, #c8a060, #6a4a28); }
.dm-analog .dm-knob::after { background: #2a1a0a; }
.dm-analog .dm-knob-label, .dm-analog .dm-jack-label { color: #fbbf24; }
.dm-analog .dm-led { background: #ff8833; box-shadow: 0 0 6px rgba(255,136,51,0.5); }
.dm-analog .dm-jack { background: radial-gradient(circle at 35% 30%, #8a6a40, #4a3420); }

/* DRIFT — deep blue/teal mist, smooth knobs, cyan LEDs */
.dm-drift {
  background: linear-gradient(180deg, #0a1a1a 0%, #081418 50%, #040e12 100%);
  border-color: rgba(96,165,250,0.12);
}
.dm-drift .dm-name { color: #60a5fa; text-shadow: 0 0 10px rgba(96,165,250,0.3); }
.dm-drift .dm-scope { border-color: rgba(96,165,250,0.1); }
.dm-drift .dm-knob { background: radial-gradient(circle at 30% 25%, #2a3a4a, #0a1a2a); }
.dm-drift .dm-knob::after { background: #60a5fa; box-shadow: 0 0 2px rgba(96,165,250,0.4); }
.dm-drift .dm-knob-label, .dm-drift .dm-jack-label { color: #60a5fa; }
.dm-drift .dm-led { background: #60a5fa; box-shadow: 0 0 10px rgba(96,165,250,0.6); }
.dm-drift .dm-jack { background: radial-gradient(circle at 35% 30%, #1a2a3a, #0a1218); }

/* DESTROY — black/magenta industrial, chunky, hot LEDs */
.dm-destroy {
  background: linear-gradient(180deg, #1a0808 0%, #0e0404 50%, #080202 100%);
  border-color: rgba(255,68,255,0.18);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 20px rgba(255,68,255,0.06);
}
.dm-destroy .dm-name { color: #ff44ff; text-shadow: 0 0 8px rgba(255,68,255,0.4); }
.dm-destroy .dm-scope { border-color: rgba(255,68,255,0.15); }
.dm-destroy .dm-knob { background: radial-gradient(circle at 30% 25%, #2a2a2a, #0a0a0a); box-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 0 0 1.5px rgba(255,68,255,0.08); }
.dm-destroy .dm-knob::after { background: #ff44ff; box-shadow: 0 0 3px rgba(255,68,255,0.5); }
.dm-destroy .dm-knob-label, .dm-destroy .dm-jack-label { color: #ff44ff; }
.dm-destroy .dm-led { background: #ff44ff; box-shadow: 0 0 10px rgba(255,68,255,0.8); }
.dm-destroy .dm-jack { background: radial-gradient(circle at 35% 30%, #1a1a1a, #080808); box-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,68,255,0.1); }

/* Scope waveform colors per mode */
.dm-classic .dm-scope-wave svg path { stroke: #33cc66; filter: drop-shadow(0 0 2px rgba(51,204,102,0.4)); }
.dm-weird .dm-scope-wave svg path { stroke: #ff44dd; filter: drop-shadow(0 0 3px rgba(255,68,221,0.5)); }
.dm-shadow .dm-scope-wave svg path { stroke: #9b59b6; filter: drop-shadow(0 0 2px rgba(155,89,182,0.4)); }
.dm-analog .dm-scope-wave svg path { stroke: #fbbf24; filter: drop-shadow(0 0 2px rgba(251,191,36,0.4)); }
.dm-drift .dm-scope-wave svg path { stroke: #60a5fa; filter: drop-shadow(0 0 3px rgba(96,165,250,0.4)); }
.dm-destroy .dm-scope-wave svg path { stroke: #ff44ff; filter: drop-shadow(0 0 3px rgba(255,68,255,0.5)); }

/* Scope waveform animation */
@keyframes dm-wave-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.dm-scope-wave svg {
  animation: dm-wave-drift 3s linear infinite;
  width: 200%;
}
.dm-scope-wave svg path {
  transition: d 0.6s ease, stroke 0.5s ease, filter 0.5s ease;
}

/* LED pulse per mode */
@keyframes dm-led-breathe {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.dial-module .dm-led {
  animation: dm-led-breathe 2s ease-in-out infinite;
}
.dial-module .dm-led:nth-child(2) { animation-delay: 0.4s; }
.dial-module .dm-led:nth-child(3) { animation-delay: 0.8s; }
.dial-module .dm-led:nth-child(4) { animation-delay: 1.2s; }

/* Knob rotation animation on mode switch */
.dial-module.morphing .dm-knob::after {
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Responsive: stack on mobile */
@media (max-width: 600px) {
  .mode-preview-body {
    flex-direction: column;
    align-items: center;
  }
  .dial-module {
    width: 100px;
    height: 170px;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECTION 4: HOW IT WORKS — Patch Cable
══════════════════════════════════════════════════════════════ */
.patch-section { padding: 120px 24px; }

.patch-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.patch-cable-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Connector lines between steps */
.step-connector {
  position: absolute;
  top: 24px;
  height: 3px;
  z-index: 0;
  overflow: visible;
}
.step-connector-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(180,138,255,0.08);
  border-radius: 2px;
}
.step-connector-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(123,79,255,0.4);
}
.step-connector.active .step-connector-fill {
  width: 100%;
}

/* Traveling pulse */
.step-connector-pulse {
  position: absolute;
  top: -4px;
  left: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(180,138,255,0.6), 0 0 24px rgba(123,79,255,0.3);
  opacity: 0;
  transition: none;
}
.step-connector.active .step-connector-pulse {
  opacity: 1;
  animation: travelPulse 1.5s ease-in-out infinite;
}
@keyframes travelPulse {
  0%   { left: -6px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}

@media (max-width: 720px) {
  .step-connector { display: none; }
}

.patch-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.patch-step {
  text-align: center;
  opacity: 0.3;
  transition: opacity 0.6s ease;
}
.patch-step.lit { opacity: 1; }

.patch-jack {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(180,138,255,0.2);
  background: var(--bg);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  position: relative;
}
.patch-step.lit .patch-jack {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(123,79,255,0.5), 0 0 40px rgba(123,79,255,0.2);
}
.patch-jack-inner {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(180,138,255,0.1);
  transition: background 0.5s;
}
.patch-step.lit .patch-jack-inner {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(123,79,255,0.6);
}

.patch-step-time {
  font-family: var(--font-terminal);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent2);
  text-shadow: 0 0 6px rgba(74,255,204,0.3);
  margin-bottom: 4px;
}
.patch-step-label {
  font-family: var(--font-terminal);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--accent-hot-legacy);
  margin-bottom: 8px;
}
.patch-step-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text2);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 5: CASCADING DEMO
══════════════════════════════════════════════════════════════ */
.demo-section { text-align: center; }

.demo-terminal {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(7,5,15,0.9);
  border: 1px solid rgba(180,138,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(14,13,24,0.8);
  border-bottom: 1px solid rgba(180,138,255,0.08);
}
.demo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.demo-dot.r { background: #ff5f57; }
.demo-dot.y { background: #ffbd2e; }
.demo-dot.g { background: #28c840; }
.demo-titlebar-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text2);
  margin-left: auto;
  text-transform: uppercase;
}

.demo-body {
  padding: 28px 28px 20px;
  font-family: var(--font-terminal);
  font-size: 16px;
  line-height: 1.7;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

.demo-phase {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
  position: absolute;
  inset: 28px 28px 20px;
  pointer-events: none;
}
.demo-phase.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.demo-phase.exiting {
  opacity: 0;
  transform: translateY(-10px);
  position: absolute;
}

.demo-prompt { color: var(--accent2); font-size: 15px; }
.demo-response { color: var(--accent); margin-left: 16px; line-height: 1.8; }
.demo-response span { display: block; opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.4s ease; }
.demo-response span.visible { opacity: 1; transform: translateY(0); }

/* Code with syntax coloring */
.demo-code {
  font-size: 13px;
  line-height: 2;
  white-space: pre;
  tab-size: 2;
}
.demo-code .line {
  display: block;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.demo-code .line.visible {
  opacity: 1;
  transform: translateX(0);
}
.code-keyword { color: var(--hot); }
.code-type { color: var(--accent); font-weight: 500; }
.code-func { color: var(--accent2); }
.code-string { color: var(--accent2); }
.code-num { color: #ffaa44; }
.code-comment { color: var(--text2); font-style: italic; }
.code-op { color: var(--accent); }

.demo-label {
  color: var(--hot);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse-dot 1.2s ease infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.demo-success {
  color: var(--user);
  font-size: 20px;
  text-shadow: 0 0 20px rgba(136,255,153,0.5);
  text-align: center;
  padding-top: 24px;
}
.demo-success .checkmark {
  display: inline-block;
  font-size: 36px;
  animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop-in { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Panel mockup — cute pink flower theme */
.demo-panel-mock {
  width: 100px;
  height: 180px;
  margin: 12px auto;
  border: 1px solid rgba(255,182,193,0.35);
  border-radius: 6px;
  background: linear-gradient(180deg, #2a1628 0%, #1e1024 40%, #1a0d20 100%);
  position: relative;
  box-shadow:
    0 6px 28px rgba(255,105,140,0.08),
    0 2px 8px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,200,210,0.06);
  animation: panel-bloom 0.8s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
}
.demo-panel-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,140,170,0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(255,180,200,0.03) 0%, transparent 40%);
  pointer-events: none;
}
@keyframes panel-bloom {
  0% { transform: scale(0.8) rotateY(20deg); opacity: 0; filter: blur(4px); }
  60% { filter: blur(0); }
  100% { transform: scale(1) rotateY(0); opacity: 1; filter: blur(0); }
}

/* Flower knobs — 5-petal shape via box-shadows */
.demo-panel-mock .mock-knob {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3d2040, #251530);
  border: 1.5px solid rgba(255,150,180,0.25);
  box-shadow: 0 0 6px rgba(255,120,160,0.12);
}
.mock-knob .petal {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  opacity: 0.5;
}
.mock-knob .petal:nth-child(1) { top: -3px; left: 50%; transform: translateX(-50%); }
.mock-knob .petal:nth-child(2) { top: 2px; right: -2px; }
.mock-knob .petal:nth-child(3) { bottom: 0px; right: 0px; }
.mock-knob .petal:nth-child(4) { bottom: 0px; left: 0px; }
.mock-knob .petal:nth-child(5) { top: 2px; left: -2px; }
/* Knob center pip */
.mock-knob::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,180,200,0.5);
  box-shadow: 0 0 4px rgba(255,150,180,0.3);
}

/* Petal-shaped jacks */
.demo-panel-mock .mock-jack {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,150,180,0.3);
  background: rgba(15,8,18,0.9);
  position: absolute;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5), 0 0 4px rgba(255,120,160,0.06);
}
/* Little leaf decoration near jacks */
.mock-jack::after {
  content: '';
  position: absolute;
  width: 4px; height: 6px;
  border-radius: 50% 50% 50% 0;
  background: rgba(120,200,140,0.3);
  top: -4px; right: -2px;
  transform: rotate(30deg);
}

.demo-panel-mock .mock-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 3.5px;
  color: rgba(255,180,200,0.45);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.demo-panel-mock .mock-title {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  font-size: 5.5px;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.mock-title-main {
  font-family: var(--font-terminal);
  color: #ffb0c8;
  text-shadow: 0 0 8px rgba(255,140,180,0.4);
}
.mock-title-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 3px;
  color: rgba(255,180,200,0.35);
  letter-spacing: 2px;
  text-align: center;
  margin-top: 1px;
}

/* Decorative stem line */
.mock-stem {
  position: absolute;
  width: 1px;
  background: rgba(120,200,140,0.15);
  border-radius: 1px;
}
/* Tiny flower decoration */
.mock-flower-deco {
  position: absolute;
  width: 6px; height: 6px;
  opacity: 0.3;
}
.mock-flower-deco::before {
  content: '\2740';
  font-size: 6px;
  color: rgba(255,160,190,0.6);
}

/* Mounting holes — rose gold */
.demo-panel-mock .mock-mount {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40,25,35,1), rgba(25,15,22,1));
  border: 0.5px solid rgba(255,150,180,0.1);
  left: 50%;
  transform: translateX(-50%);
}

/* Section divider line */
.mock-divider {
  position: absolute;
  left: 10px; right: 10px;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(255,150,180,0.15), transparent);
}

.demo-cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--accent);
  animation: blink 0.7s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.demo-progress {
  height: 3px;
  background: rgba(180,138,255,0.06);
  margin-top: 0;
  overflow: hidden;
}
.demo-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent2));
  background-size: 200% 100%;
  animation: shimmer-bar 2s ease infinite;
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1);
  border-radius: 0 2px 2px 0;
}
@keyframes shimmer-bar { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ══════════════════════════════════════════════════════════════
   SECTION 6: KNOWLEDGE ENGINE — Terminal Boot
══════════════════════════════════════════════════════════════ */
.knowledge-section { overflow: hidden; }

.boot-terminal {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(7,5,15,0.95);
  border: 1px solid rgba(74,255,204,0.12);
  border-radius: 8px;
  padding: 24px;
  font-family: var(--font-terminal);
  font-size: 15px;
  line-height: 1.6;
  min-height: 400px;
}

.boot-line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
  overflow: hidden;
}
.boot-line.visible {
  opacity: 1;
  transform: translateY(0);
}
.boot-line .domain { color: var(--accent); }
.boot-line .count { color: var(--accent2); }
.boot-line .check { color: var(--user); }
.boot-line .loading { color: var(--text2); }
.boot-ready {
  color: var(--user);
  font-size: 20px;
  text-shadow: 0 0 16px rgba(136,255,153,0.5);
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.4s;
}
.boot-ready.visible { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   SECTION 7: MODULE SHOWCASE — Carousel
══════════════════════════════════════════════════════════════ */
.showcase-section { padding-bottom: 60px; }

.carousel-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
  padding: 24px 0 20px;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 18px;
  animation: scroll-carousel 50s linear infinite;
  width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }

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

/* ── Module card as mini Eurorack panel ── */
.module-card {
  flex-shrink: 0;
  width: var(--card-w, 120px);
  height: 300px;
  border-radius: 4px;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s, border-color 0.4s;
}
.module-card:hover {
  box-shadow: 0 12px 40px var(--card-glow, rgba(123,79,255,0.2)), 0 4px 12px rgba(0,0,0,0.7);
  transform: translateY(-8px) scale(1.04);
  z-index: 5;
}

/* ════════════════════════════════════════
   MICRO-INTERACTIONS & ANIMATIONS
   ════════════════════════════════════════ */

/* ── LED blink animation ── */
@keyframes led-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes led-blink {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0.15; }
  100% { opacity: 1; }
}
@keyframes led-breathe {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 2px currentColor; }
  50% { opacity: 1; box-shadow: 0 0 6px currentColor; }
}
.module-card:hover .mc-led {
  animation: led-pulse 1.2s ease-in-out infinite;
}
.module-card:hover .mc-led:nth-child(odd) {
  animation: led-blink 0.8s ease-in-out infinite;
  animation-delay: 0.1s;
}
.module-card:hover .mc-led:nth-child(even) {
  animation: led-pulse 1.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

/* ── Scope / waveform trace animation ── */
@keyframes scope-scan {
  0% { transform: translateX(0); }
  100% { transform: translateX(-4px); }
}
@keyframes scope-glow {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 1px currentColor); }
  50% { filter: brightness(1.4) drop-shadow(0 0 3px currentColor); }
}
.module-card:hover .mc-scope svg polyline,
.module-card:hover .mc-scope svg path {
  animation: scope-glow 2s ease-in-out infinite;
}
.module-card:hover .mc-scope svg rect[fill-opacity] {
  animation: led-breathe 1.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.05s);
}

/* ── Knob hover — subtle rotate + glow ── */
.mc-knob {
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s;
}
.module-card:hover .mc-knob {
  box-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 0 6px var(--card-glow, rgba(123,79,255,0.08));
}
.module-card:hover .mc-knob::after {
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
  transform: translateX(-50%) rotate(15deg);
}
.module-card:hover .mc-knob:nth-child(2)::after {
  transform: translateX(-50%) rotate(-20deg);
}
.module-card:hover .mc-knob:nth-child(3)::after {
  transform: translateX(-50%) rotate(40deg);
}

/* ── Encoder hover — rotate indicator ── */
.mc-encoder {
  transition: transform 0.4s ease;
}
.mc-encoder::before {
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.module-card:hover .mc-encoder::before {
  transform: translateX(-50%) rotate(25deg);
}

/* ── Jack hover — ring glow pulse ── */
@keyframes jack-pulse {
  0%, 100% { box-shadow: 0 1px 2px rgba(0,0,0,0.6); }
  50% { box-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 4px var(--card-glow, rgba(123,79,255,0.15)); }
}
.mc-jack {
  transition: box-shadow 0.4s ease;
}
.module-card:hover .mc-jack {
  animation: jack-pulse 2.5s ease-in-out infinite;
}
.module-card:hover .mc-jack:nth-child(odd) {
  animation-delay: 0.3s;
}

/* ── Patchpoint hover — ring LED intensify ── */
@keyframes pp-glow {
  0%, 100% { box-shadow: 0 0 3px var(--pp-c, rgba(255,255,255,0.1)); }
  50% { box-shadow: 0 0 8px var(--pp-c, rgba(255,255,255,0.25)), 0 0 2px var(--pp-c, rgba(255,255,255,0.15)); }
}
.module-card:hover .mc-patchpoint {
  animation: pp-glow 2s ease-in-out infinite;
}
.module-card:hover .mc-patchpoint:nth-child(odd) {
  animation-delay: 0.5s;
}

/* ── Pad step animation — sequencer chase ── */
@keyframes pad-chase {
  0%, 100% { opacity: 0.6; }
  12.5% { opacity: 1; box-shadow: 0 0 3px var(--card-glow, rgba(123,79,255,0.3)); }
  25% { opacity: 0.6; }
}
.module-card:hover .mc-pad.lit {
  animation: pad-chase 2s ease-in-out infinite;
}
.module-card:hover .mc-pad.lit:nth-child(1) { animation-delay: 0s; }
.module-card:hover .mc-pad.lit:nth-child(2) { animation-delay: 0.15s; }
.module-card:hover .mc-pad.lit:nth-child(3) { animation-delay: 0.3s; }
.module-card:hover .mc-pad.lit:nth-child(4) { animation-delay: 0.45s; }
.module-card:hover .mc-pad.lit:nth-child(5) { animation-delay: 0.6s; }
.module-card:hover .mc-pad.lit:nth-child(6) { animation-delay: 0.75s; }
.module-card:hover .mc-pad.lit:nth-child(7) { animation-delay: 0.9s; }
.module-card:hover .mc-pad.lit:nth-child(8) { animation-delay: 1.05s; }

/* ── VU meter bounce ── */
@keyframes vu-bounce {
  0%, 100% { opacity: 0.5; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}
.module-card:hover .mc-vu-seg.lit {
  animation: vu-bounce 0.8s ease-in-out infinite;
}
.module-card:hover .mc-vu-seg.lit:nth-child(1) { animation-delay: 0s; }
.module-card:hover .mc-vu-seg.lit:nth-child(2) { animation-delay: 0.08s; }
.module-card:hover .mc-vu-seg.lit:nth-child(3) { animation-delay: 0.16s; }
.module-card:hover .mc-vu-seg.lit:nth-child(4) { animation-delay: 0.24s; }
.module-card:hover .mc-vu-seg.lit:nth-child(5) { animation-delay: 0.32s; }

/* ── XY pad dot drift ── */
@keyframes xy-drift {
  0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
  25% { transform: translate(-50%, -50%) translate(3px, -2px); }
  50% { transform: translate(-50%, -50%) translate(-2px, 3px); }
  75% { transform: translate(-50%, -50%) translate(2px, 1px); }
}
.module-card:hover .mc-xypad-dot {
  animation: xy-drift 4s ease-in-out infinite;
}

/* ── Segment display flicker ── */
@keyframes seg-flicker {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: 0.6; }
  98% { opacity: 1; }
  99% { opacity: 0.7; }
}
.module-card:hover .mc-segment {
  animation: seg-flicker 3s linear infinite;
}

/* ── Slider thumb subtle shift ── */
.mc-slider::after {
  transition: left 1.2s cubic-bezier(0.22,1,0.36,1);
}
.module-card:hover .mc-slider::after {
  left: 65%;
}

/* ── Toggle switch flip ── */
.mc-toggle::after {
  transition: top 0.4s cubic-bezier(0.22,1,0.36,1);
}
.module-card:hover .mc-toggle::after {
  top: calc(100% - 9px);
}

/* ── Button momentary flash ── */
@keyframes btn-flash {
  0%, 80%, 100% { opacity: 1; }
  85% { opacity: 0.5; box-shadow: 0 1px 3px rgba(0,0,0,0.5), inset 0 0 4px rgba(255,255,255,0.15); }
  90% { opacity: 1; }
}
.module-card:hover .mc-btn {
  animation: btn-flash 3s ease-in-out infinite;
}
.module-card:hover .mc-btn:nth-child(odd) { animation-delay: 0.5s; }
.module-card:hover .mc-btn:nth-child(even) { animation-delay: 1.2s; }

/* ── Screw — subtle rotate on hover ── */
.mc-screw {
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}
.module-card:hover .mc-screw {
  transform: translateX(-50%) rotate(30deg);
}

/* ── Panel art overlay — intensify on hover ── */
.mc-panel-art {
  transition: opacity 0.6s ease;
}
.module-card:hover .mc-panel-art {
  opacity: 1;
}

/* ── Module name text — subtle glow on hover ── */
.mc-name {
  transition: text-shadow 0.4s ease, letter-spacing 0.6s cubic-bezier(0.22,1,0.36,1);
}
.module-card:hover .mc-name {
  text-shadow: 0 0 8px var(--card-glow, rgba(123,79,255,0.3));
  letter-spacing: 1.5px;
}

/* HP widths */
.mc-4hp  { --card-w: 66px; }
.mc-6hp  { --card-w: 86px; }
.mc-8hp  { --card-w: 108px; }
.mc-10hp { --card-w: 130px; }
.mc-12hp { --card-w: 152px; }
.mc-14hp { --card-w: 170px; }
.mc-16hp { --card-w: 186px; }
.mc-20hp { --card-w: 220px; }

/* Panel inner fills entire card */
.mc-panel {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 14px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Mounting screws */
.mc-screw {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}
.mc-screw.top { top: 4px; }
.mc-screw.bot { bottom: 4px; }

/* Shared component primitives */
.mc-name {
  font-family: var(--font-terminal);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-align: center;
  margin-top: 0;
  white-space: nowrap;
}
.mc-type {
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 6px;
  opacity: 0.5;
}
/* ── Knobs — realistic dial with skirt, cap, pointer ── */
.mc-knob {
  width: 16px; height: 16px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  /* outer skirt ring */
  box-shadow: 0 2px 3px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.mc-knob::before {
  /* inner cap / top surface */
  content: '';
  position: absolute;
  top: 2px; left: 2px; right: 2px; bottom: 2px;
  border-radius: 50%;
  background: inherit;
  filter: brightness(1.15);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.1), inset 0 -1px 1px rgba(0,0,0,0.2);
}
.mc-knob::after {
  /* pointer indicator line */
  content: '';
  position: absolute;
  top: 1px; left: 50%;
  transform: translateX(-50%) rotate(-30deg);
  transform-origin: bottom center;
  width: 1.5px; height: 5px;
  border-radius: 1px;
  z-index: 1;
}
.mc-knob-lg { width: 22px; height: 22px; }
.mc-knob-lg::before { top: 3px; left: 3px; right: 3px; bottom: 3px; }
.mc-knob-lg::after { height: 7px; top: 2px; width: 1.5px; }

/* ── Jacks / Ports — hex nut ring with socket hole ── */
.mc-jack {
  width: 12px; height: 12px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  /* outer ring — the hex nut / collar */
  box-shadow: 0 1px 2px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}
.mc-jack::before {
  /* nut face texture — conic gradient simulates hex facets */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255,255,255,0.05) 0deg, rgba(0,0,0,0.05) 60deg,
    rgba(255,255,255,0.05) 60deg, rgba(0,0,0,0.05) 120deg,
    rgba(255,255,255,0.05) 120deg, rgba(0,0,0,0.05) 180deg,
    rgba(255,255,255,0.05) 180deg, rgba(0,0,0,0.05) 240deg,
    rgba(255,255,255,0.05) 240deg, rgba(0,0,0,0.05) 300deg,
    rgba(255,255,255,0.05) 300deg, rgba(0,0,0,0.05) 360deg
  );
}
.mc-jack::after {
  /* center socket hole */
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #020202;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 0 0 0.5px rgba(80,80,80,0.2);
}
.mc-label {
  font-family: var(--font-mono);
  font-size: 3.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.mc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0 8px;
}
.mc-col { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mc-divider {
  width: calc(100% - 16px);
  height: 0.5px;
  margin: 4px auto;
}
.mc-jacks-section { padding-bottom: 0; }

/* ── Mini display / screen ── */
.mc-screen {
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.mc-screen-text {
  font-family: var(--font-terminal);
  position: absolute;
  white-space: nowrap;
}

/* ── LED indicators ── */
.mc-led {
  width: 4px; height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mc-led-row { display: flex; gap: 3px; justify-content: center; align-items: center; }

/* ── Slider / fader ── */
.mc-slider {
  width: 60px; height: 6px;
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.08);
}
.mc-slider::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 2px;
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 35%, rgba(80,70,100,0.9), rgba(30,25,45,0.95));
  border: 0.5px solid rgba(255,255,255,0.1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ── Toggle switch ── */
.mc-toggle {
  width: 8px; height: 16px;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.1);
}
.mc-toggle::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  position: absolute;
  left: 50%; top: 3px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(180,170,200,0.7), rgba(80,70,100,0.8));
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* ── Waveform display ── */
.mc-waveform {
  height: 20px;
  position: relative;
  overflow: hidden;
}
.mc-waveform svg { width: 100%; height: 100%; }

/* ── Step buttons / pads ── */
.mc-pad {
  width: 8px; height: 8px;
  border-radius: 1px;
  flex-shrink: 0;
}
.mc-pads-row { display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; }

/* ── Big encoder / endless knob ── */
.mc-encoder {
  width: 26px; height: 26px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(from 210deg, transparent 0deg, var(--enc-c, rgba(180,138,255,0.3)) 120deg, transparent 240deg, transparent 360deg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mc-encoder::after {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(60,50,80,0.8), rgba(20,16,30,0.95));
  border: 0.5px solid rgba(255,255,255,0.08);
}
.mc-encoder::before {
  content: '';
  position: absolute;
  top: 3px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 6px;
  border-radius: 1px;
  background: rgba(255,255,255,0.3);
  z-index: 1;
}

/* ── XY pad ── */
.mc-xypad {
  position: relative;
  border-radius: 3px;
  background: rgba(6,4,10,0.85);
  border: 0.5px solid rgba(255,255,255,0.06);
  margin: 0 auto;
}
.mc-xypad::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--xy-c, #fff) 0.3px, transparent 0.3px),
    linear-gradient(90deg, var(--xy-c, #fff) 0.3px, transparent 0.3px);
  background-size: 25% 25%;
  opacity: 0.06;
  pointer-events: none;
}
.mc-xypad-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  position: absolute;
  background: var(--xy-c, #fff);
  box-shadow: 0 0 6px var(--xy-c, #fff);
  transform: translate(-50%, -50%);
}
.mc-xypad-crosshair { position: absolute; opacity: 0.15; }

/* ── Segment display (7-seg style) ── */
.mc-segment {
  font-family: var(--font-terminal);
  font-size: 11px;
  letter-spacing: 2px;
  text-align: center;
  padding: 3px 6px;
  border-radius: 2px;
  background: rgba(4,2,8,0.9);
  color: var(--seg-c, #0f0);
  text-shadow: 0 0 4px var(--seg-c, #0f0);
  border: 0.5px solid rgba(255,255,255,0.05);
}

/* ── Button (momentary) ── */
.mc-btn {
  width: 10px; height: 10px;
  border-radius: 2px;
  border: none;
  position: relative;
  background: var(--btn-c, rgba(255,255,255,0.15));
  box-shadow: 0 1px 3px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── Patch point with ring LED ── */
.mc-patchpoint {
  width: 12px; height: 12px;
  border-radius: 50%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(6,4,10,0.9) 35%, var(--pp-c, rgba(255,255,255,0.2)) 60%, transparent 75%);
  box-shadow: 0 0 4px var(--pp-c, rgba(255,255,255,0.1));
  flex-shrink: 0;
}
.mc-patchpoint::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(2,1,4,0.95);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.8);
}

/* ── Scope / oscilloscope ── */
.mc-scope {
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background: rgba(4,2,8,0.9);
  border: 0.5px solid rgba(255,255,255,0.06);
  margin: 0 auto;
}
.mc-scope-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 25% 25%;
}

/* ── VU meter ── */
.mc-vu {
  display: flex;
  flex-direction: column-reverse;
  gap: 1px;
  align-items: center;
}
.mc-vu-seg {
  width: 6px; height: 2px;
  border-radius: 0.5px;
  opacity: 0.2;
}
.mc-vu-seg.lit { opacity: 0.8; }

/* ════════════════════════════════════════
   PER-MODULE THEMES — Unique Panel Art
   ════════════════════════════════════════ */

/* Panel art overlay — shared positioning */
.mc-panel-art {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; opacity: 0.75;
}
.mc-panel > *:not(.mc-panel-art):not(.mc-screw) { position: relative; z-index: 1; }

/* ── 1. Mycelium — Bio earth tones, subtle bioluminescent teal glow ── */
.mc-mycelium {
  background: linear-gradient(180deg, #1a1e14 0%, #161a10 50%, #181c12 100%);
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(26,165,155,0.008) 2px, rgba(26,165,155,0.008) 2.5px),
    repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(26,165,155,0.006) 8px, rgba(26,165,155,0.006) 8.5px),
    radial-gradient(ellipse at 50% 40%, rgba(26,165,155,0.02) 0%, transparent 50%),
    linear-gradient(180deg, #1a1e14, #161a10 50%, #181c12);
  border: 1px solid rgba(26,165,155,0.25);
  --card-glow: rgba(26,220,200,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), inset 0 0 30px rgba(0,0,0,0.2);
}
.mc-mycelium .mc-screw { background: radial-gradient(circle at 40% 35%, #4a6050, #1a2818); border: 0.5px solid rgba(26,165,155,0.3); }
.mc-mycelium .mc-name { color: #8fd8cc; }
.mc-mycelium .mc-type { color: rgba(26,165,155,0.45); }
.mc-mycelium .mc-knob { background: radial-gradient(circle at 35% 30%, #2a4038, #0c1810); border: 1px solid rgba(26,165,155,0.3); box-shadow: 0 2px 3px rgba(0,0,0,0.5), 0 0 0 1px rgba(26,165,155,0.06); }
.mc-mycelium .mc-knob::before { background: radial-gradient(circle at 40% 30%, #3a5048, #161c18); box-shadow: inset 0 1px 1px rgba(26,220,200,0.06); }
.mc-mycelium .mc-knob::after { background: rgba(26,220,200,0.4); box-shadow: 0 0 2px rgba(26,220,200,0.3); width: 2px; }
.mc-mycelium .mc-jack { background: radial-gradient(circle at 40% 35%, #1a3030, #060e0c); border: 1.5px solid rgba(26,165,155,0.2); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mc-mycelium .mc-jack::before { background: conic-gradient(from 0deg, rgba(26,165,155,0.04) 0deg, transparent 60deg, rgba(26,165,155,0.04) 120deg, transparent 180deg, rgba(26,165,155,0.04) 240deg, transparent 300deg); }
.mc-mycelium .mc-jack::after { background: #04080a; }
.mc-mycelium .mc-label { color: rgba(26,200,180,0.45); }
.mc-mycelium .mc-divider { background: linear-gradient(90deg, transparent, rgba(26,165,155,0.1), transparent); }
.mc-mycelium .mc-encoder { --enc-c: rgba(26,165,155,0.4); }
.mc-mycelium .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #2a4038, #0c1810); border: 0.5px solid rgba(26,165,155,0.3); }
.mc-mycelium .mc-encoder::before { background: rgba(26,220,200,0.35); }

/* ── 2. Voidlung — Deep void black, crimson membrane glow ── */
.mc-voidlung {
  background: linear-gradient(180deg, #0a0808 0%, #080606 50%, #0a0808 100%);
  background-image:
    radial-gradient(ellipse at 50% 35%, rgba(220,30,80,0.04) 0%, transparent 45%),
    radial-gradient(circle at 30% 70%, rgba(220,30,80,0.015) 0%, transparent 30%),
    repeating-linear-gradient(0deg, transparent 0, transparent 10px, rgba(220,30,80,0.006) 10px, rgba(220,30,80,0.006) 10.5px),
    linear-gradient(180deg, #0a0808, #080606 50%, #0a0808);
  border: 1px solid rgba(60,20,35,0.5);
  --card-glow: rgba(220,50,100,0.15);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6), inset 0 0 50px rgba(0,0,0,0.2);
}
.mc-voidlung .mc-screw { background: radial-gradient(circle at 40% 35%, #555, #222); border: 0.5px solid rgba(100,100,100,0.3); }
.mc-voidlung .mc-name { color: #dd4466; text-shadow: 0 0 6px rgba(220,80,120,0.3); }
.mc-voidlung .mc-type { color: rgba(220,80,120,0.35); }
.mc-voidlung .mc-knob { background: radial-gradient(circle at 35% 30%, #2a1820, #0a0a0a); border: 1px solid rgba(80,40,60,0.5); box-shadow: 0 2px 3px rgba(0,0,0,0.6), 0 0 0 1px rgba(220,50,100,0.04); }
.mc-voidlung .mc-knob::before { background: radial-gradient(circle at 40% 30%, #3a2830, #121010); box-shadow: inset 0 0 4px rgba(220,50,100,0.03); }
.mc-voidlung .mc-knob::after { background: rgba(220,80,140,0.5); box-shadow: 0 0 3px rgba(220,50,100,0.4); width: 2px; }
.mc-voidlung .mc-jack { background: #080606; border: 1.5px solid rgba(220,50,100,0.12); box-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 3px rgba(220,50,100,0.04); }
.mc-voidlung .mc-jack::before { background: conic-gradient(from 0deg, rgba(220,50,100,0.04) 0deg, transparent 60deg, rgba(220,50,100,0.04) 120deg, transparent 180deg, rgba(220,50,100,0.04) 240deg, transparent 300deg); }
.mc-voidlung .mc-jack::after { background: #020202; box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 0 1px rgba(220,50,100,0.08); }
.mc-voidlung .mc-label { color: rgba(220,100,150,0.4); }
.mc-voidlung .mc-divider { background: linear-gradient(90deg, transparent, rgba(220,50,100,0.08), transparent); }
.mc-voidlung .mc-scope { background: #050404; border: 1px solid rgba(220,50,100,0.12); box-shadow: inset 0 0 8px rgba(0,0,0,0.5); }

/* ── 3. Hexritual — Obsidian black, golden occult highlights ── */
.mc-hexritual {
  background: linear-gradient(180deg, #0e0d0c 0%, #0a0908 50%, #0c0b0a 100%);
  background-image:
    repeating-linear-gradient(30deg, transparent 0, transparent 3px, rgba(200,180,80,0.006) 3px, rgba(200,180,80,0.006) 3.5px),
    repeating-linear-gradient(60deg, transparent 0, transparent 5px, rgba(200,180,80,0.004) 5px, rgba(200,180,80,0.004) 5.5px),
    radial-gradient(circle at 50% 50%, rgba(200,180,80,0.015) 0%, transparent 50%),
    linear-gradient(180deg, #0e0d0c, #0a0908 50%, #0c0b0a);
  border: 1px solid rgba(160,140,60,0.25);
  --card-glow: rgba(220,180,80,0.14);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6), inset 0 0 50px rgba(0,0,0,0.2);
}
.mc-hexritual .mc-screw { background: radial-gradient(circle at 40% 35%, #888860, #3a3820); border: 0.5px solid rgba(160,140,60,0.3); }
.mc-hexritual .mc-name { color: #d4c060; text-shadow: 0 0 6px rgba(200,180,80,0.3); }
.mc-hexritual .mc-type { color: rgba(160,140,60,0.35); }
.mc-hexritual .mc-knob { background: radial-gradient(circle at 35% 30%, #2a2820, #0c0a08); border: 1px solid rgba(80,70,35,0.5); box-shadow: 0 2px 3px rgba(0,0,0,0.6), 0 0 0 1px rgba(200,180,80,0.04); }
.mc-hexritual .mc-knob::before { background: radial-gradient(circle at 40% 30%, #3a3830, #141210); box-shadow: inset 0 0 4px rgba(200,180,80,0.03); }
.mc-hexritual .mc-knob::after { background: rgba(200,180,100,0.45); box-shadow: 0 0 2px rgba(200,180,80,0.3); width: 2px; }
.mc-hexritual .mc-jack { background: #080804; border: 1.5px solid rgba(160,140,60,0.12); box-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 3px rgba(200,180,80,0.04); }
.mc-hexritual .mc-jack::before { background: conic-gradient(from 0deg, rgba(200,180,80,0.04) 0deg, transparent 60deg, rgba(200,180,80,0.04) 120deg, transparent 180deg, rgba(200,180,80,0.04) 240deg, transparent 300deg); }
.mc-hexritual .mc-jack::after { background: #020202; box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 0 1px rgba(200,180,80,0.06); }
.mc-hexritual .mc-label { color: rgba(180,160,80,0.4); }
.mc-hexritual .mc-divider { background: linear-gradient(90deg, transparent, rgba(200,180,80,0.08), transparent); }
.mc-hexritual .mc-encoder { --enc-c: rgba(200,180,80,0.4); }
.mc-hexritual .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #2a2820, #0c0a08); border: 0.5px solid rgba(160,140,60,0.3); }
.mc-hexritual .mc-encoder::before { background: rgba(200,180,100,0.35); }

/* ── 4. Timefossil — Amber stone, layered strata gradients ── */
.mc-timefossil {
  background: linear-gradient(180deg, #1e1a14 0%, #1a1610 50%, #1c1812 100%);
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(180,130,60,0.01) 2px, rgba(180,130,60,0.01) 2.5px),
    repeating-linear-gradient(90deg, transparent 0, transparent 6px, rgba(140,100,40,0.008) 6px, rgba(140,100,40,0.008) 6.5px),
    radial-gradient(ellipse at 50% 50%, rgba(160,110,50,0.02) 0%, transparent 50%),
    linear-gradient(180deg, #1e1a14, #1a1610 50%, #1c1812);
  border: 1px solid rgba(160,120,60,0.3);
  --card-glow: rgba(200,140,60,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), inset 0 0 30px rgba(0,0,0,0.2);
}
.mc-timefossil .mc-screw { background: radial-gradient(circle at 40% 35%, #9a7050, #4a3820); border: 0.5px solid rgba(160,120,60,0.3); }
.mc-timefossil .mc-name { color: #d4a060; }
.mc-timefossil .mc-type { color: rgba(140,100,50,0.45); }
.mc-timefossil .mc-knob { background: radial-gradient(circle at 35% 30%, #4a3820, #1a1408); border: 1px solid rgba(100,80,40,0.35); box-shadow: 0 2px 3px rgba(0,0,0,0.5), 0 0 0 1px rgba(160,120,60,0.06); }
.mc-timefossil .mc-knob::before { background: radial-gradient(circle at 40% 30%, #5a4828, #2a1c10); box-shadow: inset 0 1px 1px rgba(180,130,80,0.04); }
.mc-timefossil .mc-knob::after { background: rgba(180,130,60,0.45); box-shadow: 0 0 2px rgba(160,120,60,0.3); width: 2px; }
.mc-timefossil .mc-jack { background: radial-gradient(circle at 40% 35%, #2a1c10, #0a0804); border: 1.5px solid rgba(100,80,40,0.3); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mc-timefossil .mc-jack::before { background: conic-gradient(from 0deg, rgba(160,120,60,0.04) 0deg, transparent 60deg, rgba(160,120,60,0.04) 120deg, transparent 180deg, rgba(160,120,60,0.04) 240deg, transparent 300deg); }
.mc-timefossil .mc-jack::after { background: #040402; }
.mc-timefossil .mc-label { color: rgba(180,130,70,0.5); }
.mc-timefossil .mc-divider { background: linear-gradient(90deg, transparent, rgba(160,120,60,0.1), transparent); }
.mc-timefossil .mc-encoder { --enc-c: rgba(160,120,60,0.4); }
.mc-timefossil .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #3a2818, #141008); border: 0.5px solid rgba(100,80,40,0.35); }
.mc-timefossil .mc-encoder::before { background: rgba(180,130,60,0.4); }

/* ── 5. Plasmaarc — Near black, electric blue plasma highlights ── */
.mc-plasmaarc {
  background: linear-gradient(180deg, #0c0c14 0%, #08080c 50%, #0a0a12 100%);
  background-image:
    radial-gradient(ellipse at 50% 35%, rgba(0,150,255,0.05) 0%, transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(0,150,255,0.02) 0%, transparent 25%),
    repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(0,150,255,0.005) 8px, rgba(0,150,255,0.005) 8.5px),
    linear-gradient(180deg, #0c0c14, #08080c 50%, #0a0a12);
  border: 1px solid rgba(30,80,150,0.3);
  --card-glow: rgba(0,180,255,0.15);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6), inset 0 0 50px rgba(0,0,0,0.2);
}
.mc-plasmaarc .mc-screw { background: radial-gradient(circle at 40% 35%, #3a5070, #0a1820); border: 0.5px solid rgba(30,80,150,0.3); }
.mc-plasmaarc .mc-name { color: #4cb8ff; text-shadow: 0 0 6px rgba(0,150,255,0.3); }
.mc-plasmaarc .mc-type { color: rgba(0,150,255,0.35); }
.mc-plasmaarc .mc-knob { background: radial-gradient(circle at 35% 30%, #1a2a40, #0a0c14); border: 1px solid rgba(30,80,150,0.5); box-shadow: 0 2px 3px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,150,255,0.04); }
.mc-plasmaarc .mc-knob::before { background: radial-gradient(circle at 40% 30%, #2a3a50, #121820); box-shadow: inset 0 0 4px rgba(0,150,255,0.03); }
.mc-plasmaarc .mc-knob::after { background: rgba(0,200,255,0.5); box-shadow: 0 0 3px rgba(0,150,255,0.4); width: 2px; }
.mc-plasmaarc .mc-jack { background: #080810; border: 1.5px solid rgba(0,150,255,0.12); box-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 3px rgba(0,150,255,0.04); }
.mc-plasmaarc .mc-jack::before { background: conic-gradient(from 0deg, rgba(0,150,255,0.04) 0deg, transparent 60deg, rgba(0,150,255,0.04) 120deg, transparent 180deg, rgba(0,150,255,0.04) 240deg, transparent 300deg); }
.mc-plasmaarc .mc-jack::after { background: #020208; box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 0 1px rgba(0,150,255,0.08); }
.mc-plasmaarc .mc-label { color: rgba(0,180,220,0.4); }
.mc-plasmaarc .mc-divider { background: linear-gradient(90deg, transparent, rgba(0,150,255,0.08), transparent); }
.mc-plasmaarc .mc-scope { background: #050508; border: 1px solid rgba(0,150,255,0.12); box-shadow: inset 0 0 8px rgba(0,0,0,0.5); }

/* ── 6. Dreamcodec — Deep indigo, subtle violet EEG glow ── */
.mc-dreamcodec {
  background: linear-gradient(180deg, #12101e 0%, #0e0c18 50%, #10101a 100%);
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(140,100,200,0.008) 2px, rgba(140,100,200,0.008) 2.5px),
    repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(100,80,180,0.006) 8px, rgba(100,80,180,0.006) 8.5px),
    radial-gradient(ellipse at 50% 40%, rgba(120,100,200,0.02) 0%, transparent 50%),
    linear-gradient(180deg, #12101e, #0e0c18 50%, #10101a);
  border: 1px solid rgba(100,80,160,0.25);
  --card-glow: rgba(140,120,200,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), inset 0 0 30px rgba(0,0,0,0.2);
}
.mc-dreamcodec .mc-screw { background: radial-gradient(circle at 40% 35%, #6a5a80, #2a1a40); border: 0.5px solid rgba(100,80,160,0.3); }
.mc-dreamcodec .mc-name { color: #a8a0d8; }
.mc-dreamcodec .mc-type { color: rgba(100,80,160,0.45); }
.mc-dreamcodec .mc-knob { background: radial-gradient(circle at 35% 30%, #2a2040, #0c0810); border: 1px solid rgba(80,60,140,0.3); box-shadow: 0 2px 3px rgba(0,0,0,0.5), 0 0 0 1px rgba(100,80,160,0.06); }
.mc-dreamcodec .mc-knob::before { background: radial-gradient(circle at 40% 30%, #3a3050, #141020); box-shadow: inset 0 1px 1px rgba(120,100,180,0.06); }
.mc-dreamcodec .mc-knob::after { background: rgba(140,120,200,0.4); box-shadow: 0 0 2px rgba(120,100,180,0.3); width: 2px; }
.mc-dreamcodec .mc-jack { background: radial-gradient(circle at 40% 35%, #1a1428, #060408); border: 1.5px solid rgba(80,60,140,0.2); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mc-dreamcodec .mc-jack::before { background: conic-gradient(from 0deg, rgba(100,80,160,0.04) 0deg, transparent 60deg, rgba(100,80,160,0.04) 120deg, transparent 180deg, rgba(100,80,160,0.04) 240deg, transparent 300deg); }
.mc-dreamcodec .mc-jack::after { background: #04040a; }
.mc-dreamcodec .mc-label { color: rgba(120,100,180,0.45); }
.mc-dreamcodec .mc-divider { background: linear-gradient(90deg, transparent, rgba(100,80,160,0.1), transparent); }
.mc-dreamcodec .mc-encoder { --enc-c: rgba(100,80,160,0.4); }
.mc-dreamcodec .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #2a2040, #0c0810); border: 0.5px solid rgba(80,60,140,0.3); }
.mc-dreamcodec .mc-encoder::before { background: rgba(140,120,200,0.35); }

/* ── 7. Velvetgate — Rich burgundy, gold filigree accents ── */
.mc-velvetgate {
  background: linear-gradient(180deg, #201418 0%, #1a1014 50%, #1e1216 100%);
  background-image:
    repeating-linear-gradient(30deg, transparent 0, transparent 3px, rgba(180,140,80,0.006) 3px, rgba(180,140,80,0.006) 3.5px),
    repeating-linear-gradient(60deg, transparent 0, transparent 5px, rgba(150,100,60,0.004) 5px, rgba(150,100,60,0.004) 5.5px),
    radial-gradient(ellipse at 50% 50%, rgba(140,100,70,0.015) 0%, transparent 50%),
    linear-gradient(180deg, #201418, #1a1014 50%, #1e1216);
  border: 1px solid rgba(120,80,100,0.3);
  --card-glow: rgba(200,140,100,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), inset 0 0 30px rgba(0,0,0,0.2);
}
.mc-velvetgate .mc-screw { background: radial-gradient(circle at 40% 35%, #8a6070, #3a2030); border: 0.5px solid rgba(120,80,100,0.3); }
.mc-velvetgate .mc-name { color: #c8a880; }
.mc-velvetgate .mc-type { color: rgba(140,100,80,0.45); }
.mc-velvetgate .mc-knob { background: radial-gradient(circle at 35% 30%, #3a2830, #0c0810); border: 1px solid rgba(100,60,80,0.35); box-shadow: 0 2px 3px rgba(0,0,0,0.5), 0 0 0 1.5px rgba(140,100,80,0.04); }
.mc-velvetgate .mc-knob::before { background: radial-gradient(circle at 40% 30%, #4a3840, #1a1020); box-shadow: inset 0 1px 1px rgba(160,120,80,0.04); }
.mc-velvetgate .mc-knob::after { background: rgba(200,140,100,0.45); box-shadow: 0 0 2px rgba(180,120,80,0.3); width: 2px; }
.mc-velvetgate .mc-jack { background: radial-gradient(circle at 40% 35%, #2a1820, #0a0608); border: 1.5px solid rgba(100,60,80,0.3); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mc-velvetgate .mc-jack::before { background: conic-gradient(from 0deg, rgba(140,100,80,0.04) 0deg, transparent 60deg, rgba(140,100,80,0.04) 120deg, transparent 180deg, rgba(140,100,80,0.04) 240deg, transparent 300deg); }
.mc-velvetgate .mc-jack::after { background: #060404; }
.mc-velvetgate .mc-label { color: rgba(160,120,90,0.5); }
.mc-velvetgate .mc-divider { background: linear-gradient(90deg, transparent, rgba(140,100,80,0.1), transparent); }
.mc-velvetgate .mc-encoder { --enc-c: rgba(140,100,80,0.4); }
.mc-velvetgate .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #3a2830, #0c0810); border: 0.5px solid rgba(100,60,80,0.35); }
.mc-velvetgate .mc-encoder::before { background: rgba(200,140,100,0.35); }

/* ── 8. Glacier — Deep blue-black, ice crystal blue highlights ── */
.mc-glacier {
  background: linear-gradient(180deg, #0e1418 0%, #0a1014 50%, #0c1216 100%);
  background-image:
    radial-gradient(ellipse at 50% 35%, rgba(100,200,255,0.04) 0%, transparent 45%),
    radial-gradient(circle at 30% 70%, rgba(100,200,255,0.015) 0%, transparent 30%),
    repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(100,200,255,0.005) 8px, rgba(100,200,255,0.005) 8.5px),
    linear-gradient(180deg, #0e1418, #0a1014 50%, #0c1216);
  border: 1px solid rgba(80,140,180,0.25);
  --card-glow: rgba(100,200,255,0.12);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5), inset 0 0 40px rgba(0,0,0,0.15);
}
.mc-glacier .mc-screw { background: radial-gradient(circle at 40% 35%, #5a7a98, #1a2a40); border: 0.5px solid rgba(80,140,180,0.3); }
.mc-glacier .mc-name { color: #7ac8ff; }
.mc-glacier .mc-type { color: rgba(100,160,200,0.45); }
.mc-glacier .mc-knob { background: radial-gradient(circle at 35% 30%, #2a4060, #0c1020); border: 1px solid rgba(60,120,160,0.3); box-shadow: 0 2px 3px rgba(0,0,0,0.5), 0 0 0 1px rgba(100,200,255,0.06); }
.mc-glacier .mc-knob::before { background: radial-gradient(circle at 40% 30%, #3a5070, #151f30); box-shadow: inset 0 1px 1px rgba(100,200,255,0.06); }
.mc-glacier .mc-knob::after { background: rgba(120,220,255,0.4); box-shadow: 0 0 2px rgba(100,200,255,0.3); width: 2px; }
.mc-glacier .mc-jack { background: radial-gradient(circle at 40% 35%, #1a3050, #060c14); border: 1.5px solid rgba(60,120,160,0.25); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mc-glacier .mc-jack::before { background: conic-gradient(from 0deg, rgba(100,200,255,0.04) 0deg, transparent 60deg, rgba(100,200,255,0.04) 120deg, transparent 180deg, rgba(100,200,255,0.04) 240deg, transparent 300deg); }
.mc-glacier .mc-jack::after { background: #040a10; }
.mc-glacier .mc-label { color: rgba(100,180,220,0.45); }
.mc-glacier .mc-divider { background: linear-gradient(90deg, transparent, rgba(100,180,220,0.1), transparent); }
.mc-glacier .mc-encoder { --enc-c: rgba(100,200,255,0.4); }
.mc-glacier .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #2a4060, #0c1020); border: 0.5px solid rgba(60,120,160,0.3); }
.mc-glacier .mc-encoder::before { background: rgba(120,220,255,0.35); }

/* ── 9. Silkthread — Dark mahogany, golden thread accents ── */
.mc-silkthread {
  background: linear-gradient(180deg, #1e1412 0%, #1a1008 50%, #1c120a 100%);
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(200,150,80,0.008) 2px, rgba(200,150,80,0.008) 2.5px),
    repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(160,110,60,0.006) 8px, rgba(160,110,60,0.006) 8.5px),
    radial-gradient(ellipse at 50% 40%, rgba(180,120,60,0.02) 0%, transparent 50%),
    linear-gradient(180deg, #1e1412, #1a1008 50%, #1c120a);
  border: 1px solid rgba(140,100,60,0.3);
  --card-glow: rgba(200,140,70,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), inset 0 0 30px rgba(0,0,0,0.2);
}
.mc-silkthread .mc-screw { background: radial-gradient(circle at 40% 35%, #9a7050, #4a3018); border: 0.5px solid rgba(140,100,60,0.3); }
.mc-silkthread .mc-name { color: #d4a860; }
.mc-silkthread .mc-type { color: rgba(140,100,60,0.45); }
.mc-silkthread .mc-knob { background: radial-gradient(circle at 35% 30%, #4a3820, #1a1008); border: 1px solid rgba(100,80,40,0.35); box-shadow: 0 2px 3px rgba(0,0,0,0.5), 0 0 0 1px rgba(160,110,60,0.06); }
.mc-silkthread .mc-knob::before { background: radial-gradient(circle at 40% 30%, #5a4828, #2a1810); box-shadow: inset 0 1px 1px rgba(180,130,70,0.04); }
.mc-silkthread .mc-knob::after { background: rgba(200,140,70,0.45); box-shadow: 0 0 2px rgba(160,110,60,0.3); width: 2px; }
.mc-silkthread .mc-jack { background: radial-gradient(circle at 40% 35%, #3a2810, #0a0804); border: 1.5px solid rgba(100,80,40,0.3); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mc-silkthread .mc-jack::before { background: conic-gradient(from 0deg, rgba(160,110,60,0.04) 0deg, transparent 60deg, rgba(160,110,60,0.04) 120deg, transparent 180deg, rgba(160,110,60,0.04) 240deg, transparent 300deg); }
.mc-silkthread .mc-jack::after { background: #040302; }
.mc-silkthread .mc-label { color: rgba(180,130,70,0.5); }
.mc-silkthread .mc-divider { background: linear-gradient(90deg, transparent, rgba(160,110,60,0.1), transparent); }
.mc-silkthread .mc-encoder { --enc-c: rgba(160,110,60,0.4); }
.mc-silkthread .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #3a2818, #141008); border: 0.5px solid rgba(100,80,40,0.35); }
.mc-silkthread .mc-encoder::before { background: rgba(200,140,70,0.4); }

/* ── 10. Obsidian — Black glass, subtle rainbow iridescence ── */
.mc-obsidian {
  background: linear-gradient(180deg, #101012 0%, #0c0c0e 50%, #0e0e10 100%);
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 2px, rgba(150,100,200,0.005) 2px, rgba(150,100,200,0.005) 2.5px),
    repeating-linear-gradient(-45deg, transparent 0, transparent 2px, rgba(100,150,200,0.005) 2px, rgba(100,150,200,0.005) 2.5px),
    radial-gradient(circle at 50% 50%, rgba(120,80,150,0.01) 0%, transparent 50%),
    linear-gradient(180deg, #101012, #0c0c0e 50%, #0e0e10);
  border: 1px solid rgba(80,80,100,0.3);
  --card-glow: rgba(150,120,200,0.12);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6), inset 0 0 50px rgba(0,0,0,0.2);
}
.mc-obsidian .mc-screw { background: radial-gradient(circle at 40% 35%, #555, #222); border: 0.5px solid rgba(100,100,120,0.3); }
.mc-obsidian .mc-name { color: #a8a0d8; }
.mc-obsidian .mc-type { color: rgba(120,100,160,0.35); }
.mc-obsidian .mc-knob { background: radial-gradient(circle at 35% 30%, #1a1a24, #08080c); border: 1px solid rgba(80,80,120,0.5); box-shadow: 0 2px 3px rgba(0,0,0,0.6), 0 0 0 1px rgba(150,120,200,0.04); }
.mc-obsidian .mc-knob::before { background: radial-gradient(circle at 40% 30%, #232330, #0f0f14); box-shadow: inset 0 0 4px rgba(150,120,200,0.03); }
.mc-obsidian .mc-knob::after { background: rgba(180,150,220,0.4); box-shadow: 0 0 2px rgba(150,120,200,0.3); width: 2px; }
.mc-obsidian .mc-jack { background: #080808; border: 1.5px solid rgba(100,100,120,0.15); box-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 3px rgba(150,120,200,0.03); }
.mc-obsidian .mc-jack::before { background: conic-gradient(from 0deg, rgba(150,120,200,0.04) 0deg, transparent 60deg, rgba(150,120,200,0.04) 120deg, transparent 180deg, rgba(150,120,200,0.04) 240deg, transparent 300deg); }
.mc-obsidian .mc-jack::after { background: #020202; box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 0 1px rgba(150,120,200,0.06); }
.mc-obsidian .mc-label { color: rgba(120,100,160,0.4); }
.mc-obsidian .mc-divider { background: linear-gradient(90deg, transparent, rgba(120,100,160,0.08), transparent); }
.mc-obsidian .mc-encoder { --enc-c: rgba(150,120,200,0.4); }
.mc-obsidian .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #1a1a24, #08080c); border: 0.5px solid rgba(80,80,120,0.3); }
.mc-obsidian .mc-encoder::before { background: rgba(180,150,220,0.35); }

/* ── 11. Meridian — Dark parchment, antique map accents ── */
.mc-meridian {
  background: linear-gradient(180deg, #1c1a16 0%, #181614 50%, #1a1812 100%);
  background-image:
    url("data:image/svg+xml,%3Csvg width='8' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.6'/%3E%3C/filter%3E%3Crect width='8' height='8' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, transparent 0, transparent 10px, rgba(180,160,120,0.005) 10px, rgba(180,160,120,0.005) 10.5px),
    repeating-linear-gradient(90deg, transparent 0, transparent 10px, rgba(160,140,100,0.005) 10px, rgba(160,140,100,0.005) 10.5px),
    linear-gradient(180deg, #1c1a16, #181614 50%, #1a1812);
  border: 1px solid rgba(140,120,80,0.3);
  --card-glow: rgba(200,160,100,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), inset 0 0 30px rgba(0,0,0,0.2);
}
.mc-meridian .mc-screw { background: radial-gradient(circle at 40% 35%, #8a7060, #3a2820); border: 0.5px solid rgba(140,120,80,0.3); }
.mc-meridian .mc-name { color: #d4b890; letter-spacing: 1px; }
.mc-meridian .mc-type { color: rgba(140,120,80,0.45); }
.mc-meridian .mc-knob { background: radial-gradient(circle at 35% 30%, #3a3028, #141008); border: 1px solid rgba(100,90,60,0.35); box-shadow: 0 2px 3px rgba(0,0,0,0.5), 0 0 0 1.5px rgba(160,140,80,0.04); }
.mc-meridian .mc-knob::before { background: radial-gradient(circle at 40% 30%, #4a4038, #1c1410); box-shadow: inset 0 1px 1px rgba(180,160,100,0.04); }
.mc-meridian .mc-knob::after { background: rgba(180,160,100,0.45); box-shadow: 0 0 2px rgba(140,120,80,0.3); width: 2px; }
.mc-meridian .mc-jack { background: radial-gradient(circle at 40% 35%, #2a2418, #0a0804); border: 1.5px solid rgba(100,90,60,0.3); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mc-meridian .mc-jack::before { background: conic-gradient(from 0deg, rgba(140,120,80,0.04) 0deg, transparent 60deg, rgba(140,120,80,0.04) 120deg, transparent 180deg, rgba(140,120,80,0.04) 240deg, transparent 300deg); }
.mc-meridian .mc-jack::after { background: #040404; }
.mc-meridian .mc-label { color: rgba(160,140,90,0.5); }
.mc-meridian .mc-divider { background: linear-gradient(90deg, transparent, rgba(140,120,80,0.1), transparent); }
.mc-meridian .mc-encoder { --enc-c: rgba(160,140,80,0.4); }
.mc-meridian .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #3a3028, #141008); border: 0.5px solid rgba(100,90,60,0.35); }
.mc-meridian .mc-encoder::before { background: rgba(180,160,100,0.4); }
.mc-meridian .mc-vu-seg { background: rgba(140,120,80,0.1); }
.mc-meridian .mc-vu-seg.lit { background: #c8a860; box-shadow: 0 0 3px rgba(200,160,100,0.5); }

/* ── 12. Phosphor — Deep amber, warm tube orange glow ── */
.mc-phosphor {
  background: linear-gradient(180deg, #1a1610 0%, #161208 50%, #18140a 100%);
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(220,130,40,0.008) 2px, rgba(220,130,40,0.008) 2.5px),
    repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(180,100,30,0.006) 8px, rgba(180,100,30,0.006) 8.5px),
    radial-gradient(ellipse at 50% 40%, rgba(180,100,40,0.02) 0%, transparent 50%),
    linear-gradient(180deg, #1a1610, #161208 50%, #18140a);
  border: 1px solid rgba(140,90,40,0.3);
  --card-glow: rgba(220,130,40,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), inset 0 0 30px rgba(0,0,0,0.2);
}
.mc-phosphor .mc-screw { background: radial-gradient(circle at 40% 35%, #9a7040, #3a2010); border: 0.5px solid rgba(140,90,40,0.3); }
.mc-phosphor .mc-name { color: #d49840; }
.mc-phosphor .mc-type { color: rgba(140,100,50,0.45); }
.mc-phosphor .mc-knob { background: radial-gradient(circle at 35% 30%, #4a3018, #1a0a04); border: 1px solid rgba(100,70,30,0.35); box-shadow: 0 2px 3px rgba(0,0,0,0.5), 0 0 0 1.5px rgba(140,90,40,0.04); }
.mc-phosphor .mc-knob::before { background: radial-gradient(circle at 40% 30%, #5a4028, #2a1408); box-shadow: inset 0 1px 1px rgba(180,110,40,0.04); }
.mc-phosphor .mc-knob::after { background: rgba(220,130,40,0.45); box-shadow: 0 0 2px rgba(180,100,40,0.3); width: 2px; }
.mc-phosphor .mc-jack { background: radial-gradient(circle at 40% 35%, #3a2810, #0a0604); border: 1.5px solid rgba(100,70,30,0.3); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mc-phosphor .mc-jack::before { background: conic-gradient(from 0deg, rgba(140,90,40,0.04) 0deg, transparent 60deg, rgba(140,90,40,0.04) 120deg, transparent 180deg, rgba(140,90,40,0.04) 240deg, transparent 300deg); }
.mc-phosphor .mc-jack::after { background: #040200; }
.mc-phosphor .mc-label { color: rgba(160,110,60,0.5); }
.mc-phosphor .mc-divider { background: linear-gradient(90deg, transparent, rgba(140,90,40,0.1), transparent); }
.mc-phosphor .mc-encoder { --enc-c: rgba(140,90,40,0.4); }
.mc-phosphor .mc-encoder::after { background: radial-gradient(circle at 35% 30%, #3a2818, #141004); border: 0.5px solid rgba(100,70,30,0.35); }
.mc-phosphor .mc-encoder::before { background: rgba(220,130,40,0.4); }

.carousel-pause {
  display: block;
  margin: 20px auto 0;
  background: none;
  border: 1px solid rgba(180,138,255,0.15);
  color: var(--text2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  padding: 5px 18px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
}
.carousel-pause:hover { color: var(--accent); border-color: rgba(180,138,255,0.4); background: rgba(180,138,255,0.03); }

/* ── Evolved Carousel Module Cards ── */
.evolved-module { position: relative; }
.evolved-panel-wrap { pointer-events: none; }
.evolved-module .module-frame {
  height: 380px;
  overflow: hidden;
  position: relative;
}
.evolved-module .module-panel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.evolved-module .panel-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.evolved-module .panel-art svg {
  width: 100%;
  height: 100%;
}
.evolved-module .mod-content {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.evolved-module .screw {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  z-index: 3;
}
.evolved-vote-btns {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 5;
}
.evolved-module:hover .evolved-vote-btns { opacity: 1; }
.evolved-like-btn,
.evolved-nope-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(180,138,255,0.2);
  background: rgba(2,1,10,0.7);
  color: rgba(180,138,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
  padding: 0;
}
.evolved-like-btn:hover { color: #ff4466; border-color: #ff4466; }
.evolved-nope-btn:hover { color: #ff6644; border-color: #ff6644; }
.evolved-vote-btns.voted { opacity: 1; }
.evolved-vote-btns.voted .evolved-like-btn,
.evolved-vote-btns.voted .evolved-nope-btn { pointer-events: none; opacity: 0.3; }
.evolved-vote-btns.voted.voted-like .evolved-like-btn { color: #ff4466; border-color: #ff4466; opacity: 1; }
.evolved-vote-btns.voted.voted-like .evolved-like-btn svg { fill: #ff4466; }
.evolved-vote-btns.voted.voted-nope .evolved-nope-btn { color: #ff6644; border-color: #ff6644; opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   SECTION 8: SOCIAL PROOF
══════════════════════════════════════════════════════════════ */
.proof-section { text-align: center; }

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.proof-stat-number {
  font-family: var(--font-terminal);
  font-size: clamp(42px, 6vw, 64px);
  color: var(--accent-hot-legacy);
  text-shadow: 0 0 20px rgba(232,213,255,0.3);
  line-height: 1;
}
.proof-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text2);
  margin-top: 8px;
}

.proof-quotes {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  min-height: 180px;
}
.proof-quote {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(180,138,255,0.1);
  border-radius: 8px;
  padding: 32px 40px;
  text-align: center;
  background: rgba(14,13,24,0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.proof-quote.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.proof-quote-text {
  font-family: var(--font-terminal);
  font-size: clamp(15px, 2.2vw, 19px);
  color: var(--accent);
  line-height: 1.7;
  margin-bottom: 16px;
}
.proof-quote-attr {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text2);
  text-transform: uppercase;
}

/* Quote carousel dots */
.proof-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 200px;
}
.proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(180,138,255,0.3);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  padding: 0;
}
.proof-dot:hover { border-color: rgba(180,138,255,0.6); transform: scale(1.2); }
.proof-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(180,138,255,0.4);
}

/* Progress bar under active quote */
.proof-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent));
  border-radius: 0 0 8px 8px;
  width: 0;
  transition: none;
}
.proof-quote.active .proof-progress {
  animation: quoteProgress 6s linear forwards;
}
@keyframes quoteProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   SECTION 8b: FAQ ACCORDION
══════════════════════════════════════════════════════════════ */
.faq-section {
  overflow: hidden;
}
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid rgba(180,138,255,0.08);
  border-radius: 8px;
  background: rgba(14,13,24,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover {
  border-color: rgba(180,138,255,0.15);
}
.faq-item.open {
  border-color: rgba(180,138,255,0.2);
  box-shadow: 0 2px 16px rgba(123,79,255,0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font-terminal);
  font-size: 15px;
  letter-spacing: 1px;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
  gap: 16px;
}
.faq-question:hover {
  color: var(--accent-hot-legacy);
}
.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 8px;
}

/* Chevron indicator */
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--accent2);
  border-radius: 1px;
  transition: transform 0.35s ease, background 0.3s;
}
.faq-chevron::before {
  left: 1px;
  transform: translateY(-50%) rotate(40deg);
}
.faq-chevron::after {
  right: 1px;
  transform: translateY(-50%) rotate(-40deg);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-item.open .faq-chevron::before,
.faq-item.open .faq-chevron::after {
  background: var(--accent);
}

/* Answer panel — collapsible */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer-text {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text2);
  letter-spacing: 0.3px;
}
.faq-answer-text a {
  color: var(--accent2);
  text-decoration: none;
  border-bottom: 1px solid rgba(74,255,204,0.3);
  transition: border-color 0.2s;
}
.faq-answer-text a:hover {
  border-color: var(--accent2);
}

/* ══════════════════════════════════════════════════════════════
   SECTION 9: PRICING
══════════════════════════════════════════════════════════════ */
.pricing-section { text-align: center; }

/* Pricing Toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-toggle-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text2);
  transition: color 0.3s;
  cursor: pointer;
}
.pricing-toggle-label.active { color: var(--accent); }

.pricing-toggle {
  position: relative;
  width: 48px;
  height: 24px;
  background: rgba(180,138,255,0.12);
  border: 1px solid rgba(180,138,255,0.25);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.pricing-toggle:hover { border-color: rgba(180,138,255,0.5); }
.pricing-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(180,138,255,0.5);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.pricing-toggle.yearly::after { transform: translateX(24px); }
.pricing-toggle.yearly { background: rgba(74,255,204,0.15); border-color: rgba(74,255,204,0.4); }

.pricing-save-badge {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(74,255,204,0.12);
  color: var(--accent2);
  border: 1px solid rgba(74,255,204,0.25);
  padding: 3px 8px;
  border-radius: 3px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
}
.pricing-save-badge.visible { opacity: 1; transform: translateX(0); }

/* Price amount animation */
.price-card-amount {
  font-family: var(--font-terminal);
  font-size: 36px;
  transition: opacity 0.2s, transform 0.2s;
}
.price-card-amount.swapping {
  opacity: 0;
  transform: translateY(-8px);
}
.price-card-period {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text2);
  letter-spacing: 1px;
  margin-top: 2px;
  transition: opacity 0.2s;
}
.price-card-period.swapping { opacity: 0; }
.price-card-original {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text2);
  text-decoration: line-through;
  opacity: 0;
  height: 0;
  transition: opacity 0.3s, height 0.3s;
}
.price-card-original.visible { opacity: 0.5; height: 16px; }

.pricing-subtitle {
  font-family: var(--font-terminal);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 8px;
}
.pricing-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text2);
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.pricing-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1140px;
  margin: 0 auto;
}

.price-card {
  flex: 1;
  min-width: 210px;
  max-width: 240px;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card:hover:not(.tilt-card) { transform: translateY(-4px); }

.pricing-grid--3col { max-width: 860px; }
.pricing-grid--3col .price-card { max-width: 270px; }
.pricing-grid--4col { max-width: 1100px; }
.pricing-grid--4col .price-card { max-width: 250px; }

.price-card--draft { border: 1px solid rgba(255,255,255,0.15); }
.price-card--master {
  border: 1px solid rgba(74,255,204,0.35);
  position: relative;
  box-shadow: 0 0 24px rgba(74,255,204,0.06);
}
.price-card--studio {
  border: 1px solid rgba(180,138,255,0.4);
  position: relative;
  box-shadow: 0 0 24px rgba(180,138,255,0.06);
}
.price-card--architect {
  border: 1px solid rgba(255,215,0,0.4);
  position: relative;
  box-shadow: 0 0 24px rgba(255,215,0,0.08);
}

.price-card-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  padding: 3px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}

.price-card-tier {
  font-family: var(--font-terminal);
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.price-card--draft .price-card-tier { color: rgba(255,255,255,0.6); }
.price-card--master .price-card-tier { color: var(--accent2); }
.price-card--studio .price-card-tier { color: var(--accent); }
.price-card--architect .price-card-tier { color: #ffd700; }

.price-card--draft .price-card-amount { color: rgba(255,255,255,0.8); text-shadow: 0 0 8px rgba(255,255,255,0.15); }
.price-card--master .price-card-amount { color: var(--accent2); text-shadow: 0 0 12px rgba(74,255,204,0.4); }
.price-card--studio .price-card-amount { color: var(--accent); text-shadow: 0 0 12px rgba(180,138,255,0.4); }
.price-card--architect .price-card-amount { color: #ffd700; text-shadow: 0 0 12px rgba(255,215,0,0.4); }

.price-card-engine {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text2);
  margin: 6px 0 14px;
}

.price-card-features {
  color: rgba(255,255,255,0.58);
  font-size: 10px;
  font-family: var(--font-mono);
  line-height: 1.8;
}

.price-card-domains {
  margin-top: 14px;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.price-card--draft .price-card-domains { border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.35); }
.price-card--master .price-card-domains { border-top: 1px solid rgba(74,255,204,0.1); color: rgba(74,255,204,0.4); }
.price-card--studio .price-card-domains { border-top: 1px solid rgba(180,138,255,0.15); color: rgba(180,138,255,0.5); }
.price-card--architect .price-card-domains { border-top: 1px solid rgba(255,215,0,0.15); color: rgba(255,215,0,0.5); }

/* CTA buttons in pricing cards */
.price-card-cta {
  display: block;
  margin-top: 18px;
  padding: 10px 0;
  font-family: var(--font-terminal);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.price-card-cta:hover { transform: translateY(-1px); }
.price-card-cta--draft {
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}
.price-card-cta--draft:hover { background: rgba(255,255,255,0.08); }
.price-card-cta--master {
  color: #000;
  background: var(--accent2);
  box-shadow: 0 0 16px rgba(74,255,204,0.2);
}
.price-card-cta--master:hover { box-shadow: 0 0 24px rgba(74,255,204,0.35); }
.price-card-cta--studio {
  color: #000;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(180,138,255,0.25);
}
.price-card-cta--studio:hover { box-shadow: 0 0 24px rgba(180,138,255,0.4); }
.price-card-cta--architect {
  color: #000;
  background: #ffd700;
  box-shadow: 0 0 16px rgba(255,215,0,0.25);
}
.price-card-cta--architect:hover { box-shadow: 0 0 24px rgba(255,215,0,0.4); }

.pricing-free-note {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text2);
  text-align: center;
  letter-spacing: 0.5px;
}
.pricing-free-note strong { color: var(--accent2); }
.pricing-free-note a {
  color: var(--accent);
  text-decoration: none;
  margin-left: 6px;
}
.pricing-free-note a:hover { text-decoration: underline; }
.pricing-free-icon { margin-right: 4px; }

/* ══════════════════════════════════════════════════════════════
   SECTION 9b: FEATURES — Beyond Building
══════════════════════════════════════════════════════════════ */
.features-section {
  padding: 80px 0 60px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 40px auto 0;
}
.feature-card {
  border: 1px solid rgba(180,138,255,0.12);
  border-radius: 8px;
  padding: 24px 20px;
  background: rgba(10,10,18,0.5);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(180,138,255,0.3);
  box-shadow: 0 0 20px rgba(180,138,255,0.06);
  transform: translateY(-2px);
}
.feature-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}
.feature-card-title {
  font-family: var(--font-terminal);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}
.feature-card-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text2);
}
.feature-card-tier {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 10px;
  background: rgba(180,138,255,0.08);
  color: rgba(180,138,255,0.5);
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; max-width: 400px; }
}
@media (min-width: 769px) and (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   SECTION 10: CTA + FOOTER
══════════════════════════════════════════════════════════════ */
.final-section {
  text-align: center;
  padding: 100px 24px 40px;
  position: relative;
  z-index: 1;
}

.final-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(123,79,255,0.12), transparent 70%);
  pointer-events: none;
}

.final-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 12px;
}

.final-headline {
  font-family: var(--font-terminal);
  font-size: clamp(28px, 5vw, 52px);
  color: var(--accent-hot-legacy);
  text-shadow: 0 0 30px rgba(232,213,255,0.4);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 400;
}

.final-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 28px;
}

.final-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 0 24px rgba(123,79,255,0.4);
}
.final-btn:hover {
  background: #9366ff;
  box-shadow: 0 0 40px rgba(123,79,255,0.6);
  transform: translateY(-2px);
}

.page-footer {
  text-align: center;
  padding: 40px 24px 28px;
  position: relative;
  z-index: 1;
}
.footer-brand {
  font-family: var(--font-terminal);
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--accent-dim-legacy);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a {
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent2); }
.footer-links .sep { opacity: 0.3; }
.footer-tagline {
  font-family: var(--font-terminal);
  font-size: 13px;
  color: rgba(180,138,255,0.25);
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════════
   AUTH MODAL
══════════════════════════════════════════════════════════════ */
.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2,1,10,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.auth-overlay.visible { display: flex; }

.auth-card {
  background: var(--bg3);
  border: 1px solid rgba(180,138,255,0.15);
  border-radius: 10px;
  padding: 36px 32px;
  width: min(380px, 92vw);
  position: relative;
  box-shadow: 0 0 60px rgba(123,79,255,0.1);
}

.auth-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  color: var(--accent-dim-legacy);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.auth-close:hover { color: var(--accent-hot-legacy); }

.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.auth-tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: none;
  border: 1px solid rgba(180,138,255,0.1);
  border-radius: 4px;
  color: var(--text2);
  cursor: pointer;
  transition: all 0.2s;
}
.auth-tab.active {
  background: rgba(180,138,255,0.1);
  border-color: rgba(180,138,255,0.3);
  color: var(--accent);
}

.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-form[hidden] { display: none !important; }

.auth-input {
  background: rgba(7,5,15,0.8);
  border: 1px solid rgba(180,138,255,0.12);
  border-radius: 4px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fff;
  transition: border-color 0.2s;
}
.auth-input::placeholder { color: var(--text2); }
.auth-input:focus { border-color: var(--accent); outline: none; }

.auth-error {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--hot);
  min-height: 16px;
}

.auth-submit {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.auth-submit:hover { background: #9366ff; }

.auth-divider {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text2);
  margin: 4px 0;
}

.auth-google-wrap {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .page-nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .section { padding: 60px 16px; }
  .patch-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .dial-container { width: 240px; height: 240px; margin: 50px auto 70px; }
  .dial-label { font-size: 9px !important; letter-spacing: 1px !important; padding: 2px 4px !important; }
  .dial-label.active { font-size: 10px !important; }
  .dial-indicator { height: 80px; }
  .dial-tick { transform-origin: 50% 114px !important; }
  .mode-preview { padding: 24px; min-height: 180px; }
  .mode-preview-name { font-size: 20px; }
  .mode-preview-sample { font-size: 14px; min-height: 60px; }
  .mode-preview-footer { flex-direction: column; gap: 10px; align-items: center; }
  .mode-try-cta { width: 100%; text-align: center; }
  .proof-stats { gap: 32px; }
  .pricing-grid { flex-direction: column; align-items: center; }
  .price-card { max-width: 300px; width: 100%; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 28px; }
  .patch-steps { grid-template-columns: 1fr; }
  .dial-container { width: 200px; height: 200px; margin: 40px auto 60px; }
  .dial-label { font-size: 8px !important; letter-spacing: 0.5px !important; }
  .dial-indicator { height: 65px; }
  .dial-tick { transform-origin: 50% 94px !important; }
  .dial-center { width: 36px; height: 36px; }
  .dial-center::after { width: 9px; height: 9px; }
  .mode-preview-sample { font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════════
   GRADIENT TEXT SHIMMER
══════════════════════════════════════════════════════════════ */
.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--accent-hot-legacy) 0%,
    var(--accent) 30%,
    rgba(255,255,255,0.95) 50%,
    var(--accent) 70%,
    var(--accent-hot-legacy) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSweep 6s ease-in-out infinite;
}
@keyframes shimmerSweep {
  0%, 100% { background-position: 100% 50%; }
  50%      { background-position: 0% 50%; }
}
.hero-headline.shimmer-text {
  text-shadow: none;
}
.section-title.shimmer-text {
  text-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .shimmer-text { animation: none; background-position: 50% 50%; }
}

/* ══════════════════════════════════════════════════════════════
   MOUSE-FOLLOW GLOW
══════════════════════════════════════════════════════════════ */
.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,79,255,0.12) 0%, rgba(180,138,255,0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: left 0.15s ease-out, top 0.15s ease-out, opacity 0.4s;
  opacity: 0;
  mix-blend-mode: screen;
}
.hero:hover .hero-glow { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-glow { display: none; } }
@media (max-width: 768px) { .hero-glow { display: none; } }

/* ══════════════════════════════════════════════════════════════
   BACK-TO-TOP BUTTON
══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(180,138,255,0.3);
  background: rgba(7,5,15,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 20px;
  cursor: pointer;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: rgba(180,138,255,0.15);
  border-color: rgba(180,138,255,0.5);
  box-shadow: 0 0 20px rgba(180,138,255,0.2);
  transform: translateY(-2px);
}
.back-to-top:active { transform: translateY(0); }
.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ══════════════════════════════════════════════════════════════
   STICKY CTA BAR
══════════════════════════════════════════════════════════════ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: linear-gradient(180deg, transparent, rgba(2,1,10,0.95) 30%);
  padding: 16px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta-bar.hidden-by-footer {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.sticky-cta-text {
  font-family: var(--font-terminal);
  font-size: 14px;
  color: var(--text2);
  letter-spacing: 1px;
}
.sticky-cta-text strong {
  color: var(--accent);
}
.sticky-cta-btn {
  font-family: var(--font-terminal);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 4px;
  border: 1px solid var(--accent);
  background: rgba(123,79,255,0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.sticky-cta-btn:hover {
  background: rgba(123,79,255,0.3);
  box-shadow: 0 0 20px rgba(123,79,255,0.3);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .sticky-cta-text { display: none; }
  .sticky-cta-bar { padding: 12px 16px 14px; }
}

/* ══════════════════════════════════════════════════════════════
   3D CARD TILT
══════════════════════════════════════════════════════════════ */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.tilt-card-inner {
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
  transform-style: preserve-3d;
}
.tilt-card .tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255,255,255,0.12) 0%, transparent 60%);
  z-index: 2;
}
.tilt-card:hover .tilt-glare { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .tilt-card-inner { transition: none !important; }
  .tilt-glare { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   SOCIAL PROOF TICKER
══════════════════════════════════════════════════════════════ */
.social-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(180,138,255,0.04) 20%, rgba(180,138,255,0.04) 80%, transparent);
  border-top: 1px solid rgba(180,138,255,0.06);
  border-bottom: 1px solid rgba(180,138,255,0.06);
  padding: 10px 0;
  position: relative;
  z-index: 1;
}
.social-ticker-wrap::before,
.social-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.social-ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.social-ticker-wrap::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.social-ticker-track {
  display: flex;
  gap: 48px;
  animation: tickerScroll var(--ticker-duration, 40s) linear infinite;
  width: max-content;
  will-change: transform;
}
.social-ticker-track:hover { animation-play-state: paused; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.social-ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text2);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.social-ticker-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.social-ticker-icon.green  { background: rgba(74,255,204,0.12); color: var(--accent2); }
.social-ticker-icon.purple { background: rgba(180,138,255,0.12); color: var(--accent); }
.social-ticker-icon.gold   { background: rgba(255,215,0,0.12); color: var(--accent-gold); }
.social-ticker-icon.pink   { background: rgba(255,61,107,0.12); color: var(--hot); }
.social-ticker-tier { font-weight: 700; }
.social-ticker-tier.master    { color: var(--accent2); }
.social-ticker-tier.studio    { color: var(--accent); }
.social-ticker-tier.architect { color: var(--accent-gold); }
.social-ticker-time { color: rgba(255,255,255,0.25); font-size: 11px; }
.social-ticker-sep  { color: rgba(180,138,255,0.15); font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .social-ticker-track { animation: none; }
}

/* ══════════════════════════════════════════════════════════════
   DEMO SHOWCASE — "See what gets built"
══════════════════════════════════════════════════════════════ */
.demo-showcase {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
}
.demo-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(180,138,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.demo-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}
.demo-title {
  font-family: var(--font-brand);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(180,138,255,0.25);
  margin-bottom: 32px;
}

/* Module cards carousel */
.demo-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 20px;
  scrollbar-width: none;
}
.demo-carousel::-webkit-scrollbar { display: none; }

.demo-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-align: left;
}
.demo-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(180,138,255,0.12);
}
.demo-card-panel {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2,1,10,0.5);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.demo-card-panel svg,
.demo-card-panel img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
}
.demo-card-name {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.demo-card-cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.demo-card-desc {
  font-family: var(--font-terminal);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.demo-card-votes {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-gold);
  margin-top: 8px;
}

/* Live counter */
.demo-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
}
.demo-stat {
  text-align: center;
}
.demo-stat-val {
  font-family: var(--font-terminal);
  font-size: 2rem;
  color: var(--accent2);
  text-shadow: 0 0 16px rgba(74,255,204,0.3);
  line-height: 1;
}
.demo-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Hero trust badge */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-trust-icon {
  color: var(--accent2);
  font-size: 14px;
}
.hero-trust .live-count {
  color: var(--accent2);
  font-family: var(--font-terminal);
  font-size: 0.95rem;
}

/* Fallback demo cards (hardcoded) */
.demo-card--fallback .demo-card-panel {
  background: linear-gradient(135deg, rgba(180,138,255,0.05), rgba(74,255,204,0.03));
}

@media (max-width: 700px) {
  .demo-carousel { gap: 14px; }
  .demo-card { flex: 0 0 240px; }
  .demo-stats { gap: 24px; }
  .hero-trust { flex-direction: column; gap: 8px; }
}
