/* =========================================================================
   QRIS Gateway — Landing page (halaman sebelum masuk)
   Memakai token warna dari styles.css, jadi ikut mode terang & gelap.
   Tanpa gaya inline (CSP style-src 'self'): semua variasi ditulis di sini.
   ========================================================================= */

.landing {
  --lp-bg: #FFFFFF;
  --lp-alt: #F6F9FF;
  --lp-card: #FFFFFF;
  --lp-ink: #0B1F44;
  --lp-line: #E7EDF7;
  --lp-cyan: #12B7EF;
  --lp-grad-a: #1769FF;
  --lp-grad-b: #0891B2;
  --lp-shadow: 0 12px 35px rgb(24 55 105 / .07);
  --lp-shadow-hover: 0 22px 48px rgb(24 55 105 / .13);
  --lp-metal: linear-gradient(180deg, #C9D3E0, #7C899D);
  --lp-display: "Inter", "IBM Plex Sans", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  min-height: 100dvh;
  overflow-x: clip;
  background: var(--lp-bg);
  color: var(--text-2);
  transition: background-color var(--dur-3) var(--ease-out);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .landing {
    --lp-bg: #0A0F1C;
    --lp-alt: #0D1426;
    --lp-card: #111A2E;
    --lp-ink: #F1F5F9;
    --lp-line: #1E2A45;
    --lp-cyan: #38C8F5;
    --lp-grad-a: #4B8BFF;
    --lp-grad-b: #22D3EE;
    --lp-shadow: 0 12px 35px rgb(0 0 0 / .35);
    --lp-shadow-hover: 0 22px 48px rgb(0 0 0 / .5);
    --lp-metal: linear-gradient(180deg, #56627A, #262F42);
  }
}
:root[data-theme="dark"] .landing {
  --lp-bg: #0A0F1C;
  --lp-alt: #0D1426;
  --lp-card: #111A2E;
  --lp-ink: #F1F5F9;
  --lp-line: #1E2A45;
  --lp-cyan: #38C8F5;
  --lp-grad-a: #4B8BFF;
  --lp-grad-b: #22D3EE;
  --lp-shadow: 0 12px 35px rgb(0 0 0 / .35);
  --lp-shadow-hover: 0 22px 48px rgb(0 0 0 / .5);
  --lp-metal: linear-gradient(180deg, #56627A, #262F42);
}

.lp-container { width: min(1180px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.landing [tabindex="-1"]:focus-visible { box-shadow: none; }
.lp-nowrap { white-space: nowrap; }

/* ---------- Tombol versi landing ---------- */
.landing .btn { border-radius: 12px; font-weight: 700; }
.landing .btn-lg { min-height: 50px; padding: 0 22px; border-radius: 14px; }
.landing .btn-primary {
  background: linear-gradient(135deg, #1769FF, #0B55D8);
  box-shadow: 0 12px 28px -12px rgb(23 105 255 / .7), inset 0 1px 0 rgb(255 255 255 / .22);
}
.landing .btn-primary:hover { background: linear-gradient(135deg, #1F6FFF, #0A4FC9); box-shadow: 0 16px 32px -12px rgb(23 105 255 / .8), inset 0 1px 0 rgb(255 255 255 / .22); }
.landing .btn-primary .icon { transition: transform var(--dur-2) var(--ease-out); }
.landing .btn-primary:hover .icon, .lp-btn-white:hover .icon, .lp-plan-btn:hover .icon { transform: translateX(3px); }
.landing .btn-ghost { color: var(--lp-ink); }
.lp-btn-light {
  --btn-bg: var(--lp-card); --btn-fg: var(--primary-text);
  --btn-border: color-mix(in srgb, var(--primary) 24%, var(--lp-line));
}
.lp-btn-light:hover { --btn-bg: color-mix(in srgb, var(--primary) 7%, var(--lp-card)); --btn-border: color-mix(in srgb, var(--primary) 40%, var(--lp-line)); }

/* ---------- Navigasi ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--lp-bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.lp-nav[data-scrolled] { border-bottom-color: var(--lp-line); box-shadow: 0 10px 30px -24px rgb(15 23 42 / .5); }
.lp-nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-brand { padding: 0; }
.lp-brand .brand-text strong { font-size: 17px; font-weight: 800; color: var(--lp-ink); letter-spacing: -.02em; }
.lp-brand .brand-text span { font-size: 11.5px; font-weight: 700; color: var(--primary-text); letter-spacing: .01em; }
.lp-links { display: flex; gap: 4px; }
.lp-links a {
  padding: 8px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 650; color: var(--text-3);
  transition: color var(--dur-2), background-color var(--dur-2);
}
.lp-links a:hover { color: var(--lp-ink); background: color-mix(in srgb, var(--primary) 7%, transparent); }
.lp-links a[aria-current="true"] { color: var(--primary-text); background: color-mix(in srgb, var(--primary) 9%, transparent); }
.lp-nav-actions { display: flex; align-items: center; gap: 8px; }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative; padding: 72px 0 60px; scroll-margin-top: 72px;
  background: radial-gradient(circle at 85% 18%,
    color-mix(in srgb, var(--lp-cyan) 16%, var(--lp-bg)) 0,
    color-mix(in srgb, var(--primary) 5%, var(--lp-bg)) 38%,
    var(--lp-bg) 70%);
}
.lp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 60% 70% at 72% 35%, #000 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 35%, #000 5%, transparent 72%);
}
.lp-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--primary-text); font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
}
.lp-eyebrow span { width: 28px; height: 3px; border-radius: 9px; background: var(--primary); }
.lp-hero h1 {
  font-family: var(--lp-display); font-size: clamp(40px, 5.2vw, 66px); font-weight: 800;
  line-height: 1.03; letter-spacing: -.045em; color: var(--lp-ink); text-wrap: balance;
}
.lp-hero h1 em {
  font-style: normal; color: var(--primary-text);
  background: linear-gradient(110deg, var(--lp-grad-a), var(--lp-grad-b));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-lead { max-width: 600px; margin: 22px 0 30px; font-size: 18px; line-height: 1.65; color: var(--text-3); }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Poin manfaat di hero (centang hijau). */
.lp-checks { display: grid; gap: 10px; margin: -6px 0 30px; padding: 0; list-style: none; }
.lp-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--lp-ink); }
.lp-checks li > span, .lp-compare li > span {
  flex: none; width: 22px; height: 22px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%;
  color: var(--paid); background: color-mix(in srgb, var(--paid) 13%, transparent);
}
.lp-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 5px rgb(34 197 94 / .16); }

/* Laptop berisi tiruan dashboard (HTML, bukan gambar → ikut tema). */
.lp-hero-visual { position: relative; padding: 30px 6px 0; margin-bottom: 72px; container-type: inline-size; }
.lp-laptop { position: relative; animation: lp-float 6s ease-in-out 1.2s infinite; }
.lp-laptop-lid {
  position: relative; padding: 14px 10px 10px; border-radius: 20px 20px 6px 6px;
  background: linear-gradient(180deg, #27364F, #101D34);
  box-shadow: 0 34px 60px -24px rgb(8 34 76 / .5), inset 0 0 0 1px #263651;
}
.lp-laptop-cam { position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #3E78C8; box-shadow: 0 0 0 2px #071121; }
.lp-screen { container-type: inline-size; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 5px; background: var(--bg); }
.lp-laptop-base { position: relative; width: 112%; height: 18px; margin: -1px 0 0 -6%; border-radius: 2px 2px 18px 18px; background: var(--lp-metal); box-shadow: 0 9px 14px rgb(8 34 76 / .18); }
.lp-laptop-base span { position: absolute; left: 50%; top: 0; width: 18%; height: 7px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: rgb(15 23 42 / .22); }
.lp-laptop-shadow { width: 90%; height: 22px; margin: 4px auto 0; background: radial-gradient(ellipse, rgb(10 40 90 / .28), transparent 68%); filter: blur(6px); }

.mock {
  display: grid; grid-template-columns: 11.5em minmax(0, 1fr); height: 100%;
  font-size: 1.62cqi; line-height: 1.35; text-align: left; color: var(--text); background: var(--bg);
}
.mock-side { display: flex; flex-direction: column; gap: .25em; padding: 1.3em .8em; background: var(--surface); border-right: 1px solid var(--border); }
.mock-brand { display: flex; align-items: center; gap: .6em; margin: 0 .3em 1.2em; font-size: 1.05em; white-space: nowrap; }
.mock-logo { flex: none; width: 1.9em; height: 1.9em; object-fit: contain; }
.mock-nav { display: flex; align-items: center; gap: .65em; height: 2.5em; padding: 0 .7em; border-radius: .55em; font-size: .95em; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.mock-nav i { flex: none; width: .95em; height: .95em; border: .14em solid currentColor; border-radius: .25em; }
.mock-nav.is-active { background: color-mix(in srgb, var(--primary) 13%, transparent); color: var(--text); }
.mock-nav.is-active i { color: var(--primary-text); }
.mock-main { display: flex; flex-direction: column; gap: 1em; min-width: 0; padding: 1.3em 1.4em; }
.mock-top { display: flex; align-items: center; gap: .8em; }
.mock-title { flex: 1; display: grid; }
.mock-title b { font-size: 1.45em; letter-spacing: -.02em; }
.mock-title small { font-size: .85em; color: var(--text-3); }
.mock-live { display: inline-flex; align-items: center; gap: .45em; height: 2em; padding: 0 .75em; border-radius: 99em; font-size: .8em; font-weight: 700; color: var(--paid); background: color-mix(in srgb, var(--paid) 12%, transparent); }
.mock-live i { width: .55em; height: .55em; border-radius: 50%; background: currentColor; animation: pulse-soft 1.6s ease-in-out infinite; }
.mock-btn { display: inline-flex; align-items: center; height: 2.4em; padding: 0 1em; border-radius: .6em; font-size: .85em; font-weight: 700; color: var(--on-primary); background: var(--primary); white-space: nowrap; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75em; }
.mock-card { min-width: 0; padding: .8em .9em; border: 1px solid var(--border); border-radius: .8em; background: var(--surface); }
.mock-card small { display: block; font-size: .78em; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.mock-kpis b { display: block; margin-top: .2em; font-size: 1.35em; letter-spacing: -.02em; white-space: nowrap; }
.mock-kpis em { font-style: normal; font-size: .75em; font-weight: 700; color: var(--paid); }
.mock-lower { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: .75em; }
.mock-chart { display: flex; flex-direction: column; }
.mock-bars { flex: 1; display: flex; align-items: flex-end; gap: .45em; padding-top: 1em; border-bottom: 1px solid var(--border); }
.mock-bars i {
  flex: 1; height: var(--h); border-radius: .35em .35em .12em .12em;
  background: linear-gradient(180deg, var(--accent), var(--primary)); transform-origin: bottom;
  animation: lp-bar .9s var(--ease-out) calc(.5s + var(--i) * 45ms) both;
}
.mock-bars i:nth-child(1) { --h: 26%; --i: 0; }
.mock-bars i:nth-child(2) { --h: 38%; --i: 1; }
.mock-bars i:nth-child(3) { --h: 31%; --i: 2; }
.mock-bars i:nth-child(4) { --h: 52%; --i: 3; }
.mock-bars i:nth-child(5) { --h: 64%; --i: 4; }
.mock-bars i:nth-child(6) { --h: 47%; --i: 5; }
.mock-bars i:nth-child(7) { --h: 72%; --i: 6; }
.mock-bars i:nth-child(8) { --h: 88%; --i: 7; }
.mock-bars i:nth-child(9) { --h: 61%; --i: 8; }
.mock-bars i:nth-child(10) { --h: 79%; --i: 9; }
.mock-bars i:nth-child(11) { --h: 56%; --i: 10; }
.mock-bars i:nth-child(12) { --h: 94%; --i: 11; }
.mock-feed { display: flex; flex-direction: column; gap: .1em; }
.mock-feed small { margin-bottom: .45em; }
.mock-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .6em; margin: 0 -.5em; padding: .42em .5em; border-radius: .5em; font-size: .82em; }
.mock-row > span { overflow: hidden; font-family: var(--mono); color: var(--text-2); text-overflow: ellipsis; white-space: nowrap; }
.mock-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mock-badge { display: inline-grid; padding: .22em .65em; border-radius: 99em; font-size: .85em; font-style: normal; font-weight: 700; text-align: center; color: var(--paid); background: color-mix(in srgb, var(--paid) 13%, transparent); }
.mock-badge.is-expired { color: var(--expired); background: color-mix(in srgb, var(--expired) 14%, transparent); }
.mock-row.is-live .mock-badge { padding: 0; background: none; }
.mock-row.is-live .mock-badge > span { grid-area: 1 / 1; padding: .22em .65em; border-radius: 99em; font-family: inherit; }
.b-wait { opacity: 0; color: var(--pending); background: color-mix(in srgb, var(--pending) 13%, transparent); }
.b-paid { color: var(--paid); background: color-mix(in srgb, var(--paid) 13%, transparent); }

/* Kartu melayang: notifikasi HP masuk → transaksi lunas. Tanpa animasi, keadaan akhirnya (lunas) yang tampil. */
.lp-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 290px;
  padding: 12px 16px 12px 12px; border: 1px solid var(--lp-line); border-radius: 16px;
  background: color-mix(in srgb, var(--lp-card) 94%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px -14px rgb(16 45 99 / .32);
}
.lp-float > div { display: grid; min-width: 0; line-height: 1.3; }
.lp-float small { font-size: 11px; font-weight: 600; color: var(--text-3); }
.lp-float b { font-size: 14px; color: var(--lp-ink); }
.lp-float > div > span { font-size: 12.5px; color: var(--text-3); }
.lp-float-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; }
.lp-float-notif { top: 0; left: -34px; }
.lp-float-notif .lp-float-icon { color: var(--pending); background: color-mix(in srgb, var(--pending) 14%, transparent); }

/* Halaman bayar (payment link) di depan laptop: ukuran mengikuti lebar area visual (cqi). */
.lp-paywin {
  position: absolute; z-index: 2; left: -5%; bottom: -44px; width: 37%;
  font-size: 1.9cqi; line-height: 1.35; text-align: left; color: var(--lp-ink);
  border: 1px solid var(--lp-line); border-radius: 1.3em; overflow: hidden;
  background: var(--lp-card); box-shadow: 0 28px 60px -22px rgb(16 45 99 / .45);
  animation: lp-float 6s ease-in-out 2.4s infinite;
}
.lp-paywin-bar { display: flex; align-items: center; gap: .7em; padding: .65em .9em; border-bottom: 1px solid var(--lp-line); background: var(--lp-alt); }
.lp-paywin-dots { display: flex; gap: .32em; }
.lp-paywin-dots i { width: .55em; height: .55em; border-radius: 50%; background: color-mix(in srgb, var(--lp-ink) 18%, transparent); }
.lp-paywin-url { flex: 1; min-width: 0; overflow: hidden; padding: .25em .7em; border-radius: .5em; font-size: .78em; text-align: center; white-space: nowrap; text-overflow: ellipsis; color: var(--text-3); background: var(--lp-card); }
.lp-paywin-body { display: grid; gap: .9em; padding: 1.1em; }
.lp-paywin-store { display: flex; align-items: center; gap: .7em; }
.lp-paywin-store > div { display: grid; min-width: 0; }
.lp-paywin-store b { font-size: 1.05em; }
.lp-paywin-store small { font-size: .8em; color: var(--text-3); }
.lp-paywin-avatar { flex: none; width: 2.5em; height: 2.5em; display: grid; place-items: center; border-radius: .65em; font-size: .95em; font-weight: 800; color: #fff; background: #0B1F44; }
.lp-paywin-card {
  display: grid; gap: .45em; padding: 1em; border-radius: 1em;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--lp-line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 5%, var(--lp-card)), var(--lp-card));
}
.lp-paywin-label { font-size: .68em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.lp-paywin-title { font-size: 1.1em; }
.lp-paywin-amount { font-family: var(--lp-display); font-size: 2em; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.lp-paywin-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; margin-top: .3em; }
.lp-paywin-tabs span { padding: .55em .3em; border: 1px solid var(--lp-line); border-radius: .6em; font-size: .78em; font-weight: 700; text-align: center; white-space: nowrap; color: var(--text-2); background: var(--lp-card); }
.lp-paywin-tabs .is-active { border-color: var(--primary); color: var(--primary-text); background: color-mix(in srgb, var(--primary) 8%, var(--lp-card)); }
.lp-paywin-qr { justify-self: center; width: 8.4em; margin-top: .3em; padding: .5em; border: 1px solid var(--lp-line); border-radius: .9em; background: #fff; color: #0B1F44; }
.lp-paywin-qrcode { display: block; width: 100%; height: auto; }
.lp-paywin-note { font-size: .74em; text-align: center; color: var(--text-3); }
.lp-paywin-btn {
  display: flex; align-items: center; justify-content: center; gap: .45em; padding: .7em; border-radius: .75em;
  font-size: .82em; font-weight: 700; color: var(--primary-text); background: color-mix(in srgb, var(--primary) 10%, var(--lp-card));
}

/* Kartu status halaman bayar: menunggu → lunas. Tanpa animasi, keadaan akhirnya (lunas) yang tampil. */
.lp-float-status { left: 28%; bottom: -66px; z-index: 3; }
.lp-status-icon { position: relative; flex: none; width: 38px; height: 38px; display: grid; place-items: center; }
.lp-status-icon > span { grid-area: 1 / 1; }
.lp-status-icon .st-wait { width: 26px; height: 26px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--pending) 22%, transparent); border-top-color: var(--pending); animation: spin 1s linear infinite; }
.lp-status-icon .st-paid { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--paid); background: color-mix(in srgb, var(--paid) 15%, transparent); }
.lp-status-text { display: grid; min-width: 0; }
.lp-status-text > div { grid-area: 1 / 1; display: grid; line-height: 1.3; }
.lp-status-text b { font-size: 17px; letter-spacing: -.01em; }
.lp-status-text span { font-size: 12px; color: var(--text-3); }
.lp-float-status .st-wait { opacity: 0; animation: lp-wait 9s ease-out 1.6s infinite backwards; }
.lp-float-status .st-paid { animation: lp-paid 9s var(--ease-spring) 1.6s infinite backwards; }
.lp-status-icon .st-wait { animation: lp-wait 9s ease-out 1.6s infinite backwards, spin 1s linear infinite; }

/* Siklus demo 9 detik: notifikasi muncul → badge Menunggu jadi Lunas → toast callback. */
.lp-float-notif { animation: lp-notif 9s var(--ease-out) 1.6s infinite backwards; }
.mock-row.is-live { animation: lp-row 9s ease-out 1.6s infinite backwards; }
.mock-row.is-live .b-wait { animation: lp-wait 9s ease-out 1.6s infinite backwards; }
.mock-row.is-live .b-paid { animation: lp-paid 9s var(--ease-spring) 1.6s infinite backwards; }

.lp-banner {
  display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 900px; margin: 4px auto 0;
  padding: 14px 20px; border-radius: 16px; font-size: 14.5px; color: var(--lp-ink);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--lp-line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, var(--lp-bg)), color-mix(in srgb, var(--lp-cyan) 5%, var(--lp-bg)));
  box-shadow: 0 12px 30px -18px rgb(23 105 232 / .45);
}
.lp-banner strong { color: var(--primary-text); }
.lp-banner-icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--primary-text); background: var(--lp-card); box-shadow: var(--shadow-1); }

/* ---------- Bagian umum ---------- */
.lp-section { padding: 96px 0; scroll-margin-top: 72px; }
.lp-alt { background: var(--lp-alt); }
.lp-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.lp-head .lp-eyebrow { justify-content: center; }
.landing h2 {
  font-family: var(--lp-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 800;
  line-height: 1.12; letter-spacing: -.035em; color: var(--lp-ink); text-wrap: balance;
}
.lp-head > p:last-child { margin-top: 14px; font-size: 16.5px; color: var(--text-3); }

.lp-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-feature {
  padding: 26px 24px; border: 1px solid var(--lp-line); border-radius: 22px; background: var(--lp-card); box-shadow: var(--lp-shadow);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-3);
}
.lp-feature:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--primary) 28%, var(--lp-line)); box-shadow: var(--lp-shadow-hover); }
.lp-icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 15px;
  color: var(--primary-text); background: color-mix(in srgb, var(--primary) 10%, var(--lp-card));
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-3), color var(--dur-3);
}
.lp-feature:hover .lp-icon { transform: scale(1.08) rotate(-4deg); color: #fff; background: var(--primary); }
.lp-feature h3 { margin-bottom: 7px; font-size: 17px; font-weight: 750; letter-spacing: -.01em; color: var(--lp-ink); }
.lp-feature p { font-size: 14px; line-height: 1.6; color: var(--text-3); }

/* ---------- Masalah vs solusi ---------- */
.lp-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 0 auto; }
.lp-compare-card { padding: 30px; border: 1px solid var(--lp-line); border-radius: 26px; background: var(--lp-card); box-shadow: var(--lp-shadow); }
.lp-compare-card.is-solution { border: 2px solid var(--primary); background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, var(--lp-card)), var(--lp-card)); }
.lp-compare-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tone); background: color-mix(in srgb, var(--tone) 12%, transparent);
}
.is-problem { --tone: var(--failed); }
.is-solution { --tone: var(--paid); }
.lp-compare ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.lp-compare li { display: flex; align-items: flex-start; gap: 12px; }
.lp-compare li > span { color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); }
.lp-compare b { display: block; font-size: 15.5px; color: var(--lp-ink); }
.lp-compare li p { margin-top: 2px; font-size: 14px; line-height: 1.55; color: var(--text-3); }

