:root {
  --bg-obsidian: #030610;
  --bg-surface: rgba(12, 19, 36, 0.72);
  --bg-well: rgba(6, 10, 22, 0.85);
  --well-alt: rgba(15, 23, 42, 0.85);
  --nav-bg: rgba(3, 6, 16, 0.75);
  --deck-bg: linear-gradient(180deg, rgba(16, 24, 44, 0.94), rgba(8, 13, 26, 0.96));
  --dl-panel-bg: linear-gradient(135deg, rgba(12, 22, 44, 0.92), rgba(18, 12, 38, 0.92));
  --footer-bg: rgba(3, 6, 16, 0.9);
  --modal-bg: #0c1427;
  --code-bg: rgba(6, 182, 212, 0.12);
  --code-color: #38bdf8;
  --border-glass: rgba(148, 163, 184, 0.16);
  --border-cyan: rgba(6, 182, 212, 0.38);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --shadow-card: 0 24px 52px rgba(0, 0, 0, 0.55);
  --shadow-deck: 0 32px 90px rgba(0, 0, 0, 0.72), 0 0 60px rgba(6, 182, 212, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --cyan: #06b6d4;
  --sky: #38bdf8;
  --indigo: #6366f1;
  --purple: #a855f7;
  --pink: #ec4899;
  --emerald: #10b981;
  --amber: #f59e0b;
}

html.light {
  --bg-obsidian: #f1f5fb;
  --bg-surface: rgba(255, 255, 255, 0.88);
  --bg-well: rgba(241, 245, 249, 0.96);
  --well-alt: rgba(226, 232, 240, 0.9);
  --nav-bg: rgba(248, 250, 252, 0.84);
  --deck-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98));
  --dl-panel-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 242, 255, 0.95));
  --footer-bg: rgba(248, 250, 252, 0.95);
  --modal-bg: #ffffff;
  --code-bg: rgba(2, 132, 199, 0.1);
  --code-color: #0369a1;
  --border-glass: rgba(15, 23, 42, 0.12);
  --border-cyan: rgba(2, 132, 199, 0.35);
  --text-main: #0f172a;
  --text-muted: #475569;
  --shadow-card: 0 18px 42px rgba(15, 23, 42, 0.1);
  --shadow-deck: 0 28px 70px rgba(15, 23, 42, 0.14), 0 0 40px rgba(6, 182, 212, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --cyan: #0891b2;
  --sky: #0284c7;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --pink: #db2777;
  --emerald: #059669;
  --amber: #d97706;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.55;
  transition: background-color 0.25s ease, color 0.25s ease;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: var(--code-bg);
  color: var(--code-color);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ==========================================
   3D BACKGROUND CANVAS, AURAS & GRID FLOOR
   ========================================== */
#bgParticlesCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

.ambient-aura {
  position: fixed;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.24;
  z-index: -2;
  pointer-events: none;
  animation: auraFloat 14s ease-in-out infinite alternate;
}

.aura-cyan {
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  top: -180px;
  left: -140px;
}

.aura-purple {
  background: radial-gradient(circle, var(--purple), transparent 70%);
  bottom: -200px;
  right: -120px;
  animation-delay: -7s;
}

@keyframes auraFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.12); }
}

.grid-floor {
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 35%, black 35%, transparent 85%);
  pointer-events: none;
}

.container {
  width: min(1220px, 92%);
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(120deg, var(--sky) 0%, #818cf8 48%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================
   NAVBAR
   ========================================== */
html.light .ambient-aura {
  opacity: 0.16;
}

html.light .grid-floor {
  background-image:
    linear-gradient(rgba(2, 132, 199, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.06) 1px, transparent 1px);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border-glass);
  transition: background-color 0.25s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.45);
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-cyan { color: var(--cyan); }
.brand-white { color: var(--text-main); }

.ver-pill {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.89rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--sky);
}

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

.btn-theme-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color 0.2s, transform 0.15s;
}

.btn-theme-toggle:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.btn-nav-dl {
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: 0 6px 22px rgba(6, 182, 212, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(6, 182, 212, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ==========================================
   HERO & 3D AUDIO STAGE
   ========================================== */
.hero-section {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--sky);
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulseGlow 1.6s infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.85rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn-primary-3d {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #06b6d4 0%, #6366f1 55%, #a855f7 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.96rem;
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s;
}

.btn-primary-3d:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 42px rgba(99, 102, 241, 0.55);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  animation: shineSweep 3.8s infinite;
}

@keyframes shineSweep {
  0% { left: -100%; }
  45%, 100% { left: 160%; }
}

.btn-secondary-3d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, border-color 0.2s;
}

.btn-secondary-3d:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.metric-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--sky);
  font-family: ui-monospace, monospace;
}

