/* =========================================================
   MCS · Tema hitam dengan aksen emerald
   ========================================================= */
:root {
  --bg: #050506;
  --bg-2: #09090b;
  --surface: #0f0f12;
  --surface-2: #151519;
  --surface-3: #1c1c21;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;
  --accent: #34e0a1;
  --accent-strong: #10b981;
  --accent-deep: #0e9f6e;
  --accent-ink: #03140d;
  --accent-soft: rgba(52, 224, 161, 0.1);
  --accent-line: rgba(52, 224, 161, 0.28);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.1);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.1);
  --info: #60a5fa;
  --info-soft: rgba(96, 165, 250, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.accent { color: var(--accent); }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(180deg, #4ff0b3, var(--accent-strong));
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(52, 224, 161, 0.4) inset, 0 10px 30px -10px rgba(16, 185, 129, 0.7);
}
.btn-primary:hover:not(:disabled) { box-shadow: 0 0 0 1px rgba(110, 247, 193, 0.7) inset, 0 14px 40px -10px rgba(16, 185, 129, 0.9); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); }
.btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08); }
.btn-text { background: transparent; color: var(--muted); padding: 0 12px; }
.btn-text:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(248, 113, 113, 0.25); }
.btn-danger:hover:not(:disabled) { background: rgba(248, 113, 113, 0.18); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 34px; padding: 0; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, 0.06); color: var(--muted); border: 1px solid var(--border);
}
.badge-accent { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.badge-danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(248, 113, 113, 0.25); }
.badge-warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(251, 191, 36, 0.25); }
.badge-info { background: var(--info-soft); color: var(--info); border-color: rgba(96, 165, 250, 0.25); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 17px; }
.brand-text small { font-size: 11px; font-weight: 500; color: var(--dim); letter-spacing: 0.02em; }

