* { box-sizing: border-box; }
:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #172033;
  --muted: #667085;
  --primary: #5b4cf0;
  --primary-dark: #483bd0;
  --border: #e6e9f0;
  --success: #067647;
  --shadow: 0 18px 60px rgba(28, 38, 64, .10);
}
body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: radial-gradient(circle at top right, #eeeaff 0, transparent 28%), var(--bg);
  color: var(--text);
}
button, input { font: inherit; }
.shell {
  width: min(960px, calc(100% - 32px));
  margin: 48px auto 80px;
}
.hero {
  text-align: center;
  margin-bottom: 24px;
}
.badge {
  display: inline-block;
  background: #ece9ff;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(30px, 5vw, 52px);
}
.hero p {
  max-width: 720px;
  margin: auto;
  color: var(--muted);
  line-height: 2;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
  background: #fbfbfe;
}
.step {
  text-align: center;
  padding: 15px 8px;
  color: #98a2b3;
  font-size: 13px;
  font-weight: 700;
}
.step.active { color: var(--primary); background: #f2f0ff; }
.panel {
  padding: 34px;
  max-width: 680px;
  margin: 0 auto;
}
.panel h2 { margin-top: 0; font-size: 26px; }
label {
  display: block;
  margin: 20px 0 8px;
  font-weight: 700;
}
input {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  padding: 15px;
  outline: none;
  background: #fff;
}
input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91, 76, 240, .10);
}
button {
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-top: 18px;
}
button:hover { background: var(--primary-dark); }
button.secondary { background: #eef0f4; color: #344054; }
.hint, .grade-note {
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}
.grade-note {
  background: #fff8e8;
  border: 1px solid #f4dda2;
  padding: 14px;
  border-radius: 14px;
}
.grade-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.grade-card {
  text-align: right;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  margin: 0;
  min-height: 108px;
}
.grade-card:hover, .grade-card.selected {
  background: #f5f3ff;
  border-color: #a99fff;
}
.grade-card strong, .grade-card span { display: block; }
.grade-card span {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.7;
}
.confirm-box, .price-box, .summary {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: #fafbff;
}
.confirm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-box span, .price-box strong { display: block; }
.price-box strong { font-size: 28px; margin-top: 6px; }
.pill {
  background: #e8f7ef;
  color: #067647;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
}
.features {
  color: var(--muted);
  line-height: 2.1;
}
.alert {
  margin: 20px 34px 0;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff0f0;
  color: #b42318;
  border: 1px solid #f5c2c0;
}
.dev-code {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px dashed #e0b64c;
  font-weight: 700;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f7ef;
  color: var(--success);
  font-size: 36px;
  font-weight: 900;
}
.hidden { display: none !important; }

@media (max-width: 700px) {
  .shell { width: min(100% - 20px, 960px); margin-top: 20px; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .step { font-size: 11px; padding: 12px 4px; }
  .panel { padding: 24px 18px; }
  .grade-grid { grid-template-columns: 1fr; }
}

.brand-logo {
  display: block;
  width: min(360px, 78vw);
  height: auto;
  margin: 0 auto 14px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(28, 38, 64, .14));
}
.brand-tagline {
  color: var(--primary);
  font-weight: 900;
  font-size: 18px;
  margin: -2px 0 10px;
}
.hero-subtitle {
  margin: 8px 0 10px;
  font-size: clamp(22px, 3vw, 30px);
}

.play-now-link{
  display:block;text-align:center;margin-top:18px;padding:16px 20px;border-radius:16px;
  background:linear-gradient(135deg,#5b4cf0,#8c6cff);color:#fff;text-decoration:none;font-weight:900;
  box-shadow:0 14px 30px rgba(91,76,240,.22)
}


/* HooshKoosh educational image in lesson */
.lesson-image-card{
  display:flex;
  justify-content:center;
  margin:18px auto;
}
.lesson-image-card img{
  max-width:90%;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.lesson-image-wrap{width:100%;max-width:440px;margin:14px auto;padding:0 10px;text-align:center}.lesson-image-wrap img{display:block;width:100%;max-width:420px;height:auto;max-height:260px;margin:0 auto;object-fit:contain;border-radius:16px;box-shadow:0 8px 25px rgba(0,0,0,.15)}.lesson-image-wrap.hidden{display:none}@media(max-width:600px){.lesson-image-wrap{max-width:100%;margin:12px auto;padding:0 6px}.lesson-image-wrap img{max-width:100%;max-height:220px;border-radius:14px}}
