:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --card: #ffffff;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #eff6ff;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; font-weight: 600; }
a:hover { color: var(--primary-dark); }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.icon { width: 20px; height: 20px; display: block; flex: none; }
.badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 14px;
}

.topbar {
  background: #0e1b2a;
  color: #d5dee6;
  font-size: 0.82rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.mark {
  width: auto;
  height: 38px;
  display: block;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
}
.menu { display: flex; gap: 4px; align-items: center; }
.menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 999px;
}
.menu a[aria-current="page"] { background: #e7f5f3; color: var(--teal-dark); }
.nav-wa { padding: 0 14px; min-height: 38px; margin-left: 6px; }

.hero {
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(224, 138, 18, 0.22), transparent 60%),
    linear-gradient(165deg, #0c3f45 0%, #0f766e 70%);
  color: #fff;
  padding: 56px 0 72px;
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.kicker {
  display: inline-flex;
  margin: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 14px 0 12px;
}
.lede { font-size: 1.05rem; max-width: 38rem; color: rgba(255,255,255,0.9); margin: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.btn-amber { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3); }
.btn-amber:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-teal { background: var(--primary); color: #fff; }
.btn-teal:hover { background: var(--primary-dark); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.hero-card {
  background: var(--primary-dark);
  color: #fff;
  border-radius: 20px;
  padding: 8px 18px 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}
.eyebrow {
  margin: 14px 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-list { list-style: none; margin: 8px 0 12px; padding: 0; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.price-list strong { display: block; line-height: 1.2; color: #fff; }
.price-list small { color: rgba(255,255,255,0.7); font-weight: 650; }
.price-list b { font-size: 0.98rem; white-space: nowrap; }
.hero-card > a { font-weight: 700; color: #fff; text-decoration: none; }
.hero-card > a:hover { color: var(--primary-light); }

.facts {
  list-style: none;
  margin: -36px 0 8px;
  padding: 0;
  display: grid;
  gap: 12px;
  position: relative;
}
.facts li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.facts b { display: block; font-size: 1.05rem; }
.facts span { color: var(--muted); font-size: 0.86rem; }

.fab-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.fab-wa .icon { width: 32px; height: 32px; }

.val-card {
  border: 1px solid var(--line);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.6);
}

.hero-speed {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 700;
}
.hero-speed b {
  font-size: 1.4rem;
  font-weight: 800;
}
.hero-price { font-size: 1.15rem; color: #fff; }
.hero-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent) !important;
}

main { padding: 12px 0 72px; }
section { margin: 28px 0; }
.section-bg { background: #fff; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; margin: 0 0 8px; }
h3 { margin: 0 0 6px; font-size: 1.05rem; }
.sub { color: var(--muted); margin-top: 0; max-width: 44rem; }
.grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-2, .grid-3 { grid-template-columns: 1fr; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.speed {
  color: var(--primary);
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.speed-num {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.speed-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}
.price { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0; }
.price small { font-size: 0.85rem; font-weight: 650; color: var(--muted); }
.fine-ink { color: var(--muted); font-size: 0.88rem; }

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
.plans-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 auto;
  max-width: 600px;
}
.btn-nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;
  z-index: 5;
  transition: transform 0.15s, background 0.15s;
  position: absolute;
}
.btn-nav[aria-label="Sebelumnya"] { left: -12px; }
.btn-nav[aria-label="Berikutnya"] { right: -12px; }
.btn-nav:hover { background: var(--primary-light); transform: scale(1.05); }
.btn-nav:active { transform: scale(0.95); }
@media (max-width: 800px) {
  .btn-nav { display: none; }
}
.plans-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 16px;
  padding: 8px 16px 16px;
  margin: 0 -16px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
}
/* Tambahkan pseudo-element agar kartu terujung bisa digeser sampai ke tengah */
.plans-scroll::before,
.plans-scroll::after {
  content: "";
  flex: 0 0 calc(50% - 40% - 16px); /* Setengah lebar layar dikurangi setengah lebar kartu */
}
.plans-scroll::-webkit-scrollbar {
  display: none;
}
.plans-scroll .plan {
  flex: 0 0 80%;
  max-width: 80%;
  scroll-snap-align: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
  cursor: pointer;
}
.plans-scroll .plan:not(.active-plan) {
  opacity: 0.4;
  transform: scale(0.60);
}
.plans-scroll .plan.active-plan {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.15);
  border-color: var(--primary);
}
.plan { display: flex; flex-direction: column; position: relative; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.featured { border: 2.5px solid var(--accent); }
.ribbon {
  align-self: flex-start;
  margin: 0 0 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.steps { display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.step b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.step p { margin: 0; color: var(--muted); }

.note {
  background: #fff8ee;
  border: 1px solid #f3ddb4;
  border-radius: 14px;
  padding: 14px 16px;
  color: #6b4a16;
}
.note p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f4f8f8; font-size: 0.82rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.pay-logos li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 78px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.1;
  text-align: center;
}
.pay-logos img {
  max-height: 24px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0;
}
summary { cursor: pointer; font-weight: 700; }
summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input, textarea {
  width: 100%;
  font: inherit;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  margin-bottom: 12px;
}
input:focus, textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.form-card { margin-top: 16px; }
.contact-grid { display: grid; gap: 16px; align-items: stretch; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.contact-list .badge { margin: 0; }
.contact-list small { display: block; color: var(--muted); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-list p { margin: 2px 0 0; }
.map {
  width: 100%;
  min-height: 360px;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #e8eef2;
}
.page-hero { padding: 16px 0 8px; }
.page-hero h1 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.crumbs { color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; }
.prose h2 { margin-top: 28px; }
.prose h3 { margin-top: 18px; }
.footer {
  background: #0e1b2a;
  color: #d5dee6;
  padding: 40px 0 20px;
}
.footer a { color: #fff; }
.footer h2 { color: #fff; font-size: 0.95rem; }
.fine { color: #93a3b3; font-size: 0.85rem; }
.legal-row { display: flex; flex-wrap: wrap; gap: 10px 16px; padding-top: 8px; }
hr.fade { border: 0; border-top: 1px solid #24364a; margin: 20px 0; }
.footer .grid-4 { display: grid; gap: 22px; }

@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .plans-wrapper { max-width: 720px; }
  .plans-scroll { padding-bottom: 32px; margin: 0; padding-left: 0; padding-right: 0; }
  .plans-scroll::before, .plans-scroll::after { flex: 0 0 calc(50% - 23% - 8px); }
  .plans-scroll .plan { flex: 0 0 46%; max-width: 46%; }
  .steps-5 { grid-template-columns: repeat(5, 1fr); }
  .steps-5 .step { display: block; }
  .steps-5 .step b { margin-bottom: 10px; }
}
@media (min-width: 980px) {
  .footer .grid-4 { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
@media (max-width: 860px) {
  .nav-btn { display: inline-flex; }
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-toggle:checked ~ .menu { display: flex; }
  .nav-wa { margin: 6px 0 0; }
}
