/* =========================================================
   Home page
   ========================================================= */

/* ---------- Hero ---------- */
.home-hero {
  position: relative;
  color: #fff;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0;
  background:
    radial-gradient(50% 70% at 85% 30%, rgba(185, 20, 138, .5), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(246, 167, 35, .12), transparent 70%),
    linear-gradient(180deg, var(--aoa-ink) 0%, #1a0145 100%);
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent 75%);
  pointer-events: none;
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero .eyebrow { color: #ff9ad9; }
.home-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; }
.home-hero .hl {
  position: relative;
  white-space: nowrap;
  color: #fff;
}
.home-hero .hl::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: .02em;
  height: .32em;
  background: var(--aoa-magenta);
  border-radius: 6px;
  z-index: -1;
  transform: skewX(-12deg);
}
.hero-lead { color: rgba(255, 255, 255, .8); font-size: 1.12rem; max-width: 52ch; margin-bottom: 2rem; }

.hero-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border-radius: 999px;
  padding: .4rem .4rem .4rem 1.1rem;
  max-width: 560px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55);
}
.hero-search > .bi { color: var(--aoa-muted); font-size: 1.1rem; }
.hero-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 1rem;
  color: var(--aoa-text);
  background: transparent;
  padding-block: .6rem;
}
.hero-search .btn { flex-shrink: 0; }

.hero-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 1.1rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .6);
}
.hero-quick a {
  color: #fff;
  text-decoration: none;
  padding: .28rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background-color .15s ease, border-color .15s ease;
}
.hero-quick a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }

/* Photo collage */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 520px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.hv {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
}
.hv-1 { border-radius: 28px 28px 28px 110px; }
.hv-2 { transform: translateY(2.5rem); border-radius: 110px 28px 28px 28px; }
.hv-3 { border-radius: 28px 110px 28px 28px; }
.hv-4 { transform: translateY(2.5rem); border-radius: 28px 28px 110px 28px; }

