/* Palet disamakan dengan landing.css */
:root {
  --bg: #FBF6EE;
  --card: #FFFDF9;
  --ink: #2A2340;
  --muted: #5B5470;
  --line: #E8DCCB;
  --accent: #3E3368;
  --accent-soft: #F1EDFA;
  --accent-ink: #3E3368;
  --warm: #E46F4E;
  --ok: #6E9C7C;
  --radius: 16px;
}
h1, h2, h3, .brand, .score-big, .price .now { font-family: "Fraunces", Georgia, serif; letter-spacing: -.01em; }
a.brand { text-decoration: none; }
.eyebrow { color: var(--warm); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: rgba(251, 246, 238, .92);
  backdrop-filter: blur(6px);
  max-width: 560px; width: 100%; margin: 0 auto;
}
.brand { font-weight: 800; letter-spacing: -.02em; font-size: 20px; color: var(--accent-ink); }
.icon-btn { border: 0; background: var(--card); width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--ink); }
.progress { flex: 1; display: flex; align-items: center; gap: 10px; }
.progress-bar { flex: 1; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
#progressFill { height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }
#progressLabel { font-size: 12px; color: var(--muted); min-width: 52px; text-align: right; }

.screen { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 8px 20px 40px; animation: in .25s ease; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

h1 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; margin: 18px 0 12px; }
h2 { font-size: 23px; line-height: 1.3; margin: 18px 0 10px; letter-spacing: -.01em; }
h3 { font-size: 17px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }

.btn {
  display: block; width: 100%; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: inherit; font-weight: 700;
  padding: 16px; border-radius: 14px; font-size: 16px; margin-top: 16px;
  transition: transform .1s ease, opacity .2s;
}
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--muted); font-weight: 500; margin-top: 6px; }
.btn.warm { background: var(--warm); }

.opts { display: grid; gap: 10px; margin-top: 18px; }
.opt {
  text-align: left; border: 1.5px solid var(--line); background: var(--card);
  padding: 15px 16px; border-radius: 14px; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--accent); }
