:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0f766e;
  --primary-hover: #0d5e58;
  --accent: #f59e0b;
  --border: #e2e8f0;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ccfbf1;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.promo-pill {
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
}

main.container {
  padding-top: 24px;
  padding-bottom: 48px;
}

.card, .hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.hero-card {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  color: #ffffff;
  border: none;
}

.hero-card .eyebrow {
  color: #99f6e4;
}

.hero-card h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 8px 0 12px;
  line-height: 1.2;
}

.hero-sub {
  color: #e2e8f0;
  margin-bottom: 20px;
}

.price-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.price-old {
  text-decoration: line-through;
  color: #cbd5e1;
  font-size: 14px;
  margin-right: 8px;
}

.price-now {
  font-size: 26px;
  color: #fde68a;
}

.price-note {
  font-size: 13px;
  color: #e2e8f0;
}

.hero-card .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.inline-form {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.inline-form input {
  flex: 1;
  min-width: 220px;
}

.grid-2, .grid-3 {
  display: grid;
  gap: 14px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: #ffffff;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid #99f6e4;
  border-color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}
.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary {
  background: #eef2ff;
  color: #3730a3;
  border-color: #c7d2fe;
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 12px;
}

.btn-telegram {
  background: #0088cc;
  color: #ffffff;
  margin-top: 12px;
}

.btn-full { width: 100%; }

.sub-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
}

.sub-box-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.sub-box h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 13px;
  cursor: pointer;
}

.chip.selected {
  background: #ccfbf1;
  border-color: var(--primary);
  color: #0f766e;
  font-weight: 600;
}

.rec-box {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.rec-item {
  background: #ffffff;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin: 12px 0;
  cursor: pointer;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.center-card {
  text-align: center;
  padding: 36px 24px;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.summary-banner {
  background: #f0fdfa;
  border-left: 4px solid var(--primary);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.timeline-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #ffffff;
}

.timeline-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.approval-box {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.success-banner {
  margin-top: 16px;
  background: #dcfce7;
  color: #166534;
  padding: 14px;
  border-radius: 10px;
}

.error-text {
  color: #dc2626;
  font-size: 13px;
  margin-top: 8px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding-bottom: 32px;
}

.hidden { display: none !important; }

.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-accent {
  background: #f59e0b;
  color: #0f172a;
}
.btn-accent:hover { background: #d97706; color: #ffffff; }

.privacy-badge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #334155;
  margin-bottom: 12px;
}

.privacy-badge.cleaned {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 50;
}

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.qris-frame {
  margin: 14px auto;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  max-width: 280px;
}

.qris-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
