:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --brand: #2454f4;
  --brand-ink: #1a3fc4;
  --brand-soft: #eaf0ff;
  --ok: #0f9f6e;
  --ok-soft: #e7f7f0;
  --warn: #b45309;
  --warn-soft: #fff7e6;
  --err: #d92d20;
  --err-soft: #fdecea;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img, svg { display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #3b6cff, #1a3fc4); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px -6px rgba(36,84,244,.7); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 11px 18px; font: 700 15px/1 var(--font); cursor: pointer; transition: background .15s, transform .05s, box-shadow .15s; text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(36,84,244,.9); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-primary[disabled] { background: #9db0f5; box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { padding: 8px 12px; font-size: 13.5px; border-radius: 8px; }
.btn-block { width: 100%; padding: 16px 18px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 500px at 85% -10%, #e3eaff 0%, rgba(227,234,255,0) 60%), radial-gradient(800px 400px at -10% 10%, #eef9f5 0%, rgba(238,249,245,0) 60%), var(--bg); padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 32px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl { color: var(--brand); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 540px; margin-bottom: 28px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.checks svg { flex: none; margin-top: 2px; color: var(--ok); }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); max-width: 540px; }
.hero-stats b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats span { font-size: 13.5px; color: var(--muted); }

/* ---------- Card / Form ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.order-card { padding: 28px; }
@media (max-width: 480px) { .order-card { padding: 20px; } }
.order-card h2 { font-size: 22px; margin-bottom: 4px; }
.order-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.step-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 12px; }
.step-label:first-of-type { margin-top: 0; }
.step-label .n { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; letter-spacing: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.input { width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font: 500 15.5px var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: #94a3b8; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(36,84,244,.14); }
.field.has-error .input { border-color: var(--err); }
.field .error { display: none; color: var(--err); font-size: 13px; margin-top: 6px; font-weight: 500; }
.field.has-error .error { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }
.input-group { position: relative; }
.input-group .suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; font-size: 14px; pointer-events: none; }
.input-group .input { padding-right: 56px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 12px; font: 600 13px var(--font); color: var(--ink-2); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); }

.summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 18px 0 6px; }
.summary .line { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding: 3px 0; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line-2); margin-top: 10px; padding-top: 12px; }
.summary .total span { font-weight: 700; }
.summary .total b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }

.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; margin: 16px 0; }
.notice svg { flex: none; margin-top: 1px; }
.notice-warn { background: var(--warn-soft); color: #7a3e06; border: 1px solid #fde3b0; }
.notice-info { background: var(--brand-soft); color: #1d3a9e; border: 1px solid #d3defd; }
.notice-err { background: var(--err-soft); color: #9a1c12; border: 1px solid #f8c9c4; }
.notice b { font-weight: 700; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 12px 0 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.check.has-error { color: var(--err); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.turnstile-wrap { margin: 4px 0 14px; min-height: 0; }
.form-error { display: none; }
.form-error.show { display: flex; }

.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker { font-size: 13px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.step .num { font-size: 12.5px; font-weight: 800; color: var(--muted); letter-spacing: .06em; margin-bottom: 6px; }
.step h3 { font-size: 19px; }
.step p { color: var(--ink-2); margin: 0; font-size: 15px; }

.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pricing { grid-template-columns: 1fr; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan .qty { font-size: 14px; font-weight: 700; color: var(--muted); }
.plan .qty b { display: block; font-size: 26px; color: var(--ink); letter-spacing: -0.02em; }
.plan .price { font-size: 30px; font-weight: 800; margin: 14px 0 4px; letter-spacing: -0.02em; }
.plan .per { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 24px; }

.important { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid #fde3b0; border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.important .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--warn-soft); color: var(--warn); display: grid; place-items: center; }
.important h3 { font-size: 21px; }
.important p { color: var(--ink-2); margin-bottom: .6em; }
.important p:last-child { margin: 0; }
@media (max-width: 600px) { .important { grid-template-columns: 1fr; padding: 24px; } }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 500; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

.cta { background: var(--ink); color: #fff; border-radius: 22px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: 30px; margin-bottom: 6px; }
.cta p { color: #cbd5e1; margin: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--muted); }
.footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--ink-2); font-weight: 500; }

/* ---------- Simple pages ---------- */
.page { padding: 56px 0 80px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: 36px; font-weight: 800; }
.prose h2 { font-size: 21px; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--muted); font-size: 14px; }

