/* ============================================================
   HYPOTENUSE EDU — LANDING PAGE STYLES
   Lapisan ke-3: gaya khusus halaman landing.
   Urutan pemuatan WAJIB: tokens.css -> components.css -> landing.css
   Semua warna/font/radius diambil dari token --he-, tanpa hex hardcode.
   ============================================================ */

html { scroll-behavior: smooth; }

.wrap {
  max-width: var(--he-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(244, 246, 240, .92);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-mark {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 34px; height: 34px; display: block; }

.logo-text {
  font-family: var(--he-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--he-ink);
  letter-spacing: -.02em;
}

.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--he-muted);
  text-decoration: none;
  transition: color var(--he-ease);
}

.nav-links a:hover { color: var(--he-ink); }

.nav-cta .he-btn { padding: 10px 22px; font-size: 13.5px; }

/* ── HERO ── */
.hero {
  background: var(--he-cream);
  padding: 72px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto 18px;
}

.hero h1 span { color: #3E7C6F; }

.hero-sub {
  font-size: 16px;
  color: var(--he-muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--he-muted);
  margin-bottom: 56px;
}

.hero-rating svg { width: 15px; height: 15px; fill: var(--he-star); }
.hero-rating b { color: var(--he-ink); }

/* ── BENTO ── */
.bento {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1.15fr .85fr 1.15fr;
  gap: 14px;
  text-align: left;
}

.bento-card {
  border-radius: var(--he-r-lg);
  padding: 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-visual {
  background:
    radial-gradient(circle at 30% 20%, rgba(219, 243, 166, .35) 0%, transparent 45%),
    linear-gradient(150deg, var(--he-forest-3) 0%, var(--he-forest) 60%, #16362F 100%);
  position: relative;
  overflow: hidden;
}

.bento-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 85% 90%, transparent 0 34px, rgba(255, 255, 255, .07) 34px 35px);
}

.bento-visual p {
  position: relative;
  font-family: var(--he-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}

.bento-visual p span { color: var(--he-lime); }

.bento-dark { background: var(--he-forest); }

.bento-num {
  font-family: var(--he-font-heading);
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.bento-dark p, .bento-lime p { font-size: 13px; line-height: 1.5; margin: 0; }
.bento-dark p { color: var(--he-muted-2); }

.bento-lime { background: var(--he-lime); }
.bento-lime .bento-num { color: var(--he-ink); }
.bento-lime p { color: #47523A; }

.bento-white {
  background: var(--he-white);
  justify-content: space-between;
  box-shadow: var(--he-shadow-sm);
}

.bento-white-head { display: flex; align-items: center; gap: 8px; }

.bento-white-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--he-lime-soft);
  display: flex; align-items: center; justify-content: center;
}

.bento-white-icon svg { width: 15px; height: 15px; stroke: var(--he-forest); fill: none; }

.bento-white-label { font-size: 12.5px; font-weight: 600; color: var(--he-muted); }

.bento-score {
  font-family: var(--he-font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--he-ink);
  line-height: 1;
}

.bento-up { font-size: 12.5px; color: var(--he-muted); }
.bento-up b { color: var(--he-success); font-weight: 700; }

.bento-bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-top: 10px; }

.bento-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--he-border); }

.bento-bars i:nth-child(1) { height: 40%; }
.bento-bars i:nth-child(2) { height: 60%; }
.bento-bars i:nth-child(3) { height: 48%; background: var(--he-forest); }
.bento-bars i:nth-child(4) { height: 78%; background: var(--he-forest); }
.bento-bars i:nth-child(5) { height: 100%; background: var(--he-forest); }

.bento-dark-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: auto;
}

.bento-dark-icon svg { width: 16px; height: 16px; stroke: var(--he-lime); fill: none; }

.bento-dark-text {
  font-family: var(--he-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-top: 16px;
}

/* ── SECTION UMUM ── */
.landing-section { padding: var(--he-section-y) 0; }

.sec-center { text-align: center; max-width: 620px; margin: 0 auto 52px; }

.sec-center h2 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }

