/* ============================================
   FreezyBeats — Frost Theme
   Palette: midnight blues, icy cyans, frost whites
   ============================================ */

:root {
  --bg-0: #030812;
  --bg-1: #071324;
  --bg-2: #0d1e35;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hi: rgba(255, 255, 255, 0.08);
  --border: rgba(127, 219, 255, 0.12);
  --border-hi: rgba(127, 219, 255, 0.3);

  --ice-1: #7FDBFF;
  --ice-2: #00D4FF;
  --ice-3: #4FC3F7;
  --ice-4: #A0E9FF;
  --frost: #E8F4FD;

  --text: #E8F4FD;
  --text-dim: #8FA5BD;
  --text-mute: #5B7A99;

  --grad-ice: linear-gradient(135deg, #7FDBFF 0%, #00D4FF 50%, #4FC3F7 100%);
  --grad-frost: linear-gradient(180deg, rgba(127,219,255,0.08) 0%, rgba(127,219,255,0) 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-glow: 0 10px 40px -10px rgba(0, 212, 255, 0.35);
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-impact: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ===== Background effects ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(0, 212, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(127, 219, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(79, 195, 247, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Aurora + grain removed for performance — background gradient in body::before is enough */
.aurora, .grain { display: none; }

main, header, footer {
  position: relative;
  z-index: 2;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(3, 8, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-impact);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--grad-ice);
  color: var(--bg-0);
  border-radius: 12px;
  box-shadow: var(--shadow-glow);
}

.logo-text .accent {
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 1px;
  background: var(--grad-ice);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad-ice);
  color: var(--bg-0);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px -10px rgba(0, 212, 255, 0.6);
}

.btn-ghost {
  background: rgba(13, 30, 53, 0.55);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface-hi);
  border-color: var(--border-hi);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

.btn-mini {
  padding: 9px 16px;
  font-size: 12px;
  background: var(--surface-hi);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.btn-mini:hover {
  background: var(--ice-2);
  color: var(--bg-0);
  border-color: var(--ice-2);
}

.btn-full {
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(13, 30, 53, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ice-2);
  box-shadow: 0 0 12px var(--ice-2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-impact);
  font-size: clamp(60px, 10vw, 140px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
  max-width: 1100px;
}

.gradient-text {
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 80px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 700px;
  width: 100%;
  padding: 28px;
  background: rgba(13, 30, 53, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats span {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.orb-1 { width: 400px; height: 400px; background: var(--ice-2); top: -80px; left: -80px; }
.orb-2 { width: 320px; height: 320px; background: var(--ice-1); top: 20%; right: -80px; }
.orb-3 { width: 280px; height: 280px; background: var(--ice-3); bottom: -60px; left: 30%; }

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(7, 19, 36, 0.5);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--text-mute);
}

.marquee-track span:nth-child(odd) { color: var(--text); }
.marquee-track span:nth-child(odd):hover { color: var(--ice-2); }

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 48px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.section-head.center-head {
  justify-content: center;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice-2);
  margin-bottom: 14px;
}

.eyebrow.center,
.lead.center,
h2.center {
  display: block;
  text-align: center;
}

h2 {
  font-family: var(--font-impact);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 20px auto 60px;
}

.link-arrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ice-2);
  font-size: 14px;
  white-space: nowrap;
  transition: gap 0.2s;
}

.link-arrow span {
  display: inline-block;
  transition: transform 0.2s;
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* ============================================
   PACK GRID
   ============================================ */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.pack-card {
  background: rgba(13, 30, 53, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pack-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, var(--border-hi));
  box-shadow: 0 16px 40px -16px rgba(0, 212, 255, 0.35);
}

.pack-art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.pack-art-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.6s;
}

.pack-card:hover .pack-art-inner {
  transform: scale(1.08);
}

.pack-art-inner::before,
.pack-art-inner::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* Pack art — algorithmic frosty abstracts per card */
.art-1 {
  background:
    radial-gradient(circle at 30% 20%, #7FDBFF, transparent 50%),
    radial-gradient(circle at 80% 70%, #00D4FF, transparent 50%),
    linear-gradient(135deg, #0a1e3a, #1a3560);
}
.art-2 {
  background:
    radial-gradient(ellipse at 70% 30%, #4FC3F7, transparent 60%),
    linear-gradient(200deg, #0a1628 0%, #1d3c6e 50%, #0a1628 100%);
}
.art-3 {
  background:
    radial-gradient(circle at 50% 50%, #A0E9FF 0%, transparent 40%),
    conic-gradient(from 90deg at 50% 50%, #0a1628, #2c5a8a, #0a1628);
}
.art-4 {
  background:
    linear-gradient(45deg, #050b15 0%, #1a2a4a 50%, #66D9EF 100%);
}
.art-5 {
  background:
    radial-gradient(circle at 20% 80%, #00D4FF, transparent 40%),
    radial-gradient(circle at 80% 20%, #7FDBFF, transparent 40%),
    #071324;
}
.art-6 {
  background:
    linear-gradient(135deg, #B8E8FC 0%, #4A7CAA 50%, #0a1628 100%);
}

.frost {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 20px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 20px);
  mix-blend-mode: overlay;
}

.wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background:
    linear-gradient(to top, rgba(3, 8, 18, 0.9), transparent);
}

.wave::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  height: 36px;
  background:
    repeating-linear-gradient(90deg,
      rgba(232, 244, 253, 0.8) 0 2px,
      transparent 2px 6px);
  mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  opacity: 0.6;
}

.play-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--frost);
  color: var(--bg-0);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
  transform: scale(0.85);
  opacity: 0;
  transition: all 0.3s;
}

.pack-card:hover .play-btn {
  transform: scale(1);
  opacity: 1;
}

.play-btn:hover {
  background: var(--ice-2);
  transform: scale(1.08);
}

.play-btn.playing {
  opacity: 1;
  transform: scale(1);
  background: var(--ice-2);
  animation: pulseGlow 1.6s ease-in-out infinite;
}

.play-btn.playing svg {
  display: none;
}

.play-btn.playing::before {
  content: '';
  width: 4px;
  height: 16px;
  border-left: 4px solid var(--bg-0);
  border-right: 4px solid var(--bg-0);
  box-sizing: content-box;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4); }
  50% { box-shadow: 0 4px 40px rgba(0, 212, 255, 0.9); }
}

.pack-card .wave::after {
  transition: opacity 0.3s;
}
.pack-card:has(.play-btn.playing) .wave::after {
  animation: waveMove 1.5s linear infinite;
  opacity: 1;
}

@keyframes waveMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

.pack-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: var(--frost);
  color: var(--bg-0);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pack-meta {
  padding: 22px;
}

.pack-meta h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.pack-meta p {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 20px;
}

.pack-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ice-2);
}

/* ============================================
   PLUGINS
   ============================================ */
.section-plugins {
  position: relative;
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.plugin-card {
  background: rgba(13, 30, 53, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.plugin-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-glow);
}

.plugin-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #061428 0%, #0f2a4a 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px;
  overflow: hidden;
}

.plugin-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(0, 212, 255, 0.3), transparent 60%);
}

.screen-2 {
  background: linear-gradient(135deg, #081a30 0%, #1a3560 100%);
}

.screen-3 {
  background: linear-gradient(135deg, #050b15 0%, #2c5a8a 100%);
}

.knob {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #2a4868, #0a1e3a);
  border: 2px solid var(--border-hi);
  position: relative;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 4px 12px rgba(0, 212, 255, 0.2);
}

.knob::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 2px; height: 14px;
  background: var(--ice-2);
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--ice-2);
}

.plugin-card:nth-child(2) .knob:nth-child(1)::after { transform: translateX(-50%) rotate(-45deg); transform-origin: bottom center; }
.plugin-card:nth-child(2) .knob:nth-child(2)::after { transform: translateX(-50%) rotate(60deg); transform-origin: bottom center; }
.plugin-card:nth-child(3) .knob:nth-child(1)::after { transform: translateX(-50%) rotate(90deg); transform-origin: bottom center; }
.plugin-card:nth-child(3) .knob:nth-child(3)::after { transform: translateX(-50%) rotate(-30deg); transform-origin: bottom center; }

.wave-bars {
  position: absolute;
  bottom: 16px;
  left: 24px; right: 24px;
  height: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3px;
}

.wave-bars span {
  flex: 1;
  background: var(--grad-ice);
  border-radius: 2px;
  opacity: 0.8;
  transform-origin: bottom;
}

.wave-bars span:nth-child(1) { height: 30%; }
.wave-bars span:nth-child(2) { height: 70%; }
.wave-bars span:nth-child(3) { height: 45%; }
.wave-bars span:nth-child(4) { height: 90%; }
.wave-bars span:nth-child(5) { height: 60%; }
.wave-bars span:nth-child(6) { height: 80%; }
.wave-bars span:nth-child(7) { height: 40%; }
.wave-bars span:nth-child(8) { height: 75%; }
.wave-bars span:nth-child(9) { height: 55%; }
.wave-bars span:nth-child(10) { height: 35%; }

.plugin-card:hover .wave-bars span {
  animation: bars 1.8s ease-in-out infinite;
}
.plugin-card:hover .wave-bars span:nth-child(1) { animation-delay: 0s; }
.plugin-card:hover .wave-bars span:nth-child(2) { animation-delay: 0.1s; }
.plugin-card:hover .wave-bars span:nth-child(3) { animation-delay: 0.2s; }
.plugin-card:hover .wave-bars span:nth-child(4) { animation-delay: 0.3s; }
.plugin-card:hover .wave-bars span:nth-child(5) { animation-delay: 0.4s; }
.plugin-card:hover .wave-bars span:nth-child(6) { animation-delay: 0.5s; }
.plugin-card:hover .wave-bars span:nth-child(7) { animation-delay: 0.6s; }
.plugin-card:hover .wave-bars span:nth-child(8) { animation-delay: 0.7s; }
.plugin-card:hover .wave-bars span:nth-child(9) { animation-delay: 0.8s; }
.plugin-card:hover .wave-bars span:nth-child(10) { animation-delay: 0.9s; }

@keyframes bars {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

.plugin-info {
  padding: 28px;
}

.plugin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plugin-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.plugin-type {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ice-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.plugin-info p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
  min-height: 42px;
}

.plugin-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan {
  position: relative;
  padding: 40px 32px;
  background: rgba(13, 30, 53, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.plan:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
}

.plan-featured {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.02));
  border-color: var(--border-hi);
  box-shadow: var(--shadow-glow);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--grad-ice);
  color: var(--bg-0);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--text-mute);
  letter-spacing: 0;
}

.plan ul {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan li {
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--surface-hi);
  border: 1px solid var(--border-hi);
  background-image:
    linear-gradient(45deg, transparent 45%, var(--ice-2) 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--ice-2) 45% 55%, transparent 55%);
  background-size: 10px 10px, 10px 10px;
  background-position: 4px 6px, 4px 2px;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 40px 48px;
  background:
    radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15), transparent 70%);
}

