/* Zass – gaya laman web  · © 2026 DewaSakira */
:root {
  --green: #157347;
  --green-dark: #0E5434;
  --ink: #0F1F1A;
  --muted: #4A5A54;
  --line: #DCE3DD;
  --line-strong: #BFCBC3;
  --soft: #E3F1E8;
  --paper: #F5F7F2;
  --white: #FFFFFF;
  --warn-bg: #FCEBDD;
  --warn: #8A3A06;
  --amber-bg: #FFF4D6;
  --amber: #7A4E00;
  --radius: 14px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 2px; }

/* Butang */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Pengepala */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a.link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a.link[aria-current="page"] { color: var(--green); border-bottom: 2px solid var(--green); }
.lang { display: inline-flex; background: #E6ECE7; border-radius: 10px; padding: 3px; gap: 2px; }
.lang button { min-width: 44px; height: 38px; border: 0; border-radius: 8px; background: transparent; font: 600 13px var(--font); color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--ink); font-weight: 700; }
@media (max-width: 760px) {
  .nav .link { display: none; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.hero-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; background: var(--soft); color: var(--green-dark); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.hero h1 { margin: 0; font-size: clamp(38px, 6vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -2px; }
.hero p.lead { margin: 0; font-size: 19px; color: var(--muted); max-width: 560px; }
.row-wrap { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--muted); margin: 0; }
.hero-visual { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }

/* Telefon tiruan */
.phone { width: 300px; background: var(--ink); border-radius: 40px; padding: 14px; }
.phone-screen { background: var(--paper); border-radius: 28px; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.phone-score { background: var(--ink); color: var(--white); border-radius: 18px; padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.phone-score b { font: 700 30px var(--mono); }
.phone-score b small { font-size: 16px; color: #A9B8B1; }
.mini-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.mini-grid span { height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font: 700 12px var(--mono); background: var(--soft); border: 1.5px solid var(--green); color: var(--green-dark); }
.mini-grid span.x { background: var(--warn-bg); border-color: #B54708; color: var(--warn); }
.phone-btn { height: 44px; border-radius: 12px; background: var(--green); color: var(--white); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Bahagian */
section.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 40px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--green); letter-spacing: .5px; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -1px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.step { background: var(--paper); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step .num { font: 700 15px var(--mono); color: var(--green); }
.step h3, .feat h3 { margin: 0; font-size: 20px; font-weight: 800; }
.step p, .feat p { margin: 0; color: var(--muted); }
.feat { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; gap: 16px; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); flex: none; display: flex; align-items: center; justify-content: center; }

/* Harga */
.pricing { background: var(--ink); color: var(--white); }
.pricing .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pricing .eyebrow { color: #7EE2A8; }
.pricing-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pricing-text h2 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.flow { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.flow li { display: flex; gap: 14px; color: #CFE0D7; font-size: 16px; }
.flow li span { font: 700 14px var(--mono); color: #7EE2A8; width: 28px; flex: none; }
.price-card { flex: 1 1 340px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-big { font-size: 48px; font-weight: 800; letter-spacing: -1px; }
.price-old { font-size: 20px; color: var(--muted); text-decoration: line-through; }
.checks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.input, select.input, textarea.input { min-height: 50px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0 14px; font: 15px var(--font); color: var(--ink); background: var(--white); width: 100%; }
textarea.input { padding: 12px 14px; min-height: 96px; resize: vertical; }
.input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(21,115,71,.18); }
.msg { font-size: 14px; border-radius: 10px; padding: 10px 12px; }
.msg.err { background: var(--warn-bg); color: var(--warn); }
.msg.ok { background: var(--soft); color: var(--green-dark); }

/* Soalan lazim */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Kaki */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* Halaman borang */
.form-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.panel.grow { flex: 999 1 420px; min-width: 0; }
.set-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.set-choice button { min-height: 76px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); font-family: var(--font); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px; }
.set-choice button b { font-size: 18px; font-weight: 800; }
.set-choice button span { font-size: 12px; color: var(--muted); }
.set-choice button[aria-pressed="true"] { border-color: var(--green); background: var(--soft); }
.grid-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.note-bar { background: var(--soft); color: var(--green-dark); border-radius: 14px; padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.preview-col { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.preview-col canvas { width: 320px; max-width: 100%; background: var(--white); border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgba(15,31,26,.12); }

/* Halaman tengah (berjaya / log masuk) */
.page-center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; width: 100%; }
.card.narrow { max-width: 560px; }
.card h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.card .lead { margin: 0; color: var(--muted); font-size: 17px; }
.keybox { background: var(--paper); border: 1px dashed var(--line-strong); border-radius: 16px; padding: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.keybox .label { width: 100%; font-size: 13px; font-weight: 700; color: var(--muted); }
.keybox code { font: 700 22px var(--mono); letter-spacing: 1px; flex: 1; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
