/* HR Capital — Sewa Bot member mockup (Gaya C)
   Mobile-first. Semua data di halaman ini adalah CONTOH. */

:root {
  --bg: #070b12;
  --muted: #7c8aa3;
  --text: #e2e8f0;
  --text-strong: #f1f5f9;
  --line: rgba(110, 180, 220, 0.22);
  --line-strong: rgba(160, 200, 230, 0.32);
  --up: #34d399;
  --up-soft: #86efac;
  --dn: #f87171;
  --dn-soft: #fca5a5;
  --warn: #fbbf24;
  --warn-soft: #fde68a;
  --teal: #22d3ee;
  --sl: #fb923c;
  --trail: #d36bff;
  --pos: #ffffff;
  --glass-a: rgba(18, 30, 52, 0.72);
  --glass-b: rgba(10, 16, 28, 0.58);
  --tabbar-h: 64px;
  --banner-h: 28px;
  --radius: 14px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #070b12; color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  min-height: 100%; }
html { height: 100%; }
body { min-height: 100dvh; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
a { color: var(--up-soft); text-decoration: none; }
img { display: block; max-width: 100%; }

/* Background — same radial wash as Gaya C */
.gc-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(520px 520px at 22% 18%, rgba(88,40,160,0.20), transparent 70%),
    radial-gradient(480px 480px at 78% 16%, rgba(20,80,160,0.16), transparent 70%),
    radial-gradient(700px 600px at 50% 58%, rgba(16,90,70,0.13), transparent 70%),
    radial-gradient(400px 400px at 10% 84%, rgba(120,40,140,0.12), transparent 70%),
    radial-gradient(380px 380px at 89% 84%, rgba(30,60,140,0.12), transparent 70%),
    #070b12;
}

.app { position: relative; z-index: 2; min-height: 100dvh; max-width: 430px; margin: 0 auto;
  padding-bottom: 0; }

/* Desktop: still phone-first, slightly wider column */
@media (min-width: 720px) {
  .app { max-width: 430px; }
  body { background: #070b12; }
}
@media (min-width: 1024px) {
  .app.wide { max-width: 720px; }
  .view-landing .app, .app:has(#view-landing.show), body.page-landing .app { max-width: 980px; }
}

/* Mock banner */
.mock-banner {
  position: sticky; top: 0; z-index: 50;
  min-height: var(--banner-h); display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 5px 12px;
  background: rgba(250, 204, 21, 0.12);
  border-bottom: 1px solid rgba(250, 204, 21, 0.28);
  color: var(--warn-soft); font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; text-align: center; line-height: 1.3; backdrop-filter: blur(12px);
}
.mock-banner b { font-weight: 800; color: #fff7c2; }

/* Views */
.view { display: none; padding: 0 16px 24px; }
.view.show { display: block; }
.view.with-tab { padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px); }

/* Header */
.topbar { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 0 6px; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; }
.brand img { width: 36px; height: 36px; border-radius: 9px; flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 4px 14px rgba(0,0,0,0.35); }
.brand .name { font-weight: 750; font-size: 15.5px; letter-spacing: -0.01em; color: #fff; line-height: 1.15; }
.brand .sub { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--up); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 8px #34d399; display: inline-block; }
.live.jeda { color: var(--warn); }
.live.jeda i { background: var(--warn); box-shadow: 0 0 8px #fbbf24; }
.live.off { color: #94a3b8; }
.live.off i { background: #94a3b8; box-shadow: none; }

/* Tombol auto trade (pojok kanan atas, status + PIN) */
.at-cluster { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.at-warn-btn {
  flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border-radius: 10px;
  border: 1px solid rgba(250,204,21,0.4); background: rgba(250,204,21,0.10);
  font-size: 15px; line-height: 1; cursor: pointer; display: grid; place-items: center;
  animation: atWarnPulse 2.8s ease-in-out infinite;
}
@keyframes atWarnPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.62; }
}
@media (prefers-reduced-motion: reduce) {
  .at-warn-btn { animation: none; }
}
.at-btn { flex: 0 0 auto; display: inline-flex; flex-direction: column; align-items: flex-end;
  justify-content: center; gap: 1px; width: auto; min-height: 44px; padding: 6px 10px;
  border-radius: 12px; border: 1px solid rgba(250,204,21,0.4);
  background: rgba(250,204,21,0.10); color: #fde68a; cursor: pointer; text-align: right; }
.at-btn .at-lbl { font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fde68a; }
.at-btn .at-st { font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; }
.at-btn.is-on { border-color: rgba(52,211,153,0.45); background: rgba(52,211,153,0.12); color: var(--up-soft); }
.at-btn.is-on .at-lbl, .at-btn.is-on .at-st { color: var(--up-soft); }
.at-btn.is-off { border-color: rgba(250,204,21,0.4); }
.at-notice { padding: 14px 16px; margin-bottom: 10px;
  border-color: rgba(250,204,21,0.45);
  background: linear-gradient(135deg, rgba(250,204,21,0.12), rgba(18,30,52,0.72)); }
.at-notice-txt b { display: block; color: #fff; font-size: 14.5px; }
.at-notice-txt small { display: block; color: #fde68a; font-size: 12.5px; line-height: 1.45; margin-top: 4px; }
.at-notice .btn { margin-top: 10px; }
.at-warn { font-size: 14px; line-height: 1.55; color: #fde68a; background: rgba(250,204,21,0.08);
  border: 1px solid rgba(250,204,21,0.28); border-radius: 12px; padding: 12px 14px; }
.at-warn + .at-warn { margin-top: 8px; }
.modal.at-hands { max-width: 400px; }

/* Glass card */
.card {
  background: linear-gradient(180deg, var(--glass-a), var(--glass-b));
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset, 0 1px 0 rgba(255,255,255,0.07) inset,
    0 8px 28px rgba(0,0,0,0.35), 0 0 22px rgba(52,211,153,0.05);
  border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.card.pad { padding: 14px 16px; }
.card + .card { margin-top: 10px; }

/* Type */
.k { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.v { font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--text-strong); }
.muted { color: var(--muted); }
.up { color: var(--up); }
.dn { color: var(--dn); }
.warn { color: var(--warn-soft); }
.amt { font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.h1 { font-size: 26px; font-weight: 780; letter-spacing: -0.03em; color: #fff; line-height: 1.15; margin: 0 0 8px; }
.h2 { font-size: 13px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; color: #cbd5e1; margin: 18px 0 8px; }
.lead { font-size: 14.5px; line-height: 1.5; color: #cbd5e1; margin: 0 0 16px; }
.fine { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.contoh { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px;
  background: rgba(250,204,21,0.14); border: 1px solid rgba(250,204,21,0.32);
  color: var(--warn-soft); font-size: 9px; font-weight: 800; letter-spacing: 0.06em; vertical-align: 2px; }

/* Pills */
.pill { font-size: 10px; font-weight: 750; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px;
  background: rgba(52,211,153,0.15); color: var(--up-soft); border: 1px solid rgba(52,211,153,0.3); white-space: nowrap; }
.pill.bad { background: rgba(248,113,113,0.14); color: #fca5a5; border-color: rgba(248,113,113,0.32); }
.pill.warn { background: rgba(250,204,21,0.12); color: #fde68a; border-color: rgba(250,204,21,0.3); }
.pill.mute { background: rgba(148,163,184,0.12); color: #94a3b8; border-color: rgba(148,163,184,0.3); }

/* Buttons — thumb-friendly */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px;
  padding: 0 16px; border-radius: 14px; font-size: 15.5px; font-weight: 750; letter-spacing: 0.01em;
  border: 1px solid transparent; gap: 8px; }
.btn-primary { background: linear-gradient(180deg, #3ee6ab, #1fbf84); color: #04281c;
  box-shadow: 0 0 0 1px rgba(52,211,153,0.35), 0 8px 24px rgba(52,211,153,0.22), 0 1px 0 rgba(255,255,255,0.35) inset; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: rgba(255,255,255,0.04); color: #e2e8f0; border-color: var(--line-strong); }
.btn-ghost:active { background: rgba(255,255,255,0.07); }
.btn-warn { background: rgba(250,204,21,0.14); color: #fde68a; border-color: rgba(250,204,21,0.35); }
.btn-danger { background: rgba(248,113,113,0.14); color: #fca5a5; border-color: rgba(248,113,113,0.35); }
.btn[disabled], .btn:disabled { opacity: 0.45; pointer-events: none; }
.btn-row { display: flex; gap: 8px; margin-top: 12px; }
.btn-row .btn { flex: 1; }
.btn-sm { min-height: 44px; font-size: 13.5px; border-radius: 12px; padding: 0 12px; }

/* Forms */
label.fld { display: block; margin-bottom: 12px; }
label.fld span { display: block; font-size: 12px; font-weight: 650; color: #9aa8b8; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"] {
  width: 100%; height: 52px; padding: 0 14px; border-radius: 12px;
  background: rgba(8, 12, 22, 0.7); border: 1px solid var(--line-strong);
  color: #f1f5f9; font-size: 16px; /* 16px avoids iOS zoom */
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
input::placeholder { color: #64748b; }
input:focus { outline: none; border-color: rgba(52,211,153,0.55);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.16); }
.seg { display: flex; padding: 3px; border-radius: 12px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--line); margin-bottom: 16px; }
.seg button { flex: 1; height: 42px; border: 0; border-radius: 10px; background: transparent;
  color: var(--muted); font-weight: 750; font-size: 14px; }
.seg button.on { background: rgba(52,211,153,0.16); color: var(--up-soft);
  box-shadow: 0 0 0 1px rgba(52,211,153,0.25); }

/* ========== LANDING ========== */
.hero { padding: 6px 0 4px; text-align: left; position: relative; }
.hero-glow { isolation: isolate; }
.hero-glow::before {
  content: ""; position: absolute; left: -24px; right: -24px; top: -30px; height: 260px; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(52,211,153,0.32), transparent 72%),
    radial-gradient(closest-side at 85% 20%, rgba(56,189,248,0.18), transparent 70%),
    radial-gradient(closest-side at 60% 80%, rgba(168,85,247,0.12), transparent 70%);
  animation: pulseGlow 5s ease-in-out infinite;
}
.hero-hook {
  margin: 0 0 4px; font-size: 25px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.15;
  color: #fff;
  text-shadow: 0 0 22px rgba(248,113,113,0.25);
}
.hero-solve {
  margin: 0 0 8px; font-size: 15px; font-weight: 650; color: #cbd5e1; line-height: 1.35;
}
.hero-title {
  font-size: 21px; line-height: 1.18; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 8px;
  color: #f1f5f9;
}
.hero-title em {
  font-style: normal; display: block;
  background: linear-gradient(90deg, #86efac, #34d399 30%, #22d3ee 60%, #86efac);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
  filter: drop-shadow(0 0 14px rgba(52,211,153,0.4));
}
.hero .lead { margin-bottom: 10px; }
.hero-accent {
  margin: 0; padding-top: 10px;
  border-top: 1px solid rgba(52,211,153,0.22);
  font-size: 12.5px; line-height: 1.5; font-weight: 600; letter-spacing: 0.01em;
  color: #86efac;
}

.act-card {
  position: relative; overflow: hidden; text-align: center;
  padding: 16px 16px 14px; margin-top: 4px;
  border-color: rgba(52,211,153,0.5) !important;
  box-shadow: 0 0 0 1px rgba(52,211,153,0.16), 0 12px 40px rgba(0,0,0,0.4), 0 0 40px rgba(52,211,153,0.2);
}
.act-card .who {
  font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--up-soft); margin-bottom: 8px; padding: 0 48px;
}
.act-card .once { color: #9aa8b8; font-weight: 650; letter-spacing: 0.04em; text-transform: none; }
.price-was {
  position: relative; display: inline-block;
  font-size: 20px; font-weight: 700; color: #94a3b8; letter-spacing: -0.02em;
  text-decoration: none; font-variant-numeric: tabular-nums;
}
.price-was::before,
.price-was::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 52%;
  height: 1.5px; background: rgba(248, 113, 113, 0.65);
  transform-origin: center; pointer-events: none;
}
.price-was::before { transform: rotate(-12deg); }
.price-was::after { transform: rotate(12deg); }
s.price-was { font-size: inherit; font-weight: inherit; color: inherit; }
.price-now {
  font-size: 40px; font-weight: 800; letter-spacing: -0.05em; line-height: 1.05;
  color: #fff; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 28px rgba(52,211,153,0.55);
  animation: pricePulse 3.4s ease-in-out infinite;
  margin: 2px 0 10px;
}
.act-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 8px; }
.quota {
  display: inline-block; margin: 2px auto 0; padding: 4px 10px; border-radius: 999px;
  background: rgba(250,204,21,0.10); border: 1px solid rgba(250,204,21,0.28);
  color: #fde68a; font-size: 12px; font-weight: 750;
}
.hemat { margin: 8px 0 0; font-size: 12.5px; color: #86efac; font-weight: 650; }
.act-note { margin: 10px 8px 0; font-size: 11px; line-height: 1.45; font-weight: 500; color: #7c8aa3; }
.ribbon {
  position: absolute; top: 16px; right: -34px; transform: rotate(35deg);
  background: linear-gradient(180deg, #fde68a, #f5c400);
  color: #3b2a00; font-weight: 800; font-size: 10.5px; letter-spacing: 0.08em;
  padding: 5px 42px; box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  pointer-events: none;
}
.land-cta { margin-top: 10px; }
.land-note { text-align: center; margin: 6px 0 2px; }

.bens { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.ben { padding: 16px; }
.ben-ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px;
  background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.32); color: var(--up-soft);
}
.ben-ico svg { width: 22px; height: 22px; }
.ben-ico.ico-warn { background: rgba(250,204,21,0.10); border-color: rgba(250,204,21,0.32); color: #fde68a; }
.ben h2 { margin: 0 0 6px; font-size: 16px; font-weight: 780; letter-spacing: -0.02em; color: #fff; }
.ben p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #cbd5e1; }

@keyframes pulseGlow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes pricePulse {
  0%, 100% { text-shadow: 0 0 22px rgba(52,211,153,0.4); }
  50% { text-shadow: 0 0 36px rgba(52,211,153,0.75), 0 0 12px rgba(34,211,238,0.3); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow::before, .hero-title em, .price-now { animation: none; }
}

.bill-mini {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px; margin-top: 10px; text-decoration: none; color: inherit;
  border-color: rgba(250,204,21,0.28);
}
.bill-mini .left { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; min-width: 0; }
.bill-mini .k { margin: 0; }
.bill-mini .amt { font-size: 12.5px; font-weight: 750; color: #fde68a; margin: 0; }
.bill-mini .go { font-size: 12.5px; font-weight: 750; color: var(--up-soft); white-space: nowrap; }

.day-row { padding: 12px 14px; margin-bottom: 8px; }
.day-row.running { border-color: rgba(250,204,21,0.32); }
.day-row.loss { border-color: rgba(148,163,184,0.22); }
.day-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.day-top strong { font-size: 13.5px; color: #fff; }
.day-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.day-grid .k { display: block; margin-bottom: 1px; }
.day-grid b { font-size: 13.5px; font-weight: 750; font-variant-numeric: tabular-nums; color: #f1f5f9; }
.day-note { margin: 8px 0 0; color: #9aa8b8; }

.legal { margin-top: 18px; padding: 12px 14px; border-radius: 12px;
  background: rgba(248,113,113,0.06); border: 1px solid rgba(248,113,113,0.22); }
.legal p { margin: 0; font-size: 11.5px; line-height: 1.5; color: #fca5a5; }

/* ========== ONBOARDING ========== */
.steps { display: flex; gap: 6px; margin: 4px 0 16px; }
.steps i { flex: 1; height: 4px; border-radius: 99px; background: rgba(148,163,184,0.22); }
.steps i.on { background: var(--up); box-shadow: 0 0 8px rgba(52,211,153,0.5); }
.steps i.done { background: rgba(52,211,153,0.45); }
.choice { display: flex; flex-direction: column; gap: 10px; }
.choice-btn { text-align: left; padding: 16px; color: inherit; width: 100%;
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); }
.choice-btn.on { border-color: rgba(52,211,153,0.5);
  box-shadow: 0 0 0 1px rgba(52,211,153,0.18), 0 0 20px rgba(52,211,153,0.1); }
.choice-btn .ex { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: #f1f5f9; flex: 0 0 auto; }
.choice-btn .ex.bin { color: #f5c400; border-color: rgba(245,196,0,0.35); background: rgba(245,196,0,0.08); }
.choice-btn .ex.byb { color: #f7a51a; border-color: rgba(247,165,26,0.35); background: rgba(247,165,26,0.08); }
.choice-btn b { display: block; font-size: 16px; color: #fff; }
.choice-btn small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.choice-btn .ex.tkc { color: #fb923c; border-color: rgba(251,146,60,0.4); background: rgba(251,146,60,0.1); }
.choice-btn .ex.idx { color: #38bdf8; border-color: rgba(56,189,248,0.4); background: rgba(56,189,248,0.1); }
.ex-kicker {
  font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #86efac; margin: 0 0 6px;
}
.ex-other-hd {
  font-size: 12px; font-weight: 700; color: var(--muted);
  margin: 14px 0 4px;
}
.ex-board { margin: 0 0 18px; padding: 16px 16px 14px; }
.ex-board h2 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; }
.choice-btn.soon {
  opacity: .95; cursor: default;
  border-color: rgba(134, 239, 172, .35);
  background: linear-gradient(180deg, rgba(22, 101, 52, .16), rgba(15, 23, 42, .35));
}
.choice-btn.soon:hover { transform: none; }
.choice-btn.rec {
  border-color: rgba(134, 239, 172, .4);
  background: linear-gradient(180deg, rgba(22, 101, 52, .18), rgba(15, 23, 42, .35));
}
.choice-btn.muted-opt { opacity: .85; }
.ex-dash { margin: 0 0 12px; padding: 12px 14px; }
.ex-dash-rec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; }
.ex-dash-now { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; padding-top: 8px; border-top: 1px solid rgba(148,163,184,.15); }
.ex-dash-now .k { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.howto { margin: 0; padding: 0; list-style: none; }
.howto li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; line-height: 1.45; color: #cbd5e1; }
.howto .n { flex: 0 0 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; background: rgba(52,211,153,0.14); color: var(--up-soft); margin-top: 1px; }
.ipbox { margin: 12px 0; padding: 12px 14px; border-radius: 12px;
  background: rgba(34,211,238,0.07); border: 1px solid rgba(34,211,238,0.28); }
.ipbox .k { margin-bottom: 4px; }
.ipbox .ip { font-size: 18px; font-weight: 780; letter-spacing: 0.04em; color: #a5f3fc; font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); margin: 12px 0; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: #1fbf84; flex: 0 0 22px; }
.check label { font-size: 13.5px; line-height: 1.45; color: #cbd5e1; }

/* ========== DASHBOARD ========== */
.saldo-card { padding: 16px 16px 14px; }
.saldo-card .k { display: flex; align-items: center; justify-content: space-between; }
.runline { margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums; }
.runline .run-k { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 650; }
.runline .run-main { font-size: 18px; font-weight: 800; letter-spacing: 0.04em;
  color: #f1f5f9; line-height: 1.2; margin-top: 3px; }
.runline .run-since { font-size: 11px; font-weight: 600; color: #7c8aa3; margin-top: 2px; }
.runline.is-wait .run-main { font-size: 14px; font-weight: 700; color: #9aa8b8; letter-spacing: 0; }
.saldo-num { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; color: #fff;
  font-variant-numeric: tabular-nums; line-height: 1.05; margin: 6px 0 2px; }
.saldo-usd { font-size: 13.5px; color: #9aa8b8; font-weight: 650; }
.pnl-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.pnl-cell { padding: 10px 8px 9px; text-align: left; min-width: 0; }
.pnl-cell .k { font-size: 9px; }
.pnl-cell .vv { font-size: 13.5px; font-weight: 780; letter-spacing: -0.02em; margin-top: 3px;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.pnl-cell .pp { font-size: 11px; font-weight: 700; margin-top: 1px; font-variant-numeric: tabular-nums; }

.coin-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.coin-scroll::-webkit-scrollbar { display: none; }
.coin-chip { flex: 0 0 auto; scroll-snap-align: start; min-width: 122px; padding: 10px 12px; text-align: left;
  color: inherit; border: 1px solid var(--line); }
.coin-chip.on { border-color: rgba(52,211,153,0.5);
  box-shadow: 0 0 0 1px rgba(52,211,153,0.16); }
.coin-chip .sym { font-weight: 780; font-size: 14px; color: #fff; }
.coin-chip .sym span { color: var(--muted); font-weight: 600; font-size: 10px; }
.coin-chip .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.coin-chip .lv { font-size: 12px; font-weight: 750; color: #cbd5e1; font-variant-numeric: tabular-nums; }
.coin-chip .pnl { font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }

.ladder-wrap { padding: 0; overflow: hidden; }
.ladder-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px 4px; }
.ladder-hd .ttl { font-weight: 750; font-size: 13px; letter-spacing: 0.03em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tf { display: flex; gap: 2px; }
.tf button { font-weight: 700; font-size: 11px; padding: 4px 8px; min-height: 28px; border-radius: 6px;
  color: #7c8aa3; background: transparent; border: 0; }
.tf button.on { background: rgba(250,204,21,0.15); color: #fde68a; }
.ladder-canvas-wrap { position: relative; height: 220px; margin: 0 0 2px; }
.ladder-canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ladder-ft { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 4px 12px 10px; font-size: 10.5px; color: #8b9bb0; }
.ladder-ft .leg { display: flex; align-items: center; gap: 5px; }
.ladder-ft i { width: 14px; height: 2.5px; border-radius: 2px; display: inline-block; }
.lv-row { display: flex; gap: 4px; padding: 0 12px 10px; overflow-x: auto; scrollbar-width: none; }
.lv-row::-webkit-scrollbar { display: none; }
.lv { flex: 1; min-width: 42px; text-align: center; padding: 6px 2px; border-radius: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(148,163,184,0.16); }
.lv.fill { background: rgba(34,211,238,0.12); border-color: rgba(34,211,238,0.35); }
.lv .l { display: block; font-size: 9px; font-weight: 750; color: var(--muted); letter-spacing: 0.04em; }
.lv.fill .l { color: var(--teal); }
.lv .p { display: block; font-size: 10.5px; font-weight: 750; color: #e2e8f0; font-variant-numeric: tabular-nums; }
.lv .d { display: block; font-size: 9px; color: #9aa8b8; font-variant-numeric: tabular-nums; }

.tx-item, .nt-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid rgba(148,163,184,0.14); }
.tx-item:last-child, .nt-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.tx-item .left, .nt-item .left { min-width: 0; }
.tx-item .ttl, .nt-item .ttl { font-weight: 750; font-size: 13.5px; color: #f1f5f9; }
.tx-item .when, .nt-item .when { font-size: 11px; color: var(--muted); margin-top: 2px; }
.tx-item .right { text-align: right; font-weight: 780; font-variant-numeric: tabular-nums; font-size: 13.5px; white-space: nowrap; }
.link-all { display: block; text-align: center; margin-top: 8px; font-size: 13px; font-weight: 700; padding: 8px; color: var(--up-soft); }

/* ========== LANGGANAN ========== */
.plan-hero { padding: 16px; }
.plan-hero .ttl { font-size: 22px; font-weight: 780; color: #fff; letter-spacing: -0.02em; }
.plan-hero .until { font-size: 14.5px; color: #cbd5e1; margin-top: 4px; }
.note-jeda { margin-top: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(250,204,21,0.08); border: 1px solid rgba(250,204,21,0.28); color: #fde68a;
  font-size: 12.5px; line-height: 1.45; }
.pay-row { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0;
  border-bottom: 1px solid rgba(148,163,184,0.14); font-size: 13.5px; }
.pay-row:last-child { border-bottom: 0; }
.qris-box { text-align: center; padding: 8px 0 4px; }
.qris-box canvas, .qris-box .qr { width: 164px; height: 164px; margin: 0 auto 10px;
  border-radius: 12px; background: #fff; padding: 8px; }
.qris-amt { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* ========== ADMIN ========== */
.mem { padding: 12px 14px; margin-bottom: 8px; text-align: left; color: inherit; width: 100%; }
.mem .row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mem .nm { font-weight: 750; font-size: 14.5px; color: #fff; }
.mem .row2 { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 12px; color: #cbd5e1; }
.mem .row2 b { color: #fff; font-weight: 750; font-variant-numeric: tabular-nums; }
.mem .acts { display: flex; gap: 8px; margin-top: 10px; }
.mem .acts .btn { flex: 1; }

/* ========== TAB BAR ========== */
.tabbar { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 40;
  display: none; height: calc(var(--tabbar-h) + var(--safe-b));
  padding: 6px 8px var(--safe-b);
  background: linear-gradient(180deg, rgba(12,19,32,0.92), rgba(7,11,18,0.96));
  border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 -8px 28px rgba(0,0,0,0.35);
}
.tabbar.show { display: flex; }
.tabbar button { flex: 1; border: 0; background: transparent; color: #7c8aa3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 10px; font-weight: 750; letter-spacing: 0.04em; min-height: 48px; border-radius: 12px; }
.tabbar button svg { width: 22px; height: 22px; }
.tabbar button.on { color: var(--up-soft); background: rgba(52,211,153,0.08); }
@media (min-width: 1024px) {
  body.page-landing .tabbar { max-width: 980px; }
  body.page-wide .tabbar { max-width: 720px; }
}

/* ========== MODAL ========== */
.modal-bg { display: none; position: fixed; inset: 0; z-index: 80;
  background: rgba(3, 6, 12, 0.72); backdrop-filter: blur(8px);
  align-items: flex-end; justify-content: center; }
.modal-bg.show { display: flex; }
.modal { width: 100%; max-width: 430px; max-height: 88dvh; overflow: auto;
  border-radius: 20px 20px 0 0; padding: 16px 16px calc(24px + var(--safe-b));
  background: linear-gradient(180deg, rgba(16,26,44,0.97), rgba(9,14,24,0.97));
  border: 1px solid var(--line-strong); border-bottom: 0;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.5); }
.modal .grab { width: 40px; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.18); margin: 0 auto 12px; }
.modal h3 { margin: 0 0 8px; font-size: 18px; color: #fff; letter-spacing: -0.02em; }
.modal p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: #cbd5e1; }
@media (min-width: 720px) {
  .modal-bg { align-items: center; }
  .modal { border-radius: 20px; border-bottom: 1px solid var(--line-strong); margin: 16px; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px);
  transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none;
  z-index: 90; max-width: 90%; padding: 10px 16px; border-radius: 12px;
  background: rgba(12,19,32,0.96); border: 1px solid rgba(52,211,153,0.35);
  color: #e2e8f0; font-size: 13px; font-weight: 650;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45); transition: 0.25s ease; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Desktop expansion */
@media (min-width: 1024px) {
  body.page-landing .app { max-width: 980px; }
  .landing-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; padding-top: 12px; }
  body.page-landing .hero-hook { font-size: 32px; }
  body.page-landing .price-now { font-size: 52px; }
  body.page-landing .bens { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .saldo-num { font-size: 36px; }
  .ladder-canvas-wrap { height: 280px; }
  body.page-wide .app, body.page-dash .app, body.page-tx .app, body.page-pay .app, body.page-admin .app { max-width: 720px; }
  body.page-wide .tabbar, body.page-dash .tabbar, body.page-tx .tabbar, body.page-pay .tabbar, body.page-admin .tabbar,
  body.page-wide .tabbar.show, body.page-dash .tabbar.show { max-width: 720px !important; }
}

/* Auth extras */
.auth-switch { text-align: center; margin-top: 14px; font-size: 13px; color: #9aa8b8; }
.auth-admin { text-align: center; margin-top: 18px; font-size: 12px; }
.auth-admin a { color: #94a3b8; }

.ob-pane { display: none; }
.ob-pane.show { display: block; }

/* ========== Landing: ease card + carousel ========== */
.ease-card {
  margin-top: 10px; padding: 14px 14px 14px;
  border-color: rgba(52,211,153,0.5) !important;
  box-shadow: 0 0 0 1px rgba(52,211,153,0.14), 0 10px 32px rgba(0,0,0,0.35), 0 0 28px rgba(52,211,153,0.16);
  background: linear-gradient(180deg, rgba(20,40,44,0.78), rgba(10,16,28,0.7));
}
.ease-card .ben-ico { margin-bottom: 8px; }
.ease-card h2 { margin: 0 0 6px; font-size: 16.5px; font-weight: 780; letter-spacing: -0.02em; color: #fff; }
.ease-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #e2e8f0; font-weight: 550; }

.showcase { margin-top: 22px; scroll-margin-top: 40px; }
.show-hd h2 {
  margin: 0 0 4px; font-size: 18px; font-weight: 780; letter-spacing: -0.02em; color: #fff; text-align: center;
}
.show-hd p { margin: 0 0 10px; text-align: center; font-size: 12.5px; color: var(--muted); }
.car-wrap { position: relative; }
.car-track {
  display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-inline: 36px;
  padding: 6px 36px 12px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 auto; width: 236px; scroll-snap-align: center; }
.phone {
  position: relative; width: 236px; height: 498px; border-radius: 34px;
  padding: 11px 9px 13px;
  background: linear-gradient(180deg, #1c2738, #0a101b);
  border: 1.5px solid rgba(160,200,230,0.38);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset, 0 16px 36px rgba(0,0,0,0.5), 0 0 20px rgba(52,211,153,0.08);
}
.phone .notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 8px; border-radius: 99px; background: #070b12;
  z-index: 2; box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.phone .screen {
  height: 100%; border-radius: 24px; overflow: hidden; background: #070b12;
  position: relative;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; pointer-events: none; }
.cap { margin: 10px 0 0; text-align: center; }
.cap strong { display: block; font-size: 13.5px; font-weight: 750; color: #fff; }
.cap span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.car-dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
.car-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0;
  background: rgba(148,163,184,0.4); min-height: 8px; cursor: pointer;
}
.car-dots button.on { width: 20px; background: var(--up); box-shadow: 0 0 8px rgba(52,211,153,0.55); }
.car-arrow {
  display: none; position: absolute; top: 210px; z-index: 3;
  width: 36px; height: 36px; border-radius: 99px; padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(12,19,32,0.88); color: #e2e8f0;
  place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.car-arrow svg { width: 18px; height: 18px; }
.car-arrow.prev { left: 0; }
.car-arrow.next { right: 0; }
@media (min-width: 720px) {
  .car-arrow { display: grid; }
}

/* Explainer slide (inside phone) */
.screen.explain {
  padding: 20px 8px 6px; overflow-y: auto; color: #e2e8f0;
  background:
    radial-gradient(180px 80px at 50% 0%, rgba(52,211,153,0.14), transparent 70%),
    #070b12;
}
.ex-kicker { font-size: 9px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--up-soft); }
.screen.explain h3 { margin: 2px 0 4px; font-size: 12.5px; font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }
.ex-lead { margin: 0 0 5px; font-size: 9.5px; line-height: 1.35; color: #9aa8b8; }
.ex-lead em { font-style: normal; color: #86efac; font-weight: 700; }
.ex-start {
  padding: 4px 7px; border-radius: 8px; margin-bottom: 5px;
  background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.22);
  font-size: 10px; color: #cbd5e1;
}
.ex-start b { display: block; font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; }
.ex-days { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ex-days li {
  padding: 5px 6px 5px 8px; border-radius: 9px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(148,163,184,0.16);
  border-left: 3px solid #34d399;
}
.ex-days li.zero { border-left-color: #94a3b8; }
.ex-d { font-size: 10px; font-weight: 800; color: #f1f5f9; letter-spacing: 0.01em; }
.ex-days p { margin: 2px 0 3px; font-size: 9.5px; line-height: 1.35; color: #9aa8b8; }
.ex-hr { font-size: 10.5px; font-weight: 750; color: #86efac; font-variant-numeric: tabular-nums; }
.ex-hr.zero { color: #94a3b8; }
.ex-hr b { font-weight: 800; }

.ex-rec-cap { margin: 8px 0 0; font-size: 11px; color: var(--muted); line-height: 1.45; }
.ex-dash .ex-rec-cap { margin: 6px 0 0; }

.ex-other-fold { margin: 12px 0 0; }
.ex-other-toggle {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--muted);
  padding: 10px 12px; border: 1px solid var(--line, rgba(148,163,184,.22));
  border-radius: 12px; background: rgba(255,255,255,.03);
}
.ex-other-toggle::-webkit-details-marker { display: none; }
.ex-other-toggle::after { content: "▸"; font-size: 12px; color: var(--muted); }
.ex-other-fold[open] > .ex-other-toggle::after,
.ex-local-fold[open] > .ex-other-toggle::after { content: "▾"; }
.ex-other-fold[open] > .ex-other-toggle { margin-bottom: 8px; }
.ex-other-body { padding: 0 0 2px; }
.ex-risk-note {
  margin: 0 0 10px; padding: 10px 12px; font-size: 11px; line-height: 1.5;
  color: #94a3b8; background: rgba(15,23,42,.45);
  border: 1px solid rgba(148,163,184,.18); border-radius: 10px;
}
.ex-dash .ex-other-fold { margin-top: 10px; }
.ex-dash .ex-other-fold .choice-btn { width: 100%; text-align: left; }

.ex-local-fold { margin: 0 0 8px; }
.ex-board .ex-other-fold,
.ex-dash .ex-other-fold { margin-top: 0; }
.ex-local-toggle {
  color: #ecfdf5;
  font-weight: 800;
  border-color: rgba(134, 239, 172, .45);
  background: linear-gradient(180deg, rgba(22, 101, 52, .28), rgba(15, 23, 42, .4));
}
.ex-dash .ex-dash-now { margin-bottom: 10px; }
.ex-dash .ex-local-fold .ex-dash-rec { margin-top: 2px; }