.newsletter-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 40px;
  background: rgba(13, 30, 53, 0.6);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
}

.newsletter h2 {
  margin-bottom: 12px;
}

.newsletter p {
  color: var(--text-dim);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus {
  border-color: var(--ice-2);
}

.newsletter-form input::placeholder {
  color: var(--text-mute);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 48px 32px;
  border-top: 1px solid var(--border);
  background: rgba(3, 8, 18, 0.6);
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: 320px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-2);
  margin-bottom: 20px;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 16px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.socials a:hover {
  background: var(--ice-2);
  color: var(--bg-0);
  border-color: var(--ice-2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Mobile hamburger */
.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(13, 30, 53, 0.55);
  border: 1px solid var(--border);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-burger { display: inline-flex; }
  .hide-mobile { display: none !important; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(3, 8, 18, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 40;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav-links a:last-child { border-bottom: none; }
  .section { padding: 80px 20px; }
  .newsletter, .footer { padding-left: 20px; padding-right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { padding: 60px 24px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 20px 40px; }
  .logo-text { font-size: 18px; }
  .nav-cta .btn-ghost { display: none; }
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 48px 120px;
}

.product-breadcrumb {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 32px;
}
.product-breadcrumb a { color: var(--text-dim); transition: color 0.2s; }
.product-breadcrumb a:hover { color: var(--ice-2); }
.product-breadcrumb span { color: var(--text); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}

.product-art {
  position: sticky;
  top: 100px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px -20px rgba(0, 212, 255, 0.25);
}

.product-art .pack-art-inner {
  position: absolute;
  inset: 0;
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 10px 0 18px;
}

.product-lead {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.product-specs > div {
  padding: 16px 20px;
  background: rgba(13, 30, 53, 0.55);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-specs span {
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-specs strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-strike {
  font-size: 20px;
  color: var(--text-mute);
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.product-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-perks li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 24px;
  position: relative;
}

.product-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ice-2);
  font-weight: 700;
}

.product-tracks, .product-license {
  margin-top: 64px;
  padding: 40px;
  background: rgba(13, 30, 53, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.product-tracks h2, .product-license h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 10px;
  transition: background 0.2s;
}

.track:hover {
  background: var(--surface-hi);
}

.track-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-hi);
  color: var(--ice-2);
  display: grid;
  place-items: center;
  font-size: 12px;
  transition: all 0.2s;
}

.track:hover .track-play {
  background: var(--ice-2);
  color: var(--bg-0);
}

.track-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
}

.track-bpm, .track-len {
  font-size: 12px;
  color: var(--text-mute);
}

.track-more {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
  font-style: italic;
}

@media (max-width: 820px) {
  .product-page { padding: 40px 20px 80px; }
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-art { position: static; }
  .product-specs { grid-template-columns: repeat(2, 1fr); }
  .product-tracks, .product-license { padding: 24px; }
  .track { grid-template-columns: 32px 1fr auto; }
  .track-bpm { display: none; }
}

/* ============================================
   DOC / LEGAL PAGES
   ============================================ */
.page-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}

.doc-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 20px;
}

.doc-wrap h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}

.doc-wrap p, .doc-wrap ul {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.doc-wrap ul {
  padding-left: 0;
}

.doc-wrap li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.doc-wrap li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice-2);
}

