/* ==========================================================================
   Dream Asia Easy Maths Academy — styles
   Pastel VIBGYOR design system
   ========================================================================== */

:root {
  /* VIBGYOR pastels */
  --violet: #8b7cf6;
  --violet-deep: #6f5cf1;
  --violet-soft: #efeaff;
  --indigo: #6d7ef0;
  --indigo-deep: #4d5bd6;
  --indigo-soft: #e8ebff;
  --blue: #54a9e9;
  --blue-deep: #2f7fc2;
  --blue-soft: #e2f2fd;
  --green: #52c693;
  --green-deep: #2f9b6b;
  --green-soft: #e1f7ec;
  --yellow: #f0bd4a;
  --yellow-deep: #c98f1b;
  --yellow-soft: #fdf3d9;
  --orange: #f2924c;
  --orange-deep: #c9681e;
  --orange-soft: #feeeda;
  --red: #ec8383;
  --red-deep: #c95252;
  --red-soft: #fde8e8;

  /* neutrals */
  --ink: #322b4d;
  --ink-2: #5c5578;
  --ink-3: #8a84a3;
  --line: #e9e6f6;
  --bg: #ffffff;
  --bg-soft: #faf9ff;
  --bg-tint: #f5f3ff;

  --radius: 22px;
  --shadow-soft: 0 10px 30px -18px rgba(50, 43, 77, 0.18);
  --shadow-lift: 0 18px 40px -18px rgba(50, 43, 77, 0.28);
  --font-head: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --header-h: 74px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.22;
  margin: 0 0 0.6em;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--violet-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid #b9aefc;
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }

