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

:root {
  /* Preserved exact Shenron typography */
  --font-mark: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-hand: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Modern Studio Dark (shadcn-inspired obsidian + crimson/emerald accents) */
  --bg: #09090b;
  --bg-elevated: #111115;
  --surface: rgba(20, 20, 25, 0.78);
  --surface-solid: #141419;
  --surface-hover: #1b1b22;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --fg: #fafafa;
  --fg-secondary: #c4c4cc;
  --muted: #8a8a96;

  /* Accent system */
  --accent: #ef4444;
  --accent-rgb: 239, 68, 68;
  --accent-2: #f97316;
  --emerald: #10b981;
  --amber: #f59e0b;
  --violet: #a855f7;
  --cyan: #06b6d4;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-card: 0 12px 36px -14px rgba(0, 0, 0, 0.65);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px rgba(var(--accent-rgb), 0.55);
}

[data-palette='emerald'] {
  --accent: #10b981;
  --accent-rgb: 16, 185, 129;
  --accent-2: #06b6d4;
}

[data-palette='violet'] {
  --accent: #a855f7;
  --accent-rgb: 168, 85, 247;
  --accent-2: #ef4444;
}

/* Optional Light Paper Studio theme honoring original #f5f4ef heritage */
[data-theme='light'] {
  --bg: #f5f4ef;
  --bg-elevated: #eceae2;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-solid: #ffffff;
  --surface-hover: #f9f8f4;
  --border: rgba(20, 20, 20, 0.11);
  --border-strong: rgba(20, 20, 20, 0.24);
  --fg: #141414;
  --fg-secondary: #343330;
  --muted: #5b5a55;
  --shadow-card: 0 10px 28px -14px rgba(20, 20, 20, 0.14);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

[data-theme='light'] {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 92px;
}

/* Real-time flowing WebGL fluid shader canvas */
.shader-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  filter: blur(22px) saturate(1.18);
  transform: scale(1.06);
  transition: opacity 0.4s ease;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 10%, #000 35%, transparent 100%);
}

[data-theme='light'] .ambient-grid {
  background-image:
    linear-gradient(to right, rgba(20,20,20,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,20,20,0.04) 1px, transparent 1px);
}

.font-mark { font-family: var(--font-mark); letter-spacing: 0.015em; }
.font-hand { font-family: var(--font-hand); }
.font-mono { font-family: var(--font-mono); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== STICKY GLASS HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), #ec4899, #38bdf8);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.85);
  pointer-events: none;
}

.pillar-card, .spotlight-card, .sampler-panel, .section-head {
  will-change: transform, opacity;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  flex-shrink: 0;
}

.brand-emblem {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.05));
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 18px -4px rgba(var(--accent-rgb), 0.45);
  transition: transform 0.25s ease;
}

.brand-mark:hover .brand-emblem {
  transform: rotate(-4deg) scale(1.06);
}

.brand-word {
  font-family: var(--font-mark);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-link {
  font-family: var(--font-mark);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: transparent;
}

.nav-link:hover, .nav-link.active {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme='light'] .nav-link:hover,
[data-theme='light'] .nav-link.active {
  background: rgba(20, 20, 20, 0.06);
}

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

.pill-select {
  appearance: none;
  background: var(--surface-solid);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 26px 7px 10px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 13px) 52%, calc(100% - 8px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  transition: border-color 0.2s ease;
}

.pill-select:hover, .pill-select:focus {
  border-color: var(--border-strong);
  outline: none;
}

.icon-btn {
  height: 36px;
  width: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--fg);
  font-family: var(--font-mark);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-btn:hover {
  background: rgba(var(--accent-rgb), 0.22);
  border-color: rgba(var(--accent-rgb), 0.65);
  transform: translateY(-1px);
}

.cart-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==================== 3D INTERACTIVE HERO BANNER ==================== */
.hero-section {
  position: relative;
  padding: 36px 0 28px;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 90% at 74% 48%, rgba(var(--accent-rgb), 0.15), transparent 70%),
    linear-gradient(135deg, var(--surface-solid) 0%, color-mix(in srgb, var(--bg-elevated) 92%, var(--accent) 8%) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Animated top hairline beam */
.hero-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.85), rgba(255,255,255,0.6), rgba(var(--accent-rgb), 0.85), transparent);
  z-index: 3;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 490px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-top-badge {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--fg-secondary);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--fg);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.hero-title-wrap {
  position: relative;
  display: inline-block;
}

.hero-title {
  margin: 0;
  font-family: var(--font-mark);
  font-size: clamp(3.1rem, 6vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, var(--fg) 40%, color-mix(in srgb, var(--fg) 65%, var(--muted)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-brush-underline {
  display: block;
  width: 100%;
  height: 12px;
  margin-top: 2px;
}

.hero-tagline {
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--fg-secondary);
}

.hero-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 46ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

/* Primary shimmer button */
.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #000));
  color: #fff;
  font-family: var(--font-mark);
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 10px 28px -8px rgba(var(--accent-rgb), 0.58);
  transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.28) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(var(--accent-rgb), 0.72);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-family: var(--font-mark);
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-1px);
}

[data-theme='light'] .btn-secondary {
  background: rgba(20, 20, 20, 0.04);
}

/* Full-bleed 3D Dragon Sculpted Stage spanning entire hero banner */
.hero-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  overflow: hidden;
  z-index: 1;
}

.hero-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 64%, transparent) 38%, transparent 72%);
}

.hero-stage:active { cursor: grabbing; }

.dragon-3d-wrap {
  position: absolute;
  inset: -10% -6% -10% -6%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  will-change: transform;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 1;
}

