/* Jaringan Perniagaan Malaysia — gaya laman awam, akaun klien & panel admin. Warna ikut logo JPM (biru + emas). Mudah alih dahulu. */
:root {
  --brand: #0d3b8f; --brand-d: #092c6b; --brand-soft: #e8eefb; --gold: #f0b81c; --gold-d: #d39e0b; --night: #050b1a;
  --ink: #141b2b; --ink-2: #39435a; --muted: #687188; --line: #e1e6f0; --bg: #f5f7fb; --card: #fff;
  --ok: #16794a; --ok-soft: #e3f4ea; --warn: #9a6200; --warn-soft: #fdf1d8; --info: #1d5fa8; --info-soft: #e5effa;
  --danger: #b42318; --danger-soft: #fdecea; --radius: 14px; --shadow: 0 1px 2px rgba(10, 20, 45, .06), 0 6px 20px rgba(10, 20, 45, .06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.center { text-align: center; } .muted { color: var(--muted); } .small { font-size: .875rem; } .mt { margin-top: 24px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.big { font-size: 1.25rem; } .break { word-break: break-all; } .inline { display: inline; margin: 0; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* butang */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border: 1px solid var(--brand); border-radius: 999px;
  background: var(--brand); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; white-space: nowrap; }
.btn:hover { background: var(--brand-d); } .btn:active { transform: translateY(1px); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .9rem; } .btn-xs { min-height: 30px; padding: 0 10px; font-size: .8rem; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1.05rem; } .btn-block { display: flex; width: 100%; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); } .btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-danger { color: var(--danger); } .btn-danger:hover { background: var(--danger-soft); border-color: var(--danger); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1c1503; } .btn-gold:hover { background: var(--gold-d); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); } .btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-wa { background: #1fa855; border-color: #1fa855; } .btn-wa:hover { background: #178a45; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
form.is-busy button[type=submit] { opacity: .65; pointer-events: none; }

/* lencana & makluman */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.badge-ok { background: var(--ok-soft); color: var(--ok); } .badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-info { background: var(--info-soft); color: var(--info); } .badge-brand { background: var(--brand-soft); color: var(--brand); }
.badge-muted { background: #eef1f6; color: var(--muted); }
.alert { padding: 12px 16px; border-radius: 12px; margin: 16px 0; font-weight: 600; }
.alert-ok { background: var(--ok-soft); color: var(--ok); } .alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--info-soft); color: var(--info); font-weight: 500; }

/* kad & grid */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.grid-2, .grid-3 { display: grid; gap: 16px; } .grid-2 > .card, .grid-3 > .card { margin-bottom: 0; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 8px 0 16px; }
.page-head h1 { margin: 0 0 4px; } .page-head p { margin: 0; }
.back { text-decoration: none; font-weight: 600; font-size: .95rem; }

/* borang */
.form .field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.form label, .form .label { font-weight: 600; font-size: .92rem; }
.field-row { display: grid; gap: 0 14px; } @media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.three { grid-template-columns: 1fr 1fr 1fr; } }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd6e4; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
input[type=file] { padding: 8px; min-height: 0; background: var(--bg); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; accent-color: var(--brand); flex: none; }
.upper { text-transform: uppercase; }
.hint { color: var(--muted); font-size: .84rem; font-weight: 400; }
.err { color: var(--danger); font-size: .85rem; font-weight: 600; display: block; }
.check, .radio { display: flex; align-items: flex-start; gap: 10px; font-weight: 500 !important; margin: 4px 0 10px; cursor: pointer; }
.auth { padding-top: 24px; padding-bottom: 32px; } .auth .card { padding: 26px; } .auth h1 { font-size: 1.45rem; }

/* pilihan perkhidmatan */
.svc-grid { display: grid; gap: 10px; } @media (min-width: 560px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.svc:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.svc b { display: block; } .svc small { color: var(--muted); } .svc input { margin-top: 3px; }
.svc-tt { margin-top: 10px; border-style: dashed; }
.tt-fields { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--bg); }

