/* SENDAL WAGU - landing page. Tanpa build. */
:root {
  --forest: #0b1f18;
  --forest-2: #12291f;
  --emerald: #0d9f6e;
  --emerald-d: #087a55;
  --mint: #5fdcb0;
  --paper: #ffffff;
  --tint: #f2f6f4;
  --ink: #12211b;
  --muted: #56685f;
  --line: rgba(18, 33, 27, .12);
  --wa-bg: #efeae2;
  --wa-bubble: #d9fdd3;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
.lp { margin: 0; background: var(--paper); color: var(--ink); font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.lp :where(h1, h2, h3, p, ul, ol, pre) { margin: 0; }
.lp :where(ul, ol) { padding: 0; list-style: none; }
:where(.lp) a { color: inherit; text-decoration: none; }
.lp p a { color: var(--emerald-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lp code { font-family: var(--mono); font-size: .88em; }
.lp :focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.lp-skip { position: absolute; left: -999px; top: .5rem; z-index: 100; padding: .5rem 1rem; background: #fff; color: var(--ink); border-radius: 8px; }
.lp-skip:focus { left: .5rem; }

/* Tombol */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1.05rem; border-radius: 10px; font-size: .92rem; font-weight: 700; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.lp-btn-lg { padding: .85rem 1.5rem; font-size: 1rem; border-radius: 12px; }
.lp-btn-block { width: 100%; }
.lp-btn-solid { background: var(--forest); color: #fff; }
.lp-btn-solid:hover { background: var(--forest-2); }
.lp-btn-mint { background: var(--mint); color: var(--forest); }
.lp-btn-mint:hover { background: #7ae7c1; }
.lp-btn-line { border-color: rgba(255, 255, 255, .28); color: #fff; }
.lp-btn-line:hover { border-color: rgba(255, 255, 255, .6); }
.lp-btn-text { color: var(--muted); }
.lp-btn-text:hover { color: var(--ink); }

/* Navigasi */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lp-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.2rem; }
.lp-logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: .03em; font-size: 1rem; }
.lp-logo svg { width: 2rem; height: 2rem; flex: none; }
.lp-logo-sm svg { width: 1.6rem; height: 1.6rem; }
.lp-links { display: flex; gap: 1.6rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.lp-links a:hover { color: var(--ink); }
.lp-nav-cta { display: flex; align-items: center; gap: .5rem; }

/* Hero */
.lp-hero { background: var(--forest); color: #fff; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem); overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .9rem; border: 1px solid rgba(95, 220, 176, .35); border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--mint); background: rgba(95, 220, 176, .08); }
.lp-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--mint); }
.lp-hero h1 { margin-top: 1.4rem; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.lp-lead { margin-top: 1.2rem; max-width: 52ch; font-size: 1.1rem; color: rgba(255, 255, 255, .74); }
.lp-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.lp-cta-c { justify-content: center; }
.lp-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .88rem; color: rgba(255, 255, 255, .62); }
.lp-facts li { position: relative; padding-left: 1.2rem; }
.lp-facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .4rem; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg) translateY(-30%); }

/* Demo: terminal + ponsel */
.lp-demo { position: relative; padding-bottom: 8.5rem; }
.lp-term { background: #07140f; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); overflow: hidden; }
.lp-term-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .75rem; color: rgba(255, 255, 255, .5); font-family: var(--mono); }
.lp-term-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.lp-term-bar span { margin-left: .6rem; }
.lp-term-body { padding: 1.1rem 1.2rem 1.3rem; font-family: var(--mono); font-size: .78rem; line-height: 1.75; color: #cfe6dc; overflow-x: auto; white-space: pre; min-height: 11rem; }
.lp-term-body code { display: block; }
.t-ln { display: block; }
.t-ok { margin-top: .5rem; color: var(--mint); }
.lp-phone { position: absolute; right: -.5rem; bottom: 0; width: min(15.5rem, 62%); background: var(--wa-bg); border-radius: 22px; border: 6px solid #1c2b25; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .65); overflow: hidden; color: var(--ink); }
.lp-phone-top { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: #0b6b4d; color: #fff; }
.lp-phone-top b { display: block; font-size: .8rem; line-height: 1.2; }
.lp-phone-top small { font-size: .68rem; opacity: .75; }
.lp-avatar { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #fff; color: #0b6b4d; font-weight: 800; font-size: .8rem; }
.lp-chat { min-height: 6.2rem; padding: .9rem .7rem; display: flex; flex-direction: column; justify-content: flex-end; }
.lp-bubble { align-self: flex-end; max-width: 88%; padding: .5rem .65rem .35rem; background: var(--wa-bubble); border-radius: 10px 10px 2px 10px; font-size: .8rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.lp-bubble em { display: flex; align-items: center; justify-content: flex-end; gap: .25rem; margin-top: .2rem; font-style: normal; font-size: .62rem; color: #4a6a5c; }
.lp-bubble svg { width: .85rem; height: .6rem; color: #35a3d8; }

/* Animasi hero: hanya bila JS aktif dan gerak diizinkan */
@media (prefers-reduced-motion: no-preference) {
  .js-demo .t-ln { opacity: 0; transform: translateY(4px); }
  .js-demo .t-ln.is-on { opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .js-demo .lp-bubble { opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom right; }
  .js-demo .lp-bubble.is-on { opacity: 1; transform: none; transition: opacity .3s, transform .35s cubic-bezier(.2, .9, .3, 1.2); }
}

/* Seksi umum */
.lp-sec { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.lp-sec-tint { background: var(--tint); }
.lp-sec-dark { background: var(--forest); color: #fff; }
.lp-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.lp-head-c { margin-inline: auto; text-align: center; }
.lp-head h2, .lp-code-copy h2, .lp-final h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.lp-head p, .lp-code-copy p { margin-top: .9rem; color: var(--muted); font-size: 1.05rem; }

/* Fitur: daftar bergaris, bukan kartu */
.lp-feats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.lp-feats article { padding: 1.8rem 1.6rem 2rem 0; border-bottom: 1px solid var(--line); }
.lp-feats article:not(:nth-child(3n)) { padding-right: 2rem; }
.lp-feats article:not(:nth-child(3n+1)) { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.lp-feats svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: var(--emerald); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-feats h3 { margin-top: 1rem; font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.lp-feats p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }
.lp-feats code { background: var(--tint); padding: .1em .35em; border-radius: 5px; }

/* Langkah (urutan nyata) */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: st; position: relative; }
.lp-steps li { counter-increment: st; position: relative; padding: 3.2rem 1.5rem 0 0; }
.lp-steps li::before { content: counter(st); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--mint); color: var(--forest); font-weight: 800; font-size: .95rem; }
.lp-steps li::after { content: ""; position: absolute; top: 1.1rem; left: 2.8rem; right: .6rem; height: 1px; background: rgba(255, 255, 255, .2); }
.lp-steps li:last-child::after { display: none; }
.lp-steps h3 { font-size: 1.08rem; font-weight: 700; }
.lp-steps p { margin-top: .5rem; color: rgba(255, 255, 255, .7); font-size: .94rem; }
.lp-steps code { color: var(--mint); }

/* Kode */
.lp-code-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lp-code-copy .lp-btn { margin-top: 1.6rem; }
.lp-code-copy code { background: var(--tint); padding: .1em .35em; border-radius: 5px; }
.lp-code { background: #07140f; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(11, 31, 24, .55); min-width: 0; }
.lp-tabs { display: flex; align-items: center; gap: .2rem; padding: .5rem .6rem; border-bottom: 1px solid rgba(255, 255, 255, .08); overflow-x: auto; }
.lp-tabs button { padding: .4rem .8rem; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .55); font: 600 .82rem "Plus Jakarta Sans", sans-serif; cursor: pointer; white-space: nowrap; }
.lp-tabs button:hover { color: #fff; }
.lp-tabs button[aria-selected="true"] { background: rgba(95, 220, 176, .14); color: var(--mint); }
.lp-tabs .lp-copy { margin-left: auto; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .75); }
.lp-code pre { padding: 1.2rem 1.3rem 1.4rem; overflow-x: auto; font-size: .8rem; line-height: 1.7; color: #d5e7df; }
.lp-code pre[hidden] { display: none; }

/* Harga */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.2rem; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.lp-plan { display: flex; flex-direction: column; padding: 1.8rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.lp-plan.is-feat { background: var(--forest); color: #fff; border-color: var(--forest); }
.lp-plan h3 { font-size: 1.1rem; font-weight: 700; }
.lp-price { margin-top: .8rem; display: flex; align-items: baseline; gap: .4rem; }
.lp-price b { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.lp-price span { font-size: .88rem; color: var(--muted); }
.lp-plan.is-feat .lp-price span { color: rgba(255, 255, 255, .6); }
.lp-plan ul { display: flex; flex-direction: column; gap: .6rem; margin: 1.4rem 0 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .93rem; }
.lp-plan.is-feat ul { border-top-color: rgba(255, 255, 255, .16); }
.lp-plan li { position: relative; padding-left: 1.5rem; }
.lp-plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: .65rem; height: .35rem; border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg); }
.lp-plan.is-feat li::before { border-color: var(--mint); }
.lp-plan li.is-note { color: var(--muted); }
.lp-plan li.is-note::before { border: 0; width: .5rem; height: 2px; background: var(--muted); transform: none; top: .8em; }
.lp-plan .lp-btn { margin-top: auto; }
.lp-empty { text-align: center; color: var(--muted); }

/* FAQ */
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lp-faq-grid .lp-head { margin-bottom: 0; position: sticky; top: 6rem; }
.lp-faq { border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 700; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 500; color: var(--emerald); line-height: 1; }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { padding: 0 2rem 1.3rem 0; color: var(--muted); }
.lp-faq code { background: var(--tint); padding: .1em .35em; border-radius: 5px; }

/* CTA akhir + footer */
.lp-final { background: var(--forest); color: #fff; text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.lp-final p { margin-top: .9rem; color: rgba(255, 255, 255, .7); font-size: 1.05rem; }
.lp-foot { background: #07140f; color: rgba(255, 255, 255, .62); padding: 2.5rem 0 1.5rem; font-size: .9rem; }
.lp-foot-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.lp-foot .lp-logo { color: #fff; }
.lp-foot p { margin-top: .8rem; max-width: 38ch; }
.lp-foot nav { display: flex; gap: 1.5rem; font-weight: 600; }
.lp-foot nav a:hover { color: #fff; }
.lp-copy-line { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }

/* Responsif */
@media (max-width: 980px) {
  .lp-links { display: none; }
  .lp-hero-grid, .lp-code-grid, .lp-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-faq-grid .lp-head { position: static; margin-bottom: 1rem; }
  .lp-feats { grid-template-columns: repeat(2, 1fr); }
  .lp-feats article, .lp-feats article:not(:nth-child(3n)), .lp-feats article:not(:nth-child(3n+1)) { padding: 1.6rem 1.2rem; border-left: 0; }
  .lp-feats article:nth-child(even) { border-left: 1px solid var(--line); }
  .lp-feats article:nth-child(odd) { padding-left: 0; }
  .lp-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .lp-steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  .lp-nav-in { height: 3.8rem; }
  .lp-logo span { font-size: .9rem; }
  .lp-btn-text { display: none; }
  .lp-feats { grid-template-columns: 1fr; }
  .lp-feats article:nth-child(even) { border-left: 0; }
  .lp-feats article, .lp-feats article:nth-child(odd) { padding: 1.5rem 0; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-steps li::after { display: none; }
  .lp-steps li { padding-right: 0; }
  .lp-demo { padding-bottom: 8.5rem; }
  .lp-phone { right: 0; }
  .lp-cta .lp-btn { flex: 1 1 100%; }
}
