/* ============ Tokens ============ */
:root {
  --bg: oklch(97.5% 0.012 80);
  --bg-yellow: oklch(94% 0.06 95);
  --bg-blue: oklch(95% 0.03 235);
  --bg-green: oklch(94% 0.05 152);
  --ink: oklch(24% 0.03 260);
  --ink-soft: oklch(46% 0.02 260);
  --coral: oklch(68% 0.19 35);
  --coral-dark: oklch(56% 0.18 32);
  --blue: oklch(60% 0.13 240);
  --yellow: oklch(85% 0.16 95);
  --yellow-dark: oklch(72% 0.15 90);
  --white: oklch(99% 0.004 80);
  --line: oklch(88% 0.015 80);
  --good: oklch(55% 0.15 150);
  --green: oklch(48% 0.13 152);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Mulish', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Baloo 2', ui-rounded, 'Segoe UI', sans-serif; margin: 0; }
p { margin: 0; }
a { color: var(--coral-dark); text-decoration: none; }
a:hover { color: var(--coral); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
img, svg { max-width: 100%; }
::placeholder { color: oklch(60% 0.02 260); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 840px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 15px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 28px -10px oklch(68% 0.19 35 / 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -8px oklch(68% 0.19 35 / 0.55); color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-secondary:hover { border-color: var(--coral); color: var(--ink); }
.btn-sm { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
.btn-text-short { display: inline; }
.btn-text-full { display: none; }
.btn-block { display: block; width: 100%; }
.btn-white {
  display: inline-block;
  background: white;
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 17px;
  padding: 18px 34px;
  border-radius: 999px;
  box-shadow: 0 16px 30px -10px oklch(20% 0.03 260 / 0.35);
  transition: transform .15s ease;
}
.btn-white:hover { transform: translateY(-2px); color: var(--coral-dark); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: oklch(99% 0.004 80 / 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: 'Baloo 2'; font-weight: 700; font-size: 15px; }
.brand-sub { display: none; font-size: 12px; color: var(--ink-soft); font-weight: 600; }

/* ============ Sections ============ */
.section { padding: 52px 0; background: var(--white); }
.has-blobs { position: relative; overflow: hidden; }
.has-blobs > .container { position: relative; }
.section-blue { background: var(--bg-blue); }
.section-yellow { background: var(--bg-yellow); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.section-head h2 { font-size: 26px; font-weight: 800; }
.section-head p { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { background: var(--bg); border-radius: 20px; padding: 22px; }
.shadow-card { background: var(--white); box-shadow: 0 14px 30px -18px oklch(24% 0.03 260 / 0.3); }

.info-card, .testimonial-card, .shadow-card, .price-card, .result-row, .teacher-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.info-card:hover, .shadow-card:hover, .price-card:hover, .result-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -18px oklch(24% 0.03 260 / .32);
}
.icon-box { width: 48px; height: 48px; border-radius: 13px; background: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: transform .25s ease; }
.info-card:hover .icon-box { transform: scale(1.08) rotate(-4deg); }
.info-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.info-card p { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 36px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; position: relative; }
.hero h1 { font-size: 32px; line-height: 1.18; font-weight: 800; }
.accent { color: var(--green); font-style: italic; }

.btn-primary { position: relative; }
.btn-label { position: relative; z-index: 1; }
.btn-shine { overflow: hidden; }
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, transparent, oklch(100% 0 0 / .4), transparent);
  transform: skewX(-18deg);
}
.hero-sub { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

.price-pill {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 8px; width: fit-content; font-weight: 700; font-size: 13px;
}
.price-badge { background: var(--yellow); border-radius: 999px; padding: 5px 12px; font-weight: 800; white-space: nowrap; box-shadow: 0 0 0 4px oklch(85% 0.16 95 / .35), 0 0 18px oklch(80% 0.18 95 / .55); }
.price-divider { display: none; }

.trust-row { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--green); }
.trust-item svg { flex-shrink: 0; }

.hero-cta { margin-top: 28px; }
.hero-cta-note { margin-top: 12px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.hero-cta .btn { display: block; text-align: center; }

.hero-media { position: relative; margin-top: 8px; display: none; }
.hero-block-img { width: 100%; height: auto; display: block; }
.hero-block-img-mobile { width: 100%; height: auto; display: block; margin-top: 16px; }

.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob-yellow { top: -40px; right: -50px; width: 160px; height: 160px; background: var(--yellow); opacity: .5; }
.blob-blue { bottom: 0; left: -70px; width: 140px; height: 140px; background: var(--bg-blue); opacity: .8; }
.blob-white { background: oklch(99% 0.004 80 / 0.12); }
.blob-white-2 { background: oklch(99% 0.004 80 / 0.1); }

.bg-gift {
  position: absolute;
  height: auto;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 6px 10px oklch(24% 0.03 260 / .12));
}
.bg-gift-1 { top: 8px; left: 6%; width: 34px; transform: rotate(-8deg); }
.bg-gift-2 { top: 20px; right: 8%; width: 28px; transform: rotate(10deg); }
.bg-gift-3 { top: 2px; left: 46%; width: 24px; transform: rotate(4deg); }
.bg-gift-5 { display: none; }

@media (max-width: 959px) {
  #quiz .quiz-intro { padding-bottom: 26px; }
  #quiz { padding-bottom: 92px; }
  .bg-gift-4 { top: 272px; left: 10%; width: 34px; transform: rotate(-6deg); }
  .bg-gift-6 { bottom: 16px; right: 10%; width: 30px; transform: rotate(8deg); }
}

/* ============ Testimonials ============ */
.testimonial-card {
  background: var(--bg); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px;
  flex: 0 0 auto; width: clamp(260px, 78vw, 340px); scroll-snap-align: start;
}
.stars { color: var(--yellow-dark); font-size: 15px; letter-spacing: 2px; }
.testimonial-quote { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); flex-grow: 1; }
.testimonial-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.testimonial-who { display: flex; align-items: center; gap: 8px; }
.testimonial-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-avatar-initial {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 13px;
}
.avatar-purple { background: #7c5cbc; }
.avatar-green { background: var(--green); }
.testimonial-name { font-weight: 800; font-size: 13px; }
.pill-outline { font-size: 11px; font-weight: 700; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }

.video-testimonials { margin-top: 40px; }
.video-testimonials-title { font-size: 17px; font-weight: 700; text-align: center; margin-bottom: 18px; }

.carousel { display: flex; align-items: center; gap: 10px; }
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 auto;
}
.carousel-track::-webkit-scrollbar { display: none; }

.video-review-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(190px, 60vw, 230px);
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 14px 30px -16px oklch(24% 0.03 260 / .35);
}
.video-review { width: 100%; aspect-ratio: 9/16; display: block; object-fit: cover; }
.video-review-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  background: oklch(20% 0.02 260 / .72);
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 8px 18px -10px oklch(24% 0.03 260 / .3);
  transition: transform .15s ease, border-color .15s ease;
}
.carousel-arrow:hover { transform: translateY(-2px); border-color: var(--coral); }
.carousel-arrow[hidden] { display: none; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel-dots[hidden] { display: none; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  padding: 0;
  transition: background-color .2s ease, transform .2s ease;
}
.carousel-dot.is-active { background: var(--coral); transform: scale(1.3); }

@media (max-width: 640px) {
  .carousel-arrow { display: none; }
}

/* ============ Quiz ============ */
.quiz-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.quiz-intro h2 { font-size: 26px; font-weight: 800; }
.quiz-intro p { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }
.quiz-card { position: relative; background: var(--white); border-radius: 24px; padding: 26px; min-height: 320px; box-shadow: 0 16px 40px -20px oklch(24% 0.03 260 / 0.28); }
.quiz-card-badge {
  position: absolute;
  top: -28px;
  right: -18px;
  width: 84px;
  height: 84px;
  transform: rotate(12deg);
  filter: drop-shadow(0 8px 14px oklch(24% 0.03 260 / .2));
  pointer-events: none;
}

.progress-dots { display: flex; gap: 6px; margin-bottom: 24px; }
.dot { height: 5px; border-radius: 999px; flex-grow: 1; background: var(--line); transition: background-color .3s ease; }
.dot.is-active, .dot.is-done { background: var(--coral); box-shadow: 0 0 10px oklch(68% 0.19 35 / .7); }

.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fadeUp .4s ease-out both; }

.step-label { font-weight: 800; color: var(--coral-dark); font-size: 13px; margin-bottom: 6px; }
.quiz-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 18px; }

