/* ============ WSGuardian — Premium Music Product Landing ============ */

:root {
  /* light, modern, soft */
  --bg: #f6f4ef;          /* warm cream */
  --bg-2: #ffffff;
  --bg-3: #efece5;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --line: rgba(15, 14, 28, 0.08);
  --line-strong: rgba(15, 14, 28, 0.14);

  --ink: #14132a;          /* near-black ink */
  --ink-2: #4a4860;
  --ink-3: #76748a;
  --ink-4: #a6a4b8;

  /* accent — violet→magenta (kept) */
  --a1: #7c5cff;
  --a2: #ff4fa1;
  --a-soft: rgba(124, 92, 255, 0.10);
  --accent: var(--a1);

  --good: #1cb777;
  --warn: #ff9a3c;

  /* dark accent surfaces (player, panel preview) */
  --dark: #14132a;
  --dark-2: #1d1b3a;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 40px -18px rgba(20, 19, 42, 0.18);
  --shadow-glow: 0 0 0 1px rgba(124, 92, 255, 0.22), 0 30px 80px -24px rgba(124, 92, 255, 0.35);

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Geist", "Söhne", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 5% 20%, rgba(255, 79, 161, 0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 90%, rgba(255, 154, 60, 0.08), transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ===== Layout ===== */
.shell { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .shell { padding: 0 20px; } }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(246, 244, 239, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.01em; }
.nav-brand .mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  display: grid; place-items: center;
  box-shadow: 0 6px 24px -6px rgba(179, 136, 255, 0.5);
  position: relative;
}
.nav-brand .mark::after {
  content: ""; position: absolute; inset: 4px;
  border-radius: 5px; background: var(--surface);
  mask: radial-gradient(circle at 30% 40%, transparent 22%, #000 22%);
}
.nav-brand .mark svg { position: relative; z-index: 1; }
.nav-brand .mark-logo { background: transparent; box-shadow: none; width: 32px; height: 32px; border-radius: 0; }
.nav-brand .mark-logo::after { display: none; }
.nav-brand .mark-logo img { width: 100%; height: 100%; object-fit: contain; display: block; position: relative; z-index: 1; }
.nav-brand b { font-weight: 600; font-size: 15px; }
.nav-brand small { color: var(--ink-3); font-size: 12px; margin-left: 4px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 13.5px; color: var(--ink-2); transition: color .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
  opacity: 0; transform: translateX(-4px); transition: all .2s;
}
.nav-links a:hover .dot { opacity: 1; transform: none; }

.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: all .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); border-color: rgba(15, 14, 28, 0.22); transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--a1), var(--a2));
  color: #fff; border: 1px solid transparent;
  font-weight: 600;
  box-shadow: 0 10px 28px -10px rgba(124, 92, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgba(15, 14, 28, 0.05); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 14.5px; }

