/* ===== Tokens ===== */
:root {
  --brand-navy: #0f172a;
  --brand-navy-light: #1e293b;
  --brand-emerald: #059669;
  --brand-emerald-dark: #065f46;
  --brand-emerald-soft: #ecfdf5;
  --brand-gold: #d97706;
  --brand-gold-light: #f59e0b;
  --ink: #0f172a;
  --paper: #fffdf8;
  --paper-tint: #fef6e8;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --shadow-lg: 0 20px 45px -12px rgb(0 0 0 / 0.35);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 800; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--brand-gold-light); color: var(--brand-navy);
  padding: .75rem 1rem; border-radius: 0 0 .5rem 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--brand-navy) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: .85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__brand { color: #fff; font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.nav__brand-batch {
  display: inline-block; background: var(--brand-gold-light); color: var(--brand-navy);
  font-size: .68rem; font-weight: 800; letter-spacing: .03em; padding: .2rem .55rem;
  border-radius: 999px; white-space: nowrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: none; font-family: inherit; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  color: var(--brand-navy);
  box-shadow: 0 10px 25px -8px rgb(217 119 6 / 0.55);
}
.btn--gold:hover { transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 4px;
  padding: .5rem;
}
.btn--sm { padding: .55rem 1.1rem; font-size: .82rem; }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 15% 0%, var(--brand-emerald-dark) 0%, var(--brand-navy) 45%, #060b16 100%);
  padding: 3.5rem 1.25rem 4.5rem;
}
.hero__glow {
  position: absolute; border-radius: 999px; filter: blur(70px); pointer-events: none;
}
.hero__glow--gold { top: -6rem; right: -8%; width: 26rem; height: 26rem; background: rgb(245 158 11 / 0.25); }
.hero__glow--emerald { bottom: -8rem; left: -10%; width: 24rem; height: 24rem; background: rgb(5 150 105 / 0.3); }

.hero__inner {
  position: relative; max-width: var(--container); margin: 0 auto;
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgb(245 158 11 / 0.15); color: var(--brand-gold-light);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgb(245 158 11 / 0.3);
}

.hero__title {
  color: #fff; font-size: clamp(2.4rem, 6vw, 3.75rem); margin-top: 1rem; letter-spacing: -0.02em;
}
.text-gold { color: var(--brand-gold-light); }

.hero__subhead { color: rgb(255 255 255 / 0.92); font-size: 1.15rem; font-weight: 600; margin-top: 1rem; max-width: 34rem; }
.hero__body { color: rgb(255 255 255 / 0.72); margin-top: 1rem; max-width: 34rem; font-size: .98rem; }

.chip-row {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; max-width: 30rem;
}
@media (min-width: 640px) { .chip-row { grid-template-columns: repeat(4, 1fr); max-width: none; } }
.chip {
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: .85rem; padding: .7rem .6rem; color: #fff; font-size: .78rem; font-weight: 700;
  display: flex; flex-direction: column; gap: .35rem;
}
.chip__icon { font-size: 1.1rem; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.hero__microcopy { color: rgb(255 255 255 / 0.55); font-size: .8rem; margin-top: 1rem; max-width: 30rem; }

.flyer-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgb(255 255 255 / 0.1);
  aspect-ratio: 1 / 1; width: 100%;
}
/* Sama seperti kartu flyer di bp-landing (mitra-event-highlight.tsx): kotak
   persegi tetap (aspect-ratio 1/1) + object-fit:cover, supaya proporsinya
   konsisten di semua ukuran layar dan nggak ketarik memanjang ngikutin
   tinggi kolom teks di sebelahnya. */
.flyer-card img { width: 100%; height: 100%; object-fit: cover; }
.flyer-card__badge {
  position: absolute; top: 1rem; right: 1rem; transform: rotate(4deg);
  background: var(--brand-gold-light); color: var(--brand-navy);
  font-weight: 800; font-size: .85rem; padding: .5rem 1rem; border-radius: 999px;
  box-shadow: 0 10px 20px -6px rgb(0 0 0 / 0.4);
}