/* ---------- Cara kerja ---------- */
.lp-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.lp-sub { max-width: 540px; margin-top: 16px; font-size: 16.5px; color: var(--text-3); }
.lp-steps { display: grid; gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.lp-steps li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.lp-steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 16px; top: 40px; bottom: -16px; width: 2px; border-radius: 2px;
  background: linear-gradient(color-mix(in srgb, var(--primary) 35%, transparent), transparent);
}
.lp-step-no {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  font-size: 14px; font-weight: 800; color: var(--primary-text);
  background: color-mix(in srgb, var(--primary) 11%, var(--lp-card)); border: 1px solid color-mix(in srgb, var(--primary) 26%, transparent);
}
.lp-steps b { display: block; margin-top: 5px; font-size: 16px; color: var(--lp-ink); }
.lp-steps li > div > span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--text-3); }

.lp-phone-wrap { display: flex; justify-content: center; }
.lp-phone {
  width: min(320px, 100%); padding: 8px; border-radius: 44px; background: #0B1F44;
  box-shadow: 0 34px 64px -22px rgb(20 52 110 / .45), inset 0 0 0 2px #1D335F;
}
.lp-phone-screen {
  display: flex; flex-direction: column; gap: 10px; aspect-ratio: 9 / 19; overflow: hidden;
  padding: 14px 13px 16px; border-radius: 36px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 13%, var(--bg)), var(--bg) 55%);
}
.ph-status { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 12px; color: var(--text); }
.ph-icons { display: flex; align-items: center; gap: 4px; }
.ph-icons i { width: 14px; height: 9px; border-radius: 2px; background: currentColor; opacity: .75; }
.ph-icons i:first-child { width: 10px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 0; }
.ph-icons i:nth-child(2) { width: 11px; border-radius: 50% 50% 0 0; }
.ph-head { display: grid; padding: 2px 8px 4px; line-height: 1.2; }
.ph-head small { font-size: 11px; color: var(--text-3); }
.ph-head b { font-size: 20px; letter-spacing: -.02em; color: var(--text); }
.ph-card { display: grid; gap: 2px; padding: 10px 12px 11px; border-radius: 18px; font-size: 12.5px; background: var(--surface); box-shadow: 0 6px 16px -10px rgb(15 23 42 / .35); }
.ph-card.is-muted { opacity: .7; }
.ph-app { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--text-3); }
.ph-ico { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 6px; color: var(--primary-text); background: color-mix(in srgb, var(--primary) 14%, transparent); }
.ph-card b { font-size: 13px; color: var(--text); }
.ph-card p { overflow: hidden; font-size: 12px; color: var(--text-3); text-overflow: ellipsis; white-space: nowrap; }
.ph-chip { justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; padding: 3px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 700; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); }
.ph-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 0 8px; font-size: 11.5px; font-weight: 600; color: var(--text-3); }
.ph-foot .lp-dot { width: 7px; height: 7px; box-shadow: 0 0 0 4px rgb(34 197 94 / .16); }
.ph-card.is-new { animation: lp-ph-new 9s var(--ease-out) 1s infinite backwards; }
.ph-card.is-new .ph-chip { animation: lp-ph-chip 9s var(--ease-spring) 1s infinite backwards; }