.btn .ic { width: 16px; height: 16px; flex: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 32px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 2px 12px -4px rgba(20,19,42,0.08);
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(91, 227, 160, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 227, 160, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(91, 227, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 227, 160, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 22px 0 24px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--a1) 20%, var(--a2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: var(--ink-2);
  font-size: 17px; line-height: 1.55;
  max-width: 540px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-meta .item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.hero-meta .item svg { color: var(--accent); }

/* Hero player card */
.player-stage { position: relative; }
.player-stage::before {
  content: ""; position: absolute; inset: -40px;
  background: radial-gradient(closest-side, rgba(179, 136, 255, 0.25), transparent 70%);
  filter: blur(20px); z-index: -1;
}

.player {
  background: linear-gradient(180deg, #1a1838, #14132a);
  color: #f5f3ff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: 0 30px 60px -24px rgba(20,19,42,0.45), 0 0 0 1px rgba(124,92,255,0.18);
  position: relative;
  overflow: hidden;
}
.player .tag, .player .now { color: rgba(255,255,255,0.55); }
.player .scrubber-times { color: rgba(255,255,255,0.5); }
.player .ctrl { color: rgba(255,255,255,0.75); }
.player .ctrl:hover { background: rgba(255,255,255,0.08); color: #fff; }
.player .ctrl.play { background: #fff; color: var(--dark); }
.player .player-controls { border-top-color: rgba(255,255,255,0.08); }
.player .scrubber-bar { background: rgba(255,255,255,0.1); }
.player .tab { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.player .tab.on { background: rgba(124,92,255,0.25); color: #fff; border-color: rgba(124,92,255,0.5); }
.player .lyrics-inset { background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.player .lyrics-inset .active { color: #fff; }
.player .lyrics-inset .next { color: rgba(255,255,255,0.3); }
.player::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(179, 136, 255, 0.6), transparent);
}

.player-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.player-head .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--ink-3);
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.player-head .tag .live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--a2); box-shadow: 0 0 8px var(--a2);
  animation: pulse-mag 1.6s infinite;
}
@keyframes pulse-mag {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}
.player-head .plan {
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  color: #0b0a14; font-weight: 600; letter-spacing: 0.04em;
}

.player-body { display: flex; gap: 16px; }
.cover {
  width: 92px; height: 92px; flex: none;
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 35%),
    linear-gradient(135deg, #ff5cb3, #b388ff 60%, #5b6bff);
  position: relative; overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(255, 92, 179, 0.4);
}
.cover::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 6px);
  mix-blend-mode: overlay;
}
.cover .vinyl {
  position: absolute; inset: 14px; border-radius: 50%;
  background: radial-gradient(circle, #1a0d2e 12%, #0c0815 13% 36%, #1a0d2e 37% 38%, #0c0815 39%);
  border: 2px solid rgba(0, 0, 0, 0.6);
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.track-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.track-meta .now {
  font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.track-meta .title {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track-meta .artist { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

.scrubber { margin-top: 16px; }
.scrubber-bar {
  height: 4px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden; position: relative;
}
.scrubber-bar .fill {
  position: absolute; inset: 0;
  width: 38%;
  background: linear-gradient(90deg, var(--a1), var(--a2));
  border-radius: 2px;
}
.scrubber-bar .fill::after {
  content: ""; position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}
.scrubber-times {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3); margin-top: 6px;
}

.player-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
}
.player-controls .group { display: flex; gap: 4px; }
.ctrl {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: transparent; border: none; color: var(--ink-2);
  cursor: pointer; transition: all .15s;
}
.ctrl:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); }
.ctrl.play {
  background: var(--ink); color: var(--bg);
  width: 42px; height: 42px;
}
.ctrl.play:hover { background: #fff; }

.player-tabs { display: flex; gap: 6px; }
.tab {
  font-size: 11.5px; padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-3); border: 1px solid var(--line);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.tab.on {
  background: var(--a-soft); color: var(--a1); border-color: rgba(179, 136, 255, 0.3);
}

/* Lyrics inset */
.lyrics-inset {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
}
.lyrics-inset .active { color: var(--ink); }
.lyrics-inset .next { color: var(--ink-4); }

/* Floating chips around player */
.float-chip {
  position: absolute;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink-2);
  box-shadow: 0 14px 30px -10px rgba(20,19,42,0.18);
  display: flex; align-items: center; gap: 10px;
}
.float-chip svg { color: var(--accent); }
.float-chip b { color: var(--ink); font-weight: 600; }
.float-chip.fc-1 { top: -16px; right: -20px; animation: float 5s ease-in-out infinite; }
.float-chip.fc-2 { bottom: -20px; left: -28px; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 980px) { .float-chip { display: none; } }

/* ===== Section primitives ===== */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-label {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}
.section-label::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--ink-3);
}
.section-sub {
  color: var(--ink-2); font-size: 16px; line-height: 1.6;
  max-width: 600px; text-wrap: pretty;
}

/* ===== Marquee logo strip ===== */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--surface);
}
.strip-track {
  display: flex; gap: 48px; align-items: center;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.strip-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3);
  font-family: var(--font-mono);
}
.strip-item svg { color: var(--ink-4); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Numbered features ===== */
.features-list { display: grid; gap: 0; }
.feature-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s;
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row:hover { background: rgba(124, 92, 255, 0.03); }
.feature-row .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  padding-top: 6px;
}
.feature-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  line-height: 1.1;
}
.feature-row .badge {
  display: inline-block; font-size: 10.5px;
  font-family: var(--font-mono); letter-spacing: 0.08em;
  padding: 3px 8px; border-radius: 4px;
  background: var(--a-soft); color: var(--a1);
  margin-left: 10px; vertical-align: middle;
  text-transform: uppercase;
}
.feature-row p {
  color: var(--ink-2); font-size: 15px; line-height: 1.6;
  margin: 0; max-width: 460px;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .feature-row .num { padding: 0; }
}

