:root {
  --blue-900: #0f2f53;
  --blue-700: #346ea8;
  --blue-500: #5f8fbe;
  --gold-500: #f2c857;
  --gold-300: #ffe5a0;
  --ink: #10243a;
  --muted: #4f6276;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #d6e0ea;
  --shadow-soft: 0 16px 42px rgba(15, 47, 83, 0.1);
  --shadow-hard: 0 18px 52px rgba(11, 29, 49, 0.2);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 12% 5%, rgba(95, 143, 190, 0.22), transparent 38%),
    radial-gradient(circle at 92% 8%, rgba(242, 200, 87, 0.18), transparent 34%),
    linear-gradient(180deg, #f9fbff, #f5f8fc);
  background-size: 115% 115%;
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.top-alert {
  background: linear-gradient(90deg, var(--blue-900), #17406a);
  color: #e7eff7;
  font-size: 0.92rem;
}

.alert-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.alert-ticker {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0.15rem 0;
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}

.alert-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  white-space: nowrap;
  animation: alertMarquee 18s linear infinite;
}

.alert-ticker-group {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding-right: 1.4rem;
}

.alert-ticker-group span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.01em;
  font-weight: 650;
}

.alert-ticker-group strong {
  color: #ffe6a6;
}

.alert-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 230, 166, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 230, 166, 0.08);
}

.alert-inner:hover .alert-ticker-track {
  animation-play-state: paused;
}

@keyframes alertMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 254, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(170, 190, 210, 0.45);
}

.nav-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  display: block;
  transition: transform 0.26s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(240px, 44vw);
  overflow: hidden;
}

.brand:hover img {
  transform: translateY(-1px) scale(1.01);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.desktop-nav a {
  font-family: "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
  color: #3b5978;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--blue-900);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: start;
  padding: 3.4rem 0 2.2rem;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.77rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--blue-700);
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  max-width: 15.5ch;
  line-height: 1.1;
}

.hero-title {
  margin-top: 0.1rem;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  line-height: 1.06;
  color: #23445f;
  letter-spacing: -0.03em;
  max-width: 10.8ch;
}

.hero-title-accent {
  color: var(--gold-500);
}

.hero-desc {
  margin: 0.85rem 0 0;
  color: #5c6f83;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  max-width: 34ch;
  line-height: 1.6;
}

.hero-cta-wrap {
  margin-top: 1.2rem;
}

.trust-line {
  margin: 0.75rem 0 0;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.94rem;
}

.school-slider-wrap {
  margin-top: 0.78rem;
}

.hero-schools-row {
  grid-column: 1 / -1;
  margin-top: -2.1rem;
  position: relative;
  z-index: 9;
}

.hero-schools-row .school-slider-label {
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
  text-align: left;
}

.school-slider-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6a7a8d;
  font-weight: 700;
}

.school-slider {
  border: 1px solid #d8e2ed;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  position: relative;
}

.school-slider::before,
.school-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  z-index: 2;
  pointer-events: none;
}

.school-slider::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), transparent);
}

.school-slider::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(255, 255, 255, 0.92), transparent);
}

.school-slider-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  padding: 0.55rem 0.9rem;
  animation: schoolMarquee 26s linear infinite;
}

.school-slider-track img {
  width: 116px;
  height: 62px;
  object-fit: contain;
  filter: saturate(0.88) contrast(1.03);
  mix-blend-mode: multiply;
  opacity: 0.86;
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.school-slider-track img:hover {
  opacity: 1;
  transform: translateY(-1px);
  filter: saturate(1) contrast(1.05);
}

.hero-stat-row {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.hero-stat-row article {
  background: #ffffff;
  border: 1px solid #d7e2ee;
  border-radius: 14px;
  padding: 0.72rem;
  text-align: left;
  box-shadow: 0 10px 22px rgba(18, 44, 70, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-stat-row article:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 44, 70, 0.16);
}

.hero-stat-row strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  line-height: 1.1;
  margin-top: 0.22rem;
}

.hero-stat-row span {
  display: block;
  color: #5a6e83;
  font-size: 0.92rem;
}

.stat-dot {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.7rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: #7a5a08;
  border: 1px solid #efdca5;
  background: #fff4d2;
}

.hero-panel {
  border-radius: 22px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  align-self: start;
  position: relative;
  width: 100%;
  min-height: 640px;
}

.hero-image-wrap {
  position: relative;
  border-radius: 22px;
  overflow: visible;
  min-height: 640px;
  border: 0;
  background: transparent;
  box-shadow: none;
  width: 100%;
  display: block;
}

.hero-student {
  width: min(100%, 650px);
  height: auto;
  max-height: 640px;
  object-fit: contain;
  object-position: right bottom;
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 1;
  visibility: visible;
  display: block;
  filter: saturate(1.04) contrast(1.02);
  z-index: 4;
}

.hero-image-wrap::after {
  display: none;
}

.hero-map-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 96%;
  height: 70%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.46;
  background: url("assets/world-map-dots-clean.png") center / contain no-repeat;
}

