/* =========================================================
   Top Up Digital — tema gelap, mobile-first
   ========================================================= */
:root {
  --bg: #090b14;
  --bg-2: #0e1120;
  --surface: #141829;
  --surface-2: #1b2036;
  --surface-3: #242a45;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef0ff;
  --muted: #9ba2c9;
  --dim: #6b7298;
  --primary: #7c5cff;
  --primary-2: #00d4ff;
  --grad: linear-gradient(135deg, #7c5cff 0%, #4f7bff 50%, #00d4ff 100%);
  --success: #22c55e;
  --warning: #f5a524;
  --danger: #ff4d6d;
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Sora", "Plus Jakarta Sans", sans-serif;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select { font: inherit; color: inherit; }
::selection { background: rgba(124, 92, 255, .4); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- background glow ---------- */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow::before, .glow::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(110px); opacity: .35;
}
.glow::before { background: #7c5cff; top: -200px; left: -160px; }
.glow::after { background: #00d4ff; top: 120px; right: -220px; opacity: .18; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700;
  padding: 13px 22px; border-radius: 14px; transition: transform .15s, filter .2s, background .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(92, 110, 255, .8); }
.btn--primary:hover { filter: brightness(1.1); }
.btn--ghost { background: var(--surface-2); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--surface-3); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 26px; font-size: 1.05rem; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px);
  background: rgba(9, 11, 20, .72); border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo__mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.logo__mark svg { width: 20px; height: 20px; }
.logo__img { height: 36px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: .2s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface-2); }

/* bottom nav mobile */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgba(14, 17, 32, .95);
  backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .7rem; font-weight: 600; color: var(--dim); padding: 6px 0; }
.bottom-nav a.is-active { color: var(--text); }
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav a.is-active svg { color: var(--primary-2); }

/* ---------- hero ---------- */
.hero { padding: 48px 0 28px; text-align: center; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(124, 92, 255, .14); border: 1px solid rgba(124, 92, 255, .35); color: #c9bcff;
}
.badge-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
.hero h1 { font-family: var(--display); font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; margin: 16px auto 12px; max-width: 760px; }
.hero p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; font-size: 1.05rem; }
.search {
  position: relative; max-width: 560px; margin: 0 auto;
}
.search input {
  width: 100%; padding: 16px 18px 16px 50px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2);
  outline: none; transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(124, 92, 255, .2); }
.search svg { position: absolute; left: 17px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--dim); }
.hero__stats { display: flex; justify-content: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.stat-chip { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.stat-chip b { color: var(--text); }

/* ---------- ticker transaksi ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); margin: 10px 0 8px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 32px; width: max-content; padding: 10px 0; animation: marquee 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.ticker__item b { color: var(--text); font-weight: 600; }
.ticker__item .ok { color: var(--success); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 28px 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section__title { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.section__title .ico { font-size: 1.2rem; }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 18px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: .9rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: .2s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 24px -10px rgba(92, 110, 255, .8); }

/* ---------- brand tiles ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.brand-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.brand-tile:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, .6); box-shadow: 0 18px 40px -18px rgba(124, 92, 255, .6); }
.brand-tile__art { aspect-ratio: 1; position: relative; display: grid; place-items: center; overflow: hidden; }
.brand-tile__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.brand-tile:hover .brand-tile__art img { transform: scale(1.06); }
.brand-tile__initials {
  width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .35);
}
.brand-tile__initials::after {
  content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .35), transparent 55%);
}
.brand-tile__body { padding: 10px 12px 12px; }
.brand-tile__name { font-weight: 700; font-size: .92rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brand-tile__sub { font-size: .75rem; color: var(--dim); margin-top: 2px; }
.brand-tile__hot {
  position: absolute; top: 8px; left: 8px; z-index: 1; font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 8px;
  background: rgba(255, 77, 109, .9); color: #fff; letter-spacing: .03em;
}
.brand-grid .is-hidden { display: none; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--surface-2); margin-bottom: 12px; }
.feature h4 { font-size: 1rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .88rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 18px; }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad); font-weight: 800; margin-bottom: 12px;
}
.step h4 { font-size: .98rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .86rem; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary-2); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; font-size: .92rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 36px 0 110px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer h5 { font-size: .9rem; margin-bottom: 12px; }
.footer a { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.footer a:hover { color: var(--text); }
.footer p { color: var(--muted); font-size: .88rem; }
.footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: .8rem; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pay-logos span { font-size: .7rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }

/* =========================================================
   HALAMAN BRAND / ORDER
   ========================================================= */
.brand-hero { position: relative; padding: 28px 0 8px; }
.brand-hero__inner { display: flex; gap: 18px; align-items: center; }
.brand-hero__art { width: 92px; height: 92px; border-radius: 22px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow); position: relative; }
.brand-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.brand-hero__art .brand-tile__initials { font-size: 2rem; }
.brand-hero h1 { font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: -.02em; line-height: 1.15; }
.brand-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); color: var(--muted); }
.chip--ok { color: var(--success); background: rgba(34, 197, 94, .12); }