.result { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 32px; }
.result .badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }
.result .badge.ok { background: var(--ok-soft); color: var(--ok); }
.result .badge.err { background: var(--err-soft); color: var(--err); }
.result .badge.wait { background: var(--brand-soft); color: var(--brand); }
.result h1 { font-size: 28px; font-weight: 800; }
.result > p { color: var(--ink-2); }
.receipt { text-align: left; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 6px 18px; margin: 24px 0; }
.receipt div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.receipt div:last-child { border-bottom: 0; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 700; text-align: right; word-break: break-all; }
.result .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.big-spinner { width: 34px; height: 34px; border: 3px solid #cfdafd; border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }

/* pembetulan */
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.hero-stats b span { font-size: inherit; color: inherit; display: inline; }

/* ---------- Slot / kapasiti ---------- */
.avail { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ok); background: var(--ok-soft); border: 1px solid #c6ecdb; padding: 5px 11px; border-radius: 999px; }
.avail .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(15,159,110,.18); }
.avail.low { color: var(--warn); background: var(--warn-soft); border-color: #fde3b0; }
.avail.low .dot { background: var(--warn); box-shadow: 0 0 0 3px rgba(180,83,9,.18); }
.chip[disabled] { opacity: .4; cursor: not-allowed; border-color: var(--line); color: var(--muted); background: #fff; }
.plan .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.closed { text-align: center; padding: 20px 6px 8px; }
.closed-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); display: grid; place-items: center; margin: 0 auto 16px; }
.closed h3 { font-size: 20px; }
.closed p { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }
[hidden] { display: none !important; }

/* ---------- Hubungi kami ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info .kicker { font-size: 13px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.contact-info h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; }
.contact-info p { color: var(--ink-2); font-size: 16.5px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ci { width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-list small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 700; color: var(--ink); word-break: break-all; }
.contact-card { padding: 28px; }
@media (max-width: 480px) { .contact-card { padding: 20px; } }
.contact-card textarea.input { resize: vertical; min-height: 120px; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.opt { color: var(--muted); font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { text-align: center; padding: 24px 8px; }
.contact-done .badge-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.contact-done h3 { font-size: 21px; }
.contact-done p { color: var(--ink-2); }

/* ---------- Voucher ---------- */
.link-btn { border: 0; background: none; padding: 0; font: 700 14px var(--font); color: var(--brand); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.link-btn:hover { text-decoration: underline; }
.voucher-field { margin-top: 4px; }
.voucher-row { display: flex; gap: 8px; }
.voucher-row .input { text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.voucher-row .input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.voucher-row .btn { flex: none; }
.voucher-ok { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--ok-soft); border: 1px solid #c6ecdb; color: #0a7a55; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.voucher-ok > span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.voucher-ok .link-btn { color: #0a7a55; font-size: 13px; }
.summary .discount { color: var(--ok); font-weight: 700; }

/* ---------- Kaunter hiasan ---------- */
.counter-band { padding: 48px 0 52px; background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counter-card { text-align: center; }
.counter-digits { display: flex; justify-content: center; align-items: flex-end; gap: 6px; flex-wrap: nowrap; }
.cd { position: relative; width: clamp(24px, 5.2vw, 58px); height: clamp(38px, 7.6vw, 84px); background: #0b1220; color: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px rgba(11,18,32,.18), inset 0 -2px 0 rgba(255,255,255,.06); }
.cd::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.08); }
.cd span { position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(20px, 4.6vw, 52px)/1 var(--font); font-variant-numeric: tabular-nums; transition: transform .18s cubic-bezier(.2,.8,.2,1), opacity .18s; }
.cd span.out { transform: translateY(-100%); opacity: 0; }
.cd span.in { transform: translateY(100%); opacity: 0; }
.cd-sep { font: 800 clamp(20px, 4.6vw, 52px)/1 var(--font); color: #0b1220; padding-bottom: 4px; }
.counter-slogan { margin-top: 18px; font-size: 18px; color: var(--ink-2); font-weight: 700; letter-spacing: -.01em; }
@media (max-width: 520px) { .counter-digits { gap: 3px; } .cd { border-radius: 7px; } }
@media (prefers-reduced-motion: reduce) { .cd span { transition: none; } }
.counter-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #fff; background: #e11d2e; padding: 5px 12px 5px 10px; border-radius: 6px; margin-bottom: 18px; box-shadow: 0 4px 14px rgba(225,29,46,.35); text-transform: uppercase; }
.counter-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: kk-blink 1.2s ease-in-out infinite; }
@keyframes kk-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .counter-live .dot { animation: none; } }
/* Kaunter di bawah header (saiz digit sama) */
.counter-top { border-top: 0; background: linear-gradient(180deg, #eef3ff 0%, #f8faff 100%); }
/* Maklumat syarikat di footer */
.foot-info { line-height: 1.7; max-width: 680px; }
.foot-info b { color: var(--ink-2); font-weight: 700; }
.footer .container:has(.foot-info) { align-items: flex-start; }