.hero-floating-stats {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: min(96%, 760px);
  z-index: 8;
  margin-top: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  z-index: 2;
}

.hero-glow-a {
  width: 180px;
  height: 180px;
  background: rgba(95, 143, 190, 0.3);
  top: -24px;
  right: -35px;
  animation: orbA 6s ease-in-out infinite;
}

.hero-glow-b {
  width: 165px;
  height: 165px;
  background: rgba(242, 200, 87, 0.3);
  left: -38px;
  bottom: -32px;
  animation: orbB 7s ease-in-out infinite;
}

.hero-float {
  position: absolute;
  z-index: 4;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(194, 214, 234, 0.55);
  backdrop-filter: blur(5px);
  padding: 0.48rem 0.58rem;
  max-width: 156px;
  animation: badgeFloat 4.5s ease-in-out infinite;
}

.hero-float p {
  margin: 0;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #546e86;
}

.hero-float strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: #1f4b75;
}

.badge-top {
  top: 14px;
  left: 14px;
}

.badge-bottom {
  right: 14px;
  bottom: 14px;
  animation-delay: 1s;
}

.hero-data-lines {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 72px;
  display: grid;
  gap: 8px;
}

.hero-data-lines span {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242, 200, 87, 0.25), rgba(242, 200, 87, 0.95));
  animation: lineSweep 2.7s ease-in-out infinite;
}

.hero-data-lines span:nth-child(2) {
  width: 84%;
  animation-delay: 0.35s;
}

.hero-data-lines span:nth-child(3) {
  width: 68%;
  animation-delay: 0.75s;
}

.hero-data-lines span:nth-child(4) {
  width: 52%;
  animation-delay: 1.1s;
}

.trust-strip {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.trust-strip p {
  margin: 0;
  color: #385676;
  font-weight: 600;
}

.trust-strip div {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.trust-strip span {
  border: 1px solid #d5e2ef;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: #f8fbff;
  color: #2a4d73;
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.trust-strip span:hover {
  transform: translateY(-2px);
  border-color: #afc8e1;
  background: #eef6ff;
}

.fomo-ribbon {
  margin-top: 3rem;
  border: 1px solid #d3dfeb;
  border-radius: 14px;
  background: linear-gradient(120deg, #0f2f53, #1f4e7d);
  color: #e7f0fa;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.75rem;
}

.ticker-track span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(209, 227, 245, 0.26);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  background: rgba(238, 246, 255, 0.08);
}

.section,
.quiz-section {
  padding: 4.35rem 0;
}

.quiz-layout {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 1.2rem;
  align-items: start;
}

.quiz-layout-single {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}

.quiz-page {
  padding-top: 2.4rem;
}

.quiz-head {
  max-width: var(--max);
}

.quiz-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.quiz-head p {
  font-size: 1.02rem;
  max-width: 74ch;
  margin-left: auto;
  margin-right: auto;
}

.quiz-layout-single .quiz-card {
  max-width: none;
  width: 100%;
  margin: 0 auto;
}

.quiz-intro-pane {
  background: linear-gradient(170deg, #ffffff, #f2f7fc);
  border: 1px solid #d8e2ec;
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.quiz-intro-pane h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  max-width: 18ch;
}

.quiz-intro-pane p {
  color: var(--muted);
  margin: 0.8rem 0 0;
  line-height: 1.65;
}

.quiz-intro-pane ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.quiz-intro-pane li {
  padding-left: 1.4rem;
  position: relative;
  color: #254665;
  font-weight: 700;
}

.quiz-intro-pane li::before {
  content: "";
  position: absolute;
  width: 0.57rem;
  height: 0.57rem;
  border-radius: 50%;
  background: var(--blue-700);
  left: 0;
  top: 0.41rem;
}

.quiz-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem;
  min-height: 520px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.quiz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(15, 47, 83, 0.14);
}

.quiz-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.quiz-progress {
  flex: 1;
  height: 11px;
  border-radius: 999px;
  background: #e4ecf4;
  overflow: hidden;
}

.quiz-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-700), var(--gold-500));
  transition: width 0.32s ease;
  position: relative;
}

