/* MathWave — design tokens + components */

:root {
  --bg: #FEFEFE;
  --bg-soft: #F7F9FC;
  --bg-tint: #FDF7FA;
  --ink: #1F3A5F;
  --ink-soft: #4A5E7A;
  --muted: #8A97A8;
  --line: #E8EDF3;
  --line-soft: #F1F4F8;
  --rose: #E8A5C9;
  --rose-soft: #F5D4E3;
  --rose-tint: #FCEFF5;
  --sky: #6BB6E8;
  --sky-soft: #B5D9F1;
  --sky-tint: #EAF4FB;
  --blend: #C4AED9;
  --grad: linear-gradient(90deg, #E8A5C9 0%, #C4AED9 50%, #6BB6E8 100%);
  --grad-soft: linear-gradient(135deg, #FCEFF5 0%, #EAF4FB 100%);

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-full: 999px;

  --shadow-sm: 0 2px 10px rgba(31, 58, 95, 0.04);
  --shadow-md: 0 10px 40px rgba(31, 58, 95, 0.06);
  --shadow-lg: 0 24px 60px rgba(31, 58, 95, 0.08);
  --shadow-pink: 0 18px 50px rgba(232, 165, 201, 0.25);

  --font: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Quicksand', 'Nunito', sans-serif;
}

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

html, body { background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 500; -webkit-font-smoothing: antialiased; letter-spacing: 0.01em; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
input, button { font-family: inherit; }

/* ======================= BUTTONS ======================= */
.mw-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--r-full);
  font-weight: 600;
  padding: 14px 24px;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.mw-btn-lg { padding: 18px 32px; font-size: 16px; }
.mw-btn-full { width: 100%; justify-content: center; }

.mw-btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 24px rgba(31, 58, 95, 0.2);
}
.mw-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(31, 58, 95, 0.28); }
.mw-btn:disabled,
.mw-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.mw-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.mw-btn-ghost:hover { border-color: var(--ink); }

.mw-btn-arrow { transition: transform 0.2s ease; display: inline-block; }
.mw-btn:hover .mw-btn-arrow { transform: translateX(3px); }

.mw-btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-full);
  transition: background 0.15s;
}
.mw-btn-back:hover { background: var(--line-soft); color: var(--ink); }

/* ======================= NAV ======================= */
.mw-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 254, 254, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.mw-nav-logo { display: flex; align-items: center; gap: 12px; }
.mw-logo-mark { display: inline-flex; }
.mw-logo-img { height: 44px; width: auto; border-radius: 50%; display: block; box-shadow: 0 2px 10px rgba(31,58,95,0.06); }
.mw-nav-title { font-weight: 700; letter-spacing: 2px; font-size: 14px; color: var(--ink); }

/* ======================= LESSONS ======================= */
.mw-lessons {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-bottom: 56px;
}
.mw-lesson {
  background: white;
  border-radius: var(--r-lg);
  padding: 20px 24px;
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.mw-lesson:hover {
  transform: translateX(4px);
  border-color: var(--rose-soft);
  box-shadow: var(--shadow-sm);
}
.mw-lesson-n {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--ink);
  flex-shrink: 0;
}
.mw-lesson-title { flex: 1; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mw-lesson-meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  padding: 6px 14px; border-radius: var(--r-full);
  background: var(--bg-soft);
  flex-shrink: 0;
}
.mw-lesson-play {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad);
  color: white;
  display: flex; align-items: center; justify-content: center;
  padding-left: 2px;
}
.mw-lesson-soon { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase; }
.mw-lesson-tba { background: var(--bg-soft); border-style: dashed; border-color: var(--line); }
.mw-lesson-tba .mw-lesson-n { background: white; color: var(--muted); }
.mw-lesson-tba .mw-lesson-title { color: var(--ink-soft); }
.mw-lesson-tba .mw-lesson-meta { background: white; }
@media (max-width: 720px) { .mw-lessons { grid-template-columns: 1fr; } }
.mw-nav-links { display: flex; gap: 32px; }
.mw-nav-links a { font-size: 14px; color: var(--ink-soft); font-weight: 500; transition: color 0.15s; }
.mw-nav-links a:hover { color: var(--ink); }
.mw-nav-cta { padding: 10px 20px; font-size: 14px; }