.dragon-3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 36%;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 88% 92% at 68% 48%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 92% at 68% 48%, #000 58%, transparent 100%);
  transition: filter 0.65s ease;
  filter: hue-rotate(-78deg) saturate(1.36) contrast(1.08);
}

[data-palette='crimson'] .dragon-3d-img {
  filter: hue-rotate(0deg) saturate(1.18) contrast(1.06);
}

[data-palette='emerald'] .dragon-3d-img {
  filter: hue-rotate(155deg) saturate(1.24) contrast(1.06);
}

[data-theme='light'] .hero-frame {
  background: linear-gradient(135deg, #0d0b14 0%, #171226 100%);
  color: #fafafa;
}

[data-theme='light'] .hero-frame .hero-tagline,
[data-theme='light'] .hero-frame .hero-sub {
  color: #d4d4d8;
}

#dragon-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.stage-hud {
  position: absolute;
  bottom: 16px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  z-index: 4;
}

.stage-hud-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  padding: 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.palette-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.palette-dot:hover { transform: scale(1.18); }
.palette-dot.active { border-color: var(--fg); transform: scale(1.12); }

/* ==================== 4-PILLAR CATEGORY STRIP ==================== */
.pillar-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.pillar-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--fg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--surface-hover);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  flex-shrink: 0;
}

.pillar-title {
  font-family: var(--font-mark);
  font-size: 0.88rem;
  line-height: 1.2;
}

.pillar-sub {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ==================== SPOTLIGHT SHADCN CARDS ==================== */
.spotlight-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.22s ease, box-shadow 0.25s ease;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.14), transparent 55%);
}

.spotlight-card:hover {
  border-color: rgba(var(--accent-rgb), 0.42);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* ==================== MULTI-PAGE ROUTER VIEWS ==================== */
.page-view {
  display: none;
  animation: pageFadeIn 0.24s ease;
}

.page-view.active {
  display: block;
}

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

.subpage-banner {
  padding: 28px 0 6px;
}

.subpage-head-card {
  padding: 26px 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-solid), color-mix(in srgb, var(--bg-elevated) 88%, var(--accent) 12%));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* ==================== SECTIONS & HEADERS ==================== */
.section {
  padding: 36px 0 8px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}

.section-title {
  margin: 0;
  font-family: var(--font-mark);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  line-height: 1.08;
}

.section-link {
  font-family: var(--font-mark);
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.section-link:hover { color: var(--accent); }

/* ==================== INTERACTIVE 16-STEP DRUM SAMPLER ==================== */
.sampler-panel {
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.sampler-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sampler-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--fg);
  font-family: var(--font-mark);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-sm:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.btn-sm.active, .btn-sm.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(var(--accent-rgb), 0.7);
}

.bpm-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.bpm-box input {
  width: 52px;
  border: none;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  outline: none;
  text-align: center;
}

.sampler-grid-wrap {
  overflow-x: auto;
  padding-bottom: 4px;
}

.sampler-row {
  display: grid;
  grid-template-columns: 88px repeat(16, minmax(26px, 1fr));
  gap: 5px;
  align-items: center;
  margin-bottom: 6px;
  min-width: 590px;
}

.sampler-pad-label {
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--fg);
  font-family: var(--font-mark);
  font-size: 0.8rem;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s ease;
}

.sampler-pad-label:hover {
  border-color: var(--row-color, var(--accent));
  transform: translateX(2px);
}

.row-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--row-color, var(--accent));
  box-shadow: 0 0 8px var(--row-color, var(--accent));
}

.step-cell {
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 82%, transparent);
  cursor: pointer;
  transition: transform 0.1s ease, background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.step-cell.beat-group {
  background: color-mix(in srgb, var(--surface-solid) 95%, rgba(255,255,255,0.03));
}

.step-cell:hover {
  border-color: var(--border-strong);
  transform: scale(1.06);
}

.step-cell.on {
  background: var(--row-color, var(--accent));
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 14px -2px var(--row-color, var(--accent));
}

.step-cell.playing {
  outline: 2px solid var(--fg);
  outline-offset: -2px;
  transform: scale(1.08);
}

.sampler-hint {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ==================== FEATURED & PRODUCT GRIDS ==================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  gap: 14px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-secondary);
}