.doc-wrap a {
  color: var(--ice-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-wrap strong { color: var(--text); }

.lead-left {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 36px !important;
}

.legal-notice {
  padding: 16px 20px;
  background: rgba(255, 200, 60, 0.08);
  border: 1px solid rgba(255, 200, 60, 0.3);
  border-radius: var(--radius-sm);
  color: #FFD580 !important;
  font-size: 14px !important;
  margin-bottom: 32px !important;
}

@media (max-width: 640px) {
  .page-doc { padding: 60px 20px 80px; }
}

/* ============================================
   404
   ============================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  gap: 16px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 220px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.error-page p {
  color: var(--text-dim);
  max-width: 460px;
  margin-bottom: 16px;
}

/* ============================================
   GLACIER LANDING PAGE
   ============================================ */
.glacier-page {
  position: relative;
  overflow: hidden;
}

.glacier-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 48px 100px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.glacier-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0, 212, 255, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.glacier-hero-text h1 {
  font-family: var(--font-impact);
  font-size: clamp(52px, 9vw, 140px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #FFFFFF 0%, #7FDBFF 60%, #4FC3F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 12px 0 22px;
}

.glacier-tagline {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 32px;
}

.glacier-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ice-2);
  transition: opacity 0.2s;
}
.btn-text:hover { opacity: 0.7; }

.glacier-mini-perks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-mute);
}

