:root {
  --purple: #8b5cf6; --pink: #ff5d8f; --ink: #1f2937; --muted: #6b7280;
  --bg: #faf7ff; --card: #ffffff; --line: #e9e2f7;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-size: 1.35rem; font-weight: 800; }
.brand span { color: var(--purple); }
.nav nav a { margin-left: 22px; text-decoration: none; color: var(--muted); font-weight: 600; }
.nav nav a:hover { color: var(--purple); }

/* hero */
.hero { text-align: center; padding: 84px 0 70px; background: linear-gradient(180deg, #f3edff, var(--bg)); }
.pill { display: inline-block; background: #ede9fe; color: #5b21b6; font-weight: 700; font-size: .85rem;
  border-radius: 999px; padding: 7px 18px; margin-bottom: 18px; }
.pill.ghost { background: #f3f4f6; color: var(--muted); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 16px; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--pink); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 28px; line-height: 1.6; }
.lede.small { font-size: 1rem; }

/* buttons */
.btn-buy { display: inline-block; background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff;
  border: none; font-weight: 800; font-size: 1.05rem; border-radius: 999px; padding: 15px 38px;
  cursor: pointer; text-decoration: none; box-shadow: 0 8px 24px rgba(139,92,246,.35); transition: transform .15s; }
.btn-buy:hover { transform: translateY(-2px); }
.btn-buy.big { font-size: 1.15rem; padding: 17px 44px; }

/* sections */
.section { padding: 70px 0; }
.section h2, .how h2, .faq h2 { font-size: 2rem; margin: 0 0 12px; text-align: center; }

/* featured product */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 34px; }
.feat-gallery img#main-preview { width: 100%; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(139,92,246,.14); }
.thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumbs img { width: 96px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; opacity: .65; }
.thumbs img.active { border-color: var(--purple); opacity: 1; }
.feat-info h2 { text-align: left; font-size: 1.9rem; margin: 12px 0 8px; }
.tagline { font-size: 1.1rem; font-weight: 600; color: var(--purple); margin: 0 0 12px; }
.desc { color: var(--muted); line-height: 1.65; }
.includes { list-style: none; padding: 0; margin: 18px 0; }
.includes li { margin: 8px 0; font-weight: 600; }
.buyrow { display: flex; align-items: center; gap: 22px; margin: 22px 0 10px; flex-wrap: wrap; }
.price { font-size: 2.2rem; font-weight: 800; }
.price.small { font-size: 1.3rem; }
.secure { color: var(--muted); font-size: .9rem; }

/* how it works */
.how { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 70px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.step { text-align: center; padding: 10px; }
.step .n { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff;
  font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 0 0 8px; }
.step p { color: var(--muted); line-height: 1.6; margin: 0; }

/* coming soon */
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.soon-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.soon-card h3 { margin: 14px 0 8px; font-size: 1.15rem; }

/* faq */
.faq { background: #fff; border-top: 1px solid var(--line); padding: 70px 0; }
.qa { max-width: 720px; margin: 0 auto 22px; }
.qa h3 { margin: 0 0 6px; font-size: 1.1rem; }
.qa p { margin: 0; color: var(--muted); line-height: 1.65; }

/* footer */
footer { padding: 34px 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.foot-inner p { color: var(--muted); font-size: .9rem; margin: 0; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(31,41,55,.55); display: none;
  align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal.show { display: flex; }
.modal-card { background: #fff; border-radius: 22px; padding: 40px; max-width: 440px; text-align: center; }
.modal-card h3 { margin: 0 0 12px; font-size: 1.5rem; }
.modal-card p { color: var(--muted); line-height: 1.6; margin: 0 0 22px; }

@media (max-width: 820px) {
  .feat-grid, .steps, .soon-grid { grid-template-columns: 1fr; }
  .nav nav { display: none; }
}

/* ============ TUTOR LANDING ============ */
.hero { padding: 70px 0 50px; background: linear-gradient(160deg, #fff7ed, #ede9fe); }
.hero-inner { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.hero-copy { flex: 1; min-width: 280px; }
.kicker { font-weight: 800; color: #7c3aed; margin: 0 0 8px; }
.hero h1 { font-size: 2.8rem; line-height: 1.1; margin: 0 0 14px; }
.lede { font-size: 1.15rem; color: #4b5563; }
.cta-row { margin: 22px 0 10px; }
.hero-art { flex: 1; min-width: 260px; display: grid; gap: 12px; }
.hero-card { background: #fff; border-radius: 16px; padding: 16px 18px; font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08); display: flex; gap: 12px; align-items: center; }
.hero-card b { display: block; font-size: 1rem; }
.hero-card span { font-size: 0.85rem; color: #6b7280; display: block; }
.section { padding: 60px 0; }
.section.alt { background: #f9fafb; }
.section h2 { text-align: center; font-size: 2rem; margin: 0 0 30px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feat { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.feat .fi { font-size: 2rem; }
.feat h3 { margin: 10px 0 6px; }
.feat p { color: #4b5563; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 30px; }
.step { text-align: center; }
.sn { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: #7c3aed;
  color: #fff; font-weight: 800; font-size: 1.3rem; align-items: center; justify-content: center; }
.pricing { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
.plan { background: #fff; border: 2px solid #e5e7eb; border-radius: 20px; padding: 28px; min-width: 270px; max-width: 340px; flex: 1; }
.plan.hot { border-color: #7c3aed; box-shadow: 0 10px 30px rgba(124,58,237,0.15); position: relative; }
.flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #7c3aed;
  color: #fff; font-size: 0.8rem; font-weight: 800; padding: 4px 14px; border-radius: 999px; margin: 0; }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: 8px 0; }
.plan .price span { font-size: 1rem; font-weight: 400; color: #6b7280; }
.plan .price.alt { font-size: 1.4rem; }
.plan .price em { font-size: 0.85rem; color: #059669; font-style: normal; font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 16px 0; }
.plan li { padding: 5px 0; }
.narrow { max-width: 680px; }
.faq h4 { margin: 20px 0 6px; }
.faq p { color: #4b5563; margin: 0 0 4px; }
footer { padding: 30px 0; border-top: 1px solid #e5e7eb; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