.quiz-progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: progressSheen 2.4s linear infinite;
}

#quiz-progress-text {
  min-width: 76px;
  font-size: 0.82rem;
  margin: 0;
  text-align: right;
  color: #5f6f81;
}

.quiz-step {
  display: none;
  animation: slideFade 0.25s ease;
}

.quiz-step.active {
  display: block;
}

.quiz-step h3 {
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  margin-bottom: 0.9rem;
}

.quiz-intro {
  margin: -0.2rem 0 1rem;
  color: #536579;
  font-size: 0.98rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.option {
  min-height: 70px;
  border-radius: 14px;
  border: 1px solid #d4dfeb;
  background: #f9fcff;
  color: #1f3d5b;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.option:hover {
  transform: translateY(-1px);
  border-color: #9bbcdf;
}

.option.selected {
  border-color: #3f77ad;
  box-shadow: inset 0 0 0 1px rgba(63, 119, 173, 0.25);
  background: linear-gradient(160deg, #ecf5ff, #f8fcff);
}

.option.selected::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(63, 119, 173, 0.28);
  animation: pulseRing 0.35s ease-out;
}

.input-grid {
  display: grid;
  gap: 0.72rem;
  margin-bottom: 1rem;
}

label {
  display: grid;
  gap: 0.34rem;
  font-weight: 700;
  color: #2c4662;
}

input {
  min-height: 48px;
  padding: 0 0.85rem;
  border-radius: 10px;
  border: 1px solid #ced9e5;
  font-family: inherit;
  font-size: 0.98rem;
  color: #20374f;
}

select {
  min-height: 48px;
  padding: 0 2.2rem 0 0.85rem;
  border-radius: 10px;
  border: 1px solid #ced9e5;
  font-family: inherit;
  font-size: 0.98rem;
  color: #20374f;
  background: #ffffff;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #35597a 50%),
    linear-gradient(135deg, #35597a 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%, 100% 0;
  background-size: 6px 6px, 6px 6px, 2.5rem 3.2rem;
  background-repeat: no-repeat;
}

input:focus {
  outline: 2px solid #c9dcf0;
  border-color: #93b5d7;
}

select:focus {
  outline: 2px solid #c9dcf0;
  border-color: #93b5d7;
}

.quiz-nav {
  margin-top: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
}

.quiz-success {
  text-align: center;
  padding-top: 0.8rem;
}

.quiz-loading {
  padding: 1.2rem 0.25rem 0.6rem;
}

.loading-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.spinner {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 4px solid rgba(95, 143, 190, 0.22);
  border-top-color: rgba(242, 200, 87, 0.92);
  animation: spin 0.9s linear infinite;
  flex: none;
}

.loading-copy h3 {
  margin: 0;
  font-size: 1.18rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #153a5f;
}

.loading-copy p {
  margin: 0.35rem 0 0;
  color: #556a81;
  line-height: 1.65;
}

.loading-bars {
  margin-top: 1rem;
  height: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.55rem;
}

.loading-bars span {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(95, 143, 190, 0.2), rgba(242, 200, 87, 0.32), rgba(95, 143, 190, 0.2));
  background-size: 200% 100%;
  animation: sheen 1.2s ease-in-out infinite;
}

.loading-bars span:nth-child(2) {
  animation-delay: 0.12s;
}

.loading-bars span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sheen {
  0% {
    background-position: 0% 0;
    opacity: 0.7;
  }
  50% {
    background-position: 100% 0;
    opacity: 1;
  }
  100% {
    background-position: 0% 0;
    opacity: 0.7;
  }
}

.quiz-success p {
  max-width: 48ch;
  margin: 0.75rem auto 1.1rem;
  color: var(--muted);
}

#reserve-slot-btn {
  min-width: 230px;
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 760px;
}

