:root {
  --ink: #0E1B3D;
  --ink2: #52628A;
  --line: #E1E8F5;
  --bg: #F4F7FC;
  --blue: #1D4ED8;
  --blue2: #2563EB;
  --sky: #EAF1FF;
  --green: #0F7B5F;
  --green2: #16A37F;
  --amber: #9A5B00;
  --red: #B3261E;
  --r: 22px;
  --shadow: 0 18px 50px rgba(30, 64, 175, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.6 "Plus Jakarta Sans", system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Sora", "Plus Jakarta Sans", sans-serif; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink2); }
.tiny { font-size: 12px; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; font: 700 14px/1 "Plus Jakarta Sans", sans-serif;
  padding: 12px 18px; border-radius: 14px; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--blue2), var(--blue)); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .3); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(37, 99, 235, .38); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: var(--sky); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-lg { padding: 16px 22px; font-size: 15px; border-radius: 16px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 18px "Sora", sans-serif; text-decoration: none; }
.brand img { border-radius: 10px; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--ink2); font-weight: 600; font-size: 14px; }
.menu a:hover { color: var(--blue); }
.top-cta { display: flex; gap: 8px; }
@media (max-width: 760px) {
  .menu { display: none; }
  .top-cta { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F6F9FF, #fff); padding: 56px 0 72px; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.g1 { width: 420px; height: 420px; background: #7DB2FF; top: -120px; left: -120px; }
.g2 { width: 360px; height: 360px; background: #8FD8FF; bottom: -140px; right: -80px; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill { display: inline-block; background: var(--sky); color: var(--blue); font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 18px 0 16px; }
.grad { background: linear-gradient(135deg, var(--blue2), #0EA5E9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17px; color: var(--ink2); max-width: 560px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink2); font-size: 14px; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points svg, .incl li::before { width: 18px; height: 18px; fill: none; stroke: var(--green2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* tiruan HP */
.phone { position: relative; justify-self: center; width: 320px; max-width: 100%; border-radius: 42px; padding: 12px; background: #0E1B3D; box-shadow: 0 40px 80px rgba(14, 27, 61, .28); }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #0E1B3D; z-index: 2; }
.scr { background: var(--bg); border-radius: 32px; padding: 46px 12px 14px; display: grid; gap: 10px; font-size: 12px; }
.scr-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.scr-title { font: 700 17px "Sora", sans-serif; }
.avatar { width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, var(--blue2), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.card-blue { border-radius: 20px; padding: 14px; color: #fff; background: linear-gradient(135deg, #3B82F6, var(--blue)); }
.muted-w { color: #DCEAFF; font-size: 11px; }
.big-w { font: 800 24px "Sora", sans-serif; margin: 4px 0 10px; }
.bar-w { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.bar-w span { display: block; height: 100%; background: #fff; border-radius: 6px; }
.row-w { display: flex; justify-content: space-between; margin-top: 6px; color: #DCEAFF; font-size: 11px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; }
.row { display: flex; justify-content: space-between; align-items: center; }
.small { font-size: 11px; }
.strong { font-weight: 800; margin-bottom: 4px; }
.chip-green { background: #E3F6EF; color: var(--green2); font-weight: 700; padding: 3px 8px; border-radius: 8px; font-size: 11px; }
.big { font: 800 22px "Sora", sans-serif; margin: 6px 0; }
.green { color: var(--green2); }
.bar { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; margin: 4px 0 10px; }
.bar span { display: block; height: 100%; background: var(--green2); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 46px; }
.bars i { flex: 1; background: var(--blue2); border-radius: 3px; }
.bars i.g { background: var(--green2); }
.bars i.e { height: 3px; background: var(--line); }
.sl { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 6px; padding: 5px 0; border-top: 1px solid #EEF2FA; }
.sl b { font-family: "Sora", sans-serif; font-size: 11px; }
.sl span { color: var(--ink2); font-size: 11px; }
.sl em { font-style: normal; font-weight: 700; font-size: 10px; background: #EDF1F9; color: var(--ink2); padding: 3px 7px; border-radius: 8px; }
.sl em.ok { background: #DDF5EC; color: var(--green); }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 36px; }
}

/* ---------- section ---------- */
.sec { padding: 80px 0; }
.sec.alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 10px 0 10px; }
.sec-head p { color: var(--ink2); margin: 0; }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.eyebrow.light { color: #DCEAFF; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.f { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .2s, box-shadow .2s; }
.f:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.f .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; font-size: 22px; }
.f h3 { font-size: 17px; margin: 14px 0 6px; }
.f p { margin: 0; color: var(--ink2); font-size: 14px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .sec { padding: 60px 0; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--blue2), var(--blue)); color: #fff; font: 800 16px "Sora", sans-serif; }
.steps h3 { font-size: 18px; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--ink2); font-size: 14px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- harga ---------- */
.price-wrap { display: flex; justify-content: center; }
.price { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.price-top { background: linear-gradient(135deg, #3B82F6, var(--blue)); color: #fff; padding: 28px 26px; }
.amount { font: 800 48px "Sora", sans-serif; margin: 6px 0 4px; letter-spacing: -.03em; }
.amount small { font-size: 20px; margin-right: 6px; vertical-align: 18px; }
.price-top p { margin: 0; color: #DCEAFF; }
.incl { list-style: none; margin: 0; padding: 22px 26px 6px; display: grid; gap: 10px; }
.incl li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.incl li::before { content: ""; flex: none; background: center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A37F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.price .btn-block { margin: 16px 26px 0; width: calc(100% - 52px); }
.pay-note { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--ink2); font-size: 12px; padding: 14px 20px 22px; text-align: center; }
.pay-note img { border-radius: 4px; }

/* ---------- FAQ ---------- */
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--ink2); }

.cta-end { background: linear-gradient(135deg, #3B82F6, var(--blue)); color: #fff; }
.cta-end h2 { font-size: clamp(26px, 3.6vw, 38px); }
.cta-end p { color: #DCEAFF; margin: 10px 0 24px; }

.foot { border-top: 1px solid var(--line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); color: var(--ink2); font-size: 13px; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot-in span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.foot img { border-radius: 6px; }

/* ---------- checkout ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(14, 27, 61, .5); backdrop-filter: blur(3px); animation: fade .2s; }
.sheet {
  position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow: auto; background: #fff;
  border-radius: 28px 28px 0 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); animation: naik .28s cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 600px) { .modal { align-items: center; } .sheet { border-radius: 28px; } }
@keyframes naik { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 12px; border: 0; background: var(--bg); font-size: 22px; cursor: pointer; color: var(--ink2); }
.steps-mini { display: flex; gap: 6px; margin: 0 44px 14px 0; }
.steps-mini i { height: 5px; flex: 1; border-radius: 4px; background: var(--line); }
.steps-mini i.on { background: var(--blue2); }
.step h3 { font-size: 21px; margin-bottom: 4px; }
.step > p { margin: 0 0 14px; }
.step label { display: block; font-weight: 700; font-size: 13px; margin-top: 12px; }
.step input:not([type=file]) {
  display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line);
  font: 500 16px "Plus Jakarta Sans", sans-serif; color: var(--ink); background: #fff; outline: none;
}
.step input:focus { border-color: var(--blue2); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.step small { display: block; color: var(--ink2); font-weight: 500; font-size: 12px; margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { color: var(--red); font-weight: 600; font-size: 13px; min-height: 18px; margin: 12px 0 8px; }
.tagihan { background: var(--sky); border-radius: 18px; padding: 14px 16px; margin: 12px 0; }
.tagihan-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tagihan b { font: 800 28px "Sora", sans-serif; color: var(--blue); letter-spacing: -.02em; }
.salin { border: 0; background: #fff; color: var(--blue); font-weight: 800; border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.qris { display: flex; justify-content: center; padding: 12px; border: 1px solid var(--line); border-radius: 20px; }
.qris img { width: 240px; height: 240px; image-rendering: pixelated; }
.timer { text-align: center; color: var(--ink2); font-size: 13px; margin: 10px 0 0; }
.upload { position: relative; margin-top: 14px !important; border: 2px dashed #C9D4EA; border-radius: 18px; padding: 16px; text-align: center; cursor: pointer; color: var(--blue); background: #FAFCFF; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload img { max-height: 180px; margin: 10px auto 0; border-radius: 12px; }
.ok-badge { width: 72px; height: 72px; margin: 10px auto 14px; border-radius: 24px; display: grid; place-items: center; font-size: 34px; color: #fff; background: linear-gradient(135deg, var(--green2), var(--green)); }
.ok-badge.wait { background: #FCEFD6; }
#s3 .btn, #s4 .btn { margin-top: 10px; }

.apk-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: none; }
.apk-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.apk-link:hover { text-decoration: underline; }
