:root {
  --green: #1f6f50;        /* warna ikon aplikasi */
  --green-dark: #155a40;
  --green-50: #ecf6f1;
  --green-100: #d3ebdf;
  --ink: #12201a;
  --text: #2b3a33;
  --muted: #5b6b64;
  --line: #dfe7e3;
  --bg: #fbfcfb;
  --card: #ffffff;
  --amber: #b45309;
  --amber-bg: #fff7e6;
  --wa: #128c4a;
  --wa-dark: #0e7a40;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 32, 26, .06), 0 8px 24px rgba(18, 32, 26, .06);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--green); }
code, .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
code { background: var(--green-50); padding: .05em .35em; border-radius: 4px; font-size: .9em; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Draft banner ---------- */
.draft-banner {
  background: var(--amber-bg); color: #6b3a06; border-bottom: 1px solid #f5d9a8;
  padding: 10px 20px; font-size: .875rem; text-align: center;
}
.draft-banner strong { color: #5a2f03; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.2em; height: 1.2em; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--green-50); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-link { background: none; color: var(--green); border: 0; padding-inline: 4px; text-decoration: underline; }
.btn-link.danger { color: var(--danger); }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(251, 252, 251, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--green); }
@media (max-width: 760px) { .nav { display: none; } .topbar .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, var(--green-100), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .75em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
.lead { font-size: 1.125rem; color: var(--text); max-width: 36em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .925rem; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 6px; }
.hero-facts svg { color: var(--green); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } }

/* Mock window */
.mock { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(18, 32, 26, .12); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f6f4; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #cfd8d3; }
.mock-title { margin-left: 8px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.mock-body { padding: 18px; }
.mock-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .875rem; color: var(--ink); margin-bottom: 14px; }
.mock-search svg { color: var(--muted); }
.mock-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .85rem; }
.mrow { display: grid; grid-template-columns: 1.6fr .6fr 1fr; padding: 9px 12px; border-top: 1px solid var(--line); }
.mrow:first-child { border-top: 0; }
.mhead { background: var(--green); color: #fff; font-weight: 600; }
.mrow:not(.mhead) span:last-child { font-family: ui-monospace, Consolas, monospace; }
.mock-export { display: flex; gap: 8px; margin-top: 14px; }
.chip { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-dark); }
.mock figcaption { font-size: .75rem; color: var(--muted); padding: 0 18px 12px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tint { background: #f2f7f4; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-align: center; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); max-width: 40em; margin: 0 auto 40px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature h3 { font-size: 1.1rem; margin-top: 14px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.ficon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--green-50); color: var(--green); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.massal-grid, .req-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .massal-grid, .req-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.stats { display: grid; gap: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: baseline; gap: 14px; }
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--green); white-space: nowrap; }
.stat-label { color: var(--muted); font-size: .95rem; }
.note { display: flex; gap: 12px; background: var(--amber-bg); border: 1px solid #f5d9a8; border-radius: var(--radius); padding: 16px 18px; font-size: .92rem; color: #4a3209; }
.note svg { width: 22px; height: 22px; color: var(--amber); margin-top: 2px; }
.note p { margin: 0; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps h3 { font-size: 1.05rem; margin-top: 12px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); justify-content: center; gap: 24px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--green); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--green); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; margin: 0; }
.plan-for { color: var(--muted); font-size: .92rem; margin: 4px 0 18px; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1; }
.plan-price.placeholder { font-size: 1.2rem; color: var(--amber); background: var(--amber-bg); padding: 8px 10px; border-radius: 8px; display: inline-block; }
.plan-strike { color: var(--muted); text-decoration: line-through; font-size: 1rem; margin-left: 8px; font-weight: 500; }
.plan-once { color: var(--muted); font-size: .85rem; margin: 6px 0 20px; }
.plan .ticks { margin-bottom: 24px; flex: 1; }
.plan .btn { width: 100%; }

.buy-steps { max-width: 760px; margin: 48px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.buy-steps h3 { font-size: 1.1rem; }
.buy-steps ol { margin: 0 0 12px; padding-left: 1.3em; }
.buy-steps li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--ink); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--green); font-weight: 500; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; margin: 0; color: var(--text); }
.faq-more { margin-top: 28px; }