.glacier-mini-perks li {
  position: relative;
  padding-left: 18px;
}

.glacier-mini-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ice-2);
  font-weight: 700;
}

.glacier-hero-art {
  position: relative;
}

.glacier-hero-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow:
    0 30px 80px -20px rgba(0, 212, 255, 0.35),
    0 10px 40px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(127, 219, 255, 0.2);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.glacier-hero-art:hover img {
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

.glacier-hero-glow {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(ellipse at center, rgba(0, 212, 255, 0.25), transparent 65%);
  z-index: -1;
}

/* Sections */
.glacier-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 48px;
}

/* Modes grid */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.mode-card {
  position: relative;
  padding: 32px 24px;
  background: rgba(13, 30, 53, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mode-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
}

.mode-card-featured {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.02));
  border-color: var(--border-hi);
  box-shadow: var(--shadow-glow);
}

.mode-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ice-2);
  margin-bottom: 18px;
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 999px;
}

.mode-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.mode-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Controls */
.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 12px;
}

.control {
  padding: 24px 22px;
  background: rgba(13, 30, 53, 0.55);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text);
}

.control p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Demo */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.demo-card {
  padding: 22px;
  background: rgba(13, 30, 53, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease;
}

.demo-card:hover {
  border-color: var(--border-hi);
}

.demo-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.demo-meta strong {
  font-family: var(--font-display);
  font-size: 14px;
}

.demo-meta span {
  font-size: 12px;
  color: var(--text-mute);
}

.demo-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
}

.demo-wave span {
  flex: 1;
  background: var(--grad-ice);
  border-radius: 2px;
  opacity: 0.7;
}
.demo-wave span:nth-child(1)  { height: 30%; }
.demo-wave span:nth-child(2)  { height: 60%; }
.demo-wave span:nth-child(3)  { height: 45%; }
.demo-wave span:nth-child(4)  { height: 80%; }
.demo-wave span:nth-child(5)  { height: 55%; }
.demo-wave span:nth-child(6)  { height: 90%; }
.demo-wave span:nth-child(7)  { height: 70%; }
.demo-wave span:nth-child(8)  { height: 50%; }
.demo-wave span:nth-child(9)  { height: 75%; }
.demo-wave span:nth-child(10) { height: 40%; }
.demo-wave span:nth-child(11) { height: 65%; }
.demo-wave span:nth-child(12) { height: 35%; }

/* Specs */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 12px;
}

.spec {
  padding: 22px;
  background: rgba(13, 30, 53, 0.55);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec span {
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.spec strong {
  font-family: var(--font-display);
  font-size: 15px;
}

/* Buy cards */
.glacier-buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.buy-card {
  position: relative;
  padding: 40px 32px;
  background: rgba(13, 30, 53, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.buy-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
}

.buy-card-bundle {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.02));
  border-color: var(--border-hi);
  box-shadow: var(--shadow-glow);
}

.buy-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  padding: 5px 12px;
  background: var(--grad-ice);
  color: var(--bg-0);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.buy-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.buy-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.buy-price span {
  font-size: 13px;
  font-weight: 500;
  margin-left: 10px;
  color: var(--text-mute);
  background: none;
  -webkit-text-fill-color: var(--text-mute);
  letter-spacing: 0;
}

.buy-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.buy-card li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
}

.buy-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ice-2);
  font-weight: 700;
}

.buy-card .btn-text {
  display: block;
  text-align: center;
  margin-top: 14px;
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: rgba(13, 30, 53, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  padding: 0 20px;
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: var(--border-hi);
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--ice-2);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 0 0 18px;
}

.faq a { color: var(--ice-2); text-decoration: underline; }

/* Final CTA */
.glacier-final {
  text-align: center;
  padding: 120px 48px;
  position: relative;
}

.glacier-final::before {
  content: '';
  position: absolute;
  inset: 40px 48px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.glacier-final h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  position: relative;
}

.glacier-final p {
  color: var(--text-dim);
  margin-bottom: 32px;
  position: relative;
}