/* kepala & kaki laman */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(5, 11, 26, .97); border-bottom: 1px solid rgba(240, 184, 28, .18); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.site-head .brand { color: #fff; }
.site-head .nav-link { color: #cdd6ea; } .site-head .nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.site-head .btn { background: var(--gold); border-color: var(--gold); color: #1a1302; } .site-head .btn:hover { background: var(--gold-d); }
.brand-mark { flex: none; height: 44px; width: auto; border-radius: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; min-width: 0; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
.brand-name small { display: block; font-weight: 500; font-size: .75rem; opacity: .8; }
.brand-ini { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: #fff; font-size: .9rem; letter-spacing: .02em; }
.brand-logo { flex: none; width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-link { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.nav-link:hover { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 560px) { .brand-name { font-size: .92rem; max-width: 150px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .nav-link { padding: 8px 6px; font-size: .88rem; } .nav .btn-sm { padding: 0 12px; } }
.site-main { min-height: 60vh; padding-bottom: 32px; }
.site-foot { background: var(--night); color: #cdd6ea; padding: 28px 0 18px; }
.site-foot a { color: #fff; } .site-foot .muted { color: #8f9bb8; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; } .foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-credit { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #8f9bb8; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }

/* laman utama */
.hero { background: radial-gradient(760px 420px at 85% 15%, rgba(240, 184, 28, .20), transparent 62%), radial-gradient(700px 460px at 0% 100%, rgba(13, 59, 143, .10), transparent 62%), linear-gradient(180deg, #ffffff, #eef3fc); color: var(--ink); padding: 36px 0 44px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 28px; align-items: center; } @media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr .85fr; padding-top: 18px; padding-bottom: 18px; } }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: #b07d04; margin-bottom: 10px; }
.hero h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); margin-bottom: 14px; color: var(--brand-d); }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 40em; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--ink-2); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: #b07d04; font-weight: 800; margin-right: 8px; }
.hero-card { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 18px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.hc-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; } .hc-row + .hc-row { border-top: 1px solid var(--line); }
.hc-row > div { flex: 1; min-width: 0; } .hc-row small { display: block; color: var(--muted); font-size: .8rem; }
.hc-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); font-size: 1.2rem; flex: none; }
.hc-done { background: var(--ok-soft); }
.section { padding: 44px 0; } .section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { text-align: center; font-size: 1.5rem; margin-bottom: 22px; }
.feature .f-ic { font-size: 1.8rem; display: block; margin-bottom: 8px; } .feature p { color: var(--ink-2); margin: 0; }
.tag { font-size: .7rem; background: var(--warn-soft); color: var(--warn); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; } @media (min-width: 760px) { .steps-list { grid-template-columns: repeat(4, 1fr); } }
.steps-list li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.steps-list li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 8px; }
.steps-list b { display: block; } .steps-list span { color: var(--ink-2); font-size: .93rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; } .faq p { color: var(--ink-2); }
.prose { padding-top: 16px; } .prose h2 { margin-top: 1.4em; } .prose ul { padding-left: 20px; }

/* akaun klien */
.app-list { display: grid; gap: 12px; } @media (min-width: 760px) { .app-list { grid-template-columns: 1fr 1fr; } }
.app-card { display: block; color: inherit; text-decoration: none; margin: 0; transition: border-color .15s, transform .1s; }
.app-card:hover { border-color: var(--brand); }
.app-card-top, .app-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-card-main { margin: 10px 0; } .app-card-main span { display: block; color: var(--ink-2); }
.ref { font-weight: 800; color: var(--muted); font-size: .85rem; letter-spacing: .04em; }
.plate { font-size: 1.25rem; letter-spacing: .04em; }
.pay-now { font-weight: 800; color: var(--warn); }
.empty-card { text-align: center; padding: 36px 20px; } .empty-card .big { font-size: 2.4rem; margin: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.progress { list-style: none; display: flex; padding: 0; margin: 0 0 8px; counter-reset: p; }
.progress li { flex: 1; text-align: center; font-size: .72rem; color: var(--muted); position: relative; counter-increment: p; padding-top: 34px; }
.progress li::before { content: counter(p); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e3e8f2; color: var(--muted); font-weight: 800; z-index: 1; }
.progress li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: #e3e8f2; } .progress li:first-child::after { display: none; }
.progress li.done::before { content: "✓"; background: var(--brand); color: #fff; } .progress li.done::after, .progress li.now::after { background: var(--brand); }
.progress li.now::before { background: var(--gold); color: #1c1503; } .progress li.now { color: var(--ink); font-weight: 700; }
.status-msg { font-weight: 600; color: var(--ink-2); }
.tbl { width: 100%; border-collapse: collapse; font-size: .94rem; }
.tbl th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; } .tbl .n { text-align: right; white-space: nowrap; }
.tbl.quote td { padding: 9px 4px; } .tbl tr.total td { font-weight: 800; font-size: 1.05rem; border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pay .amount { font-size: 1.2rem; color: var(--brand); }
.pay-grid { display: grid; gap: 16px; align-items: start; margin-bottom: 12px; } @media (min-width: 600px) { .pay-grid { grid-template-columns: auto 1fr; } }
.qr { margin: 0; text-align: center; } .qr img { width: 210px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; } .qr figcaption { font-size: .82rem; color: var(--muted); }
.bank { background: var(--bg); padding: 14px; border-radius: 12px; }
.upload-form { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.file-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.file-list.big li { padding: 14px; } .doc-ic { font-size: 1.3rem; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.timeline li { padding-left: 14px; border-left: 3px solid var(--brand-soft); } .timeline .t-when { display: block; font-size: .78rem; color: var(--muted); }

/* panel admin */
.is-admin { background: #f2f4f8; }
.admin-head { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 20; }
.admin-head .brand { color: #fff; } .admin-head .brand-ini { background: var(--gold); color: #1c1503; }
.admin-head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.admin-nav { display: flex; gap: 2px; overflow-x: auto; max-width: 100%; }
.admin-nav a, .admin-nav button { color: #cdd6ea; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.admin-nav a:hover, .admin-nav button:hover { background: rgba(255, 255, 255, .1); color: #fff; } .admin-nav a.on { background: rgba(255, 255, 255, .16); color: #fff; }
.count { background: var(--gold); color: #1c1503; border-radius: 999px; padding: 1px 7px; font-size: .75rem; margin-left: 2px; }
.count-sm { color: var(--muted); font-size: .8rem; font-weight: 600; }
.admin-main { padding-top: 20px; padding-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 14px; color: inherit; text-decoration: none; box-shadow: var(--shadow); }
.stat span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; } .stat b { display: block; font-size: 1.6rem; margin: 2px 0; } .stat small { color: var(--muted); }
.stat.warn { border-left-color: var(--gold); } .stat.ok { border-left-color: var(--ok); } a.stat:hover { border-color: var(--brand); }
.checklist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; } .checklist li.ok { color: var(--muted); }
.tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 2px; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; white-space: nowrap; background: #fff; border: 1px solid var(--line); }
.tabs a.on { background: var(--brand); color: #fff; border-color: var(--brand); } .tabs a.on .count-sm { color: #d5ddf0; }
.search { display: flex; gap: 8px; width: 100%; max-width: 460px; } .search input { min-height: 38px; }
.tbl tr.row-link { cursor: pointer; } .tbl tr.row-link:hover td { background: #f6f8fd; } .tbl tr.is-off td { opacity: .6; }
.admin-grid { display: grid; gap: 16px; } @media (min-width: 980px) { .admin-grid { grid-template-columns: 1fr 340px; align-items: start; } }
.quote-rows { display: grid; gap: 8px; margin-bottom: 10px; }
.quote-row { display: grid; grid-template-columns: 1fr 120px auto; gap: 8px; align-items: center; }
.quote-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.05rem; }
.receipts li { display: block; } .receipt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.reject { display: flex; gap: 6px; flex: 1; min-width: 240px; } .reject input { min-height: 36px; }
.stack { display: grid; gap: 8px; } .stack form { margin: 0; }
.note-box { background: var(--warn-soft); padding: 10px 12px; border-radius: 10px; font-size: .92rem; }
.thumb-row { display: flex; align-items: center; gap: 12px; } .thumb { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.howto { padding-left: 18px; color: var(--ink-2); }
.reset-box { border-color: var(--gold); background: #fffaf0; }
.actions { white-space: nowrap; } .actions form + form { margin-left: 4px; }
@media (max-width: 600px) { .card { padding: 16px; } .quote-row { grid-template-columns: 1fr 96px auto; } h1 { font-size: 1.35rem; } }

/* logo JPM */
.hero-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(13, 59, 143, .18)); }
.site-foot b { color: #fff; }
@media (max-width: 560px) { .site-head .brand-name { display: none; } .brand-mark { height: 40px; } }

/* ===================== Reka bentuk v2 (17/10/2026): laman utama lebih kaya + dashboard admin ===================== */
.ic { flex: none; vertical-align: middle; }
.ic-blue { background: #e7efff; color: #1d4fc4; } .ic-navy { background: #e6ebf7; color: var(--brand); } .ic-gold { background: #fff4d6; color: #a87400; }
.ic-green { background: var(--ok-soft); color: var(--ok); } .ic-amber { background: #fff1e0; color: #b45309; }

/* kepala laman */
.nav-wide { display: none; } @media (min-width: 980px) { .nav-wide { display: inline-block; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 64px; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 120%; background: radial-gradient(closest-side, rgba(13, 59, 143, .09), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; background: url("/assets/img/gelombang.svg") center bottom / 100% 100% no-repeat; }
.hero-in { position: relative; z-index: 1; }
.kicker { display: inline-flex; align-items: center; gap: 6px; background: #fff7df; border: 1px solid #f6dc8b; padding: 5px 12px; border-radius: 999px; }
.hl { background: linear-gradient(transparent 62%, rgba(240, 184, 28, .45) 62%); padding: 0 4px; }
.trust { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.trust li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: .92rem; color: var(--brand-d); box-shadow: 0 1px 2px rgba(10, 20, 45, .04); }
.trust li .ic { color: #b07d04; }
.hero-visual { position: relative; padding-bottom: 140px; }
.hero-logo { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(13, 59, 143, .18)); }
.float-card { position: absolute; left: 0; bottom: 0; width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: 0 20px 40px rgba(10, 20, 45, .14); }
.fc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .fc-ref { font-size: .75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fc-plate { display: flex; align-items: center; gap: 8px; color: var(--brand-d); } .fc-plate span { color: var(--muted); font-size: .85rem; }
.fc-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 12px 0 10px; } .fc-steps li { flex: 1; height: 6px; border-radius: 99px; background: #e3e8f2; } .fc-steps li.done { background: linear-gradient(90deg, var(--brand), #2a64d6); }
.fc-doc { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ok); font-weight: 700; }
@media (max-width: 899px) { .hero-visual { padding-bottom: 0; } .float-card { position: relative; width: auto; max-width: 360px; margin: -10px auto 0; } .hero-logo { max-width: 420px; } }

/* tajuk seksyen */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 30px; } .sec-head.left { text-align: left; margin: 0 0 20px; }
.sec-head h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); color: var(--brand-d); margin-bottom: 8px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #b07d04; margin-bottom: 8px; }
.section { padding: 64px 0; } .section-alt { background: #fff; }

/* kad perkhidmatan */
.svc-cards { display: grid; gap: 18px; } @media (min-width: 860px) { .svc-cards { grid-template-columns: repeat(3, 1fr); } }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10, 20, 45, .12); }
.svc-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 16px; }
.svc-card h3 { font-size: 1.2rem; color: var(--brand-d); margin: 0 0 8px; } .svc-card p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; } .ticks li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .94rem; } .ticks .ic { color: var(--ok); }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; color: var(--brand); transition: gap .15s; }
.svc-link:hover { gap: 10px; }
.svc-feature { border: 2px solid var(--gold); background: linear-gradient(180deg, #fffdf6, #fff); }
.ribbon { position: absolute; top: 18px; right: 18px; background: var(--gold); color: #1a1302; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }

/* jalur Tune Talk */
.band-tt { background: linear-gradient(120deg, #0a2a6b, #0d3b8f 55%, #123f9b); color: #fff; position: relative; overflow: hidden; }
.band-tt::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 184, 28, .35), transparent); }
.band-in { position: relative; z-index: 1; display: grid; gap: 18px; align-items: center; padding-top: 34px; padding-bottom: 34px; } @media (min-width: 860px) { .band-in { grid-template-columns: auto 1fr auto; } }
.band-tt h2 { margin: 0 0 6px; font-size: 1.35rem; } .band-tt p { margin: 0; color: #d5ddf0; }
.band-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: rgba(240, 184, 28, .16); color: var(--gold); border: 1px solid rgba(240, 184, 28, .4); }

/* kenapa JPM */
.why-grid { display: grid; gap: 16px; } @media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } } @media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.why h3 { font-size: 1.05rem; color: var(--brand-d); margin: 12px 0 6px; } .why p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.why-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), #2a64d6); color: #fff; }

/* garis masa cara memohon */
.timeline-h { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; position: relative; }
@media (min-width: 860px) { .timeline-h { grid-template-columns: repeat(4, 1fr); } .timeline-h::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 3px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); } }
.timeline-h li { position: relative; text-align: center; padding: 0 8px; } .timeline-h b { display: block; color: var(--brand-d); margin: 14px 0 4px; font-size: 1.05rem; } .timeline-h li > span:last-child { color: var(--ink-2); font-size: .93rem; }
.tl-ic { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: #fff; color: var(--brand); border: 3px solid var(--gold); box-shadow: 0 8px 20px rgba(10, 20, 45, .1); }

/* soalan lazim dua lajur */
.faq-grid { display: grid; gap: 24px; align-items: start; } @media (min-width: 900px) { .faq-grid { grid-template-columns: 1.6fr 1fr; } }
.section-alt .faq { background: var(--bg); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); } .faq[open] summary::after { content: "–"; }
.help-card { position: sticky; top: 84px; background: linear-gradient(160deg, #0a2a6b, #0d3b8f); color: #fff; border-radius: 20px; padding: 26px; display: grid; gap: 10px; }
.help-card h3 { margin: 6px 0 0; font-size: 1.25rem; } .help-card p { color: #d5ddf0; margin: 0 0 6px; }
.help-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(240, 184, 28, .18); color: var(--gold); }
.help-card .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); } .help-card .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* jalur ajakan */
.cta-band { background: radial-gradient(600px 300px at 90% 0%, rgba(240, 184, 28, .25), transparent 60%), linear-gradient(120deg, #050b1a, #0a2a6b); color: #fff; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 46px; padding-bottom: 46px; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 3vw, 1.8rem); } .cta-band p { margin: 0; color: #d5ddf0; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* kaki laman */
.site-foot { padding: 44px 0 18px; }
.foot-grid { display: grid; gap: 24px; } @media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-grid h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; } .foot-grid > div > a:not(.brand) { display: block; color: #cdd6ea; text-decoration: none; margin-bottom: 8px; font-size: .94rem; } .foot-grid > div > a:not(.brand):hover { color: var(--gold); }
.foot-brand .brand { color: #fff; margin-bottom: 12px; } .foot-brand p { font-size: .92rem; max-width: 34em; }

/* ===== dashboard admin ===== */
.dash-hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 20px; }
.dash-hello h1 { margin: 2px 0 4px; color: var(--brand-d); } .dash-hello p { margin: 0; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; } .quick .btn { min-height: 40px; padding: 0 16px; }
.stats4 { display: grid; gap: 14px; margin-bottom: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (min-width: 1000px) { .stats4 { grid-template-columns: repeat(4, 1fr); } }
.kpi { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; min-width: 0; }
a.kpi:hover { border-color: var(--brand); transform: translateY(-2px); }
.kpi-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.kpi > div { min-width: 0; } .kpi > div > span { display: block; font-size: .82rem; color: var(--muted); font-weight: 700; } .kpi b { display: block; font-size: 1.5rem; line-height: 1.2; color: var(--brand-d); overflow-wrap: anywhere; } .kpi small { color: var(--muted); font-size: .78rem; }
@media (max-width: 480px) { .kpi { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; } .kpi b { font-size: 1.3rem; } }
.dash-grid { display: grid; gap: 16px; align-items: start; } @media (min-width: 1000px) { .dash-grid { grid-template-columns: 1fr 340px; } } .dash-grid > .card { margin: 0; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 26px 10px; } .empty-state p { margin: 0; }
.es-ic { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); margin-bottom: 6px; }
progress.bar { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border: 0; border-radius: 99px; background: #e3e8f2; overflow: hidden; margin: 4px 0 14px; }
progress.bar::-webkit-progress-bar { background: #e3e8f2; border-radius: 99px; } progress.bar::-webkit-progress-value { background: linear-gradient(90deg, var(--gold), #f7cf5a); border-radius: 99px; }
progress.bar::-moz-progress-bar { background: linear-gradient(90deg, var(--gold), #f7cf5a); border-radius: 99px; }
.setup-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.setup-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; } .setup-list li a { margin-left: auto; font-size: .85rem; font-weight: 700; }
.setup-list li.ok span:not(.dot) { color: var(--muted); text-decoration: line-through; }
.dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfd6e4; color: #fff; flex: none; } .setup-list li.ok .dot { background: var(--ok); border-color: var(--ok); }

/* ===== Promosi poster + tawaran Tune Talk PERCUMA (17/10/2026) ===== */
.promo { padding-top: 54px; }
.promo-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .promo-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; } .promo-card { scroll-snap-align: start; } }
.promo-card { display: block; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(10, 20, 45, .12); transition: transform .15s, box-shadow .15s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(10, 20, 45, .18); }
.promo-card img { display: block; width: 100%; height: auto; }
.lightbox { padding: 0; border: 0; border-radius: 18px; max-width: min(92vw, 560px); max-height: 92vh; overflow: auto; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox::backdrop { background: rgba(5, 11, 26, .78); }
.lightbox img { display: block; width: 100%; height: auto; }
.lb-close { position: sticky; top: 8px; float: right; margin: 8px 8px -48px 0; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(5, 11, 26, .75); color: #fff; font-size: 1.1rem; cursor: pointer; }
.tt-note { margin: 12px 0 4px; padding: 10px 14px; border-radius: 12px; background: var(--info-soft); color: var(--info); font-weight: 600; font-size: .92rem; }
.tt-note.free { background: linear-gradient(90deg, #fff4d6, #fffaf0); color: #8a5a00; border: 1px solid #f6dc8b; }
.badge-free { background: var(--gold); color: #1a1302; }
.fine { display: block; margin-top: 10px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
