/* PERKASAFASTOTP — Pink Blossom Love Edition
   Sistem desain tunggal untuk situs publik, dashboard pengguna, dan panel admin.
   Warna brand mengikuti palet Pink Blossom; teks utama tetap gelap agar mudah dibaca. */

@charset "UTF-8";

:root {
  /* palet utama */
  --blossom: #FFB7D5;
  --soft-rose: #F9A8C8;
  --romantic: #EC78AC;
  --deep-rose: #D94F8C;
  --pale-pink: #FFF0F6;
  --sakura-white: #FFFAFC;
  --cream: #FFFDFB;
  --white: #FFFFFF;
  --ink: #35232D;
  --muted: #9B8290;
  --text-muted: #735D69;          /* #9B8290 dipakai untuk dekor; teks kecil memakai versi yang lebih gelap agar terbaca */
  --border: #F4DCE7;
  /* warna tambahan, pemakaian terbatas */
  --peach: #FFD6C9;
  --lavender: #E8D5F7;
  --sakura-green: #B8D8B0;
  /* status */
  --ok: #3A7A55;   --ok-bg: #EAF6EE;   --ok-line: #C6E6D0;
  --wait: #A2573A; --wait-bg: #FFF1EA; --wait-line: #F7D3C2;
  --bad: #B3314F;  --bad-bg: #FDEBF1;  --bad-line: #F5C2D2;
  --info: #6A4B8C; --info-bg: #F5EEFB; --info-line: #E2D2F3;

  --shadow-sm: 0 2px 10px -6px rgba(217, 79, 140, .28);
  --shadow: 0 18px 40px -22px rgba(217, 79, 140, .42);
  --r: 18px;
  --r-sm: 12px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font: 400 16px/1.65 var(--sans);
  color: var(--ink);
  background: var(--sakura-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 92% -8%, rgba(255, 183, 213, .30), transparent 62%),
    radial-gradient(760px 500px at -8% 42%, rgba(249, 168, 200, .18), transparent 60%);
}
::selection { background: var(--blossom); color: var(--ink); }
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 600; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 2.8vw, 30px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(236, 120, 172, .45);
  outline-offset: 2px;
  border-radius: 6px;
}
main { position: relative; z-index: 1; display: block; overflow-x: hidden; overflow-x: clip; }
.muted { color: var(--text-muted); }
.small { font-size: 13.5px; }
.sm { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; word-break: break-all; }
.link { color: var(--deep-rose); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pos { color: var(--ok); }
.neg { color: var(--bad); }
.big { font: 600 clamp(28px, 4vw, 40px)/1.1 var(--display); color: var(--ink); }
.w60 { max-width: 60%; }
.w80 { max-width: 80%; }
.block { display: block; }
.grow { flex: 1; min-width: 0; }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--text-muted); }
.prose { max-width: 72ch; line-height: 1.8; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; }

/* ---------- layout dasar ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; }
.wrap.narrow, .narrow { max-width: 760px; }
.section { padding-top: 64px; padding-bottom: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2, .section-head h3 { margin: 4px 0 0; }
.sec-no { display: block; font: 700 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--deep-rose); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--pale-pink); color: var(--deep-rose);
  font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--romantic); }
.row { display: flex; align-items: center; }
.row.gap, .gap { gap: 12px; }
.wrap-row { flex-wrap: wrap; }
.spaced { justify-content: space-between; }
.end { justify-content: flex-end; }
.center { text-align: center; }
.center-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.center-box { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 40px 20px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid.kpis, .kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.grid.svc-grid, .svc-grid { grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); }
.slot { display: grid; gap: 10px; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid transparent; border-radius: 12px;
  font: 700 15px/1.1 var(--sans); color: var(--ink); text-decoration: none; text-align: center;
  background: var(--white); border-color: var(--border);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--deep-rose); border-color: var(--deep-rose); color: #fff; box-shadow: 0 12px 24px -14px rgba(217, 79, 140, .8); }
.btn-primary:hover { background: #C94583; border-color: #C94583; box-shadow: 0 16px 28px -14px rgba(217, 79, 140, .9); }
.btn-secondary { background: var(--white); border-color: var(--soft-rose); color: var(--deep-rose); }
.btn-secondary:hover { background: var(--pale-pink); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { background: var(--pale-pink); border-color: var(--soft-rose); }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 14px; border-radius: 10px; }
.btn-xs { min-height: 28px; padding: 4px 10px; font-size: 12.5px; border-radius: 8px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- ikon ---------- */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.btn .ic, .nav-links .ic, .side .ic { margin-top: -1px; }

