/* =========================================================
   HQ_Gold_Scalper — Black & Gold theme
   ========================================================= */
:root {
  --bg: #07080d;
  --bg-2: #0d0f16;
  --surface: rgba(20, 22, 32, .72);
  --surface-solid: #12141d;
  --line: rgba(255, 214, 120, .14);
  --line-strong: rgba(255, 214, 120, .32);
  --text: #f3efe4;
  --muted: #a39e8f;
  --gold-1: #fff0b8;
  --gold-2: #f5c451;
  --gold-3: #d79a17;
  --gold-4: #8f5a02;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
  --gold-grad: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 40%, var(--gold-3) 70%, var(--gold-4) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg) url("../img/bg.svg") center / cover fixed no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold-1); }
h1, h2, h3, h4 { font-family: Sora, Inter, sans-serif; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .92em; }
code { background: rgba(245, 196, 81, .1); color: var(--gold-1); padding: .12em .45em; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.nowrap { white-space: nowrap; }
.w-full { width: 100%; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { padding: 72px 0; }
.pt-0 { padding-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 12px; border: 1px solid transparent;
  font: 600 .95rem/1 Sora, sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: #1d1300; box-shadow: 0 10px 30px -10px rgba(245, 196, 81, .6); }
.btn-gold:hover { color: #1d1300; box-shadow: 0 14px 36px -8px rgba(245, 196, 81, .8); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-strong); color: var(--gold-1); }
.btn-ghost:hover { background: rgba(245, 196, 81, .1); }
.btn-lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn-sm { padding: .55em 1em; font-size: .85rem; border-radius: 10px; }

/* ---------- Topbar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.topbar.is-solid, .admin .topbar { position: sticky; background: rgba(7, 8, 13, .86); backdrop-filter: blur(14px); border-color: var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 1.1rem Sora, sans-serif; }
.brand b { color: var(--gold-2); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: var(--text); padding: .5em .9em; border-radius: 10px; font-weight: 500; opacity: .82; }
.nav a:not(.btn):hover { opacity: 1; background: rgba(255, 255, 255, .05); }
.nav a.active { opacity: 1; color: var(--gold-2); background: rgba(245, 196, 81, .1); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--gold-2); transition: .3s; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero { min-height: 100vh; display: flex; align-items: center; padding: 110px 0 70px; }
.page-hero { padding: 150px 0 60px; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; background: url("../img/hero.svg") center right / cover no-repeat; z-index: -1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 8, 13, .96) 0%, rgba(7, 8, 13, .75) 38%, rgba(7, 8, 13, .1) 70%); }
.page-hero .hero-bg { opacity: .55; }
.page-hero .hero-bg::after { background: linear-gradient(90deg, rgba(7, 8, 13, .97) 20%, rgba(7, 8, 13, .4)), linear-gradient(0deg, var(--bg), transparent 60%); }
.page-hero .lead { max-width: 640px; }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: .4em .9em; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--gold-1); font-size: .85rem; background: rgba(245, 196, 81, .06); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(245, 196, 81, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(245, 196, 81, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 196, 81, 0); } }
.lead { font-size: 1.15rem; color: #d6d0c0; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; }
.hero-badges b { display: block; font: 800 1.6rem Sora, sans-serif; color: var(--gold-2); }

.hero-card { background: rgba(10, 11, 17, .75); backdrop-filter: blur(16px); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 240, 184, .12); }
.hc-head { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s infinite; }
.hc-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.hc-row span { color: var(--muted); }
.up { color: var(--ok); }
.hc-bar { height: 8px; background: rgba(255, 255, 255, .06); border-radius: 99px; margin: 16px 0 8px; overflow: hidden; }
.hc-bar span { display: block; height: 100%; background: var(--gold-grad); border-radius: inherit; }
.hero-card small { color: var(--muted); }

/* ---------- Generic blocks ---------- */
.card, .glass { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(12px); }
.glass { box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 240, 184, .08); }
.kicker { display: inline-block; color: var(--gold-2); font: 600 .8rem Sora, sans-serif; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: .4em 1em; border-radius: 99px; border: 1px solid var(--line-strong); font-size: .88rem; color: var(--gold-1); }

.stats-band { padding: 0; margin-top: -40px; position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(14px); overflow: hidden; }
.stat { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 800 2rem Sora, sans-serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .9rem; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.compare-col { padding: 26px; }
.compare-col h4 { font-size: .95rem; margin-bottom: 14px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .93rem; }
.compare-col li { padding-left: 28px; position: relative; }
.bad-col { color: var(--muted); }
.bad-col li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 700; }
.good-col { background: linear-gradient(160deg, rgba(245, 196, 81, .14), rgba(245, 196, 81, .02)); border-left: 1px solid var(--line-strong); }
.good-col h4 { color: var(--gold-2); }
.good-col li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-2); font-weight: 700; }

.feature { transition: transform .3s, border-color .3s; }
.feature:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.f-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--gold-2); background: rgba(245, 196, 81, .1); border: 1px solid var(--line-strong); margin-bottom: 18px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.shield-section { background: linear-gradient(180deg, transparent, rgba(245, 196, 81, .04), transparent); }
.split-rev .shield-visual { order: 0; }
.shield-visual svg { width: min(340px, 80%); margin: auto; filter: drop-shadow(0 0 40px rgba(245, 196, 81, .25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.layers { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.layers li { display: flex; gap: 18px; }
.ln { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); font: 700 .9rem Sora, sans-serif; color: var(--gold-2); }
.layers h4 { margin-bottom: .25em; }
.layers p { color: var(--muted); margin: 0; font-size: .94rem; }

.preset { position: relative; overflow: hidden; }
.preset.hot, .price-card.hot { border-color: var(--gold-3); box-shadow: 0 0 0 1px var(--gold-3), 0 20px 50px -20px rgba(245, 196, 81, .45); }
.ribbon { position: absolute; top: 16px; right: -34px; transform: rotate(45deg); background: var(--gold-grad); color: #1d1300; font: 700 .7rem Sora, sans-serif; padding: 5px 40px; letter-spacing: .05em; }
.preset dl { margin: 18px 0 0; display: grid; gap: 10px; }
.preset dl div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.preset dt { color: var(--muted); font-size: .92rem; }
.preset dd { margin: 0; font-weight: 600; color: var(--gold-1); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { display: block; position: relative; padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: .3s; }
.step:hover { border-color: var(--gold-3); transform: translateY(-4px); color: var(--text); }
.step > span { position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-grad); color: #1d1300; font: 800 1rem Sora, sans-serif; }
.step p { color: var(--muted); margin: 0; }

.cta-signal { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-2); font-size: 1.4rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.cta { text-align: center; padding: 64px 32px; border-radius: 28px; border: 1px solid var(--line-strong); background:
  radial-gradient(ellipse at 50% 0%, rgba(245, 196, 81, .22), transparent 60%),
  linear-gradient(180deg, rgba(20, 16, 6, .9), rgba(10, 10, 14, .9)); }
.cta p { color: #d6d0c0; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Install ---------- */
.install-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.toc { position: sticky; top: 92px; padding: 22px; }
.toc ol { padding-left: 1.2em; margin: 0 0 20px; display: grid; gap: 6px; font-size: .92rem; }
.toc ol a { color: var(--muted); }
.toc ol a:hover { color: var(--gold-1); }
.req ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.req li::before { content: "◆ "; color: var(--gold-3); font-size: .7em; }
.timeline { position: relative; display: grid; gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold-3), transparent); opacity: .5; }
.tl-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; scroll-margin-top: 96px; }
.tl-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--gold-3); color: var(--gold-2); font: 700 1rem Sora, sans-serif; position: relative; z-index: 1; }
.tl-item .card p:last-child { margin-bottom: 0; }
.tip { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--gold-3); background: rgba(245, 196, 81, .06); border-radius: 0 10px 10px 0; font-size: .93rem; color: #d6d0c0; }
.help-card { margin-left: 62px; }

.table-wrap { overflow-x: auto; margin: 14px 0; }
.card.table-wrap { padding: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--gold-2); font: 600 .8rem Sora, sans-serif; text-transform: uppercase; letter-spacing: .06em; background: rgba(245, 196, 81, .05); }
.tbl tr:last-child td { border-bottom: 0; }

