/* H2H IndoTopup — tema terang berkarakter IndoTopup (magenta + cyan di atas kertas lavender) */
:root {
    --paper: #fbf9ff; --paper2: #f3eefc; --card: #ffffff; --line: #e7e1f4; --line2: #d5cce9;
    --ink: #1a1333; --ink2: #3b3359; --muted: #6a6286; --dim: #9a93b3;
    --mag: #c911ad; --mag2: #a40d8d; --mag-soft: #fbe8f7; --cyan: #0aa5c8; --cyan-soft: #e0f6fb; --vio: #6d3fe0; --vio-soft: #efe9fd;
    --ok: #0f9d63; --ok-soft: #e2f6ec; --warn: #b86e00; --warn-soft: #fdf0d9; --bad: #d6334a; --bad-soft: #fde8eb;
    --bg: var(--paper); --bg2: var(--paper2); --text: var(--ink); --blue: var(--mag); --blue2: var(--mag2); --blue-soft: var(--mag-soft);
    --r1: 12px; --r2: 20px; --r3: 30px; --radius: var(--r2);
    --shadow: 0 1px 2px rgba(60, 24, 110, .05), 0 12px 32px rgba(60, 24, 110, .07);
    --shadow-lg: 0 2px 6px rgba(60, 24, 110, .06), 0 30px 70px rgba(80, 30, 140, .16);
    --head: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif; --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    --grad: linear-gradient(100deg, var(--mag), var(--vio) 55%, var(--cyan));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--mag); text-decoration: none; } a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