.section-head.center,
.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  font-size: clamp(1.63rem, 2.8vw, 2.45rem);
  line-height: 1.13;
}

.section-head p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.compare-showcase {
  padding-top: 1.2rem;
}

.compare-headline {
  margin-bottom: 1.35rem;
}

.compare-headline h2 {
  font-size: clamp(1.9rem, 3vw, 2.95rem);
}

.comparison-card {
  border-radius: 18px;
  border: 1px solid #d8e2ec;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 36, 58, 0.12);
  overflow: hidden;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 0.8rem;
  text-align: center;
}

.comparison-table th {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.th-feature {
  background: #e4ba43;
  color: #173b60;
}

.th-oniinone {
  background: #f2c857;
  color: #173b60;
}

.th-traditional {
  background: #425867;
}

.th-online {
  background: #022b3f;
}

.comparison-table tbody tr:nth-child(odd) {
  background: #f7f8fb;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f1e8c9;
}

.comparison-table td {
  border-top: 1px solid #e1e7ef;
  font-size: 0.94rem;
}

.comparison-table td:first-child {
  font-weight: 700;
  color: #223e59;
}

.mark {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
}

.mark.yes {
  color: #43b963;
}

.mark.no {
  color: #e35953;
}

.section-alt {
  border-top: 1px solid #d7e3ef;
  border-bottom: 1px solid #d7e3ef;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.teachers {
  padding-top: 3.2rem;
}

.teacher-sub {
  margin: 0.6rem 0 0;
  font-weight: 900;
  color: #1f4b75;
}

.teacher-sub::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold-500);
  margin-right: 10px;
  transform: translateY(-1px);
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.teacher-card {
  border: 1px solid #d6e1ec;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.92));
  box-shadow: 0 14px 30px rgba(16, 43, 69, 0.08);
  padding: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.teacher-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 18% 8%, rgba(242, 200, 87, 0.22), transparent 42%),
    radial-gradient(circle at 92% 20%, rgba(95, 143, 190, 0.18), transparent 44%);
  opacity: 0.9;
  pointer-events: none;
}

.teacher-card > * {
  position: relative;
  z-index: 1;
}

.teacher-media {
  padding: 0.9rem;
  background: linear-gradient(165deg, rgba(246, 251, 255, 0.9), rgba(255, 255, 255, 0.75));
  border-bottom: 1px solid rgba(209, 227, 245, 0.85);
}

.teacher-cover {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(209, 227, 245, 0.85);
  filter: saturate(1.05) contrast(1.02);
}

.teacher-body {
  padding: 1rem 1.05rem 1.1rem;
  display: grid;
  gap: 0.72rem;
}

.teacher-card:hover {
  transform: translateY(-4px);
  border-color: #b8d1e8;
  box-shadow: 0 18px 44px rgba(16, 43, 69, 0.12);
}

.teacher-meta h3 {
  font-size: 1.12rem;
  line-height: 1.15;
}

.teacher-meta p {
  margin: 0.28rem 0 0;
  color: #587087;
  font-weight: 700;
  font-size: 0.92rem;
}

.teacher-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(209, 227, 245, 0.9);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.26rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #254665;
}

.teacher-copy {
  margin: 0;
  color: #4f657b;
  line-height: 1.68;
}

.feature-card {
  border: 1px solid #d6e1ec;
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #b6cee3;
  box-shadow: 0 14px 28px rgba(17, 51, 82, 0.1);
}

.feature-card h3 {
  font-size: 1.04rem;
}

.feature-card p {
  margin: 0.58rem 0 0;
  color: #51657c;
  line-height: 1.62;
}

.scrolly-section {
  position: relative;
  height: 500vh;
  margin-bottom: 4rem;
}

.scrolly-sticky-wrapper {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.scrolly-container {
  width: 100%;
}

.scrolly-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
  margin-top: 2rem;
}

.scrolly-visuals {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 60vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 47, 83, 0.1);
  border: 1px solid rgba(214, 224, 234, 0.8);
  background: #f7f9fc;
}

.scrolly-image-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scale(1.05);
}

.scrolly-image-wrap.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scrolly-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scrolly-cards {
  position: relative;
  height: 100%;
  perspective: 1000px;
}