/* ======================= HERO ======================= */
.mw-hero {
  position: relative;
  padding: 80px 48px 120px;
  overflow: hidden;
  min-height: 780px;
}
.mw-hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px; max-width: 1280px; margin: 0 auto;
  align-items: center;
  position: relative; z-index: 2;
}

.mw-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.mw-circle-1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(232, 165, 201, 0.22), transparent 65%);
  top: -120px; left: -100px;
}
.mw-circle-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(107, 182, 232, 0.2), transparent 65%);
  bottom: -160px; right: -140px;
}
.mw-circle-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(196, 174, 217, 0.18), transparent 70%);
  top: 40%; left: 44%;
}

.mw-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: var(--r-full);
  background: white; border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.mw-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(232, 165, 201, 0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232, 165, 201, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(232, 165, 201, 0.15); }
}

.mw-hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 24px 0 24px;
  color: var(--ink);
}
.mw-grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}
.mw-hero-sub {
  font-size: 18px; color: var(--ink-soft); line-height: 1.55;
  max-width: 520px; margin-bottom: 36px;
  text-wrap: pretty;
}
.mw-hero-cta { display: flex; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }

.mw-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.mw-hero-feat {
  display: flex; gap: 14px; align-items: flex-start;
}
.mw-hero-feat-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 0 4px rgba(232, 165, 201, 0.15);
}
.mw-hero-feat-t {
  font-size: 15px; font-weight: 700; color: var(--ink);
  line-height: 1.35;
}
.mw-hero-feat-s {
  font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4;
}

.mw-hero-right {
  position: relative; height: 520px;
}
.mw-hero-wave {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.mw-hero-wave svg { max-width: 100%; }

.mw-hero-chip {
  position: absolute;
  background: white;
  border-radius: var(--r-lg);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.mw-chip-emoji {
  width: 42px; height: 42px;
  background: var(--grad-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 300; color: var(--ink);
  font-family: 'Times New Roman', serif;
  font-style: italic;
}
.mw-chip-title { font-weight: 600; font-size: 14px; }
.mw-chip-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.mw-chip-a { top: 8%; left: 0; animation: float 6s ease-in-out infinite; }
.mw-chip-b { top: 42%; right: -4%; animation: float 6s ease-in-out infinite 1.5s; }
.mw-chip-c { bottom: 12%; left: 14%; animation: float 6s ease-in-out infinite 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Zeus in hero */
.mw-zeus-hero {
  position: absolute;
  bottom: -40px; right: 0;
  width: 220px; height: 220px;
  z-index: 3;
}
.mw-zeus-hero-circle {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-tint), var(--sky-tint));
  box-shadow: var(--shadow-pink);
}
.mw-zeus-hero img {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  height: 240px; width: auto;
  pointer-events: none;
}
.mw-zeus-hero-tag {
  position: absolute;
  top: -12px; right: -8px;
  background: white;
  border-radius: var(--r-full);
  padding: 8px 14px;
  font-size: 12px; font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 6px;
}
.mw-zeus-hero-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose);
}

/* ======================= SECTIONS ======================= */
.mw-section {
  padding: 120px 48px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.mw-section-head { max-width: 760px; margin-bottom: 64px; }
.mw-eyebrow {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 20px;
}
.mw-h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500; letter-spacing: -0.3px;
  line-height: 1.15; color: var(--ink);
  text-wrap: balance;
}
.mw-section-sub {
  margin-top: 20px; font-size: 18px; color: var(--ink-soft);
  line-height: 1.55; max-width: 620px; text-wrap: pretty;
}

