:root {
  --lilac: #7a5ac8;
  --lilac-deep: #3b2f78;
  --lilac-soft: #efe8ff;
  --gold: #f2b544;
  --gold-soft: #fff6df;
  --ink: #2b2350;
  --muted: #5d5680;
  --surface: #fbf8ff;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(59, 47, 120, 0.12);
  --font-display: 'Nunito', ui-rounded, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--lilac); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 8px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251, 248, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(43, 35, 80, 0.06); }
.nav .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--lilac); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 800; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(242, 181, 68, 0.4); }
.btn-secondary { background: var(--white); color: var(--lilac-deep); box-shadow: var(--shadow); }
.btn-dark { background: var(--lilac); color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(circle at 80% 10%, rgba(255, 224, 138, 0.35), transparent 40%),
    linear-gradient(160deg, var(--lilac-deep) 0%, var(--lilac) 55%, #c9a7f0 100%);
  padding: 72px 0 96px;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .lead { color: #efe8ff; }
.hero .eyebrow { color: #ffe08a; }
.hero-stars { position: absolute; inset: 0; pointer-events: none; opacity: 0.8; }
.hero-note { font-size: 0.9rem; color: #e6dcff; margin-top: 14px; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
}

/* Phone mockup */
.phone {
  width: min(300px, 100%); margin-inline: auto; background: var(--surface); color: var(--ink);
  border-radius: 36px; padding: 14px; border: 8px solid #1f1940; box-shadow: 0 30px 60px rgba(20, 12, 60, 0.45);
}
.phone-bar { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; font-weight: 800; padding: 2px 6px 10px; }
.phone-thought { background: var(--lilac-deep); color: var(--white); border-radius: 18px; padding: 12px 14px; font-family: var(--font-display); }
.phone-thought small { color: #ffe08a; font-weight: 800; font-size: 0.65rem; letter-spacing: 0.06em; }
.phone-thought p { margin: 4px 0 0; font-weight: 800; font-size: 0.95rem; line-height: 1.3; }
.phone-card { background: var(--white); border-radius: 18px; overflow: hidden; margin-top: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
.phone-card .body { padding: 10px 12px; }
.phone-card .pill { display: inline-block; background: #fbecc9; border-radius: 999px; padding: 1px 8px; font-size: 0.65rem; font-weight: 800; }
.phone-card h4 { margin: 6px 0 2px; font-family: var(--font-display); font-size: 0.95rem; }
.phone-card p { margin: 0; font-size: 0.72rem; color: var(--muted); line-height: 1.35; }
.phone-progress { margin-top: 10px; background: var(--white); border-radius: 18px; padding: 10px 12px; font-size: 0.72rem; font-weight: 800; }
.phone-progress .track { height: 8px; border-radius: 999px; background: var(--lilac-soft); margin-top: 6px; overflow: hidden; }
.phone-progress .fill { width: 42%; height: 100%; background: linear-gradient(90deg, var(--lilac), var(--gold)); }
.phone-tabs { display: flex; justify-content: space-around; margin-top: 10px; font-size: 0.62rem; font-weight: 800; color: var(--muted); }
.phone-tabs span { display: flex; flex-direction: column; align-items: center; }
.phone-tabs .on { color: var(--ink); background: var(--lilac-soft); border-radius: 10px; padding: 2px 8px; }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.section-alt .card { background: var(--surface); box-shadow: none; border: 1px solid rgba(122, 90, 200, 0.12); }
.icon { font-size: 2rem; margin-bottom: 8px; display: block; }

/* Lesson anatomy */
.anatomy { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 32px; }
.anatomy li { list-style: none; background: var(--lilac-soft); border-radius: 20px; padding: 18px; }
.anatomy li:nth-child(3) { background: var(--gold-soft); }
.anatomy b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin: 6px 0 4px; }
.anatomy span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 960px) { .anatomy { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .anatomy { grid-template-columns: 1fr; } }
ul.anatomy { padding: 0; }

.values { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; padding: 0; }
.values li { list-style: none; background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 700; box-shadow: 0 2px 8px rgba(59, 47, 120, 0.08); }

/* Plans */
.plan { position: relative; }
.plan ul { padding-left: 0; list-style: none; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: '✦'; position: absolute; left: 4px; color: var(--gold); }
.plan-premium { background: linear-gradient(160deg, var(--lilac-deep), var(--lilac)); color: var(--white); }
.plan-premium li::before { color: #ffe08a; }
.price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; margin: 6px 0 2px; }
.price-note { font-size: 0.85rem; opacity: 0.8; }
.tag { position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.75rem; border-radius: 999px; padding: 4px 10px; }

/* FAQ */
.faq details { background: var(--white); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(59, 47, 120, 0.06); }
.faq summary { cursor: pointer; font-weight: 800; font-family: var(--font-display); font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* CTA */
.cta {
  border-radius: 32px; padding: 48px 32px; text-align: center; color: var(--white);
  background: radial-gradient(circle at 15% 20%, rgba(255, 224, 138, 0.35), transparent 35%), linear-gradient(140deg, var(--lilac-deep), var(--lilac));
}
.cta .lead { color: #efe8ff; }
.cta .actions { justify-content: center; }

.legal-links { display: flex; gap: 18px; justify-content: center; padding: 24px 0 40px; font-size: 0.9rem; }

/* Legal pages */
.legal { max-width: 780px; margin-inline: auto; padding: 48px 16px 72px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal li { margin-bottom: 0.4em; }
.legal .updated { color: var(--muted); font-size: 0.9rem; }
.legal .box { background: var(--lilac-soft); border-radius: 18px; padding: 16px 20px; }