/* =========================================================
   Landing page
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 6, 0.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 14.5px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

.hero { position: relative; padding: 96px 0 72px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; left: 50%; top: -260px; width: 1000px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(16, 185, 129, 0.28), rgba(16, 185, 129, 0.06) 60%, transparent);
  filter: blur(10px);
}
.hero-copy { text-align: center; max-width: 1000px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong); font-size: 13px; color: var(--muted);
}
.hero-badge .badge { height: 22px; }
.hero h1 { margin-top: 28px; font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .gradient-text { display: block; padding-bottom: 0.06em; }
.gradient-text { background: linear-gradient(120deg, #fff 10%, #9cf5d2 50%, var(--accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 22px auto 0; max-width: 640px; font-size: clamp(16px, 2vw, 18.5px); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; color: var(--dim); font-size: 13.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { width: 16px; height: 16px; color: var(--accent); }

/* Promo & hitung mundur */
.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 8px 16px;
  background: linear-gradient(90deg, #06281b, #0b3a28 50%, #06281b); border-bottom: 1px solid var(--accent-line);
  font-size: 13.5px; color: #d1fae5; text-align: center;
}
.promo-bar b { color: #fff; letter-spacing: 0.04em; background: rgba(0, 0, 0, 0.35); padding: 2px 8px; border-radius: 6px; }
.promo-bar .badge { height: 22px; }
.countdown {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  max-width: 860px; margin: -24px auto 40px; padding: 20px 24px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.03)); border: 1px solid var(--accent-line);
}
.countdown-copy { flex: 1; min-width: 220px; }
.countdown-copy p { margin-top: 8px; font-weight: 600; font-size: 15.5px; }
.countdown-boxes { display: flex; align-items: center; gap: 8px; }
.countdown-boxes div { min-width: 68px; padding: 10px 8px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border-strong); text-align: center; }
.countdown-boxes b { display: block; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.countdown-boxes small { color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.countdown-boxes i { font-style: normal; font-size: 22px; font-weight: 800; color: var(--accent); }

/* Pratinjau aplikasi */
.preview { position: relative; margin: 72px auto 0; max-width: 1040px; }
.preview::before {
  content: ''; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(52, 224, 161, 0.5), rgba(255, 255, 255, 0.06) 40%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.window { border-radius: 22px; background: linear-gradient(180deg, #111115, #0a0a0c); box-shadow: 0 50px 120px -30px rgba(16, 185, 129, 0.25), var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a30; }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--dim); }
.window-body { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.win-side { border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.win-side div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 12.5px; color: var(--dim); }
.win-side div.on { background: var(--accent-soft); color: var(--accent); }
.win-side .icon { width: 15px; height: 15px; }
.win-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.win-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.win-card { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.win-card small { color: var(--dim); font-size: 11.5px; }
.win-card b { display: block; margin-top: 4px; font-size: 20px; letter-spacing: -0.02em; }
.win-card em { font-style: normal; font-size: 11.5px; color: var(--accent); }
.win-chart { flex: 1; min-height: 190px; padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); display: flex; flex-direction: column; }
.win-chart small { color: var(--dim); font-size: 11.5px; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; margin-top: 14px; }
.bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--accent), rgba(16, 185, 129, 0.25)); opacity: 0.9; transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }

/* Logo strip / statistik */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--border); margin-top: 88px; }
.stat { padding: 28px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat b { display: block; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; }
.stat span { color: var(--dim); font-size: 13.5px; }

/* Section umum */
.section { padding: 112px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* Fitur */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s; overflow: hidden;
}
.feature:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.feature::after { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(52, 224, 161, 0.07), transparent 40%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.feature:hover::after { opacity: 1; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }
.feature-icon .icon { width: 22px; height: 22px; }
.feature h3 { margin-top: 20px; font-size: 18px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.feature ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.feature li { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); }
.feature li::before { content: ''; flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--accent); }
.feature.wide { grid-column: span 2; }

/* Alasan */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-2); }
.reason b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--accent-line); }
.reason h3 { margin-top: 10px; font-size: 19px; }
.reason p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* Harga */
.pricing { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; align-items: stretch; }
.pricing > .plan { flex: 1 1 320px; max-width: 372px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
}
.plan.highlight { background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), var(--surface) 45%); border-color: var(--accent-line); box-shadow: 0 30px 80px -40px rgba(16, 185, 129, 0.6); }
.plan-badge { position: absolute; top: -12px; left: 28px; }
.plan h3 { font-size: 20px; }
.plan-period { color: var(--dim); font-size: 13.5px; margin-top: 4px; }
.plan-price { margin-top: 24px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price b { font-size: 34px; font-weight: 800; letter-spacing: -0.035em; }
.plan-price s { color: var(--dim); font-size: 15px; }
.plan-save { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--accent); min-height: 40px; }
.plan-save span { display: block; }
.plan-save .dim { color: var(--dim); }
.plan-was { min-height: 24px; }
.plan-off { display: inline-flex; height: 22px; padding: 0 8px; align-items: center; border-radius: 6px; background: var(--danger-soft); color: #fca5a5; font-size: 12px; font-weight: 700; }
.plan ul { list-style: none; margin: 24px 0 28px; padding: 24px 0 0; border-top: 1px solid var(--border); display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: #d4d4d8; }
.plan li .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.pricing-note { margin-top: 28px; text-align: center; color: var(--dim); font-size: 14px; }

/* Update / changelog */
.timeline { max-width: 820px; margin: 0 auto; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--accent-line), var(--border) 60%, transparent); }
.tl-item { position: relative; padding-left: 44px; }
.tl-item::before { content: ''; position: absolute; left: 5px; top: 26px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 5px rgba(52, 224, 161, 0.08); }
.tl-item.plan-type::before { border-color: var(--info); box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.08); }
.tl-card { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tl-head time { color: var(--dim); font-size: 13px; margin-left: auto; }
.tl-card h3 { margin-top: 12px; font-size: 18px; }
.tl-card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; display: grid; gap: 4px; }
.tl-card li::marker { color: var(--accent); }
.tl-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; white-space: pre-line; }