/* ---------- badge & alert ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 4px 11px; border-radius: 999px; border: 1px solid var(--wait-line);
  background: var(--wait-bg); color: var(--wait);
  font: 700 12px/1.3 var(--sans);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge-ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.badge-bad { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.badge-wait { background: var(--wait-bg); color: var(--wait); border-color: var(--wait-line); }

.alert {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 16px; padding: 12px 14px;
  border: 1px solid; border-radius: var(--r-sm); font-size: 14px; line-height: 1.5;
}
.alert .ic { margin-top: 2px; }
.alert-warn { background: var(--wait-bg); border-color: var(--wait-line); color: #7C4029; }
.alert-info { background: var(--info-bg); border-color: var(--info-line); color: #4C3670; }
.alert-ok { background: var(--ok-bg); border-color: var(--ok-line); color: #2A5C40; }

/* ---------- kartu ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.card.hover { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--soft-rose); }
.card.detail, .card.order { padding: 26px; }
.card.form { display: grid; gap: 14px; }
.card h2, .card h3 { margin-top: 0; }
.kpi { display: grid; gap: 8px; align-content: start; }
.kpi > .muted { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.kpi > .muted .ic { color: var(--romantic); }
.kpi b { font: 600 clamp(20px, 2.4vw, 27px)/1.2 var(--display); color: var(--ink); }
.kpi:first-child { background: linear-gradient(150deg, #FFF0F6 0%, #FFFFFF 75%); border-color: var(--soft-rose); }
.kpi:first-child b { color: var(--deep-rose); }
.empty {
  display: grid; justify-items: center; text-align: center; gap: 10px;
  padding: 34px 20px;
  border: 1.5px dashed var(--soft-rose); border-radius: var(--r);
  background: rgba(255, 255, 255, .72);
}
.empty img { width: auto; max-width: 150px; height: auto; }
.empty h3 { margin: 4px 0 0; }
.empty p { margin: 0; }
.empty.sm { padding: 20px 16px; }
.empty-state {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 26px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
}
.empty-art svg { width: 180px; height: auto; display: block; }
.empty-body { flex: 1; min-width: 220px; }
.empty-body h3 { margin-top: 0; }
.empty-body .btn { margin-top: 8px; }

/* ---------- form ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--white); color: var(--ink);
  font: 500 15px/1.4 var(--sans);
  transition: border-color .2s ease, box-shadow .2s ease;
}
input::placeholder, textarea::placeholder { color: #B09DA8; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
select:focus, textarea:focus {
  outline: none; border-color: var(--romantic); box-shadow: 0 0 0 4px rgba(255, 183, 213, .4);
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--deep-rose); width: 18px; height: 18px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.search {
  display: flex; align-items: center; gap: 10px;
  flex: 1; min-width: 0; min-height: 46px; padding: 0 14px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search:focus-within { border-color: var(--romantic); box-shadow: 0 0 0 4px rgba(255, 183, 213, .4); }
.search .ic { color: var(--romantic); }
.search input { flex: 1; min-width: 0; min-height: 42px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.search input:focus { box-shadow: none; }
.search.sm { min-height: 42px; margin-bottom: 12px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.filters .search { min-width: 220px; }
.filters .btn { min-height: 46px; }

/* ---------- tab, chip ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--white); color: var(--text-muted);
  font: 700 14px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tab:hover { border-color: var(--soft-rose); color: var(--deep-rose); }
.tab.on { background: var(--deep-rose); border-color: var(--deep-rose); color: #fff; box-shadow: 0 8px 18px -12px rgba(217, 79, 140, .9); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  min-height: 40px; padding: 8px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--white); color: var(--ink);
  font: 700 14px/1.2 var(--sans); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.chip-btn:hover { border-color: var(--soft-rose); }
.chip-btn.on { background: var(--pale-pink); border-color: var(--romantic); color: var(--deep-rose); }
.chip-btn:active { transform: scale(.97); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border);
  color: var(--deep-rose); font: 700 14px/1 var(--sans); text-decoration: none;
  white-space: nowrap;
}
.chip:hover { background: var(--pale-pink); }
.chip .ic { width: 17px; height: 17px; }

/* ---------- metode bayar ---------- */
.methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.method {
  display: flex; align-items: center; gap: 10px; padding: 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--white);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px;
}
.method.card { padding: 14px; box-shadow: none; }
.method:hover { border-color: var(--soft-rose); background: var(--sakura-white); }

/* ---------- daftar ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); }
.list > li:last-child { border-bottom: 0; }
.list > li > a,
.list > li > span:first-child {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 4px; color: inherit; text-decoration: none; min-width: 0;
}
.list > li > a { border-radius: 10px; transition: background-color .2s ease; }
.list > li > a:hover { background: var(--sakura-white); }
.list > li > a > span:first-child,
.list > li > span:first-child { display: grid; gap: 2px; min-width: 0; flex: 1; }
.list > li > a > span:first-child > b,
.list > li > span:first-child > b { overflow-wrap: anywhere; }
.list > li > a > b, .list > li > b { white-space: nowrap; }
.list small { display: block; font-size: 13px; }
.list > li > span:last-child:not(:first-child) { white-space: nowrap; }
.dl {
  display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr);
  gap: 14px 18px; margin: 20px 0;
}
.dl dt { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.dl dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pre {
  white-space: pre-wrap; word-break: break-word; margin: 0;
  padding: 14px; border-radius: var(--r-sm);
  background: var(--pale-pink); border: 1px solid var(--border);
  font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto;
}
.otp {
  display: inline-block; justify-self: start; padding: 4px 14px; border-radius: 12px;
  background: var(--pale-pink); border: 1px solid var(--soft-rose);
  color: var(--deep-rose); font: 800 24px/1.2 var(--sans); letter-spacing: .22em;
}
.otp.wait { background: transparent; border: 0; padding: 0; color: var(--text-muted); font-size: 15px; font-weight: 600; letter-spacing: 0; }

/* honeypot anti-spam: wajib tersembunyi dari pengguna (jangan dihapus) */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- tabel ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { font: 700 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); background: var(--sakura-white); white-space: nowrap; }
.table tbody tr { transition: background-color .15s ease; }
.table tbody tr:hover { background: var(--sakura-white); }
.table tr:last-child td { border-bottom: 0; }