.order { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; padding: 18px 0 40px; }
.order__main { display: grid; gap: 16px; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card__num {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  background: var(--grad); flex-shrink: 0;
}
.card__title { font-weight: 800; font-size: 1.02rem; }
.card__hint { font-size: .8rem; color: var(--dim); }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.input {
  width: 100%; padding: 13px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(124, 92, 255, .18); }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 77, 109, .15); animation: shake .35s; }
@keyframes shake { 25%, 75% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.operator-hint { margin-top: 10px; font-size: .85rem; padding: 10px 12px; border-radius: 10px; background: rgba(0, 212, 255, .08); border: 1px solid rgba(0, 212, 255, .25); display: none; }
.operator-hint.is-show { display: block; }
.operator-hint a { color: var(--primary-2); font-weight: 700; text-decoration: underline; }
.instructions { margin-top: 12px; font-size: .83rem; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px dashed var(--line-2); }

.type-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.type-tabs button { flex-shrink: 0; padding: 7px 12px; border-radius: 9px; font-size: .8rem; font-weight: 700; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); }
.type-tabs button.is-active { color: var(--text); border-color: var(--primary); background: rgba(124, 92, 255, .15); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.product {
  position: relative; text-align: left; padding: 14px 14px 12px; border-radius: 14px; background: var(--bg-2); border: 1.5px solid var(--line);
  transition: border-color .2s, background .2s, transform .15s; min-height: 86px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
}
.product:hover { border-color: var(--line-2); }
.product:active { transform: scale(.98); }
.product.is-selected { border-color: var(--primary); background: linear-gradient(180deg, rgba(124, 92, 255, .18), rgba(0, 212, 255, .06)); box-shadow: 0 0 0 3px rgba(124, 92, 255, .2); }
.product.is-selected::after {
  content: "✓"; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-size: .7rem; font-weight: 800;
}
.product[disabled] { opacity: .4; cursor: not-allowed; }
.product__name { font-weight: 700; font-size: .9rem; line-height: 1.3; padding-right: 18px; }
.product__price { font-weight: 800; color: var(--primary-2); font-size: .95rem; }
.product__tag { position: absolute; top: -8px; left: 10px; font-size: .62rem; font-weight: 800; padding: 2px 7px; border-radius: 6px; background: var(--warning); color: #1b1300; }

.methods { display: grid; gap: 10px; }
.method-group { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.method-group__head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 700; }
.method-group__head .caret { transition: transform .2s; color: var(--dim); }
.method-group.is-open .method-group__head .caret { transform: rotate(180deg); }
.method-group__body { display: none; padding: 0 10px 10px; gap: 8px; }
.method-group.is-open .method-group__body { display: grid; }
.method {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line);
  text-align: left; transition: border-color .2s, background .2s;
}
.method:hover { border-color: var(--line-2); }
.method.is-selected { border-color: var(--primary); background: rgba(124, 92, 255, .12); }
.method[disabled] { opacity: .4; cursor: not-allowed; }
.method__icon { width: 52px; height: 32px; border-radius: 8px; background: #fff; display: grid; place-items: center; padding: 4px; flex-shrink: 0; }
.method__icon img { max-height: 100%; object-fit: contain; }
.method__icon span { color: #1b1f3a; font-weight: 800; font-size: .66rem; text-align: center; line-height: 1.1; }
.method__info { flex: 1; min-width: 0; }
.method__name { font-weight: 700; font-size: .9rem; }
.method__fee { font-size: .75rem; color: var(--dim); }
.method__total { font-weight: 800; font-size: .9rem; white-space: nowrap; }
.method__badge { font-size: .62rem; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: rgba(34, 197, 94, .15); color: var(--success); margin-left: 6px; }

/* ringkasan */
.summary { position: sticky; top: 84px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 7px 0; color: var(--muted); }
.summary__row b { color: var(--text); text-align: right; font-weight: 600; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin-top: 6px; border-top: 1px dashed var(--line-2); }
.summary__total strong { font-family: var(--display); font-size: 1.5rem; }
.summary__note { font-size: .78rem; color: var(--dim); margin-top: 12px; text-align: center; }
.summary__error { color: var(--danger); font-size: .85rem; font-weight: 600; min-height: 1.2em; margin-bottom: 8px; }

.buybar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(14, 17, 32, .96); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  align-items: center; gap: 12px; justify-content: space-between;
}
.buybar small { display: block; font-size: .72rem; color: var(--dim); }
.buybar strong { font-family: var(--display); font-size: 1.15rem; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: .25s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4, 5, 12, .75); backdrop-filter: blur(4px); }
.modal__box {
  position: relative; width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: 24px;
  transform: translateY(16px) scale(.97); transition: transform .3s cubic-bezier(.2, .9, .3, 1.2); box-shadow: var(--shadow);
}
.modal.is-open .modal__box { transform: none; }
.modal__box h3 { font-family: var(--display); font-size: 1.25rem; margin-bottom: 4px; }
.modal__close { position: absolute; top: 14px; right: 16px; font-size: 1.6rem; color: var(--dim); line-height: 1; }
.confirm-list { margin: 16px 0; border-radius: 14px; background: var(--bg-2); padding: 6px 14px; }

/* =========================================================
   INVOICE
   ========================================================= */
.invoice { max-width: 760px; margin: 0 auto; padding: 24px 0 40px; display: grid; gap: 16px; }
.stepper { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 4px 6px; }
.stepper::before { content: ""; position: absolute; left: 30px; right: 30px; top: 22px; height: 3px; background: var(--surface-3); border-radius: 3px; }
.stepper__bar { position: absolute; left: 30px; top: 22px; height: 3px; background: var(--grad); border-radius: 3px; transition: width .6s; }
.stepper__item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 90px; text-align: center; }
.stepper__dot {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--dim);
  font-weight: 800; border: 3px solid var(--bg); transition: .3s;
}
.stepper__item span { font-size: .75rem; font-weight: 700; color: var(--dim); }
.stepper__item.is-done .stepper__dot { background: var(--grad); color: #fff; }
.stepper__item.is-done span { color: var(--text); }
.stepper__item.is-current .stepper__dot { background: var(--grad); color: #fff; box-shadow: 0 0 0 6px rgba(124, 92, 255, .25); animation: pulseRing 1.6s infinite; }
.stepper__item.is-fail .stepper__dot { background: var(--danger); color: #fff; }
@keyframes pulseRing { 50% { box-shadow: 0 0 0 10px rgba(124, 92, 255, 0); } }

.status-banner { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.status-banner__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.status-banner h2 { font-size: 1.1rem; font-family: var(--display); }
.status-banner p { font-size: .88rem; color: var(--muted); }
.status--waiting { background: rgba(245, 165, 36, .08); border-color: rgba(245, 165, 36, .3); }
.status--waiting .status-banner__ico { background: rgba(245, 165, 36, .18); }
.status--processing { background: rgba(0, 212, 255, .07); border-color: rgba(0, 212, 255, .3); }
.status--processing .status-banner__ico { background: rgba(0, 212, 255, .16); }
.status--success { background: rgba(34, 197, 94, .08); border-color: rgba(34, 197, 94, .35); }
.status--success .status-banner__ico { background: rgba(34, 197, 94, .18); }
.status--failed { background: rgba(255, 77, 109, .08); border-color: rgba(255, 77, 109, .35); }
.status--failed .status-banner__ico { background: rgba(255, 77, 109, .18); }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(0, 212, 255, .25); border-top-color: var(--primary-2); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pay-box { text-align: center; }
.qr-wrap { display: inline-block; padding: 14px; background: #fff; border-radius: 18px; margin: 8px auto 12px; }
.qr-wrap canvas, .qr-wrap img { width: 220px !important; height: 220px !important; }
.countdown { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 10px; background: rgba(245, 165, 36, .12); color: var(--warning); }
.paycode { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px dashed var(--line-2); margin: 12px 0; }
.paycode strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: .06em; word-break: break-all; }
.copy { font-size: .8rem; font-weight: 700; padding: 8px 12px; border-radius: 10px; background: var(--surface-3); flex-shrink: 0; }
.copy:hover { background: var(--primary); }
.amount-big { font-family: var(--display); font-size: 2rem; font-weight: 800; }

.sn-box { padding: 16px; border-radius: 14px; background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .3); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sn-box small { display: block; font-size: .75rem; color: var(--muted); }
.sn-box strong { font-family: var(--display); font-size: 1.05rem; word-break: break-all; }

.detail-list { display: grid; }
.detail-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.detail-list div:last-child { border-bottom: none; }
.detail-list dt { color: var(--muted); }
.detail-list dd { font-weight: 600; text-align: right; word-break: break-word; }
.demo-note { padding: 12px 14px; border-radius: 12px; background: rgba(124, 92, 255, .12); border: 1px dashed rgba(124, 92, 255, .5); font-size: .85rem; color: #cfc4ff; }

/* =========================================================
   DAFTAR HARGA & CEK TRANSAKSI
   ========================================================= */
.page-head { padding: 32px 0 12px; }
.page-head h1 { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -.02em; }
.price-brand { margin-bottom: 14px; }
.price-brand summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 700; }
.price-brand summary::-webkit-details-marker { display: none; }
.price-brand[open] summary { border-radius: 14px 14px 0 0; }
.price-table { width: 100%; border-collapse: collapse; background: var(--bg-2); border: 1px solid var(--line); border-top: none; border-radius: 0 0 14px 14px; overflow: hidden; font-size: .88rem; }
.price-table td { padding: 10px 16px; border-top: 1px solid var(--line); }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--primary-2); white-space: nowrap; }
.price-table .off td { opacity: .45; }
.track-card { max-width: 520px; margin: 30px auto; }
.alert { padding: 12px 14px; border-radius: 12px; background: rgba(255, 77, 109, .1); border: 1px solid rgba(255, 77, 109, .35); color: #ffb3c1; font-size: .9rem; margin-bottom: 12px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 200; translate: -50% 140px; padding: 12px 18px; border-radius: 12px;
  background: var(--surface-3); border: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow);
  transition: translate .35s cubic-bezier(.2, .9, .3, 1.2); max-width: calc(100% - 32px); text-align: center;
}
.toast.is-show { translate: -50% 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .order { grid-template-columns: 1fr; }
  .summary { display: none; }
  .buybar { display: flex; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .bottom-nav { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-tile__initials { font-size: 1.7rem; }
  .brand-tile__body { padding: 8px 9px 10px; }
  .brand-tile__name { font-size: .8rem; }
  .brand-tile__sub { display: none; }
  .products { grid-template-columns: 1fr 1fr; }
  .card { padding: 16px; }
  .hero { padding-top: 32px; }
  .brand-hero__art { width: 72px; height: 72px; border-radius: 18px; }
  body.has-buybar .footer { padding-bottom: 170px; }
}
@media (max-width: 380px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .features, .steps { grid-template-columns: 1fr; }
}

/* ---------- logo brand non-persegi (ditampilkan utuh) ---------- */
.brand-logo { width: 100%; height: 100%; display: grid; place-items: center; padding: 18%; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.brand-tile:hover .brand-logo img { transform: scale(1.06); }
.brand-hero__art .brand-logo { padding: 16%; }

/* ---------- pita pengumuman ---------- */
.site-notice {
  position: relative; z-index: 51; text-align: center; font-size: .82rem; font-weight: 600; padding: 8px 16px;
  background: linear-gradient(90deg, rgba(245, 165, 36, .18), rgba(245, 165, 36, .08)); border-bottom: 1px solid rgba(245, 165, 36, .35); color: #ffd48a;
}

/* ---------- halaman legal ---------- */
.legal { max-width: 860px; padding-bottom: 40px; }
.legal .tabs a { text-decoration: none; }
.legal__body { line-height: 1.75; }
.legal__body h3 { font-family: var(--display); font-size: 1.05rem; margin: 22px 0 8px; }
.legal__body h3:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body b { color: var(--text); }
.legal__body ul, .legal__body ol { padding-left: 22px; display: grid; gap: 6px; }
.footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > div:first-child { grid-column: 1 / -1; } }
