/* Shared styles for SEO landing pages (music-visualizer, podcast-visualizer,
   spotify-canvas-maker, etc.). Inherits the dark theme but keeps each page
   self-contained — no React, no Vite, indexable as plain HTML. */

* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #08080d;
  --surface: #11111a;
  --surface2: #18182a;
  --border: #1f1f2e;
  --text: #f0eeff;
  --muted: #9090b0;
  --dim:   #5a5a78;
  --accent: #9b59d0;
  --accent2:#e06c9f;
  --green:  #50fa7b;
  --yellow: #f7ce68;
}
html, body { background: var(--bg); color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── Nav ─────────────────────────────────────────────────────── */
.lnav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px; background: rgba(8,8,13,0.85);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.lnav .brand {
  font-family: Outfit, Inter, sans-serif; font-weight: 800; font-size: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lnav nav { display: flex; gap: 18px; }
.lnav nav a { color: var(--muted); font-size: 13px; font-weight: 500; }
.lnav nav a:hover { color: var(--text); text-decoration: none; }
.lnav .cta {
  background: linear-gradient(135deg, var(--accent), #9333ea);
  color: #fff; padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
}
.lnav .cta:hover { text-decoration: none; filter: brightness(1.1); }
@media (max-width: 720px) {
  .lnav nav { display: none; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 80px 22px 60px; text-align: center; max-width: 920px; margin: 0 auto;
}
.hero .badge {
  display: inline-block; padding: 5px 12px; border-radius: 99px;
  background: rgba(155,89,208,0.12); border: 1px solid rgba(155,89,208,0.30);
  color: var(--accent2); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 22px;
}
.hero h1 {
  font-family: Outfit, Inter, sans-serif; font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 13px 28px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #9333ea);
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 20px rgba(155,89,208,0.30);
  transition: transform 0.15s, filter 0.15s;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.1); text-decoration: none; }
.btn-ghost {
  display: inline-block; padding: 13px 28px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 15px;
}
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

/* ── Features grid ───────────────────────────────────────────── */
.section { max-width: 1080px; margin: 0 auto; padding: 60px 22px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-head h2 {
  font-family: Outfit, Inter, sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; margin-bottom: 12px;
}
.section-head p { color: var(--muted); }
.features {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
}
.feature .icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px;
}
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* ── Steps ───────────────────────────────────────────────────── */
.steps {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  counter-reset: step;
}
.step {
  padding: 22px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; counter-increment: step; position: relative;
}
.step::before {
  content: counter(step); position: absolute; top: -16px; left: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-family: Outfit, sans-serif;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin: 12px 0 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px; margin-bottom: 10px;
  transition: border-color 0.15s;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 0.98rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }

/* ── Big CTA strip ───────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, rgba(155,89,208,0.10), rgba(224,108,159,0.10));
  border: 1px solid rgba(155,89,208,0.30);
  border-radius: 18px; padding: 40px 28px;
  text-align: center; max-width: 800px; margin: 60px auto;
}
.cta-strip h2 { font-family: Outfit, sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 10px; }
.cta-strip p { color: var(--muted); margin-bottom: 22px; }

/* ── Related links block ─────────────────────────────────────── */
.related {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.related h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 6px;
              grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.related li a { color: var(--muted); font-size: 0.92rem;
                display: block; padding: 8px 12px; border-radius: 8px;
                background: var(--surface2); border: 1px solid transparent;
                transition: border-color 0.15s, color 0.15s; }
.related li a:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }

/* ── Footer ──────────────────────────────────────────────────── */
.lfooter {
  text-align: center; padding: 36px 22px; border-top: 1px solid var(--border);
  color: var(--dim); font-size: 0.86rem; margin-top: 40px;
}
.lfooter a { color: var(--muted); }