/* ---------- Mulai dalam 3 langkah ---------- */
.lp-setup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lp-setup-card {
  display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--lp-line); border-radius: 24px;
  background: var(--lp-card); box-shadow: var(--lp-shadow);
}
.lp-setup-card h3 { margin: 16px 0 6px; font-size: 18px; font-weight: 750; letter-spacing: -.01em; color: var(--lp-ink); }
.lp-setup-card > p { margin-bottom: 20px; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.lp-setup-visual { margin-top: auto; }
.lp-drop {
  display: grid; justify-items: center; gap: 4px; padding: 20px 14px; border: 2px dashed color-mix(in srgb, var(--primary) 35%, var(--lp-line));
  border-radius: 16px; text-align: center; color: var(--primary-text); background: color-mix(in srgb, var(--primary) 5%, var(--lp-card));
}
.lp-drop b { font-size: 13.5px; color: var(--lp-ink); }
.lp-drop small { font-size: 12px; color: var(--text-3); }
.lp-connect { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-alt); }
.lp-connect > div { flex: 1; display: grid; min-width: 0; line-height: 1.35; }
.lp-connect b { font-size: 14px; color: var(--lp-ink); }
.lp-connect small { font-size: 12px; color: var(--text-3); }
.lp-connect-ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--paid); background: color-mix(in srgb, var(--paid) 14%, transparent); }
.lp-setup .lp-code { margin-bottom: 0; }