.scrolly-card {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.6s ease;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(214, 224, 234, 0.8);
  box-shadow: 0 16px 40px rgba(16, 43, 69, 0.06);
}

.scrolly-card.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.scrolly-card.is-past {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-150%) scale(0.95);
}

.scrolly-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2.05rem, 3.2vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-500);
  margin-bottom: 0.55rem;
}

.scrolly-card h3 {
  font-size: clamp(1.45rem, 2.35vw, 2.05rem);
  color: #153a5f;
  margin: 0 0 0.8rem 0;
  line-height: 1.16;
}

.scrolly-card p {
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  color: #4e647b;
  line-height: 1.7;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
}

.step {
  background: #fff;
  border: 1px solid #d6e2ee;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(19, 49, 79, 0.1);
}

.step span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(160deg, #ffe4a0, #f2c857);
  color: #163a61;
  font-weight: 800;
}

.step h3 {
  margin-top: 0.68rem;
  font-size: 1.01rem;
}

.step p {
  margin: 0.55rem 0 0;
  color: #50657c;
}

.cta-block {
  margin-top: 1.2rem;
}

.cta-cluster {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.testimonial {
  border: 1px solid #d5e1ec;
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(21, 47, 72, 0.1);
}

.testimonial p {
  margin: 0;
  color: #2b455e;
  line-height: 1.68;
}

.testimonial h4 {
  margin-top: 0.74rem;
  font-size: 0.93rem;
  color: #395979;
}

.testimonial span {
  color: #6b7f93;
  font-size: 0.84rem;
}

.result-strip {
  margin-top: 0.88rem;
  border: 1px solid #d4e0ec;
  border-radius: 14px;
  background: linear-gradient(165deg, #f6fbff, #ffffff);
  padding: 0.95rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.result-strip strong {
  display: block;
  font-size: 1.24rem;
}

.result-strip span {
  font-size: 0.88rem;
  color: #53687f;
}

.proof-wall strong {
  color: #0f2f53;
}

.video-proof {
  margin-top: 1.2rem;
  border: 1px solid rgba(209, 227, 245, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 30px rgba(15, 47, 83, 0.08);
  padding: 1.15rem;
}

.video-proof-head h3 {
  font-size: 1.25rem;
}

.video-proof-head p {
  margin: 0.5rem 0 0;
  color: #546982;
  max-width: 68ch;
}

.video-slider {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
}

.video-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.3rem 0.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.video-rail::-webkit-scrollbar {
  display: none;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(209, 227, 245, 0.9);
  background: rgba(255, 255, 255, 0.85);
  color: #163a61;
  font-size: 1.6rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  display: grid;
  place-items: center;
}

.slider-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 47, 83, 0.12);
}

.video-card {
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid rgba(209, 227, 245, 0.9);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(16, 43, 69, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 195, 221, 1);
  box-shadow: 0 16px 34px rgba(16, 43, 69, 0.12);
}

.video-thumb {
  height: 168px;
  background: var(--thumb) center / cover no-repeat;
  position: relative;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-badge::before {
  content: "";
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(209, 227, 245, 0.9);
  box-shadow: 0 14px 26px rgba(15, 47, 83, 0.22);
}

.play-badge::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 14px solid #0f2f53;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: translateX(3px);
}

.video-meta {
  padding: 0.75rem 0.85rem 0.85rem;
}

.video-meta strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  color: #153a5f;
}

.video-meta span {
  display: block;
  margin-top: 0.22rem;
  color: #5a6e83;
  font-weight: 700;
  font-size: 0.9rem;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 40, 0.62);
  backdrop-filter: blur(6px);
}

.video-dialog {
  position: relative;
  width: min(920px, 94vw);
  margin: 6vh auto 0;
}

.video-shell {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(209, 227, 245, 0.9);
  box-shadow: 0 28px 70px rgba(8, 19, 31, 0.35);
  overflow: hidden;
}

.video-shell-head {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #d6e2ee;
  background: #f7fbff;
}

#video-modal-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  color: #153a5f;
}

.video-frame {
  background: #0b1a2b;
  aspect-ratio: 16 / 9;
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
}

.video-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(209, 227, 245, 0.9);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 26px rgba(15, 47, 83, 0.18);
  font-size: 1.55rem;
  font-weight: 800;
  cursor: pointer;
}

.exclusivity {
  text-align: left;
}