.tag-pill.crimson { border-color: rgba(239,68,68,0.35); background: rgba(239,68,68,0.12); color: #fca5a5; }
.tag-pill.emerald { border-color: rgba(16,185,129,0.35); background: rgba(16,185,129,0.12); color: #6ee7b7; }
.tag-pill.amber { border-color: rgba(245,158,11,0.35); background: rgba(245,158,11,0.12); color: #fcd34d; }
.tag-pill.violet { border-color: rgba(168,85,247,0.35); background: rgba(168,85,247,0.12); color: #d8b4fe; }

[data-theme='light'] .tag-pill.crimson { color: #b91c1c; }
[data-theme='light'] .tag-pill.emerald { color: #047857; }
[data-theme='light'] .tag-pill.amber { color: #b45309; }
[data-theme='light'] .tag-pill.violet { color: #7e22ce; }

.card-title {
  margin: 0;
  font-family: var(--font-mark);
  font-size: 1.38rem;
  line-height: 1.1;
}

.card-desc {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--muted);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.price-tag {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==================== CATALOG FILTER BAR & BEATS LIST ==================== */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 18px;
}

.tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tab-pill {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mark);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab-pill:hover {
  color: var(--fg);
  border-color: var(--border-strong);
}

.tab-pill.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.filters-inputs {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr 0.8fr;
  gap: 8px;
}

.studio-input {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.studio-input:focus {
  border-color: rgba(var(--accent-rgb), 0.7);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.beats-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.beat-row {
  display: grid;
  grid-template-columns: 44px 1.3fr 1.4fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.beat-row.playing {
  border-color: rgba(var(--accent-rgb), 0.65);
  background: color-mix(in srgb, var(--surface-solid) 92%, var(--accent) 8%);
}

.play-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.play-circle:hover, .beat-row.playing .play-circle {
  background: var(--accent);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 0 20px -2px rgba(var(--accent-rgb), 0.7);
}

.beat-meta h3 {
  margin: 0;
  font-family: var(--font-mark);
  font-size: 1.15rem;
  line-height: 1.15;
}

.beat-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.beat-wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 30px;
  cursor: pointer;
}

.wave-bar {
  flex: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.15s ease, transform 0.2s ease;
}

[data-theme='light'] .wave-bar {
  background: rgba(20, 20, 20, 0.14);
}

.wave-bar.filled {
  background: var(--accent);
}

/* ==================== LYRIC WRITER STUDIO ==================== */
.writer-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 16px;
}

.writer-main, .writer-side {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.writer-textarea {
  width: 100%;
  min-height: 240px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.7;
  resize: vertical;
  outline: none;
}

.writer-textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.65);
}

.rhyme-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.rhyme-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.09);
  color: var(--fg);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rhyme-chip:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ==================== BLOG, GEAR, SERVICES ==================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ==================== PERSISTENT BOTTOM STUDIO PLAYER ==================== */
.studio-player {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 24px));
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 18px 46px -10px rgba(0, 0, 0, 0.75);
}

.player-track {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.player-scrubber {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-range {
  flex: 1;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ==================== DRAWER & MODAL ==================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(410px, 100%);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-strong);
  z-index: 65;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer.open { transform: translateX(0); }

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: min(640px, calc(100% - 28px));
  max-height: 82vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 28px;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Toast notification */
.toast {
  position: fixed;
  top: 82px;
  right: 20px;
  z-index: 80;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: var(--surface-solid);
  color: var(--fg);
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 40px 0 36px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 32px 24px 12px; }
  .hero-stage { height: 320px; }
  .pillar-strip { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .filters-inputs { grid-template-columns: 1fr 1fr; }
  .beat-row { grid-template-columns: 42px 1fr auto; }
  .beat-wave { display: none; }
  .writer-grid, .articles-grid, .gear-grid, .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { padding: 0 14px; }
  .header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 10px; }
  .nav-links { order: 3; width: 100%; padding-bottom: 2px; border-top: 1px solid var(--border); padding-top: 8px; }
  .header-actions { gap: 6px; }
  .cart-btn { padding: 0 10px; font-size: 0.78rem; }
  .hero-section { padding: 18px 0 20px; }
  .hero-copy { padding: 22px 18px 10px; gap: 14px; }
  .hero-title { font-size: 2.85rem; }
  .hero-tagline { font-size: 1.45rem; }
  .hero-cta-row { width: 100%; }
  .hero-cta-row .btn-primary, .hero-cta-row .btn-secondary { flex: 1; min-width: 140px; padding: 0 14px; font-size: 0.85rem; }
  .hero-stage { height: 250px; }
  .stage-hud { bottom: 10px; right: 10px; }
  .pillar-strip, .featured-grid, .filters-inputs { grid-template-columns: 1fr; }
  .beat-row { grid-template-columns: 40px 1fr; gap: 10px; padding: 12px; }
  .beat-row .price-tag { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .sampler-panel { padding: 14px; }
  .studio-player { bottom: 8px; width: calc(100% - 16px); gap: 8px; padding: 8px 12px; }
  .player-track { min-width: 0; flex: 1; }
  .player-scrubber { order: 3; width: 100%; flex: 1 0 100%; }
  body { padding-bottom: 128px; }
}

/* ==================== SHENLON 12-PLUGIN STORE & ABLETON LIVE HOVER DEMOS ==================== */
.cloud-hero-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) 1fr;
  gap: 24px;
  padding: 22px;
  align-items: center;
}
.cloud-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ableton-hero-canvas,
.ableton-mini-canvas,
.detail-ableton-canvas {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #101217;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.75);
}
.ableton-hover-hint {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

.plugin-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.plugins-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.plugin-store-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.plugin-store-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--plugin-color, #38bdf8) 60%, transparent);
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.8), 0 0 28px -12px var(--plugin-color, #38bdf8);
}
.plugin-card-demo-wrap {
  position: relative;
  cursor: pointer;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
}
.plugin-hover-caption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(10, 12, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.68rem;
  color: #e2e8f0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.plugin-store-card:hover .plugin-hover-caption {
  opacity: 1;
  transform: translateY(0);
}
.plugin-card-body {
  flex: 1;
}
.plugin-store-card .card-title {
  cursor: pointer;
}

.bundle-banner {
  display: grid;
  grid-template-columns: 1.5fr minmax(240px, 0.85fr);
  gap: 24px;
  padding: 28px;
  align-items: center;
}
.bundle-price-box {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  text-align: center;
}

/* Dedicated Plugin Subpage (#plugin/<slug>) */
.plugin-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-bottom: 20px;
}
.plugin-pill-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.plugin-switch-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--muted);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
}
.plugin-switch-pill:hover,
.plugin-switch-pill.active {
  color: #fff;
  border-color: var(--pc, var(--accent));
  background: color-mix(in srgb, var(--pc, var(--accent)) 22%, var(--surface-solid));
}

.plugin-detail-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  padding: 26px;
  align-items: center;
  margin-bottom: 20px;
}
.plugin-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.detail-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.detail-grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-bottom: 20px;
}
.detail-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.detail-feature-item {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
}
.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.workflow-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--fg-secondary);
}
.wf-num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 700;
}
.detail-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.prev-next-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .cloud-hero-card,
  .bundle-banner,
  .plugin-detail-hero,
  .detail-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ==================== REAL PLUGIN UI EMBEDS, HOVER OVERLAYS & INTERACTIVE HOTSPOTS ==================== */
