/* Landing korporat NadaPay (pratonton). docs/DESIGN-IDENTITI.md, bahagian "Landing korporat".
   Tiada JavaScript; tiada gaya sebaris (CSP style-src 'self').
   Sistem bentuk: butang & input 10px, kad 16px, gambar 12px, pil penuh. Satu aksen: teal = tindakan utama / bayaran sah. */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --navy: #0B1B2D;
  --navy-2: #12283F;
  --navy-line: rgba(255, 255, 255, .12);
  --on-navy: #F3F6F9;
  --on-navy-2: #B4C1CE;
  --canvas: #F4F6F9;
  --surface: #FFFFFF;
  --ink: #0E1C2B;
  --ink-2: #3B4A5A;
  --muted: #627080;
  --line: #E3E7EC;
  --line-2: #EDF0F3;
  --navy-soft: #EBF0F6;
  --teal: #08756C;
  --teal-soft: #E6F4F2;
  --amber: #8F5400;
  --amber-soft: #FFF2D9;
  --red: #B42318;
  --red-soft: #FCEBE9;
  --shadow: 0 1px 2px rgba(14, 28, 43, .05), 0 12px 32px -12px rgba(14, 28, 43, .16);
  --shadow-media: 0 24px 60px -24px rgba(3, 10, 20, .55);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #08121E;
    --navy-2: #102033;
    --canvas: #0D1620;
    --surface: #121C27;
    --ink: #E8EDF2;
    --ink-2: #B7C2CD;
    --muted: #8D9BAA;
    --line: #223040;
    --line-2: #1B2734;
    --navy-soft: #16273A;
    --teal: #4CC2B6;
    --teal-soft: #102B2A;
    --amber: #F2B24C;
    --amber-soft: #2A2113;
    --red: #F08A80;
    --red-soft: #2E1716;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: var(--surface); color: var(--ink); font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.num { font-feature-settings: "tnum" 1, "lnum" 1; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 10px 14px; border-radius: 10px; z-index: 30; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Butang (10px) */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn.primary:hover { background: #065F58; border-color: #065F58; }
/* [CHANGE 2026-10-01] what: lencana WhatsApp ikut contoh pemilik 09:00 (hijau WhatsApp terang, bulatan logo bertindih di kiri,
   kapsyen + nombor). why: hijau gelap #178046 ditolak. verify: pelayar 1440/390. Kontras teks putih atas gradien #2CB64A→#148A3C:
   kapsyen ~3.1, nombor ~3.8 (lulus 3:1 teks besar/tebal; kapsyen kecil di bawah 4.5, harga warna terang yang diminta). */
