:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f9f8;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #d7f0ec;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -16px rgba(15, 23, 42, .18);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-dark); }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.wrap.narrow { width: min(760px, calc(100% - 40px)); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 17px;
}
.brand-text { font-weight: 800; letter-spacing: -.01em; }
.brand-text span { color: var(--brand); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--brand-dark); }
.nav a.btn { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 10px; border: 1px solid var(--brand);
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--brand); }
.btn-outline { background: #fff; color: var(--brand-dark); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, #f7fbfa 0%, #fff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-dark);
  background: var(--brand-soft); padding: 6px 11px; border-radius: 999px;
}
h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 16px; }
.lead { font-size: 17px; color: var(--ink-soft); max-width: 54ch; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 26px 0 0; }
.hero-points li { font-size: 14px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--brand); font-weight: 800;
}

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px #dcfce7; }
.badge-live { margin-left: auto; font-size: 11.5px; font-weight: 700; color: #15803d; background: #dcfce7; padding: 3px 9px; border-radius: 999px; }
.stat-list { margin: 0; padding: 6px 0 0; }
.stat-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.stat-list dt { color: var(--muted); font-size: 13.5px; }
.stat-list dd { margin: 0; font-weight: 700; font-size: 13.5px; }
.card-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 74px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-title { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -.02em; margin: 0 0 8px; }
.section-sub { color: var(--muted); margin: 0 0 36px; max-width: 60ch; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .num { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--brand); }
.card h3 { margin: 8px 0 8px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.feature { padding: 22px 22px 24px; border-left: 3px solid var(--brand); background: #fff; border-radius: 8px; }
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
code {
  background: #f1f5f9; border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 5px; font-size: .92em;
}

/* ---------- pricing ---------- */
.pricing { align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.plan-featured { border-color: var(--brand); box-shadow: 0 18px 44px -22px rgba(15, 118, 110, .45); }
.plan-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .02em;
}
.plan h3 { margin: 0; font-size: 19px; }
.plan-for { color: var(--muted); font-size: 13.5px; margin: 4px 0 16px; }
.price { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 18px; }
.price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price .unit { font-size: 14px; font-weight: 500; margin-left: 4px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; }
.plan li { font-size: 14.5px; color: var(--ink-soft); padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.plan .btn { margin-top: auto; }
.fineprint { color: var(--muted); font-size: 12.5px; margin: 20px 0 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step > span {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark);
  font-weight: 800; font-size: 15px;
}
.step h3 { margin: 14px 0 6px; font-size: 16.5px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- faq ---------- */
details {
  border: 1px solid var(--line); border-radius: 10px; padding: 0 18px;
  background: #fff; margin-bottom: 10px;
}
details[open] { border-color: #cbd5e1; }
summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-weight: 700; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- cta + form ---------- */
.section-cta { background: #0b1f1d; color: #e7f5f2; }
.section-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.cta-copy p { color: #a8c3bf; margin: 0 0 20px; }
.cta-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cta-points li { padding-left: 22px; position: relative; color: #cfe3e0; font-size: 14.5px; }
.cta-points li::before { content: "✓"; position: absolute; left: 0; color: #5eead4; font-weight: 800; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field label span { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 14.5px;
  color: var(--ink); background: #fff;
  border: 1px solid #cbd5e1; border-radius: 9px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin: 6px 0 18px; }
.check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--brand); }
.form-note { min-height: 20px; margin: 12px 0 0; font-size: 13.5px; }
.form-note.ok { color: #15803d; }
.form-note.err { color: #b91c1c; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.muted { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 18px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .18s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; border-bottom: 0; justify-content: center; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- animasi scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s cubic-bezier(.22, .68, .32, 1),
    transform .65s cubic-bezier(.22, .68, .32, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* jeda bertahap untuk elemen dalam grid */
.js .grid-3 > [data-reveal]:nth-child(2),
.js .steps > [data-reveal]:nth-child(2) { --reveal-delay: 90ms; }
.js .grid-3 > [data-reveal]:nth-child(3),
.js .steps > [data-reveal]:nth-child(3) { --reveal-delay: 180ms; }
.js .grid-3 > [data-reveal]:nth-child(4) { --reveal-delay: 90ms; }
.js .grid-3 > [data-reveal]:nth-child(5) { --reveal-delay: 150ms; }
.js .grid-3 > [data-reveal]:nth-child(6) { --reveal-delay: 210ms; }

/* hero tampil lebih dulu, tanpa menunggu scroll */
.js .hero [data-reveal] { transition-duration: .8s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