.cloud-dual-preview {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 12px;
  align-items: stretch;
}
.real-ui-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: #0c0d10;
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.85);
}
.cloud-real-frame {
  height: 310px;
}
.real-ui-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.cloud-ableton-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Real Plugin Card Thumbnail + Smooth Ableton Hover Overlay */
.plugin-card-demo-wrap {
  height: 186px;
  background: #0c0d10;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.real-thumb-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.real-thumb-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}
.real-thumb-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hover-ableton-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
  background: rgba(12, 14, 20, 0.92);
}
.plugin-store-card:hover .hover-ableton-layer {
  opacity: 1;
}
.hover-ableton-layer .ableton-mini-canvas {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

/* Subpage Real Plugin Live Stage + Interactive Hotspot Callouts */
.real-stage-wrap {
  position: relative;
  width: 100%;
  height: 370px;
  border-radius: 14px;
  overflow: visible;
  z-index: 15;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0c0d10;
  box-shadow: 0 18px 42px -14px rgba(0, 0, 0, 0.85);
}
.detail-real-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
  display: block;
}
.hotspots-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  z-index: 10;
}
.pin-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 12, 18, 0.92);
  border: 2px solid var(--pc, #38bdf8);
  color: #fff;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 18px var(--pc, #38bdf8);
  transition: transform 0.18s ease;
}
.hotspot-pin:hover,
.hotspot-pin:focus-within {
  z-index: 40;
}
.hotspot-pin:hover .pin-dot {
  transform: scale(1.16);
}
.pin-tooltip {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 210px;
  max-width: 78vw;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(10, 12, 18, 0.97);
  border: 1px solid var(--pc, #38bdf8);
  color: #e2e8f0;
  font-size: 0.74rem;
  line-height: 1.45;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.hotspot-pin.pin-below .pin-tooltip {
  bottom: auto;
  top: 34px;
  transform: translateX(-50%) translateY(-6px);
}
.hotspot-pin.pin-left .pin-tooltip {
  left: 0;
  transform: translateX(0) translateY(6px);
}
.hotspot-pin.pin-left.pin-below .pin-tooltip {
  transform: translateX(0) translateY(-6px);
}
.hotspot-pin.pin-right .pin-tooltip {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(6px);
}
.hotspot-pin.pin-right.pin-below .pin-tooltip {
  transform: translateX(0) translateY(-6px);
}
.hotspot-pin:hover .pin-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hotspot-pin.pin-left:hover .pin-tooltip,
.hotspot-pin.pin-right:hover .pin-tooltip {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* ==================== PROMINENT BLACK WEEK BANNER ==================== */
@keyframes bwPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}
@keyframes bwSheen {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.bw-promo-bar {
  position: relative;
  z-index: 65;
  background: linear-gradient(90deg, #1b0a2e 0%, #7f1d1d 26%, #9d174d 50%, #5b21b6 76%, #1b0a2e 100%);
  background-size: 220% 100%;
  animation: bwSheen 10s ease infinite;
  border-bottom: 2px solid rgba(251, 113, 133, 0.78);
  box-shadow: 0 8px 28px rgba(157, 23, 77, 0.38);
  padding: 12px 18px;
  text-align: center;
  font-size: 0.9rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bw-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.65);
}
.bw-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fef08a;
  animation: bwPulseDot 1.4s ease-in-out infinite;
}
.bw-text {
  line-height: 1.4;
}
.bw-text strong {
  color: #fef08a;
}
.bw-countdown {
  background: rgba(9, 9, 14, 0.62);
  border: 1px solid rgba(253, 224, 71, 0.55);
  color: #fde047;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.bw-cta {
  display: inline-flex;
  align-items: center;
  color: #09090b;
  background: linear-gradient(135deg, #fde047, #fbbf24);
  padding: 6px 15px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.45);
  transition: transform 0.14s ease, filter 0.14s ease;
}
.bw-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* Video-Style Ableton Demo Controls */
.video-controls-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #14171f;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.video-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.video-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.1s linear;
}

@media (max-width: 720px) {
  .cloud-dual-preview {
    grid-template-columns: 1fr;
  }
}


/* === ZAZA AUDIO RETRO HARDWARE STUDIO THEME (FLAGSHIP VOLUMETRIC LUXURY EDITION) === */
:root,
[data-palette='amber'],
[data-palette='violet'],
[data-palette='crimson'],
[data-palette='emerald'] {
  --font-mark: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand: 'Space Grotesk', 'Inter', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --bg: #050609;
  --bg-elevated: #0b0d13;
  --surface: rgba(14, 16, 22, 0.72);
  --surface-solid: #101219;
  --surface-hover: #171b25;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(235, 198, 98, 0.42);
  --fg: #f8f7f3;
  --fg-secondary: #c9c7c0;
  --muted: #8b8d98;

  --accent: #e5c158;
  --accent-rgb: 229, 193, 88;
  --accent-2: #f7e29c;
  --violet: #e5c158;
  --amber: #f0cf70;
  --emerald: #5ac48f;
  --cyan: #e5c158;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
}

body {
  background: var(--bg);
  color: var(--fg);
  letter-spacing: -0.01em;
}

/* Crisp, unblurred Volumetric WebGL Silk & Gold Caustics Shader */
.shader-bg-canvas {
  opacity: 0.96 !important;
  filter: none !important;
  transform: none !important;
}

/* Precision architectural studio hairline grid */
.ambient-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.024) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 92%) !important;
}