.placeholder-text { background: var(--amber-bg); color: var(--amber); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ---------- Final CTA & footer ---------- */
.final-cta { background: var(--green); color: #e4f3ec; }
.final-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.final-cta p { margin-bottom: 24px; }
.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer p { margin: 0 0 4px; }

/* ---------- Checkout dialog ---------- */
.checkout {
  width: min(560px, 100% - 24px); max-height: calc(100dvh - 24px); border: 0; border-radius: 18px;
  padding: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); color: var(--text);
}
.checkout::backdrop { background: rgba(10, 20, 16, .55); }
.co-close-form { position: absolute; top: 14px; right: 14px; margin: 0; }
.co-close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--muted); }
.co-close:hover { background: var(--green-50); color: var(--ink); }
.co-close svg { width: 22px; height: 22px; }
.checkout h2 { font-size: 1.4rem; padding-right: 40px; }
.co-progress { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 22px; counter-reset: p; }
.co-progress li { flex: 1; font-size: .8rem; font-weight: 600; color: var(--muted); padding-top: 8px; border-top: 4px solid var(--line); counter-increment: p; }
.co-progress li::before { content: counter(p) ". "; }
.co-progress li.active { color: var(--green); border-color: var(--green); }
.co-progress li.past { color: var(--green-dark); border-color: var(--green-100); }

fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.paket-opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.paket-opt:has(input:checked) { border-color: var(--green); background: var(--green-50); }
.paket-opt input { width: 18px; height: 18px; accent-color: var(--green); }
.paket-opt .po-name { font-weight: 600; color: var(--ink); flex: 1; }
.paket-opt .po-price { font-weight: 700; white-space: nowrap; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c9d5cf; border-radius: 10px;
  font: 400 1rem var(--font); color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--green-100); border-color: var(--green); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.err { font-size: .85rem; color: var(--danger); margin: 4px 0 0; min-height: 0; }
.err:empty { display: none; }

.transfer { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.transfer > div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); align-items: center; }
.transfer > div:first-child { border-top: 0; }
.transfer dt { color: var(--muted); font-size: .9rem; }
.transfer dd { margin: 0; color: var(--ink); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.transfer .total { background: var(--green-50); }
.transfer .total .big { color: var(--green-dark); font-size: 1.35rem; }
.big { font-size: 1.15rem; font-weight: 700; }
.transfer .hint { flex-basis: 100%; margin: 0; font-weight: 400; }
.btn-copy { min-height: 32px; padding: 4px 10px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font: 600 .8rem var(--font); color: var(--green); cursor: pointer; }
.btn-copy:hover { border-color: var(--green); }
.btn-copy.ok { background: var(--green); color: #fff; border-color: var(--green); }
@media (max-width: 480px) { .transfer > div { grid-template-columns: 1fr; gap: 2px; } .checkout { padding: 22px 18px; } }

.proof-note { display: flex; gap: 12px; background: var(--amber-bg); border: 1px solid #f5d9a8; border-radius: 12px; padding: 14px 16px; margin: 6px 0 18px; font-size: .92rem; }
.proof-note svg { width: 22px; height: 22px; color: var(--amber); margin-top: 2px; }
.proof-note p { margin: 0; }

.co-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.co-actions.stack { flex-direction: column; align-items: stretch; }
.co-actions.stack .btn-link { align-self: center; }

.done { text-align: center; padding: 8px 0; }
.done > svg { width: 56px; height: 56px; color: var(--green); }
.done h3 { margin-top: 10px; }

/* ---------- Resume bar ---------- */
.resume {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  background: var(--ink); color: #fff; padding: 10px 12px 10px 18px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: .92rem; width: max-content; max-width: calc(100% - 24px);
}

.field textarea { resize: vertical; line-height: 1.5; }
.field textarea.mono { font-family: Consolas, 'SFMono-Regular', Menlo, monospace; letter-spacing: .04em; }