.back-btn {
  color: var(--ink-soft); font-weight: 700; font-size: 13px; padding: 0 0 14px;
  display: flex; align-items: center; gap: 6px;
}
.back-btn:hover { color: var(--coral-dark); }

.option-list { display: flex; flex-direction: column; gap: 10px; }
.option-grid-2, .option-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.option-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }

.option-card {
  border: 2px solid var(--line); border-radius: 14px; padding: 15px 18px;
  font-weight: 700; font-size: 14.5px; text-align: left; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
  color: var(--ink); background: var(--white);
}
.option-card:hover { transform: translateY(-2px); border-color: var(--coral); box-shadow: 0 10px 20px -12px oklch(24% 0.03 260 / 0.25), 0 0 14px oklch(68% 0.19 35 / .3); }
.option-card.is-selected { box-shadow: 0 0 16px oklch(68% 0.19 35 / .45); }
.option-card.is-selected { border-color: var(--coral); background: var(--coral); color: white; }
.option-center { justify-content: center; text-align: center; }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-hint { font-size: 13px; color: var(--ink-soft); margin: -4px 0 -2px; }
.text-input { border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 15px; width: 100%; }
.text-input:focus { outline: none; border-color: var(--coral); }

.thanks-block { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 0; animation: popIn .45s cubic-bezier(.34,1.56,.64,1) both; }
.thanks-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--bg-green); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.thanks-block h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.thanks-block p { font-size: 14.5px; color: var(--ink-soft); max-width: 340px; }