/* Tabel parameter input EA */
.inputs-tbl td { vertical-align: top; }
.inputs-tbl thead th { white-space: nowrap; }
.inputs-tbl td:first-child { white-space: nowrap; }
.inputs-tbl td.val { white-space: nowrap; color: var(--gold-1); }
.inputs-tbl tr.grp th { background: rgba(245, 196, 81, .1); color: var(--gold-1); font-size: .76rem; padding-top: 9px; padding-bottom: 9px; border-top: 1px solid var(--line-strong); }
.inputs-tbl tbody:first-of-type tr.grp th { border-top: 0; }
.inputs-tbl tr.req-row td { background: rgba(245, 196, 81, .05); }
.inputs-tbl tr.req-row td:first-child { box-shadow: inset 3px 0 0 var(--gold-2); }
.tl-item .card .table-wrap { margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.form-panel { padding: 32px; }
.side-info { display: grid; gap: 20px; }
.tabs { display: flex; gap: 6px; padding: 5px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 24px; }
.tab { flex: 1; padding: .8em; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 600 .95rem Sora, sans-serif; cursor: pointer; transition: .2s; }
.tab.active { background: var(--gold-grad); color: #1d1300; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-grid .field { margin-bottom: 0; }
.field-grid { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: .88rem; font-weight: 500; color: #d6d0c0; }
input, select, textarea {
  width: 100%; padding: .85em 1em; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .4); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-3); box-shadow: 0 0 0 3px rgba(245, 196, 81, .18); }
select option { background: var(--surface-solid); }
input[type="file"] { padding: .65em; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: .5em 1em; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(245, 196, 81, .1); color: var(--gold-1); cursor: pointer; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 22px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--gold-2); }
.stack { display: grid; gap: 10px; }
.inline { display: inline-flex; gap: 6px; margin: 2px; }
.days-input { width: 70px; padding: .45em .6em; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .94rem; border: 1px solid; }
.alert-ok { background: rgba(74, 222, 128, .08); border-color: rgba(74, 222, 128, .35); color: #c9f7da; }
.alert-bad { background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .35); color: #fcd4d4; }

.token-result { padding: 22px; border: 1px dashed var(--gold-3); border-radius: 14px; background: rgba(245, 196, 81, .05); margin-bottom: 26px; }
.copybox { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 10px 10px 16px; border-radius: 12px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line-strong); margin: 10px 0; }
.copybox code { background: none; padding: 0; word-break: break-all; }
.copybox.big code { font-size: 1.15rem; letter-spacing: .06em; }
.kv { display: grid; gap: 8px; margin: 14px 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; font-size: .93rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; }
.kv.compact { margin-top: 18px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-block; padding: .2em .7em; border-radius: 99px; font-size: .78rem; font-weight: 600; }
.badge.ok { background: rgba(74, 222, 128, .14); color: var(--ok); }
.badge.warn { background: rgba(251, 191, 36, .14); color: var(--warn); }
.badge.bad { background: rgba(248, 113, 113, .14); color: var(--bad); }
.checklist, .mini-steps { padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.checklist { list-style: none; }
.checklist li { padding-left: 26px; position: relative; color: #d6d0c0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-2); font-weight: 700; }
.mini-steps { padding-left: 1.2em; color: #d6d0c0; margin-bottom: 14px; }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .88rem; }
.history li { display: flex; justify-content: space-between; align-items: center; }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { position: relative; overflow: hidden; display: grid; gap: 4px; text-align: center; padding: 28px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: .25s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.price-card input { position: absolute; opacity: 0; pointer-events: none; }
.price-card:has(input:checked) { border-color: var(--gold-2); background: linear-gradient(180deg, rgba(245, 196, 81, .16), var(--surface)); }
.pc-months { font: 600 .95rem Sora, sans-serif; color: var(--muted); }
.pc-price { font: 800 1.6rem Sora, sans-serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-detail { padding: 14px 16px; border-radius: 12px; background: rgba(245, 196, 81, .07); border: 1px solid var(--line-strong); margin-bottom: 16px; font-size: .94rem; }

/* Renewal: langganan PayPal bulanan */
.plan-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 36px 40px; border-color: var(--line-strong); }
.plan-main .kicker { margin-bottom: 8px; }
.plan-main h2 { margin-bottom: 10px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.plan-price b { font: 800 3.4rem/1 Sora, sans-serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price span { color: var(--muted); font-size: 1.1rem; }
.pp-badge-unused { display: inline-flex; align-items: center; gap: 8px; padding: .45em .9em; border-radius: 99px; background: rgba(0, 48, 135, .35); border: 1px solid rgba(110, 170, 255, .35); color: #dbe8ff; font-size: .88rem; font-weight: 600; }
.plan-points { gap: 14px; font-size: 1rem; }
.step-no { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 6px; border-radius: 50%; background: var(--gold-grad); color: #1d1300; font: 700 .95rem Sora, sans-serif; vertical-align: 2px; }
.license-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 20px; border-radius: 14px; border: 1px dashed var(--gold-3); background: rgba(245, 196, 81, .05); }
.license-line > div { display: grid; gap: 4px; min-width: 0; }
.license-line b { word-break: break-all; }
.pp-box { padding: 18px; border-radius: 14px; background: #fff; min-height: 60px; }
.plan-pay { display: grid; gap: 10px; align-content: start; }
.plan-points { margin-top: 18px; }
#pp-msg .btn { margin-top: 12px; }
.pp-box[hidden] { display: none; }
#pp-msg .alert { margin: 10px 0 0; }
.form-panel .alert-warn { margin: 0 0 16px; }
.alert-info { background: rgba(110, 170, 255, .08); border-color: rgba(110, 170, 255, .35); color: #dbe8ff; }
.cancel-info { margin: 18px 0 0; }

/* ---------- Footer ---------- */
.risk-strip { border-top: 1px solid var(--line); background: rgba(0, 0, 0, .4); padding: 26px 0; }
.risk-strip p { margin: 0; font-size: .85rem; color: var(--muted); }
.risk-strip b { color: var(--gold-1); }
.footer { padding: 54px 0 26px; background: #05060a; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--gold-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a:not(.brand) { display: block; color: var(--muted); padding: 3px 0; font-size: .93rem; }
.footer-grid a:not(.brand):hover { color: var(--gold-1); }
.footer-grid .brand { margin-bottom: 12px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); z-index: 40; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Admin ---------- */
.admin .section { padding-top: 32px; }
.admin .h3 { margin: 34px 0 14px; }
.admin-stats { margin-bottom: 10px; grid-template-columns: repeat(3, 1fr); }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-head .h3 { margin-bottom: 0; }
.search { display: flex; gap: 8px; margin-top: 30px; }
.search input { width: 280px; padding: .55em .9em; }
.login-box { max-width: 420px; margin: 60px auto; }
.nav-static { display: flex !important; position: static !important; flex-direction: row !important; background: none !important; padding: 0 !important; transform: none !important; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Header: language switcher ---------- */
.nav { order: 2; margin-left: auto; }
.topbar-right { order: 3; display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.nav a:not(.btn) { padding: .5em .75em; font-size: .95rem; }
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: .45em .75em; border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--gold-1); font: 600 .85rem Sora, sans-serif; background: rgba(255, 255, 255, .03); user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] summary { background: rgba(245, 196, 81, .12); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px;
  background: rgba(12, 13, 20, .98); border: 1px solid var(--line-strong); border-radius: 12px;
  box-shadow: var(--shadow); z-index: 60; display: grid;
}
.lang-menu a { display: flex; gap: 10px; align-items: center; padding: .6em .8em; border-radius: 8px; color: var(--text); font-size: .93rem; }
.lang-menu a b { width: 26px; color: var(--gold-2); font: 700 .78rem Sora, sans-serif; }
.lang-menu a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.lang-menu a.active { background: rgba(245, 196, 81, .12); color: var(--gold-1); }

.alert-warn { background: rgba(245, 196, 81, .07); border-color: rgba(245, 196, 81, .35); color: #efe2bf; margin: 28px 0 36px; }

/* ---------- Backtest ---------- */
.bt-intro { align-items: start; gap: 40px; }
.bt-method h4 { color: var(--gold-2); }
.bt-empty { text-align: center; padding: 56px 28px; display: grid; justify-items: center; gap: 6px; }
.bt-empty svg { margin-bottom: 14px; }
.bt-empty p { max-width: 520px; }
.bt-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: thin; }
.bt-tabs a { flex: none; display: grid; gap: 2px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); min-width: 200px; }
.bt-tabs a small { color: var(--muted); font-size: .8rem; }
.bt-tabs a:hover { border-color: var(--line-strong); color: var(--text); }
.bt-tabs a.active { border-color: var(--gold-2); background: linear-gradient(180deg, rgba(245, 196, 81, .16), var(--surface)); }
.bt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.bt-head h2 { margin-bottom: .2em; font-size: 1.5rem; }
.bt-head p { margin: 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 4px; }
.kpi span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.kpi b { font: 800 1.55rem Sora, sans-serif; color: var(--gold-1); }
.kpi small { color: var(--ok); font-size: .82rem; }
.kpi.up b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi.down b, .kpi.down small { color: var(--bad); }
.kpi.dd b { color: #fca5a5; }
.bt-main { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.bt-left, .bt-right { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.bt-main.solo { grid-template-columns: minmax(0, 1fr); }
.bt-main.solo .bt-right { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.bt-chart { width: 100%; height: auto; }
.bt-grid { stroke: rgba(255, 214, 120, .09); stroke-width: 1; }
.bt-axis { fill: var(--muted); font: 500 12px Inter, sans-serif; }
.bt-bal { fill: none; stroke: var(--gold-2); stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(245, 196, 81, .45)); }
.bt-eq { fill: none; stroke: #8fb4ff; stroke-width: 1.3; stroke-opacity: .8; }
.bt-legend { display: flex; gap: 18px; font-size: .85rem; color: var(--muted); margin: -4px 0 10px; }
.bt-legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.lg-bal { background: var(--gold-2); }
.lg-eq { background: #8fb4ff; }
.bt-img { width: 100%; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.monthly th, .monthly td { text-align: center; padding: 9px 6px; font-size: .82rem; white-space: nowrap; }
.monthly td:first-child, .monthly th:first-child { text-align: left; }
.monthly td { border: 1px solid rgba(0, 0, 0, .25); font-family: "JetBrains Mono", monospace; }
.monthly .tot { font-weight: 700; }
.monthly .up { color: var(--gold-1); }
.monthly .down { color: var(--bad); }

/* Backtest: perbandingan modal & galeri MT5 */
.kv.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.section-head.left { text-align: left; margin: 0 0 18px; max-width: none; }
.section-head.left h2 { margin-bottom: .3em; }
.bt-compare { margin-bottom: 44px; }
.compare-tbl th, .compare-tbl td { white-space: nowrap; vertical-align: middle; }
.compare-tbl tbody tr { cursor: pointer; transition: background .2s; }
.compare-tbl tbody tr:hover { background: rgba(245, 196, 81, .05); }
.compare-tbl tbody tr.active { background: linear-gradient(90deg, rgba(245, 196, 81, .16), rgba(245, 196, 81, .03)); box-shadow: inset 3px 0 0 var(--gold-2); }
.compare-tbl td a:not(.btn) { color: var(--gold-1); }
.compare-tbl td.up, .kv dd.up { color: var(--gold-1); }
.compare-tbl td.dd, .kv dd.dd { color: #fca5a5; }
.compare-tbl td:last-child { text-align: right; }
#detail { scroll-margin-top: 96px; }
.bt-gallery-wrap { margin-top: 36px; }
.bt-gallery-wrap > h2 { margin-bottom: 16px; }
.bt-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bt-gallery figure { margin: 0; display: grid; gap: 14px; align-content: start; }
.bt-gallery figcaption { display: grid; gap: 4px; font-size: .92rem; }
.bt-gallery .bt-img { transition: transform .25s; }
.bt-gallery a:hover .bt-img { transform: scale(1.01); }

/* ---------- Admin extras ---------- */
.inputs { margin-top: 6px; }
.inputs summary { cursor: pointer; color: var(--gold-2); }
.inputs code { display: block; margin-top: 6px; padding: 8px 10px; font-size: .78rem; line-height: 1.6; white-space: nowrap; }
.admin-jump { margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.bt-form { margin-top: 18px; }
.bt-form summary { cursor: pointer; padding: 4px 0; }
.bt-form form { margin-top: 20px; }
.field-grid.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner, .split, .form-layout, .install-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-card { max-width: 420px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .split-rev .shield-visual { order: 2; }
}
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav:not(.nav-static) { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: rgba(7, 8, 13, .97); border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .35s ease; }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: .9em 1em; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar-right { margin-left: auto; }
  .bt-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { background-attachment: scroll; }
  .section { padding: 56px 0; }
  .hero { padding-top: 100px; }
  .hero-bg { background-position: 70% center; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(7, 8, 13, .7), rgba(7, 8, 13, .92)); }
  .grid-3, .steps, .field-grid, .compare, .footer-grid, .admin-stats { grid-template-columns: 1fr; }
  .good-col { border-left: 0; border-top: 1px solid var(--line-strong); }
  .steps { gap: 34px; }
  .form-panel, .card, .glass { padding: 22px; }
  .help-card { margin-left: 0; }
  .hero-badges { gap: 18px; }
  .search input { width: 100%; }
  .copybox.big code { font-size: .98rem; }
  .field-grid.three { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .bt-gallery { grid-template-columns: minmax(0, 1fr); }
  .plan-card { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 22px; }
  .plan-price b { font-size: 2.8rem; }
  .kv.two { grid-template-columns: minmax(0, 1fr); }
  .kpi b { font-size: 1.3rem; }
  .brand span { font-size: .98rem; }
}