/* ===== Trust bar ===== */
.trust-bar { background: var(--brand-navy-light); padding: 1.5rem 1.25rem; }
.trust-bar__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; text-align: center;
}
@media (min-width: 640px) { .trust-bar__inner { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; flex-direction: column; gap: .2rem; }
.trust-item strong { color: var(--brand-gold-light); font-size: 1.6rem; font-weight: 800; }
.trust-item span { color: rgb(255 255 255 / 0.7); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

/* ===== Generic sections ===== */
.section { padding: 4.5rem 1.25rem; }
.section--tint { background: var(--paper-tint); }
.section__inner { max-width: var(--container); margin: 0 auto; }
.section__inner--narrow { max-width: 740px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand-emerald-dark);
}
.eyebrow--light { color: var(--brand-gold-light); }
.section__title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-top: .5rem; color: var(--brand-navy); }
.section__title--light { color: #fff; }
.section__lead { margin-top: 1.25rem; font-size: 1.05rem; color: #334155; max-width: 62ch; }

/* Block warna "highlighter" di balik kata kunci judul section */
.hl {
  display: inline-block; position: relative; padding: .05em .35em; border-radius: .35em;
  transform: rotate(-1deg);
}
.hl--gold { background: var(--brand-gold-light); color: var(--brand-navy); }
.hl--emerald { background: var(--brand-emerald); color: #fff; }

.pull-quote {
  margin: 2rem 0 0; padding: .3rem 0 .3rem 1.25rem;
  border-left: 3px solid var(--brand-gold-light);
  font-style: italic; color: #475569; font-size: 1.05rem; line-height: 1.6;
}

/* ===== Speakers ===== */
/* Grid & kartu mengikuti pola yang sama persis dengan .detail-grid/.detail-card
   di section Detail Program (2 kolom mobile, 3 kolom tablet+) — biar konsisten
   satu sistem antar section, bukan grid custom sendiri-sendiri. */
.speaker-grid {
  margin-top: 2.25rem; display: grid; gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .speaker-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .speaker-grid { grid-template-columns: repeat(5, 1fr); } }

.speaker-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 10px 25px -18px rgb(15 23 42 / 0.25); border: 1px solid #e6e2d8;
  text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.speaker-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgb(15 23 42 / 0.3); }

/* Persegi (1:1), fokus ke wajah — foto-fotonya crop setengah badan dengan
   wajah di area atas, jadi object-position digeser ke atas biar wajah nggak
   ke-crop pas dipotong jadi kotak. */
.speaker-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 15%; }

.speaker-card h3 { font-size: .78rem; line-height: 1.25; padding: .65rem .5rem 0; color: var(--brand-navy); }
@media (min-width: 640px) { .speaker-card h3 { font-size: .92rem; padding: .85rem .85rem 0; } }

.speaker-card p { font-size: .68rem; line-height: 1.3; color: #64748b; padding: .25rem .5rem .75rem; }
@media (min-width: 640px) { .speaker-card p { font-size: .76rem; padding: .3rem .85rem .9rem; } }

.speaker-card--lead { border-color: var(--brand-gold-light); border-width: 2px; }

/* ===== Reasons ===== */
.reason-grid { margin-top: 2.25rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .reason-grid { grid-template-columns: repeat(3, 1fr); } }
.reason-card {
  background: var(--brand-emerald-soft); border-radius: var(--radius-md); padding: 1.5rem;
  border: 1px solid rgb(5 150 105 / 0.15);
}
.reason-card__icon { font-size: 1.6rem; }
.reason-card p { margin-top: .75rem; font-weight: 600; color: #0f3d2e; }

/* ===== Detail program (icon cards) ===== */
.detail-grid {
  margin-top: 2.25rem; display: grid; gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .detail-grid { grid-template-columns: repeat(3, 1fr); } }

.detail-card {
  background: #fff; border: 1px solid #e6e2d8; border-radius: var(--radius-md);
  padding: 1.35rem 1.1rem; text-align: center;
  box-shadow: 0 10px 25px -18px rgb(15 23 42 / 0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -16px rgb(15 23 42 / 0.3);
}

.detail-card__icon-wrap {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem; border-radius: 999px; margin-bottom: .85rem;
  background: var(--brand-emerald-soft);
}
.detail-card__icon-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  border: 2px solid var(--brand-gold-light);
  animation: detail-pulse 2.4s ease-out infinite;
}
.detail-card__icon { font-size: 1.4rem; position: relative; z-index: 1; }

.detail-card__label {
  display: block; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand-emerald-dark); margin-bottom: .3rem;
}
.detail-card__value { display: block; font-weight: 700; color: var(--brand-navy); font-size: .95rem; }

@keyframes detail-pulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Efek muncul bergantian (staggered) pas di-scroll ke section ini */
.detail-card:nth-child(1) { transition-delay: 0ms; }
.detail-card:nth-child(2) { transition-delay: 60ms; }
.detail-card:nth-child(3) { transition-delay: 120ms; }
.detail-card:nth-child(4) { transition-delay: 180ms; }
.detail-card:nth-child(5) { transition-delay: 240ms; }
.detail-card:nth-child(6) { transition-delay: 300ms; }

/* ===== FAQ ===== */
.accordion { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.accordion__item {
  border: 1px solid #e6e2d8; border-radius: var(--radius-md); padding: 1rem 1.25rem; background: #fff;
}
.accordion__item summary {
  cursor: pointer; font-weight: 700; color: var(--brand-navy); list-style: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after { content: "+"; float: right; font-size: 1.2rem; color: var(--brand-gold); }
.accordion__item[open] summary::after { content: "–"; }
.accordion__item p { margin-top: .75rem; color: #475569; font-size: .95rem; }

/* ===== Form ===== */
.section--form {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 85% 0%, var(--brand-emerald-dark) 0%, var(--brand-navy) 55%, #060b16 100%);
}
.section--form .section__inner { position: relative; }

.reg-form { margin-top: 2rem; display: grid; gap: 1.1rem; }
.reg-form__field { display: flex; flex-direction: column; gap: .4rem; }
.reg-form__field label { color: rgb(255 255 255 / 0.85); font-size: .85rem; font-weight: 700; }
.reg-form__field input, .reg-form__field select {
  padding: .8rem 1rem; border-radius: .7rem; border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.08); color: #fff; font-family: inherit; font-size: .95rem;
}
.reg-form__field input::placeholder { color: rgb(255 255 255 / 0.4); }
.reg-form__field input:focus, .reg-form__field select:focus {
  outline: 2px solid var(--brand-gold-light); outline-offset: 1px;
}
.reg-form__field select option { color: #000; }

.reg-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.reg-form__error {
  background: rgb(220 38 38 / 0.15); border: 1px solid rgb(220 38 38 / 0.4);
  color: #fecaca; padding: .75rem 1rem; border-radius: .6rem; font-size: .85rem;
}

.reg-success { margin-top: 2rem; text-align: center; color: #fff; }
.reg-success__title { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.reg-success p { color: rgb(255 255 255 / 0.75); margin-bottom: 1.5rem; }

.reg-form__microcopy { margin-top: 1.25rem; color: rgb(255 255 255 / 0.5); font-size: .78rem; text-align: center; }

/* ===== Footer ===== */
.footer { background: #060b16; padding: 2.5rem 1.25rem; }
.footer__inner { max-width: var(--container); margin: 0 auto; text-align: center; }
.footer__brand { color: #fff; font-weight: 700; }
.footer__disclaimer { color: rgb(255 255 255 / 0.5); font-size: .8rem; margin-top: .5rem; }
.footer__link { display: inline-block; margin-top: 1rem; color: var(--brand-gold-light); font-weight: 700; text-decoration: none; }
.footer__link:hover { text-decoration: underline; }

/* ===== Reveal on scroll ===== */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .detail-card__icon-wrap::before { animation: none; }
}