/* Sleek Luxury Announcement Ribbon */
.bw-promo-bar {
  background: linear-gradient(90deg, rgba(8,9,13,0.96) 0%, rgba(22,19,12,0.96) 50%, rgba(8,9,13,0.96) 100%) !important;
  backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(229, 193, 88, 0.24) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55) !important;
  padding: 9px 18px !important;
  font-size: 0.82rem !important;
  animation: none !important;
}
.bw-badge {
  background: rgba(229, 193, 88, 0.14) !important;
  border: 1px solid rgba(229, 193, 88, 0.45) !important;
  color: #f6df96 !important;
  box-shadow: none !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
}
.bw-dot {
  background: #f0cf70 !important;
  box-shadow: 0 0 8px #e5c158 !important;
}
.bw-text {
  color: #d6d3ca !important;
}
.bw-text strong {
  color: #f7e3a2 !important;
  font-weight: 600 !important;
}
.bw-countdown {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e8e4d8 !important;
  font-size: 0.74rem !important;
  padding: 3px 10px !important;
}
.bw-cta {
  background: linear-gradient(135deg, #f5dc8c, #d4af37) !important;
  color: #080704 !important;
  padding: 4px 13px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(229, 193, 88, 0.3) !important;
}

/* Frosted Carbon Studio Navbar */
.site-header {
  background: rgba(7, 8, 12, 0.72) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
}
.scroll-progress {
  height: 2px !important;
  background: linear-gradient(90deg, rgba(229,193,88,0.2), #e5c158, #fff1c2) !important;
  box-shadow: 0 0 14px rgba(229, 193, 88, 0.75) !important;
}
.brand-emblem {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #060709;
  border: 1px solid rgba(229, 193, 88, 0.55);
  box-shadow: 0 0 22px -4px rgba(229, 193, 88, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-word {
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  font-size: 1.05rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #e9d494 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-link {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  color: #a5a7b4 !important;
  letter-spacing: -0.01em;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* ==================== MULTI-LAYERED 3D GLASS & SPECULAR LIGHTING ==================== */
.hero-frame,
.spotlight-card,
.plugin-store-card,
.sampler-panel {
  position: relative;
  background:
    radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 193, 88, 0.095), transparent 48%),
    linear-gradient(168deg, rgba(22, 25, 34, 0.78) 0%, rgba(10, 12, 17, 0.88) 100%) !important;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-top-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 32px 72px -22px rgba(0, 0, 0, 0.92),
    0 8px 24px -10px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 0 0 1px rgba(229, 193, 88, 0.05) !important;
}

.hero-frame {
  border-radius: 26px !important;
  padding: 32px !important;
  background:
    radial-gradient(750px circle at var(--mx, 65%) var(--my, 20%), rgba(229, 193, 88, 0.13), transparent 52%),
    radial-gradient(600px ellipse at 50% -10%, rgba(145, 168, 220, 0.12), transparent 60%),
    linear-gradient(170deg, rgba(18, 21, 30, 0.84) 0%, rgba(8, 9, 14, 0.92) 100%) !important;
  border: 1px solid rgba(229, 193, 88, 0.22) !important;
  border-top-color: rgba(248, 226, 156, 0.34) !important;
}

.hero-top-badge {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #dcd8cc !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.12em !important;
  backdrop-filter: blur(10px);
}
.hero-pill {
  background: rgba(229, 193, 88, 0.08) !important;
  border: 1px solid rgba(229, 193, 88, 0.28) !important;
  color: #f3dc94 !important;
  font-size: 0.74rem !important;
}

.hero-title {
  font-family: var(--font-mark) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.02 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f5e6ba 58%, #c9a13b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 28px rgba(229, 193, 88, 0.22));
}
.hero-tagline {
  font-family: var(--font-mark) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #f4f2ec !important;
}
.hero-sub {
  color: #a9abb8 !important;
  font-size: 0.96rem !important;
  line-height: 1.65 !important;
}

.section-title {
  font-family: var(--font-mark) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  background: linear-gradient(180deg, #ffffff 15%, #dbd5c5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-eyebrow {
  color: #d9ba61 !important;
  letter-spacing: 0.09em !important;
  font-weight: 600 !important;
}

/* Disciplined Luxury Chips & Pills (eliminates cheap rainbow clashes) */
.spec-chip {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #d6d7df !important;
  font-size: 0.74rem !important;
  border-radius: 999px !important;
  padding: 5px 11px !important;
}
.tag-pill,
.tag-pill.violet {
  color: #f3dc92 !important;
  border: 1px solid rgba(229, 193, 88, 0.36) !important;
  background: rgba(229, 193, 88, 0.1) !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
}
.tag-pill.emerald {
  color: #9ae6bd !important;
  border: 1px solid rgba(90, 196, 143, 0.36) !important;
  background: rgba(90, 196, 143, 0.1) !important;
}

/* Specular Luxury Buttons with Animated Metallic Sheen */
.btn-primary,
.cart-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fae59e 0%, #e2bc54 50%, #b58d28 100%) !important;
  color: #090805 !important;
  border: 1px solid rgba(255, 244, 200, 0.75) !important;
  border-radius: 12px !important;
  box-shadow:
    0 10px 28px -8px rgba(229, 193, 88, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 240, 0.75) !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, filter 0.22s ease !important;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 140%;
}
.btn-primary:hover,
.cart-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 16px 36px -8px rgba(229, 193, 88, 0.68),
    0 6px 16px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 245, 0.85) !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top-color: rgba(255, 255, 255, 0.22) !important;
  color: #f4f2ec !important;
  border-radius: 12px !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.btn-secondary:hover {
  background: rgba(229, 193, 88, 0.11) !important;
  border-color: rgba(229, 193, 88, 0.45) !important;
  color: #fff6d6 !important;
  transform: translateY(-2px);
}

.btn-sm {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  color: #c2c4ce !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}
.btn-sm:hover {
  border-color: rgba(229, 193, 88, 0.4) !important;
  color: #ffffff !important;
}
.btn-sm.accent {
  background: rgba(229, 193, 88, 0.16) !important;
  border-color: rgba(229, 193, 88, 0.55) !important;
  color: #f7e199 !important;
  box-shadow: 0 0 18px -6px rgba(229, 193, 88, 0.5);
}

/* Luxury 3D Elevation & Specular Rim on Plugin Store Cards */
.plugin-store-card {
  border-radius: 20px !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.3s ease !important;
}
.plugin-store-card:hover {
  transform: translateY(-7px) scale(1.012);
  border-color: rgba(229, 193, 88, 0.52) !important;
  border-top-color: rgba(250, 230, 165, 0.72) !important;
  box-shadow:
    0 34px 72px -18px rgba(0, 0, 0, 0.96),
    0 0 36px -8px rgba(229, 193, 88, 0.32),
    inset 0 1px 0 rgba(255, 245, 210, 0.24) !important;
}
.price-tag {
  color: #f6e19b !important;
  font-family: var(--font-mark) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* Hotspot Pins & Tooltips (zero clipping) */
.pin-tooltip {
  z-index: 95;
  border: 1px solid rgba(229, 193, 88, 0.65) !important;
  background: rgba(9, 11, 16, 0.96) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.92), 0 0 24px -6px rgba(229, 193, 88, 0.28) !important;
}
.pin-dot {
  border-color: #e5c158 !important;
  background: rgba(10, 12, 18, 0.95) !important;
  box-shadow: 0 0 16px rgba(229, 193, 88, 0.75) !important;
}

/* ==================== CINEMATIC ZAZA STUDIO WORKFLOW HERO REEL ==================== */
.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% -5%, rgba(229, 193, 88, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #101219 0%, #06070a 100%);
  border: 1px solid rgba(229, 193, 88, 0.32);
  border-top-color: rgba(250, 232, 170, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 224, 0.15),
    inset 0 0 48px rgba(0, 0, 0, 0.9),
    0 28px 60px -16px rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 11px;
}
.zaza-reel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 4;
}
.zaza-reel-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.zaza-reel-logo-medallion {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(240, 207, 112, 0.62);
  box-shadow: 0 0 18px rgba(229, 193, 88, 0.35);
  background: #060709;
  flex-shrink: 0;
}
.zaza-reel-logo-medallion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zaza-reel-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #f3dc92;
  text-transform: uppercase;
}
.zaza-reel-beat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(229, 193, 88, 0.5);
  background: rgba(229, 193, 88, 0.12);
  color: #f8e5a8;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.zaza-reel-beat-btn:hover,
.zaza-reel-beat-btn.playing {
  background: linear-gradient(135deg, #fae59e, #d4af37);
  color: #090805;
  border-color: #fff3c4;
  box-shadow: 0 0 22px rgba(229, 193, 88, 0.55);
}
.zaza-macbook-bezel {
  position: relative;
  flex: 1;
  min-height: 265px;
  border-radius: 14px;
  background: #050608;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.92),
    inset 0 0 0 1px rgba(229, 193, 88, 0.16);
  overflow: hidden;
}
.zaza-reel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.zaza-reel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}
.zaza-reel-slide iframe {
  width: 200%;
  height: 200%;
  border: 0;
  transform: scale(0.5);
  transform-origin: top left;
  display: block;
}
.zaza-reel-overlay-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(7, 8, 12, 0.86);
  border: 1px solid rgba(229, 193, 88, 0.45);
  backdrop-filter: blur(12px);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: #f7e6b2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}
.zaza-reel-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5c158;
  box-shadow: 0 0 10px #fae08c;
  animation: bwPulseDot 1.3s ease-in-out infinite;
}
.zaza-reel-progress {
  height: 2.5px;
  width: 100%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.zaza-reel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b58d28, #fae396);
  box-shadow: 0 0 10px rgba(229, 193, 88, 0.65);
  transition: width 0.12s linear;
}
.zaza-reel-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.zaza-reel-tab {
  padding: 7px 6px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #9b9ea9;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zaza-reel-tab:hover {
  border-color: rgba(229, 193, 88, 0.38);
  color: #f5e6bb;
}
.zaza-reel-tab.active {
  background: rgba(229, 193, 88, 0.15);
  border-color: rgba(240, 207, 112, 0.65);
  color: #fae59c;
  box-shadow: 0 0 16px -4px rgba(229, 193, 88, 0.45);
}
.zaza-hero-logo-card {
  display: inline-flex;
  align-items: center;
  margin: 8px 0 18px;
}
.zaza-hero-logo-box {
  width: 196px;
  height: 152px;
  border-radius: 22px;
  overflow: hidden;
  background: #060709;
  border: 1.5px solid rgba(235, 198, 98, 0.58);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.92),
    0 0 46px -8px rgba(229, 193, 88, 0.45),
    inset 0 1px 0 rgba(255, 248, 224, 0.28);
  flex-shrink: 0;
}
.zaza-hero-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === ZAZA AUDIO PRECISION TYPOGRAPHY, FLOATING 3D LOGO, LARGE DAW HERO & REAL RETRO PREVIEWS === */
:root {
  --font-mark: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif !important;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace !important;
}