.glacier-final .hero-cta { justify-content: center; position: relative; }

@media (max-width: 900px) {
  .glacier-hero {
    grid-template-columns: 1fr;
    padding: 60px 20px 60px;
    gap: 40px;
    text-align: center;
  }
  .glacier-tagline { margin-left: auto; margin-right: auto; }
  .glacier-cta { justify-content: center; }
  .glacier-mini-perks { justify-content: center; }
  .glacier-hero-art img { transform: none; }
  .glacier-section { padding: 60px 20px; }
  .glacier-buy { grid-template-columns: 1fr; }
  .glacier-final { padding: 80px 20px; }
}

/* ---- Coming-soon & checkout states (2026-07 update) ---- */
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-text.muted { opacity: 0.55; cursor: default; }
.buy-note { font-size: 0.8rem; opacity: 0.6; text-align: center; margin-top: 0.75rem; }

/* ---- Minimal home: hero, plugin shelf, coming-soon sections ---- */
.hero.hero-min {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.plugin-shelf { display: grid; gap: 28px; }
.plugin-tile {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.plugin-tile:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-glow);
}
.plugin-tile img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.plugin-kind {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.plugin-tile-info h3 {
  font-family: var(--font-impact);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 12px 0 14px;
}
.plugin-tile-info p {
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 46ch;
}
@media (max-width: 860px) {
  .plugin-tile { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}
.section-coming { text-align: center; }
.section-coming .eyebrow { display: inline-block; }
.section-coming h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-mute);
  margin-top: 14px;
}

/* ---- Demo wave playing state ---- */
@keyframes demoPulse {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}
.demo-wave.playing span {
  transform-origin: bottom;
  animation: demoPulse 0.7s ease-in-out infinite alternate;
}
.demo-wave.playing span:nth-child(odd) { animation-duration: 0.5s; }

/* ---- Lobby layout: topbar tabs + lobby cards (2026-07 update) ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 14px 24px;
  background: #050b18;
  border-bottom: 1px solid var(--border);
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tab:hover { color: var(--text); border-color: var(--border-hi); }
.tab.active { background: var(--grad-ice); color: #04101f; border-color: transparent; }
@media (max-width: 760px) {
  .topbar { padding: 10px 14px; }
  .tab { padding: 9px 14px; font-size: 0.78rem; min-height: 40px; flex: 0 0 auto; }
}

.lobby { max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; }
.lobby-title {
  font-family: var(--font-impact);
  text-align: center;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 20px 0 44px;
}
.lobby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lobby-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(127, 219, 255, 0.10), rgba(127, 219, 255, 0.02));
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.lobby-card:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.lobby-card h2 {
  font-family: var(--font-impact);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 10px 0 4px;
}
.lobby-note { color: var(--text-dim); font-size: 0.95rem; }
.lobby-card.featured {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  min-height: 300px;
}
.lobby-card.featured img {
  display: block;
  width: min(48%, 540px);
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.lobby-card.featured h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lobby-card.soon { opacity: 0.7; }
.lobby-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grad-ice);
  color: #04101f;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lobby-badge.soon-badge { background: var(--surface-hi); color: var(--text-dim); }
@media (max-width: 860px) {
  .lobby-grid { grid-template-columns: 1fr; }
  .lobby-card.featured { grid-column: span 1; flex-direction: column; align-items: stretch; }
  .lobby-card.featured img { width: 100%; }
  .lobby-card { min-height: 160px; }
}

.page-shell { max-width: 1100px; margin: 0 auto; padding: 48px 24px 80px; }
.page-title { font-family: var(--font-impact); font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 10px; }
.page-sub { color: var(--text-dim); margin-bottom: 36px; max-width: 60ch; }

/* ---- Lobby 4-column variant (home) + plugin item cards ---- */
.lobby-grid.lobby-4 { grid-template-columns: repeat(4, 1fr); }
.lobby-grid.lobby-4 .lobby-card.featured { grid-column: span 4; }
@media (max-width: 1000px) {
  .lobby-grid.lobby-4 { grid-template-columns: repeat(2, 1fr); }
  .lobby-grid.lobby-4 .lobby-card.featured { grid-column: span 2; }
}
@media (max-width: 640px) {
  .lobby-grid.lobby-4 { grid-template-columns: 1fr; }
  .lobby-grid.lobby-4 .lobby-card.featured { grid-column: span 1; }
}
.plugin-item { justify-content: flex-start; }
.plugin-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

/* ---- Brand logo image ---- */
.logo-img { width: 38px; height: 38px; display: block; }

/* ---- Centered tabs + hover-reveal wordmark ---- */
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.topbar .logo { justify-self: start; }
.topbar .tabs { grid-column: 2; justify-content: center; }
.logo .logo-text {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
}
.logo:hover .logo-text,
.logo:focus-visible .logo-text {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 760px) {
  /* Phone layout mirrors the web version: logo left + icons right on
     row one, tabs in a single swipeable row underneath */
  .topbar { grid-template-columns: auto 1fr; row-gap: 10px; }
  .logo .logo-text { display: none; }
  .topbar .tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -14px;
    padding: 2px 14px;
  }
  .topbar .tabs::-webkit-scrollbar { display: none; }
}

