/* ==========================================================================
   DaftarSunat — landing page (penjualan lisensi)
   ========================================================================== */
:root {
  --ink: #0b1a30;
  --ink-soft: #33475f;
  --muted: #6b7f99;
  --line: #dde7f3;
  --primary: #1b62d4;
  --primary-dark: #1450b4;
  --teal: #0d8f83;
  --bg: #f5f9ff;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.2; font-weight: 750; }
p { margin: 0; }
a { color: var(--primary); text-decoration: none; }
.wrap { width: min(1140px, 100% - 40px); margin: 0 auto; }
.ic { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* nav */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 231, 243, .8);
}
.top-in { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; font-size: 16px; letter-spacing: -.02em; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, #1b62d4, #0d8f83);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 18px -10px rgba(27, 98, 212, .9);
}
.brand .logo .ic { width: 20px; height: 20px; stroke-width: 2; }
.top-links { display: flex; gap: 22px; margin-left: 12px; }
.top-links a { color: var(--ink-soft); font-size: 14px; font-weight: 550; }
.top-links a:hover { color: var(--primary); }
.top-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font-size: 14px; font-weight: 650; font-family: inherit; transition: .15s; white-space: nowrap;
}
.btn:hover { border-color: #b9cbe1; color: var(--ink); background: #fbfdff; }
.btn-primary { background: linear-gradient(180deg, #2269dd, #1b5fce); border-color: #1b5fce; color: #fff; box-shadow: 0 10px 22px -14px rgba(27, 95, 206, .95); }
.btn-primary:hover { background: linear-gradient(180deg, #1c5fcc, #1450b4); border-color: #1450b4; color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--primary-dark); }
.btn-ghost:hover { background: #eaf2ff; border-color: transparent; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 9px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 78px;
  background:
    radial-gradient(900px 420px at 12% -10%, #e2ecff 0%, rgba(226, 236, 255, 0) 60%),
    radial-gradient(700px 380px at 100% 0%, #e0f5f2 0%, rgba(224, 245, 242, 0) 55%);
}
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: #e9f1fe; color: var(--primary-dark);
  border: 1px solid #cfe0fb; border-radius: 999px;
  padding: 5px 13px; font-size: 12.5px; font-weight: 650; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.hero h1 span { background: linear-gradient(120deg, #1b62d4, #0d8f83); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-top: 16px; font-size: 16.5px; color: var(--ink-soft); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats .v { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.hero-stats .l { font-size: 12.5px; color: var(--muted); }

.mock {
  background: #fff; border-radius: 20px; border: 1px solid var(--line);
  box-shadow: 0 34px 70px -40px rgba(11, 34, 66, .45);
  overflow: hidden;
}
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafcff; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7e2f0; }
.mock-body { padding: 16px; display: grid; gap: 10px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; }
.mock-row .no { width: 30px; height: 30px; border-radius: 9px; background: #e9f1fe; color: var(--primary-dark); display: grid; place-items: center; font-weight: 750; font-size: 12.5px; flex: none; }
.mock-row .nm { font-weight: 650; font-size: 13.5px; }
.mock-row .dt { font-size: 11.5px; color: var(--muted); }
.mock-pill { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #e4f6ee; color: #0a6f4c; }

/* sections */
.section { padding: 68px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { margin-top: 10px; color: var(--ink-soft); }

.fitur-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fitur {
  background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.fitur .ic-box { width: 40px; height: 40px; border-radius: 12px; background: #e9f1fe; color: var(--primary); display: grid; place-items: center; }
.fitur h3 { font-size: 15.5px; }
.fitur p { font-size: 13.5px; color: var(--ink-soft); }

.paket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.paket {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px; position: relative;
}
.paket.populer { border-color: #b9d2f8; box-shadow: 0 24px 50px -34px rgba(27, 98, 212, .7); }
.paket .tag {
  position: absolute; top: -12px; right: 20px; background: linear-gradient(120deg, #1b62d4, #0d8f83);
  color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.paket h3 { font-size: 16px; }
.paket .harga { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.paket .per { font-size: 12.5px; color: var(--muted); }
.paket ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 9px; }
.paket li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
.paket li .ic { width: 15px; height: 15px; color: var(--teal); margin-top: 3px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 22px; position: relative; }
.step .n {
  width: 30px; height: 30px; border-radius: 9px; background: #e9f1fe; color: var(--primary-dark);
  display: grid; place-items: center; font-weight: 750; font-size: 13px; margin-bottom: 12px;
}
.step h3 { font-size: 14.5px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--ink-soft); }

.cta-band {
  background: linear-gradient(120deg, #12499f, #0d7c72);
  color: #fff; border-radius: 22px; padding: 40px; display: flex; align-items: center;
  justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 26px; }
.cta-band p { color: rgba(255, 255, 255, .82); margin-top: 8px; font-size: 14px; }
.cta-band .btn { background: #fff; color: #12499f; border-color: #fff; }
.cta-band .btn:hover { background: #f2f7ff; color: #12499f; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

footer.site {
  border-top: 1px solid var(--line); background: #fff;
  padding: 34px 0; font-size: 13px; color: var(--muted);
}
footer.site .in { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--primary); }

/* modal + form */
.backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(10, 25, 46, .48);
  backdrop-filter: blur(3px); display: grid; place-items: center; padding: 18px; animation: fade .16s;
}
.modal {
  width: min(620px, 100%); max-height: 90dvh; overflow-y: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 30px 70px -30px rgba(9, 24, 46, .6);
  padding: 24px; animation: pop .18s;
}
.modal h3 { font-size: 18px; }
.modal .sub { color: var(--muted); font-size: 13px; margin-top: 3px; }
.modal-x {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--muted);
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985) } to { opacity: 1; transform: none } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 15px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 650; color: var(--ink-soft); }
.field .hint { font-size: 11.5px; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; min-width: 0;
}
.textarea { height: auto; min-height: 78px; padding: 10px 13px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: #8ab4f0; box-shadow: 0 0 0 3.5px rgba(27, 98, 212, .13); }
.alert { padding: 12px 14px; border-radius: 11px; font-size: 13.5px; border: 1px solid; }
.alert.info { background: #eef5ff; border-color: #cfe0fb; color: #1a4f9e; }
.alert.ok { background: #e9f9f0; border-color: #bfe8d3; color: #0a6f4c; }
.alert.err { background: #fdecee; border-color: #f6c9cf; color: #a8202f; }
.rowc { display: flex; gap: 10px; align-items: center; }
.rowc.between { justify-content: space-between; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.toasts { position: fixed; top: 16px; right: 16px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.toast { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: 12px; padding: 12px 14px; box-shadow: 0 16px 34px -22px rgba(11, 34, 66, .5); font-size: 13.5px; max-width: 340px; }
.toast.ok { border-left-color: #0f8a5f; }
.toast.err { border-left-color: #d92d3f; }


/* --- brand "by drSarwo" --- */
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-by { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.hero-tags { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-tags .eyebrow { margin-bottom: 0; }
.by-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 12.5px; color: var(--ink-soft); font-weight: 550;
}
.by-badge .ic { color: #e0568a; }
.by-badge b { color: var(--ink); font-weight: 750; }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .fitur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-links { display: none; }
}
@media (max-width: 620px) {
  .fitur-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .top-actions { gap: 6px; }
  .top-actions .btn { height: 36px; padding: 0 11px; font-size: 12.5px; }
  .top-actions .btn-ghost { display: none; }
  .wrap { width: min(1140px, 100% - 28px); }
  .hero { padding: 42px 0 54px; }
  .section { padding: 48px 0; }
  .cta-band { padding: 28px; }
  .top-in { height: 60px; gap: 12px; }
  .top-actions .btn span { display: none; }
}