.opt.sel { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

.card { background: var(--card); border-radius: var(--radius); padding: 18px; margin: 14px 0; border: 1px solid var(--line); }
.hero-emoji { font-size: 56px; margin: 24px 0 4px; }
.pill { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 800; }

input[type=text], input[type=email] {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  font: inherit; font-size: 16px; background: var(--card); color: var(--ink);
}
input:focus { outline: none; border-color: var(--accent); }
.err { color: #d64545; font-size: 13px; margin-top: 6px; min-height: 18px; }

.bar-row { margin: 12px 0; }
.bar-row .top-line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.bar { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar > div { height: 100%; border-radius: 99px; background: var(--accent); width: 0; transition: width .8s ease; }

.score-big { font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.level { font-weight: 700; }
.level.tinggi { color: var(--warm); }
.level.sedang { color: #d99a00; }
.level.rendah { color: var(--ok); }

.calc-step { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc-step .st { color: var(--muted); }
.calc-step.done .st { color: var(--ok); font-weight: 700; }

.week { border-left: 3px solid var(--accent); padding-left: 12px; margin: 12px 0; }
.locked { position: relative; filter: blur(3px); user-select: none; opacity: .7; }

.price { display: flex; align-items: baseline; gap: 10px; }
.price .now { font-size: 30px; font-weight: 800; }
.price .was { text-decoration: line-through; color: var(--muted); }

.breath { width: 160px; height: 160px; margin: 20px auto; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-ink); font-weight: 700; transition: transform 4s ease-in-out; }
.breath.grow { transform: scale(1.35); }

.foot { max-width: 560px; margin: 0 auto; padding: 16px 20px 28px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Halaman hasil (hasil → pratinjau → checkout) ---------- */
.r-hero { margin: 10px 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(42,35,64,.08); }
.r-art { position: relative; aspect-ratio: 4 / 3; }
.r-art > svg { position: absolute; inset: 0; }
.r-body { padding: 20px 20px 16px; text-align: center; }
.r-group { margin: 0; color: var(--warm); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.r-type { font-size: 34px; margin: 4px 0 8px; color: var(--accent); }
.r-quote { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 17px; color: var(--muted); margin: 0 0 4px; }
.r-under { margin: 8px 0 0; }
.r-actions { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.r-actions button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 99px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.r-code { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-family: "Fraunces", serif; margin-right: 8px; font-size: 13px; }
.bar > div.hot { background: var(--warm); }
.r-note { margin-top: 14px; background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--muted); }
.r-note b { color: var(--ink); }

.r-preview { margin: 28px 0 8px; }
.r-preview h2 { font-size: 28px; margin-top: 6px; }
.r-frame { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #D9D2C7; margin-top: 16px; box-shadow: 0 10px 30px rgba(42,35,64,.1); }
.r-frame iframe { display: block; width: 100%; height: 900px; border: 0; }
.r-lock { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding: 0 24px 26px; text-align: center;
  background: linear-gradient(to bottom, rgba(251,246,238,0), rgba(251,246,238,.92) 45%, var(--bg)); }
.r-lock span { font-size: 26px; }
.r-lock small { color: var(--muted); font-size: 13px; max-width: 340px; }

.r-toc { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 2px; }
.r-toc li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.r-toc li span { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.r-toc li i { margin-left: auto; font-style: normal; font-size: 13px; opacity: .6; }
.r-toc li.open { color: var(--ink); font-weight: 600; }
.r-toc li.open span { background: var(--accent); color: #fff; }
.r-toc li.extra span { background: var(--warm); color: #fff; }

.r-buy { border: 2px solid var(--accent); scroll-margin-top: 70px; }
.r-buy .price { flex-wrap: wrap; margin-top: 6px; }
.r-buy .price .now { font-size: 36px; color: var(--accent); }
.r-off { background: var(--warm); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.r-order { background: var(--bg); border-radius: 12px; padding: 12px 14px; margin: 16px 0; font-size: 14px; }
.r-order div { display: flex; justify-content: space-between; padding: 4px 0; }
.r-order .tot { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; font-weight: 800; font-size: 16px; }

.r-sticky { position: fixed; left: 50%; bottom: 14px; transform: translate(-50%, 140%); width: min(520px, calc(100% - 24px)); z-index: 20;
  display: flex; align-items: center; gap: 12px; background: var(--accent); color: #fff; border-radius: 18px; padding: 10px 10px 10px 18px; box-shadow: 0 10px 30px rgba(42,35,64,.3); transition: transform .3s ease; }
.r-sticky.show { transform: translate(-50%, 0); }
.r-sticky div { display: grid; line-height: 1.2; }
.r-sticky s { font-size: 12px; opacity: .7; }
.r-sticky b { font-size: 18px; font-family: "Fraunces", serif; }
.r-sticky button { margin-left: auto; border: 0; background: var(--warm); color: #fff; font: inherit; font-weight: 700; padding: 12px 18px; border-radius: 12px; cursor: pointer; }

/* Timer promo (sungguhan, per pembeli) */
.r-timer { margin-top: 8px; display: grid; justify-items: center; gap: 2px; text-align: center; padding: 12px 14px; border-radius: 16px; border: 1.5px solid #E9C98F; background: linear-gradient(180deg, #FFF4DC, #FCE9C4); }
.r-timer b { font-family: "Fraunces", serif; font-size: 34px; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.r-timer small { font-size: 12px; color: var(--muted); }
.r-timer.over { background: var(--card); border-color: var(--line); }
.r-timer.over b { font-size: 17px; }

/* Skor sekarang → target */
.r-gap h2 { font-size: 22px; }
.r-rings { display: flex; align-items: center; justify-content: center; gap: 14px; }
.r-ring { position: relative; width: 120px; text-align: center; }
.r-ring svg { width: 120px; height: 120px; display: block; }
.r-ring div { position: absolute; top: 0; left: 0; width: 120px; height: 120px; display: grid; place-content: center; line-height: 1; }
.r-ring b { font-family: "Fraunces", serif; font-size: 34px; }
.r-ring small { font-size: 12px; color: var(--muted); }
.r-ring p { margin: 6px 0 0; font-size: 13px; font-weight: 700; }
.r-arrow { color: var(--ok); font-weight: 800; letter-spacing: -2px; }
.r-track { position: relative; height: 10px; border-radius: 99px; background: var(--line); margin: 16px 0 10px; overflow: hidden; }
.r-track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--warm); border-radius: 99px; }
.r-track b { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, var(--ok) 0 6px, transparent 6px 9px); }
.r-pill { margin: 0 auto; width: fit-content; background: #E6F1E9; color: #3F7353; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 99px; }

/* Temuan dengan teks terkunci */
.r-found { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 0; }
.r-found li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.r-found li::before { content: "🔍"; font-size: 14px; position: absolute; left: 0; top: 10px; }
.veil { display: inline-block; vertical-align: middle; line-height: 1.5; padding: 0 8px; border-radius: 99px; background: #E6F1E9; color: #3F7353; filter: blur(3px); user-select: none; letter-spacing: 2px; }

/* Daftar isi dengan penjelasan */
.r-toc li { align-items: flex-start; }
.r-toc li div { display: grid; gap: 2px; }
.r-toc li div b { font-weight: 600; color: var(--ink); }
.r-toc li div small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.r-toc li.open div b { color: var(--accent); }
.r-quote-card { margin: 12px 0 0; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-style: italic; }
.r-quote-card cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--muted); }

/* Paket tambahan */
.r-buy-wrap { scroll-margin-top: 70px; }
.r-addon { position: relative; border: 1.5px solid var(--line); }
.r-addon.on { border-color: var(--ok); background: #F3F9F4; }
.r-badge { position: absolute; top: -10px; right: 14px; background: var(--warm); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; }
.r-addon-head { display: flex; justify-content: space-between; align-items: baseline; }
.r-addon-head > b { font-family: "Fraunces", serif; font-size: 22px; color: var(--accent); }
.r-addon-head span { display: grid; text-align: right; }
.r-addon-head em { font-style: normal; font-weight: 800; color: var(--ok); }
.r-addon-head s { font-size: 12px; color: var(--muted); }
.r-addon-title { font-weight: 700; margin: 4px 0 0; }
.r-addon .checks { font-size: 14px; }
.r-addon-btn { width: 100%; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid var(--ok); background: var(--card); color: #3F7353; font: inherit; font-weight: 700; padding: 12px; border-radius: 12px; cursor: pointer; }
.r-addon-btn .box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--ok); display: grid; place-items: center; }
.r-addon.on .r-addon-btn { background: var(--ok); color: #fff; }
.r-addon.on .r-addon-btn .box { background: #fff; border-color: #fff; }
.r-addon.on .r-addon-btn .box::after { content: "✓"; color: var(--ok); font-size: 12px; font-weight: 900; }
.r-addon + .r-addon { margin-top: 20px; }

/* Metode pembayaran */
.r-pay { display: grid; gap: 8px; }
.r-pay button { display: flex; align-items: center; gap: 12px; text-align: left; border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 11px 14px; font: inherit; cursor: pointer; color: var(--ink); }
.r-pay button span:nth-child(2) { display: grid; line-height: 1.25; }
.r-pay button small { color: var(--muted); font-size: 12px; }
.r-pay .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 18px; }
.r-pay button.on { border-color: var(--ok); background: #F3F9F4; }
.r-pay button.on .dot { border: 5px solid var(--ok); }
.r-pay em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: #3F7353; background: #E6F1E9; padding: 3px 8px; border-radius: 99px; }

/* ---------- Tarik ulur: kartu hasil sementara ---------- */
.tz { position: relative; overflow: hidden; background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 10px 30px -18px rgba(62,51,104,.45); }
.tz::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--warm), var(--accent)); }
.tz p { margin: 10px 0 0; font-size: 15px; }
.tz-top { display: flex; gap: 14px; align-items: center; }
.tz-art { --b: 8px; position: relative; flex: none; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: var(--accent-soft); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--warm); }
.tz-art.sm { width: 74px; height: 74px; }
.tz-art.xs { width: 44px; height: 44px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--warm); }
.tz-img { position: absolute; inset: -12%; filter: blur(var(--b)) saturate(.7); transform: scale(1.05); }
.tz-img svg { width: 100%; height: 100%; display: block; }
.tz-q { position: absolute; inset: 0; display: grid; place-items: center; font: 800 34px "Fraunces", serif; color: #fff; text-shadow: 0 2px 10px rgba(42,35,64,.5); animation: tzq 2.4s ease-in-out infinite; }
.tz-art.sm .tz-q { font-size: 26px; } .tz-art.xs .tz-q { font-size: 18px; }
@keyframes tzq { 50% { transform: scale(1.15); opacity: .75; } }
.tz-k { margin: 0 !important; font-size: 12px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--warm); }
.tz-title { margin: 2px 0 0 !important; font: 700 19px/1.25 "Fraunces", serif !important; }
.tz-bar { height: 8px; border-radius: 99px; background: var(--accent-soft); margin-top: 8px; overflow: hidden; }
.tz-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--warm), #F2A65A); transition: width 1.2s cubic-bezier(.2,.8,.2,1) .2s; }
.tz.in .tz-bar i, .in .tz-bar i { width: var(--w); }
.tz-pct { margin: 4px 0 0 !important; font-size: 13px !important; color: var(--muted); }
.tz-pct b { color: var(--ink); }
.tz-hl { color: var(--warm); }
.tz-areas { display: grid; gap: 8px; margin-top: 12px; }
.tz-areas div { display: grid; grid-template-columns: 130px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; }
.tz-areas span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-areas i { display: block; height: 8px; border-radius: 99px; background: #D9D1EA; width: 0; transition: width 1s ease .4s; }
.tz-areas i.hot { background: var(--warm); }
.in .tz-areas i { width: var(--w); }
.tz-areas b { text-align: right; }
.tz-list { margin: 10px 0 0; padding-left: 18px; font-size: 15px; display: grid; gap: 4px; }
.tz-hook { font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 10px 12px; border-radius: 12px; }
.tz-vs { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.tz-vs > div { display: grid; justify-items: center; gap: 6px; font-size: 14px; }
.tz-vs > span { font: italic 600 15px "Fraunces", serif; color: var(--muted); }
.tz-mini { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px dashed var(--line); animation: rise .5s ease both; }
.tz-mini div { display: grid; line-height: 1.3; }
.tz-mini b { font-size: 14px; } .tz-mini small { font-size: 12px; color: var(--muted); }
.sec-art { height: 190px; border-radius: 20px; overflow: hidden; position: relative; }
.sec-art svg { width: 100%; height: 100%; display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Layar analisis ---------- */
.an h2 { font-size: 24px; }
.an-orb { position: relative; width: 210px; height: 210px; margin: 18px auto 4px; }
.an-art { position: absolute; inset: 22px; border-radius: 50%; overflow: hidden; background: var(--accent-soft); filter: blur(16px) saturate(.4); }
.an-art svg { width: 100%; height: 100%; display: block; }
.an-scan { position: absolute; inset: 0; animation: spin 9s linear infinite; }
.an-sweep { position: absolute; inset: 22px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 75%, rgba(228,111,78,.35) 100%); animation: spin 2.2s linear infinite; mix-blend-mode: multiply; }
@keyframes spin { to { transform: rotate(360deg); } }
.an-node { position: absolute; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--card); color: var(--muted); border: 2px solid var(--line); transition: .4s; }
.an-node.n0 { top: -6px; left: 88px; } .an-node.n1 { top: 88px; right: -6px; } .an-node.n2 { bottom: -6px; left: 88px; } .an-node.n3 { top: 88px; left: -6px; }
.an-node.lit { background: var(--warm); color: #fff; border-color: var(--warm); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(228,111,78,.18); }
.an-pct { text-align: center; margin: 6px 0 10px; font: 800 30px "Fraunces", serif; color: var(--accent); font-variant-numeric: tabular-nums; }
.an-steps { display: grid; gap: 8px; }
.an-row { padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); opacity: .4; transition: opacity .3s, border-color .3s; }
.an-row.on { opacity: 1; border-color: #E9C98F; }
.an-row.done { border-color: var(--line); }
.an-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.an-line em { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); }
.an-row.on .an-line em { border-color: var(--warm) transparent var(--warm) var(--warm); animation: spin .8s linear infinite; }
.an-row.done .an-line em { animation: none; border: 0; background: var(--ok); position: relative; }
.an-row.done .an-line em::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 900; }
.an-prog { height: 4px; border-radius: 99px; background: var(--accent-soft); margin-top: 8px; overflow: hidden; }
.an-prog i { display: block; height: 100%; width: 0; background: var(--warm); transition: width 1.2s linear; }
.an-row.on .an-prog i { width: 100%; }
.an-row.done .an-prog i { background: var(--ok); }
.an-res { margin: 0; max-height: 0; opacity: 0; font-size: 13px; color: var(--muted); transition: max-height .4s, opacity .4s, margin .4s; }
.an-res b { color: var(--warm); }
.an-row.done .an-res { max-height: 40px; opacity: 1; margin-top: 6px; }
.an-tip { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; min-height: 40px; }
.an-tip.swap { animation: rise .45s ease; }

/* ---------- Gerak ringan ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.reveal { animation: reveal 1.4s ease both; }
@keyframes reveal { from { filter: blur(14px) saturate(.3); transform: scale(.94); } }
.arc { animation: arc 1.3s cubic-bezier(.2,.8,.2,1) both .2s; }
@keyframes arc { from { stroke-dasharray: 0 var(--c); } }
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.btn.pulse { animation: nudge 2.8s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(228,111,78,.45); } 85% { box-shadow: 0 0 0 10px rgba(228,111,78,0); } }
.btn:hover { filter: brightness(1.05); }
.r-addon.on { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.02); } }

/* ---------- Timer promo mendesak ---------- */
.r-timer { gap: 4px; }
.r-t-k { margin: 0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #9A5B12; }
.r-t-d { display: flex; align-items: center; gap: 4px; font: 800 44px/1 "Fraunces", serif; color: var(--accent); font-variant-numeric: tabular-nums; }
.r-t-d span { background: #fff; padding: 4px 10px; border-radius: 10px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.06); }
.r-t-d i { font-style: normal; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.r-t-d .tick { animation: tick .5s ease; }
@keyframes tick { from { transform: translateY(-4px); opacity: .5; } }
.r-t-bar { width: 100%; max-width: 260px; height: 6px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; margin-top: 4px; }
.r-t-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--warm), #F2A65A); transition: width 1s linear; }
.r-t-p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.r-t-p b { font: inherit; font-weight: 800; color: var(--ink); }
.r-timer.warn { border-color: #F2A65A; background: linear-gradient(180deg, #FFE9D6, #FFD9BC); }
.r-timer.warn .r-t-d { color: #B4441F; }
.r-timer.hot { border-color: #D8432C; background: linear-gradient(180deg, #FFE1DA, #FFC9BD); animation: hot 1.2s ease-in-out infinite; }
.r-timer.hot .r-t-k { color: #C0321D; }
.r-timer.hot .r-t-d { color: #C0321D; }
@keyframes hot { 50% { box-shadow: 0 0 0 6px rgba(216,67,44,.15); } }
.r-left { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.r-left b { color: #C0321D; font-variant-numeric: tabular-nums; }
.r-sticky .st-t { font-size: 11px; font-weight: 700; color: #FFD2C4; font-variant-numeric: tabular-nums; }
.r-sticky { transition: transform .5s cubic-bezier(.3,1.4,.5,1); }

@media (prefers-reduced-motion: reduce) {
  .tz-q, .an-scan, .an-sweep, .an-row.on .an-line em, .btn.shine::after, .btn.pulse, .r-t-d i, .r-t-d .tick, .r-timer.hot, .reveal, .arc, .r-addon.on, .tz-mini, .an-tip.swap { animation: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Form checkout & status pesanan ---------- */
.r-form { display: grid; gap: 6px; margin-top: 16px; }
.r-form label { font-size: 13px; font-weight: 600; margin-top: 6px; }
.r-form input:not([type="checkbox"]) { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.r-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.r-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 12.5px !important; color: var(--muted); line-height: 1.5; margin-top: 10px !important; cursor: pointer; }
.r-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--warm); flex: none; }
.r-consent a { color: var(--accent); }
#pay:disabled { opacity: .7; cursor: wait; animation: none; }
.ok-badge { width: 64px; height: 64px; margin: 10px auto 6px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 30px; font-weight: 800; animation: pop .5s ease; }
.an-spin { width: 46px; height: 46px; margin: 14px auto 6px; border-radius: 50%; border: 4px solid var(--accent-soft); border-top-color: var(--warm); animation: spin .9s linear infinite; }

/* ---------- Metode pembayaran (checkout) ---------- */
.pm-h { font-size: 20px; margin: 22px 0 10px; display: flex; align-items: center; gap: 12px; }
.pm-h::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--line), transparent); }
.pm-list { display: grid; gap: 8px; }
.pm-g { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 8px 2px 0; }
.pm { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.pm:hover { border-color: #cdbfa9; }
.pm input { position: absolute; opacity: 0; pointer-events: none; }
.pm-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cdbfa9; display: grid; place-items: center; transition: border-color .15s; }
.pm-dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); transform: scale(0); transition: transform .15s; }
.pm.on { border-color: var(--ok); background: #F3F8F2; box-shadow: 0 0 0 3px rgba(110,156,124,.15); }
.pm.on .pm-dot { border-color: var(--ok); }
.pm.on .pm-dot::after { transform: scale(1); }
.pm input:focus-visible ~ .pm-dot { outline: 2px solid var(--accent); outline-offset: 2px; }
.pm-logo { flex: none; width: 80px; height: 34px; display: grid; place-items: center; padding: 3px 6px; border-radius: 8px; background: #fff; border: 1px solid #EFE6D8; }
.pm-logo img { display: block; max-width: 100%; max-height: 26px; width: auto; height: auto; object-fit: contain; }
.pm-more { font-weight: 800; font-size: 16px; letter-spacing: .12em; color: var(--accent); }
.pm-txt { display: grid; line-height: 1.25; min-width: 0; }
.pm-txt b { font-size: 15px; font-weight: 600; }
.pm-txt small { font-size: 12.5px; color: var(--muted); }
.pm-tag { margin-left: auto; flex: none; font-size: 11.5px; font-weight: 700; color: #2F7A4B; background: #E3F2E7; padding: 4px 9px; border-radius: 999px; }

/* ---------- Layar bayar (QR / VA / e-wallet) ---------- */
.pay-card { padding: 22px 18px; }
.pay-amt { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; margin: 10px 0 14px; border-radius: 12px; background: var(--accent-soft); }
.pay-amt span { font-size: 14px; color: var(--muted); }
.pay-amt b { font-size: 22px; font-family: "Fraunces", Georgia, serif; }
.pay-qr { width: min(280px, 80vw); margin: 4px auto 10px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.pay-qr svg { display: block; width: 100%; height: auto; }
.pay-va { display: grid; gap: 6px; padding: 14px; border: 1.5px dashed var(--line); border-radius: 14px; background: #fff; }
.pay-va-n { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pay-va-n b { font-size: 22px; letter-spacing: .03em; font-variant-numeric: tabular-nums; word-break: break-all; }
.pay-copy { flex: none; border: 0; cursor: pointer; background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 10px; }
.pay-steps { margin: 14px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.6; }
.pay-until { margin: 14px 0 0; color: var(--warm); font-weight: 700; }
.pay-wait { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.an-spin.sm { flex: none; width: 22px; height: 22px; margin: 0; border-width: 3px; }
.pay-logo { display: block; height: 30px; width: auto; max-width: 140px; margin: 0 auto 8px; object-fit: contain; }
.r-t-d .r-t-u { animation: none; font-style: normal; font-size: .42em; font-weight: 700; align-self: center; margin: 0 6px 0 2px; opacity: .8; }
.r-t-d:has(.r-t-u) { font-size: 32px; }


/* Bingkai HP di layar lebar: tampilan desktop sama dengan HP (kolom 430px di tengah) */
@media (min-width: 640px) {
  html { min-height: 100%; background: repeating-linear-gradient(135deg, rgba(62,51,104,.035) 0 22px, transparent 22px 44px), linear-gradient(160deg, #F4E8D6, #E8D3BA) fixed; }
  body { max-width: 430px; margin: 20px auto; min-height: calc(100vh - 40px); border-radius: 34px; overflow: clip; box-shadow: 0 0 0 1px rgba(42,35,64,.06), 0 40px 90px -40px rgba(42,35,64,.45); }
  .r-sticky { width: 406px; }
}
