:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-soft: #fff4ea;
  --text: #111111;
  --muted: #4b5563;
  --surface: #ffffff;
  --soft: #f8fafc;
  --border: #eceef2;
  --shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

.container { width: min(1120px, 92%); margin: 0 auto; }
.section-pad { padding: 4.3rem 0; }
.section-soft { background: var(--soft); }

.topbar {
  text-align: center;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.88rem;
  background: linear-gradient(135deg, #ffb066, #f97316);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  background: #111827;
  color: #fff;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus-visible { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-wrap {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}


.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-900);
  font-weight: 800;
  text-decoration: none;
}

.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-600);
}

.logo__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



h1, h2, h3 { margin: 0 0 0.75rem; line-height: 1.2; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }

.eyebrow {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: var(--orange-dark);
}

.hero-grid,
.trust-wrap,
.value-grid,
.split-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

.subheadline,
.pain-hook,
.trust-copy p { color: var(--muted); }
.pain-hook { font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0.5rem;
}

.limited { color: var(--orange-dark); font-weight: 700; }

.hero-visual,
.panel,
.trial-box,
.testimonial,
.trust-wrap,
.final-card,
.value-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-visual,
.panel,
.trial-box,
.final-card { padding: 1.1rem; }

.placeholder-card {
  border: 1px dashed #f59e0b;
  border-radius: 14px;
  overflow: hidden;
  background: #fff7ef;
}

.placeholder-card img {
  width: 100%;
  height: auto;
  display: block;
}

.placeholder-fallback {
  text-align: center;
  padding: 1rem;
  color: #9a3412;
  font-weight: 600;
  font-size: 0.9rem;
}

.placeholder-card.small { max-width: 460px; }

.stat-chip {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.84rem;
}

.trust-wrap {
  padding: 1rem;
}

.value-item {
  padding: 0.82rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.value-item span { font-size: 1.25rem; }
.value-item p { margin: 0; font-weight: 600; }

.panel--pain ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 1rem;
}

.benefit-list span {
  background: var(--orange-soft);
  color: var(--orange-dark);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
}

.testimonial {
  margin: 0;
  padding: 1rem;
  color: var(--muted);
}

.testimonial cite {
  display: block;
  margin-top: 0.7rem;
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}

.final-card {
  text-align: center;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.74rem 1.1rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(130deg, var(--orange), var(--orange-dark));
}
.btn--ghost {
  border-color: #ffd6b3;
  color: var(--orange-dark);
  background: #fff;
}
.btn--small { display: none; }
.btn--big { padding: 0.9rem 1.4rem; }

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  text-decoration: none;
  color: #fff;
  background: #25d366;
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0 4rem;
}

.footer-wrap {
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

.placeholder-card.scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
}

.scroll-content {
  display: flex;
  gap: 10px;
}

.scroll-content img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.placeholder-card.scroll-x::after {
  content: "→ swipe";
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 12px;
  color: #ea580c;
}

.countdown-box {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 1rem 0;
}

.time {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 60px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.time span {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ea580c;
}

.time small {
  display: block;
  font-size: 0.7rem;
  color: #6b7280;
}

.quota {
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  color: #dc2626;
}

.countdown-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 1rem 0;
}

.time {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  min-width: 60px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.time span {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ea580c;
}

.quota {
  color: #dc2626;
  font-weight: 700;
  margin: 0.5rem 0;
}

/* PROGRESS BAR */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

#progress {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, #f97316, #ea580c);
  transition: width 0.5s ease;
}

/* NOTIF POPUP */
.notif {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  display: none;
}


.countdown-wrapper {
  background: #fff4ea;
  border-radius: 16px;
  padding: 16px;
  margin: 1rem 0;
  border: 1px solid #ffd6b3;
}

.next-class {
  font-weight: 700;
  color: #9a3412;
  margin-bottom: 10px;
}

.countdown-box.big {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.countdown-box.big .time {
  padding: 14px;
  min-width: 70px;
}

.countdown-box.big span {
  font-size: 1.8rem;
}

.quota.big {
  font-size: 1rem;
  color: #dc2626;
  font-weight: 800;
}
.link-card {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: #f97316;
}

.link-card:active {
  transform: scale(0.98);
}

.arrow {
  margin-left: 6px;
  color: #f97316;
  font-weight: bold;
}

.link-card {
  display: flex; /* ini kunci utama */
  align-items: center;
  justify-content: space-between;
  height: 100%; /* biar full tinggi */
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.value-item {
  padding: 20px;
  display: flex;
  align-items: flex-start; /* penting */
  gap: 12px;
}

.hanhub-footer {
  background: #eb820a; /* hijau terang */
  padding: 60px 0 30px;
  color: #fff;
}

.footer-container {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.footer-col h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

.topbar span {
  font-weight: 800;
  margin: 0 2px;
}

#core-value-section {
  background-image: url('assets/mulai1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  padding: 80px 0;
}

#core-value-section {
  position: relative;
}

#core-value-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.728),
    rgba(255, 255, 255, 0.082),
    rgba(255, 255, 255, 0.016)
  ); 
}

#core-value-section > * {
  position: relative;
}
#core-value-section {
  background-attachment: fixed;
}

.trial-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  background: #fff;
  border-radius: 20px;
  padding: 40px;
}

/* kiri (teks) */
.trial-left {
  flex: 1.2;
}

/* kanan (gambar) */
.trial-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.trial-right img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
}



@media (min-width: 820px) {
  .btn--small { display: inline-flex; }
  .hero-grid,
  .split-grid,
  .trust-wrap { grid-template-columns: 1.1fr 0.9fr; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =========================
   MOBILE FIX (WAJIB)
========================= */
@media (max-width: 768px) {

  /* SECTION PADDING */
  .section-pad {
    padding: 2.5rem 0;
  }

  /* HERO TEXT */
  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  /* BUTTON FULL WIDTH */
  .btn {
    width: 100%;
    text-align: center;
  }

  /* HERO ACTION */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* VALUE GRID → 1 KOLOM */
  .value-grid {
    grid-template-columns: 1fr;
  }

  /* TRIAL BOX STACK (INI PALING PENTING) */
  .trial-box {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .trial-left {
    order: 1;
  }

  .trial-right {
    order: 2;
  }

  .trial-right img {
    max-width: 100%;
    margin-top: 16px;
  }

  /* BENEFIT LIST */
  .benefit-list {
    justify-content: center;
  }

  /* COUNTDOWN */
  .countdown-box {
    flex-wrap: wrap;
  }

  .time {
    min-width: 48px;
    padding: 8px;
  }

  /* FOOTER FIX */
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  /* WA FLOAT */
  .wa-float {
    right: 10px;
    bottom: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  /* NOTIF */
  .notif {
    left: 10px;
    right: 10px;
    font-size: 0.8rem;
  }
}