/* ============ Age / pills ============ */
.pill-yellow { display: inline-block; background: var(--bg-yellow); border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: 12.5px; margin-bottom: 12px; }
.shadow-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.shadow-card p { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }

/* ============ Teachers ============ */
.teachers-grid { gap: 20px; }
.teacher-card { text-align: left; display: flex; gap: 16px; align-items: center; }
.teacher-info { min-width: 0; flex: 1; }
.teacher-avatar { position: relative; width: 84px; height: 84px; border-radius: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avatar-coral { background: var(--coral); }
.avatar-blue { background: var(--blue); }
.avatar-yellow { background: var(--yellow-dark); }
.avatar-play {
  position: absolute; bottom: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
  background: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px -2px oklch(20% 0.03 260 / 0.35);
}
.teacher-card h3 { font-size: 16.5px; font-weight: 700; }
.teacher-years { font-size: 12.5px; font-weight: 700; color: var(--coral-dark); margin-top: 2px; }
.count-up { font-variant-numeric: tabular-nums; }
.teacher-card p { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.pill-soft { margin-top: 6px; display: inline-block; background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 11px; font-weight: 700; }

/* ============ Results ============ */
.result-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.result-tab {
  flex: 1;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 10px 8px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.result-tab.is-active { background: var(--coral); border-color: var(--coral); color: white; }
.result-row-hidden { display: none; }

.results-list { display: flex; flex-direction: column; gap: 14px; }
.result-row { background: var(--white); border-radius: 20px; padding: 22px; box-shadow: 0 14px 30px -18px oklch(24% 0.03 260 / 0.3); }
.result-range { font-family: 'Baloo 2'; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.result-col { margin-bottom: 10px; }
.result-col:last-child { margin-bottom: 0; }
.result-label { display: block; font-size: 11px; font-weight: 800; color: var(--coral-dark); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.result-col p { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.dashed-note { margin-top: 16px; border: 2px dashed var(--line); border-radius: 16px; padding: 16px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* ============ Trial steps ============ */
.trial-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.trial-number {
  width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: white;
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.trial-time { font-weight: 800; font-size: 13px; color: var(--coral-dark); }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border-radius: 16px; overflow: hidden; }
.faq-question {
  width: 100%; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; text-align: left; font-weight: 700; font-size: 14.5px; color: var(--ink);
}
.faq-chevron { flex-shrink: 0; transition: transform .25s ease; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }

/* ============ Pricing ============ */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 480px; margin: 0 auto; }
.price-card { border-radius: 22px; padding: 28px; box-shadow: 0 14px 30px -18px oklch(24% 0.03 260 / 0.3); }
.price-card-blue { background: var(--bg-blue); }
.price-card-yellow { background: var(--bg-yellow); }
.price-label { font-weight: 700; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 8px; }
.price-value { font-family: 'Baloo 2'; font-size: 30px; font-weight: 800; }
.price-unit { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ============ Final CTA ============ */
.final-cta { position: relative; overflow: hidden; background: var(--coral); padding: 52px 0; }
.final-cta-inner { position: relative; text-align: center; }
.final-cta h2 { font-size: 26px; font-weight: 800; color: white; max-width: 500px; margin: 0 auto; }
.final-trust { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.final-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: oklch(99% 0.004 80 / .16);
  border: 1px solid oklch(99% 0.004 80 / .35);
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
}
.final-cta .btn-white { display: block; margin-top: 24px; }
.final-note { margin-top: 14px; font-weight: 700; font-size: 13px; color: white; }

/* ============ Footer ============ */
.site-footer { background: var(--ink); padding: 28px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 6px; color: oklch(85% 0.01 260); font-size: 13px; }
.footer-meta { color: oklch(70% 0.01 260); font-size: 12px; }

/* ============ Animations ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes popIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 14px 28px -10px oklch(68% 0.19 35 / .45); }
  50% { box-shadow: 0 18px 36px -6px oklch(68% 0.19 35 / .68); }
}
@keyframes shineSweep {
  0% { left: -60%; }
  35% { left: 130%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-d1 { animation: fadeUp .6s ease-out both; }
  .reveal-d2 { animation: fadeUp .6s .1s ease-out both; }
  .reveal-d3 { animation: fadeUp .6s .18s ease-out both; }
  .reveal-d4 { animation: fadeUp .6s .26s ease-out both; }
  .reveal-d5 { animation: fadeUp .6s .34s ease-out both; }
  .reveal-media { animation: fadeUp .7s .3s ease-out both; }
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .float-blob { animation: floatY 7s ease-in-out infinite; }
  .pulse-cta { animation: pulseGlow 2.6s ease-in-out infinite; }
  .btn-shine::after { animation: shineSweep 3.4s ease-in-out infinite; }
}

/* ============ Desktop ============ */
@media (min-width: 960px) {
  .container { padding: 0 40px; }
  .header-inner { height: 84px; }
  .brand-icon { width: 44px; height: 44px; }
  .brand-name { font-size: 18px; }
  .hero-media { display: block; }
  .hero-block-img-mobile { display: none; }

  .bg-gift-1 { top: 35px; left: 15px; right: auto; width: 72px; transform: rotate(-8deg); }
  .bg-gift-2 { top: 190px; right: 12px; width: 66px; transform: rotate(10deg); }
  .bg-gift-3 { top: 475px; left: 180px; width: 76px; transform: rotate(6deg); }
  .bg-gift-4 { display: block; top: 420px; left: 14px; width: 54px; transform: rotate(-5deg); }
  .bg-gift-5 { display: block; top: 380px; right: 16px; width: 52px; transform: rotate(8deg); }
  .bg-gift-6 { display: block; top: 555px; left: 720px; width: 58px; transform: rotate(-6deg); }
  .brand-sub { display: block; }

  .btn-sm { padding: 10px 18px; font-size: 14px; }
  .btn-text-short { display: none; }
  .btn-text-full { display: inline; }

  .section { padding: 96px 0; }
  .section-head { margin-bottom: 52px; }
  .section-head h2 { font-size: 36px; }
  .section-head p { font-size: 17px; }

  .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }

  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,0.85fr); gap: 56px; align-items: center; }
  .hero h1 { font-size: 52px; line-height: 1.12; letter-spacing: -0.5px; }
  .hero-sub { font-size: 19px; margin-top: 24px; max-width: 520px; }
  .price-pill { margin-top: 28px; padding: 10px 22px 10px 10px; font-size: 15px; }
  .price-divider { display: block; width: 1px; height: 20px; background: var(--line); }
  .trust-row { flex-direction: row; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 14.5px; }
  .hero-cta { margin-top: 34px; }
  .hero-cta .btn { display: inline-block; }
  .hero-cta-note { text-align: left; max-width: 420px; }
  .blob-yellow { top: -60px; right: -60px; width: 280px; height: 280px; filter: blur(2px); }
  .blob-blue { bottom: 20px; left: -90px; width: 220px; height: 220px; }

  .quiz-grid { grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 56px; align-items: flex-start; }
  .quiz-intro { position: sticky; top: 110px; }
  .quiz-intro h2 { font-size: 36px; }
  .quiz-intro p { font-size: 17px; max-width: 420px; }
  .quiz-card { padding: 40px; min-height: 420px; }
  .quiz-card-badge { top: -38px; right: -28px; width: 110px; height: 110px; }
  .quiz-step h3 { font-size: 24px; }
  .option-card { padding: 18px 22px; font-size: 16px; }

  .teacher-card { flex-direction: column; text-align: center; }
  .teacher-avatar { width: 100%; aspect-ratio: 1; }

  .result-tabs { display: none; }
  .result-row { display: grid; grid-template-columns: 0.6fr 1fr 1fr 1fr; gap: 20px; align-items: center; }
  .result-row-hidden { display: grid; }
  .result-range { margin-bottom: 0; }
  .result-col { margin-bottom: 0; }

  .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 760px; }

  .final-cta { padding: 96px 0; }
  .final-cta h2 { font-size: 38px; max-width: 600px; }
  .final-trust { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .final-cta .btn-white { display: inline-block; }

  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ============ Gift FAB + modal ============ */
.gift-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -8px oklch(68% 0.19 35 / .5);
  z-index: 60;
  transition: transform .15s ease, box-shadow .15s ease;
}
.gift-fab:hover { transform: scale(1.08); box-shadow: 0 18px 32px -6px oklch(68% 0.19 35 / .6); }
.gift-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 oklch(68% 0.19 35 / .55);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: oklch(20% 0.02 260 / .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  background: var(--white);
  border-radius: 26px;
  padding: 34px 28px 28px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 30px 60px -20px oklch(20% 0.03 260 / .45);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  color: var(--ink-soft);
  transition: background-color .15s ease, color .15s ease;
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-icon {
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  margin: -12px auto 4px;
}
.modal-icon img { width: 100%; height: 100%; object-fit: contain; }
#giftModalBody h3, #giftModalThanks h3 { font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 8px; }
#giftModalBody p, #giftModalThanks p { font-size: 14px; color: var(--ink-soft); text-align: center; margin-bottom: 22px; }

@media (prefers-reduced-motion: no-preference) {
  .gift-fab { animation: giftBounce 2.6s ease-in-out infinite; }
  .gift-fab::before { animation: glowPing 2.6s ease-out infinite; }
  .modal { animation: popIn .3s ease-out both; }
}
@keyframes giftBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes glowPing {
  0% { box-shadow: 0 0 0 0 oklch(68% 0.19 35 / .55); }
  70% { box-shadow: 0 0 0 16px oklch(68% 0.19 35 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(68% 0.19 35 / 0); }
}

/* Respect motion preference: keep everything visible without relying on JS toggling */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