.hv-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  color: var(--aoa-text);
  border-radius: 14px;
  padding: .6rem .9rem;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45);
  font-size: .8rem;
  line-height: 1.25;
  max-width: 210px;
  animation: float 6s ease-in-out infinite;
}
.hv-tag .bi { font-size: 1.3rem; color: var(--aoa-magenta); }
.hv-tag strong { display: block; font-size: .88rem; }
.hv-tag span { color: var(--aoa-muted); }
.hv-tag-1 { left: 0; top: 44%; }
.hv-tag-2 { right: 0; top: 8%; animation-delay: -3s; }
.hv-price {
  position: absolute;
  right: 1%;
  bottom: -4rem;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--aoa-marigold);
  color: var(--aoa-ink);
  line-height: 1.1;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45);
  transform: rotate(-8deg);
}
.hv-price span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hv-price strong { font-family: var(--aoa-font-display); font-size: 1.7rem; font-weight: 800; }

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

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(3.5rem, 2rem + 4vw, 5.5rem) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats > div { padding: 1.5rem 1rem 1.75rem 0; }
.hero-stats > div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-stats dt { font-weight: 500; font-size: .85rem; color: rgba(255, 255, 255, .6); order: 2; }
.hero-stats dd {
  margin: 0 0 .15rem;
  font-family: var(--aoa-font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hero-stats dd small { font-size: .45em; font-weight: 600; color: rgba(255, 255, 255, .7); margin-left: .15em; letter-spacing: 0; }
.hero-stats > div { display: flex; flex-direction: column-reverse; }

@media (max-width: 991.98px) {
  .hero-visual { margin-top: 1rem; max-width: 440px; }
}
@media (max-width: 767.98px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 575.98px) {
  .hero-search { flex-wrap: wrap; border-radius: 20px; padding: .5rem; }
  .hero-search > .bi { display: none; }
  .hero-search input { padding: .6rem .6rem; width: 100%; flex-basis: 100%; }
  .hero-search .btn { width: 100%; }
  .hero-visual { padding-inline: .5rem; gap: .75rem; }
  .hv-tag { font-size: .72rem; padding: .5rem .7rem; max-width: 170px; }
  .hv-tag-1 { left: -.25rem; }
  .hv-tag-2 { right: -.25rem; }
  .hv-price { width: 92px; height: 92px; }
  .hv-price strong { font-size: 1.4rem; }
}

/* ---------- Syllabus strip ---------- */
.syllabus-strip {
  background: var(--aoa-marigold);
  color: var(--aoa-ink);
  overflow: hidden;
  padding-block: .85rem;
  font-family: var(--aoa-font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.syllabus-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.syllabus-track span { display: inline-flex; align-items: center; white-space: nowrap; padding-inline: 1.25rem; }
.syllabus-track span::after { content: "✦"; margin-left: 2.5rem; font-size: .7em; opacity: .55; }
.syllabus-strip:hover .syllabus-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: none;
}
.steps li {
  position: relative;
  padding: 1.75rem;
  background: var(--aoa-paper);
  border: 1px solid var(--aoa-line);
  border-radius: var(--aoa-radius);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.9rem;
  right: -1.5rem;
  width: 1.5rem;
  border-top: 2px dashed #d6c6ea;
}
.step-no {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--aoa-ink);
  color: #fff;
  font-family: var(--aoa-font-display);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.steps li:nth-child(2) .step-no { background: var(--aoa-magenta); }
.steps li:nth-child(3) .step-no { background: var(--aoa-marigold); color: var(--aoa-ink); }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--aoa-muted); margin: 0; }
@media (max-width: 767.98px) {
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .steps li:not(:last-child)::after { display: none; }
}

/* ---------- Benefits ---------- */
.benefit-photo { position: relative; padding-bottom: 3rem; }
.benefit-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.benefit-quote {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0;
  background: var(--aoa-ink);
  color: #fff;
  border-radius: 20px;
  padding: 1.25rem 1.4rem;
  box-shadow: var(--aoa-shadow);
}
.benefit-quote .bi { font-size: 2rem; line-height: 1; color: var(--aoa-marigold); }
.benefit-quote p { margin: .25rem 0 0; font-size: .98rem; color: rgba(255, 255, 255, .88); }

.benefits > div { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
.benefits .bi {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--aoa-magenta-soft);
  color: var(--aoa-magenta);
  font-size: 1.3rem;
}
.benefits h3 { font-size: 1.1rem; margin: .2rem 0 .3rem; }
.benefits p { color: var(--aoa-muted); margin: 0; font-size: .95rem; }

/* ---------- Rates teaser ---------- */
.rate-teaser {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  height: 100%;
  padding: 1.6rem;
  border-radius: var(--aoa-radius);
  background: var(--aoa-paper);
  border: 1px solid var(--aoa-line);
  color: var(--aoa-text);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rate-teaser:hover { transform: translateY(-3px); box-shadow: var(--aoa-shadow); border-color: var(--aoa-magenta); color: var(--aoa-text); }
.rt-label { font-family: var(--aoa-font-display); font-weight: 700; font-size: 1.25rem; }
.rt-levels { color: var(--aoa-muted); font-size: .92rem; }
.rt-price { margin-top: auto; padding-top: 1.25rem; color: var(--aoa-muted); }
.rt-price strong { font-family: var(--aoa-font-display); font-size: 2.2rem; font-weight: 800; color: var(--aoa-ink); letter-spacing: -.02em; }

/* ---------- Quiz teaser ---------- */
.quiz-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border-radius: calc(var(--aoa-radius) + 6px);
  color: #fff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(246, 167, 35, .35), transparent 60%),
    linear-gradient(120deg, var(--aoa-magenta) 0%, #7c0d63 100%);
}
.quiz-teaser > div { max-width: 620px; }
.quiz-teaser p { color: rgba(255, 255, 255, .85); }
.quiz-teaser .btn-brand { --bs-btn-bg: var(--aoa-ink); --bs-btn-border-color: var(--aoa-ink); --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000; box-shadow: none; }