.sec-center p { font-size: 15px; color: var(--he-muted); margin: 0; }

/* ── FITUR (section forest) ── */
.dark-section { background: var(--he-forest); }

.dark-section .sec-center h2 { color: #fff; }
.dark-section .sec-center p { color: var(--he-muted-2); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dark-card {
  background: var(--he-forest-2);
  border-radius: var(--he-r);
  padding: 26px;
  text-decoration: none;
  display: block;
  transition: background var(--he-ease), transform var(--he-ease);
}

.dark-card:hover { background: var(--he-forest-3); transform: translateY(-3px); }

.dark-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}

.dark-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--he-r-sm);
  background: rgba(219, 243, 166, .12);
  display: flex; align-items: center; justify-content: center;
}

.dark-card-icon svg { width: 20px; height: 20px; stroke: var(--he-lime); fill: none; }

.dark-card-arrow svg {
  width: 16px; height: 16px;
  stroke: rgba(255, 255, 255, .4); fill: none;
  transition: stroke var(--he-ease), transform var(--he-ease);
}

.dark-card:hover .dark-card-arrow svg { stroke: var(--he-lime); transform: translate(2px, -2px); }

.dark-card h3 { font-size: 18px; color: #fff; margin: 0 0 8px; }

.dark-card p { font-size: 13.5px; color: var(--he-muted-2); line-height: 1.6; margin: 0; }

/* ── BENEFIT ── */
.benefit .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.benefit-visual {
  background: var(--he-cream);
  border-radius: var(--he-r-lg);
  padding: 44px;
  position: relative;
}

.panel {
  background: var(--he-white);
  border-radius: var(--he-r);
  padding: 22px;
  box-shadow: var(--he-shadow-md);
}

.panel-title { font-size: 12.5px; font-weight: 600; color: var(--he-muted); margin-bottom: 4px; }

.panel-score {
  font-family: var(--he-font-heading);
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.panel-score small {
  font-family: var(--he-font-body);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--he-success);
  background: var(--he-lime-soft);
  border-radius: var(--he-r-pill);
  padding: 2px 8px;
}

.panel-row { margin-bottom: 12px; }

.panel-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--he-muted);
  margin-bottom: 5px;
}

.panel-track { height: 7px; border-radius: var(--he-r-pill); background: #ECEFE9; overflow: hidden; }

.panel-fill { height: 100%; border-radius: var(--he-r-pill); background: var(--he-forest); }

.panel-float {
  position: absolute;
  right: 20px;
  bottom: -22px;
  width: 200px;
  background: var(--he-white);
  border-radius: var(--he-r);
  padding: 16px;
  box-shadow: var(--he-shadow-lg);
}

.panel-float .bento-white-head { margin-bottom: 8px; }
.panel-float .bento-score { font-size: 26px; }
.panel-float .bento-up { margin-top: 2px; }

.benefit-text h2 { font-size: 36px; font-weight: 800; margin: 0 0 12px; }

.benefit-text > p { font-size: 15px; color: var(--he-muted); margin: 0 0 26px; }

.benefit-item { display: flex; gap: 14px; margin-bottom: 20px; }

.benefit-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--he-forest);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-check svg { width: 11px; height: 11px; stroke: var(--he-lime); fill: none; }

.benefit-item h3 { font-size: 15.5px; margin: 0 0 4px; }

.benefit-item p { font-size: 13.5px; color: var(--he-muted); margin: 0; }

/* ── PAKET ── */
.paket-section { background: var(--he-deep); }

.paket-section .sec-center h2 { color: #fff; }
.paket-section .sec-center p { color: var(--he-muted-2); }

.paket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto 16px;
}

.paket {
  background: var(--he-deep-2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--he-r);
  padding: 30px;
}

