/* SaldoHub — modern fintech theme (Bootstrap 5 + jQuery)
   Satu warna brand (biru logo), netral slate, permukaan putih, tipografi Inter. */
:root {
  --brand: #0566ff;
  --brand-600: #0052e0;
  --brand-700: #0042b8;
  --brand-50: #eef4ff;
  --brand-100: #dbe7ff;
  --ink: #0b1220;
  --ink-2: #1d2939;
  --muted: #5d6b82;
  --subtle: #98a2b3;
  --line: #e7eaf0;
  --line-2: #f0f2f6;
  --bg: #f7f8fa;
  --success: #079455;
  --success-50: #ecfdf3;
  --warning: #b54708;
  --warning-50: #fffaeb;
  --danger: #d92d20;
  --danger-50: #fef3f2;
  /* Sudut: tipis (permintaan klien 04/11) — tombol/label = Tailwind rounded-lg, card = rounded-xl */
  --r-sm: 6px;
  --r-btn: 8px;
  --r-card: 12px;
  --radius: var(--r-card);
  --radius-lg: var(--r-card);
  --bs-border-radius-sm: var(--r-sm);
  --bs-border-radius: var(--r-btn);
  --bs-border-radius-lg: var(--r-card);
  --bs-border-radius-xl: var(--r-card);
  --bs-border-radius-xxl: var(--r-card);
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow: 0 12px 24px -6px rgba(16, 24, 40, .08), 0 4px 8px -4px rgba(16, 24, 40, .03);
  --shadow-lg: 0 32px 64px -16px rgba(16, 24, 40, .16), 0 8px 16px -8px rgba(16, 24, 40, .06);

  /* alias lama — dipakai halaman lain / admin */
  --sh-blue: var(--brand); --sh-blue-soft: var(--brand-50); --sh-ink: var(--ink);
  --sh-muted: var(--muted); --sh-line: var(--line); --sh-bg: var(--bg); --sh-navy: var(--ink);
  --sh-radius: var(--radius); --sh-shadow: var(--shadow);

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--ink);
  --bs-primary: var(--brand);
  --bs-primary-rgb: 5, 102, 255;
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 5, 102, 255;
  --bs-border-color: var(--line);
}

body { font-family: var(--bs-body-font-family); color: var(--ink); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; letter-spacing: -.006em; }
h1, h2, h3, h4, h5, h6, .font-display { font-family: "Inter", sans-serif; letter-spacing: -.025em; color: inherit; }
a { text-decoration: none; }
.num { font-variant-numeric: tabular-nums; }
.text-muted-2 { color: var(--muted) !important; }
.text-brand { color: var(--brand) !important; }
.bg-soft { background: var(--bg); }