/* ---- Topbar actions: sign-in + cart ---- */
.topbar-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.iconbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-dim);
  background: rgba(13, 30, 53, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.iconbtn:hover { color: var(--text); border-color: var(--border-hi); }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--grad-ice);
  color: #04101f;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  display: none;
}
.cart-badge.show { display: block; }
@media (max-width: 760px) {
  .topbar-actions { grid-column: 2; grid-row: 1; justify-self: end; }
}

/* ---- Cart drawer ---- */
.cartd-overlay { position: fixed; inset: 0; background: rgba(3, 8, 18, 0.6); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.cartd-overlay.open { opacity: 1; pointer-events: auto; }
.cartd { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #071324; border-left: 1px solid var(--border); z-index: 91; transform: translateX(105%); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.cartd.open { transform: translateX(0); }
.cartd-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-weight: 600; }
.cartd-close { font-size: 22px; line-height: 1; color: var(--text-dim); padding: 4px 8px; }
.cartd-items { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.cartd-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.cartd-item h4 { font-family: var(--font-display); font-size: 0.95rem; margin: 0 0 2px; }
.cartd-item .price { color: var(--text-dim); font-size: 0.85rem; }
.cartd-qty { display: flex; align-items: center; gap: 8px; }
.cartd-qty button { width: 26px; height: 26px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.cartd-remove { color: var(--text-mute); font-size: 0.78rem; text-decoration: underline; background: none; }
.cartd-empty { color: var(--text-dim); text-align: center; margin-top: 30px; }
.cartd-foot { padding: 16px 20px; border-top: 1px solid var(--border); }
.cartd-total { display: flex; justify-content: space-between; margin-bottom: 12px; font-family: var(--font-display); font-weight: 600; }
.cartd-note { font-size: 0.75rem; color: var(--text-mute); text-align: center; margin-top: 10px; }

/* ---- Sign-in page ---- */
.signin-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px 90px;
  text-align: center;
}
.signin-wrap h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; }
.signin-wrap p { color: var(--text-dim); margin-bottom: 24px; max-width: 520px; }
#clerkSignin { display: flex; justify-content: center; width: 100%; }
#clerkSignin .cl-rootBox, #clerkSignin .cl-cardBox { margin-left: auto !important; margin-right: auto !important; }
.signin-wrap .btn { margin-top: 22px; }

/* ---- My account page ---- */
.acc-signed { color: var(--text-dim); margin-bottom: 34px; }
.acc-heading { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 16px; }
.acc-products { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.acc-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.acc-product h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 4px; }
.acc-meta { color: var(--text-dim); font-size: 0.85rem; }
.acc-empty { color: var(--text-dim); margin-bottom: 16px; }
.acc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.iconbtn.signed { color: var(--ice-2); border-color: var(--border-hi); }

/* ---- Avatar + account preferences ---- */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-ice);
  color: #04101f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}
.acc-optin {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dim);
  margin-bottom: 36px;
  cursor: pointer;
  max-width: 60ch;
}
.acc-optin input { width: 18px; height: 18px; margin-top: 3px; accent-color: #00D4FF; cursor: pointer; }
.acc-hint { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 14px; }
#accProfile { margin-bottom: 36px; }

/* ---- Overall boldness: firmer supporting copy ---- */
.hero-sub, .lead, .lead-left, .page-sub, .lobby-note, .glacier-tagline { font-weight: 500; }
.footer-brand p, .plugin-tile-info p { font-weight: 500; }

/* ---- Launch pricing (strike-through + launch badge) ---- */
.price-was { text-decoration: line-through; color: var(--text-mute); font-weight: 400; margin-right: 10px; opacity: 0.85; }
.buy-price .price-was { font-size: 0.46em; vertical-align: middle; }
.launch-line { color: var(--text-dim); margin-top: 8px; font-weight: 500; }
.launch-line strong, .glacier-final strong { color: var(--ice-1); }
.buy-badge-launch {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad-ice);
  color: #04101f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Buy card: launch-offer redesign (matches reference) ---- */
.buy-price {
  font-family: var(--font-impact);
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--frost);
}
.buy-price strong { font-size: 56px; font-weight: 400; line-height: 1; }
.buy-price .price-was {
  font-size: 22px;
  text-decoration: line-through;
  color: var(--text-mute);
  -webkit-text-fill-color: var(--text-mute);
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
}
.buy-price span {
  font-size: 13px;
  color: var(--text-mute);
  -webkit-text-fill-color: var(--text-mute);
  margin-left: 0;
}
.buy-offer { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; }
.off-pill {
  background: var(--grad-ice);
  color: #04101f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
}
.off-ends {
  color: var(--text-mute);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.buy-perks li::before { content: '\21B3'; }

/* ---- Glacier: licence + spec-sheet layout (reference) ---- */
.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}
.buy-card { display: flex; flex-direction: column; }
.buy-card .add-to-cart { margin-top: auto; }
.spec-card {
  font-family: ui-monospace, 'Cascadia Code', Consolas, 'Courier New', monospace;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  background: var(--surface);
}
.spec-row { padding: 16px 0; border-bottom: 1px solid var(--border); }
.spec-row:first-child { padding-top: 0; }
.spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.spec-label {
  display: block;
  font-family: ui-monospace, 'Cascadia Code', Consolas, 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice-2);
  margin-bottom: 7px;
}
.spec-row p { color: var(--text); line-height: 1.6; margin: 0; font-size: 0.92rem; }
.spec-row a { color: var(--ice-1); text-decoration: underline; }
.install-tip {
  max-width: 560px;
  margin: 1.6rem auto 0;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(90, 167, 232, 0.08);
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: left;
}
.install-tip strong { color: var(--text); }

