/* ===== Olympiad landing page ===== */

/* ---------- HERO ---------- */
.oly-hero{
  position:relative;
  padding:80px 0 40px;
  text-align:center;
}
.oly-hero-ticker{
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.6px;
  color:var(--lx-muted);
  margin-bottom:20px;
}
.oly-hero-ticker span{ margin:0 10px; color:var(--lx-border); }

/* ---------- LAUREL CREST ---------- */
.oly-hero-crest{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
}
.oly-laurel{
  width:56px;
  height:151px;
  flex-shrink:0;
  opacity:0.9;
}
.oly-laurel-right{ transform:scaleX(-1); }
@media (max-width:840px){
  .oly-laurel{ display:none; }
}

.oly-title{
  font-size:clamp(34px,6.4vw,64px);
  font-weight:800;
  line-height:1.14;
  letter-spacing:-1px;
  margin:18px 0 22px;
}
.oly-title-accent{
  background:linear-gradient(120deg,#f59e0b,#fbbf24 45%,#60a5fa);
  background-size:220% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  animation:olyShimmer 6s ease-in-out infinite;
}
@keyframes olyShimmer{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}
.oly-sub{
  max-width:620px;
  margin:0 auto 36px;
  color:var(--lx-muted);
  font-size:17.5px;
  line-height:1.6;
}
.oly-hero-ctas{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:28px;
}
.oly-hero-users{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:8px;
  margin-bottom:28px;
}
.oly-hero-users-num{
  font-size:20px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(135deg,#60a5fa,#3b82f6);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.oly-hero-users-label{
  font-size:13.5px;
  color:var(--lx-muted);
}
.oly-hero-demo{
  margin-top:22px;
  margin-bottom:32px;
}
@media (prefers-reduced-motion: reduce){
  .oly-title-accent{ animation:none; }
}

/* ---------- COUNTDOWN ---------- */
.oly-countdown{
  max-width:520px;
  margin:0 auto;
}
.oly-countdown-label{
  font-size:13px;
  font-weight:700;
  letter-spacing:0.4px;
  color:var(--lx-accent-2);
  margin-bottom:16px;
}
.oly-countdown-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.oly-countdown-item{
  background:var(--lx-card);
  border:1px solid var(--lx-border);
  border-radius:16px;
  padding:16px 6px 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}
.oly-countdown-item span{
  font-size:clamp(24px,4vw,34px);
  font-weight:800;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(135deg,#fbbf24,#f59e0b 60%,#60a5fa);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.oly-countdown-item small{
  font-size:11.5px;
  color:var(--lx-muted);
}
.oly-countdown-date{
  margin-top:16px;
  font-size:13.5px;
  color:var(--lx-muted);
}

/* ---------- STATS + REGION GRID ---------- */
.oly-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:900px;
  margin:56px auto 90px;
}
.oly-stat{
  text-align:center;
  padding:30px 18px;
  background:var(--lx-card);
  border:1px solid var(--lx-border);
  border-radius:18px;
}
.oly-stat-num{
  font-size:clamp(28px,4vw,40px);
  font-weight:800;
  background:linear-gradient(135deg,#60a5fa,#3b82f6 55%,#f59e0b);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  margin-bottom:8px;
}
.oly-stat-label{
  font-size:13.5px;
  color:var(--lx-muted);
  line-height:1.4;
}
.oly-region-grid{
  display:grid;
  grid-template-columns:repeat(9,6px);
  gap:3px;
  justify-content:center;
  margin-top:16px;
}
.oly-region-dot{
  width:6px;
  height:6px;
  border-radius:1.5px;
  background:var(--lx-border);
  opacity:0;
  transform:scale(0.4);
  transition:transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s, background .4s;
}
.oly-region-dot.lit{
  opacity:1;
  transform:scale(1);
  background:linear-gradient(135deg,#fbbf24,#3b82f6);
}
@media (prefers-reduced-motion: reduce){
  .oly-region-dot{ transition:none; }
}
@media (max-width:700px){
  .oly-stats{ grid-template-columns:1fr; }
}

/* ---------- PRIZE FUND BANNER ---------- */
.oly-prize{
  position:relative;
  max-width:820px;
  margin:0 auto 100px;
  text-align:center;
  padding:56px 32px;
  border-radius:28px;
  background:radial-gradient(circle at 50% 0%, rgba(245,158,11,0.14), transparent 65%), var(--lx-card);
  border:1px solid var(--lx-border);
  overflow:hidden;
}
.oly-prize::before{
  content:'';
  position:absolute;
  inset:-1px;
  border-radius:28px;
  padding:1px;
  background:linear-gradient(135deg,#f59e0b,#fbbf24 35%,#3b82f6 75%);
  opacity:0.5;
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}
.oly-prize-num{
  position:relative;
  font-size:clamp(40px,7vw,68px);
  font-weight:800;
  letter-spacing:-1px;
  margin-bottom:10px;
  background:linear-gradient(120deg,#fbbf24,#f59e0b 40%,#fde68a 60%,#f59e0b);
  background-size:220% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 0 60px rgba(245,158,11,0.35);
  animation:olyShimmer 6s ease-in-out infinite;
}
.oly-prize-label{
  position:relative;
  font-size:15.5px;
  font-weight:700;
  color:var(--lx-text-strong);
  margin-bottom:18px;
}
.oly-prize p{
  position:relative;
  color:var(--lx-muted);
  font-size:15px;
  line-height:1.65;
  max-width:560px;
  margin:0 auto;
}
.oly-prize-extra{
  position:relative;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:20px;
}
.oly-prize-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 14px;
  border-radius:999px;
  background:var(--lx-accent-soft);
  color:var(--lx-accent-2);
  font-size:13px;
  font-weight:600;
}
.oly-chip-icon{
  width:15px;
  height:15px;
  flex-shrink:0;
}
@media (prefers-reduced-motion: reduce){
  .oly-prize-num{ animation:none; }
}

/* ---------- STAGES TRACK ---------- */
.oly-stage-track{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  max-width:980px;
  margin:0 auto 100px;
}
.oly-stage-track::before{
  content:'';
  position:absolute;
  top:36px;
  left:16.5%;
  right:16.5%;
  height:2px;
  background:linear-gradient(90deg,#3b82f6,#60a5fa 45%,#f59e0b);
  opacity:0.5;
  z-index:0;
}
.oly-stage-card{
  position:relative;
  z-index:1;
  background:var(--lx-card);
  border:1px solid var(--lx-border);
  border-radius:18px;
  padding:28px 22px 24px;
  text-align:center;
  transition:transform .25s ease, border-color .25s ease;
}
.oly-stage-card:hover{ transform:translateY(-4px); }
.oly-stage-num{
  width:44px;
  height:44px;
  margin:0 auto 18px;
  border-radius:50%;
  background:var(--lx-gradient);
  color:#fff;
  font-weight:800;
  font-size:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.oly-stage-date{
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.4px;
  text-transform:uppercase;
  color:var(--lx-accent-2);
  margin-bottom:8px;
}
.oly-stage-card h3{
  font-size:18px;
  font-weight:700;
  margin-bottom:10px;
  color:var(--lx-text-strong);
}
.oly-stage-card p{
  font-size:13.5px;
  color:var(--lx-muted);
  line-height:1.6;
}
.oly-stage-final{
  position:relative;
  background:radial-gradient(circle at 50% 0%, rgba(245,158,11,0.12), transparent 65%), var(--lx-card);
  border-color:transparent;
}
.oly-stage-final::before{
  content:'';
  position:absolute;
  inset:-1px;
  border-radius:18px;
  padding:1px;
  background:linear-gradient(135deg,#f59e0b,#fbbf24 50%,#60a5fa);
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}
.oly-stage-final .oly-stage-num{
  background:var(--lx-gold);
  color:#1a1200;
}
.oly-stage-badge{
  position:absolute;
  top:-11px;
  left:50%;
  transform:translateX(-50%);
  padding:4px 14px;
  border-radius:999px;
  background:var(--lx-gold);
  color:#1a1200;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.4px;
  white-space:nowrap;
}
@media (max-width:760px){
  .oly-stage-track{ grid-template-columns:1fr; }
  .oly-stage-track::before{ display:none; }
}

/* ---------- AUDIENCE ---------- */
.oly-audience-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  max-width:760px;
  margin:0 auto 100px;
}
.oly-audience-card{
  background:var(--lx-card);
  border:1px solid var(--lx-border);
  border-radius:18px;
  padding:28px 26px;
}
.oly-audience-card h3{
  font-size:19px;
  font-weight:700;
  margin-bottom:10px;
  color:var(--lx-text-strong);
}
.oly-audience-card p{
  color:var(--lx-muted);
  font-size:14.5px;
  line-height:1.6;
  margin-bottom:14px;
}
.oly-free-tag{
  display:inline-block;
  padding:5px 13px;
  border-radius:999px;
  background:var(--lx-gold);
  color:#1a1200;
  font-weight:700;
  font-size:12px;
}
@media (max-width:640px){
  .oly-audience-grid{ grid-template-columns:1fr; }
}

/* ---------- FAQ ---------- */
.oly-faq{
  max-width:940px;
  margin:0 auto 100px;
  column-count:2;
  column-gap:20px;
}
.oly-faq-item{
  background:var(--lx-card);
  border:1px solid var(--lx-border);
  border-radius:14px;
  padding:4px 22px;
  break-inside:avoid;
  margin-bottom:10px;
}
@media (max-width:760px){
  .oly-faq{ column-count:1; }
}
.oly-faq-item summary{
  padding:16px 0;
  cursor:pointer;
  font-weight:700;
  font-size:15px;
  color:var(--lx-text-strong);
  list-style:none;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.oly-faq-item summary::-webkit-details-marker{ display:none; }
.oly-faq-q{
  flex:1;
  min-width:0;
  padding-top:1px;
}
.oly-faq-item summary::after{
  content:'+';
  font-size:20px;
  line-height:1;
  font-weight:400;
  color:var(--lx-accent-2);
  flex-shrink:0;
  transition:transform .2s;
}
.oly-faq-item[open] summary::after{ transform:rotate(45deg); }
.oly-faq-item p{
  color:var(--lx-muted);
  font-size:14.5px;
  line-height:1.65;
  padding-bottom:18px;
}
.oly-faq-item summary:focus-visible{
  outline:2px solid var(--lx-accent-2);
  outline-offset:3px;
  border-radius:8px;
}

/* ---------- inline icon replacements for emoji ---------- */
.oly-ticker-star{
  width:11px;
  height:11px;
  vertical-align:-1px;
  margin:0 1px;
}
.oly-prize-star{
  width:0.72em;
  height:0.72em;
  vertical-align:-0.04em;
  margin-left:6px;
  flex-shrink:0;
}

/* ---------- FREE PREP COURSES CTA ---------- */
.oly-courses{
  position:relative;
  max-width:820px;
  margin:0 auto 100px;
  text-align:center;
  padding:44px 32px;
  border-radius:24px;
  background:var(--lx-card);
  border:1px solid var(--lx-border);
}
.oly-courses-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 14px;
  border-radius:999px;
  background:var(--lx-gold);
  color:#1a1200;
  font-weight:700;
  font-size:12px;
  margin-bottom:18px;
}
.oly-courses h3{
  font-size:24px;
  font-weight:800;
  margin-bottom:10px;
  color:var(--lx-text-strong);
}
.oly-courses p{
  color:var(--lx-muted);
  font-size:15px;
  line-height:1.6;
  max-width:520px;
  margin:0 auto 24px;
}

/* ---------- final CTA extras ---------- */
.oly-cta-actions{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}