/* Download */
.download {
  position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 56px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #0b1f17, #08090a 55%); border: 1px solid var(--accent-line);
}
.download::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; z-index: -1; background: radial-gradient(closest-side, rgba(52, 224, 161, 0.25), transparent); }
.download h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.download p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.dl-buttons { display: grid; gap: 12px; }
.dl-btn {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong); transition: border-color 0.2s, background 0.2s;
}
.dl-btn:hover { border-color: var(--accent-line); background: rgba(52, 224, 161, 0.06); }
.dl-btn .icon { width: 30px; height: 30px; color: var(--accent); }
.dl-btn small { display: block; color: var(--dim); font-size: 12.5px; }
.dl-btn b { font-size: 16px; }
.dl-btn .arrow { margin-left: auto; width: 20px; height: 20px; color: var(--dim); }
.dl-btn.disabled { opacity: 0.5; pointer-events: none; }
.dl-note { color: var(--dim); font-size: 13px; text-align: center; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--dim); transition: transform 0.25s; }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* CTA akhir */
.cta { text-align: center; padding: 120px 0; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; z-index: -1; left: 50%; bottom: -300px; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(16, 185, 129, 0.22), transparent); }
.cta h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -0.035em; max-width: 760px; margin: 0 auto; }
.cta p { margin: 18px auto 0; max-width: 560px; color: var(--muted); font-size: 17px; }
.cta .hero-cta { margin-top: 32px; }