body {
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .section-title, .hero-tagline, .card-title, .brand-word {
  font-family: var(--font-mark) !important;
  letter-spacing: -0.028em !important;
  font-feature-settings: "ss01", "cv01";
}

.brand-emblem {
  width: 36px !important;
  height: 36px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 10px rgba(229, 193, 88, 0.45));
}

/* Larger Hero Grid giving 64% to the live DAW / Retro Plugin Showcase */
.hero-grid {
  display: grid !important;
  grid-template-columns: minmax(270px, 0.78fr) minmax(440px, 1.42fr) !important;
  gap: 32px !important;
  align-items: center !important;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Pure Floating Transparent 3D ZA Sculpture (ZERO box, ZERO square border!) */
.zaza-hero-logo-card {
  display: block;
  margin: 0 0 18px 0 !important;
}
.zaza-hero-logo-free {
  display: block;
  width: 215px;
  max-width: 72%;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 28px rgba(229, 193, 88, 0.28));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}
.zaza-hero-logo-free:hover {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 38px rgba(229, 193, 88, 0.42));
}

.hero-tagline {
  font-size: clamp(1.9rem, 3.1vw, 2.55rem) !important;
  line-height: 1.12 !important;
  margin: 0 0 14px 0 !important;
  background: linear-gradient(180deg, #ffffff 10%, #e7dec8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: #a6a9b6 !important;
  max-width: 390px;
  margin: 0 0 24px 0 !important;
}

/* Bigger, Sharper Hero DAW & Retro Plugin Stage */
.hero-stage {
  min-height: 468px !important;
  padding: 15px !important;
  gap: 12px !important;
}
.zaza-macbook-bezel {
  min-height: 356px !important;
  border-radius: 14px !important;
}
.zaza-reel-slide iframe {
  width: 162% !important;
  height: 162% !important;
  transform: scale(0.6173) !important;
  transform-origin: top left !important;
}
.zaza-reel-logo-medallion {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 30px !important;
  height: 30px !important;
}
.zaza-reel-logo-medallion img {
  object-fit: contain !important;
  filter: drop-shadow(0 2px 8px rgba(229, 193, 88, 0.4));
}

/* Real Retro Plugin Previews on Main Page (Cloud Spotlight + 22-Plugin Grid) */
.cloud-real-only-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
  height: 100%;
  min-height: 290px;
}
@media (max-width: 720px) {
  .cloud-real-only-grid {
    grid-template-columns: 1fr;
  }
}
.cloud-real-frame,
.cloud-tape-frame {
  position: relative;
  min-height: 280px;
  border-radius: 14px;
  overflow: hidden;
  background: #08090d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.8), 0 12px 28px rgba(0, 0, 0, 0.55);
}
.real-frame-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(7, 8, 12, 0.86);
  border: 1px solid rgba(229, 193, 88, 0.42);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #f4df9a;
  backdrop-filter: blur(8px);
}

