/* Warna sama dengan aplikasi (fe/src/assets/style.css). */
:root {
  --primary: #65232b;
  --secondary: #ecaab2;
  --tertiary: #fffaeb;
  --ink: #351d21;
  --muted: #7c6065;
  --paper: #fffbfd;
  --line: #efd9d4;
  --gold: #c4a679;
  --pink: #f17080;
  --shadow: 0 16px 45px rgba(101, 35, 43, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
img, svg { display: block; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Tombol */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #4f1a21; }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 251, 253, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.top .btn { min-height: 38px; padding: 0 18px; }

/* Hero */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, var(--tertiary), var(--paper)); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); color: var(--primary); }
.lead { margin: 18px 0 28px; color: var(--muted); font-size: 18px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.card-head { display: flex; flex-direction: column; gap: 4px; }
.card-head span { color: var(--muted); font-size: 14px; }
.card-head strong { font-size: 28px; color: var(--primary); }
.meter { margin-top: 18px; height: 10px; border-radius: 999px; background: var(--tertiary); overflow: hidden; }
.meter-fill { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--primary)); }
.meter-note { margin: 8px 0 16px; color: var(--muted); font-size: 14px; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.tag { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag-paid { background: #e7f4ec; color: #2d6a45; }
.tag-dp { background: var(--tertiary); color: #8a6a2e; }
.tag-due { background: #fde8eb; color: #a94d59; }

/* Fitur */
.features { padding: 72px 0; }
.features h2, .steps h2 { font-size: clamp(24px, 3.5vw, 32px); color: var(--primary); text-align: center; margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.feature svg { width: 28px; height: 28px; stroke: var(--pink); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Langkah */
.steps { padding: 72px 0; background: var(--tertiary); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-list li { background: #fff; border-radius: 18px; padding: 22px; border: 1px solid var(--line); }
.num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step-list h3 { font-size: 18px; margin-bottom: 6px; color: var(--primary); }
.step-list p { margin: 0; color: var(--muted); font-size: 15px; }

/* Ajakan */
.cta { padding: 64px 0; background: var(--primary); color: #fff; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta h2 { font-size: clamp(24px, 3.5vw, 32px); }

/* Footer */
.foot { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 60px; width: auto; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--primary); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .features, .steps { padding: 48px 0; }
}

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