/* =========================================================
   Yoonso Proxy — iOS Liquid Glass (mobile-first)
   ========================================================= */

:root {
  --bg: #EEF3FA;
  --ink: #0B1530;
  --ink-hover: #1A2850;
  --text-2: #4A5878;
  --text-3: #6B7A99;
  --text-soft: #2A3756;
  --chevron: #9AA6BF;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --orange: #F97316;
  --orange-hover: #EA6A0C;
  --green: #10B981;
  --wa: #25D366;
  --wa-hover: #1EBE5A;
  --divider: rgba(11,21,48,.07);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Keyframes ── */
@keyframes driftA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw,5vh) scale(1.12); } }
@keyframes driftB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-8vw,-3vh) scale(1.08); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 100% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } }
@keyframes ringOut { 0% { transform: scale(.75); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ── Background blobs ── */
.bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #F6F9FD 0%, #E8EEF8 100%);
}
.bg span { position: absolute; border-radius: 50%; will-change: transform; }
.bg .b1 { width: 60vw; height: 60vw; max-width: 780px; max-height: 780px; min-width: 420px; min-height: 420px; left: -14vw; top: -18vw; background: #93C5FD; filter: blur(110px); opacity: .7; animation: driftA 24s ease-in-out infinite; }
.bg .b2 { width: 42vw; height: 42vw; max-width: 560px; max-height: 560px; min-width: 300px; min-height: 300px; right: -10vw; top: 8vh; background: #FDBA74; filter: blur(120px); opacity: .45; animation: driftB 28s ease-in-out infinite; }
.bg .b3 { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; min-width: 320px; min-height: 320px; left: 24vw; top: 60vh; background: #C4B5FD; filter: blur(130px); opacity: .45; animation: driftA 32s ease-in-out infinite reverse; }
.bg .b4 { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; min-width: 260px; min-height: 260px; right: 6vw; bottom: -8vw; background: #7DD3FC; filter: blur(120px); opacity: .5; }
/* Variant statis untuk Privacy / Checkout */
.bg--page .b1 { width: 520px; height: 520px; min-width: 0; min-height: 0; left: -210px; top: -230px; filter: blur(100px); }
.bg--page .b2 { width: 360px; height: 360px; min-width: 0; min-height: 0; right: -165px; top: 33vh; filter: blur(110px); opacity: .4; animation: none; }
.bg--page .b3 { width: 380px; height: 380px; min-width: 0; min-height: 0; left: -110px; top: auto; bottom: -150px; filter: blur(120px); animation: none; }
.bg--static .b1 { animation: none; }

/* ── Glass ── */
.glass {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(30,60,120,.08);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass, .glass-fb { background: rgba(255,255,255,.85) !important; }
  .sticky-bar { background: rgba(238,243,250,.95) !important; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 14px 30px rgba(11,21,48,.25); }
.btn-ink:hover { background: var(--ink-hover); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 28px rgba(249,115,22,.35); }
.btn-orange:hover { background: var(--orange-hover); color: #fff; }
.btn-ghost { background: rgba(11,21,48,.06); color: var(--ink); }
.btn-ghost:hover { background: rgba(11,21,48,.1); color: var(--ink); }
.btn-glass {
  background: rgba(255,255,255,.55); color: var(--ink);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 6px 20px rgba(30,60,120,.1);
}
.btn-glass:hover { background: rgba(255,255,255,.8); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 28px rgba(37,211,102,.35); }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-block { display: flex; width: 100%; }

/* ── Shared bits ── */
.label-up { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.list-card {
  border-radius: 24px; overflow: hidden;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(30,60,120,.08);
}
.list-card > * + * { border-top: 1px solid var(--divider); }
.sq { display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.sq img { width: 100%; height: 100%; object-fit: cover; }
.sq-32 { width: 32px; height: 32px; border-radius: 9px; }
.sq-44 { width: 44px; height: 44px; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.sq-52 { width: 52px; height: 52px; border-radius: 16px; }
.check-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chip { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.warn {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 20px;
  background: #FFF4E8; border: 1px solid #FED7AA;
}
.warn svg { flex-shrink: 0; margin-top: 1px; }
.warn p { font-size: 14px; line-height: 1.5; color: #7C2D12; }

/* =========================================================
   HOME
   ========================================================= */
.home { position: relative; z-index: 1; padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 14px rgba(30,60,120,.12);
}
.brand-logo img { width: 34px; height: 34px; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.topbar-links { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.top-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.top-link:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.top-pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(30,60,120,.1);
}
.top-pill:hover { color: var(--ink); background: rgba(255,255,255,.8); }
.brand-name { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 419px) {
  .topbar { gap: 8px; }
  .brand { gap: 8px; }
  .topbar-links { gap: 4px; }
  .top-link { padding: 0 10px; }
  .top-pill { padding: 0 14px; }
}
@media (max-width: 379px) {
  .top-link { display: none; } /* Privacy tetap ada di footer */
}

/* Hero */
.hero {
  padding-top: clamp(40px,7vw,90px); padding-bottom: clamp(40px,6vw,80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,440px), 1fr));
  gap: clamp(40px,6vw,72px); align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 2px 10px rgba(30,60,120,.08);
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.hero-badge img { width: 24px; height: 24px; border-radius: 7px; object-fit: cover; }
.hero h1 { margin-top: 22px; font-size: clamp(40px,6.2vw,76px); line-height: 1; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { margin-top: 22px; max-width: 500px; font-size: clamp(16px,1.8vw,19px); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-btns .btn { min-height: 56px; padding: 0 28px; }
.hero-btns .btn-glass { padding: 0 24px; }
.btn-arrow { width: 24px; height: 24px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 34px; }
.hero-checks span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--text-2); }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.hero-glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 70%); }
.phone {
  position: relative; width: min(78vw,300px); aspect-ratio: 9/16.6; border-radius: 50px; padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.4));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 40px 80px rgba(30,60,120,.25), inset 0 1px 0 #fff;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 41px; }
.float-w {
  position: absolute; padding: 12px 14px; border-radius: 20px;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 16px 40px rgba(30,60,120,.18);
  display: flex; align-items: center; gap: 10px;
}
.float-w .fw-ic { width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; object-fit: cover; }
.fw-k { font-size: 12px; color: var(--text-3); font-weight: 500; }
.fw-v { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.fw-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: ping 1.6s ease-out infinite; }
.float-w.w1 { top: 12%; left: max(0px, calc(50% - 250px)); animation: bob 6s ease-in-out infinite; }
.float-w.w2 { bottom: 14%; right: max(0px, calc(50% - 250px)); animation: bob 7s ease-in-out infinite reverse; }
@media (max-width: 379px) { .float-w { display: none; } }

/* Section heads */
.sec { padding-top: 60px; padding-bottom: 60px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.h2 { font-size: clamp(32px,4.6vw,54px); line-height: 1; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.sec-sub { max-width: 360px; font-size: 16px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

/* Bento */
.bento { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.bento-big {
  padding: clamp(22px,3vw,32px); border-radius: 32px; background: var(--ink); color: #fff;
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  box-shadow: 0 24px 50px rgba(11,21,48,.25);
}
.bento-big::before { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -100px; border-radius: 50%; background: var(--blue); filter: blur(80px); opacity: .6; }
.bento-big > * { position: relative; }
.bento-kicker { font-size: 13px; font-weight: 600; color: #7DD3FC; margin-bottom: 10px; }
.bento-big h3 { font-size: clamp(26px,3vw,36px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; max-width: 360px; }
.bento-steps { display: flex; flex-direction: column; gap: 8px; }
.bento-step {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  font-size: 15px; font-weight: 600;
}
.bento-step b { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: #fff; color: var(--ink); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.feat { padding: 24px; border-radius: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s; }
.feat:hover { transform: translateY(-3px); }
.feat h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 5px; }
.feat p { font-size: 15px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento-big, .feat.w2 { grid-column: span 2; }
}
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .bento-big { grid-column: span 2; grid-row: span 2; }
}

/* Produk */
.product {
  padding: clamp(20px,3.5vw,40px); border-radius: 40px;
  background: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 30px 70px rgba(30,60,120,.12);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,380px), 1fr));
  gap: clamp(24px,4vw,48px); align-items: center;
}
.product-head { display: flex; align-items: center; gap: 16px; }
.app-icon {
  width: 88px; height: 88px; border-radius: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #DBEAFE, #fff); border: 1px solid #fff;
  box-shadow: 0 10px 24px rgba(37,99,235,.2);
}
.app-icon img { width: 72px; height: 72px; object-fit: contain; }
.chip-best { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #FFEDD5; color: #C2410C; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.product h2 { font-size: clamp(24px,3vw,32px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.product-desc { margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.product-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.product-btns .btn { padding: 0 26px; }
.product-btns .btn-ghost { padding: 0 22px; }
.settings { border-radius: 24px; background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: 0 8px 24px rgba(30,60,120,.08); overflow: hidden; }
.set-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.set-row + .set-row { border-top: 1px solid var(--divider); }
.set-txt { flex: 1; min-width: 0; }
.set-txt b { display: block; font-size: 15px; font-weight: 600; }
.set-txt small { display: block; font-size: 13px; color: var(--text-3); }
.toggle { width: 46px; height: 28px; border-radius: 999px; background: var(--green); flex-shrink: 0; position: relative; box-shadow: inset 0 1px 2px rgba(0,0,0,.1); }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }

/* Testimoni */
.testi { padding: 60px 0; }
.testi .sec-head { margin-bottom: 26px; }
.car-btns { display: flex; gap: 8px; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.car-btn.prev { background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 4px 14px rgba(30,60,120,.1); }
.car-btn.prev:hover { background: #fff; }
.car-btn.next { background: var(--ink); border: none; box-shadow: 0 6px 16px rgba(11,21,48,.25); }
.car-btn.next:hover { background: var(--ink-hover); }
.carousel {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  padding: 10px max(20px, calc((100vw - 1120px) / 2)) 30px;
  scroll-padding: 0 max(20px, calc((100vw - 1120px) / 2));
}
.carousel::-webkit-scrollbar { display: none; }
.t-card { flex-shrink: 0; width: 270px; scroll-snap-align: start; border-radius: 28px; padding: 8px; display: flex; flex-direction: column; }
.t-photo { position: relative; display: block; width: 100%; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: #DDE6F3; border: none; padding: 0; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.t-meta {
  position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 9px 11px; border-radius: 16px;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.9);
  display: flex; align-items: center; gap: 9px; text-align: left;
}
.t-av { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.t-who { flex: 1; min-width: 0; }
.t-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.t-city { font-size: 11px; color: var(--text-3); }
.t-stars { font-size: 11px; color: #F59E0B; letter-spacing: 1px; flex-shrink: 0; }
.t-quote { padding: 14px 10px 10px; font-size: 14px; line-height: 1.5; color: var(--text-soft); text-wrap: pretty; }

/* Komunitas */
.community { padding-top: 60px; padding-bottom: 40px; }
.community h2 { font-size: clamp(28px,3.6vw,40px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin-bottom: 8px; }
.community > p { font-size: 16px; color: var(--text-2); margin-bottom: 22px; text-wrap: pretty; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); gap: 14px; }
.tile { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: 28px; color: #fff; transition: transform .25s; }
.tile:hover { color: #fff; transform: translateY(-3px); }
.tile-l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tile-ic { width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.tile-k { font-size: 13px; }
.tile-v { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.tile-tt { background: #0B0B0F; box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.tile-tt .tile-ic { background: rgba(255,255,255,.1); }
.tile-tt .tile-k { color: rgba(255,255,255,.6); }
.tile-wa { background: #0E7C6B; box-shadow: 0 20px 40px rgba(14,124,107,.25); }
.tile-wa .tile-ic { background: rgba(255,255,255,.15); }
.tile-wa .tile-k { color: rgba(255,255,255,.7); }

/* Footer */
.foot { padding-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-3); }
.foot a { color: var(--text-3); display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { color: var(--ink); }

/* Dock */
.dock {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(30px) saturate(200%); backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 18px 40px rgba(30,60,120,.22);
  max-width: calc(100vw - 24px);
}
.dock-i {
  display: flex; align-items: center; gap: 7px; height: 48px; padding: 0 14px; border-radius: 999px;
  color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .25s, color .25s;
}
.dock-i:hover { color: var(--ink); }
.dock-i span { display: none; }
.dock-i.on { background: var(--ink); color: #fff; }
.dock-i.on:hover { color: #fff; }
@media (min-width: 520px) {
  .dock-i.on { padding: 0 16px; }
  .dock-i.on span { display: inline; }
}
.dock-buy {
  display: flex; align-items: center; height: 48px; padding: 0 20px; margin-left: 2px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px rgba(249,115,22,.4);
}
.dock-buy:hover { color: #fff; background: var(--orange-hover); }
@media (max-width: 359px) {
  .dock-i { padding: 0 11px; }
  .dock-buy { padding: 0 16px; }
}

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(238,243,250,.55);
  -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
}
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 86vh; border-radius: 28px; box-shadow: 0 40px 90px rgba(30,60,120,.35); }
.lb-close { position: fixed; top: calc(18px + env(safe-area-inset-top)); right: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); border: none; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .lb { background: rgba(238,243,250,.96); }
  .dock, .top-pill, .hero-badge, .float-w, .t-meta, .product, .car-btn.prev { background: rgba(255,255,255,.85); }
}

/* =========================================================
   PAGE SHELL (Privacy & Checkout)
   ========================================================= */
.page { position: relative; z-index: 1; margin: 0 auto; }
.sticky-bar {
  position: sticky; top: 0; z-index: 20;
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(11,21,48,.06);
  padding-top: env(safe-area-inset-top);
}

/* ── Privacy ── */
.page-privacy { max-width: 560px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.pv-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: rgba(238,243,250,.65); }
.pv-back { display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 10px 0 4px; border-radius: 999px; font-size: 17px; font-weight: 500; color: var(--blue); }
.pv-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; opacity: 0; transition: opacity .2s; position: absolute; left: 50%; bottom: 32px; transform: translate(-50%, 50%); white-space: nowrap; pointer-events: none; }
.pv-title.show { opacity: 1; }
.pv-buy { min-height: 36px; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; background: var(--orange); color: #fff; font-size: 14px; font-weight: 700; position: relative; }
.pv-buy::before { content: ""; position: absolute; inset: -4px 0; } /* tap area 44px */
.pv-buy:hover { color: #fff; background: var(--orange-hover); }
.pv-head { padding: 18px 20px 0; }
.pv-head-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pv-logo { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: 0 6px 18px rgba(30,60,120,.12); }
.pv-logo img { width: 42px; height: 42px; object-fit: contain; }
.pv-date { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); font-size: 12px; font-weight: 600; color: var(--text-2); }
.pv-head h1 { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.pv-head p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.tldr { margin: 22px 16px 0; padding: 20px; border-radius: 28px; background: var(--ink); color: #fff; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(11,21,48,.22); }
.tldr::before { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -100px; border-radius: 50%; background: var(--blue); filter: blur(70px); opacity: .65; }
.tldr > * { position: relative; }
.tldr-k { font-size: 13px; font-weight: 600; color: #7DD3FC; margin-bottom: 12px; }
.tldr ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tldr li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; font-weight: 500; }
.tldr .check-dot { width: 22px; height: 22px; margin-top: 1px; }
.pv-label-row { padding: 28px 20px 8px; display: flex; align-items: center; justify-content: space-between; }
.pv-toggle-all { min-height: 44px; padding: 0 4px; border: none; background: none; color: var(--blue); font-size: 15px; font-weight: 600; cursor: pointer; }
.pv-list { margin: 0 16px; }
.acc-btn { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: none; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.acc-btn .acc-t { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.acc-chev { display: flex; transition: transform .25s; }
.acc-btn[aria-expanded="true"] .acc-chev { transform: rotate(90deg); }
.acc-body { padding: 0 18px 18px 62px; }
.acc-body[hidden] { display: none; }
.acc-body p { font-size: 15px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.acc-body ul { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.acc-body li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.acc-body li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--blue)); flex-shrink: 0; margin-top: 8px; }
.link-row { min-height: 62px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: var(--ink); }
.link-row:hover { color: var(--ink); background: rgba(255,255,255,.5); }
.link-row .lr-t { flex: 1; min-width: 0; }
.link-row b { display: block; font-size: 16px; font-weight: 600; }
.link-row small { display: block; font-size: 13px; color: var(--text-3); }
.pv-foot { padding: 28px 16px 0; }
.pv-foot .btn { min-height: 54px; gap: 8px; box-shadow: 0 14px 30px rgba(11,21,48,.22); }
.pv-foot p { margin-top: 22px; text-align: center; font-size: 13px; color: var(--text-3); }

/* ── Checkout ── */
.page-co { max-width: 520px; min-height: 100vh; min-height: 100dvh; padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
.page-co.no-bar { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.co-head { padding-left: 12px; padding-right: 12px; padding-bottom: 12px; background: rgba(238,243,250,.7); }
.co-head-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.95); background: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 2px 10px rgba(30,60,120,.08);
}
.co-title { text-align: center; min-width: 0; }
.co-title b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.co-title small { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; }
.progress { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-top: 12px; padding: 0 4px; }
.progress span { height: 5px; border-radius: 999px; background: rgba(11,21,48,.1); transition: background .3s; }
.progress span.on { background: var(--blue); }
.co-product {
  margin: 16px 16px 0; padding: 12px; border-radius: 22px; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgba(30,60,120,.07);
}
.co-product .logo { width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg,#DBEAFE,#fff); border: 1px solid #fff; }
.co-product .logo img { width: 42px; height: 42px; object-fit: contain; }
.co-product b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.co-product small { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 13px; color: var(--text-3); }
.co-product small img { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }
.co-intro { padding: 26px 20px 0; }
.co-intro h1, .co-wait h1 { font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.04em; }
.co-intro p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.opts { padding: 18px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.opt {
  width: 100%; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 18px 16px; border-radius: 24px; color: var(--ink);
  background: rgba(255,255,255,.5); border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 6px 18px rgba(30,60,120,.06);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.opt.m { padding: 16px; }
.opt[aria-checked="true"] { background: rgba(255,255,255,.88); border-color: var(--blue); box-shadow: 0 12px 30px rgba(37,99,235,.18); }
.radio { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 2px solid #C3CCDD; }
.radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: 0; }
.opt[aria-checked="true"] .radio { border-color: var(--blue); background: var(--blue); }
.opt[aria-checked="true"] .radio::after { opacity: 1; }
.opt-main { flex: 1; min-width: 0; }
.opt-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.opt-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.opt.m .opt-name { font-size: 17px; }
.opt-desc { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.opt-price { text-align: right; flex-shrink: 0; }
.opt-price b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.opt-price small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.m-logo { width: 50px; height: 50px; border-radius: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(11,21,48,.06); font-weight: 800; letter-spacing: -.02em; }
.m-logo.qris { background: #fff; color: #D7262C; font-size: 13px; }
.m-logo.bnb { background: #181A20; color: #F0B90B; font-size: 22px; }
.summary { margin: 16px 16px 0; padding: 14px 16px; border-radius: 20px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.9); }
.summary div { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); }
.summary div + div { margin-top: 8px; }
.summary b { font-weight: 600; color: var(--ink); }

.pay-card {
  margin: 16px 16px 0; padding: 22px 18px; border-radius: 30px; text-align: center;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 14px 36px rgba(30,60,120,.1);
}
.pay-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pay-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s ease-in-out infinite; }
.pay-badge.qris { background: #DCFCE7; color: #15803D; }
.pay-badge.binance { background: #FEF3C7; color: #A16207; }
.pay-k { margin-top: 14px; font-size: 13px; color: var(--text-3); font-weight: 500; }
.pay-amt { font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.045em; margin-top: 2px; }
.pay-note { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.qr-box { margin: 18px auto 0; width: 100%; max-width: 300px; aspect-ratio: 1; border-radius: 22px; background: #fff; padding: 10px; box-shadow: 0 10px 30px rgba(30,60,120,.12); }
.qr-box img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.qr-save { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(11,21,48,.06); color: var(--ink); font-size: 14px; font-weight: 600; }
.qr-save:hover { color: var(--ink); background: rgba(11,21,48,.1); }
.copy-list { margin-top: 18px; border-radius: 20px; background: rgba(255,255,255,.8); border: 1px solid #fff; overflow: hidden; text-align: left; }
.copy-row { display: flex; align-items: center; gap: 12px; padding: 14px; }
.copy-row + .copy-row { border-top: 1px solid var(--divider); }
.copy-row > div { flex: 1; min-width: 0; }
.copy-row small { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; }
.copy-row b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; word-break: break-all; }
.copy-btn { min-height: 40px; padding: 0 14px; border-radius: 999px; border: none; cursor: pointer; flex-shrink: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; transition: background .2s; }
.copy-btn.done { background: var(--green); }
.wallets { margin: 12px 16px 0; padding: 16px; border-radius: 24px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9); }
.wallets-k { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 10px; }
.wallets-list { display: flex; flex-wrap: wrap; gap: 6px; }
.wallets-list span { padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid rgba(11,21,48,.06); font-size: 13px; font-weight: 600; }
.co-label { padding: 22px 20px 8px; }
.steps-list { margin: 0 16px; box-shadow: none; }
.step-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; }
.step-row b { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-row span { font-size: 15px; line-height: 1.45; color: var(--text-soft); padding-top: 2px; }

.co-wait { padding: 40px 20px 0; text-align: center; }
.wait-ic { position: relative; width: 110px; height: 110px; margin: 0 auto 26px; }
.wait-ic .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37,99,235,.35); animation: ringOut 2s ease-out infinite; }
.wait-ic .ring.r2 { animation-delay: .7s; }
.wait-ic .core { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(160deg,#3B82F6,#1D4ED8); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 18px 40px rgba(37,99,235,.35); animation: popIn .45s cubic-bezier(.34,1.56,.64,1); }
.pending { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #FEF3C7; color: #B45309; font-size: 12px; font-weight: 700; }
.pending i { width: 6px; height: 6px; border-radius: 50%; background: #F59E0B; animation: blink 1.2s ease-in-out infinite; }
.co-wait h1 { margin-top: 14px; }
.co-wait p { margin: 10px auto 0; max-width: 340px; font-size: 15px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.co-wait p strong { color: var(--ink); }
.order { margin: 22px 16px 0; }
.order div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: 15px; }
.order span { color: var(--text-3); }
.order b { font-weight: 600; text-align: right; }
.order b.total { font-weight: 800; }
.co-warn { margin: 12px 16px 0; }
.wait-btns { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.wait-btns .btn-wa { min-height: 56px; gap: 9px; }
.wait-btns .btn-ghost { min-height: 52px; font-size: 15px; }
.wait-btns p { margin-top: 6px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--text-3); }

.co-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; padding: 0 12px calc(14px + env(safe-area-inset-bottom)); pointer-events: none; }
.co-bar-in {
  pointer-events: auto; width: 100%; max-width: 496px; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 28px;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(30px) saturate(200%); backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 18px 40px rgba(30,60,120,.2);
}
.co-bar-in > div { flex: 1; min-width: 0; }
.co-bar-in small { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; }
.co-bar-in b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.co-cta { min-height: 54px; padding: 0 24px; gap: 8px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 24px rgba(11,21,48,.22); }
.co-cta.paid { background: var(--green); }
.co-cta.paid:hover { background: #0EA371; }
.co-bar[hidden], [data-step][hidden] { display: none; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .co-bar-in, .co-product, .pay-card, .list-card, .opt { background: rgba(255,255,255,.85); }
  .opt[aria-checked="true"] { background: rgba(255,255,255,.95); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
