:root {
  --primary: #ff7a1a;
  --primary-dark: #f06608;
  --primary-deep: #dd5205;
  --primary-light: #fff1e6;
  --accent: #ffb020;
  --accent-soft: #fff4da;
  --ink: #221208;
  --ink-soft: #6b5340;
  --bg: #ffffff;
  --bg-alt: #fff6ee;
  --line: #ffdcc2;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(34, 18, 8, 0.1);
  --shadow-sm: 0 4px 14px rgba(34, 18, 8, 0.08);
  --grad-h: linear-gradient(135deg, #ffa64d 0%, #ff7a1a 55%, #f06608 100%);
  --grad-deep: linear-gradient(135deg, #ff7a1a 0%, #f06608 100%);
  --grad-gold: linear-gradient(135deg, #ffe28f 0%, #ffb020 100%);
  --glow: 0 12px 30px rgba(255, 122, 26, 0.28);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input[type="range"] { cursor: pointer; }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background-image: var(--grad-h); color: #fff; box-shadow: 0 6px 18px rgba(10, 124, 74, 0.3); }
.btn-primary:hover { background-image: var(--grad-deep); box-shadow: var(--glow); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: var(--primary-light); color: var(--primary-dark); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25d366; color: #0b3d21; }
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-whatsapp:hover { background: #1fbb59; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn.full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand > strong {
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.1;
  color: var(--ink);
}
.brand-text em {
  font-family: inherit;
  font-style: normal;
  text-transform: uppercase;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  color: var(--ink-soft);
}
.site-footer .brand > strong { color: #fff; }
.site-footer .brand-text em { color: rgba(255, 255, 255, 0.7); }

.nav { display: flex; gap: 22px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.nav a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none; border: none; font-size: 26px; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff1e4 0%, #fffaf4 60%, #fff 100%); padding-top: 44px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(42vw 42vw at 82% 8%, rgba(199, 162, 39, 0.1), transparent 60%);
}
.badge {
  display: inline-block;
  background: linear-gradient(90deg, #ffeec7, #fff 70%);
  color: #96660a;
  font-size: 13px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(199, 162, 39, 0.35);
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; font-weight: 800; letter-spacing: -0.5px; }
.hero h1 span { color: var(--primary); }
.hero-copy p { margin-block: 16px 22px; color: var(--ink-soft); font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-points { display: grid; grid-template-columns: 1fr; gap: 10px; }
.hero-points li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.hero-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  border-radius: 50%; font-size: 13px;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 360px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(13, 175, 111, 0.2), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(199, 162, 39, 0.16), transparent 55%);
  border-radius: 50%;
}
.hv-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
}
.hero-card {
  flex: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #ffe0ca;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
  padding: 14px 18px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  will-change: transform;
}
.card-major {
  flex: 1.3;
  background: linear-gradient(180deg, #ffffff 0%, #fff3ea 100%);
  box-shadow: 0 10px 26px rgba(255, 122, 26, 0.18);
}
.hero-card strong { font-size: 22px; line-height: 1.2; color: var(--primary-dark); }
.hero-card span { color: var(--ink-soft); font-size: 13px; line-height: 1.35; }
.card-major strong { font-size: 24px; }

.hero-stats { background: var(--ink); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 20px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 26px; color: var(--accent); }
.stat span { font-size: 13.5px; opacity: .85; }

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 32px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; letter-spacing: -.3px; margin-bottom: 8px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px;
  display: flex; flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card.featured { border-color: var(--primary); border-width: 2px; position: relative; }
.product-card.featured::after {
  content: "Populer";
  position: absolute; top: -13px; left: 26px;
  background: var(--accent); color: #3a2c00;
  font-size: 11.5px; font-weight: 800;
  padding: 4px 12px; border-radius: 999px;
}
.product-icon {
  width: 60px; height: 60px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(14, 164, 90, 0.35);
}
.product-icon svg { width: 32px; height: 32px; }
.product-card h3 { font-size: 21px; font-weight: 800; }
.product-card p { color: var(--ink-soft); font-size: 14.5px; }
.product-card ul { display: grid; gap: 8px; margin-block: 4px; }
.product-card li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.product-card li::before { content: "•"; color: var(--primary); font-weight: 900; }
.product-card li strong { color: var(--ink); }
.product-card .btn { margin-top: auto; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { text-align: center; padding: 24px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 52px; height: 52px;
  display: inline-grid; place-items: center;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 14px;
  margin-bottom: 12px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Simulator ---------- */
.sim-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin-inline: auto;
  overflow: hidden;
}
.sim-tabs { display: flex; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.sim-tab {
  flex: 1;
  padding: 16px 10px;
  border: none; border-bottom: 3px solid transparent;
  background: transparent;
  font-weight: 700; font-size: 14.5px; color: var(--ink-soft);
  transition: color .15s ease;
}
.sim-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: #fff; }
.sim-fields { padding: 30px 32px; display: grid; gap: 26px; }
.field span { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.field strong { color: var(--primary-dark); }
input[type="range"] { width: 100%; accent-color: var(--primary); }
.range-hint { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.tenor-options { display: flex; flex-wrap: wrap; gap: 10px; }
.tenor-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 700; font-size: 13.5px; color: var(--ink-soft);
  transition: all .15s ease;
}
.tenor-btn.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); }
.sim-result { background: var(--bg-alt); padding: 26px 32px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.result-line { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.result-line:last-of-type { border-bottom: none; }
.result-line span { color: var(--ink-soft); font-size: 14px; }
.result-line strong { font-size: 20px; color: var(--primary-dark); }
.disclaimer { font-size: 12px; color: #85988f; margin-top: 4px; }
.sim-result .btn { margin-top: 12px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; padding: 24px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative; }
.step-num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  margin-inline: auto; margin-bottom: 10px;
  background: var(--primary); color: #fff;
  font-weight: 800; font-size: 17px;
  border-radius: 50%;
}
.step h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Documents ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 18px; text-align: center; }
.doc-icon {
  width: 48px; height: 48px;
  display: inline-grid; place-items: center;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 13px;
  margin-bottom: 10px;
}
.doc-icon svg { width: 24px; height: 24px; }
.doc h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.doc p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700; font-size: 15.5px;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; color: var(--primary); font-size: 20px; }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { padding: 0 22px 18px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta { background: var(--grad-deep); color: #fff; padding-block: 48px; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 85% 15%, rgba(236, 210, 134, 0.28), transparent 60%),
              radial-gradient(40% 90% at 10% 90%, rgba(13, 175, 111, 0.35), transparent 60%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 6px; }
.cta p { opacity: .9; max-width: 460px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #ecd9c6; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 44px 32px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; margin-bottom: 10px; max-width: 320px; }
.footer-brand .muted { color: #a08b78; font-size: 12.5px; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.footer-col a { font-size: 14px; color: #ecd9c6; }
.footer-col a:hover { color: var(--accent); }
.footer-col .muted { font-size: 13px; color: #a08b78; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 14px; }
.footer-bottom p { font-size: 12.5px; text-align: center; color: #a08b78; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-float-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes wa-ping {
  0%   { transform: scale(1); opacity: 0.45; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px; }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 56px; }
  .hero-visual { min-height: 300px; }
  .card-grid, .feature-grid, .steps, .doc-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { padding-top: 40px; }
  .card-grid, .feature-grid, .steps, .doc-grid, .stats-inner, .footer-inner { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 330px; }
  .sim-fields, .sim-result { padding: 22px 20px; }
  .cta { text-align: center; }
  .cta-actions { justify-content: center; }
}

/* ---------- Layar sangat kecil (< 350px) ---------- */
@media (max-width: 350px) {
  body { overflow-x: hidden; }
  .container { width: 100%; padding-inline: 14px; }

  .hero { padding-top: 28px; }
  .hero h1 { font-size: 27px; }
  .hero-copy p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 300px; gap: 10px; }
  .hero-card { padding: 13px 15px; }
  .card-major strong { font-size: 20px; }
  .hero-card strong { font-size: 16px; }

  .section { padding-block: 40px; }
  .section-head h2 { font-size: 23px; }
  .product-card { padding: 20px 18px; }
  .product-card .btn { width: 100%; }

  .sim-tabs { flex-direction: column; }
  .sim-tab { border-bottom: 1px solid var(--line); }
  .sim-tab.active { border-bottom-color: var(--primary); }
  .sim-fields, .sim-result { padding: 20px 16px; }
  #amountLabel, #amountMax { overflow-wrap: anywhere; }
  .range-hint { gap: 8px; }
  .result-line { flex-direction: column; align-items: flex-start; gap: 2px; }
  .result-line strong, .disclaimer { overflow-wrap: anywhere; }

  .btn { padding: 12px 18px; font-size: 14px; }
  .stat strong { font-size: 22px; }
  .cta h2 { font-size: 21px; }
  .footer-inner { gap: 28px; }
}