.sysreq-card {
  font-family: ui-monospace, 'Cascadia Code', Consolas, 'Courier New', monospace;
  max-width: 1040px;
  margin: 20px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 30px 34px;
}
.sysreq-title {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice-2);
  margin-bottom: 22px;
}
.sysreq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}
.sysreq-tier {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.sysreq-tier-rec {
  color: #04101f;
  background: var(--grad-ice);
  border-color: transparent;
}
.sysreq-list { list-style: none; margin: 0; padding: 0; }
.sysreq-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.sysreq-list li:last-child { border-bottom: none; }
.sysreq-list span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-2);
}
.sysreq-list b { color: var(--text); font-weight: 500; font-size: 0.88rem; line-height: 1.5; }
.sysreq-foot {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.6;
}
@media (max-width: 620px) { .sysreq-cols { grid-template-columns: 1fr; gap: 28px; } }

.delivery-strip {
  font-family: ui-monospace, 'Cascadia Code', Consolas, 'Courier New', monospace;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  max-width: 1040px;
  margin: 20px auto 0;
  padding: 22px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.delivery-strip .spec-label { margin-bottom: 0; }
.delivery-strip p { color: var(--text-dim); line-height: 1.6; margin: 0; font-size: 0.92rem; }
@media (max-width: 860px) { .buy-layout { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .delivery-strip { grid-template-columns: 1fr; gap: 6px; } }

/* ---- Account: download-pending note ---- */
.acc-note { color: var(--text-dim); font-size: 0.85rem; text-align: right; max-width: 220px; }

/* ---- Legal: data-controller box + dash lists ---- */
.dc-box {
  border-left: 3px solid var(--ice-2);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 16px 0 20px;
}
.dc-box p { margin: 4px 0; color: var(--text-dim); }
.dc-box strong { color: var(--text); }
.dc-fill { color: var(--ice-1); }
.legal-list { margin: 12px 0 8px; padding: 0; list-style: none; }
.legal-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  line-height: 1.65;
}
.legal-list li:last-child { border-bottom: none; }
.legal-list li::before { content: '\2014'; position: absolute; left: 0; color: var(--ice-2); }
.legal-list strong { color: var(--text); }

/* ---- Cart item thumbnail ---- */
.cartd-thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); flex-shrink: 0; }
.cartd-item-info { flex: 1; min-width: 0; }