.metric-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.metric-sep {
  width: 1px;
  height: 28px;
  background: var(--border-glass);
}

/* 3D Hero Stage */
.hero-3d-stage {
  position: relative;
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

#hero3dCanvas {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 0 36px rgba(6, 182, 212, 0.25));
}

.stage-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.22);
  pointer-events: none;
  transform-style: preserve-3d;
}

.ring-outer {
  width: 420px;
  height: 420px;
  transform: rotateX(70deg) rotateY(-12deg);
  animation: spinRing 20s linear infinite;
}

.ring-inner {
  width: 310px;
  height: 310px;
  border-color: rgba(168, 85, 247, 0.3);
  transform: rotateX(68deg) rotateY(15deg);
  animation: spinRing 14s linear infinite reverse;
}

@keyframes spinRing {
  from { transform: rotateX(70deg) rotateZ(0deg); }
  to { transform: rotateX(70deg) rotateZ(360deg); }
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease-out, border-color 0.25s;
  pointer-events: auto;
}

.float-chip:hover {
  border-color: var(--cyan);
}

.float-chip strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-main);
}

.float-chip small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chip-icon { font-size: 1.25rem; }
.chip-vocals { top: 24px; left: 4px; border-color: rgba(236, 72, 153, 0.35); }
.chip-drums { top: 44px; right: 0; border-color: rgba(6, 182, 212, 0.38); }
.chip-bass { bottom: 38px; left: 10px; border-color: rgba(99, 102, 241, 0.38); }
.chip-lyrics { bottom: 20px; right: 8px; border-color: rgba(16, 185, 129, 0.38); }

/* ==========================================
   SECTIONS & 3D STUDIO SANDBOX
   ========================================== */
.section-pad {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* 3D Studio Deck Container */
.studio-3d-wrapper {
  perspective: 1600px;
}

.studio-deck-shell {
  background: var(--deck-bg);
  border: 1px solid var(--border-cyan);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-deck);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.deck-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 16px;
}

.deck-brand-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.win-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.win-dot.red { background: #ef4444; }
.win-dot.amber { background: #f59e0b; }
.win-dot.green { background: #10b981; }

.deck-title {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.deck-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hud-chip {
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
}
.hud-chip.green { color: var(--emerald); border-color: rgba(16, 185, 129, 0.35); }
.hud-chip.cyan { color: var(--sky); border-color: rgba(56, 189, 248, 0.35); }

.deck-transport {
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}

#demoSpectrumCanvas {
  width: 100%;
  height: 82px;
  display: block;
  border-radius: 10px;
  background: #060b18;
  margin-bottom: 12px;
}

.transport-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.transport-left, .transport-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn-demo-play {
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #ffffff;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
  transition: transform 0.15s;
}

.btn-demo-play:hover { transform: scale(1.03); }

.btn-demo-play.playing {
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  color: #ffffff;
}

.btn-demo-sub {
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--well-alt);
  border: 1px solid var(--border-glass);
  color: var(--sky);
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.bass-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--well-alt);
  border: 1px solid var(--border-glass);
  padding: 6px 10px;
  border-radius: 10px;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bass-control select {
  background: transparent;
  border: none;
  color: var(--amber);
  font-weight: 800;
  cursor: pointer;
  outline: none;
}

.bass-control select option {
  background: var(--modal-bg);
  color: var(--text-main);
}

.limiter-pill {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald);
}

.demo-lanes {
  display: grid;
  gap: 10px;
}

.lane-row {
  display: grid;
  grid-template-columns: 205px 60px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
  transition: border-color 0.2s, opacity 0.2s, box-shadow 0.2s;
}

.lane-row.is-solo {
  border-color: var(--amber);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.25);
}

.lane-row.is-muted {
  opacity: 0.5;
  border-color: rgba(239, 68, 68, 0.4);
}

.lane-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lane-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  font-size: 1.1rem;
}

.lane-id strong {
  display: block;
  font-size: 0.85rem;
}