/* ===== Modules grid ===== */
.modules { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.module {
  grid-column: span 2;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: all .25s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 24px -12px rgba(20,19,42,0.10);
}
.module:hover {
  border-color: rgba(124, 92, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 18px 40px -16px rgba(124,92,255,0.20);
}
.module .ic-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--a-soft);
  display: grid; place-items: center;
  color: var(--a1);
  margin-bottom: 16px;
}
.module h4 {
  font-size: 18px; font-weight: 600;
  margin: 0 0 6px; letter-spacing: -0.005em;
}
.module p { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; margin: 0; }
.module .badge-mini {
  position: absolute; top: 20px; right: 20px;
  font-size: 10px; font-family: var(--font-mono);
  padding: 3px 7px; border-radius: 4px;
  letter-spacing: 0.06em;
}
.module .badge-mini.free { background: rgba(91, 227, 160, 0.12); color: var(--good); }
.module .badge-mini.pro { background: var(--a-soft); color: var(--a1); }

/* tall feature module */
.module.wide { grid-column: span 4; min-height: 280px; }
.module.tall { grid-column: span 2; grid-row: span 2; min-height: 0; }

@media (max-width: 980px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
  .module, .module.wide, .module.tall { grid-column: span 2; grid-row: auto; min-height: 180px; }
}

/* visual content inside module */
.mod-visual-music {
  display: flex; align-items: flex-end; gap: 4px; height: 60px; margin-bottom: 16px;
}
.mod-visual-music span {
  flex: 1; background: linear-gradient(180deg, var(--a2), var(--a1));
  border-radius: 2px; opacity: 0.7;
}
.mod-visual-music span:nth-child(odd) { animation: bar 1.2s ease-in-out infinite; }
.mod-visual-music span:nth-child(even) { animation: bar 1s ease-in-out infinite reverse; }
@keyframes bar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.mod-visual-lyrics {
  font-family: var(--font-mono); font-size: 11px; line-height: 1.7;
  color: var(--ink-4); margin-bottom: 12px;
}
.mod-visual-lyrics .hl { color: var(--a1); }

.mod-visual-fav {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px;
}
.mod-visual-fav .row {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; color: var(--ink-3);
  font-family: var(--font-mono);
}
.mod-visual-fav .row svg { color: var(--a2); }