.plugin-card-demo-wrap {
  height: 224px !important;
  background: #07080c !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.real-thumb-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #161922 0%, #07080c 100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.plugin-store-card:hover .real-thumb-box {
  transform: scale(1.03);
}
.real-thumb-hover-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 7, 10, 0.94) 55%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}
.plugin-store-card:hover .real-thumb-hover-bar {
  opacity: 1;
  transform: translateY(0);
}
.real-thumb-hover-bar span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #f7e199;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 14, 20, 0.92);
  border: 1px solid rgba(229, 193, 88, 0.45);
}

.card-title {
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  color: #fbfaf6 !important;
}
.card-desc {
  font-size: 0.86rem !important;
  line-height: 1.55 !important;
  color: #9ea1ae !important;
}
.price-tag {
  font-variant-numeric: tabular-nums;
}
/* === ZAZA CLEAN BANNER v25: transparent 3D cutout + live tilt === */
.brand-emblem { width: 40px !important; height: 40px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; overflow: visible !important; }
.brand-emblem img { width: 100%; height: 100%; object-fit: contain !important; mix-blend-mode: normal !important; -webkit-mask-image: none !important; mask-image: none !important; filter: drop-shadow(0 2px 8px rgba(229,193,88,0.4)) !important; }
.zaza-hero-logo-card { perspective: 900px; margin: 0 0 18px 0 !important; }
.zaza-hero-logo-free {
  width: 300px !important; max-width: 90% !important; height: auto;
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  mix-blend-mode: normal !important; -webkit-mask-image: none !important; mask-image: none !important;
  transform-style: preserve-3d; will-change: transform;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--fy, 0px));
  transition: transform 0.18s ease-out;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,0.85)) drop-shadow(0 0 30px rgba(229,193,88,0.3)) !important;
}
.zaza-hero-logo-free:hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--fy, 0px)) scale(1.03); }
.hero-stage { min-height: 440px !important; }
.zaza-macbook-bezel { min-height: 400px !important; }
/* === ZAZA HOME MINIMAL v26 === */
/* Home page = visuals + name + price. Full descriptions live on plugin subpages. */
[data-page="home"] .plugin-store-card .card-desc,
[data-page="home"] .plugin-store-card .spec-row,
[data-page="home"] .plugin-store-card .card-top .font-mono,
[data-page="home"] #cloud-spotlight-card p,
[data-page="home"] #cloud-spotlight-card .spec-row,
[data-page="home"] #daw-showcase p,
[data-page="home"] #daw-showcase .spec-row,
[data-page="home"] #daw-showcase iframe + div,
[data-page="home"] #pobierz .spotlight-card p,
[data-page="home"] #pakiet p,
[data-page="home"] #pakiet .spec-row,
[data-page="home"] #cloud-zero-disk-anim,
[data-page="home"] .ableton-hover-hint { display: none !important; }
[data-page="home"] .plugin-store-card .card-title { margin: 8px 0 12px !important; }
[data-page="home"] .plugin-card-body { padding-bottom: 4px !important; }
[data-page="home"] .section { padding-top: 56px !important; padding-bottom: 8px !important; }
/* === ZAZA LOGO PLANET v27 === */
/* Calm, constant planet-like rotation. No mouse tilt, no bobbing, no hover scale, no X-axis skew. */
.zaza-hero-logo-card { perspective: 1400px !important; }
.zaza-hero-logo-free,
.zaza-hero-logo-free:hover {
  transition: none !important;
  transform: none;
  animation: zazaPlanetSpin 14s cubic-bezier(0.45, 0, 0.55, 1) infinite !important;
  backface-visibility: visible;
}
@keyframes zazaPlanetSpin {
  0%   { transform: rotateY(-24deg); }
  50%  { transform: rotateY(24deg); }
  100% { transform: rotateY(-24deg); }
}
@media (prefers-reduced-motion: reduce) {
  .zaza-hero-logo-free { animation: none !important; }
}
/* === ZAZA V28: NO GRID + 3D HERO BREAKOUT === */
/* Remove background grid completely */
.ambient-grid { display: none !important; opacity: 0 !important; }

