:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #101013;
  --surface-2: #17171c;
  --border: #26262e;
  --text: #fafafa;
  --muted: #a1a1aa;
  --accent: #f97316;
  --accent-ink: #fff7ed;
  --good: #22c55e;
  --warn: #eab308;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 80% -80px, rgba(249,115,22,.16), transparent 60%),
    radial-gradient(700px 380px at 0% 0%, rgba(59,130,246,.10), transparent 55%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 20px;
  background: rgba(9,9,11,.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; color: var(--accent-ink);
  background: linear-gradient(135deg, #fb923c, #ea580c);
}
.brand strong { display: block; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.brand span { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid rgba(249,115,22,.65); outline-offset: 2px;
}
.toast {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 50; max-width: min(92vw, 460px);
  background: #fafafa; color: #09090b; border-radius: 12px;
  padding: 12px 16px; font-size: 14px; font-weight: 600;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.skeleton { min-height: 260px; }
.skeleton .line { height: 12px; border-radius: 6px; background: #26262e; margin: 10px 0; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.breakdown { display: grid; gap: 5px; }
.breakdown div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.breakdown span { width: 86px; flex: none; }
.breakdown i { flex: 1; height: 5px; border-radius: 999px; background: #26262e; overflow: hidden; }
.breakdown i b { display: block; height: 100%; background: #a1a1aa; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.credit {
  border: 1px solid var(--border); background: var(--surface-2);
  padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); white-space: nowrap;
}
.credit b { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.login-btn {
  background: var(--text); color: #09090b; border: 0; border-radius: 999px;
  padding: 8px 14px; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.login-btn:hover { background: #e4e4e7; }
main { width: min(1080px, 100%); margin: 0 auto; padding: 24px 18px 40px; }
.hero { padding: 30px 0 18px; }
.eyebrow {
  color: var(--accent); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 12px; margin: 0 0 10px;
}
h1 { font-size: clamp(30px, 6vw, 52px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 12px; max-width: 760px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.steps span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 8px 13px; font-size: 14px; color: var(--muted);
}
.steps b {
  display: grid; place-items: center; width: 20px; height: 20px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px;
}
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 20px; margin: 16px 0;
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.01em; }
.panel-head p, .status { color: var(--muted); line-height: 1.55; margin: 0; max-width: 640px; }
.badge {
  flex: none; border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 5px 10px; font-size: 12px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.filters button {
  border: 1px solid var(--border); background: var(--surface-2); color: var(--muted);
  border-radius: 999px; padding: 8px 13px; font-size: 14px; cursor: pointer;
}
.filters button:hover { color: var(--text); border-color: #3a3a44; }
.filters button.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-2); overflow: hidden; display: flex; flex-direction: column;
}
.card img.thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #000; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 15px; line-height: 1.4; }
.meta, .risk { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.reason { color: #d4d4d8; font-size: 14px; line-height: 1.55; margin: 0; }
.score-row { display: flex; align-items: center; gap: 10px; }
.score { font-weight: 700; font-size: 14px; white-space: nowrap; }
.score-bar { flex: 1; height: 6px; border-radius: 999px; background: #26262e; overflow: hidden; }
.score-bar i { display: block; height: 100%; background: linear-gradient(90deg, #fb923c, #ea580c); border-radius: 999px; }
.card a.source { color: var(--accent); font-size: 13px; text-decoration: none; }
.card a.source:hover { text-decoration: underline; }
.card button {
  margin-top: auto; background: var(--text); color: #09090b; border: 0;
  border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer;
}
.card button:hover { background: #e4e4e7; }
button { font: inherit; }
.primary {
  background: var(--accent); color: var(--accent-ink); border: 0;
  border-radius: 10px; padding: 12px 18px; font-weight: 700; cursor: pointer;
}
.primary:hover { background: #ea580c; }
.primary:disabled { opacity: .4; cursor: not-allowed; }
.field { display: block; margin: 14px 0; font-weight: 600; font-size: 14px; }
.field input {
  display: block; width: 100%; margin-top: 7px; padding: 11px 12px;
  border: 1px solid var(--border); border-radius: 10px; font: inherit;
  background: var(--surface-2); color: var(--text);
}
.field input:focus { outline: 2px solid rgba(249,115,22,.5); outline-offset: 1px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.advanced { margin: 6px 0 14px; }
.advanced summary { cursor: pointer; color: var(--muted); font-size: 14px; padding: 6px 0; }
.preview { width: 100%; max-height: 420px; border-radius: 12px; background: #000; }
.hidden { display: none !important; }
.brief { line-height: 1.6; }
.brief .box {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px; margin: 10px 0;
}
.download {
  display: inline-block; margin-top: 12px; background: var(--text); color: #09090b;
  text-decoration: none; padding: 12px 16px; border-radius: 10px; font-weight: 700;
}
.checklist { margin: 8px 0 0; padding-left: 18px; color: #d4d4d8; line-height: 1.6; }
.checklist li { margin: 6px 0; }
.footer { color: var(--muted); font-size: 13px; line-height: 1.6; padding: 8px 2px 0; }
.packages { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.package {
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  border-radius: 12px; padding: 12px 16px; font-weight: 600; cursor: pointer;
}
.package:hover { border-color: var(--accent); }
.package.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.qris { display: block; width: min(260px, 80vw); margin: 12px 0; border-radius: 12px; background: #fff; padding: 10px; }
@media (max-width: 560px) {
  .topbar { padding: 10px 12px; }
  .brand span { display: none; }
  .credit { padding: 6px 9px; font-size: 12px; }
  .login-btn { padding: 8px 10px; font-size: 12px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  main { padding: 16px 12px 32px; }
  .panel { padding: 16px; }
  .panel-head { flex-direction: column; }
}
.menu { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; padding: 10px 0; position: sticky; top: 0; z-index: 50; background: var(--bg); }
.menu::-webkit-scrollbar { display: none; }
.menu-btn { white-space: nowrap; }
.menu-btn { border: 1px solid var(--border); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.menu-btn.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Polish mewah 1 Des 2026 */
body {
  background:
    radial-gradient(1000px 500px at 85% -100px, rgba(249,115,22,.22), transparent 60%),
    radial-gradient(800px 460px at -10% 10%, rgba(168,85,247,.14), transparent 55%),
    radial-gradient(700px 420px at 50% 110%, rgba(59,130,246,.10), transparent 55%),
    var(--bg);
}
.topbar { background: rgba(9,9,11,.72); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.logo { box-shadow: 0 8px 22px rgba(234,88,12,.45); }
.menu {
  top: 61px; padding: 8px; gap: 6px;
  background: rgba(16,16,19,.78); border: 1px solid var(--border);
  border-radius: 16px; backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.menu-btn { border-color: transparent; background: transparent; color: var(--muted); padding: 10px 15px; transition: all .18s ease; }
.menu-btn:hover { color: var(--text); background: rgba(255,255,255,.06); }
.menu-btn.active { background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff7ed; box-shadow: 0 8px 20px rgba(234,88,12,.4); }
.hero { padding: 22px 4px 8px; }
h1 {
  background: linear-gradient(92deg, #fafafa 30%, #fdba74 70%, #f97316);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps span { background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0)), var(--surface);
  border-radius: 20px; box-shadow: 0 18px 44px rgba(0,0,0,.32);
}
.card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(249,115,22,.55); box-shadow: 0 16px 36px rgba(0,0,0,.4); }
.card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.card button, .primary { background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff7ed; box-shadow: 0 8px 20px rgba(234,88,12,.32); }
.card button:hover, .primary:hover { background: linear-gradient(135deg, #fdba74, #f97316); }
.brief .box { border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), var(--surface-2); }
.field input { border-radius: 12px; padding: 12px 13px; }
.package { border-radius: 14px; }
.download { border-radius: 12px; }
.brief-card { cursor: pointer; }
@media (max-width: 560px) {
  .menu { top: 57px; }
  h1 { font-size: 30px; }
  .cards { grid-template-columns: 1fr; }
}
.donation-figure{margin:18px 0 8px}
.donation-figure img{width:100%;border-radius:16px;display:block}
.donation-figure figcaption{font-size:.85rem;opacity:.75;margin-top:6px}
.verses{display:grid;gap:10px;margin:14px 0}
.verses blockquote{margin:0;padding:12px 14px;border-left:3px solid #d97706;background:rgba(217,119,6,.08);border-radius:0 10px 10px 0;font-style:italic}
.verses cite{display:block;margin-top:6px;font-style:normal;font-weight:600;font-size:.85rem}
.donation-figure img{max-height:220px;object-fit:cover}
.arabic{display:block;font-size:1.35rem;line-height:2;text-align:right;margin-bottom:8px}
.hero>*{animation:rise .7s ease both}
.hero>*:nth-child(2){animation-delay:.08s}.hero>*:nth-child(3){animation-delay:.16s}.hero>*:nth-child(4){animation-delay:.24s}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hero>*{animation:none}}
.hero{padding:18px 4px 10px}
.eyebrow{margin:0 0 10px;line-height:1.5}
.hero h1{margin:0 0 12px;line-height:1.15}
.lead{margin:0 0 10px;line-height:1.55}
.donation-figure{margin:12px 0 6px}
p{margin:0 0 10px;line-height:1.55}
.panel-head p{margin:4px 0 0}
.panel{padding:18px}
h2{margin:0 0 8px;line-height:1.25}
.donation-figure img{animation:floaty 5s ease-in-out infinite}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

/* Perbaikan UI mobile 2 Des 2026 */
.topbar { z-index: 60; }
.menu {
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  top: 63px; margin: 0 0 14px;
}
.menu-btn { flex: 0 0 auto; }
.steps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.steps span { flex: 0 0 auto; }
.steps::-webkit-scrollbar { display: none; }
.package-dana, #loadUrlBtn {
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  border-radius: 14px; padding: 12px 16px; font-weight: 600; cursor: pointer;
}
.package-dana:hover, #loadUrlBtn:hover { border-color: var(--accent); }
.profile-summary {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px; margin: 4px 0 18px;
}
.profile-avatar {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 999px;
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
  background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff7ed;
}
.profile-main { min-width: 0; flex: 1; }
.profile-email { font-weight: 700; overflow-wrap: anywhere; line-height: 1.35; }
.profile-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.profile-balance { text-align: right; flex: 0 0 auto; }
.profile-balance b { display: block; font-size: 26px; line-height: 1; }
.profile-balance span { color: var(--muted); font-size: 12px; }
.history-list { display: grid; gap: 8px; margin: 10px 0 18px; }
.history-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px;
}
.history-main { min-width: 0; }
.history-title { font-weight: 700; line-height: 1.35; }
.history-date { color: var(--muted); font-size: 12px; margin-top: 2px; }
.history-side { text-align: right; flex: 0 0 auto; }
.history-amount { font-weight: 700; white-space: nowrap; }
.chip {
  display: inline-block; margin-top: 5px; border-radius: 999px;
  padding: 3px 9px; font-size: 11px; font-weight: 800; letter-spacing: .02em;
}
.chip.paid { background: rgba(34,197,94,.16); color: #4ade80; }
.chip.pending { background: rgba(234,179,8,.16); color: #facc15; }
.chip.plus { background: rgba(34,197,94,.16); color: #4ade80; }
.chip.minus { background: rgba(249,115,22,.16); color: #fdba74; }
.empty-note { color: var(--muted); }
@media (max-width: 560px) {
  .menu { top: 59px; margin-left: -2px; margin-right: -2px; }
  .menu-btn { padding: 9px 13px; font-size: 14px; }
  .profile-summary { align-items: flex-start; }
  .profile-balance b { font-size: 22px; }
  .history-row { padding: 11px 12px; }
  .packages .package, .packages .package-dana { flex: 1 1 100%; text-align: left; }
}

/* Menu HP: lima tab harus terlihat penuh tanpa geser */
@media (max-width: 560px) {
  .menu { overflow-x: visible; gap: 4px; padding: 6px; }
  .menu-btn { flex: 1 1 0; min-width: 0; padding: 9px 2px; font-size: 12px; text-align: center; }
}

/* Review mendalam 2 Des 2026 */
.field input[type="file"]::file-selector-button {
  border: 0; border-radius: 9px; margin-right: 10px; padding: 9px 13px;
  background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff7ed;
  font-weight: 700; cursor: pointer;
}
.checklist { list-style: none; padding-left: 0; }
.checklist label {
  display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px;
}
.checklist input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; accent-color: #f97316; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
@media (max-width: 560px) {
  .menu { top: 56px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .steps span { justify-content: center; padding: 8px 4px; font-size: 12px; text-align: center; }
  #renderBtn { width: 100%; }
}

/* Kartu profil selebar panel */
.panel-head > div { flex: 1; min-width: 0; }
#profileInfo { width: 100%; }
.profile-summary { width: 100%; box-sizing: border-box; }

#profileInfo { max-width: none; }

/* Kontras warna: tombol oranye digelapkan agar teks putih terbaca */
.primary, .card button, .menu-btn.active, .field input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #c2410c, #9a3412);
}
.primary:hover, .card button:hover { background: linear-gradient(135deg, #ea580c, #c2410c); }
.primary:disabled { opacity: 1; background: #3f3f46; color: #d4d4d8; box-shadow: none; }

/* Hero showcase + trust + pricing cards + FAQ (2 Dec 2026) */
.hero-showcase { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: center; margin-top: 18px; }
.phone { background: #17171c; border: 1px solid var(--border); border-radius: 28px; padding: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.phone-notch { width: 64px; height: 5px; border-radius: 99px; background: #2c2c33; margin: 0 auto 12px; }
.phone-title { font-weight: 700; margin: 0 0 10px; }
.mini-card { display: flex; gap: 10px; align-items: center; background: #1f1f26; border: 1px solid var(--border); border-radius: 14px; padding: 10px; margin-bottom: 8px; }
.mini-card b { display: block; font-size: 13px; }
.mini-card small { color: var(--muted); font-size: 11px; }
.mini-score { background: #c2410c; color: #fff; font-weight: 800; border-radius: 10px; padding: 6px 8px; font-size: 14px; }
.mini-clip { background: linear-gradient(160deg,#26262f,#17171c); border: 1px solid var(--border); border-radius: 14px; padding: 12px; margin: 10px 0; }
.mini-clip span { font-size: 12px; font-weight: 700; }
.mini-clip i { display: block; height: 6px; border-radius: 99px; background: #3a3a44; margin-top: 8px; }
.mini-clip i.short { width: 55%; background: var(--accent); }
.phone-cta { background: linear-gradient(135deg,#c2410c,#9a3412); color: #fff; text-align: center; font-weight: 700; border-radius: 12px; padding: 10px; margin: 0; font-size: 13px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trust-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.trust-list b { display: block; font-size: 18px; color: var(--accent); }
.trust-list span { color: var(--muted); font-size: 12px; }
.packages { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; }
.price-card { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 16px; border-radius: 16px; }
.price-card strong { font-size: 24px; }
.price-card span { font-size: 13px; }
.price-card small { color: var(--muted); font-size: 12px; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.faq { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; background: var(--surface); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 8px 0 0; }
@media (max-width: 640px) {
  .hero-showcase { grid-template-columns: 1fr; }
  .phone { max-width: 260px; margin: 0 auto; width: 100%; }
}

/* Clippo-style landing round (2 Dec 2026) */
.hero h1 { font-size: clamp(30px, 6vw, 46px); letter-spacing: -.02em; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.hero-cta .primary, .hero-cta .ghost-btn { padding: 12px 18px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.ghost-btn { background: transparent; color: var(--text, #fafafa); border: 1px solid var(--border); }
.steps span { display: flex; flex-direction: column; gap: 2px; }
.steps small { color: var(--muted); font-size: 11px; font-weight: 400; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 10px; }
.benefits article { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.benefits b { display: block; margin-bottom: 4px; }
.benefits span { color: var(--muted); font-size: 13px; }