.mod-visual-playlist {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px;
  max-width: 120px;
}
.mod-visual-playlist .tile {
  aspect-ratio: 1; border-radius: 6px; min-height: 0;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  opacity: 0.6;
}
.mod-visual-playlist .tile:nth-child(2) { background: linear-gradient(135deg, #5b6bff, var(--a1)); opacity: 0.8; }
.mod-visual-playlist .tile:nth-child(3) { background: linear-gradient(135deg, var(--a2), #ffb86b); opacity: 0.5; }
.mod-visual-playlist .tile:nth-child(4) { opacity: 0.4; }
.mod-visual-playlist .tile:nth-child(5) { background: linear-gradient(135deg, #5be3a0, var(--a1)); opacity: 0.7; }
.mod-visual-playlist .tile:nth-child(6) { opacity: 0.3; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }

.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  background: var(--surface);
  position: relative;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 30px -16px rgba(20,19,42,0.12);
}
.plan.pro {
  border-color: rgba(124, 92, 255, 0.35);
  background:
    radial-gradient(700px 280px at 50% -40%, rgba(124, 92, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff, #faf8ff);
  box-shadow: var(--shadow-glow);
}
.plan-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.plan-name { font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.plan.pro .plan-name { color: var(--a1); }
.plan-flag {
  font-size: 10.5px; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  color: #0b0a14; font-weight: 600; font-family: var(--font-mono);
  letter-spacing: 0.08em;
}
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; }
.plan-price .amount {
  font-family: var(--font-display); font-weight: 400;
  font-size: 64px; line-height: 1; letter-spacing: -0.03em;
}
.plan-price .period { color: var(--ink-3); font-size: 14px; }
.plan-tagline { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 0 0 28px; max-width: 360px; }

.plan-features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  font-size: 14px; color: var(--ink);
  border-top: 1px dashed var(--line);
}
.plan-features li:first-child { border-top: none; }
.plan-features li.off { color: var(--ink-4); text-decoration: line-through; text-decoration-color: var(--ink-4); }
.plan-flag { color: #fff; }
.plan-features li svg { flex: none; margin-top: 2px; }
.plan-features li .check { color: var(--good); }
.plan-features li.off .check { color: var(--ink-4); }
.plan.pro .plan-features li .check { color: var(--a1); }

.plan-cta { width: 100%; justify-content: center; }

/* ===== Panel preview ===== */
.panel-preview {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(20,19,42,0.18);
}
.panel-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(15,14,28,0.12); }
.panel-dots span:first-child { background: #ff6058; }
.panel-dots span:nth-child(2) { background: #ffbd2e; }
.panel-dots span:nth-child(3) { background: #28ca42; }
.panel-url {
  flex: 1; height: 28px; border-radius: 8px;
  background: var(--bg);
  display: flex; align-items: center; padding: 0 12px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3);
  gap: 8px;
}
.panel-url svg { color: var(--good); }

.panel-body { display: grid; grid-template-columns: 220px 1fr; min-height: 480px; }
.panel-side {
  border-right: 1px solid var(--line);
  padding: 20px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.panel-side .item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 13px; color: var(--ink-2);
}
.panel-side .item.on { background: var(--a-soft); color: var(--a1); }
.panel-side .item svg { width: 16px; height: 16px; }
.panel-side .div { height: 1px; background: var(--line); margin: 8px 6px; }

.panel-content { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.panel-h {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.panel-h h4 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 28px; margin: 0; letter-spacing: -0.01em;
}
.panel-h .save {
  font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 8px;
}
.panel-h .save .saved {
  width: 6px; height: 6px; border-radius: 50%; background: var(--good);
}

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.stat .label { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); }
.stat .value {
  font-family: var(--font-display); font-weight: 400;
  font-size: 26px; letter-spacing: -0.01em; margin-top: 4px;
}
.stat .value small { font-size: 13px; color: var(--ink-3); margin-left: 2px; }
.stat.pro {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.10), rgba(255, 79, 161, 0.06));
  border-color: rgba(124, 92, 255, 0.3);
}
.stat.pro .value { color: var(--a1); }

.toggle-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px; background: var(--surface-2);
  display: flex; flex-direction: column; gap: 10px;
}
.toggle-card h5 {
  font-size: 12px; color: var(--ink-3); margin: 0 0 4px;
  text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono);
}
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; padding: 6px 0;
}
.toggle-row + .toggle-row { border-top: 1px dashed var(--line); }
.toggle {
  width: 32px; height: 18px; border-radius: 999px;
  background: rgba(15,14,28,0.14); position: relative; flex: none;
  transition: background .2s;
}
.toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  transition: transform .2s;
}
.toggle.on { background: linear-gradient(135deg, var(--a1), var(--a2)); }
.toggle.on::after { transform: translateX(14px); }

.panel-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) {
  .panel-body { grid-template-columns: 1fr; }
  .panel-side { display: none; }
  .panel-grid-2, .stat-row { grid-template-columns: 1fr 1fr; }
}

/* ===== Commands strip ===== */
.cmd-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 36px;
}
.cmd {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: 16px;
  background: var(--dark);
  color: #f5f3ff;
  font-family: var(--font-mono);
}
.cmd .l { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.cmd .c { font-size: 13px; color: rgba(255,255,255,0.92); }
.cmd .c .p { color: var(--a2); }
.cmd .c .a { color: var(--a1); }
@media (max-width: 760px) { .cmd-strip { grid-template-columns: 1fr 1fr; } }

/* ===== FAQ ===== */
.faq { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
  display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: start;
  transition: background .2s;
}
.faq-item .q-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); padding-top: 4px;
}
.faq-item h4 {
  font-size: 19px; font-weight: 500; margin: 0;
  letter-spacing: -0.01em;
  font-family: var(--font-display); font-weight: 400; font-size: 22px;
}
.faq-item .toggle-ic {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-3); transition: all .25s;
}
.faq-item.open .toggle-ic { background: var(--a-soft); color: var(--a1); border-color: rgba(124, 92, 255, 0.4); transform: rotate(45deg); }
.faq-answer {
  grid-column: 2;
  max-height: 0; overflow: hidden; transition: max-height .35s ease, margin .25s, opacity .25s;
  color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 600px;
  opacity: 0;
}
.faq-item.open .faq-answer { max-height: 200px; margin-top: 14px; opacity: 1; }
@media (max-width: 720px) {
  .faq-item { grid-template-columns: 36px 1fr auto; gap: 12px; }
  .faq-answer { grid-column: 2; }
}

