/* =====================================================================
   Kasirin — tampilan publik & akun
   Ditulis tangan, tanpa framework: satu berkas ~14 KB, tanpa permintaan
   tambahan ke server lain. Tujuannya halaman pertama terasa instan.
   ===================================================================== */

:root {
    --brand: #4f46e5;
    --brand-600: #4338ca;
    --brand-50: #eef2ff;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f8fafc;
    --card: #ffffff;
    --ok: #059669;
    --ok-bg: #ecfdf5;
    --warn: #b45309;
    --warn-bg: #fffbeb;
    --bad: #dc2626;
    --bad-bg: #fef2f2;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .18);
    --max: 1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
small { font-size: .8125rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.tight { margin: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.spread { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }

/* ---------- Header ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.125rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; font-weight: 800; font-size: 15px;
    box-shadow: 0 4px 12px -4px rgba(79, 70, 229, .6);
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink-2); font-size: .9375rem; font-weight: 500; }
.nav-links a:hover { color: var(--brand-600); text-decoration: none; }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
    font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer;
    transition: transform .06s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .7); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: .8125rem; border-radius: 8px; }
.btn-lg { padding: 14px 24px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
    content: ""; position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1;
    background:
        radial-gradient(560px 280px at 15% 20%, rgba(79, 70, 229, .16), transparent 70%),
        radial-gradient(520px 260px at 85% 10%, rgba(14, 165, 233, .14), transparent 70%),
        radial-gradient(420px 240px at 60% 60%, rgba(16, 185, 129, .10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding-top: 48px; } }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); color: var(--ink-2);
    font-size: .8125rem; font-weight: 600; box-shadow: var(--shadow); margin-bottom: 18px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(5, 150, 105, .15); }
.hero h1 { margin-bottom: 16px; }
.hero h1 .grad {
    background: linear-gradient(120deg, var(--brand), #7c3aed 55%, #0ea5e9);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.125rem; color: var(--ink-2); max-width: 33em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .875rem; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Mockup dashboard (dibuat dari div, bukan gambar: ringan & tajam) */
.mockup {
    background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35), 0 2px 6px rgba(15, 23, 42, .06);
    transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}
@media (max-width: 900px) { .mockup { transform: none; } }
.mockup-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.mockup-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; }
.mockup-body { display: grid; grid-template-columns: 64px 1fr; min-height: 300px; }
.mockup-side { background: #0f172a; padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.mockup-side i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.12); }
.mockup-side i:first-child { background: var(--brand); }
.mockup-main { padding: 16px; background: #f8fafc; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mock-kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock-kpi b { display: block; font-size: 13px; }
.mock-kpi span { font-size: 10px; color: var(--muted); }
.mock-chart { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; height: 150px; display: flex; align-items: flex-end; gap: 7px; }
.mock-chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #818cf8, #4f46e5); opacity: .85; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--brand-600); margin-bottom: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.feature {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow);
}
.feature .ico {
    width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
    background: var(--brand-50); color: var(--brand-600); margin-bottom: 14px;
}
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .9375rem; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
    counter-increment: s; content: counter(s);
    position: absolute; top: -14px; left: 24px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.step h3 { margin: 6px 0 6px; font-size: 1rem; }
.step p { color: var(--muted); margin: 0; font-size: .9375rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; } }
.price {
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px;
    display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative;
}
.price.pop { border: 2px solid var(--brand); box-shadow: 0 24px 48px -24px rgba(79, 70, 229, .45); }
.price .tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--brand); color: #fff; font-size: .6875rem; font-weight: 700;
    padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
}
.price h3 { font-size: 1.0625rem; margin-bottom: 2px; }
.price .tagline { color: var(--muted); font-size: .875rem; min-height: 2.6em; }
.price .amount { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; }
.price .amount small { font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; font-size: .9375rem; color: var(--ink-2); }
.price ul li { display: flex; gap: 9px; align-items: flex-start; }
.price ul li::before { content: "✓"; color: var(--ok); font-weight: 800; flex: 0 0 auto; }
.price .btn { margin-top: auto; }
.price .yearly { font-size: .8125rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
details.q { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
details.q summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.25rem; line-height: 1; }
details.q[open] summary::after { content: "–"; }
details.q p { margin: 12px 0 0; color: var(--muted); font-size: .9375rem; }

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(135deg, #1e1b4b, #312e81 45%, #4f46e5);
    color: #fff; border-radius: 22px; padding: 48px; text-align: center; position: relative; overflow: hidden;
}
.cta::after {
    content: ""; position: absolute; inset: auto -10% -60% -10%; height: 240px;
    background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .78); max-width: 34em; margin: 0 auto 24px; }