.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer p { color: var(--dim); font-size: 13.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; transition: transform .2s, filter .2s; }
/* Logo resmi sosmed (Simple Icons, CC0) berupa bidang isi, bukan garis */
.footer-social .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.footer-social a:hover { transform: translateY(-2px); filter: brightness(1.12); }
.footer-social .fb { background: #1877f2; }
.footer-social .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer-social .xs { background: #000; box-shadow: inset 0 0 0 1px #3a3a3a; }
.footer-pay { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.footer-pay-label { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.pl { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; background: #fff; font: 800 12px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; white-space: nowrap; }
.pl-qris { color: #e01f26; } .pl-bca { color: #0060af; font-style: italic; } .pl-mandiri { color: #003d79; }
.pl-bni { color: #f15a23; } .pl-bri { color: #00529c; } .pl-permata { color: #0a8c3c; } .pl-cimb { color: #7a0019; }
.pl-gopay { color: #00a5cf; } .pl-shopee { color: #ee4d2d; } .pl-dana { color: #118ee9; } .pl-card { color: #1a1f71; }
.pl-alfa { color: #d71920; } .pl-indo { color: #0057a8; }

/* Animasi muncul saat scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bars span { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Form & komponen
   ========================================================= */
.field { display: grid; gap: 7px; align-content: start; }
.field > label, .label { font-size: 13.5px; font-weight: 600; color: #d4d4d8; }
.hint { font-size: 12.5px; color: var(--dim); }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 11px;
  background: var(--bg-2); border: 1px solid var(--border-strong); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(52, 224, 161, 0.12); background: var(--surface); }
.input::placeholder, .textarea::placeholder { color: #52525b; }
input[type='datetime-local'], input[type='date'] { color-scheme: dark; }
.input-group { position: relative; }
.input-group .input { padding-right: 46px; }
.input-group button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--dim); cursor: pointer; display: grid; place-items: center; }
.input-group button:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-stack { display: grid; gap: 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; color: #d4d4d8; }
.check input { appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0; border-radius: 5px; border: 1.5px solid var(--border-strong); background: var(--bg-2); cursor: pointer; display: grid; place-items: center; transition: background 0.15s, border-color 0.15s; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check small { display: block; color: var(--dim); font-size: 12.5px; }
.checks { display: grid; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.chip:hover { color: var(--text); border-color: var(--accent-line); }
.chip.on { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 14px; border: 1px solid; }
.alert .icon { margin-top: 1px; }
.alert-info { background: var(--info-soft); border-color: rgba(96, 165, 250, 0.25); color: #bfdbfe; }
.alert-warn { background: var(--warn-soft); border-color: rgba(251, 191, 36, 0.25); color: #fde68a; }
.alert-danger { background: var(--danger-soft); border-color: rgba(248, 113, 113, 0.25); color: #fecaca; }
.alert-success { background: var(--accent-soft); border-color: var(--accent-line); color: #bbf7d0; }
.alert a { text-decoration: underline; }

/* Toast */
.toasts { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(380px, calc(100% - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface-3); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 14px; animation: toast-in 0.3s cubic-bezier(.2, .8, .2, 1); }
.toast .icon { color: var(--accent); margin-top: 1px; }
.toast.error .icon { color: var(--danger); }
.toast.out { opacity: 0; transform: translateY(8px); transition: all 0.25s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade 0.2s; overflow-y: auto; }
.modal { width: min(560px, 100%); border-radius: 20px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); animation: pop 0.25s cubic-bezier(.2, .8, .2, 1); margin: auto; }
.modal.wide { width: min(760px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 18px; }
.modal-body { padding: 24px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { border-radius: 10px; background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* =========================================================
   Halaman login / lupa password / setup
   ========================================================= */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #0b1f17, #050506 60%); border-right: 1px solid var(--border); }
.auth-side::after { content: ''; position: absolute; z-index: -1; left: -200px; bottom: -200px; width: 600px; height: 600px; background: radial-gradient(closest-side, rgba(52, 224, 161, 0.18), transparent); }
.auth-side blockquote { margin: 0; max-width: 460px; }
.auth-side blockquote p { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.auth-side blockquote footer { margin-top: 18px; color: var(--muted); font-size: 14px; }
.auth-points { display: grid; gap: 12px; margin-top: 32px; }
.auth-points div { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; }
.auth-points .icon { color: var(--accent); }
.auth-main { display: grid; place-items: center; padding: 48px 20px; }
.auth-card { width: min(400px, 100%); }
.auth-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.auth-card > p { margin-top: 10px; color: var(--muted); }
.auth-card form { margin-top: 32px; }
.auth-foot { margin-top: 24px; text-align: center; color: var(--dim); font-size: 14px; }
.auth-foot a, .link { color: var(--accent); font-weight: 600; }
.auth-foot a:hover, .link:hover { text-decoration: underline; }
.link-icon { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.auth-mobile-brand { display: none; margin-bottom: 32px; }
.captcha { min-height: 65px; }

/* =========================================================
   Panel (admin & member)
   ========================================================= */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; padding: 20px 14px; border-right: 1px solid var(--border); background: var(--bg-2); overflow-y: auto; }
.sidebar .brand { padding: 4px 8px 22px; }
.side-group { margin-top: 18px; }
.side-group > span { display: block; padding: 0 12px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #52525b; }
.side-link { display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; text-align: left; transition: background 0.15s, color 0.15s; }
.side-link:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.side-link.active { background: var(--accent-soft); color: var(--accent); }
.side-link .count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.side-foot { margin-top: auto; padding-top: 20px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--accent-ink); }
.user-chip div { min-width: 0; flex: 1; }
.user-chip b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip small { color: var(--dim); font-size: 12px; }

.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 32px; background: rgba(5, 5, 6, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topbar h1 { font-size: 17px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.content { padding: 32px; max-width: 1240px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; }
.page-head p { margin-top: 6px; color: var(--muted); }

.card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.card-pad { padding: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.card-head h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.card-head h3 .icon { color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.kpi { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13.5px; }
.kpi-top .icon { color: var(--accent); }
.kpi b { display: block; margin-top: 10px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.kpi small { color: var(--dim); font-size: 12.5px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.toolbar .input { height: 38px; max-width: 280px; }
.toolbar .select { height: 38px; width: auto; }
.search { position: relative; flex: 1; min-width: 200px; max-width: 320px; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--dim); }
.search .input { padding-left: 36px; max-width: none; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 12px 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 14px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background 0.15s; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.table .actions { display: flex; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.cell-main { font-weight: 600; }
.cell-sub { color: var(--dim); font-size: 12.5px; }
.empty { padding: 56px 20px; text-align: center; color: var(--dim); }
.empty .icon { width: 40px; height: 40px; margin: 0 auto 14px; color: #3f3f46; }
.empty b { display: block; color: var(--muted); font-size: 15px; margin-bottom: 4px; }

.key-result { margin-top: 20px; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), transparent); border: 1px solid var(--accent-line); }
.key-value { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.key-value code { flex: 1; min-width: 0; font-family: var(--mono); font-size: clamp(16px, 2.6vw, 22px); font-weight: 700; letter-spacing: 0.04em; color: var(--accent); word-break: break-all; }
.key-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--accent-line); font-size: 13.5px; }
.key-meta small { display: block; color: var(--dim); font-size: 12px; }

.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.thumb { flex: none; width: 112px; aspect-ratio: 16/9; border-radius: 8px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--border); }

.secret { padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px dashed var(--accent-line); text-align: center; }
.secret code { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; }

/* ---------- Area member ---------- */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: start; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 40px 0 16px; scroll-margin-top: 84px; }
.section-title h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.section-title h3 .icon { color: var(--accent); }
[id='update'], [id='download'] { scroll-margin-top: 84px; }
.dl-list { display: grid; gap: 10px; }
.dl-list .dl-btn { padding: 14px 18px; }
.dl-list .dl-btn .icon { width: 26px; height: 26px; }
.upd-list { max-height: 360px; overflow-y: auto; }
.upd { padding: 16px 22px; border-bottom: 1px solid var(--border); }
.upd:last-child { border-bottom: 0; }
.upd-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.upd-head time { margin-left: auto; color: var(--dim); font-size: 12.5px; }
.upd b { display: block; margin-top: 8px; font-size: 14.5px; }
.upd ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; display: grid; gap: 2px; }
.upd li::marker { color: var(--accent); }

.lic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.lic { position: relative; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.lic.ok { background: linear-gradient(160deg, rgba(16, 185, 129, 0.1), var(--surface) 55%); border-color: var(--accent-line); }
.lic-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lic-serial { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.lic-serial code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; letter-spacing: 0.03em; word-break: break-all; color: var(--accent); }
.lic-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13.5px; }
.lic-meta small { display: block; color: var(--dim); font-size: 11.5px; margin-bottom: 2px; }
.lic-bar { height: 4px; margin-top: 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.lic-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.lic.expired, .lic.banned, .lic.deleted { border-color: rgba(248, 113, 113, 0.35); background: linear-gradient(160deg, rgba(248, 113, 113, 0.08), var(--surface) 55%); }
.lic.expired .lic-serial code, .lic.banned .lic-serial code, .lic.deleted .lic-serial code { color: var(--danger); text-decoration: line-through; text-decoration-thickness: 2px; }
.lic.expired .lic-meta .exp { color: var(--danger); text-decoration: line-through; }
.lic.soon .lic-bar span { background: var(--warn); }

/* ---------- Pemutar video tutorial ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.player {
  position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000;
  border: 1px solid var(--border); user-select: none; -webkit-user-select: none; outline: none;
}
.player:fullscreen { border-radius: 0; border: 0; aspect-ratio: auto; }
.player-frame { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* Iframe dibuat lebih tinggi lalu dipotong: judul & logo YouTube berada di area hitam yang tersembunyi */
.player-frame iframe { position: absolute; left: 0; top: -70px; width: 100%; height: calc(100% + 140px); border: 0; }
.player-shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.player-cover { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: #000 center/cover no-repeat; cursor: pointer; transition: opacity 0.25s; }
.player-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.7)); }
.player-cover.hide { opacity: 0; pointer-events: none; }
/* Sebelum video pertama kali diputar, tombol play YouTube bisa diklik langsung (syarat Safari / iOS) */
.player.fresh .player-frame { pointer-events: auto; }
.player.fresh .player-shield { pointer-events: none; }
.player.fresh .player-controls { display: none; }
.play-big { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 224, 161, 0.95); color: var(--accent-ink); box-shadow: 0 0 0 10px rgba(52, 224, 161, 0.18), 0 20px 50px rgba(0, 0, 0, 0.6); transition: transform 0.2s; }
.player-cover:hover .play-big { transform: scale(1.06); }
.play-big svg { width: 32px; height: 32px; margin-left: 4px; fill: currentColor; }
.player-cover .cover-title { position: absolute; left: 24px; right: 24px; top: 20px; font-weight: 700; font-size: clamp(15px, 2vw, 20px); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); }
.player-controls {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); opacity: 0; transition: opacity 0.25s;
}
.player:hover .player-controls, .player.paused .player-controls, .player:focus-within .player-controls { opacity: 1; }
.player.idle .player-controls { opacity: 0; }
.pc-btn { width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.pc-btn:hover { background: rgba(255, 255, 255, 0.12); }
.pc-btn svg { width: 20px; height: 20px; }
.pc-time { font-size: 12.5px; font-variant-numeric: tabular-nums; color: #e4e4e7; white-space: nowrap; padding: 0 4px; }
.pc-seek { flex: 1; min-width: 60px; }
.range { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--p, 0%), rgba(255, 255, 255, 0.25) var(--p, 0%)); cursor: pointer; outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(52, 224, 161, 0.3); }
.range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.pc-volume { width: 80px; }
.pc-speed { height: 30px; padding: 0 8px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(0, 0, 0, 0.4); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.watch-info { margin-top: 20px; }
.watch-info h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.watch-info p { margin-top: 10px; color: var(--muted); white-space: pre-line; }
.playlist { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; position: sticky; top: 84px; max-height: calc(100vh - 110px); display: flex; flex-direction: column; }
.playlist-head { padding: 16px 18px; border-bottom: 1px solid var(--border); }
.playlist-head b { font-size: 15px; }
.playlist-body { overflow-y: auto; padding: 8px; }
.pl-group { padding: 12px 10px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.pl-item { display: flex; gap: 12px; align-items: center; width: 100%; padding: 8px; border-radius: 12px; border: 0; background: transparent; text-align: left; cursor: pointer; transition: background 0.15s; }
.pl-item:hover { background: rgba(255, 255, 255, 0.04); }
.pl-item.active { background: var(--accent-soft); }
.pl-item .thumb { width: 104px; }
.pl-item b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.pl-item.active b { color: var(--accent); }
.pl-item small { color: var(--dim); font-size: 12px; }
.pl-num { flex: none; width: 18px; text-align: center; color: var(--dim); font-size: 12px; font-weight: 600; }

/* =========================================================
   Checkout & halaman terima kasih
   ========================================================= */
.shop-nav { border-bottom: 1px solid var(--border); background: rgba(5, 5, 6, 0.85); }
.checkout { padding: 48px 0 96px; }
.checkout-head { max-width: 640px; margin-bottom: 32px; }
.checkout-head h1 { margin-top: 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.checkout-head p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.co-step { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.co-step b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 13px; border: 1px solid var(--accent-line); }
.plan-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pick { position: relative; display: block; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--bg-2); cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.pick:hover { border-color: var(--accent-line); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick:has(input:checked) { border-color: var(--accent); background: linear-gradient(160deg, rgba(16, 185, 129, 0.12), var(--bg-2) 70%); box-shadow: 0 0 0 3px rgba(52, 224, 161, 0.12); }
.pick:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(52, 224, 161, 0.35); }
.pick-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pick-top b { font-size: 15.5px; }
.pick small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; }
.pick-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pick-price strong { font-size: 19px; letter-spacing: -0.02em; }
.pick-price s { color: var(--dim); font-size: 12.5px; }
.pick-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex: none; }
.pick:has(input:checked) .pick-radio { border-color: var(--accent); }
.pick:has(input:checked) .pick-radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.summary { position: sticky; top: 24px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; color: var(--muted); }
.sum-row b { color: var(--text); font-weight: 600; text-align: right; }
.sum-row.disc b { color: var(--accent); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.sum-total span { color: var(--muted); font-weight: 600; }
.sum-total b { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pay-methods span { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 7px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--muted); font-size: 12px; font-weight: 600; }
.trust { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.trust div { display: flex; gap: 10px; color: var(--muted); font-size: 13px; }
.trust .icon { width: 16px; height: 16px; color: var(--accent); margin-top: 2px; }
.promo-row { display: flex; gap: 8px; margin-top: 14px; }
.promo-row .input { height: 42px; text-transform: uppercase; letter-spacing: 0.04em; }
.promo-row .input::placeholder { text-transform: none; letter-spacing: 0; }
.promo-applied { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); border: 1px dashed var(--accent-line); font-size: 13.5px; }
.promo-applied .icon { color: var(--accent); }
.promo-applied b { font-family: var(--mono); letter-spacing: 0.04em; }
.promo-applied button { margin-left: auto; }
.ref-note { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: #bbf7d0; font-size: 14px; }
.ref-note .icon { color: var(--accent); }

.thanks { min-height: calc(100vh - 69px); min-height: calc(100dvh - 69px); display: grid; place-items: center; padding: 48px 16px; }
.thanks-card { width: min(620px, 100%); }
.state-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 20px; }
.state-icon .icon { width: 30px; height: 30px; }
.state-icon.ok { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); box-shadow: 0 0 0 10px rgba(52, 224, 161, 0.06); }
.state-icon.wait { background: var(--info-soft); color: var(--info); border: 1px solid rgba(96, 165, 250, 0.25); }
.state-icon.bad { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(248, 113, 113, 0.25); }
.thanks-card h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.thanks-card > p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.cred { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border-strong); }
.cred-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.cred-row + .cred-row { border-top: 1px solid var(--border); }
.cred-row small { display: block; color: var(--dim); font-size: 12px; }
.cred-row code { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--accent); word-break: break-all; }
.steps { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: step; }
.steps li { display: flex; gap: 12px; color: var(--muted); font-size: 14.5px; counter-increment: step; }
.steps li::before { content: counter(step); flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-3); color: var(--text); font-size: 12px; font-weight: 700; }

/* ---------- Afiliasi ---------- */
.aff-hero { position: relative; padding: 28px; border-radius: 20px; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #0b2a1d, #08090a 60%); border: 1px solid var(--accent-line); }
.aff-hero::after { content: ''; position: absolute; z-index: -1; right: -100px; top: -120px; width: 360px; height: 360px; background: radial-gradient(closest-side, rgba(52, 224, 161, 0.25), transparent); }
.aff-hero h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.025em; }
.aff-hero p { margin-top: 8px; color: var(--muted); max-width: 620px; }
.aff-link { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.aff-link .input { flex: 1; min-width: 220px; font-family: var(--mono); font-size: 14px; color: var(--accent); background: rgba(0, 0, 0, 0.35); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.how div { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.how b { display: block; color: var(--text); font-size: 14.5px; margin-bottom: 4px; }
.how .icon { color: var(--accent); margin-bottom: 10px; }
.money { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
/* Grafik penjualan (admin) */
.sales-stats { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.sales-stats small { display: block; color: var(--dim); font-size: 12.5px; margin-bottom: 4px; }
.sales-stats b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.sales-stats .sales-hero { font-size: 32px; }
.sales-chart { position: relative; }
.sales-chart svg { display: block; overflow: visible; }
.sales-axis { fill: var(--dim); font-size: 11px; font-family: var(--font); }
.sales-peak { fill: var(--muted); font-size: 11.5px; font-weight: 600; font-family: var(--font); }
.sales-hit { cursor: pointer; outline: none; }
.sales-tip { position: absolute; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: var(--surface-3); border: 1px solid var(--border-strong); box-shadow: var(--shadow); white-space: nowrap; z-index: 2; }
.sales-tip b { display: block; font-size: 14px; color: var(--text); }
.sales-tip span { font-size: 12px; color: var(--muted); }
.sales-empty { position: absolute; inset: 0 0 28px 52px; display: grid; place-items: center; color: var(--dim); font-size: 14px; pointer-events: none; }
.bank-view { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border-strong); }
.bank-view b { font-size: 15.5px; }
.bank-logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); flex: none; }
.int-list { display: grid; gap: 2px; }
.int-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 22px; }
.int-row + .int-row { border-top: 1px solid var(--border); }
.int-row .grow { flex: 1; min-width: 0; }
.int-dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); flex: none; }
.int-dot.on { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* =========================================================
   Responsif
   ========================================================= */
@media (max-width: 1080px) {
  .watch { grid-template-columns: 1fr; }
  .playlist { position: static; max-height: none; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: rgba(5, 5, 6, 0.97); border-bottom: 1px solid var(--border); }
  .nav-links.open a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .features, .reasons { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; }
  .download { grid-template-columns: 1fr; padding: 40px 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .window-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-mobile-brand { display: inline-flex; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 100; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow); }
  .sidebar.open { transform: none; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.6); }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 0 16px; }
  .content { padding: 24px 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .home-grid { grid-template-columns: 1fr; }
  .sales-stats { grid-template-columns: 1fr 1fr; }
  .sales-stats > div:first-child { grid-column: 1 / -1; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .section { padding: 80px 0; }
  .features, .reasons { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
  .win-cards { grid-template-columns: 1fr 1fr; }
  .win-cards .win-card:nth-child(3) { display: none; }
  .nav-actions .btn-ghost:not(.nav-toggle) { display: none; }
  .promo-copy { display: none; }
  .promo-bar { padding: 7px 12px; font-size: 13px; }
  .promo-bar::after { content: 'berakhir dalam'; color: #a7f3d0; order: 1; }
  .promo-bar b { order: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 20px; }
  .modal-head, .modal-foot { padding: 16px 20px; }
  .tl-head time { margin-left: 0; width: 100%; }
  .pc-volume, .pc-time .dur { display: none; }
  .thumb { width: 84px; }
  .lic-grid { grid-template-columns: 1fr; }
  .plan-pick { grid-template-columns: 1fr; }
  .lic-meta { grid-template-columns: 1fr 1fr; }
  .list-row { flex-wrap: wrap; }
  .hero-cta .btn { width: 100%; }
  .hide-sm { display: none; }
  .topbar-actions .btn-sm { padding: 0 10px; }
}

.input.input-error { border-color: var(--danger, #f05252); }
.aff-code { margin-top: 16px; display: grid; gap: 6px; }
.aff-code label { font-size: 13.5px; color: var(--muted); }
.aff-prefix { display: inline-flex; align-items: center; color: var(--dim); font-size: 13.5px; white-space: nowrap; }

/* Tingkatan / tag afiliator */
.tier { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid; vertical-align: middle; }
.tier .icon { width: 13px; height: 13px; }
.tier-gold { color: #fbbf24; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .45); }
.tier-silver { color: #d4d4d8; background: rgba(212, 212, 216, .1); border-color: rgba(212, 212, 216, .4); }
.tier-bronze { color: #e09a63; background: rgba(224, 154, 99, .12); border-color: rgba(224, 154, 99, .45); }
.tier-blue { color: #60a5fa; background: rgba(96, 165, 250, .12); border-color: rgba(96, 165, 250, .45); }
.tier-purple { color: #c084fc; background: rgba(192, 132, 252, .12); border-color: rgba(192, 132, 252, .45); }
.tier-green { color: #34d399; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .45); }
.tier-red { color: #f87171; background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .45); }
.tier-progress { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 8px; }
.tier-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, #f59e0b); }

/* Tiket bantuan */
.ticket-row { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--border); cursor: pointer; color: inherit; text-decoration: none; }
.ticket-row:first-child { border-top: 0; }
.ticket-row:hover { background: rgba(255, 255, 255, .025); }
.ticket-row .grow { flex: 1; min-width: 0; }
.ticket-row .cell-main { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread { display: grid; gap: 12px; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.msg.staff { justify-self: end; background: rgba(52, 224, 161, .07); border-color: rgba(52, 224, 161, .3); }
.msg-head { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; color: var(--dim); margin-bottom: 6px; flex-wrap: wrap; }
.msg-head b { color: var(--text, #fff); font-size: 13px; }
.msg-body { white-space: pre-wrap; word-break: break-word; font-size: 14.5px; line-height: 1.6; }
.status-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.card-pad > h3 { display: flex; align-items: center; gap: 8px; }

/* Top 10 afiliator */
.lb-row { gap: 14px; }
.lb-me { background: rgba(52, 224, 161, .05); }
.rank { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.rank .icon { width: 20px; height: 20px; fill: currentColor; stroke-width: 1.4; }
.rank-1 { color: #fbbf24; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .45); }
.rank-2 { color: #d4d4d8; background: rgba(212, 212, 216, .1); border-color: rgba(212, 212, 216, .4); }
.rank-3 { color: #e09a63; background: rgba(224, 154, 99, .12); border-color: rgba(224, 154, 99, .45); }
.terms { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