/* ---------- katalog & pemilih ---------- */
.svc {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  color: var(--ink); text-decoration: none; min-width: 0;
}
.svc-ic {
  width: 46px; height: 46px; flex: none; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--pale-pink); color: var(--deep-rose);
}
.svc-ic.big { width: 64px; height: 64px; border-radius: 20px; }
.svc-ic .ic { width: 24px; height: 24px; }
.svc-body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.svc-body b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-body small { font-size: 13px; }
.svc-price { display: grid; justify-items: end; text-align: right; flex: none; }
.svc-price small { font-size: 11px; color: var(--muted); text-transform: lowercase; }
.svc-price b { font: 600 17px/1.2 var(--display); color: var(--deep-rose); }
.picker, .picker-card { display: grid; gap: 14px; }
.pick-list { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 8px; max-height: 480px; overflow-y: auto; }
.pick-list > li[hidden] { display: none; }
.pick {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 14px;
  background: var(--white); color: var(--ink); text-align: left; font: inherit; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pick:hover:not(:disabled) { border-color: var(--soft-rose); background: var(--sakura-white); transform: translateX(2px); }
.pick.on { border-color: var(--romantic); background: var(--pale-pink); box-shadow: 0 0 0 3px rgba(255, 183, 213, .35); }
.pick.off, .pick:disabled { opacity: .55; cursor: not-allowed; }
.pick .grow { display: grid; gap: 2px; }
.pick-price { display: grid; justify-items: end; text-align: right; flex: none; }
.pick-price small { font-size: 11px; color: var(--muted); }
.pick-price b { font: 600 16px/1.2 var(--display); color: var(--deep-rose); }
.offer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; width: 100%; margin: 0; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--white); }
.offer i { font-style: normal; font-weight: 700; color: var(--ink); }
.offer .btn { margin-left: auto; }
.flag {
  display: inline-block; width: 34px; height: 24px; flex: none; overflow: hidden;
  border-radius: 6px; vertical-align: middle; box-shadow: inset 0 0 0 1px rgba(53, 35, 45, .08);
}
.flag svg { display: block; width: 100%; height: 100%; }
img.flag { object-fit: cover; display: inline-block; }
.skeleton { display: grid; gap: 10px; padding: 6px 0; }
.skeleton i {
  display: block; height: 58px; border-radius: 14px;
  background: linear-gradient(90deg, var(--pale-pink) 25%, #FFFFFF 40%, var(--pale-pink) 60%);
  background-size: 300% 100%; animation: shimmer 1.4s ease infinite;
}
.skeleton i:nth-child(2) { height: 46px; opacity: .85; }
.skeleton i:nth-child(3) { height: 52px; opacity: .7; }

/* ---------- qr & rekening ---------- */
.qr-box, .va-box {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: 18px;
}
.qr-box img, .qr-box svg { width: min(260px, 100%); height: auto; border-radius: 12px; }
.va-box .mono { font-size: 20px; font-weight: 700; color: var(--ink); }

/* ---------- dekorasi kecil ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo img { display: block; height: 52px; width: auto; max-width: 100%; flex: none; object-fit: contain; transition: transform .3s ease; }
.logo:hover img { transform: scale(1.02); }
.logo img.logo-mark { width: 34px; height: 34px; }
.logo-mark { display: block; width: 44px; height: 44px; object-fit: contain; }
.side .logo { padding: 2px 6px 10px; }
.side .logo img { height: 48px; }
.side .logo img.logo-mark { width: 34px; height: 34px; }
.benefit-ic {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--pale-pink); color: var(--deep-rose);
}
.benefit-ic .ic { width: 16px; height: 16px; }
.stat-ic {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px; background: var(--pale-pink); color: var(--deep-rose);
}
.stat-ic .ic { width: 19px; height: 19px; }

/* ---------- navigasi publik ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 250, 252, .86);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid rgba(244, 220, 231, .85);
}
.nav-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a:not(.btn) {
  position: relative; padding: 9px 12px; border-radius: 10px; white-space: nowrap;
  color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.nav-links > a:not(.btn):hover { background: var(--pale-pink); color: var(--deep-rose); }
.nav-links > a.on { color: var(--deep-rose); }
.nav-links > a.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--romantic);
}
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.nav-toggle {
  display: none; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 52px; padding-bottom: 28px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; font-weight: 600;
  margin: 16px 0 18px; letter-spacing: -.02em;
}
.hero h1 em { font-style: italic; color: var(--deep-rose); font-weight: 500; }
.hero .lead { max-width: 50ch; margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.benefits li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; }
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-stage { position: relative; z-index: 2; width: min(100%, 350px); }
.deco { position: absolute; pointer-events: none; user-select: none; }
.deco-branch { right: -70px; top: -30px; width: 340px; opacity: .95; z-index: 1; }
.deco-branch-l { left: -90px; bottom: -40px; width: 280px; opacity: .9; z-index: 1; transform: scaleX(-1); }
.deco-envelope { left: 4%; bottom: 40px; width: 118px; z-index: 3; animation: drift 7s ease-in-out infinite; }
.float-heart { position: absolute; z-index: 3; width: 44px; height: 44px; pointer-events: none; }
.float-heart img { width: 100%; height: 100%; }
.fh-1 { right: 6%; top: 8%; animation: floaty 6.5s ease-in-out infinite; }
.fh-2 { left: 2%; top: 30%; width: 30px; height: 30px; opacity: .9; animation: floaty 5.2s ease-in-out -2s infinite; }
.fh-3 { right: 0; bottom: 22%; width: 26px; height: 26px; opacity: .85; animation: floaty 7.2s ease-in-out -4s infinite; }
.heartbeat { animation: beat 2.6s ease-in-out infinite; transform-origin: center; }
.hero-proof { margin-top: 16px; font-size: 13.5px; color: var(--text-muted); }

/* ---------- phone mockup (demo) ---------- */
.phone { position: relative; width: 100%; max-width: 350px; margin: 0 auto; aspect-ratio: 360 / 720; filter: drop-shadow(0 30px 40px rgba(217, 79, 140, .22)); }
.phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-screen {
  position: absolute; left: 6.11%; top: 1.94%; width: 87.78%; height: 96.11%;
  overflow: hidden; border-radius: 46px; background: var(--sakura-white);
  font: 400 12px/1.5 var(--sans); color: var(--ink);
}
.ps-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #35232D; z-index: 5; }
.ps-view { display: none; position: absolute; inset: 0; padding: 48px 14px 74px; overflow-y: auto; scrollbar-width: none; animation: fadeUp .35s ease; }
.ps-view.on { display: block; }
.ps-view::-webkit-scrollbar { display: none; }
.ps-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ps-h { font: 600 15px/1.25 var(--display); color: var(--ink); margin: 10px 0 8px; }
.ps-small { font-size: 10.5px; color: var(--text-muted); }
.ps-avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blossom); color: var(--ink); font-weight: 800; }
.ps-icon-btn { width: 30px; height: 30px; border-radius: 10px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 13px; }
.ps-card {
  display: block; width: 100%; text-align: left; margin: 0 0 9px; padding: 11px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  color: var(--ink); font: inherit; cursor: pointer; position: relative;
  box-shadow: 0 6px 14px -12px rgba(217, 79, 140, .6); transition: transform .2s ease, border-color .2s ease;
}
button.ps-card:hover { border-color: var(--soft-rose); transform: translateY(-1px); }
.ps-balance { background: linear-gradient(135deg, #F9A8C8 0%, #EC78AC 100%); border-color: transparent; color: #fff; box-shadow: 0 14px 22px -14px rgba(217, 79, 140, .9); }
.ps-balance .ps-small { color: rgba(255, 255, 255, .92); }
.ps-balance .ps-btn { background: #fff; color: var(--deep-rose); border-color: transparent; }
.ps-demo-tag { position: absolute; top: 8px; right: 9px; padding: 2px 7px; border-radius: 999px; background: var(--pale-pink); color: var(--deep-rose); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ps-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 4px; }
.ps-tile {
  padding: 12px 6px; border-radius: 14px; border: 1px solid var(--border); background: #fff;
  font: 700 10.5px/1.2 var(--sans); color: var(--ink); cursor: pointer; text-align: center;
  transition: background-color .2s ease, transform .2s ease;
}
.ps-tile:hover { background: var(--pale-pink); transform: translateY(-1px); }
.ps-badge { padding: 2px 8px; border-radius: 999px; background: var(--wait-bg); color: var(--wait); border: 1px solid var(--wait-line); font-size: 9.5px; font-weight: 800; white-space: nowrap; }
.ps-bar { height: 5px; margin: 8px 0 6px; border-radius: 999px; background: var(--pale-pink); overflow: hidden; }
.ps-bar i { display: block; width: 46%; height: 100%; border-radius: inherit; background: var(--romantic); animation: shimmer 2.4s ease infinite; background-size: 200% 100%; background-image: linear-gradient(90deg, var(--romantic) 0%, var(--blossom) 50%, var(--romantic) 100%); }
.ps-btn { display: inline-flex; align-items: center; justify-content: center; padding: 6px 11px; border-radius: 9px; border: 1px solid var(--deep-rose); background: var(--deep-rose); color: #fff; font: 700 10.5px/1 var(--sans); cursor: pointer; }
.ps-btn.ghost { background: transparent; color: var(--deep-rose); }
.ps-btn:hover { filter: brightness(1.04); }
.ps-search { width: 100%; height: 34px; margin-bottom: 8px; padding: 0 11px; border: 1px solid var(--border); border-radius: 11px; background: #fff; font: 500 11px var(--sans); color: var(--ink); }
.ps-chips { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.ps-chip { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font: 700 10px var(--sans); color: var(--text-muted); cursor: pointer; }
.ps-chip.on { background: var(--deep-rose); border-color: var(--deep-rose); color: #fff; }
.ps-empty { display: none; margin: 8px 0; text-align: center; color: var(--text-muted); font-size: 11px; }
.ps-empty.on { display: block; }
.ps-back { margin-bottom: 8px; border: 0; background: none; color: var(--deep-rose); font: 700 11px var(--sans); cursor: pointer; padding: 0; }
.ps-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; margin: 8px 0; font-size: 11px; }
.ps-dl dt { color: var(--text-muted); }
.ps-dl dd { margin: 0; font-weight: 700; }
.ps-nav {
  position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 4;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 6px;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 10px 20px -14px rgba(217, 79, 140, .6);
}
.ps-tab {
  display: grid; justify-items: center; gap: 2px; padding: 6px 0; border: 0; border-radius: 14px;
  background: transparent; color: var(--muted); font: 700 9px/1 var(--sans); cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.ps-tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ps-tab.on { background: var(--pale-pink); color: var(--deep-rose); }
.ps-modal { display: none; position: absolute; inset: 0; z-index: 8; align-items: flex-end; padding: 14px; background: rgba(53, 35, 45, .32); }
.ps-modal.on { display: flex; animation: fadeUp .25s ease; }
.ps-sheet { width: 100%; padding: 16px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 10px; position: relative; }
.ps-sheet p { margin: 8px 0 0; font-size: 12px; color: var(--ink); }

/* ---------- beranda: seksi ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 8px; position: relative; z-index: 3; }
.stat {
  display: grid; align-content: start; gap: 6px; padding: 18px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.stat b { font: 600 24px/1.2 var(--display); color: var(--ink); }
.stat b.sm { font: 700 15px/1.3 var(--sans); }
.stat .badge { justify-self: start; }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start;
}
.step {
  position: relative; display: grid; align-content: start; gap: 12px;
  padding: 24px 20px 22px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, opacity .8s ease;
}
.step:nth-child(even) { margin-top: 18px; }
.step:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.step-ic {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--pale-pink); color: var(--deep-rose);
  box-shadow: inset 0 0 0 1px var(--soft-rose);
}
.step-ic .ic { width: 24px; height: 24px; }
.step-no { display: block; font: 800 12px/1 var(--sans); letter-spacing: .14em; color: var(--romantic); }
.step h3 { margin: 4px 0 6px; font-size: 19px; }
.step p { margin: 0; font-size: 14.5px; }

.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.steps-list.sm { font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature {
  display: grid; gap: 8px; align-content: start; padding: 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.feature .benefit-ic { width: 40px; height: 40px; }
.feature .benefit-ic .ic { width: 20px; height: 20px; }
.feature h3 { margin: 4px 0 0; font-size: 18px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--text-muted); }
.care-art { display: grid; place-items: center; }
.care-art img { width: min(280px, 100%); height: auto; animation: floaty 8s ease-in-out infinite; }

.showcase {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center;
}
.showcase-art { position: relative; display: grid; place-items: center; min-height: 300px; overflow: hidden; border-radius: 22px; }
.showcase-art .envelope { width: min(300px, 90%); height: auto; animation: drift 7s ease-in-out infinite; }
.showcase-art .branch { position: absolute; right: -10px; top: -20px; width: 180px; opacity: .85; pointer-events: none; }

.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 26px; border: 1px solid var(--border);
  background: linear-gradient(120deg, #FFF0F6 0%, #FFFAFC 58%, #FFEAF3 100%);
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 10px 0 8px; }
.cta-text p { margin: 0; color: var(--text-muted); max-width: 52ch; }
.cta-side { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta-art { width: 110px; height: auto; animation: floaty 6s ease-in-out infinite; }
.cta-branch { position: absolute; left: -46px; bottom: -48px; width: 200px; opacity: .55; pointer-events: none; z-index: 0; }
.cta-heart { position: absolute; right: 36%; top: 18px; width: 30px; opacity: .85; pointer-events: none; z-index: 0; }

/* ---------- halaman publik lain ---------- */
.page-band { position: relative; padding: 46px 0 30px; background: linear-gradient(180deg, #FFF0F6 0%, rgba(255, 240, 246, 0) 100%); border-bottom: 1px solid rgba(244, 220, 231, .6); overflow: hidden; }
.page-band h1 { margin: 8px 0 8px; }
.page-band .lead { max-width: 60ch; margin: 0; }
.page-band .deco-branch { right: -60px; top: -50px; width: 260px; }
.auth { display: grid; place-items: center; padding: 48px 16px 40px; }
.auth-card { width: min(100%, 440px); display: grid; gap: 14px; padding: 34px 30px; overflow: hidden; background-color: var(--white); background-image: url("/assets/svg/blossom.svg"); background-repeat: no-repeat; background-position: right -46px top -46px; background-size: 150px; }
.auth-card > img { width: 54px; height: 54px; }
.auth-card h1 { margin: 0; font-size: 30px; }
.auth-card .form { margin-top: 4px; }
.auth-card .small a { font-weight: 700; }
.faq { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 4px 18px; margin: 0 0 10px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 22px/1 var(--display); color: var(--romantic); transition: transform .25s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq[open] { padding-bottom: 14px; }
.faq p { margin: 0; color: var(--text-muted); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pager { margin-top: 20px; }

.order { display: grid; gap: 4px; }
.order h2 { margin-bottom: 4px; }

.toasts { position: fixed; top: 16px; right: 16px; left: 16px; z-index: 200; display: grid; justify-items: end; gap: 10px; pointer-events: none; }
.toast {
  pointer-events: auto; max-width: 380px; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px; background: var(--white);
  border: 1px solid var(--border); border-left: 4px solid var(--romantic);
  box-shadow: var(--shadow); font-size: 14.5px; font-weight: 600;
  animation: toastIn .35s ease;
  transition: opacity .3s ease, transform .3s ease;
}
.toast .ic { color: var(--romantic); }
.toast-success { border-left-color: var(--ok); }
.toast-success .ic { color: var(--ok); }
.toast-error { border-left-color: var(--bad); }
.toast-error .ic { color: var(--bad); }
.toast-warn { border-left-color: var(--wait); }
.toast-warn .ic { color: var(--wait); }
.toast-info { border-left-color: var(--info); }
.toast-info .ic { color: var(--info); }
.toast.out { opacity: 0; transform: translateY(-8px); }

.modal {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px;
  background: rgba(53, 35, 45, .38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal-card {
  width: min(100%, 420px); display: grid; gap: 12px; padding: 26px;
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow);
  animation: popIn .28s ease;
}
.modal-card h3 { margin: 0; }
.modal-card p { margin: 0; color: var(--text-muted); }
.modal-card .row.end { margin-top: 6px; }

/* ---------- prose tidak dipakai di luar .prose ---------- */
.spacer { height: 40px; }

/* ---------- footer publik ---------- */
.footer {
  position: relative; z-index: 1; margin-top: 80px; overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--pale-pink) 100%);
  border-top: 1px solid var(--border);
  padding: 52px 0 0;
}
.foot-grid { display: grid; grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 30px; position: relative; z-index: 1; }
.footer .logo { margin-bottom: 14px; }
.footer .muted { max-width: 42ch; font-size: 14.5px; }
.footer h4 { font: 800 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--deep-rose); margin: 0 0 12px; }
.footer a:not(.logo) { display: block; padding: 5px 0; color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s ease; }
.footer a:not(.logo):hover { color: var(--deep-rose); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  padding: 20px; border-top: 1px solid var(--border); font-size: 13px; position: relative; z-index: 1;
}
.foot-branch { position: absolute; right: -70px; bottom: -34px; width: 240px; opacity: .45; pointer-events: none; z-index: 0; }
.foot-script { font: italic 500 20px/1.2 var(--display); color: var(--deep-rose); }

/* ---------- dashboard ---------- */
.app { background: var(--sakura-white); }
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; z-index: 70; height: 100vh;
  display: flex; flex-direction: column; gap: 14px; padding: 22px 16px 18px;
  background: var(--white); border-right: 1px solid var(--border); overflow-y: auto;
}
.side-bal {
  display: grid; gap: 4px; padding: 15px 16px; margin: 2px 0 4px;
  background: linear-gradient(140deg, #FFF0F6 0%, #FFFFFF 85%);
  border: 1px solid var(--border); border-radius: var(--r);
}
.side-bal b { font: 600 19px/1.2 var(--display); color: var(--ink); margin-bottom: 6px; }
.side-bal .btn { justify-self: start; }
.side nav { display: flex; flex-direction: column; gap: 3px; }
.side nav a {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; color: var(--text-muted);
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.side nav a .ic { color: var(--muted); width: 19px; height: 19px; }
.side nav a:hover { background: var(--sakura-white); color: var(--ink); }
.side nav a:hover .ic { color: var(--romantic); }
.side nav a.on { background: var(--pale-pink); color: var(--deep-rose); }
.side nav a.on .ic { color: var(--deep-rose); }
.side nav a.on::before {
  content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 4px;
  border-radius: 0 4px 4px 0; background: var(--romantic);
}
.side nav a .dot { margin-left: auto; }
.side > form { margin-top: auto; }
.side .btn-ghost { width: 100%; justify-content: flex-start; }
.dot {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--romantic); color: #fff; font: 800 11px/1 var(--sans); font-style: normal;
}
.main-col { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px; padding: 14px 24px;
  background: rgba(255, 250, 252, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar .nav-toggle { display: none; }
.topbar-title { flex: 1; min-width: 0; margin: 0; font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.content {
  display: flex; flex-direction: column; gap: 18px;
  width: 100%; max-width: 1180px; padding: 26px 24px 40px;
}
.content > .row.gap { margin-bottom: 2px; }
.content > .row h2 { margin: 0; }
.bnav { display: none; }

/* ---------- panel mockup: aksen ---------- */
.side .btn { font-size: 14px; }

/* ---------- gerakan ---------- */
.petals { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.petal {
  position: absolute; top: -12%; left: var(--x, 50vw);
  width: var(--s, 12px); height: calc(var(--s, 12px) * .72);
  background: radial-gradient(circle at 30% 28%, #FFFFFF 0 16%, var(--c, #FFB7D5) 58%, rgba(236, 120, 172, .85) 100%);
  border-radius: 0 78% 0 78%;
  opacity: var(--o, .6);
  transform: rotate(var(--r0, 0deg));
  animation: petalFall var(--d, 18s) linear var(--dl, 0s) infinite;
  will-change: transform;
}
.petal:nth-child(3n) { border-radius: 78% 0 78% 0; }
.petals.paused .petal { animation-play-state: paused; }
.petal { opacity: var(--o, .6); }

@keyframes petalFall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%  { transform: translate3d(var(--sw, 20px), 25vh, 0) rotate(90deg); }
  50%  { transform: translate3d(calc(var(--sw, 20px) * -1), 50vh, 0) rotate(180deg); }
  75%  { transform: translate3d(var(--sw, 20px), 75vh, 0) rotate(270deg); }
  100% { transform: translate3d(calc(var(--sw, 20px) * -.4), 115vh, 0) rotate(360deg); }
}
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(4deg); }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6px, -10px, 0); }
}
@keyframes beat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.09); }
  28% { transform: scale(1); }
  42% { transform: scale(1.05); }
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: none; } }

/* reveal saat masuk viewport (aktif hanya jika JS berjalan) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsif: tablet & mobile ---------- */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-grid; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 20px 20px; background: var(--cream);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .nav-links > a.on::after { left: 14px; right: auto; width: 26px; }
  .nav-cta { flex-direction: column; align-items: stretch; margin: 8px 0 0; gap: 10px; }
  .nav-cta .btn { width: 100%; }

}

@media (max-width: 1080px) {
  .hero-grid { gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(even) { margin-top: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar .nav-toggle { display: inline-grid; }

  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding: 14px 0 0; }
  .hero-stage { width: min(100%, 300px); }
  .deco-branch { width: 230px; right: -60px; top: -20px; }
  .deco-branch-l { display: none; }
  .deco-envelope { width: 86px; left: 0; bottom: 4px; }
  .fh-2 { display: none; }
  .stats { margin-top: 0; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-art { min-height: 220px; }
  .cta { grid-template-columns: 1fr; }
  .cta-side { justify-content: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }

  .shell { grid-template-columns: minmax(0, 1fr); }
  .side {
    position: fixed; top: 0; left: 0; bottom: 0; height: auto; width: min(84vw, 300px);
    transform: translateX(-104%); transition: transform .35s ease; box-shadow: var(--shadow);
  }
  .side.open { transform: none; }
  .side.open + .main-col::after { content: ""; position: fixed; inset: 0; z-index: 66; background: rgba(53, 35, 45, .28); }
  .topbar .chip { display: none; }
  .topbar { padding: 12px 16px; }
  .content { padding: 20px 16px 32px; min-width: 0; }
  .has-bnav .content { padding-bottom: 112px; }
  .bnav {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 253, 251, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); box-shadow: 0 -10px 24px -18px rgba(217, 79, 140, .5);
  }
  .bnav a {
    display: grid; justify-items: center; gap: 3px; padding: 7px 0 6px;
    border-radius: 14px; color: var(--muted); text-decoration: none;
    font: 700 11px/1 var(--sans);
    transition: background-color .2s ease, color .2s ease;
  }
  .bnav a .ic { width: 21px; height: 21px; }
  .bnav a.on { color: var(--deep-rose); background: var(--pale-pink); }
  .side-bal .btn { margin-top: 2px; }
  .side .logo { padding-bottom: 6px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding-top: 46px; padding-bottom: 46px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cta .btn-lg { min-height: 50px; }
  .benefits { gap: 9px 14px; }
  .stats { gap: 10px; }
  .stat { padding: 14px; }
  .stat b { font-size: 20px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .section-head { align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .filters .search { min-width: 0; flex-basis: 100%; }
  .filters .btn { width: 100%; }
  .dl { grid-template-columns: 1fr; gap: 4px; }
  .dl dt { margin-top: 10px; }
  .dl dt:first-child { margin-top: 0; }
  .card { padding: 18px; }
  .card.detail, .card.order { padding: 20px; }
  .toasts { left: 12px; right: 12px; top: 12px; }
  .toast { max-width: none; width: 100%; }
  .toasts { justify-items: stretch; }
  .auth-card { padding: 26px 22px; }
  .deco-branch { width: 176px; right: -86px; top: -44px; opacity: .5; }
  .foot-branch { width: 180px; right: -40px; bottom: -18px; }
  .cta-branch { width: 150px; left: -50px; }
  .cta-heart { display: none; }
  .deco-envelope { display: none; }
  .page-band .deco-branch { width: 180px; }
  .cta-art { width: 92px; }
  .svc-grid, .grid.svc-grid { grid-template-columns: minmax(0, 1fr); }
  .empty-state { padding: 20px; }
}

@media (max-width: 380px) {
  .logo img { height: 46px; }
  .nav-in { gap: 10px; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .methods { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .petals { display: none; }
  .deco-envelope, .float-heart, .heartbeat, .care-art img, .showcase-art .envelope, .cta-art { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .card.hover:hover, .pick:hover, .step:hover, .ps-card:hover { transform: none; }
}

@media print {
  .nav, .side, .bnav, .toasts, .petals, .footer, .topbar { display: none !important; }
  body { background: #fff; }
}

/* ---------- beranda dashboard (gaya aplikasi HP) ---------- */
.hm { display: grid; gap: 20px; }
.hm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hm-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hm-avatar {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--blossom); color: var(--ink);
  font: 700 18px/1 var(--sans);
}
.hm-greet { margin: 0; font-size: 22px; }
.hm-greet + p { margin: 2px 0 0; }
.hm-bell {
  position: relative; width: 46px; height: 46px; flex: none;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--white); border: 1px solid var(--border); color: var(--ink);
  text-decoration: none; transition: border-color .2s ease, background-color .2s ease;
}
.hm-bell:hover { border-color: var(--soft-rose); background: var(--pale-pink); }
.hm-bell .dot { position: absolute; top: -5px; right: -5px; }
.hm-balance {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, #F9A8C8 0%, #EC78AC 100%);
  box-shadow: 0 18px 34px -20px rgba(217, 79, 140, .8);
}
.hm-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.hm-label .ic { width: 18px; height: 18px; }
.hm-amount { display: block; margin-top: 6px; font: 600 clamp(26px, 4vw, 32px)/1.1 var(--display); color: #fff; }
.hm-balance .btn { background: #fff; border-color: #fff; color: var(--deep-rose); }
.hm-balance .btn:hover { background: var(--pale-pink); }
.hm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hm-stat {
  display: grid; gap: 2px; padding: 12px 14px; text-align: center;
  background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.hm-stat b { font: 600 22px/1.1 var(--display); color: var(--ink); }
.hm-block { display: grid; gap: 12px; align-content: start; }
.hm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hm-head h3 { margin: 0; font-size: 19px; }
.hm-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hm-chip {
  display: grid; justify-items: center; gap: 8px; padding: 14px 6px;
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  color: var(--ink); text-decoration: none; font: 700 13px/1.2 var(--sans); text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hm-chip:hover { transform: translateY(-2px); border-color: var(--soft-rose); box-shadow: var(--shadow-sm); }
.hm-chip-ic {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 14px; background: var(--pale-pink); color: var(--deep-rose);
}
.hm-orders { display: grid; gap: 10px; }
.hm-order {
  display: grid; gap: 6px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease;
}
.hm-order:hover { border-color: var(--soft-rose); transform: translateY(-1px); }
.hm-order-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.hm-order-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hm-order-top .badge { flex: none; }
.hm-grid2 { display: grid; gap: 20px; }
.hm-block > .list, .hm-block > .steps-list { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 6px 16px; box-shadow: var(--shadow-sm); }
.hm-block > .steps-list { padding: 16px 16px 16px 36px; }
.hm-block > p { margin: 0; }
@media (min-width: 900px) {
  .hm-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .hm-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm-balance { padding: 26px 28px; }
}
@media (max-width: 380px) {
  .hm-chips { gap: 8px; }
  .hm-chip { padding: 12px 4px; font-size: 12px; }
  .hm-amount { font-size: 24px; }
}

/* ---------- halaman masuk & daftar (Pink Blossom) ---------- */
.auth-shell {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - 150px); align-items: stretch; gap: 0;
  max-width: 1080px; margin: 0 auto; padding: 36px 20px 48px;
}
.auth-art {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  gap: 14px; padding: 48px 44px; border-radius: 28px 0 0 28px;
  background: linear-gradient(160deg, #FFF0F6 0%, #FFFAFC 60%, #FFE6F0 100%);
  border: 1px solid var(--border); border-right: 0;
}
.auth-art h2 { font-size: clamp(28px, 3vw, 36px); margin: 4px 0 0; position: relative; z-index: 1; }
.auth-art p { margin: 0; color: var(--text-muted); max-width: 40ch; position: relative; z-index: 1; }
.auth-art .eyebrow { align-self: flex-start; position: relative; z-index: 1; }
.auth-branch { position: absolute; right: -96px; top: -84px; width: 280px; opacity: .45; pointer-events: none; }
.auth-lock { position: relative; z-index: 1; width: 160px; height: auto; margin-bottom: 8px; animation: floaty 8s ease-in-out infinite; }
.auth-points { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.auth-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.auth-panel {
  display: flex; align-items: center; justify-content: center; padding: 40px 36px;
  background: var(--white); border: 1px solid var(--border); border-radius: 0 28px 28px 0;
  box-shadow: var(--shadow);
}
.auth-panel .auth-card {
  width: 100%; max-width: 400px; padding: 0; border: 0; box-shadow: none; background: transparent;
  display: grid; gap: 14px;
}
.auth-logo { justify-self: start; }
.auth-card h1 { margin: 8px 0 0; font-size: 30px; }
.auth-card > p { margin: -6px 0 4px; }
.auth-card .form { gap: 16px; }
.auth-card .field small { font-weight: 500; font-size: 12.5px; }
.auth-remember { margin-top: -2px; }
.auth-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14.5px;
}
.auth-card .alert { margin: 0; }
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; min-height: 0; padding: 20px 16px 36px; }
  .auth-art { display: none; }
  .auth-panel { border-radius: 24px; padding: 32px 24px; }
}
@media (max-width: 420px) {
  .auth-panel { padding: 26px 18px; border-radius: 20px; }
  .auth-card h1 { font-size: 26px; }
}

/* ---------- halaman masuk & daftar: layout mobile seperti aplikasi, desktop dua kolom ---------- */
.auth-shell { min-height: calc(100vh - 150px); }
.auth-scene { position: relative; z-index: 1; width: min(340px, 100%); height: auto; margin: 0 auto; animation: floaty 8s ease-in-out infinite; }
.auth-panel { background: var(--white); }
.auth-form-wrap { width: 100%; max-width: 420px; display: grid; gap: 18px; }
.auth-mobile-scene { display: none; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; justify-self: start; }
.auth-brand img { display: block; height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.auth-form-wrap h1 { margin: 6px 0 2px; font-size: clamp(26px, 3.4vw, 32px); }
.auth-form { gap: 18px; }
.auth-form .field { font-size: 15px; font-weight: 700; gap: 8px; }
.auth-form .field input { min-height: 52px; border-radius: 12px; border-width: 1.5px; border-color: #CFC3CB; padding: 12px 16px; }
.auth-form .field input::placeholder { color: #A896A2; }
.auth-form .field small { font-weight: 500; font-size: 12.5px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 54px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer;
}
.pw-toggle:hover { background: var(--pale-pink); color: var(--deep-rose); }
.pw-toggle .ic { width: 22px; height: 22px; }
.pw-toggle[aria-pressed="true"] { color: var(--deep-rose); }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: -4px; }
.auth-row .check { font-size: 14px; }
.btn-caps { text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.auth-form-wrap .btn-secondary { border-width: 1.5px; border-color: var(--deep-rose); color: var(--deep-rose); background: var(--white); }
.auth-form-wrap .btn-primary { box-shadow: 0 14px 26px -16px rgba(217, 79, 140, .85); }
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; min-height: 0; padding: 0; max-width: none; margin: 0; }
  .auth-art { display: none; }
  .auth-panel {
    border: 0; border-radius: 0; box-shadow: none; background: var(--white);
    align-items: flex-start; justify-content: center; padding: 28px 22px 44px; min-height: calc(100vh - 70px);
  }
  .auth-form-wrap { max-width: 460px; gap: 20px; }
  .auth-mobile-scene { display: block; width: min(220px, 62%); height: auto; justify-self: center; margin: 0 0 4px; animation: floaty 8s ease-in-out infinite; }
  .auth-brand { display: none; }
  .auth-form-wrap h1 { text-align: left; }
}
@media (min-width: 861px) {
  .auth-form-wrap { gap: 20px; }
}
@media (max-width: 420px) {
  .auth-panel { padding: 22px 18px 36px; }
  .auth-form-wrap h1 { font-size: 26px; }
}

/* ---------- tombol menu (hamburger) bergaya sakura: tanpa bingkai ---------- */
.nav-toggle {
  border: 0; background: transparent; box-shadow: none; padding: 0;
  color: var(--ink); border-radius: 12px;
  transition: background-color .25s ease, transform .2s ease;
}
.nav-toggle:hover { background: var(--pale-pink); }
.nav-toggle:active { transform: scale(.94); }
.nav-toggle .burger { width: 32px; height: 32px; overflow: visible; }
.burger path {
  fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round;
  transform-box: fill-box; transform-origin: center;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .25s ease;
}
.burger .blos { transform-box: fill-box; transform-origin: center; transition: opacity .25s ease, transform .4s ease; }
.burger .blos circle { fill: var(--soft-rose); }
.burger .blos circle.core { fill: var(--romantic); }
.nav-toggle:hover .burger .blos { transform: scale(1.12); }
.nav-toggle[aria-expanded="true"] .b1 { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .b3 { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .b2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .blos { opacity: 0; transform: scale(.4); }
.nav-toggle:focus-visible { outline: 3px solid rgba(236, 120, 172, .45); outline-offset: 3px; }

/* ---------- Pembelian NOKOS: layout dua kolom (v2) ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.crumbs a { color: var(--deep-rose); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.buy-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.buy-head-text { display: grid; gap: 6px; min-width: 0; }
.buy-head-text h2 { margin: 0; font-size: clamp(20px, 3vw, 26px); }
.buy-head-text p { margin: 0; }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.buy-main, .buy-aside { display: grid; gap: 16px; min-width: 0; }
.buy-aside { position: sticky; top: 88px; }
.buy-step { display: grid; gap: 14px; }
.buy-step-head { display: flex; align-items: flex-start; gap: 12px; }
.buy-step-head h3 { margin: 0 0 2px; font-size: 17px; }
.buy-step-head p { margin: 0; }
.step-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-rose); color: #fff; font: 700 14px/1 var(--sans); }
.buy-placeholder { padding: 18px 0; text-align: center; margin: 0; }
.pick-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); }
.pick-grid > li[hidden] { display: none; }
.pick-grid .pick { flex-direction: column; align-items: stretch; gap: 8px; height: 100%; padding: 12px; transform: none; }
.pick-grid .pick:hover:not(:disabled) { transform: translateY(-1px); }
.pick-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pick-stock { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pick-stock.is-out { color: var(--text-muted, #8a6f7a); }
.pick-name { font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.pick-grid .pick-price { justify-items: start; text-align: left; margin-top: auto; }
.pick-grid .pick-price b { font-size: 16px; }
.offer-head { display: flex; align-items: center; gap: 10px; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.offer-head > span { display: grid; gap: 2px; min-width: 0; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; }
.offer-info { display: grid; gap: 4px; min-width: 0; }
.offer-info > b { font-weight: 700; color: var(--ink); }
.offer-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.offer-tags .is-out { color: #B42363; }
.offer-buy { display: flex; align-items: center; gap: 10px; flex: none; }
.offer-buy .pick-price { text-align: right; }
@media (max-width: 960px) {
  .buy-grid { grid-template-columns: minmax(0, 1fr); }
  .buy-aside { position: static; }
}
@media (max-width: 640px) {
  .buy-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pick-grid .pick { padding: 10px; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer-buy { justify-content: space-between; }
  .offer-list { max-height: none; }
}
@media (max-width: 360px) {
  .pick-grid { grid-template-columns: minmax(0, 1fr); }
}