code, .mono { font-family: var(--mono); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(201, 17, 173, .35); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.hide { display: none !important; }
.muted { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- tombol & form ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1.5px solid var(--line2); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 11px 19px; border-radius: 14px; transition: transform .12s, box-shadow .12s, border-color .12s; white-space: nowrap; text-decoration: none !important; }
.btn:hover { border-color: var(--mag); color: var(--mag2); transform: translateY(-1px); }
.btn.primary { background: var(--mag); border-color: var(--mag); color: #fff; box-shadow: 0 8px 20px rgba(201, 17, 173, .28); }
.btn.primary:hover { background: var(--mag2); border-color: var(--mag2); color: #fff; }
.btn.ink, .btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; } .btn.ink:hover, .btn.dark:hover { background: #2a1f4d; color: #fff; }
.btn.danger { border-color: #f0b8c0; color: var(--bad); } .btn.danger:hover { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.btn.sm { padding: 7px 13px; font-size: 13px; border-radius: 11px; } .btn.lg { padding: 15px 27px; font-size: 15.5px; border-radius: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.field { margin-bottom: 15px; } .field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink2); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.input, select.input, textarea.input { width: 100%; background: #fff; border: 1.5px solid var(--line2); border-radius: 13px; padding: 11px 14px; font-size: 14.5px; color: var(--ink); font-family: inherit; transition: .15s; }
.input:focus { outline: none; border-color: var(--mag); box-shadow: 0 0 0 4px var(--mag-soft); }
.input::placeholder { color: var(--dim); } textarea.input { min-height: 92px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.err { color: var(--bad); font-size: 12.5px; margin-top: 5px; }
.alert { border-radius: 14px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; border: 1.5px solid; }
.alert.ok { background: var(--ok-soft); border-color: #b3e4cc; color: #0a6b43; } .alert.bad { background: var(--bad-soft); border-color: #f3c0c8; color: #a1203a; }
.alert.info { background: var(--vio-soft); border-color: #d6c9f8; color: #4627a4; } .alert.warn { background: var(--warn-soft); border-color: #f1d9a8; color: #8a5200; }

/* ---------- kartu, badge, tabel ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); box-shadow: var(--shadow); }
.pad { padding: 24px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--paper2); color: var(--muted); font-family: var(--mono); }
.badge.ok { background: var(--ok-soft); color: #0a7a4b; } .badge.bad { background: var(--bad-soft); color: #b0213a; } .badge.warn { background: var(--warn-soft); color: #94590a; } .badge.blue { background: var(--mag-soft); color: var(--mag2); } .badge.cyan { background: var(--cyan-soft); color: #08748f; }
.pill { display: inline-block; border: 1.5px solid var(--line2); background: #fff; border-radius: 99px; padding: 7px 15px; font-size: 13px; font-weight: 700; color: var(--ink2); cursor: pointer; transition: .15s; }
.pill:hover { border-color: var(--mag); color: var(--mag2); } .pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill small { font-family: var(--mono); background: rgba(26, 19, 51, .08); border-radius: 99px; padding: 1px 8px; margin-left: 6px; font-size: 11px; } .pill.on small { background: rgba(255, 255, 255, .2); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; padding: 13px 16px; background: var(--paper); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid #f0ebf9; vertical-align: middle; } .tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #fdfbff; }
.tbl .num, .tbl th.num { text-align: right; font-family: var(--mono); white-space: nowrap; } .tbl .hl { background: var(--mag-soft); }
.empty { text-align: center; padding: 46px 20px; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; font-size: 13px; color: var(--muted); }
.pager .pages { display: flex; gap: 6px; } .pager button { min-width: 34px; height: 34px; border: 1.5px solid var(--line2); background: #fff; border-radius: 10px; font-weight: 700; font-size: 13px; color: var(--ink); }
.pager button.on { background: var(--ink); border-color: var(--ink); color: #fff; } .pager button[disabled] { opacity: .35; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.search { position: relative; } .search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 13px; } .search .input { padding-left: 38px; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line2); font-size: 14px; } .kv:last-child { border: 0; } .kv span:first-child { color: var(--muted); }

/* ---------- modal & toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(26, 19, 51, .5); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100; backdrop-filter: blur(3px); }
.modal-bg.open { display: flex; }
.modal { background: #fff; border-radius: 26px; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); } .modal.lg { max-width: 840px; }
.modal-h { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); } .modal-h h3 { font-size: 20px; }
.modal-b { padding: 22px 24px; } .modal-f { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.x { background: none; border: 0; font-size: 22px; color: var(--muted); width: 36px; height: 36px; border-radius: 10px; } .x:hover { background: var(--paper2); }
#toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; box-shadow: var(--shadow-lg); max-width: 360px; animation: tin .2s ease; } .toast.ok { background: #0a6b43; } .toast.bad { background: #a1203a; }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }
.spin { display: inline-block; width: 18px; height: 18px; border: 2.5px solid var(--line2); border-top-color: var(--mag); border-radius: 50%; animation: sp .7s linear infinite; vertical-align: middle; } @keyframes sp { to { transform: rotate(360deg); } }
.code { background: #1a1333; color: #e9e3ff; border-radius: 16px; padding: 18px 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; overflow: auto; white-space: pre; position: relative; }
.code .copy { position: absolute; top: 10px; right: 10px; background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 8px; padding: 4px 10px; font-size: 12px; }
.code .k { color: #ff8be8; } .code .s { color: #8be9fd; } .code .c { color: #9b92c4; } .code .n { color: #ffd87a; } .code .g { color: #6ef0b0; }

/* ---------- header & footer publik ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 255, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .in { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none !important; }
.logo .lg-wrap { background: #1a1333; border-radius: 12px; padding: 6px 12px; display: inline-flex; align-items: center; } .logo .lg-wrap img { display: block; width: auto; }
.logo .h2hb { font-family: var(--mono); font-weight: 700; font-size: 11.5px; color: var(--mag2); background: var(--mag-soft); border-radius: 8px; padding: 4px 9px; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: 8px; } .nav a { color: var(--ink2); font-weight: 700; font-size: 14px; white-space: nowrap; padding: 8px 12px; border-radius: 10px; } .nav a:hover { background: var(--paper2); text-decoration: none; color: var(--ink); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sel { border: 1.5px solid var(--line2); background: #fff; border-radius: 11px; padding: 7px 10px; font-size: 13px; font-weight: 700; color: var(--ink2); font-family: inherit; }
.burger { display: none; background: #fff; border: 1.5px solid var(--line2); border-radius: 11px; width: 40px; height: 40px; font-size: 16px; }
.foot { background: #1a1333; color: #b8afd6; margin-top: 110px; padding: 56px 0 30px; font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; } .foot h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-family: var(--body); font-weight: 800; }
.foot a { color: #b8afd6; display: block; margin-bottom: 9px; } .foot a:hover { color: #fff; }
.foot .h2hb { background: rgba(255, 255, 255, .12); color: #fff; }
.foot .bot { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 20px; text-align: center; font-size: 12.5px; }
@media (max-width: 960px) {
    .nav, .top .right .hide-m { display: none; } .burger { display: inline-grid; place-items: center; }
    .nav.open { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: var(--paper); padding: 14px 22px 20px; border-bottom: 1px solid var(--line); gap: 2px; }
    .foot .cols { grid-template-columns: 1fr 1fr; } .row2 { grid-template-columns: 1fr; }
}

/* ---------- landing ---------- */
.kicker { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--mag2); letter-spacing: .02em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; } .kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.hero { position: relative; padding: 70px 0 54px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(201, 17, 173, .14), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -12%; bottom: -30%; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(10, 165, 200, .13), transparent 70%); pointer-events: none; }
.hero .g { display: grid; grid-template-columns: 1fr 1.02fr; gap: 54px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; margin-bottom: 20px; letter-spacing: -.035em; } .hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--ink2); max-width: 520px; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero .meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); font-weight: 600; } .hero .meta span::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.term { background: #1a1333; border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; color: #e9e3ff; transform: rotate(.6deg); }
.term .bar2 { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #241b45; font-family: var(--mono); font-size: 12px; color: #9b92c4; } .term .bar2 i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; } .term .bar2 b { margin-left: auto; color: #6ef0b0; font-weight: 600; }
.term .body2 { padding: 18px 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; min-height: 270px; white-space: pre-wrap; word-break: break-word; }
.term .ctl { display: flex; gap: 10px; padding: 14px 18px 18px; border-top: 1px solid rgba(255, 255, 255, .08); align-items: center; flex-wrap: wrap; }
.term select { background: #2f2557; color: #fff; border: 1px solid #473b7a; border-radius: 10px; padding: 8px 10px; font-family: var(--mono); font-size: 12px; max-width: 100%; flex: 1; min-width: 160px; }
.term button { background: var(--mag); color: #fff; border: 0; border-radius: 10px; padding: 9px 16px; font-weight: 700; font-size: 13px; } .term button:hover { background: #e01ec0; }
.term .note { width: 100%; font-size: 11px; color: #9b92c4; }
.cursor { display: inline-block; width: 8px; height: 15px; background: #ff8be8; vertical-align: -3px; animation: bl 1s steps(2) infinite; } @keyframes bl { 50% { opacity: 0; } }
.ticker { overflow: hidden; padding: 26px 0 8px; position: relative; z-index: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker .track { display: flex; gap: 14px; width: max-content; animation: tk 48s linear infinite; } .ticker img { width: 74px; height: 74px; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow); border: 2px solid #fff; }
@keyframes tk { to { transform: translateX(-50%); } }
.facts { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; padding: 22px 0 0; font-size: 14px; color: var(--muted); } .facts b { color: var(--ink); font-family: var(--head); font-size: 22px; margin-right: 6px; }
section.sec { padding: 96px 0 0; } section.sec.tint { background: var(--paper2); padding: 90px 0; margin-top: 96px; }
.sec h2 { font-size: clamp(30px, 4vw, 46px); max-width: 760px; margin-bottom: 14px; font-weight: 800; letter-spacing: -.03em; } .sec .sub { color: var(--muted); max-width: 640px; font-size: 17px; margin: 0 0 38px; }
.sec .ctr { text-align: center; } .sec .ctr h2, .sec .ctr .sub { margin-left: auto; margin-right: auto; } .sec .ctr .kicker { justify-content: center; }
.flowline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flowline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 3px; background: repeating-linear-gradient(90deg, var(--line2) 0 10px, transparent 10px 20px); }
.flowline > div { position: relative; padding: 0 14px; text-align: center; } .flowline .dot { width: 56px; height: 56px; border-radius: 18px; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; margin: 0 auto 16px; font-size: 20px; color: var(--ink); box-shadow: 4px 4px 0 var(--mag); position: relative; z-index: 1; }
.flowline h3 { font-size: 19px; margin-bottom: 6px; } .flowline p { margin: 0 auto; color: var(--muted); font-size: 14px; max-width: 220px; }
.codetabs { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; margin-top: 70px; }
.codetabs .tabs { margin-bottom: 14px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r3); padding: 26px; position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; } .bento > div:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento .s2 { grid-column: span 2; } .bento .s3 { grid-column: span 3; } .bento .s4 { grid-column: span 4; }
.bento h3 { font-size: 21px; margin: 12px 0 8px; } .bento p { margin: 0; color: var(--muted); font-size: 14.5px; }
.bento .ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 19px; color: #fff; background: var(--mag); } .bento .ico.c { background: var(--cyan); } .bento .ico.v { background: var(--vio); } .bento .ico.o { background: #e8730c; } .bento .ico.g { background: var(--ok); }
.bento .viz { margin-top: 16px; } .bento .chipx { display: inline-block; font-family: var(--mono); font-size: 12px; background: var(--paper2); border: 1px solid var(--line); border-radius: 9px; padding: 4px 9px; margin: 0 6px 6px 0; }
.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--r3); padding: 26px; box-shadow: var(--shadow); }
.finder .top2 { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; margin-bottom: 16px; } .finder .search .input { padding-top: 14px; padding-bottom: 14px; font-size: 16px; border-radius: 16px; }
.finder .pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; } .finder .cap { font-size: 12px; font-weight: 800; color: var(--muted); margin: 14px 0 8px; letter-spacing: .04em; }
.sim { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: start; }
.sim .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r3); padding: 26px; box-shadow: var(--shadow); }
.sim .res { background: linear-gradient(160deg, #fff, var(--mag-soft)); }
.tier2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; } .tier2 > div { border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; } .tier2 > div.pr { border-color: var(--mag); background: #fff; box-shadow: 4px 4px 0 var(--mag); }
.tier2 h4 { font-size: 15px; margin-bottom: 10px; } .tier2 .big { font-family: var(--mono); font-size: 21px; font-weight: 700; margin-top: 8px; }
.ticketrow { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ticket { position: relative; background: #fff; border: 1.5px solid var(--ink); border-radius: 24px; padding: 30px 28px 26px; box-shadow: 6px 6px 0 var(--ink); }
.ticket.hot { box-shadow: 6px 6px 0 var(--mag); border-color: var(--mag); }
.ticket .perf { border-top: 2px dashed var(--line2); margin: 22px -6px 18px; }
.ticket h3 { font-size: 26px; } .ticket .code2 { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ticket .kv span:last-child { font-family: var(--mono); font-weight: 700; font-size: 13px; }
.pay { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 18px; } .pay .lg { border: 1px solid var(--line); border-radius: 14px; height: 58px; display: grid; place-items: center; padding: 8px; background: #fff; } .pay img { max-height: 30px; max-width: 100%; object-fit: contain; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; margin-bottom: 10px; } .faq summary { cursor: pointer; padding: 19px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 14px; } .faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; color: var(--mag); font-size: 22px; line-height: 1; } .faq details[open] summary::after { content: "−"; } .faq details p { margin: 0 0 18px; color: var(--muted); }
.final { margin: 100px 0 0; } .final .box { background: var(--ink); color: #fff; border-radius: 36px; padding: 66px 30px; text-align: center; position: relative; overflow: hidden; }
.final .box::before { content: ""; position: absolute; inset: -40% 20% auto -10%; height: 360px; background: radial-gradient(closest-side, rgba(201, 17, 173, .45), transparent 70%); } .final .box::after { content: ""; position: absolute; inset: auto -10% -50% 40%; height: 360px; background: radial-gradient(closest-side, rgba(10, 165, 200, .4), transparent 70%); }
.final .box > * { position: relative; z-index: 1; } .final h2 { font-size: clamp(30px, 4.4vw, 50px); max-width: 720px; margin: 0 auto 14px; font-weight: 800; color: #fff; } .final p { color: #cfc6ee; max-width: 620px; margin: 0 auto 28px; font-size: 17px; }
.final .btn { border-color: transparent; } .final .btn:not(.primary) { background: rgba(255, 255, 255, .12); color: #fff; } .final .btn:not(.primary):hover { background: rgba(255, 255, 255, .22); color: #fff; }
@media (max-width: 960px) {
    .hero .g, .sim, .codetabs, .ticketrow { grid-template-columns: 1fr; gap: 28px; } .term { transform: none; } .flowline { grid-template-columns: 1fr 1fr; gap: 30px 0; } .flowline::before { display: none; }
    .bento { grid-template-columns: 1fr 1fr; } .bento .s2, .bento .s3, .bento .s4 { grid-column: span 2; } .finder .top2 { grid-template-columns: 1fr; }
}

/* ---------- auth ---------- */
.auth { min-height: calc(100vh - 66px); display: grid; grid-template-columns: 1.05fr 1fr; }
.auth .side { background: var(--ink); color: #fff; padding: 70px 58px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth .side::before { content: ""; position: absolute; inset: auto -20% -20% auto; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(201, 17, 173, .5), transparent 70%); }
.auth .side > * { position: relative; } .auth .side h2 { font-size: 38px; margin-bottom: 14px; font-weight: 800; } .auth .side p { color: #cfc6ee; max-width: 440px; }
.auth .side ul { padding: 0; margin: 24px 0 0; } .auth .side li { list-style: none; display: flex; gap: 14px; margin: 18px 0; }
.auth .side .ic { width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: #ff8be8; flex: none; } .auth .side li b { display: block; font-size: 15px; } .auth .side li span { font-size: 13.5px; color: #b8afd6; }
.auth .main { display: grid; place-items: center; padding: 40px 20px; }
.auth .box { width: 100%; max-width: 470px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); } .auth .box h1 { font-size: 27px; margin-bottom: 6px; } .auth .box > p { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth .side { display: none; } }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { padding: 20px 20px 16px; }
.side .tierbox { margin: 0 16px 8px; background: linear-gradient(135deg, var(--mag-soft), var(--vio-soft)); border-radius: 16px; padding: 12px 14px; } .side .tierbox small { font-size: 10.5px; letter-spacing: .08em; color: var(--mag2); font-weight: 800; display: block; } .side .tierbox b { font-family: var(--head); font-size: 17px; display: block; letter-spacing: -.02em; } .side .tierbox em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink2); }
.side .grp { padding: 8px 12px 2px; } .side .grp > h6 { margin: 10px 10px 6px; font-size: 11px; letter-spacing: .08em; color: var(--dim); font-weight: 800; text-transform: uppercase; }
.side .grp a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; color: var(--ink2); font-weight: 600; font-size: 14.5px; margin-bottom: 1px; text-decoration: none; position: relative; }
.side .grp a i { width: 18px; text-align: center; font-size: 14px; color: var(--dim); } .side .grp a:hover { background: var(--paper); color: var(--ink); }
.side .grp a.on { background: var(--mag-soft); color: var(--mag2); } .side .grp a.on i { color: var(--mag); } .side .grp a.on::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--mag); }
.side .grp a .cnt { margin-left: auto; background: var(--mag); color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 99px; padding: 1px 7px; }
.side .me { margin-top: auto; padding: 14px 16px; border-top: 1px solid var(--line); } .side .me .who { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; } .side .me .av { width: 36px; height: 36px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; } .side .me b { font-size: 13px; display: block; line-height: 1.2; } .side .me small { font-family: var(--mono); font-size: 10.5px; color: var(--muted); word-break: break-all; }
.mainc { min-width: 0; display: flex; flex-direction: column; background: var(--paper); }
.bar { min-height: 64px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 10px 22px; position: sticky; top: 0; z-index: 20; flex-wrap: wrap; }
.bar .jump { position: relative; flex: 1; max-width: 340px; min-width: 150px; } .bar .jump i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 13px; } .bar .jump input { width: 100%; border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: 9px 12px 9px 34px; font-size: 13.5px; font-family: inherit; } .bar .jump input:focus { outline: none; border-color: var(--mag); background: #fff; }
.bar .jump .res { position: absolute; top: 44px; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 30; } .bar .jump .res a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--ink); font-size: 13.5px; font-weight: 600; } .bar .jump .res a:hover, .bar .jump .res a.on { background: var(--mag-soft); text-decoration: none; }
.bar .right { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chipbal { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 7px 8px 7px 14px; font-size: 13px; } .chipbal b { font-family: var(--mono); font-size: 14px; } .chipbal a { background: var(--mag); color: #fff; border-radius: 10px; padding: 5px 11px; font-weight: 800; font-size: 12px; text-decoration: none; } .chipbal a:hover { background: #e01ec0; }
.modechip { display: inline-flex; align-items: center; gap: 7px; border-radius: 99px; padding: 6px 13px; font-size: 12px; font-weight: 800; font-family: var(--mono); text-decoration: none !important; border: 1.5px solid; } .modechip.sb { background: var(--warn-soft); color: #8a5200; border-color: #f1d9a8; } .modechip.lv { background: var(--ok-soft); color: #0a6b43; border-color: #b3e4cc; }
.modechip i { font-size: 8px; }
.bar .burger { display: none; }
.page { padding: 34px 26px 80px; width: 100%; max-width: 1040px; margin: 0 auto; }
.page .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; } .page .head h1 { font-size: 34px; font-weight: 800; letter-spacing: -.035em; } .page .head p { color: var(--muted); margin: 6px 0 0; font-size: 14.5px; max-width: 620px; }
.crumb2 { font-family: var(--mono); font-size: 12px; color: var(--mag2); font-weight: 700; margin-bottom: 8px; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.stat { padding: 20px 22px; border-top: 4px solid var(--mag); } .stat:nth-child(2) { border-top-color: var(--vio); } .stat:nth-child(3) { border-top-color: var(--cyan); }
.stat small { font-size: 11.5px; letter-spacing: .05em; color: var(--muted); font-weight: 800; display: flex; justify-content: space-between; } .stat b { display: block; font-family: var(--head); font-size: 29px; margin: 8px 0 4px; letter-spacing: -.03em; } .stat span { font-size: 12.5px; color: var(--muted); }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; } .filters .field { margin: 0; min-width: 150px; flex: 1; }
.info { border-left: 5px solid var(--mag); padding: 18px 22px; margin-bottom: 14px; } .info .meta { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; font-size: 12.5px; color: var(--muted); }
.info h3 { font-size: 18px; margin-bottom: 8px; } .info .body { font-size: 14.5px; color: var(--ink2); white-space: pre-line; }
.fab { position: fixed; right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 18px; background: var(--mag); color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 12px 28px rgba(201, 17, 173, .4); z-index: 40; text-decoration: none !important; } .fab:hover { background: var(--mag2); color: #fff; }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brandc { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 10px; text-align: center; cursor: pointer; font-weight: 700; font-size: 13px; transition: .15s; } .brandc:hover { border-color: var(--mag); box-shadow: 4px 4px 0 var(--mag); transform: translate(-2px, -2px); }
.brandc img, .brandc .ph { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; margin: 0 auto 10px; display: block; background: var(--paper2); } .brandc .ph { display: grid; place-items: center; font-weight: 800; color: var(--mag2); font-size: 18px; }
.prodrow { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 15px; background: #fff; margin-bottom: 8px; cursor: pointer; } .prodrow:hover, .prodrow.on { border-color: var(--mag); background: var(--mag-soft); } .prodrow .pr { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.docs-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
@media (max-width: 960px) {
    .dash { grid-template-columns: 1fr; } .side { position: fixed; left: -270px; width: 260px; z-index: 90; transition: left .2s; } .side.open { left: 0; box-shadow: 0 0 0 100vmax rgba(26, 19, 51, .45); }
    .bar .burger { display: inline-grid; place-items: center; width: 38px; height: 38px; } .stat3 { grid-template-columns: 1fr; } .page { padding: 24px 14px 60px; } .docs-layout { grid-template-columns: 1fr; } .bar .jump { display: none; } .page .head h1 { font-size: 28px; }
}
@media print { .side, .bar, .fab, .no-print, #toasts { display: none !important; } .dash { display: block; } .page { max-width: none; padding: 0; } body { background: #fff; } }


/* logo utama indotopup.com (versi terang untuk header/dashboard, versi asli untuk footer gelap) */
.logo img { display: block; width: auto; max-width: none; height: 36px; } .side .logo img { height: 30px; } .foot .logo img { height: 34px; }
.logo .lg-wrap { background: none; padding: 0; border-radius: 0; }

@media (max-width: 960px) { #apa-itu .wrap, #unggulan .uf, #dashboard .wrap { grid-template-columns: 1fr !important; gap: 26px !important; } }

.hero-fig { margin: 0; } .hero-fig img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(80, 30, 140, .18)); animation: float 7s ease-in-out infinite; } @keyframes float { 50% { transform: translateY(-10px); } }

/* konsistensi: kotak kode tetap setinggi sama di semua tab; auth tanpa celah ke footer */
.codetabs .code { height: 290px; } .ep .code[data-req] { min-height: 150px; }
main:has(.auth) + .foot { margin-top: 0; }

/* cegah geser horizontal di semua halaman publik */
html, body { max-width: 100%; overflow-x: clip; }

/* =====================================================================
   Dashboard ruang kerja: navigasi atas + dock ringkasan di kanan (bukan sidebar kiri)
   ===================================================================== */
.wk { background: var(--paper); }
.tn { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.tn-in { max-width: 1360px; margin: 0 auto; padding: 0 24px; min-height: 66px; display: flex; align-items: center; gap: 16px; }
.tn .logo img { height: 32px; }
.tn-nav { display: flex; gap: 2px; align-items: center; margin-left: 6px; }
.tn-nav > a, .tn-nav summary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 13px; font-weight: 700; font-size: 14px; color: var(--ink2); cursor: pointer; list-style: none; white-space: nowrap; text-decoration: none; transition: background .12s; }
.tn-nav > a i, .tn-nav summary > i:first-child { color: var(--dim); font-size: 13px; }
.tn-nav > a:hover, .tn-nav summary:hover { background: var(--paper2); color: var(--ink); text-decoration: none; }
.tn-nav .on { background: var(--ink); color: #fff; } .tn-nav .on i { color: #ff8be8; }
details.menu { position: relative; } details.menu > summary::-webkit-details-marker { display: none; }
.drop { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 70; }
.drop.right { left: auto; right: 0; min-width: 260px; }
.drop a { display: flex; gap: 11px; align-items: center; padding: 10px 12px; border-radius: 11px; color: var(--ink); font-weight: 600; font-size: 14px; } .drop a i { width: 16px; text-align: center; color: var(--dim); } .drop a:hover { background: var(--mag-soft); text-decoration: none; }
.drop .who { padding: 8px 12px 10px; border-bottom: 1px dashed var(--line2); margin-bottom: 6px; } .drop .who b { display: block; } .drop .who small { color: var(--muted); font-family: var(--mono); font-size: 11px; word-break: break-all; }
.drop .cnt { margin-left: auto; background: var(--mag); color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 99px; padding: 1px 7px; }
.drop .pref { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px dashed var(--line2); margin-top: 6px; }
.drop .out { width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 11px; font-weight: 700; color: var(--bad); font-size: 14px; } .drop .out:hover { background: var(--bad-soft); }
.tn-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tn .jump { position: relative; width: 230px; } .tn .jump i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 13px; }
.tn .jump input { width: 100%; border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: 9px 12px 9px 34px; font-size: 13.5px; font-family: inherit; } .tn .jump input:focus { outline: none; border-color: var(--mag); background: #fff; }
.tn .jump .res { position: absolute; top: 46px; left: 0; right: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 80; } .tn .jump .res a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--ink); font-size: 13.5px; font-weight: 600; } .tn .jump .res a:hover { background: var(--mag-soft); text-decoration: none; }
.avatar { width: 40px; height: 40px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; cursor: pointer; }
.av > summary { list-style: none; } .av > summary::-webkit-details-marker { display: none; }
.tn-burger { display: none; width: 40px; height: 40px; border: 1.5px solid var(--line2); background: #fff; border-radius: 12px; font-size: 16px; }
.wk-body { max-width: 1360px; margin: 0 auto; padding: 28px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.wk-main { min-width: 0; } .wk-main .page { padding: 0; max-width: none; margin: 0; }
.dock { position: sticky; top: 92px; display: grid; gap: 14px; }
.dk { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.dk-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; } .dk-s { font-size: 12.5px; color: var(--muted); margin: 6px 0 8px; }
.dk-bal { background: linear-gradient(150deg, #1a1333, #33246a); color: #fff; border: 0; } .dk-bal small { font-size: 11px; letter-spacing: .08em; color: #b8afd6; font-weight: 800; }
.dk-bal .amt { font-family: var(--head); font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 0; line-height: 1.1; word-break: break-word; } .dk-bal .sub { font-size: 12.5px; color: #b8afd6; } .dk-bal .btn { width: 100%; margin-top: 14px; }
.bar3 { height: 9px; background: var(--paper2); border-radius: 99px; overflow: hidden; } .bar3 i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; } .dot.c { background: var(--cyan); } .dot.m { background: var(--mag); }
.news { padding: 8px 0; border-top: 1px dashed var(--line2); } .news:first-of-type { border-top: 0; } .news b { display: block; font-size: 13.5px; line-height: 1.35; } .news small { color: var(--muted); font-size: 12px; }
.dk-links { display: grid; gap: 4px; padding: 10px; } .dk-links a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 12px; font-weight: 700; font-size: 13.5px; color: var(--ink2); } .dk-links a:hover { background: var(--mag-soft); text-decoration: none; } .dk-links i { color: var(--mag); width: 16px; text-align: center; }
.dk .kv { padding: 8px 0; font-size: 13px; }

/* ---------- mobile ---------- */
@media (max-width: 1180px) { .tn .jump { width: 170px; } .tn-nav > a, .tn-nav summary { padding: 8px 10px; } }
@media (max-width: 1100px) {
    .wk-body { grid-template-columns: 1fr; } .dock { position: static; grid-template-columns: repeat(2, 1fr); } .dock .dk-bal, .dock .dk-links { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
    .tn-burger { display: inline-grid; place-items: center; margin-left: 2px; } .tn-in { gap: 10px; padding: 0 16px; }
    .tn-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(60, 24, 110, .1); max-height: calc(100vh - 70px); overflow: auto; margin: 0; }
    .tn-nav.open { display: flex; } .tn-nav > a, .tn-nav summary { padding: 12px 14px; font-size: 15px; }
    .tn-nav details.menu .drop { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
    .tn .jump { display: none; } .stat3, .tier2 { grid-template-columns: 1fr; }
    .stat3[style], .row2[style*="repeat("] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .wk-body { padding: 16px 14px 60px; gap: 18px; } .dock { grid-template-columns: 1fr; }
    .tn .logo img { height: 28px; } .tn .h2hb { display: none; } .modechip { padding: 5px 10px; font-size: 11px; }
    .page .head h1 { font-size: 26px; } .page .head { align-items: flex-start; } .page .head > div:last-child { width: 100%; }
    .stat3[style], .row2[style*="repeat("] { grid-template-columns: 1fr !important; }
    .btn.lg { padding: 13px 20px; } .modal { border-radius: 20px; } .modal-b, .modal-h, .modal-f { padding-left: 16px; padding-right: 16px; } .pad { padding: 18px; }
    .filters .field { min-width: 100%; } .tabs { gap: 6px; } .pill { padding: 6px 12px; font-size: 12.5px; }
    .pager { justify-content: center; } .tbl th, .tbl td { padding: 11px 12px; }
    .brands { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
    #toasts { left: 14px; right: 14px; bottom: 14px; } .toast { max-width: none; }
    .wrap { padding: 0 16px; } .hero { padding: 38px 0 30px; } .hero p.lead { font-size: 16px; } .hero .cta .btn { width: 100%; } .hero .meta { gap: 8px 14px; font-size: 13px; }
    section.sec { padding-top: 60px; } section.sec.tint { padding: 60px 0; margin-top: 60px; } .sec h2 { font-size: 28px; } .sec .sub { font-size: 15.5px; }
    .ticker img { width: 58px; height: 58px; border-radius: 15px; } .facts { gap: 10px 22px; padding-top: 14px; } .facts b { font-size: 19px; }
    .flowline { grid-template-columns: 1fr; gap: 26px; } .bento { grid-template-columns: 1fr; } .bento .s2, .bento .s3, .bento .s4 { grid-column: span 1; } .bento > div { padding: 20px; }
    .finder, .sim .panel { padding: 18px; } .finder .top2 { grid-template-columns: 1fr; } .tier2 { grid-template-columns: 1fr; } .ticketrow .ticket { padding: 24px 20px 20px; }
    .codetabs .code { height: 260px; } .final .box { padding: 44px 18px; border-radius: 26px; } .foot .cols { grid-template-columns: 1fr; } .foot { padding-top: 40px; }
    .auth .box { padding: 24px 18px; } .auth .main { padding: 24px 14px; }
    .dnav { position: static !important; max-height: 190px !important; overflow: auto; border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #fff; } .dmain h1 { font-size: 30px; } .ep { padding: 18px; }
}
@media print { .tn, .dock, .no-print { display: none !important; } .wk-body { display: block; padding: 0; } }

/* langkah awal (beranda) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stp { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none !important; transition: .15s; }
.stp:hover { border-color: var(--mag); box-shadow: 3px 3px 0 var(--mag); transform: translate(-1px, -1px); }
.stp .ck { width: 28px; height: 28px; border-radius: 10px; background: var(--paper2); color: var(--muted); display: grid; place-items: center; font-weight: 800; font-size: 12.5px; flex: none; }
.stp.ok .ck { background: var(--ok); color: #fff; } .stp b { display: block; font-size: 14px; line-height: 1.3; } .stp small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; } .stp.ok b { text-decoration: line-through; text-decoration-color: var(--dim); color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } } @media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* header publik di layar kecil: badge disembunyikan, tombol ringkas, burger tetap terlihat */
@media (max-width: 640px) {
    .top .in { gap: 10px; } .top .h2hb { display: none; } .top .logo img { height: 30px; } .top .right { gap: 8px; } .top .right .btn.primary { padding: 8px 12px; font-size: 12.5px; white-space: nowrap; } .top .right .btn.primary i { display: none; }
}
@media (max-width: 380px) { .top .logo img { height: 26px; } .top .right .btn.primary { padding: 7px 10px; } }
