:root {
  --paper: #f6fadd;
  --mist: #e9f2cd;
  --ink: #0e362e;
  --pine: #0b5345;
  --teal: #005758;
  --lime: #ddef37;
  --lime-deep: #cde325;
  --muted: #4a6359;
  --muted-dark: #b7cec3;
  --line: rgba(14, 54, 46, 0.14);
  --line-dark: rgba(246, 250, 221, 0.18);
  --white: #ffffff;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--lime); }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-deep); border-color: var(--lime-deep); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(246, 250, 221, .55); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn-icon { width: 48px; padding: 0; background: transparent; color: var(--ink); border-color: var(--ink); }

.text-mobile { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand img { height: 30px; width: auto; }
.main-nav { display: none; gap: 32px; margin-left: auto; margin-right: 8px; }
.main-nav a {
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 0;
}
.main-nav a:hover { color: var(--ink); }
@media (min-width: 860px) { .main-nav { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .72) 44%, rgba(255, 255, 255, .42) 74%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(58% 46% at 6% 52%, rgba(221, 239, 55, .2) 0%, rgba(221, 239, 55, 0) 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
}

.hero-title {
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.hero-title span { display: block; }
.t-day { color: #0E362E; }
.t-night { color: #096453; }

.hero-lead {
  max-width: 34em;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.countdown {
  margin-top: 16px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--pine);
}
.countdown:empty { display: none; }

.partners {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.partner-uin { height: 64px; width: auto; }
.partner-eduvia { height: 30px; width: auto; }
.partner-rule { width: 1px; height: 40px; background: var(--line); }

.hero-visual {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  isolation: isolate;
}
/* Panggung lembut di belakang foto potong (PNG transparan) */
.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: min(100%, 520px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .88) 34%, rgba(233, 242, 205, .7) 58%, rgba(233, 242, 205, 0) 76%);
}
.hero-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 26px 40px rgba(14, 54, 46, .18));
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, rgba(0, 0, 0, .45) 97%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, #000 90%, rgba(0, 0, 0, .45) 97%, rgba(0, 0, 0, 0) 100%);
}
.hero-badge {
  position: absolute;
  z-index: 2;
  left: clamp(-12px, -1.5vw, 0px);
  bottom: 28px;
  display: grid;
  gap: 2px;
  padding: 16px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-md);
  box-shadow: 0 14px 34px rgba(14, 54, 46, .28);
}
.hero-badge strong { font-size: 1.5rem; line-height: 1.1; font-weight: 800; color: var(--lime); letter-spacing: -0.02em; }
.hero-badge span { font-size: .9375rem; font-weight: 500; }
@media (max-width: 899px) {
  .hero-visual > img { max-width: 440px; }
  .hero-visual::before { width: min(100%, 420px); }
  .hero-badge { left: 14px; bottom: 14px; padding: 12px 16px; }
  .hero-badge strong { font-size: 1.25rem; }
}

/* Satu momen animasi: judul hero muncul berurutan */
@media (prefers-reduced-motion: no-preference) {
  .hero-title span,
  .hero-lead,
  .hero-actions,
  .hero .countdown,
  .partners,
  .hero-visual {
    opacity: 0;
    transform: translateY(14px);
    animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards;
  }
  .t-day { animation-delay: .05s; }
  .t-night { animation-delay: .45s; }
  .hero-lead { animation-delay: .75s; }
  .hero-actions { animation-delay: .9s; }
  .hero .countdown { animation-delay: 1s; }
  .partners { animation-delay: 1.05s; }
  .hero-visual { animation-delay: .3s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-mist { background: var(--mist); }

.section-title {
  max-width: 20em;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.section-lead {
  max-width: 34em;
  margin-top: 16px;
  color: var(--muted);
}

/* ---------- Situasi ---------- */
.situasi-grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .situasi-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; }
  .situasi-title { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.situasi-title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.situasi-list li { padding: 28px 0; border-top: 1px solid var(--line-dark); }
.situasi-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.situasi-main {
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.situasi-sub { margin-top: 10px; max-width: 34em; color: var(--muted-dark); }

/* ---------- Manfaat ---------- */
.manfaat-grid { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 900px) {
  .manfaat-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
  .cert-tile { position: sticky; top: calc(var(--header-h) + 24px); }
}

.cert-tile {
  padding: clamp(28px, 4vw, 40px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
}
.cert-logos { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.cert-uin { display: block; padding: 10px 14px; background: var(--white); border-radius: var(--r-sm); }
.cert-uin img { height: 62px; width: auto; }
.cert-eduvia { height: 28px; width: auto; }
.cert-tile h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cert-tile p { margin-top: 14px; color: var(--muted-dark); }
.cert-tile .cert-free {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-weight: 700;
  color: var(--lime);
}

.benefit-list li { padding: 26px 0; border-top: 1px solid var(--line); }
.benefit-list li:first-child { padding-top: 4px; border-top: 0; }
.benefit-list h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.benefit-list p { margin-top: 8px; max-width: 32em; color: var(--muted); }

.photo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.photo-trio img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
}

/* ---------- Jadwal ---------- */
.jadwal-head { margin-bottom: 48px; }

.daybar { max-width: 760px; margin-bottom: 56px; }
.daybar-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin-bottom: 12px;
  font-size: .9375rem;
  color: var(--muted);
}
.daybar-top strong { color: var(--ink); font-weight: 700; }
.daybar-track {
  position: relative;
  height: 16px;
  background: rgba(14, 54, 46, .16);
  border-radius: 999px;
}
.daybar-slot {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 81.25%;
  width: 8.33%;
  background: var(--pine);
  border-radius: 999px;
}
.daybar-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
}

.steps { display: grid; gap: 0; }
.steps li { position: relative; padding: 0 0 36px 36px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--lime);
  border: 3px solid var(--ink);
  border-radius: 50%;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--ink);
  opacity: .25;
}
.steps li:last-child::after { display: none; }

.step-date {
  font-size: clamp(1.375rem, 2.4vw, 1.625rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.steps h3 { margin-top: 8px; font-size: 1.0625rem; font-weight: 700; }
.steps li p:last-child { margin-top: 2px; color: var(--muted); }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps li { padding: 40px 0 0; }
  .steps li::before { left: 0; top: 0; }
  .steps li::after { left: 28px; top: 7px; right: -40px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Testimoni ---------- */
.featured-quote {
  max-width: 880px;
  margin-top: 48px;
  padding-left: clamp(20px, 3vw, 32px);
  border-left: 4px solid var(--lime-deep);
}
.featured-quote blockquote p {
  font-size: clamp(1.25rem, 2.3vw, 1.625rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.featured-quote figcaption { margin-top: 24px; }

.stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 12px;
}
.star {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: none;
}
.featured-quote .stars {
  margin-bottom: 16px;
}
.featured-quote .star {
  width: 22px;
  height: 22px;
}

figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--muted);
}
figcaption strong { color: var(--ink); font-weight: 700; }

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.quote-wall { columns: 1; column-gap: 20px; margin-top: 56px; }
@media (min-width: 720px) { .quote-wall { columns: 2; } }
@media (min-width: 1040px) { .quote-wall { columns: 3; } }

.quote {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  break-inside: avoid;
}
.quote[hidden] { display: none; }
.quote blockquote p { font-size: 1rem; line-height: 1.65; }
.quote figcaption { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote .avatar { width: 40px; height: 40px; font-size: .8125rem; }
.quote:nth-child(3n + 2) .avatar { background: var(--lime); color: var(--ink); }
.quote:nth-child(3n) .avatar { background: var(--teal); color: var(--white); }

.wall-more { display: flex; justify-content: center; margin-top: 12px; }
.wall-more[hidden] { display: none; }

/* ---------- Daftar ---------- */
.daftar-grid { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .daftar-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 72px; align-items: start; }
}
.daftar .section-title { color: var(--paper); }
.daftar .section-lead { color: var(--muted-dark); margin-bottom: 28px; }
.daftar-photo {
  width: 100%;
  max-width: 460px;
  margin-top: 44px;
  border-radius: var(--r-md);
}

.price-card {
  padding: clamp(28px, 4vw, 40px);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
}
.price-label { font-weight: 600; color: var(--muted); }
.price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.price-wrap .price {
  margin-top: 0;
}
.badge-dp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--ink);
  color: var(--lime);
  font-size: .875rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: -0.01em;
}
.price {
  margin-top: 4px;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.price-note { margin-top: 12px; color: var(--muted); }
.program-list { margin-top: 28px; border-top: 1px solid var(--line); }
.program-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.price-pick { margin: 14px 0 28px; font-size: .9375rem; color: var(--muted); }
.price-actions {
  display: grid;
  gap: 12px;
}
.price-card .countdown { text-align: center; margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 calc(48px + env(safe-area-inset-bottom));
  background: #092a23;
  color: var(--muted-dark);
  font-size: .9375rem;
}
.footer-inner { display: grid; gap: 28px; }
.footer-inner img { height: 30px; width: auto; }
.footer-inner address p + p { margin-top: 4px; }
.footer-inner a { color: var(--paper); font-weight: 600; text-underline-offset: 3px; }
.footer-inner .copy { font-size: .875rem; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 56px; }
}

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn-primary { flex: 1; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta, .site-header { transition: none; }
}

@media (max-width: 559px) {
  .text-desktop { display: none; }
  .text-mobile { display: inline; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; padding: 0 16px; white-space: nowrap; }
  .daftar .btn-lg { width: 100%; padding: 0 16px; white-space: nowrap; }
}