.paket h3 { font-size: 19px; color: #fff; margin: 0 0 8px; }

.paket-desc { font-size: 13px; color: var(--he-muted-2); margin: 0 0 20px; }

.paket-price {
  font-family: var(--he-font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.paket-price small { font-family: var(--he-font-body); font-size: 13px; font-weight: 500; color: var(--he-muted-2); }

.paket .he-btn { width: 100%; margin-bottom: 22px; }

.paket-divider {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--he-muted-2);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.paket-divider::before, .paket-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .08);
}

.paket ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; }

.paket li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: #C8D4CF;
  align-items: flex-start;
}

.paket li svg { width: 15px; height: 15px; stroke: var(--he-lime); fill: none; flex-shrink: 0; margin-top: 3px; }

.paket-wide {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(140deg, #1B423A 0%, var(--he-deep-2) 100%);
  border: 1px solid rgba(219, 243, 166, .15);
  border-radius: var(--he-r);
  padding: 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.paket-wide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 50% 140%, transparent 0 46px, rgba(219, 243, 166, .05) 46px 47px);
}

.paket-wide h3 { font-size: 21px; color: #fff; margin: 0 0 8px; position: relative; }

.paket-wide p {
  font-size: 13.5px;
  color: var(--he-muted-2);
  max-width: 420px;
  margin: 0 auto 20px;
  position: relative;
}

.paket-wide .he-btn { position: relative; }

/* ── JALUR ── */
.jalur .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.jalur-text h2 { font-size: 36px; font-weight: 800; margin: 0 0 12px; }

.jalur-text p { font-size: 15px; color: var(--he-muted); margin: 0 0 26px; }

.jalur-panel {
  background: var(--he-lime);
  border-radius: var(--he-r-lg);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jalur-panel::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 56px, rgba(30, 69, 62, .10) 56px 57px);
}

.chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 400px;
}

.chips .he-chip:nth-child(2) { transform: rotate(-2deg); }
.chips .he-chip:nth-child(4) { transform: rotate(2deg); }
.chips .he-chip:nth-child(5) { transform: rotate(-1.5deg); }

/* ── CTA ── */
.cta { background: var(--he-deep); text-align: center; }

.cta h2 { font-size: 40px; font-weight: 800; color: #fff; margin: 0 0 14px; }

.cta p { font-size: 15px; color: var(--he-muted-2); max-width: 480px; margin: 0 auto 30px; }

.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { background: #0A1B17; padding: 60px 0 26px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer .logo-text { color: #fff; }

.footer-desc { font-size: 13px; color: #7E938C; margin: 14px 0 18px; max-width: 300px; line-height: 1.7; }

.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.footer-contact a, .footer-contact span { color: #7E938C; text-decoration: none; }
.footer-contact a:hover { color: #fff; }

.footer-col-title {
  font-family: var(--he-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; }

.footer-col a { font-size: 13px; color: #7E938C; text-decoration: none; transition: color var(--he-ease); }
.footer-col a:hover { color: var(--he-lime); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #5C6E67;
}

.footer-bottom a { color: #5C6E67; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ── REVEAL ── */
.rv { opacity: 0; transform: translateY(12px); animation: rv .55s ease forwards; }
.rv-1 { animation-delay: .05s; }
.rv-2 { animation-delay: .13s; }
.rv-3 { animation-delay: .21s; }
.rv-4 { animation-delay: .29s; }
.rv-5 { animation-delay: .37s; }

@keyframes rv { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .rv { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-visual { grid-column: 1 / -1; min-height: 160px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .benefit .wrap, .jalur .wrap { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 52px 0 64px; }
  .hero h1 { font-size: 34px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card { min-height: 150px; }
  .cards-grid { grid-template-columns: 1fr; }
  .sec-center h2, .benefit-text h2, .jalur-text h2 { font-size: 28px; }
  .cta h2 { font-size: 30px; }
  .paket-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .benefit-visual { padding: 24px; }
  .panel-float { position: static; width: 100%; margin-top: 16px; }
}