.lane-id small {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.led-meter {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 26px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #090f1d;
}

.led-bar {
  width: 6px;
  height: 25%;
  border-radius: 2px;
  background: #1e293b;
  transition: height 0.07s, background 0.07s;
}

.lane-fader {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lane-fader input[type="range"] {
  flex: 1;
  accent-color: var(--sky);
  cursor: pointer;
}

.lane-vol-txt {
  font-family: ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--sky);
  width: 38px;
  text-align: right;
}

.lane-btns {
  display: flex;
  gap: 6px;
}

.btn-lane {
  cursor: pointer;
  border: 1px solid var(--border-glass);
  background: var(--well-alt);
  color: var(--text-muted);
  font-weight: 900;
  font-size: 0.72rem;
  padding: 7px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}

.btn-lane.solo-active {
  background: var(--amber);
  color: #030610;
  border-color: var(--amber);
}

.btn-lane.mute-active {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

/* ==========================================
   3D FEATURE CARDS
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.card-3d {
  position: relative;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, border-color 0.25s, box-shadow 0.25s;
}

.card-3d:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-card);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.15), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}

.card-3d:hover .card-glow {
  opacity: 1;
}

.card-3d-inner {
  padding: 26px;
  transform: translateZ(22px);
}

.icon-cube {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.icon-cube.cyan { background: rgba(6, 182, 212, 0.14); border-color: rgba(6, 182, 212, 0.35); }
.icon-cube.purple { background: rgba(168, 85, 247, 0.14); border-color: rgba(168, 85, 247, 0.35); }
.icon-cube.pink { background: rgba(236, 72, 153, 0.14); border-color: rgba(236, 72, 153, 0.35); }
.icon-cube.amber { background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.35); }
.icon-cube.emerald { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.35); }
.icon-cube.blue { background: rgba(59, 130, 246, 0.14); border-color: rgba(59, 130, 246, 0.35); }

.card-3d h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-3d p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================
   AI LYRICS SHOWCASE
   ========================================== */
.lyrics-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}

.lyrics-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.14;
  margin-bottom: 14px;
}

.lyrics-copy p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
}

.check-list li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald);
  font-weight: 900;
  font-size: 0.78rem;
}

.lyrics-3d-card {
  position: relative;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 22px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform-style: preserve-3d;
}

.lyrics-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tag-pill.purple {
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.script-pills {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
}

.sp-btn {
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 7px;
}

.sp-btn.active {
  background: var(--purple);
  color: #fff;
}

.lyrics-mock-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.ltab {
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--bg-well);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ltab:hover {
  color: var(--text-main);
  border-color: var(--border-glass);
}

.ltab.active {
  background: rgba(99, 102, 241, 0.16);
  color: var(--text-main);
  border-color: rgba(99, 102, 241, 0.45);
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.lyrics-code-box {
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 16px;
  font-family: system-ui, 'Noto Sans Devanagari', sans-serif;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-main);
  white-space: pre-wrap;
  min-height: 158px;
  margin-bottom: 12px;
}

.lyrics-mock-foot {
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--emerald);
}

/* ==========================================
   COMPATIBILITY & DOWNLOAD CENTER
   ========================================== */
.compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.compat-card {
  position: relative;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 26px;
}

.compat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.compat-badge {
  font-family: ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 8px;
}

.compat-badge.gpu {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.compat-badge.cpu {
  background: rgba(6, 182, 212, 0.14);
  color: var(--sky);
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.speed-tag {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
}

.compat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.compat-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.download-3d-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  background: var(--dl-panel-bg);
  border: 1px solid var(--border-cyan);
  border-radius: 26px;
  padding: 36px;
  box-shadow: var(--shadow-deck);
}

.dl-left h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.dl-left p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.dl-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.dl-meta-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
}

.dl-meta-box small {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.dl-meta-box strong {
  font-size: 0.92rem;
  color: var(--text-main);
}

.sha-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
  font-size: 0.76rem;
}

.sha-bar code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy-sha {
  cursor: pointer;
  border: 1px solid rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.15);
  color: var(--sky);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 8px;
}

.dl-card {
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 14px;
}

.dl-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dl-card-top img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.dl-card-top h3 {
  font-size: 1.05rem;
}

.dl-card-top small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.btn-download-big {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #030610;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(6, 182, 212, 0.48);
}

.btn-download-big > span {
  font-size: 1.5rem;
}

.btn-download-big strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.btn-download-big small {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.85;
}

