:root {
  --accent: #6C58FB;
  --accent-2: #9B7BFF;
  --accent-3: #4A3AAB;
  --ink: #14131A;
  --muted: #605c6e;
  --bg: #ffffff;
  --card: #ffffff;
  --card-border: #ece9f5;
  --soft: #f6f4fd;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(76, 58, 171, 0.12);
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f1fb;
    --muted: #a8a3bd;
    --bg: #0f0e15;
    --card: #17161f;
    --card-border: #26232f;
    --soft: #16151d;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; list-style: none; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--accent-3) 0%, var(--accent) 48%, var(--accent-2) 100%);
  color: #fff;
  padding: 96px 0 120px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1200px 400px at 80% -10%, rgba(255,255,255,.25), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.hero-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.3); margin-bottom: 22px; }
@media (max-width: 860px) { .hero-icon { margin-inline: auto; } }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 850; letter-spacing: -0.02em; }
.hero p { font-size: clamp(16px, 2vw, 20px); opacity: .92; margin-top: 18px; max-width: 30ch; }
@media (max-width: 860px) { .hero p { max-width: none; } }
.hero-buttons { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero-buttons { justify-content: center; } }

.badge-store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; padding: 12px 20px; border-radius: 14px;
  font-weight: 600; border: 1px solid rgba(255,255,255,.25);
}
.badge-store svg { width: 22px; height: 22px; }
.badge-store small { display: block; font-size: 10px; opacity: .7; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.badge-store b { font-size: 16px; font-weight: 700; }
.badge-soft { display:inline-flex; align-items:center; padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); font-weight:600; }

/* Phone mockup */
.phone {
  justify-self: center;
  width: 260px; height: 540px; border-radius: 42px;
  background: #0c0b12; padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.08);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(160deg, #2a1c66, #4A3AAB 55%, #6C58FB);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; padding: 22px; text-align: center; gap: 14px;
}
.vinyl {
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #efeaff 0 18%, #1a1626 19% 22%, #26203a 23% 100%);
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.phone-title { font-weight: 800; font-size: 18px; margin-top: 6px; }
.phone-sub { font-size: 13px; opacity: .75; }
.eq { display: flex; gap: 4px; align-items: flex-end; height: 26px; margin-top: 4px; }
.eq span { width: 4px; background: #fff; border-radius: 3px; animation: bounce 1s ease-in-out infinite; }
.eq span:nth-child(2){ animation-delay:.15s } .eq span:nth-child(3){ animation-delay:.3s }
.eq span:nth-child(4){ animation-delay:.45s } .eq span:nth-child(5){ animation-delay:.6s }
@keyframes bounce { 0%,100%{ height:8px } 50%{ height:26px } }
.phone-controls { display: flex; gap: 22px; align-items: center; margin-top: 10px; font-size: 22px; }
.phone-play { width: 54px; height: 54px; border-radius: 50%; background:#fff; color: var(--accent); display:flex; align-items:center; justify-content:center; font-size: 22px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 820; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card-ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; margin-bottom: 16px;
}
.card-ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; font-weight: 720; }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 780px; margin: 0 auto; }
.chip {
  padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-border);
  font-weight: 600; font-size: 15px; box-shadow: var(--shadow);
}
.chip b { color: var(--accent); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 720px; margin: 44px auto 0; text-align: center; }
@media (max-width: 560px){ .stats{ grid-template-columns: 1fr; } }
.stat b { display: block; font-size: 34px; font-weight: 850; color: var(--accent); }
.stat span { color: var(--muted); font-size: 15px; }

/* CTA */
.cta { text-align: center; background: linear-gradient(135deg, var(--accent-3), var(--accent)); color: #fff; border-radius: 28px; padding: 60px 28px; margin: 0 24px; }
.cta h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 850; }
.cta p { opacity: .9; margin-top: 12px; font-size: 17px; }
.cta .hero-buttons { justify-content: center; margin-top: 26px; }

/* Ad slot (fill with AdSense once approved) */
.ad-slot { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.ad-slot .ad-inner {
  min-height: 90px; border: 1px dashed var(--card-border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 28px 0;
}

/* Footer */
.footer { border-top: 1px solid var(--card-border); padding: 44px 0; background: var(--soft); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--ink); font-size: 15px; margin-bottom: 8px; opacity: .85; }
.footer-col a:hover { color: var(--accent); }
.footer-legal { text-align: center; color: var(--muted); font-size: 13px; margin-top: 32px; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 60px 24px 80px; }
.legal h1 { font-size: 34px; font-weight: 820; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 20px; font-weight: 720; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); }

/* Articles / guides */
.article { max-width: 720px; margin: 0 auto; padding: 52px 24px 80px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--accent); }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.article h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 820; letter-spacing: -.02em; margin: 10px 0 12px; line-height: 1.12; text-wrap: balance; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.article .lead { font-size: 20px; color: var(--ink); margin-bottom: 24px; line-height: 1.55; }
.article h2 { font-size: 24px; font-weight: 760; margin: 34px 0 12px; letter-spacing: -.01em; }
.article h3 { font-size: 18px; font-weight: 720; margin: 22px 0 8px; }
.article p, .article li { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.article strong { color: var(--ink); }
.article ul, .article ol { padding-left: 22px; margin-bottom: 14px; }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.callout { background: var(--soft); border: 1px solid var(--card-border); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.callout p { margin: 0; color: var(--ink); font-size: 16px; }
.article-cta { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--card-border); }
.article-cta a { font-weight: 700; }

/* Guides index */
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .guides-grid { grid-template-columns: 1fr; } }
.guide-card { display: block; background: var(--card); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 24px; box-shadow: var(--shadow); transition: transform .2s ease; }
.guide-card:hover { transform: translateY(-3px); }
.guide-card h3 { font-size: 19px; font-weight: 740; margin: 8px 0 6px; color: var(--ink); }
.guide-card p { color: var(--muted); font-size: 15px; }