/* ---- Reviews (plugins page) ---- */
.reviews { max-width: 820px; margin: 44px auto 0; padding: 28px 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.reviews-title { font-family: var(--font-impact); font-size: 1.5rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.reviews-empty { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.reviews-empty p { color: var(--text-dim); line-height: 1.6; margin: 0; flex: 1; min-width: 240px; }
.reviews-empty a { color: var(--ice-1); text-decoration: underline; }
.stars { color: #ffd36b; letter-spacing: 3px; font-size: 1.15rem; white-space: nowrap; }
.stars-dim { color: var(--text-mute); }
.review-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin-top: 14px; }
.review-card p { color: var(--text); line-height: 1.6; margin: 8px 0; }
.review-by { color: var(--text-mute); font-size: 0.85rem; }

/* ---- Compact star rating (Waves-style; real data only) ---- */
.plugin-rating { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.rating-num { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.rating-stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; color: #43506a; }
.rating-stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #ffce4a; }
.rating-meta { color: var(--text-mute); font-size: 0.85rem; }

/* ---- Reviews: summary, list, write-a-review form ---- */
.reviews-wrap { max-width: 760px; margin: 0 auto; }
.reviews-summary { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 22px; }
.reviews-summary .rating-num { font-size: 1.6rem; }
.reviews-summary .rating-stars { font-size: 1.3rem; }
.review-form-area { margin-top: 26px; }
.review-form { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
.review-form h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 12px; }
.star-picker { display: flex; gap: 6px; margin-bottom: 12px; }
.star-picker button { font-size: 1.7rem; color: #43506a; line-height: 1; padding: 2px; transition: color 0.15s ease; }
.star-picker button.on { color: #ffce4a; }
.review-form input[type="text"], .review-form textarea {
  width: 100%; background: rgba(13, 30, 53, 0.55); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem; padding: 10px 12px; margin-bottom: 12px;
}
.review-form textarea { min-height: 96px; resize: vertical; }
.review-note { color: var(--text-dim); font-size: 0.92rem; text-align: center; padding: 14px; border: 1px dashed var(--border); border-radius: var(--radius); }
.review-note a { color: var(--ice-1); text-decoration: underline; }
.review-ok { color: var(--ice-1); margin-top: 10px; font-size: 0.9rem; }

/* ---- Review filter breakdown (Amazon-style) + show-more ---- */
#reviewsBreakdown { max-width: 430px; margin: 0 auto 26px; display: flex; flex-direction: column; gap: 6px; }
.rev-bar {
  display: grid;
  grid-template-columns: 46px 1fr 36px;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.rev-bar:hover { background: var(--surface-hi); color: var(--text); }
.rev-bar.on { background: var(--surface-hi); color: var(--ice-1); }
.rev-bar-label { white-space: nowrap; }
.rev-bar-track { height: 10px; background: rgba(127, 219, 255, 0.08); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.rev-bar-fill { display: block; height: 100%; background: #ffce4a; border-radius: 999px; }
.rev-bar-count { text-align: right; }
.rev-clear { margin-top: 8px; color: var(--ice-1); font-size: 0.85rem; text-decoration: underline; align-self: center; }
#reviewsMore { margin-top: 16px; }

/* ---- Built-in compressor callout ---- */
.comp-callout {
  max-width: 720px;
  margin: 26px auto 0;
  padding: 18px 22px;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.02));
  color: var(--text-dim);
  line-height: 1.65;
  text-align: center;
}
.comp-callout strong { color: var(--ice-1); }

/* ---- Controls grid: separate cards, no grey gap cells ---- */
.controls-grid { gap: 10px; background: transparent; }
.control { border: 1px solid var(--border); border-radius: var(--radius-sm); }

/* ---- Eras grid (three era cards) ---- */
.eras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 860px) { .eras-grid { grid-template-columns: 1fr; } }

/* ---- Plugin tile: Waves-style price row + add-to-cart ---- */
.tile-price { display: flex; align-items: center; gap: 10px; margin: 12px 0 14px; }
.tile-price .price-was { font-size: 0.95rem; margin: 0; }
.tile-price strong { font-family: var(--font-impact); font-size: 1.7rem; font-weight: 400; color: var(--frost); line-height: 1; }
.tile-price .off-pill { font-size: 0.68rem; padding: 4px 10px; }
.plugin-item .btn { align-self: flex-start; }

/* ---- Account: licence key viewer + inline actions ---- */
.acc-actions-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-keyarea {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 12px 18px; border: 1px dashed var(--border); border-radius: var(--radius-sm);
  margin: -4px 0 6px;
}
.key-code { font-family: ui-monospace, Consolas, 'Courier New', monospace; color: var(--ice-1); font-size: 0.95rem; letter-spacing: 0.03em; word-break: break-all; }
.key-input {
  flex: 1; min-width: 220px; background: rgba(13, 30, 53, 0.55);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); padding: 10px 12px;
  font-family: ui-monospace, Consolas, 'Courier New', monospace; font-size: 0.9rem;
}
.key-edit { color: var(--text-mute); font-size: 0.8rem; text-decoration: underline; }

/* The hidden attribute must always win, even over display:flex etc. */
[hidden] { display: none !important; }

/* ============================================================
   THANKS PAGE — licence key panel (auto-fetched after purchase)
   ============================================================ */
.thanks-key {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 26px;
  padding: 14px 22px;
  background: rgba(13, 30, 53, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.thanks-key .acc-meta { white-space: nowrap; }

/* ============================================================
   TOUCH HARDENING — long-presses on nav never start an image
   drag or text selection (feels dead on phones otherwise)
   ============================================================ */
.topbar,
.topbar a,
.tabs .tab {
  -webkit-user-select: none;
  user-select: none;
}
.topbar img,
.logo-img,
.lobby-card img {
  -webkit-user-drag: none;
}

/* ============================================================
   BACK ARROW — plugin detail pages → plugins overview
   ============================================================ */
.back-wrap {
  max-width: 1320px;
  margin: 0 auto -50px;
  padding: 26px 48px 0;
  position: relative;
  z-index: 2;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link svg { transition: transform 0.2s ease; }
.back-link:hover { color: var(--ice-1); }
.back-link:hover svg { transform: translateX(-4px); }

@media (max-width: 900px) {
  .back-wrap { margin-bottom: -36px; padding: 18px 20px 0; }
}

/* ============================================================
   OWNED PRODUCTS — buy buttons grey out once purchased
   ============================================================ */
.btn.is-owned,
.btn.is-owned:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-mute);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
  opacity: 0.8;
}