.btn-guide-link {
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  background: var(--well-alt);
  border: 1px solid var(--border-glass);
  color: var(--sky);
  font-weight: 700;
  font-size: 0.82rem;
}

.dl-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================
   FAQ & FOOTER & MODAL
   ========================================== */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-main);
  padding: 18px 20px;
  text-align: left;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.footer {
  border-top: 1px solid var(--border-glass);
  padding: 46px 0 28px;
  background: var(--footer-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-about {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 34ch;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.86rem;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--sky);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--sky);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-card {
  width: min(560px, 100%);
  border-radius: 20px;
  background: var(--modal-bg);
  border: 1px solid var(--border-cyan);
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.modal-close {
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--well-alt);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 800;
}

.install-steps {
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.install-steps strong { color: var(--text-main); }

.modal-tip {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--code-bg);
  border: 1px solid var(--border-cyan);
  font-size: 0.82rem;
  color: var(--text-main);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 960px) {
  .hero-grid, .lyrics-split-grid, .download-3d-panel, .compat-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-3d-stage {
    height: 410px;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--modal-bg);
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-grid-2 { grid-template-columns: 1fr; }
  .lane-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .float-chip { display: none; }
}

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

/* ==========================================
   TRUST, LEGAL & INFO SUBPAGES
   ========================================== */
.legal-main {
  position: relative;
  z-index: 2;
  padding: 112px 0 80px;
  min-height: calc(100vh - 180px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--sky);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.legal-hero {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 24px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.legal-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  margin: 10px 0 12px;
  color: var(--text-main);
}

.legal-hero p {
  color: var(--text-muted);
  max-width: 72ch;
  font-size: 0.98rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.legal-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 26px 28px;
  backdrop-filter: blur(14px);
}

.legal-card h2 {
  font-size: 1.24rem;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-card h3 {
  font-size: 1rem;
  color: var(--sky);
  margin: 14px 0 6px;
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.72;
}

.legal-card ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.legal-card strong {
  color: var(--text-main);
}

.legal-callout {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-well);
  border: 1px solid var(--border-cyan);
  font-size: 0.88rem;
  color: var(--text-main);
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.legal-table th {
  color: var(--text-main);
  background: var(--bg-well);
  font-weight: 700;
}

.legal-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.contact-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 10px 14px;
}

.contact-email-row a {
  color: var(--sky);
  text-decoration: none;
  font-family: ui-monospace, monospace;
  font-size: 0.88rem;
  font-weight: 700;
}

.btn-copy-inline {
  margin-left: auto;
  border: 1px solid var(--border-cyan);
  background: var(--code-bg);
  color: var(--code-color);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
}

/* ==========================================
   STUDIO BLOG HUB & ARTICLE PAGES
   ========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 26px;
  border-radius: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-4px);
}

.blog-card.is-hidden {
  display: none;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-cat {
  font-weight: 800;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--code-bg);
  border: 1px solid var(--border-cyan);
  color: var(--code-color);
}

.blog-cat.purple {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(168, 85, 247, 0.35);
  color: var(--purple);
}

.blog-cat.emerald {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--emerald);
}

.blog-cat.pink {
  background: rgba(236, 72, 153, 0.14);
  border-color: rgba(236, 72, 153, 0.35);
  color: var(--pink);
}

.blog-card h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--text-main);
  margin: 4px 0;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--sky);
}

.blog-card p {
  font-size: 0.91rem;
  line-height: 1.66;
  color: var(--text-muted);
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sky);
  text-decoration: none;
  margin-top: 4px;
}

.blog-read-link:hover {
  text-decoration: underline;
}

.blog-section-cta {
  text-align: center;
  margin-top: 28px;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-filter-btn {
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.blog-filter-btn:hover {
  color: var(--text-main);
  border-color: var(--border-cyan);
}

.blog-filter-btn.active {
  background: var(--code-bg);
  border-color: var(--border-cyan);
  color: var(--code-color);
}

.blog-search-input {
  min-width: min(300px, 100%);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: var(--bg-well);
  color: var(--text-main);
  font-size: 0.88rem;
}

.blog-search-input::placeholder {
  color: var(--text-muted);
}

.blog-search-input:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-prose {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 34px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 18px;
}

.article-prose h2 {
  font-size: 1.38rem;
  color: var(--text-main);
  margin-top: 8px;
}

.article-prose h3 {
  font-size: 1.08rem;
  color: var(--sky);
  margin-top: 4px;
}

.article-prose p,
.article-prose li {
  font-size: 0.96rem;
  line-height: 1.76;
  color: var(--text-muted);
}

.article-prose ul,
.article-prose ol {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.article-prose strong {
  color: var(--text-main);
}

.article-cta-banner {
  margin-top: 24px;
  padding: 26px 28px;
  border-radius: 22px;
  background: var(--dl-panel-bg);
  border: 1px solid var(--border-cyan);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-cta-banner h3 {
  font-size: 1.18rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.article-cta-banner p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-prose { padding: 24px 20px; }
}

/* Contextual Internal Links & Topic Cluster Hub */
.card-3d-inner p a,
.compat-card p a,
.faq-a a,
.article-prose a,
.legal-card p a,
.legal-card li a,
.lyrics-copy p a {
  color: var(--sky);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.45);
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.card-3d-inner p a:hover,
.compat-card p a:hover,
.faq-a a:hover,
.article-prose a:hover,
.legal-card p a:hover,
.legal-card li a:hover,
.lyrics-copy p a:hover {
  color: var(--cyan);
  text-decoration-color: var(--cyan);
}

.cluster-nav-box {
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
}

.cluster-nav-box h3 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.cluster-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  list-style: none;
}

.cluster-links-grid a {
  color: var(--sky);
  text-decoration: none;
  font-size: 0.89rem;
  font-weight: 600;
}

.cluster-links-grid a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .cluster-links-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   COOKIE CONSENT BANNER & SETTINGS TRIGGER
   ========================================== */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  width: min(440px, calc(100vw - 28px));
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--modal-bg);
  border: 1px solid var(--border-cyan);
  box-shadow: var(--shadow-deck);
  backdrop-filter: blur(18px);
  animation: cookieSlideUp 0.28s ease-out;
}