.cta .btn-primary { background: #fff; color: var(--brand-600); box-shadow: none; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); background: #fff; padding: 40px 0 32px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.foot-grid a { display: block; color: var(--ink-2); font-size: .9375rem; padding: 3px 0; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; color: var(--muted); font-size: .8125rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 24px; }
.auth-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 440px; padding: 32px; }
.auth-card.wide { max-width: 720px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field .hint { font-size: .8125rem; color: var(--muted); margin-top: 5px; }
.input, select.input, textarea.input {
    width: 100%; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 10px;
    font: inherit; font-size: .9375rem; color: var(--ink); background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79, 70, 229, .14); }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: 10px 0 0 10px; }
.input-group .suffix {
    display: flex; align-items: center; padding: 0 13px; background: #f1f5f9;
    border: 1px solid #cbd5e1; border-left: 0; border-radius: 0 10px 10px 0; color: var(--muted); font-size: .875rem;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .875rem; margin-bottom: 18px; border: 1px solid transparent; }
.alert-bad { background: var(--bad-bg); color: #991b1b; border-color: #fecaca; }
.alert-ok { background: var(--ok-bg); color: #065f46; border-color: #a7f3d0; }
.alert-warn { background: var(--warn-bg); color: #92400e; border-color: #fde68a; }

/* ---------- Tables / badges ---------- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.tbl th { text-align: left; padding: 11px 14px; background: #f8fafc; color: var(--muted); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; border-bottom: 1px solid var(--line); }
table.tbl td { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tr:hover td { background: #fcfdff; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-info { background: var(--brand-50); color: var(--brand-600); }
.badge-muted { background: #f1f5f9; color: var(--muted); }

/* ---------- Akun ---------- */
.store-card { padding: 20px; display: grid; gap: 12px; }
.store-card .name { font-weight: 700; font-size: 1.0625rem; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: .875rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }

@media (max-width: 560px) {
    .auth-card { padding: 24px; }
    section { padding: 44px 0; }
    .cta { padding: 32px 20px; }
}

/* ---------- Cetak tagihan ---------- */
@media print {
    .nav, footer.site, .no-print { display: none !important; }
    body { background: #fff; }
    .card { box-shadow: none; border: 0; }
}

/* ---------- Simulasi kasir di landing ---------- */
.sim { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.sim-left, .sim-cart { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.sim-cart { display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.sim-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.sim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sim-prod {
    display: flex; flex-direction: column; gap: 4px; text-align: left; cursor: pointer;
    padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
    font: inherit; transition: border-color .12s, box-shadow .12s, transform .06s;
}
.sim-prod:hover { border-color: var(--brand); box-shadow: 0 6px 16px -10px rgba(79,70,229,.5); }
.sim-prod:active { transform: translateY(1px); }
.sim-prod span { font-size: 12.5px; color: var(--ink-2); }
.sim-prod b { font-size: 13.5px; letter-spacing: -.01em; }
.sim-cart-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 14px; }
.sim-badge { background: var(--brand-50); color: var(--brand-600); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 700; }
.sim-rows { min-height: 118px; display: flex; flex-direction: column; gap: 6px; }
.sim-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; border-bottom: 1px dashed var(--line); padding-bottom: 5px; }
.sim-empty { color: var(--muted); font-size: 13px; }
.sim-total { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--line); padding-top: 10px; font-size: 15px; }
.sim-pay { display: flex; flex-direction: column; gap: 8px; }
.sim-cash { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.sim-receipt { background: #f8fafc; border: 1px dashed var(--line); border-radius: 10px; padding: 12px; font-size: 12.5px; }
.sim-receipt-head { font-weight: 800; text-align: center; margin-bottom: 8px; letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; color: var(--muted); }
.sim-receipt-row { display: flex; justify-content: space-between; padding: 2px 0; }
.sim-receipt-foot { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 8px; text-align: center; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
@media (max-width: 860px) {
    .sim { grid-template-columns: 1fr; }
    .sim-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   Dashboard pemilik (akun) — dipakai platform/views/akun.php
   ===================================================================== */
.dash { padding: 30px 0 48px; }
.dash-head { display: flex; gap: 18px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 22px; }
.dash-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 4px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dash-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; align-items: start; }
.dash-empty { text-align: center; padding: 40px 24px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
    background: #eef2ff; color: #4338ca; font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.chip-ok { background: var(--ok-bg); color: #047857; }
.chip-muted { background: #f1f5f9; color: var(--muted); }
.chip-off { background: #fff7ed; color: #b45309; border: 1px dashed #fdba74; }

.store-hero { padding: 20px; display: grid; gap: 10px; }
.store-hero-name { font-weight: 750; font-size: 1.0625rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.store-hero-url { font-size: .8125rem; color: var(--muted); }
.store-hero-days { text-align: right; line-height: 1.1; }
.store-hero-days b { display: block; font-size: 1.5rem; letter-spacing: -.03em; }
.store-hero-days small { color: var(--muted); font-size: .75rem; }
.trialbar { height: 6px; background: #eef2ff; border-radius: 999px; overflow: hidden; }
.trialbar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #7c3aed); border-radius: 999px; }
.trialbar > i[style*="width:0%"] { background: #fca5a5; }

.dash-block { margin-top: 34px; }
.dash-block-head { display: flex; gap: 14px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.dash-block-head h2 { font-size: 1.25rem; margin: 0 0 2px; }
.dash-block-head p { margin: 0; font-size: .875rem; max-width: 62em; }
.plan-panel + .plan-panel { margin-top: 16px; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.seg label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: .8125rem; cursor: pointer; color: var(--ink-2); }
.seg label + label { border-left: 1px solid var(--line); }
.seg input { accent-color: var(--brand); }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan-card {
    position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 18px;
    display: flex; flex-direction: column; gap: 6px; background: #fff;
}
.plan-card.current { border-color: var(--brand); box-shadow: 0 18px 30px -26px rgba(79,70,229,.7); background: #fbfbff; }
.plan-flag {
    position: absolute; top: -10px; right: 14px; background: var(--brand); color: #fff;
    font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px;
}
.plan-card h3 { margin: 0; font-size: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.plan-price b { font-size: 1.35rem; letter-spacing: -.03em; }
.plan-price span { color: var(--muted); font-size: .8125rem; }
.plan-yearly { flex-basis: 100%; color: var(--muted); font-size: .75rem; }
.plan-feats { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 4px; font-size: .8125rem; color: var(--ink-2); }
.plan-feats li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.plan-feats li.muted::before { content: "+"; color: var(--muted); }
.plan-card .btn { margin-top: auto; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feat-item { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.feat-item b { font-size: .9375rem; }
.feat-item p { margin: 4px 0 0; font-size: .8125rem; color: var(--muted); }
.feat-item.locked { background: #fcfcfd; border-style: dashed; }
.feat-item.locked b { color: var(--ink-2); }
.feat-ico {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
    background: var(--brand-50); color: var(--brand-600); font-weight: 700;
}
.feat-item.locked .feat-ico { background: #f1f5f9; color: var(--muted); }
.feat-lock { display: inline-block; margin-top: 6px; font-size: .75rem; color: #b45309; font-weight: 600; }

.dash-secure { margin-top: 26px; display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; }

.ticket { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin-bottom: 8px; }
.ticket summary { cursor: pointer; font-size: .875rem; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.ticket-body { margin: 8px 0 0; font-size: .8125rem; white-space: pre-wrap; }
.ticket-reply { margin-top: 8px; background: #f8fafc; border-left: 3px solid var(--brand); padding: 8px 10px; border-radius: 6px; font-size: .8125rem; white-space: pre-wrap; }

/* Halaman daftar lewat Google */
.signup-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .9rem; color: var(--ink-2); }
.signup-points li { padding-left: 26px; position: relative; }
.signup-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }

@media (max-width: 980px) {
    .plan-grid, .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .dash-grid, .dash-grid-2 { grid-template-columns: 1fr; }
    .plan-grid, .feat-grid { grid-template-columns: 1fr; }
    .dash-head { align-items: flex-start; }
    .store-hero-days b { font-size: 1.25rem; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Daftar: kotak Google + pembatas "atau" */
.signup-google-box {
    display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
    border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fbfbff;
}
.signup-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .8125rem; }
.signup-or::before, .signup-or::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.signup-or span { white-space: nowrap; }

/* Kotak kredensial di kartu toko */
.cred-box { border-top: 1px dashed var(--line); padding-top: 10px; }
.cred-box summary { cursor: pointer; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.cred-box summary:hover { color: var(--brand-600); }

/* Tabel perbandingan paket */
.compare th.center, .compare td.center { text-align: center; }
.compare th.current { background: var(--brand-50); color: var(--brand-600); box-shadow: inset 0 -2px 0 var(--brand); }
.compare .yes { color: var(--ok); font-weight: 800; font-size: 1rem; }

/* Logo hasil unggahan admin */
.brand-logo { height: 34px; width: auto; max-width: 180px; object-fit: contain; }
.brand .brand-logo { height: 32px; }

/* =====================================================================
   Tema 2026 — kertas hangat, tinta gelap, aksen limau.
   Ditambahkan paling bawah supaya menimpa aturan lama tanpa menghapus.
   ===================================================================== */
:root {
    --brand: #24330f;
    --brand-600: #354a17;
    --brand-700: #24330f;
    --brand-50: #edf4dc;
    --accent: #c9f25c;
    --accent-strong: #b6e044;
    --ink: #111310;
    --ink-2: #3c4038;
    --muted: #575b52;
    --line: #ddd9cc;
    --line-strong: #c9c4b4;
    --bg: #f4f1e8;
    --card: #fffdf7;
    --ok: #1f6b45;
    --ok-bg: #e6f4ec;
    --warn: #8a5a12;
    --warn-bg: #fbf1dc;
    --bad: #a52a2a;
    --bad-bg: #fbe9e7;
    --radius: 12px;
    --shadow: 0 1px 0 rgba(17, 19, 16, .04), 0 18px 32px -26px rgba(17, 19, 16, .45);
    --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "DejaVu Sans Mono", Consolas, monospace;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink);
    letter-spacing: -.005em;
}
h1, h2, h3, h4 { font-family: var(--font-sans); letter-spacing: -.035em; font-weight: 750; }
a { color: var(--brand-600); }
.mono, code, kbd { font-family: var(--font-mono); }
.small, small { font-size: .8125rem; }

/* Tombol */
.btn {
    border-radius: 9px;
    font-weight: 650;
    letter-spacing: -.01em;
    padding: 11px 18px;
    transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #14210a;
    box-shadow: 0 2px 0 #a9ce49;
}
.btn-primary:hover { background: #d5ff70; border-color: #d5ff70; transform: translateY(-1px); }
.btn-ghost, .btn-quiet {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}
.btn-ghost:hover, .btn-quiet:hover { background: #fffdf7; border-color: var(--ink); transform: translateY(-1px); }
.btn-danger { background: #a52a2a; border-color: #a52a2a; }
.btn-sm { padding: 7px 12px; font-size: .8125rem; border-radius: 7px; }
.btn-lg { padding: 14px 22px; font-size: 1rem; border-radius: 10px; }

/* Navigasi */
.nav {
    background: rgba(244, 241, 232, .88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(140%) blur(14px);
}
.nav-inner { height: 68px; gap: 22px; }
.brand { font-weight: 750; letter-spacing: -.03em; color: var(--ink); font-size: 1.0625rem; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: none; box-shadow: none; display: inline-flex; }
.brand-mark svg { display: block; width: 32px; height: 32px; }
.brand-logo { height: 30px; max-width: 150px; object-fit: contain; }
.nav-links { gap: 20px; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .9rem; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: .9rem; font-weight: 550; color: var(--ink-2); }
.nav-toggle {
    display: none; width: 38px; height: 38px; border: 1px solid var(--line-strong);
    background: transparent; border-radius: 8px; cursor: pointer; padding: 0;
    align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .18s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.nav-panel {
    position: fixed; inset: 68px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px; display: grid; gap: 2px; box-shadow: 0 24px 40px -30px rgba(17,19,16,.5); z-index: 60;
}
.nav-panel[hidden] { display: none; }
.nav-panel > a { padding: 12px 2px; border-bottom: 1px solid var(--line); font-weight: 550; color: var(--ink); }
.nav-panel-foot { display: grid; gap: 10px; margin-top: 14px; }

/* Halaman isi */
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.page-head p { color: var(--muted); max-width: 46em; }
.page-body { padding: 32px 0 64px; }
.container.narrow { max-width: 780px; }
.legal h2 { font-size: 1.125rem; margin: 28px 0 6px; }
.legal p { color: var(--ink-2); line-height: 1.7; margin: 0 0 10px; }

/* Kartu & formulir */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.auth-card { border-radius: 16px; box-shadow: var(--shadow); }
.input, select.input, textarea.input { border-color: var(--line-strong); border-radius: 8px; background: #fffefb; }
.input:focus { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(36, 51, 15, .12); }
.alert { border-radius: 9px; }

/* Footer */
.site-foot { background: #0b0c0d; color: #e9e7de; padding: 56px 0 26px; margin-top: 64px; }
.site-foot .brand { color: #fff; }
.site-foot .brand-name { color: #fff; }
.site-foot .foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-foot .foot-brand p { color: #9a9b92; font-size: .9rem; max-width: 30em; margin: 12px 0 16px; line-height: 1.65; }
.site-foot h4 { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: #8a8b82; margin-bottom: 12px; font-weight: 500; }
.site-foot .foot-col { display: grid; gap: 8px; align-content: start; }
.site-foot .foot-col a { color: #d6d4cb; font-size: .875rem; }
.site-foot .foot-col a:hover { color: #fff; }
.site-foot .foot-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.site-foot .foot-badges span {
    font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em;
    border: 1px solid #2a2c27; border-radius: 999px; padding: 4px 9px; color: #a6a79e;
}
.site-foot .foot-bottom {
    border-top: 1px solid #232520; margin-top: 40px; padding-top: 18px;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    color: #83847b; font-size: .78rem;
}
.site-foot .mono { letter-spacing: .02em; }

.flash-stack { padding-top: 16px; }

@media (max-width: 920px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-login { display: none; }
    .site-foot .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .site-foot .foot-top { grid-template-columns: 1fr; }
    .site-foot { padding-top: 40px; }
}

/* ---------- Halaman akun: masuk & daftar ---------- */
.btn-dark { background: #111310; border-color: #111310; color: #fff; box-shadow: 0 2px 0 #000; }
.btn-dark:hover { background: #23261f; border-color: #23261f; color: #fff; }
.auth-split {
    display: grid; grid-template-columns: .92fr 1.08fr;
    min-height: calc(100vh - 68px); border-bottom: 1px solid var(--line);
}
.auth-aside {
    position: relative; overflow: hidden; background: #0b0c0d; color: #f2f0e7;
    padding: 54px 46px; display: flex; flex-direction: column; gap: 32px; justify-content: space-between;
}
.auth-aside::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 72px 72px; mask-image: radial-gradient(90% 80% at 30% 20%, #000, transparent 80%);
    pointer-events: none;
}
.auth-aside::after {
    content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -200px;
    background: radial-gradient(closest-side, rgba(201,242,92,.18), transparent 70%); pointer-events: none;
}
.auth-aside > * { position: relative; }
.auth-kicker { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.auth-aside h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.04; letter-spacing: -.045em; color: #f7f5ec; margin: 14px 0 14px; }
.auth-aside p { color: #a9aba1; font-size: .9375rem; line-height: 1.65; max-width: 34ch; margin: 0; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .8125rem; color: #c8cabf; }
.auth-points li { padding-left: 20px; position: relative; }
.auth-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--lime); }
.auth-art { display: flex; align-items: flex-end; gap: 18px; }
.auth-art-receipt {
    width: 168px; background: #fff; color: #111; padding: 14px; font-family: var(--font-mono); font-size: 8px;
    transform: rotate(-3deg); box-shadow: 0 24px 40px -22px rgba(0,0,0,.9);
    clip-path: polygon(0 0,100% 0,100% 96%,94% 100%,88% 96%,82% 100%,76% 96%,70% 100%,64% 96%,58% 100%,52% 96%,46% 100%,40% 96%,34% 100%,28% 96%,22% 100%,16% 96%,10% 100%,4% 96%,0 100%);
}
.auth-art-receipt b { display: block; text-align: center; font-size: 9px; letter-spacing: .04em; }
.auth-art-receipt i { display: block; border-top: 1px dashed #b5b0a2; margin: 6px 0; }
.auth-art-receipt em { font-style: normal; display: flex; justify-content: space-between; margin-bottom: 3px; }
.auth-art-receipt strong { display: flex; justify-content: space-between; font-size: 10px; margin-top: 5px; }
.auth-art-bars { display: flex; gap: 5px; align-items: flex-end; height: 74px; }
.auth-art-bars i { width: 8px; background: var(--lime); opacity: .85; }
.auth-art-bars i:nth-child(1) { height: 30%; } .auth-art-bars i:nth-child(2) { height: 52%; }
.auth-art-bars i:nth-child(3) { height: 40%; } .auth-art-bars i:nth-child(4) { height: 76%; }
.auth-art-bars i:nth-child(5) { height: 60%; } .auth-art-bars i:nth-child(6) { height: 92%; }
.auth-main { display: grid; place-items: center; align-content: center; gap: 14px; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 420px; padding: 30px; background: var(--card); }
.auth-main .auth-card.wide { max-width: 580px; }
.auth-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.auth-mark svg { display: block; }
.auth-card h1 { font-size: 1.5rem; margin: 0 0 4px; letter-spacing: -.04em; }
.auth-card .muted { color: var(--muted); }
.auth-legal { font-size: .75rem; color: var(--muted); text-align: center; max-width: 34em; margin: 0; }
.auth-legal a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.signup-google-box { background: #f7f4ea; border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.signup-google-box p { margin: 0; }
.signup-or { margin: 16px 0; }
.plan-pick { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; background: #fffefb; }
.plan-pick:hover { border-color: var(--line-strong); }
.plan-pick:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan-pick input { margin-top: 2px; accent-color: #24330f; }
.mode-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mode-pick label { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; cursor: pointer; display: flex; gap: 9px; align-items: flex-start; background: #fffefb; font-size: .8125rem; }
.mode-pick label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mode-pick input { margin-top: 2px; accent-color: #24330f; }
.mode-pick b { display: block; font-size: .8125rem; }
.mode-pick small { color: var(--muted); font-size: .6875rem; line-height: 1.4; display: block; }
.auth-card .input-group .input { border-radius: 8px 0 0 8px; }
.auth-card .input-group .suffix { border-radius: 0 8px 8px 0; }

@media (max-width: 900px) {
    .auth-split { grid-template-columns: 1fr; min-height: 0; }
    .auth-aside { padding: 28px 22px; gap: 18px; }
    .auth-aside h2 { font-size: 1.55rem; margin: 8px 0; }
    .auth-aside p { max-width: none; }
    .auth-points, .auth-art { display: none; }
    .auth-main { padding: 30px 18px 46px; }
}
@media (max-width: 560px) {
    .mode-pick { grid-template-columns: 1fr; }
    .auth-card { padding: 22px; }
}

/* Selaraskan komponen dashboard dengan tema baru */
.chip { background: #edf4dc; color: #354a17; }
.badge-info { background: #edf4dc; color: #354a17; }
.badge-muted { background: #efebe0; }
.trialbar { background: #e9e5d8; }
.trialbar > i { background: linear-gradient(90deg, #55672f, #c9f25c); }
.plan-card.current { background: #fbfaf3; box-shadow: 0 18px 30px -26px rgba(36, 51, 15, .55); }
.feat-ico { background: #edf4dc; color: #354a17; }
.feat-item { background: #fffdf7; }
.feat-item.locked { background: #f7f4ea; }
.seg { background: #fffdf7; }
.card-pad { padding: 22px; }

/* Pemilih bahasa publik (ID bawaan, EN opsional). */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a {
    font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .08em;
    padding: 3px 7px; border-radius: 999px; color: var(--muted); line-height: 1;
}
.lang-switch a:hover { color: var(--ink); text-decoration: none; }
.lang-switch a.is-on { background: #111310; color: #f4f1e8; }
.lang-switch-panel { display: flex; width: 100%; margin-bottom: 10px; }
.lang-switch-panel a { flex: 1; text-align: center; padding: 7px 8px; font-size: .625rem; }
@media (max-width: 920px) { .nav-actions .lang-switch { display: none; } }

/* Kartu penjelasan alamat & login di dashboard pemilik. */
.addr-guide { border-left: 4px solid #c9f25c; }
.addr-guide-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px; margin-top: 14px;
}
.addr-guide-item {
    background: var(--surface-2, #f7f5ec); border: 1px solid var(--line);
    border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 5px; min-width: 0;
}
.addr-guide-kicker {
    font-family: var(--font-mono, ui-monospace, monospace); font-size: .5625rem;
    letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.addr-guide-store { font-size: .875rem; letter-spacing: -.01em; }
.addr-guide-url { font-size: .9375rem; font-weight: 650; word-break: break-word; }
.addr-guide-item p { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.addr-guide-domain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 4px; }
.addr-guide-link { font-size: .75rem; font-weight: 600; }
.addr-guide-note {
    margin: 14px 0 0; font-size: .8125rem; line-height: 1.6; color: var(--ink-soft);
    border-top: 1px dashed var(--line); padding-top: 12px;
}
@media (max-width: 560px) {
    .addr-guide-grid { grid-template-columns: 1fr; }
}