.wa-badge { position: relative; display: inline-flex; align-items: center; min-height: 60px; margin-left: 8px; padding: 8px 24px 8px 0; border-radius: 12px; background: linear-gradient(180deg, #2CB64A, #148A3C); color: #fff; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -8px rgba(20, 138, 60, .6); transition: filter .15s ease; }
.wa-badge:hover { filter: brightness(.93); }
.wa-badge:active { transform: translateY(1px); }
.wa-dot { width: 64px; height: 64px; margin: -10px 14px -10px -8px; border-radius: 50%; border: 3px solid #fff; background: linear-gradient(180deg, #3AC458, #17913F); display: grid; place-items: center; flex: none; box-shadow: 0 6px 14px -6px rgba(8, 60, 28, .55); }
.wa-dot svg.i { width: 32px; height: 32px; }
.wa-text { display: grid; line-height: 1.15; text-shadow: 0 1px 1px rgba(0, 50, 20, .35); }
.wa-text small { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.wa-text b { font-size: 24px; font-weight: 800; white-space: nowrap; }
.wa-badge.compact { min-height: 52px; padding-right: 22px; }
.wa-badge.compact .wa-dot { width: 54px; height: 54px; margin: -7px 12px -7px -8px; }
.wa-badge.compact .wa-dot svg.i { width: 27px; height: 27px; }
.wa-badge.compact .wa-text b { font-size: 17px; font-weight: 700; }
.btn.outline { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn.outline:hover { border-color: var(--ink-2); }
.btn.outline-light { color: var(--on-navy); border-color: rgba(255, 255, 255, .34); background: transparent; }
.btn.outline-light:hover { border-color: rgba(255, 255, 255, .7); }
.btn.lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn.full { width: 100%; }
.link { color: var(--teal); font-weight: 600; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { .btn.primary { color: #06201D; } .btn.primary:hover { background: #6BD3C8; border-color: #6BD3C8; } }

/* Jenama */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.mark { width: 32px; height: 32px; border-radius: 9px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.mark svg { width: 19px; height: 19px; stroke-width: 1.9; }
.brand b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.brand.light .mark { background: #fff; color: var(--navy); }
@media (prefers-color-scheme: dark) { .top .mark { background: var(--teal); color: #06201D; } }

/* Kepala halaman */
.top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav .links { display: flex; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav .links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; }
.nav .links a:hover { color: var(--ink); background: var(--canvas); }
.nav .acts { display: flex; align-items: center; gap: 8px; }
.nav .login { font-size: 14.5px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; }

/* Hero (jalur navy) */
.hero { background: radial-gradient(900px 480px at 82% 30%, #18375A 0%, rgba(24, 55, 90, 0) 70%), var(--navy); color: var(--on-navy); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 64px 32px 72px; }
.hero h1 { font-size: 44px; line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; }
.hero .lead { font-size: 18.5px; color: var(--on-navy-2); margin-top: 22px; max-width: 34em; }
.hero-acts { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
/* Tinggi media = tinggi telefon (dalam aliran); panel di belakang, kanan, ditengahkan menegak. */
.hero-media { position: relative; display: flex; align-items: center; }
.browser { background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-media); border: 1px solid rgba(255, 255, 255, .08); }
.browser .bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #E8ECF1; border-bottom: 1px solid #D9DFE6; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #C3CCD6; display: block; }
.hero .browser { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 80%; z-index: 1; }
.hero .browser img { width: 100%; }
.device { position: relative; z-index: 2; width: 36%; flex: none; border-radius: 26px; border: 7px solid #05101C; background: #05101C; overflow: hidden; box-shadow: var(--shadow-media); }
.device img { width: 100%; border-radius: 19px; }

/* Jalur fakta */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; gap: 14px; padding: 28px 24px; align-items: flex-start; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-soft); color: var(--ink); display: grid; place-items: center; flex: none; }
.fact b { display: block; font-size: 15.5px; font-weight: 700; }
.fact span:not(.ico) { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

/* Bahagian */
.sec { padding: 96px 0; scroll-margin-top: 72px; }
.sec.alt { background: var(--canvas); }
.sec h2 { font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; max-width: 22ch; }
.sec .intro { font-size: 17px; color: var(--ink-2); margin-top: 14px; max-width: 60ch; }

/* Tiga langkah (urutan sebenar: bernombor) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: var(--line); }
.steps li { position: relative; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; position: relative; box-shadow: 0 0 0 6px var(--surface); }
.steps h3 { font-size: 19px; font-weight: 700; margin-top: 20px; }
.steps p { font-size: 15.5px; color: var(--ink-2); margin-top: 8px; max-width: 32ch; }
@media (prefers-color-scheme: dark) { .steps .n { background: var(--navy-2); } }

/* Dua pihak */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.side { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.side.inst { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.side h3 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.side h3 svg { width: 24px; height: 24px; color: var(--teal); }
.side.inst h3 svg { color: #7FD8CE; }
.ticks { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 6px; height: 11px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.side.inst .ticks li { color: var(--on-navy-2); }
.side.inst .ticks li::before { border-color: #7FD8CE; }
.status { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; scroll-margin-top: 90px; }
.status p { flex-basis: 100%; font-size: 14.5px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 5px 12px 5px 10px; border-radius: 999px; }
.tag svg { width: 15px; height: 15px; }
.tag.ok { background: var(--teal-soft); color: var(--teal); }
.tag.pen { background: var(--amber-soft); color: var(--amber); }

/* Pameran panel */
.browser.wide { margin-top: 44px; border-color: var(--line); box-shadow: var(--shadow); }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.caps h3 { font-size: 17px; font-weight: 700; }
.caps p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }

/* Bento keselamatan: tepat 5 sel */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 16px; margin-top: 44px; }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.cell.big { grid-column: span 2; grid-row: span 2; background: var(--navy); border-color: var(--navy); color: var(--on-navy); padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.cell .ico { width: 52px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; margin-bottom: auto; }
.cell .ico svg { width: 26px; height: 26px; color: #7FD8CE; }
.cell h3 { font-size: 17px; font-weight: 700; }
.cell.big h3 { font-size: 24px; letter-spacing: -0.02em; }
.cell p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.cell.big p { color: var(--on-navy-2); font-size: 16px; max-width: 40ch; }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 18px; }

/* Perbandingan */
.vs { margin-top: 40px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th { text-align: left; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 14px 24px; background: var(--canvas); border-bottom: 1px solid var(--line); }
td { padding: 18px 24px; border-bottom: 1px solid var(--line-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--ink-2); width: 30%; }
td.us { font-weight: 700; }
th:last-child, td.us { background: rgba(8, 117, 108, .04); }

/* Harga */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.plan { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.promo { display: inline-block; background: var(--navy-soft); color: var(--ink); font-size: 13.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.plan .left { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--amber); }
.amount { display: flex; align-items: baseline; gap: 12px; margin-top: 20px; }
.amount s { font-size: 20px; color: var(--muted); font-weight: 600; }
.amount b { font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.amount span { font-size: 16px; color: var(--ink-2); font-weight: 600; }
.plan .ticks { margin: 24px 0 28px; }
.plan .btn + .btn { margin-top: 10px; }

/* Soalan lazim */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
.ask { margin-top: 28px; padding: 24px; border-radius: 16px; background: var(--canvas); display: grid; gap: 6px; justify-items: start; }
.ask > b { font-size: 16px; }
.ask > span { font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; }
.faq { border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q summary { list-style: none; cursor: pointer; padding: 20px 0; min-height: 44px; font-size: 16.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 24px; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; color: var(--muted); font-weight: 500; font-size: 20px; line-height: 1; }
.q[open] summary::after { content: "\2212"; }
.q p { font-size: 15.5px; color: var(--ink-2); padding: 0 0 20px; max-width: 65ch; }

/* Minta demo */
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: start; }
.contact { margin-top: 32px; }
.form { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; min-height: 44px; width: 100%; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field.bad input, .field.bad textarea { border-color: var(--red); }
.field .err, .form > .err { font-size: 13px; color: var(--red); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13.5px; color: var(--ink-2); align-items: start; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--teal); }
.check.bad { color: var(--red); }
.form .cta { min-height: 52px; font: inherit; font-weight: 600; font-size: 16px; border-radius: 10px; border: 1px solid var(--teal); background: var(--teal); color: #fff; cursor: pointer; }
.form .cta:hover { background: #065F58; }
@media (prefers-color-scheme: dark) { .form .cta { color: #06201D; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.done h3 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--teal); }
.done p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.done .wa-badge, .done .contact { margin-top: 18px; }

/* Halaman langganan (/langgan) dan status pembayaran */
.pay h1 { font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.pay .intro { margin-top: 14px; }
.pay .plan { margin-top: 28px; }
.pay .plan .ticks { margin-bottom: 0; }
.form .fine { margin-top: 0; font-size: 13px; }
.wrap.narrow { max-width: 680px; }
.formerr { background: var(--red-soft); color: var(--red); border-radius: 10px; padding: 10px 12px; font-size: 14px; }

/* Kaki (jalur navy) */
.foot { background: var(--navy); color: var(--on-navy-2); padding: 64px 0 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-bottom: 48px; }
.foot-brand .brand { color: var(--on-navy); }
.foot-brand p { margin-top: 12px; font-size: 14.5px; max-width: 36ch; }
.foot nav { display: grid; gap: 2px; align-content: start; font-size: 14.5px; }
.foot nav b { color: var(--on-navy); font-size: 14px; margin-bottom: 6px; }
.foot nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--on-navy); }
.foot-base { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--navy-line); font-size: 13.5px; }

/* Tablet */
@media (max-width: 1024px) {
  .nav .links { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 56px 32px 72px; }
  .hero h1 { max-width: 16ch; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell.big { grid-column: span 2; grid-row: auto; min-height: 0; }
  .price-grid, .faq-grid, .close-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
/* Telefon */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav { height: 64px; }
  .nav .login { display: none; }
  .hero-grid { padding: 40px 20px 56px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 16.5px; }
  .hero-acts .btn { width: 100%; }
  .hero-acts .wa-badge { width: calc(100% - 8px); }
  .device { width: 42%; border-width: 5px; border-radius: 18px; }
  .hero .browser { width: 78%; }
  .device img { border-radius: 13px; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { border-left: 0; padding: 18px 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .sec { padding: 64px 0; }
  .sec h2 { font-size: 28px; }
  .pay h1 { font-size: 28px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; }
  .steps li { padding-left: 64px; }
  .steps .n { position: absolute; left: 0; top: 0; }
  .steps h3 { margin-top: 8px; }
  .duo, .caps { grid-template-columns: minmax(0, 1fr); }
  .side { padding: 24px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell.big { grid-column: auto; padding: 28px; }
  td, th { padding: 12px; font-size: 14px; }
  td:first-child { width: auto; }
  .amount b { font-size: 46px; }
  .plan, .form, .done { padding: 22px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-base { flex-direction: column; gap: 8px; }
}