/* ======================= MODULES ======================= */
.mw-modules {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 64px;
}
.mw-module {
  background: white;
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line-soft);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  min-height: 220px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.mw-module:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mw-module::after {
  content: ''; position: absolute;
  width: 140px; height: 140px; border-radius: 50%;
  right: -60px; bottom: -60px;
  opacity: 0.5;
  z-index: 0;
}
.mw-module-rose::after { background: radial-gradient(circle, var(--rose-tint), transparent 70%); }
.mw-module-sky::after { background: radial-gradient(circle, var(--sky-tint), transparent 70%); }
.mw-module-blend::after { background: radial-gradient(circle, #F5F0FA, transparent 70%); }

.mw-module > * { position: relative; z-index: 1; }
.mw-module-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.mw-module-n {
  font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 1px;
}
.mw-tag {
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
}
.mw-tag-rose { background: var(--rose-tint); color: #B5628D; }
.mw-tag-sky { background: var(--sky-tint); color: #2D7FBA; }
.mw-tag-blend { background: #F5F0FA; color: #8567A5; }
.mw-module-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; line-height: 1.25; }
.mw-module-topics { font-size: 14px; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.mw-module-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.mw-module-hours { font-size: 13px; color: var(--muted); font-weight: 500; }
.mw-module-arrow { font-size: 20px; color: var(--ink); opacity: 0.4; transition: opacity 0.2s, transform 0.2s; }
.mw-module:hover .mw-module-arrow { opacity: 1; transform: translateX(4px); }

.mw-inside {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  padding: 40px;
}
.mw-inside-item { display: flex; gap: 14px; align-items: flex-start; }
.mw-inside-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  border: 1px solid var(--line-soft);
}
.mw-inside-t { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.mw-inside-s { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

/* ======================= TEACHERS ======================= */
.mw-teachers { position: relative; }
.mw-teachers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mw-teacher {
  background: white;
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line-soft);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.mw-teacher:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.mw-teacher-avatar {
  position: relative;
  width: 120px; height: 120px;
  margin: 0 auto 20px;
}
.mw-avatar-ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0.3;
}
.mw-teacher-rose .mw-avatar-ring {
  background: radial-gradient(circle, var(--rose), var(--rose-soft));
}
.mw-teacher-sky .mw-avatar-ring {
  background: radial-gradient(circle, var(--sky), var(--sky-soft));
}
.mw-teacher-blend .mw-avatar-ring {
  background: var(--grad);
}
.mw-avatar-inner {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid white;
  overflow: hidden;
}
.mw-avatar-ph {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px; color: var(--muted); letter-spacing: 1px;
}
.mw-teacher-body { text-align: center; }
.mw-teacher-role {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 8px;
}
.mw-teacher-name { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.mw-teacher-exp { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.mw-teacher-facts { list-style: none; text-align: left; }
.mw-teacher-facts li {
  font-size: 13px; color: var(--ink-soft); padding: 6px 0;
  display: flex; align-items: center; gap: 10px;
}
.mw-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
}

/* Zeus teacher card */
.mw-teacher-zeus {
  background: linear-gradient(160deg, var(--rose-tint) 0%, var(--sky-tint) 100%);
  border: 1px solid var(--rose-soft);
  overflow: hidden;
  position: relative;
}
.mw-teacher-zeus .mw-avatar-inner {
  background: white;
}
.mw-teacher-zeus .mw-avatar-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.1);
}
.mw-teacher-zeus-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: white;
  padding: 6px 12px;
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ======================= PRICING ======================= */
.mw-price-card-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.mw-price-deco {
  position: absolute; border-radius: 50%;
  z-index: 0; pointer-events: none;
}
.mw-price-deco-1 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(232, 165, 201, 0.35), transparent 65%);
  top: -80px; left: -120px;
}
.mw-price-deco-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(107, 182, 232, 0.3), transparent 65%);
  bottom: -100px; right: -140px;
}
.mw-price-card {
  position: relative; z-index: 1;
  background: white;
  border-radius: var(--r-xl);
  padding: 48px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
}
.mw-price-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.mw-price-tag {
  font-size: 13px; color: var(--muted);
  margin-bottom: 10px;
}
.mw-price-name {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.2px;
}
.mw-price-amount { text-align: right; }
.mw-price-old {
  font-size: 15px; color: var(--muted);
  text-decoration: line-through;
}
.mw-price-new { display: flex; align-items: baseline; gap: 4px; justify-content: flex-end; }
.mw-price-num {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 600; color: var(--ink); letter-spacing: -1px;
}
.mw-price-cur { font-size: 24px; color: var(--ink-soft); font-weight: 400; }
.mw-price-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

.mw-price-divider { height: 1px; background: var(--line); margin-bottom: 32px; }

.mw-price-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin-bottom: 32px;
}
.mw-price-feat {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--ink); line-height: 1.45;
}
.mw-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  color: white; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