/* ===== Final CTA ===== */
.cta-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 80px 48px;
  text-align: center;
  background:
    radial-gradient(700px 400px at 50% 100%, rgba(124, 92, 255, 0.45), transparent 70%),
    radial-gradient(500px 300px at 80% 0%, rgba(255, 79, 161, 0.30), transparent 70%),
    linear-gradient(180deg, #1a1838, #14132a);
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-card .section-label { color: #b8a6ff; }
.cta-card h2 em { color: #ff9ec9; }
.cta-card p { color: rgba(255,255,255,0.75); }
.cta-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}
.cta-card h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.025em;
  margin: 0 0 18px; text-wrap: balance;
}
.cta-card h2 em { font-style: italic; color: var(--a1); }
.cta-card p { color: var(--ink-2); font-size: 16px; max-width: 540px; margin: 0 auto 32px; line-height: 1.6; }
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 720px) { .cta-card { padding: 56px 24px; } }

/* ===== Footer ===== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.footer-grid h6 {
  font-size: 11px; font-family: var(--font-mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 14px; font-weight: 500;
}
.footer-grid a { display: block; padding: 4px 0; font-size: 13.5px; color: var(--ink-2); }
.footer-grid a:hover { color: var(--ink); }
.footer-grid p { color: var(--ink-3); font-size: 13.5px; line-height: 1.6; max-width: 280px; margin: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--ink-4); flex-wrap: wrap; gap: 16px;
}
.footer-bottom .links a { color: var(--ink-3); margin-left: 18px; }
.footer-bottom .links a:hover { color: var(--ink); }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ===== Tweaks dynamic accents ===== */
[data-accent="violet"] { --a1: #7c5cff; --a2: #ff4fa1; --a-soft: rgba(124, 92, 255, 0.10); }
[data-accent="lime"]   { --a1: #2bb673; --a2: #7c5cff; --a-soft: rgba(43, 182, 115, 0.10); }
[data-accent="amber"]  { --a1: #ff7a3a; --a2: #ff4fa1; --a-soft: rgba(255, 122, 58, 0.10); }
[data-accent="cyan"]   { --a1: #2aa9d9; --a2: #7c5cff; --a-soft: rgba(42, 169, 217, 0.10); }

/* density */
[data-density="cozy"] .section { padding: 72px 0; }
[data-density="airy"] .section { padding: 120px 0; }

/* hero variant — minimal */
[data-hero="minimal"] .hero-grid { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; text-align: center; }
[data-hero="minimal"] .hero-meta { justify-content: center; }
[data-hero="minimal"] .hero-ctas { justify-content: center; }
[data-hero="minimal"] .player-stage { display: none; }
[data-hero="minimal"] .hero p.lead { margin-left: auto; margin-right: auto; }

/* hero variant — split-mono */
[data-hero="mono"] .hero h1 em {
  background: none; -webkit-text-fill-color: var(--ink); color: var(--ink);
  font-style: italic;
}

/* visible on mobile only */
@media (min-width: 721px) { .mobile-only { display: none; } }

/* ============ DARK THEME (softer, modern) ============ */
[data-theme="dark"] {
  --bg: #1a1830;
  --bg-2: #232142;
  --bg-3: #2a274d;
  --surface: #232142;
  --surface-2: #2a274d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --ink: #f4f2ff;
  --ink-2: #c8c5e0;
  --ink-3: #8e8bb0;
  --ink-4: #605d80;

  --a-soft: rgba(124, 92, 255, 0.18);

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 48px -24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px rgba(124, 92, 255, 0.3), 0 30px 80px -20px rgba(124, 92, 255, 0.45);
}
[data-theme="dark"] body {
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(124, 92, 255, 0.28), transparent 60%),
    radial-gradient(900px 600px at 5% 20%, rgba(255, 79, 161, 0.16), transparent 60%),
    radial-gradient(700px 500px at 50% 90%, rgba(43, 182, 115, 0.08), transparent 60%),
    var(--bg);
}
[data-theme="dark"] .nav { background: rgba(26, 24, 48, 0.72); }
[data-theme="dark"] .btn { background: rgba(255, 255, 255, 0.04); }
[data-theme="dark"] .btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
[data-theme="dark"] .btn-ghost { background: transparent; }
[data-theme="dark"] .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .eyebrow { background: rgba(255, 255, 255, 0.03); }

/* dark: panel preview becomes lighter than bg, so it stays a card */
[data-theme="dark"] .panel-preview { background: var(--surface); }
[data-theme="dark"] .panel-bar,
[data-theme="dark"] .stat,
[data-theme="dark"] .toggle-card { background: rgba(255, 255, 255, 0.025); }
[data-theme="dark"] .panel-url { background: rgba(0, 0, 0, 0.3); }
[data-theme="dark"] .module { background: var(--surface); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.3); }
[data-theme="dark"] .module:hover { box-shadow: 0 18px 40px -16px rgba(124, 92, 255, 0.3); }
[data-theme="dark"] .feature-row { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .plan { background: var(--surface); }
[data-theme="dark"] .plan.pro {
  background:
    radial-gradient(700px 280px at 50% -40%, rgba(124, 92, 255, 0.18), transparent 60%),
    var(--surface);
}
[data-theme="dark"] .strip { background: rgba(255, 255, 255, 0.015); }
[data-theme="dark"] .feature-row:hover { background: rgba(255, 255, 255, 0.02); }
[data-theme="dark"] .toggle { background: rgba(255, 255, 255, 0.12); }

/* in dark, the player + CTA already match — no change needed */

/* theme toggle button */
.theme-tog {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--ink-2); cursor: pointer;
  transition: all .2s;
}
.theme-tog:hover { color: var(--ink); transform: rotate(15deg); border-color: rgba(124,92,255,0.4); }
.theme-tog svg { transition: transform .3s; }

/* lang picker */
.lang-picker { position: relative; }
.lang-btn { width: auto; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; }
.lang-btn:hover { transform: none; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 18px 40px -12px rgba(20,19,42,0.25);
  min-width: 180px;
  z-index: 60;
}
.lang-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: transparent;
  border: none;
  color: var(--ink-2);
  font-size: 13px; font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.lang-item:hover { background: var(--surface-2); color: var(--ink); }
.lang-item.on { color: var(--a1); background: var(--a-soft); }
.lang-item svg { margin-left: auto; }