.section-tint {
  background: linear-gradient(180deg, var(--bg-soft), #f6f4ff);
  border-block: 1px solid #f0edfb;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.section-head .lede { color: var(--ink-2); font-size: 1.06rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-deep);
  background: var(--violet-soft);
  padding: 7px 16px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
}

.grad-text {
  background: linear-gradient(92deg, var(--violet-deep) 10%, var(--indigo) 45%, var(--blue) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--indigo) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(111, 92, 241, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(111, 92, 241, 0.6); }

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #ddd5fb;
}
.btn-outline:hover { border-color: var(--violet); color: var(--violet-deep); transform: translateY(-2px); }

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

.btn-light {
  background: #fff;
  color: var(--violet-deep);
  box-shadow: 0 10px 24px -12px rgba(20, 12, 60, 0.5);
}
.btn-light:hover { transform: translateY(-2px); }

.btn-wa {
  background: #22b85c;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(34, 184, 92, 0.55);
}
.btn-wa:hover { background: #1da652; transform: translateY(-2px); }

.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

.wa-icon { flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(50, 43, 77, 0.35);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark { flex-shrink: 0; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}
.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-deep);
}

.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-list a:hover { color: var(--violet-deep); background: var(--violet-soft); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.link-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-deep);
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--green-soft);
  transition: background 0.2s ease, transform 0.2s ease;
}
.link-wa:hover { background: #d3f2e2; text-decoration: none; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--violet-soft);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.4px;
  width: 100%;
  border-radius: 2px;
  background: var(--violet-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0 clamp(56px, 7vw, 92px);
  background:
    radial-gradient(42% 55% at 12% 18%, rgba(239, 234, 255, 0.9) 0%, rgba(239, 234, 255, 0) 100%),
    radial-gradient(40% 55% at 88% 25%, rgba(226, 242, 253, 0.9) 0%, rgba(226, 242, 253, 0) 100%),
    radial-gradient(45% 60% at 78% 88%, rgba(253, 243, 217, 0.75) 0%, rgba(253, 243, 217, 0) 100%),
    linear-gradient(180deg, #fdfcff 0%, #f8f6ff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.hero-copy h1 { margin-bottom: 0.55em; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 1.7em;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}
.trust-strip li {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -8px rgba(50, 43, 77, 0.25);
}

.hero-trainer { font-size: 0.9rem; color: var(--ink-3); margin: 0; }
.hero-trainer strong { color: var(--ink-2); }

.hero-art { position: relative; }
.hero-svg { width: 100%; height: auto; }

.float-1, .float-2, .float-3 {
  animation: bob 6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.float-2 { animation-delay: -2s; animation-duration: 7s; }
.float-3 { animation-delay: -4s; animation-duration: 8s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 22px;
}
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: #ddd5fb; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 0.45em; }
.feature-card p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

.icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.ic-violet { background: var(--violet-soft); color: var(--violet-deep); }
.ic-indigo { background: var(--indigo-soft); color: var(--indigo-deep); }
.ic-blue { background: var(--blue-soft); color: var(--blue-deep); }
.ic-green { background: var(--green-soft); color: var(--green-deep); }
.ic-yellow { background: var(--yellow-soft); color: var(--yellow-deep); }
.ic-orange { background: var(--orange-soft); color: var(--orange-deep); }
.ic-red { background: var(--red-soft); color: var(--red-deep); }

/* skill cards (numbered) */
.skill-card .num-chip {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.86rem;
  margin-bottom: 16px;
}
.nc-violet { background: var(--violet-soft); color: var(--violet-deep); }
.nc-indigo { background: var(--indigo-soft); color: var(--indigo-deep); }
.nc-blue { background: var(--blue-soft); color: var(--blue-deep); }
.nc-green { background: var(--green-soft); color: var(--green-deep); }
.nc-yellow { background: var(--yellow-soft); color: var(--yellow-deep); }
.nc-orange { background: var(--orange-soft); color: var(--orange-deep); }

.disclaimer {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.86rem;
  margin: 30px auto 0;
  max-width: 560px;
}

/* ---------- Check list ---------- */
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 22px;
  margin: 22px 0 26px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-2);
  font-weight: 600;
}
.check-dot {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: inline-grid;
  place-items: center;
  margin-top: 2px;
}

/* ---------- Program sections ---------- */
.program-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.program-grid-reverse .program-copy { order: 2; }
.program-grid-reverse .program-art { order: 1; }

.program-lede { color: var(--ink-2); font-size: 1.03rem; }

.program-art svg { width: 100%; height: auto; }

.age-callout {
  display: flex;
  align-items: center;
  gap: 17px;
  background: linear-gradient(92deg, var(--violet-soft), var(--blue-soft));
  border-radius: 18px;
  padding: 16px 20px;
}
.age-callout p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
.age-callout strong { color: var(--ink); }
.age-badge {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--violet);
  color: var(--violet-deep);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
}
.badge-vedic { border-color: var(--orange); color: var(--orange-deep); background: #fff; }
.callout-complement { background: linear-gradient(92deg, var(--orange-soft), var(--yellow-soft)); }

.progression {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px clamp(20px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.progression-title {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 20px;
}
.progression-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 10px;
}
.progression-flow li {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1.8px solid currentColor;
  display: inline-flex;
  align-items: center;
}
.fc-violet { color: var(--violet-deep); }
.fc-indigo { color: var(--indigo-deep); }
.fc-blue { color: var(--blue-deep); }
.fc-green { color: var(--green-deep); }
.fc-orange { color: var(--orange-deep); }
.progression-flow li:not(:last-child)::after {
  content: "→";
  margin-left: 20px;
  color: var(--ink-3);
  font-weight: 400;
}

/* ---------- Compare ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 34px;
}
.compare-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 30px 30px 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.compare-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.compare-abacus { background: linear-gradient(180deg, #ecf6ff 0%, #ffffff 45%); }
.compare-vedic { background: linear-gradient(180deg, #fff2e2 0%, #ffffff 45%); }
.compare-card header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}
.compare-card header h3 { margin: 0; font-size: 1.3rem; }
.compare-card .icon-chip { margin-bottom: 0; }
.compare-card ul { display: grid; gap: 12px; }
.compare-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-2);
  font-weight: 600;
}
.compare-cta {
  background: #fff;
  border: 1.5px dashed #ddd5fb;
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.compare-cta p { font-size: 1.06rem; margin-bottom: 18px; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: stage;
  margin-bottom: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 7%;
  right: 7%;
  border-top: 3px dashed #ddd5fb;
}
.stage {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 60px 22px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stage:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.stage-age {
  position: absolute;
  top: 4px;
  left: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sc, var(--violet));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.98rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px -8px rgba(50, 43, 77, 0.5);
}
.stage h3 { font-size: 1.04rem; margin-bottom: 0.6em; }
.stage ul { display: grid; gap: 8px; }
.stage li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.stage li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sc, var(--violet));
  opacity: 0.65;
}

.illustrative-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--ink-3);
  font-size: 0.88rem;
  max-width: 640px;
  margin: 0 auto;
}
.illustrative-note svg { flex-shrink: 0; }

/* ---------- Online steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.02rem; }
.step-card p { color: var(--ink-2); font-size: 0.92rem; margin: 0; }

.online-highlights {
  background: var(--bg-tint);
  border: 1px solid #eae5fc;
  border-radius: var(--radius);
  padding: 30px clamp(22px, 4vw, 40px);
}
.online-highlights h3 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
  text-align: center;
}
.online-highlights .check-list { margin: 0; }
.online-highlights .check-list li { justify-content: flex-start; }

/* ---------- How flow ---------- */
.how-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 8px;
  margin-bottom: 22px;
}
.how-flow li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
  background: #fff;
  border: 1.6px solid #ddd5fb;
  border-radius: 999px;
  padding: 10px 20px 10px 10px;
  box-shadow: 0 6px 16px -12px rgba(50, 43, 77, 0.4);
}
.how-flow li:not(:last-child)::after {
  content: "→";
  margin-left: 16px;
  color: var(--ink-3);
  font-weight: 400;
}
.how-n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: inline-grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
}
.how-note {
  text-align: center;
  color: var(--ink-2);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto 26px;
}
.how-cta { text-align: center; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.t-stars { display: inline-flex; gap: 3px; color: var(--yellow); margin-bottom: 14px; }
.t-stars svg { width: 17px; height: 17px; }
.t-quote {
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0 0 18px;
  flex-grow: 1;
}
.t-foot { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  overflow: hidden;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name { font-family: var(--font-head); font-weight: 700; font-size: 0.94rem; margin: 0; }
.t-meta { font-size: 0.8rem; color: var(--ink-3); margin: 2px 0 0; }

.testimonial-card.is-placeholder {
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border: 1.8px dashed #ddd5fb;
  box-shadow: none;
}
.testimonial-card.is-placeholder .t-quote { color: var(--ink-3); font-style: italic; }
.t-invite {
  background: linear-gradient(135deg, var(--violet-soft), var(--blue-soft));
  border: 0;
  align-items: flex-start;
  justify-content: center;
}
.t-invite h3 { margin-bottom: 8px; }
.t-invite p { color: var(--ink-2); font-size: 0.93rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] { border-color: #ddd5fb; box-shadow: var(--shadow-soft); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 17px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet-deep); }
.faq-chevron { flex-shrink: 0; color: var(--ink-3); transition: transform 0.25s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--violet-deep); }
.faq-a { padding: 0 22px 18px; }
.faq-a p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Final CTA ---------- */
.final-cta-section { padding: clamp(56px, 8vw, 96px) 0; }
.final-inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, #7c6ff0 0%, #6d7ef0 45%, #54a9e9 100%);
  border-radius: 34px;
  padding: clamp(44px, 7vw, 76px) clamp(24px, 6vw, 72px);
  text-align: center;
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(84, 90, 233, 0.65);
}
.final-inner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.final-inner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.06rem;
  max-width: 620px;
  margin: 0 auto 30px;
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.final-note { font-size: 0.88rem !important; color: rgba(255, 255, 255, 0.85) !important; margin: 0 !important; }
.final-note a { color: #fff; font-weight: 700; text-decoration: underline; }

.final-bead {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  animation: bob 8s ease-in-out infinite;
}
.final-bead.b1 { width: 70px; height: 70px; background: #fff; top: -22px; left: 6%; }
.final-bead.b2 { width: 44px; height: 44px; background: #fdf3d9; bottom: 24px; left: 12%; animation-delay: -3s; }
.final-bead.b3 { width: 88px; height: 88px; background: #e2f2fd; bottom: -34px; right: 8%; animation-delay: -5s; }
.final-num {
  position: absolute;
  font-family: var(--font-head);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.28);
  animation: bob 9s ease-in-out infinite;
}
.final-num.n1 { font-size: 2.6rem; top: 18px; right: 18%; animation-delay: -2s; }
.final-num.n2 { font-size: 2rem; bottom: 30px; right: 24%; animation-delay: -6s; }
.final-num.n3 { font-size: 2.2rem; top: 34px; left: 20%; animation-delay: -4s; }

/* ---------- Footer ---------- */
.site-footer {
  background: #f6f4ff;
  border-top: 1px solid #ece8fb;
  padding-top: clamp(44px, 6vw, 64px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-desc { color: var(--ink-2); font-size: 0.93rem; max-width: 34em; }
.footer-contact { font-size: 0.93rem; color: var(--ink-2); line-height: 2; margin: 0; }
.footer-contact a { font-weight: 700; }

.footer-links h3,
.footer-social h3 {
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer-links ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}
.footer-links a,
.footer-enquiry {
  color: var(--ink-2);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 4px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
}
.footer-links a:hover,
.footer-enquiry:hover { color: var(--violet-deep); text-decoration: underline; }

.social-list { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 12px; }
.social-placeholder {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-3);
  border: 1.6px dashed #d8d2f0;
  padding: 7px 15px;
  border-radius: 999px;
  cursor: default;
}
.social-note { font-size: 0.82rem; color: var(--ink-3); margin: 0; }

.footer-bottom {
  border-top: 1px solid #ece8fb;
  padding: 18px 0 22px;
}
.footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(111, 92, 241, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(111, 92, 241, 0.75); }
body.modal-open .floating-cta { display: none; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(34, 28, 58, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }

.modal {
  background: #fff;
  border-radius: 24px;
  width: min(560px, 100%);
  max-height: min(92vh, 860px);
  overflow-y: auto;
  padding: 26px clamp(20px, 4vw, 32px) 28px;
  animation: pop 0.28s ease;
  box-shadow: 0 40px 80px -30px rgba(34, 28, 58, 0.5);
}
@keyframes pop {
  from { transform: translateY(14px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}
.modal-head h3 { margin: 0 0 2px; font-size: 1.25rem; }
.modal-step { margin: 0; font-size: 0.83rem; color: var(--ink-3); font-weight: 600; }
.modal-close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 0;
  background: var(--bg-tint);
  color: var(--ink-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover { background: var(--violet-soft); color: var(--violet-deep); }

.progress {
  height: 8px;
  background: var(--violet-soft);
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0 24px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.fstep { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.fstep.active { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.fstep-legend {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--ink);
  padding: 0;
  margin-bottom: 18px;
}

.field { margin-bottom: 15px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input {
  width: 100%;
  padding: 12px 15px;
  border: 1.6px solid #ddd5fb;
  border-radius: 13px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder { color: #b6b1cc; }
.field input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px var(--violet-soft);
}
.field.error input {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.field-error { color: var(--red-deep); font-size: 0.82rem; margin: 6px 0 0; font-weight: 600; }
.field-hint { font-size: 0.83rem; color: var(--ink-3); margin: 4px 0 0; }
.field-hint.center { text-align: center; }
.req { color: var(--red); }

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1.6px solid #e4e0f6;
  border-radius: 13px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
}
.check:hover { border-color: var(--violet); }
.check:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); color: var(--ink); }
.check input {
  width: 19px;
  height: 19px;
  accent-color: var(--violet-deep);
  flex-shrink: 0;
  cursor: pointer;
}
.goal-other-wrap { margin-top: 4px; }

.confirm-lede { color: var(--ink-2); font-size: 0.95rem; }
.summary {
  margin: 16px 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 10px 16px;
  border-bottom: 1px solid #f1eefb;
  font-size: 0.9rem;
}
.summary > div:last-child { border-bottom: 0; }
.summary dt { color: var(--ink-3); flex-shrink: 0; }
.summary dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.confirm-question {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 16px;
}
.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.confirm-actions .btn { width: 100%; }
.confirm-actions .btn-ghost { margin-bottom: 10px; }

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f1eefb;
}
.modal-actions #btn-next { margin-left: auto; min-width: 130px; }

.modal-success { text-align: center; padding: 18px 4px 6px; }
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 18px;
}
.modal-success h3 { font-size: 1.3rem; }
.modal-success p { color: var(--ink-2); max-width: 24em; margin-inline: auto; }
.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- Reveal animations (only when JS is available) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--rd, 0ms);
}
.js .reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .timeline::before { display: none; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(50, 43, 77, 0.35);
    padding: 16px 4vw 22px;
    display: none;
  }
  .site-header.menu-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 12px 14px; font-size: 1rem; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 10px;
  }
  .nav-actions .btn { width: 100%; }
  .link-wa { justify-content: center; padding: 12px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin: 0 auto; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .trust-strip { justify-content: center; }

  .program-grid { grid-template-columns: 1fr; }
  .program-grid-reverse .program-copy { order: 1; }
  .program-grid-reverse .program-art { order: 2; }
  .program-art { max-width: 460px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .stage { padding: 24px 20px 22px 66px; }
  .stage-age { top: 20px; left: 18px; width: 38px; height: 38px; font-size: 0.78rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; gap: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .progression-flow { flex-direction: column; }
  .progression-flow li:not(:last-child)::after { content: "↓"; margin: 6px 0 0; }
  .hero-ctas .btn { width: 100%; }
  .final-actions .btn { width: 100%; }
  .how-flow { flex-direction: column; align-items: stretch; }
  .how-flow li { justify-content: flex-start; }
  .how-flow li:not(:last-child)::after { content: "↓"; margin-left: 0; }
  .floating-cta { right: 14px; bottom: 14px; padding: 12px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal { max-height: 94vh; }
}

@media (min-width: 961px) {
  .nav-toggle { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