.exclusivity-slim .exclusivity-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.25rem;
  align-items: center;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(209, 227, 245, 0.85);
  background: radial-gradient(circle at 15% 10%, rgba(242, 200, 87, 0.14), transparent 38%),
    radial-gradient(circle at 92% 22%, rgba(95, 143, 190, 0.12), transparent 44%),
    linear-gradient(155deg, #f8fbff, #ffffff);
  box-shadow: 0 18px 46px rgba(15, 47, 83, 0.09);
  padding: 1.1rem;
}

.exclusivity-slim .exclusivity-left h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  max-width: 18ch;
}

.exclusivity-copy {
  margin: 0.75rem 0 0;
  color: #50667d;
  max-width: 62ch;
  line-height: 1.7;
  font-size: 1.05rem;
}

.exclusivity-bullets {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.4rem;
  padding-left: 0.9rem;
  border-left: 3px solid rgba(242, 200, 87, 0.55);
}

.exclusivity-bullets p {
  margin: 0;
  color: #556a81;
  line-height: 1.6;
  font-weight: 700;
}

.exclusivity-bullets strong {
  color: #153a5f;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
}

.exclusivity-cta {
  margin-top: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.mini-note {
  margin: 0;
  color: #53687f;
  font-weight: 750;
}

.slot-card {
  border-radius: 20px;
  border: 1px solid rgba(209, 227, 245, 0.9);
  background: linear-gradient(165deg, rgba(15, 47, 83, 0.96), rgba(25, 73, 116, 0.92));
  color: rgba(255, 255, 255, 0.92);
  padding: 1.05rem;
  box-shadow: 0 22px 60px rgba(9, 21, 34, 0.28);
  position: relative;
  overflow: hidden;
}

.slot-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 16% 18%, rgba(242, 200, 87, 0.22), transparent 48%),
    radial-gradient(circle at 86% 12%, rgba(95, 143, 190, 0.2), transparent 50%);
  pointer-events: none;
}

.slot-card > * {
  position: relative;
  z-index: 1;
}

.slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.slot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(242, 200, 87, 0.18);
  border: 1px solid rgba(242, 200, 87, 0.35);
  color: #ffe6a6;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.slot-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.slot-metric {
  margin-top: 0.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.slot-number {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  font-size: 3.1rem;
  line-height: 1;
  color: #ffe6a6;
}

.slot-suffix {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
}

.slot-bar {
  margin-top: 0.75rem;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.slot-bar span {
  display: block;
  height: 100%;
  width: 88%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242, 200, 87, 0.95), rgba(95, 143, 190, 0.65));
  animation: slotFill 1.2s ease-out both;
}

@keyframes slotFill {
  from {
    width: 38%;
  }
  to {
    width: 88%;
  }
}