.mw-price-actions { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.mw-price-meta {
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.mw-meta-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #E8A5C9;
  animation: pulse 2s infinite;
}

/* ======================= FAQ ======================= */
.mw-faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.mw-faq-item {
  background: white;
  border-radius: var(--r-md);
  padding: 24px 28px;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mw-faq-item:hover { border-color: var(--line); }
.mw-faq-item.mw-open { box-shadow: var(--shadow-sm); border-color: var(--line); }
.mw-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 17px; font-weight: 500; color: var(--ink);
  gap: 24px;
}
.mw-faq-plus {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 300; color: var(--ink);
  flex-shrink: 0;
}
.mw-faq-a {
  margin-top: 16px; font-size: 15px; color: var(--ink-soft); line-height: 1.6;
  text-wrap: pretty;
}

/* ======================= FINAL ======================= */
.mw-final {
  position: relative;
  margin-top: 40px;
  padding: 120px 48px 120px;
  background: var(--bg-soft);
  text-align: center;
  overflow: hidden;
}
.mw-final-ribbon {
  position: absolute;
  top: 50%; left: -5%;
  width: 110%; transform: translateY(-50%);
  opacity: 0.7;
  pointer-events: none;
}
.mw-final-inner {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto;
}
.mw-final-inner .mw-section-sub { margin: 20px auto 36px; }

/* ======================= FOOTER ======================= */
.mw-footer { padding: 80px 48px 40px; border-top: 1px solid var(--line-soft); }
.mw-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.mw-footer-logo { font-weight: 700; letter-spacing: 2px; font-size: 16px; display: block; margin-bottom: 16px; }
.mw-footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.mw-footer-col { display: flex; flex-direction: column; gap: 12px; }
.mw-footer-h { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.mw-footer-col a { font-size: 14px; color: var(--ink-soft); }
.mw-footer-col a:hover { color: var(--ink); }
.mw-footer-copy {
  max-width: 1280px; margin: 0 auto;
  padding-top: 32px; border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--muted);
}

/* ======================= CHECKOUT ======================= */
.mw-checkout {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}
.mw-circle-co-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232, 165, 201, 0.15), transparent 70%);
  top: -180px; left: -200px;
}
.mw-circle-co-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107, 182, 232, 0.12), transparent 70%);
  bottom: -200px; right: -250px;
}

.mw-co-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(254, 254, 254, 0.9);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 10;
}
.mw-co-help { font-size: 14px; color: var(--muted); }
.mw-co-help a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.mw-co-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  max-width: 1240px; margin: 0 auto;
  padding: 60px 48px;
  position: relative;
  align-items: flex-start;
}
.mw-co-main {
  background: white;
  border-radius: var(--r-xl);
  padding: 48px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.mw-co-aside { position: sticky; top: 120px; }

/* Stepper */
.mw-stepper {
  display: flex; align-items: center;
  margin-bottom: 40px;
}
.mw-step { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mw-step-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-soft); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.mw-step-active .mw-step-circle {
  background: var(--ink); color: white;
  box-shadow: 0 0 0 6px rgba(31, 58, 95, 0.08);
}
.mw-step-done .mw-step-circle {
  background: var(--rose); color: white;
  box-shadow: 0 0 0 4px rgba(232, 165, 201, 0.15);
}
.mw-step-label {
  font-size: 13px; color: var(--muted); font-weight: 500;
  white-space: nowrap;
}
.mw-step-active .mw-step-label { color: var(--ink); }
.mw-step-done .mw-step-label { color: var(--rose); }
.mw-step-line {
  flex: 1; height: 2px;
  background: var(--line);
  margin: 0 16px;
  border-radius: 2px;
}
.mw-line-done { background: var(--rose); }

/* Step body */
.mw-step-body { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.mw-co-h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600; letter-spacing: -0.2px;
  margin-bottom: 8px;
}
.mw-co-h3 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.mw-co-sub { font-size: 15px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 32px; text-wrap: pretty; }
.mw-co-tip { font-size: 13px; color: var(--muted); margin-top: 10px; }

.mw-co-row-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.mw-divider-soft { height: 1px; background: var(--line-soft); margin: 32px 0; }

/* Fields */
.mw-field { display: flex; flex-direction: column; gap: 8px; }
.mw-field-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.mw-input {
  padding: 14px 18px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line);
  background: white;
  font-size: 15px; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.mw-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(31, 58, 95, 0.06);
}
.mw-field-err .mw-input { border-color: #E88CA8; }
.mw-field-hint { font-size: 12px; color: var(--muted); }
.mw-field-err-msg { font-size: 12px; color: #C94E71; font-weight: 500; }

/* Pill group */
.mw-pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
.mw-pill {
  padding: 12px 18px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line);
  background: white;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: all 0.15s;
}
.mw-pill:hover { border-color: var(--ink-soft); }
.mw-pill-active {
  background: var(--ink); color: white; border-color: var(--ink);
}

/* Toggle (payer type) */
.mw-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mw-toggle-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 20px; border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  background: white;
  text-align: left;
  transition: all 0.15s;
}
.mw-toggle-opt:hover { border-color: var(--ink-soft); }
.mw-toggle-active {
  border-color: var(--ink);
  background: linear-gradient(135deg, var(--rose-tint), var(--sky-tint));
}
.mw-toggle-ring {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s;
}
.mw-toggle-active .mw-toggle-ring {
  border-color: var(--ink);
}
.mw-toggle-active .mw-toggle-ring::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--ink);
}
.mw-toggle-t { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.mw-toggle-s { font-size: 12px; color: var(--muted); }

/* Starts */
.mw-starts { display: flex; flex-direction: column; gap: 12px; }
.mw-start {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  background: white; text-align: left;
  transition: all 0.15s;
}
.mw-start:hover { border-color: var(--ink-soft); }
.mw-start-active {
  border-color: var(--ink);
  background: var(--bg-soft);
}
.mw-start-circle {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); flex-shrink: 0; position: relative;
}
.mw-start-active .mw-start-circle { border-color: var(--ink); }
.mw-start-active .mw-start-circle::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--ink);
}
.mw-start-body { flex: 1; }
.mw-start-t { font-size: 15px; font-weight: 600; }
.mw-start-d { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.mw-start-note { font-size: 12px; color: var(--muted); margin-top: 4px; }

.mw-promo-row { display: flex; gap: 12px; }
.mw-promo-row .mw-input { flex: 1; }

/* Pay options */
.mw-pay-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.mw-pay {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  background: white; text-align: left;
  transition: all 0.15s;
}
.mw-pay:hover { border-color: var(--ink-soft); }
.mw-pay-active { border-color: var(--ink); background: var(--bg-soft); }
.mw-pay-left { display: flex; align-items: center; gap: 14px; }
.mw-pay-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.mw-pay-t { font-size: 15px; font-weight: 600; }
.mw-pay-d { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.mw-pay-ring {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); position: relative;
}
.mw-pay-active .mw-pay-ring { border-color: var(--ink); }
.mw-pay-active .mw-pay-ring::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--ink);
}