/* Make Black Week bar clearly clickable */
.bw-promo-bar { cursor: pointer; }

/* Subtle 3D breakout effect: Hero DAW / Tape showcase extends slightly past the right banner edge */
.hero-frame { overflow: visible !important; }
@media (min-width: 980px) {
  .hero-stage {
    transform: translateX(34px) perspective(1100px) rotateY(-4deg) scale(1.03);
    box-shadow:
      -20px 34px 72px rgba(0, 0, 0, 0.92),
      0 0 46px -10px rgba(229, 193, 88, 0.34),
      inset 0 1px 0 rgba(255, 248, 224, 0.22) !important;
    z-index: 6;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .hero-stage:hover {
    transform: translateX(40px) perspective(1100px) rotateY(-1.5deg) scale(1.045);
  }
}
/* === ZAZA V29: LIGHT MODE + SOLID LOGO POLISH === */
[data-theme='light'] {
  --bg: #f6f4ee;
  --bg-elevated: #ece8de;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --fg: #121318;
  --fg-secondary: #343742;
  --muted: #5c606d;
}
[data-theme='light'] .site-header {
  background: rgba(246, 244, 238, 0.86) !important;
  border-bottom-color: rgba(18, 19, 24, 0.1) !important;
}
[data-theme='light'] .brand-word,
[data-theme='light'] .hero-tagline,
[data-theme='light'] .section-title,
[data-theme='light'] .card-title {
  background: none !important;
  -webkit-text-fill-color: #121318 !important;
  color: #121318 !important;
}
[data-theme='light'] .nav-link { color: #3d404c !important; }
[data-theme='light'] .nav-link:hover, [data-theme='light'] .nav-link.active { color: #090a0f !important; background: rgba(0,0,0,0.06) !important; }
[data-theme='light'] .hero-frame,
[data-theme='light'] .spotlight-card,
[data-theme='light'] .plugin-store-card {
  background: linear-gradient(170deg, rgba(255,255,255,0.92), rgba(245,242,235,0.96)) !important;
  border-color: rgba(18, 19, 24, 0.12) !important;
  box-shadow: 0 22px 48px -18px rgba(18, 19, 24, 0.16) !important;
}
[data-theme='light'] .zaza-hero-logo-free {
  filter: drop-shadow(0 16px 24px rgba(18, 19, 24, 0.28)) !important;
}
[data-theme='light'] .btn-secondary {
  background: rgba(18, 19, 24, 0.06) !important;
  border-color: rgba(18, 19, 24, 0.18) !important;
  color: #121318 !important;
}
[data-theme='light'] .price-tag { color: #9a7418 !important; }
/* === ZAZA V30: RETINA SILK + CLEAN FRAMELESS PLUGIN HERO === */
/* Keep hero-stage cleanly inside hero-frame — zero sticking-out outer window box */
.hero-frame {
  overflow: hidden !important;
}
.hero-stage {
  transform: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 420px !important;
  overflow: visible !important;
}
.hero-stage:hover {
  transform: none !important;
}
/* Only the plugin/DAW interface itself stands out cleanly with a crisp studio shadow */
.zaza-macbook-bezel {
  min-height: 410px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(229, 193, 88, 0.28) !important;
  box-shadow:
    0 26px 60px -12px rgba(0, 0, 0, 0.88),
    0 0 32px -10px rgba(229, 193, 88, 0.22) !important;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease !important;
}
.zaza-macbook-bezel:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 34px 72px -12px rgba(0, 0, 0, 0.94),
    0 0 42px -8px rgba(229, 193, 88, 0.32) !important;
}
.zaza-reel-progress {
  margin-top: 8px;
  opacity: 0.65;
}
/* Gentle hover lift on logo while keeping smooth planet spin */
.zaza-hero-logo-card {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.zaza-hero-logo-card:hover {
  transform: translateY(-4px) scale(1.04);
}

.shader-bg-canvas { will-change: transform; transform: translateZ(0) !important; contain: strict; }