.slot-note {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.slot-btn {
  margin-top: 0.95rem;
  width: 100%;
  justify-content: center;
}

@media (max-width: 920px) {
  .exclusivity-slim .exclusivity-shell {
    grid-template-columns: 1fr;
  }
}

.final-cta {
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid #d7e2ee;
  background: linear-gradient(155deg, #f1f7fd, #ffffff);
}

.final-cta p {
  color: #55697f;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 860px;
  margin: 0 auto;
}

details {
  border: 1px solid #d5e0eb;
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem 1rem;
}

summary {
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: #193d64;
}

details p {
  margin: 0.72rem 0 0;
  color: #51657b;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.4rem 0 5.4rem;
  color: #50657a;
}

.site-footer img {
  width: 120px;
}

.mobile-cta {
  display: none;
}

.btn {
  border: 0;
  border-radius: 12px;
  min-height: 46px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-outline {
  border: 1px solid #afc7de;
  background: #fff;
  color: #20476f;
}

.btn-ghost {
  background: #edf3f8;
  color: #2a4a6d;
}

.btn-mini {
  min-height: 34px;
  font-size: 0.8rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(242, 200, 87, 0.92);
  color: #163a61;
}

.wide {
  width: 100%;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes grow {
  from {
    height: 14%;
    opacity: 0;
  }
  to {
    height: var(--v);
    opacity: 1;
  }
}

@keyframes orbA {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.8;
  }
}

@keyframes orbB {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-7px);
    opacity: 0.78;
  }
}

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

@keyframes lineSweep {
  0%,
  100% {
    transform: scaleX(0.68);
    opacity: 0.55;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes driftBg {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 100%;
  }
}

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

@keyframes progressSheen {
  to {
    transform: translateX(180%);
  }
}

@keyframes pulseRing {
  from {
    opacity: 0.9;
    transform: scale(0.98);
  }
  to {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes schoolMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .quiz-layout,
  .problem-grid,
  .scrolly-layout,
  .feature-grid,
  .steps,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .desktop-nav {
    display: none;
  }

  .compare-row strong {
    max-width: 100%;
  }

  .fomo-ribbon {
    margin-top: 1rem;
  }

  .scrolly-steps {
    min-height: 58vh;
  }
}

@media (max-width: 1080px) and (min-width: 721px) {
  .teacher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .teacher-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .container {
    width: min(var(--max), 92vw);
  }

  /* Typography Rescaling for Mobile */
  h1 { font-size: clamp(2.2rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 1.8rem); }
  
  .alert-inner { min-height: 40px; }
  .alert-inner p { font-size: 0.75rem; }
  .alert-ticker { display: none; } /* Hide ticker on mobile to focus on button, or hide button? Let's hide ticker. */
  .top-alert .btn-mini { width: 100%; text-align: center; margin: 0.25rem 0; }
  
  .brand img { height: 38px; }
  .nav-row { min-height: 60px; }
  .nav-row .btn-outline { display: none !important; }

  /* Premium Mobile Tap Targets */
  .btn {
    min-height: 52px;
    height: auto;
    font-size: 1.05rem;
    border-radius: 14px;
    padding: 14px 20px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
  }
  
  .btn-mini { min-height: 38px; font-size: 0.85rem; padding: 8px 14px; }

  /* Premium Mobile App-Like Hero */
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    padding-bottom: 60px;
    gap: 1.2rem;
  }
  
  .hero-copy, .hero-panel {
    display: contents;
  }

  .eyebrow { 
    order: 1; 
    margin-bottom: 0;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--blue-700);
    background: rgba(95, 143, 190, 0.12);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    display: inline-block;
    align-self: flex-start;
  }
  
  .hero-title { 
    order: 2; 
    margin-top: 0; 
    font-size: clamp(2.2rem, 9vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  
  .hero-image-wrap { 
    order: 3; 
    display: block !important; 
    width: 100%;
    height: clamp(280px, 60vw, 420px);
    min-height: 0;
    border-radius: 24px;
    overflow: hidden;
    margin: 0.5rem 0;
    position: relative;
    box-shadow: 0 20px 40px rgba(15, 47, 83, 0.08);
    background: linear-gradient(180deg, #f0f4f8, #e1eaf3);
  }

  .hero-student { 
    display: block !important; 
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center top;
    position: static;
  }

  .hero-map-bg {
    display: none;
  }
  
  /* Horizontal swipeable stats */
  .hero-floating-stats {
    order: 4;
    position: static !important;
    transform: none !important;
    width: calc(100% + 8vw);
    margin: 0 -4vw;
    padding: 0.5rem 4vw 1rem !important;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    justify-content: flex-start !important;
    gap: 12px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .hero-floating-stats::-webkit-scrollbar { display: none; }
  
  .hero-stat-row article {
    min-width: 150px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: auto;
    height: auto !important;
    min-height: 80px;
    margin: 0;
    background: #ffffff;
    border: 1px solid rgba(214,224,234,0.7);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(15,47,83,0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 6px;
  }
  
  .stat-dot { 
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f2c857;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #173b60;
  }

  .hero-stat-row strong { font-size: 1.35rem; color: #0f2f53; }
  .hero-stat-row span { font-size: 0.85rem; line-height: 1.3; color: #4f6276; }

  .hero-desc { 
    order: 5; 
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 0;
  }
  
  .hero-cta-wrap { 
    order: 6; 
    margin-top: 1rem;
    width: 100%;
  }

  .hero-schools-row { 
    order: 7; 
    margin-top: 2rem; 
  }

  .result-strip {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .video-slider { grid-template-columns: 1fr; }
  .slider-btn { display: none; }

  /* Edge-to-edge carousels */
  .school-slider-track {
    gap: 16px;
    padding: 12px 16px;
  }
  .school-slider {
    border-radius: 0;
    margin: 0 -4vw;
    border-left: 0;
    border-right: 0;
  }
  .school-slider-track img {
    width: 90px;
    height: 40px;
  }

  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding-bottom: 100px;
  }

  /* Home Page Fixed Bottom CTA */
  .mobile-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 12px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(214, 224, 234, 0.9);
    z-index: 50;
    box-shadow: 0 -4px 20px rgba(15, 47, 83, 0.08); /* Cast shadow upward */
  }

  .mobile-cta .btn {
    width: 100%;
    max-width: 400px;
    font-size: 1.1rem;
    height: 54px;
    box-shadow: 0 6px 16px rgba(52, 110, 168, 0.25);
  }

  /* Scrolly resets with !important to battle inline JS */
  .scrolly-section { height: auto !important; margin-bottom: 2rem !important; padding: 40px 0 !important; }
  .scrolly-sticky-wrapper { position: relative !important; height: auto !important; overflow: visible !important; padding-top: 0 !important; }
  .scrolly-split { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .scrolly-visuals { height: clamp(280px, 50vw, 400px) !important; position: relative !important; top: 0 !important; margin-bottom: 2rem !important; }
  .scrolly-cards { height: auto !important; perspective: none !important; }
  .scrolly-card, .scrolly-card.is-past {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin-bottom: 1.5rem !important;
    padding: 1.5rem !important;
  }
  .scrolly-num { opacity: 1 !important; }
}

/* ========================================= */
/* Immersive App-Like Quiz Interface (Mobile) */
/* ========================================= */
@media (max-width: 1080px) {
  html:has(.quiz-page) body {
    background: #FFFFFF; /* Pure white app canvas */
  }
  html:has(.quiz-page) .site-bg,
  html:has(.quiz-page) .top-alert,
  html:has(.quiz-page) .site-footer {
    display: none !important; /* Hide background noise and excess ui */
  }

  /* Make header look like simple app nav bar */
  html:has(.quiz-page) .site-header {
    border-bottom: none;
    background: #FFFFFF;
    position: relative;
    box-shadow: none;
  }

  /* Reset layout constraints for app flow */
  .quiz-section {
    padding: 0 !important;
  }
  .quiz-layout-single {
    max-width: 100%;
  }

  .quiz-head {
    text-align: left;
    padding: 16px 24px;
    margin-bottom: 0;
  }
  .quiz-head h2 { font-size: 1.55rem; line-height: 1.25; }
  .quiz-head p { display: none; } /* Hide context paragraph to keep layout clean */

  .quiz-card {
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 16px 24px 140px; /* Heavy bottom padding for absolute nav */
    min-height: calc(100vh - 60px); /* Fill screen min minus nav */
    display: flex;
    flex-direction: column;
    background: transparent;
  }

  #quiz-form {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .quiz-step { flex: 1; }

  /* App Progress Bar */
  .quiz-progress-wrap {
    background: rgba(246, 248, 252, 0.8);
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(214, 224, 234, 0.6);
    margin-bottom: 24px;
  }

  /* Large Option Buttons (App Standard) */
  .option-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .option {
    min-height: 64px; /* Big tap targets */
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    justify-content: flex-start;
    padding-left: 20px;
    background: #FFFFFF;
    border: 2px solid #EBF1F7;
    box-shadow: 0 4px 12px rgba(15, 36, 58, 0.02);
    transition: transform 0.2s, box-shadow 0.2s, border 0.2s;
  }
  .option:active {
    transform: scale(0.98);
    background: #F7FBFF;
  }

  .quiz-step h3 {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
  }

  /* Input fields */
  .input-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .input-grid input,
  .input-grid select {
    min-height: 56px;
    font-size: 1.05rem;
    border-radius: 14px;
    background: #F4F8FB;
    border: 1px solid transparent;
  }

  /* Quiz Bottom Action Bar (Fixed App Safe Area) */
  .quiz-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 12px));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #E6EEF5;
    display: flex;
    gap: 12px;
    z-index: 50;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.04);
  }
  
  .quiz-nav .btn {
    flex: 1;
    font-size: 1.1rem;
    height: 56px;
    border-radius: 16px;
  }
  
  .quiz-nav #quiz-back {
    flex: 0.35;
    background: #F0F4F8;
    color: #4A5C71;
    border: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}