/* Card form */
.mw-card-form {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 28px;
}
.mw-card-form .mw-input { background: white; }
.mw-input-icon-wrap { position: relative; }
.mw-card-brands {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  display: flex; gap: 6px;
}
.mw-card-brand {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px;
  background: white; color: var(--muted);
  border: 1px solid var(--line);
}

/* Checkbox */
.mw-checkbox {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; color: var(--ink-soft); line-height: 1.5;
  cursor: pointer;
  padding: 16px 0;
}
.mw-checkbox input { display: none; }
.mw-checkbox a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.mw-cb-box {
  width: 22px; height: 22px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: white;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.mw-checkbox input:checked + .mw-cb-box {
  background: var(--ink); border-color: var(--ink);
}
.mw-cb-err .mw-cb-box { border-color: #E88CA8; }

.mw-co-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  gap: 12px;
}
.mw-co-actions:has(.mw-btn-primary:only-child) { justify-content: flex-end; }
.mw-co-actions .mw-btn-primary { margin-left: auto; }

/* Summary */
.mw-summary {
  background: white;
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.mw-summary::before {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  top: -80px; right: -80px;
  background: radial-gradient(circle, var(--rose-tint), transparent 65%);
}
.mw-summary > * { position: relative; z-index: 1; }
.mw-summary-head { margin-bottom: 24px; }
.mw-summary-label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.mw-summary-title { font-size: 20px; font-weight: 600; }
.mw-summary-sub { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.mw-summary-list { display: flex; flex-direction: column; gap: 12px; }
.mw-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); }
.mw-summary-row span:last-child { color: var(--ink); font-weight: 500; }
.mw-summary-divider { height: 1px; background: var(--line); margin: 24px 0; }
.mw-summary-price { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.mw-line-through { text-decoration: line-through; color: var(--muted) !important; }
.mw-summary-disc { color: #C94E71 !important; font-weight: 600 !important; }
.mw-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 20px; border-top: 1px solid var(--line);
  margin-bottom: 8px;
}
.mw-summary-total > span { font-size: 16px; font-weight: 600; }
.mw-total-num { font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); }
.mw-total-cur { font-size: 18px; color: var(--ink-soft); }
.mw-summary-monthly { font-size: 13px; color: var(--muted); text-align: right; margin-bottom: 20px; }

.mw-summary-guarantee {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 16px;
  display: flex; gap: 12px; align-items: center;
  margin-top: 20px;
}
.mw-gu-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}
.mw-gu-t { font-size: 13px; font-weight: 600; }
.mw-gu-s { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Zeus cursor - little helper in checkout summary */
.mw-zeus-summary {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 90px; height: 90px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 2;
}
.mw-zeus-summary img { width: 100%; height: auto; }
.mw-zeus-summary-bubble {
  position: absolute;
  bottom: 60px; right: 80px;
  background: white;
  padding: 8px 12px;
  border-radius: var(--r-md);
  border-bottom-right-radius: 4px;
  font-size: 11px; font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
}

/* Success */
.mw-success {
  min-height: 100vh;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.mw-success-ribbon {
  position: absolute;
  top: 20%; left: -5%;
  width: 110%;
  opacity: 0.4;
  pointer-events: none;
}
.mw-success-inner {
  text-align: center; max-width: 560px;
  position: relative; z-index: 1;
}
.mw-success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--grad);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 12px 36px rgba(232, 165, 201, 0.4);
}
.mw-success-h1 { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 16px; }
.mw-success-sub { font-size: 16px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 32px; text-wrap: pretty; }
.mw-success-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 24px 28px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  text-align: left;
}
.mw-success-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.mw-success-row:last-child { border-bottom: none; }
.mw-success-row span:first-child { color: var(--muted); }
.mw-success-row span:last-child { color: var(--ink); font-weight: 600; }
.mw-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.mw-success-zeus {
  width: 160px; height: 160px;
  margin: 0 auto 20px;
  position: relative;
}
.mw-success-zeus-circle {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-tint), var(--sky-tint));
}
.mw-success-zeus img {
  position: absolute;
  bottom: -10px; left: 50%; transform: translateX(-50%);
  height: 180px; width: auto;
}