/* ---------- Contoh integrasi ---------- */
.lp-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 48px; }

/* ---------- Dua cara memakai (tata letak kartu harga referensi) ---------- */
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; align-items: start; }
.lp-plan {
  position: relative; padding: 34px; border: 1px solid var(--lp-line); border-radius: 28px; background: var(--lp-card); box-shadow: var(--lp-shadow);
  transition: transform var(--dur-4) var(--ease-out), box-shadow var(--dur-4) var(--ease-out);
}
.lp-plan:hover { transform: translateY(-6px); box-shadow: var(--lp-shadow-hover); }
.lp-plan.is-featured { border: 2px solid var(--primary); background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, var(--lp-card)), var(--lp-card)); }
.lp-plan-badge { margin-bottom: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-text); }
.lp-plan-tag { position: absolute; top: 22px; right: 22px; padding: 6px 11px; border-radius: 99px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--primary); }
.lp-plan h3 { font-family: var(--lp-display); font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--lp-ink); }
.lp-plan-desc { min-height: 48px; margin: 8px 0 22px; color: var(--text-3); }
.lp-plan-btn { --btn-bg: color-mix(in srgb, var(--primary) 10%, var(--lp-card)); --btn-fg: var(--primary-text); --btn-border: transparent; }
.lp-plan-btn:hover { --btn-bg: var(--primary); --btn-fg: #fff; --btn-border: transparent; }
.is-featured .lp-plan-btn { --btn-fg: #fff; background: linear-gradient(135deg, #1769FF, #0B55D8); box-shadow: 0 12px 26px -12px rgb(23 105 255 / .7); }
.lp-code {
  margin: 0 0 20px; padding: 16px 18px; overflow-x: auto; border-radius: 16px;
  font: 500 12.5px/1.7 var(--mono); white-space: pre; color: #D6E4FF; background: #0B1F44;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
}
.lp-code .c-k { color: #7DD3FC; font-weight: 700; }
.lp-code .c-m { color: #A7B6CC; }
.lp-code .c-s { color: #A5F3C4; }
.lp-code .c-n { color: #FCD34D; }
.lp-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--lp-line); list-style: none; }
.lp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.lp-list li > span { flex: none; width: 22px; height: 22px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; color: var(--paid); background: color-mix(in srgb, var(--paid) 13%, transparent); }
.lp-footnote { max-width: 760px; margin: 28px auto 0; font-size: 13.5px; text-align: center; color: var(--text-3); }

/* ---------- FAQ (details/summary, tanpa JavaScript) ---------- */
.lp-faq { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.lp-faq details {
  border: 1px solid var(--lp-line); border-radius: 18px; background: var(--lp-card);
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.lp-faq details[open] { border-color: color-mix(in srgb, var(--primary) 30%, var(--lp-line)); box-shadow: var(--lp-shadow); }
.lp-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px;
  list-style: none; cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--lp-ink);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:hover { color: var(--primary-text); }
.lp-faq summary:focus-visible { border-radius: 18px; box-shadow: var(--focus-ring, 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent)); outline: none; }
.lp-faq summary > span { flex: none; color: var(--text-3); transform: rotate(90deg); transition: transform var(--dur-2) var(--ease-out); }
.lp-faq details[open] summary > span { transform: rotate(-90deg); color: var(--primary-text); }
.lp-faq details > p { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.7; color: var(--text-3); }
.lp-faq code { padding: 1px 6px; border-radius: 6px; font: 600 12.5px var(--mono); color: var(--lp-ink); background: var(--lp-alt); }

/* ---------- Statistik & ajakan ---------- */
.lp-stats { padding: 56px 0; color: #fff; background: linear-gradient(135deg, #0C2C69, #1257CC); }
.lp-statgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.lp-stat strong { display: block; font-family: var(--lp-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.lp-stat span { font-size: 13.5px; color: rgb(255 255 255 / .88); }

.lp-cta { padding: 88px 0; scroll-margin-top: 72px; }
.lp-cta-box {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 56px; border-radius: 30px; color: #fff;
  background: linear-gradient(135deg, #0B1F44, #1257CC 62%, #1769FF);
}
.lp-cta-box::before, .lp-cta-box::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.lp-cta-box::after { width: 360px; height: 360px; right: -110px; top: -180px; border: 70px solid rgb(255 255 255 / .06); }
.lp-cta-box::before { width: 220px; height: 220px; left: -90px; bottom: -130px; border: 44px solid rgb(255 255 255 / .05); }
.lp-cta-box > * { position: relative; z-index: 1; }
.landing .lp-cta-box h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); }
.lp-cta-box p { max-width: 580px; margin-top: 10px; color: rgb(255 255 255 / .86); }
.lp-cta-actions { flex: none; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-cta-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.lp-cta-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: #fff; }
.lp-cta-points li > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgb(255 255 255 / .14); }
.lp-btn-white { --btn-bg: #fff; --btn-fg: #0B55D8; --btn-border: transparent; box-shadow: 0 14px 30px -14px rgb(0 0 0 / .6); }
.lp-btn-white:hover { --btn-bg: #EEF4FF; --btn-border: transparent; }
.lp-btn-outline { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgb(255 255 255 / .5); }
.lp-btn-outline:hover { --btn-bg: rgb(255 255 255 / .12); --btn-border: #fff; }
.lp-cta-box :focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgb(255 255 255 / .35); }

.lp-footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--lp-line); font-size: 13.5px; color: var(--text-3); }
.lp-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.lp-footer-inner p { flex: 1; min-width: 240px; }
.lp-footer-links { display: flex; align-items: center; gap: 20px; }
.lp-footer-links a { font-weight: 650; color: var(--text-2); }
.lp-footer-links a:hover { color: var(--primary-text); }
.lp-footer-links .link-btn { font-size: 13.5px; }

/* ---------- Gerak ---------- */
.lp-in { animation: lp-in .85s cubic-bezier(.2, .75, .2, 1) both; }
.lp-d1 { animation-delay: .1s; }
.lp-d2 { animation-delay: .22s; }
.lp-d3 { animation-delay: .36s; }
.lp-reveal { opacity: 0; }
.lp-reveal.is-visible { opacity: 1; animation: lp-in .75s cubic-bezier(.2, .7, .2, 1) var(--lp-delay, 0ms) both; }

@keyframes lp-in { from { opacity: 0; translate: 0 24px; } }
@keyframes lp-float { 50% { transform: translateY(-8px); } }
@keyframes lp-bar { from { transform: scaleY(0); } }
@keyframes lp-notif {
  0%, 6% { opacity: 0; transform: translateY(-14px) scale(.96); }
  12%, 72% { opacity: 1; transform: none; }
  80%, 100% { opacity: 0; transform: translateY(-8px) scale(.98); }
}
@keyframes lp-row {
  0%, 30% { background-color: transparent; }
  35% { background-color: color-mix(in srgb, var(--paid) 20%, transparent); }
  62%, 100% { background-color: transparent; }
}
@keyframes lp-wait { 0%, 29% { opacity: 1; } 33%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes lp-paid {
  0%, 29% { opacity: 0; transform: scale(.7); }
  35% { opacity: 1; transform: scale(1.1); }
  40%, 95% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes lp-ph-new {
  0% { opacity: 0; transform: translateY(-18px) scale(.97); }
  8%, 100% { opacity: 1; transform: none; }
}
@keyframes lp-ph-chip {
  0%, 14% { opacity: 0; transform: scale(.8); }
  20%, 100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal { opacity: 1; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1180px) {
  .lp-float-notif { left: -10px; }
  .lp-paywin { left: -2%; }
}
@media (max-width: 1023px) {
  .lp-links { display: none; }
  .lp-hero { padding: 48px 0 56px; }
  .lp-hero-grid, .lp-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lp-hero-copy { text-align: center; }
  .lp-hero-copy .lp-eyebrow, .lp-actions { justify-content: center; }
  .lp-checks { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .lp-setup, .lp-examples { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .lp-examples { margin-bottom: 40px; }
  .lp-lead { margin-inline: auto; }
  .lp-hero-visual { width: 100%; max-width: 720px; margin-inline: auto; }
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .lp-cta-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .lp-nav-inner { height: 64px; gap: 12px; }
  .lp-brand .brand-text span { display: none; }
  .lp-nav-actions { gap: 6px; }
  .lp-nav-actions .btn { padding: 0 12px; }
  .lp-theme { display: none; }
  .lp-hero h1 { font-size: clamp(34px, 10.5vw, 46px); letter-spacing: -.04em; }
  .lp-lead { font-size: 16px; }
  .lp-actions .btn { flex: 1 1 220px; }
  .lp-hero-visual { padding-top: 40px; }
  .lp-laptop-lid { padding: 10px 7px 7px; border-radius: 14px 14px 5px 5px; }
  .lp-laptop-base { width: 106%; height: 12px; margin-left: -3%; }
  .lp-float { scale: .84; }
  .lp-float-notif { top: -4px; left: auto; right: -8px; transform-origin: top right; }
  .lp-hero-visual { margin-bottom: 128px; }
  .lp-paywin { left: 0; bottom: -84px; width: 46%; font-size: 2.3cqi; }
  .lp-float-status { left: 34%; bottom: -118px; transform-origin: bottom left; }
  .lp-banner { align-items: flex-start; justify-content: flex-start; font-size: 14px; }
  .lp-section { padding: 68px 0; }
  .lp-head { margin-bottom: 36px; }
  .lp-split { gap: 40px; }
  .lp-plans { grid-template-columns: minmax(0, 1fr); }
  .lp-compare { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lp-compare-card { padding: 24px 20px; border-radius: 22px; }
  .lp-checks li { font-size: 14.5px; }
  .lp-faq summary { padding: 16px 18px; font-size: 15px; }
  .lp-faq details > p { padding: 0 18px 18px; }
  .lp-plan { padding: 28px 22px; border-radius: 24px; }
  .lp-plan-tag { position: static; display: inline-block; margin-bottom: 14px; }
  .lp-plan-desc { min-height: 0; }
  .lp-cta { padding: 64px 0; }
  .lp-cta-box { padding: 36px 24px; border-radius: 24px; }
  .lp-cta-actions { width: 100%; }
  .lp-cta-actions .btn { flex: 1 1 200px; }
  .lp-footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .lp-features { grid-template-columns: minmax(0, 1fr); }
  .lp-feature { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .lp-feature .lp-icon { grid-row: span 2; margin-bottom: 0; }
  .lp-float small { display: none; }
  .lp-float-status small { display: block; }
  .lp-float { max-width: 230px; padding: 9px 12px 9px 9px; gap: 9px; }
  .lp-float-icon { width: 32px; height: 32px; border-radius: 10px; }
  .lp-float b { font-size: 13px; }
  .lp-float > div > span { font-size: 11.5px; }
}