.cookie-banner.hidden {
  display: none;
}

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

.cookie-banner-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.cookie-banner-text {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.cookie-banner-text a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.btn-cookie-essential {
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  background: var(--bg-well);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 0.2s ease;
}

.btn-cookie-essential:hover {
  border-color: var(--border-cyan);
}

.btn-cookie-accept {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.btn-cookie-accept:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-cookie-prefs {
  border: none;
  background: transparent;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-cookie-prefs:hover {
  color: var(--cyan);
}

@media (max-width: 520px) {
  .cookie-banner {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: auto;
  }
}

/* ==========================================
   MOBILE HASH WRAP + GALLERY + AEO + PROGRESS
   ========================================== */
.contact-email-row code,
.legal-card code,
.article-prose code {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.aeo-answer-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-cyan);
  border-left: 4px solid var(--cyan);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 0 auto 30px;
  max-width: 920px;
  backdrop-filter: blur(12px);
}

.aeo-answer-box h3 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.aeo-answer-box p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.screen-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.screen-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
}

.screen-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
}

.screen-thumb-btn img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.screen-cap {
  padding: 12px 4px 4px;
}

.screen-cap strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.screen-cap small {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.release-strip {
  margin-top: 24px;
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.release-strip strong {
  color: var(--text-main);
}

.lightbox-modal .modal-card {
  width: min(1040px, 100%);
  padding: 16px;
}

.lightbox-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.read-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 120;
  background: linear-gradient(90deg, var(--cyan), var(--indigo), var(--pink));
  pointer-events: none;
  transition: width 0.08s linear;
}

.btn-back-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-cyan);
  background: var(--modal-bg);
  color: var(--sky);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease;
}

.btn-back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-back-top:hover {
  background: var(--cyan);
  color: #ffffff;
}

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

/* ==========================================
   DEDICATED DOWNLOAD CENTER PAGE (download.html)
   ========================================== */
.dl-launch-card {
  background: var(--dl-panel-bg);
  border: 1px solid var(--border-cyan);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-deck);
  display: grid;
  gap: 18px;
}

.dl-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald);
  font-size: 0.85rem;
  font-weight: 700;
}

.dl-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dlPulse 1.6s infinite;
  flex-shrink: 0;
}

@keyframes dlPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dl-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.dl-action-row .btn-download-big {
  flex: 1 1 320px;
}

.btn-dl-secondary {
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--well-alt);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.btn-dl-secondary:hover {
  border-color: var(--border-cyan);
  color: var(--sky);
}

.dl-cmd-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-well);
  border: 1px solid var(--border-glass);
}

.dl-cmd-box code {
  font-size: 0.8rem;
  word-break: break-all;
}