/* Buttons */
/* Tombol flat: tanpa shadow, termasuk saat hover/focus/active. Ring fokus hanya untuk navigasi keyboard. */
.btn { --bs-btn-font-weight: 600; --bs-btn-box-shadow: none; --bs-btn-focus-box-shadow: none; --bs-btn-active-shadow: none; border-radius: var(--r-btn); padding: .7rem 1.15rem; font-size: .95rem; letter-spacing: -.01em; box-shadow: none !important; transition: background .15s, border-color .15s, color .15s; }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-lg { padding: .9rem 1.4rem; font-size: 1rem; border-radius: var(--r-btn); }
.btn-sm { padding: .45rem .8rem; font-size: .84rem; border-radius: var(--r-btn); }
.btn-primary { background: var(--brand); border: 1px solid var(--brand); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--brand-600) !important; border-color: var(--brand-600) !important; }
.btn-white { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-white:hover { background: var(--bg); color: var(--ink); border-color: #d6dbe4; }
.btn-ink { background: var(--ink); color: #fff; border: 0; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-soft { background: var(--brand-50); color: var(--brand); border: 0; }
.btn-soft:hover { background: var(--brand-100); color: var(--brand-700); }
.btn-light { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-light:hover, .btn-light.active { background: var(--bg); border-color: var(--line); }
.btn-on-brand { background: #fff; color: var(--brand-700); border: 0; }
.btn-on-brand:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-ghost-on-brand { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost-on-brand:hover { color: #fff; background: rgba(255,255,255,.1); }

/* Preview ribbon */
.preview-bar { background: var(--ink); color: #c4cad6; font-size: .78rem; }
.preview-bar a { color: #fff; opacity: .65; margin-left: 1rem; }
.preview-bar a:hover, .preview-bar a.active { opacity: 1; }

/* Navbar: sticky, bar selebar layar (konten tetap di .container) */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); transition: background .25s; }
.site-header.scrolled { background: rgba(255,255,255,.95); }
.sh-nav { padding: 12px 0 !important; }
.sh-nav .nav-link { font-weight: 500; font-size: .95rem; color: var(--ink-2); padding: .45rem .85rem !important; border-radius: var(--r-btn); }
.sh-nav .nav-link:hover, .sh-nav .nav-link.active { color: var(--ink); background: rgba(16,24,40,.05); }
.sh-nav button.nav-link { background: none; border: 0; }
.sh-nav .dropdown-menu { border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: .4rem; margin-top: .4rem; }
.sh-nav .dropdown-item { border-radius: var(--r-sm); padding: .55rem .8rem; font-weight: 500; font-size: .92rem; color: var(--ink-2); }
.sh-nav .dropdown-item:hover, .sh-nav .dropdown-item:focus { background: var(--brand-50); color: var(--brand); }
.sh-nav .navbar-toggler { border: 0; color: var(--ink); box-shadow: none; }
@media (max-width: 991.98px) {
  .sh-nav .navbar-collapse { padding: .75rem 0 .25rem; }
  .sh-nav .navbar-collapse .d-flex { padding-top: .75rem; margin-top: .5rem; border-top: 1px solid var(--line); }
}

/* Pills / eyebrow */
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--brand); letter-spacing: 0; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: var(--r-btn); background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700); font-size: .84rem; font-weight: 600; }
.eyebrow-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; display: inline-block; box-shadow: 0 0 0 0 rgba(18,183,106,.55); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(18,183,106,0); } 100% { box-shadow: 0 0 0 0 rgba(18,183,106,0); } }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -69px; padding: 141px 0 96px; background: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(640px 380px at 82% 18%, rgba(5,102,255,.12), transparent 70%),
  radial-gradient(520px 320px at 100% 80%, rgba(56,189,248,.10), transparent 70%),
  radial-gradient(480px 300px at 0% 0%, rgba(5,102,255,.05), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%); opacity: .8; pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; }
.hero h1 .grad { background: linear-gradient(90deg, var(--brand) 0%, #3b9bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1.h1-long { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.08; }
.hero .lead { color: var(--muted); font-size: 1.14rem; line-height: 1.6; max-width: 520px; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .88rem; font-weight: 500; }
.trust-row i { color: var(--brand); margin-right: .35rem; }

/* Calculator / product card */
.calc-wrap { position: relative; }
.calc-card { position: relative; z-index: 2; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.calc-head { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line-2); }
.rate-big { font-size: 2rem; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.calc-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-btn); padding: 4px; }
.calc-tabs button { border: 0; background: transparent; padding: .55rem; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; color: var(--muted); transition: .15s; }
.calc-tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.form-control, .form-select { border-radius: var(--r-btn); border-color: var(--line); padding: .72rem .9rem; font-weight: 500; box-shadow: var(--shadow-xs); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(5,102,255,.12); }
.input-group-text { border-radius: var(--r-btn); border-color: var(--line); background: #fff; font-weight: 600; color: var(--muted); }
.input-group .form-control { border-left: 0; box-shadow: none; }
.input-group:focus-within .input-group-text { border-color: var(--brand); }
.form-label { font-size: .82rem; font-weight: 500; color: var(--ink-2); margin-bottom: .4rem; }
.calc-result { background: var(--bg); border-radius: var(--r-btn); padding: .9rem 1.1rem; transition: opacity .2s; font-variant-numeric: tabular-nums; }
.calc-result .row-line { display: flex; justify-content: space-between; font-size: .9rem; padding: .28rem 0; }
.calc-result .total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .75rem; font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }


/* Logo strip */
.logo-strip { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: #fff; }
.logo-strip .lbl { color: var(--muted); font-size: .85rem; font-weight: 500; }
.logo-strip .brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.8rem; }
.logo-strip .brand { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; line-height: 1; color: var(--ink); white-space: nowrap; }
.logo-strip .brand img { height: 26px; width: auto; }
.logo-strip .b-ebay { gap: 0; font-size: 1.6rem; letter-spacing: -.06em; }
.logo-strip .b-envato { font-weight: 600; letter-spacing: -.02em; }
.logo-strip .b-namecheap { color: #de3723; font-weight: 600; letter-spacing: -.04em; }
.logo-strip .b-do { color: #0080ff; font-weight: 600; }
.logo-strip .b-fiverr { gap: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.05em; }
.logo-strip .b-fiverr i { font-style: normal; color: #1dbf73; }
.logo-strip .b-sd { color: #f36d21; font-weight: 500; font-size: 1.3rem; letter-spacing: -.02em; }

/* Sections */
.section { padding: 112px 0; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.section-sub { color: var(--ink-2); font-size: 1.12rem; line-height: 1.6; }

.icon-badge { width: 44px; height: 44px; border-radius: var(--r-btn); display: grid; place-items: center; font-size: 1.2rem; background: var(--brand-50); color: var(--brand); }
.icon-badge.outline { background: #fff; border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow-xs); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.stats-grid > div { padding: 1.75rem 1.5rem; }
.stats-grid > div + div { border-left: 1px solid var(--line); }
.stat-num { font-weight: 700; font-size: 2.4rem; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 1.1rem; color: var(--muted); font-weight: 600; letter-spacing: -.02em; margin-left: 2px; }
.stat-lbl { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
@media (max-width: 767.98px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div:nth-child(3) { border-left: 0; }
  .stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
  .stats-grid > div { padding: 1.4rem 1.1rem; min-width: 0; }
  .stat-num { font-size: clamp(1.4rem, 6.6vw, 1.9rem); }
  .row.g-5 { --bs-gutter-x: 1.5rem; } /* g-5 (3rem) lebih lebar dari padding container → scroll horizontal */
}

/* Service cards */
.service-card { border-radius: var(--r-card); padding: 2.25rem; height: 100%; position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.service-card.feature-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-card.feature-dark::before { content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(5,102,255,.55), transparent 65%); pointer-events: none; }
.service-card.feature-dark .icon-badge { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.12); }
.service-card.feature-dark .muted { color: rgba(255,255,255,.66); }
.service-card .price { font-weight: 700; font-size: 2rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card li { padding: .45rem 0; display: flex; gap: .6rem; font-size: .95rem; }
.service-card li i { color: var(--brand); }
.service-card.feature-dark li i { color: #6fa8ff; }
.service-card .divider { height: 1px; background: var(--line); margin: 1.5rem 0; }
.service-card.feature-dark .divider { background: rgba(255,255,255,.1); }
.service-card > * { position: relative; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bento .b { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.75rem; overflow: hidden; position: relative; }
.bento .b h5 { font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; margin: 1.1rem 0 .45rem; }
.bento .b p { color: var(--ink-2); margin: 0; font-size: 1.02rem; line-height: 1.6; }
.bento .b-3 { grid-column: span 3; }
.bento .b-2 { grid-column: span 2; }
@media (max-width: 991.98px) { .bento .b-3, .bento .b-2 { grid-column: span 3; } }
@media (max-width: 575.98px) { .bento { grid-template-columns: 1fr; } .bento .b-3, .bento .b-2 { grid-column: auto; } }
.mini-ui { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--bg); padding: 1rem; }
.mini-ui .row-line { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; padding: .35rem 0; }
.spark { width: 100%; height: 72px; display: block; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.step { position: relative; }
.step-num { width: 44px; height: 44px; border-radius: var(--r-btn); display: grid; place-items: center; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-xs); margin-bottom: 1.25rem; position: relative; }
.step:first-child .step-num { background: var(--brand); border-color: var(--brand); color: #fff; }
.step h6 { font-weight: 600; font-size: 1.08rem; letter-spacing: -.015em; }
.step p { color: var(--ink-2) !important; font-size: .98rem !important; line-height: 1.6; }
@media (max-width: 991.98px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--ink); }
.accordion-item { border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; background: transparent; }
.accordion-button { font-weight: 600; font-size: 1.1rem; padding: 1.35rem 0; background: transparent; color: var(--ink); letter-spacing: -.015em; }
.accordion-button:not(.collapsed) { background: transparent; box-shadow: none; color: var(--ink); }
.accordion-button::after { background-image: none; content: "\F64D"; font-family: "bootstrap-icons"; font-size: 1.1rem; color: var(--muted); width: auto; height: auto; transform: none; transition: transform .2s; }
.accordion-button:not(.collapsed)::after { background-image: none; transform: rotate(45deg); color: var(--brand); }
.accordion-body { padding: 0 2.5rem 1.4rem 0; color: var(--ink-2); font-size: 1.04rem; line-height: 1.7; }

/* CTA */
.cta { background: var(--brand); border-radius: var(--r-card); color: #fff; padding: 4rem; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(255,255,255,.22), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(0,30,120,.35), transparent 70%); }
.cta::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-weight: 700; letter-spacing: -.04em; font-size: clamp(1.8rem, 3vw, 2.5rem); }
@media (max-width: 575.98px) { .cta { padding: 2.25rem 1.5rem; } }

/* Footer */
footer.sh-footer { background: #fff; color: var(--muted); border-top: 1px solid var(--line); font-size: .92rem; }
footer.sh-footer h6 { color: var(--ink); font-weight: 600; font-size: .88rem; margin-bottom: 1rem; }
footer.sh-footer a { color: var(--muted); display: block; padding: .25rem 0; }
footer.sh-footer a:hover { color: var(--ink); }
footer.sh-footer .legal { border-top: 1px solid var(--line); }
footer.sh-footer .socials { display: flex; gap: .5rem; }
footer.sh-footer .socials a { width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-btn); color: var(--ink-2); }
footer.sh-footer .socials a:hover { border-color: var(--brand); color: var(--brand); }
footer.sh-footer .contact a, footer.sh-footer .contact p { display: flex; gap: .65rem; align-items: flex-start; margin: 0; padding: .25rem 0; }
footer.sh-footer .contact i { color: var(--ink-2); line-height: 1.5; }

.wa-float { position: fixed; right: 22px; bottom: 22px; height: 52px; padding: 0 1.1rem 0 .95rem; border-radius: var(--r-btn); background: var(--ink); color: #fff; display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); z-index: 1040; transition: transform .15s; }
.wa-float i { font-size: 1.25rem; color: #25d366; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }

/* Halaman layanan (jasa top up / jasa bayar) */
.crumb { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 500; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.crumb i { font-size: .7rem; color: var(--subtle); }
.crumb span { color: var(--brand); }
.term { display: flex; gap: 1rem; height: 100%; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.term-num { flex: 0 0 auto; font-weight: 600; font-size: .85rem; color: var(--brand); background: var(--brand-50); border-radius: var(--r-sm); padding: .3rem .5rem; height: fit-content; font-variant-numeric: tabular-nums; }
.term h5 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: .35rem; }
.term p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.6; }
.prose { max-width: 760px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; }
.prose h2 { font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 1rem; }
.prose h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; margin: 2rem 0 .75rem; }
.prose ol, .prose ul { padding-left: 1.25rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose li { margin-bottom: .5rem; }
.prose b { color: var(--ink); font-weight: 600; }
.prose.clamp { max-height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }

/* Area member & auth */
.order-list { display: flex; flex-direction: column; gap: .5rem; }
.order-row, .todo-item { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.order-row:hover, .todo-item:hover { color: var(--ink); border-color: #d6dbe4; box-shadow: var(--shadow-xs); }
.todo-item + .todo-item { margin-top: .5rem; }
.icon-badge.sm { width: 38px; height: 38px; font-size: 1rem; border-radius: var(--r-btn); flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.avatar-lg { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-btn); padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: var(--r-sm); font-size: 13px; font-weight: 500; color: var(--muted); }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.opt-card { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-card); cursor: pointer; transition: border-color .15s, background .15s; }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 1px var(--brand) inset; }
.opt-card:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (min-width: 992px) { .summary-card { position: sticky; top: 96px; } }
.auth-wrap { min-height: calc(100vh - 40px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px; }
.auth-card { width: 100%; max-width: 440px; }
.preview-bar .pb-reset { background: none; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); border-radius: var(--r-sm); font-size: .75rem; padding: 1px 8px; margin-left: 12px; }
.preview-bar .pb-reset:hover { color: #fff; border-color: rgba(255,255,255,.5); }
[data-soon] { opacity: .5; cursor: not-allowed; }
@media (max-width: 575.98px) { .order-row { gap: .6rem; padding: .75rem; } .order-row .status-pill { font-size: .7rem; } }

/* Pop-up transaksi terbaru */
.tx-pop { position: fixed; left: 22px; bottom: 22px; width: 340px; max-width: calc(100vw - 32px); display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: .85rem 2.4rem .85rem .85rem; font-size: .86rem; line-height: 1.45; color: var(--muted); z-index: 1039; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.tx-pop.show { opacity: 1; transform: none; pointer-events: auto; }
.tx-pop b { color: var(--ink); font-weight: 600; }
.tx-pop .tx-ic { flex: 0 0 40px; height: 40px; border-radius: var(--r-btn); background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.15rem; }
.tx-pop .tx-time { font-size: .78rem; color: var(--subtle); margin-top: .15rem; display: flex; align-items: center; gap: .3rem; }
.tx-pop .tx-time i { color: var(--subtle); }
.tx-pop .tx-close { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; background: none; color: var(--subtle); border-radius: var(--r-sm); display: grid; place-items: center; }
.tx-pop .tx-close:hover { background: var(--bg); color: var(--ink); }
@media (max-width: 575.98px) { .tx-pop { left: 16px; bottom: 86px; } }
@media (prefers-reduced-motion: reduce) { .tx-pop { transition: opacity .2s; transform: none; } }

/* Member area */
.member-head { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 112px; position: relative; overflow: hidden; }
.member-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(5,102,255,.09), transparent 70%); }
.member-head > .container { position: relative; }
.back-link { color: var(--muted); font-size: .88rem; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.card-sh { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.card-sh h5, .card-sh h6 { font-weight: 600; letter-spacing: -.02em; }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; padding: .28rem .65rem; border-radius: var(--r-btn); border: 1px solid transparent; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-completed { background: var(--success-50); color: var(--success); border-color: #abefc6; }
.st-paid, .st-pending { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-100); }
.st-unconfirmed { background: #f2f4f7; color: #475467; border-color: #e4e7ec; }
.st-processing { background: #ecfdff; color: #0e7090; border-color: #a5f0fc; }
.st-refunded, .st-warn { background: var(--warning-50); color: var(--warning); border-color: #fedf89; }
.st-cancel { background: var(--danger-50); color: var(--danger); border-color: #fecdca; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 1.35rem 2.1rem; }
.timeline li::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line); }
.timeline li.done::before { background: var(--brand-100); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; }
.timeline .done .dot { background: var(--brand); border-color: var(--brand); }
.timeline .done .dot::after { content: "\F633"; font-family: "bootstrap-icons"; color: #fff; font-size: .7rem; font-weight: 700; }
.file-tile { display: flex; align-items: center; gap: .9rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; transition: border-color .15s, box-shadow .15s; }
.file-tile:hover { border-color: #d6dbe4; box-shadow: var(--shadow-xs); }
.file-tile .ft-icon { width: 40px; height: 40px; border-radius: var(--r-btn); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.ft-img { background: var(--brand-50); color: var(--brand); }
.ft-zip { background: #f4f3ff; color: #6941c6; }
.ft-pdf { background: var(--danger-50); color: var(--danger); }
.thumb-proof { border-radius: var(--r-btn); border: 1px solid var(--line); width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--bg); }
.kv-table td { padding: .85rem 0; border-color: var(--line-2); font-size: .93rem; }
.input-group:has(.is-invalid) + .invalid-feedback { display: block; }
.dropzone { border: 1.5px dashed #cfd5df; border-radius: var(--r-card); padding: 2rem 1rem; text-align: center; cursor: pointer; background: var(--bg); transition: .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: var(--brand-50); }
section[id], header[id] { scroll-margin-top: 76px; }
.avatar-sm { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .66rem; font-weight: 700; background: var(--brand-50); color: var(--brand); }
@media (max-width: 767.98px) { .hero { padding: 116px 0 64px; } .section { padding: 80px 0; } }
.form-select { padding-right: 2.25rem; }
.form-select-sm { padding-right: 2rem; }

/* Dark trust band */
.trust-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.trust-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 85% 0%, rgba(5,102,255,.35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(56,189,248,.12), transparent 70%); pointer-events: none; }
.trust-band::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000, transparent 75%); pointer-events: none; }
.trust-band > .container { position: relative; z-index: 1; }
.trust-band .eyebrow { color: #6fa8ff; }
.trust-band .section-sub { color: rgba(255,255,255,.82); }
.trust-item { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); border-radius: var(--r-card); padding: 1.75rem; height: 100%; transition: border-color .2s, background .2s; }
.trust-item:hover { border-color: rgba(111,168,255,.4); background: rgba(255,255,255,.05); }
.trust-item .icon-badge { background: rgba(5,102,255,.18); color: #8fbaff; border: 1px solid rgba(111,168,255,.25); }
.trust-item h5 { font-weight: 600; font-size: 1.15rem; margin: 1.1rem 0 .45rem; letter-spacing: -.02em; }
.trust-item p { color: rgba(255,255,255,.82); font-size: 1.02rem; margin: 0; line-height: 1.6; }

/* Scroll reveal (kelas ditambah via JS, jadi konten tetap tampil tanpa JS) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.post-card { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; isolation: isolate; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card p { color: var(--ink-2) !important; font-size: .95rem !important; }
.post-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6dbe4; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
/* Thumbnail rounded atas mengikuti sudut kartu (eksplisit, supaya tetap rounded saat kartu bergerak di hover) */
.post-thumb { border-radius: calc(var(--r-card) - 1px) calc(var(--r-card) - 1px) 0 0; overflow: hidden; aspect-ratio: 16/9; display: grid; place-items: center; font-size: 2.4rem; color: var(--brand); background: radial-gradient(280px 160px at 80% 0%, rgba(5,102,255,.16), transparent 70%), linear-gradient(180deg, var(--brand-50), #fff); border-bottom: 1px solid var(--line-2); }
.member-head + .member-body { position: relative; z-index: 1; }

/* State switcher (bawah layar) */
.state-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1050; display: flex; align-items: center; gap: 6px; padding: 6px; background: rgba(11,18,32,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.state-bar button.sb-prev, .state-bar button.sb-next { width: 40px; height: 40px; border: 0; border-radius: var(--r-btn); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; font-size: 1rem; transition: background .15s; }
.state-bar button.sb-prev:hover, .state-bar button.sb-next:hover { background: rgba(255,255,255,.16); }
.state-bar .sb-mid { min-width: 210px; text-align: center; padding: 0 8px; }
.state-bar .sb-label { font-size: .86rem; line-height: 1.2; white-space: nowrap; }
.state-bar .sb-label span { color: rgba(255,255,255,.55); margin-right: .45rem; font-size: .78rem; }
.state-bar .sb-label b { font-weight: 600; }
.state-bar .sb-dots { display: flex; justify-content: center; gap: 5px; margin-top: 6px; }
.state-bar .sb-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.3); transition: width .2s, background .2s; }
.state-bar .sb-dot.active { width: 18px; background: #6fa8ff; }
body[data-states] { padding-bottom: 88px; }
@media print { .state-bar { display: none !important; } body[data-states] { padding-bottom: 0; } }
.timeline li.current .dot { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(5,102,255,.14); }
.timeline li.cancel .dot { background: var(--danger); border-color: var(--danger); display: grid; place-items: center; }
.timeline li.cancel .dot::after { content: "\F62A"; font-family: "bootstrap-icons"; color: #fff; font-size: .62rem; }
.timeline li.todo > div { opacity: .55; }
.empty-state { text-align: center; padding: 2rem 1rem; border: 1.5px dashed var(--line); border-radius: var(--r-card); background: var(--bg); }
.pay-box { border: 1px solid var(--line); border-radius: var(--r-card); padding: 1rem 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.pay-box + .pay-box { margin-top: .6rem; }

/* Pager CI4 (blog) */
.sh-pager .pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.sh-pager .pagination li a, .sh-pager .pagination li span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r-btn); border: 1px solid var(--line, #e5e7eb); color: var(--ink, #0b1220); background: #fff; font-weight: 500; text-decoration: none; }
.sh-pager .pagination li.active a, .sh-pager .pagination li.active span { background: var(--brand, #0566ff); border-color: var(--brand, #0566ff); color: #fff; }
.calc-result .row-line.total { align-items: center; }

/* Tombol WhatsApp melayang: di HP cukup ikon supaya tidak menutupi konten */
@media (max-width: 575.98px) {
  .wa-float { width: 52px; padding: 0; justify-content: center; font-size: 0; gap: 0; right: 16px; bottom: 16px; }
  .wa-float i { font-size: 1.5rem; }
}

/* Angka statistik panjang (mis. "1.263.471+") di 4 kolom: mengecil mengikuti lebar, tidak keluar layar */
.stats-grid > div { min-width: 0; }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .stat-num { font-size: clamp(1.5rem, 2.7vw, 2.4rem); }
  .stats-grid > div { padding: 1.5rem 1.1rem; }
}