/* ======================= TWEAKS PANEL ======================= */
.mw-tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 300px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(31, 58, 95, 0.16);
  z-index: 100;
  overflow: hidden;
  font-family: var(--font);
}
.mw-tweaks-head {
  padding: 16px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
}
.mw-tweaks-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 18px; max-height: 70vh; overflow-y: auto; }
.mw-tweak-row { display: flex; flex-direction: column; gap: 8px; }
.mw-tweak-label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.mw-tweak-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.mw-tweak-swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform 0.15s;
}
.mw-tweak-swatch:hover { transform: scale(1.1); }
.mw-tweak-swatch-active { box-shadow: 0 0 0 2px var(--ink); }
.mw-tweak-segs { display: flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: var(--r-full); }
.mw-tweak-seg {
  flex: 1; padding: 8px 12px;
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 500; color: var(--ink-soft);
  transition: all 0.15s;
}
.mw-tweak-seg-active { background: white; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Responsive */
@media (max-width: 980px) {
  .mw-hero-inner { grid-template-columns: 1fr; }
  .mw-hero-right { height: 380px; }
  .mw-modules { grid-template-columns: 1fr 1fr; }
  .mw-teachers-grid { grid-template-columns: 1fr 1fr; }
  .mw-inside { grid-template-columns: 1fr 1fr; }
  .mw-co-grid { grid-template-columns: 1fr; }
  .mw-nav-links { display: none; }
  .mw-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mw-hero { padding: 60px 24px 80px; }
  .mw-section { padding: 80px 24px; }
  .mw-modules { grid-template-columns: 1fr; }
  .mw-teachers-grid { grid-template-columns: 1fr; }
  .mw-inside { grid-template-columns: 1fr; }
  .mw-price-card { padding: 32px 24px; }
  .mw-price-features { grid-template-columns: 1fr; }
  .mw-co-main { padding: 28px 20px; }
  .mw-co-row-2, .mw-toggle { grid-template-columns: 1fr; }
  .mw-step-label { display: none; }
  .mw-footer-inner { grid-template-columns: 1fr; }
}

/* Final CTA spacing */
.mw-final-inner .mw-btn { margin-top: 48px; }
