/* Tema "Laguna Tropis": langit cerah, air pirus, kartu kaca putih. */
:root {
  --sky: #f2fbff;
  --shallow: #d4f1fb;
  --lagoon: #8fd8f2;
  --ink: #0b2a45;
  --text: #16395a;
  --muted: #4e6f8c;
  --faint: #7d97ae;
  --sea: #0284c7;
  --sea-deep: #0369a1;
  --turq: #06b6d4;
  --turq-soft: #cffafe;
  --coral: #fb7185;
  --sun: #f59e0b;
  --ok: #059669;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.85);
  --line: rgba(2, 132, 199, 0.14);
  --line-strong: rgba(2, 132, 199, 0.32);
  --shadow: 0 18px 50px -18px rgba(3, 105, 161, 0.28), 0 2px 6px rgba(3, 105, 161, 0.06);
  --radius: 22px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--sky); }
body {
  margin: 0; min-height: 100vh; color: var(--text); font: 15px/1.55 var(--font);
  background: linear-gradient(180deg, var(--sky) 0%, var(--shallow) 55%, var(--lagoon) 100%) fixed;
  overflow-x: hidden;
}
#ocean { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
.sheen {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(70% 45% at 50% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%);
}
.topbar, main, .foot { position: relative; z-index: 2; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
button { font: inherit; cursor: pointer; }
a { color: var(--sea); }

/* ---------- topbar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 20px 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.01em; font-size: 18px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--turq), var(--sea)); box-shadow: 0 8px 20px -6px rgba(2,132,199,.55), inset 0 1px 0 rgba(255,255,255,.4);
}
.brand-mark svg { width: 24px; height: 24px; stroke: #e0fbff; stroke-width: 2.6; }
.brand-mark .arrow { stroke: #fff; animation: dip 2.4s ease-in-out infinite; }
@keyframes dip { 0%,100% { transform: translateY(-1px); } 50% { transform: translateY(2px); } }
.topbar-tag { font-size: 12px; font-weight: 700; color: var(--sea-deep); padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.6); backdrop-filter: blur(8px); }

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.9);
}

main { max-width: 820px; margin: 0 auto; padding: 0 16px 48px; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 10vh 0 6vh; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sea-deep);
  border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.7); box-shadow: 0 4px 14px -6px rgba(2,132,199,.25);
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 0 rgba(6,182,212,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(6,182,212,0); } 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0); } }
h1 { font-size: clamp(34px, 6.4vw, 60px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 16px; font-weight: 800; color: var(--ink); }
.grad { background: linear-gradient(92deg, var(--turq) 0%, var(--sea) 55%, #2563eb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(15px, 2vw, 17px); max-width: 520px; margin: 0 auto 34px; }

.search {
  display: flex; align-items: center; gap: 8px; max-width: 580px; margin: 0 auto;
  padding: 8px 8px 8px 18px; border-radius: 20px; background: var(--glass-strong); transition: box-shadow .2s;
}
.search:focus-within { box-shadow: 0 0 0 4px rgba(6,182,212,.2), var(--shadow); }
.search-ico { width: 22px; height: 22px; color: var(--sea); flex: none; }
.search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink);
  font: 600 17px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 14px 4px;
}
.search input::placeholder { color: var(--faint); text-transform: none; letter-spacing: 0; font-family: var(--font); font-weight: 500; font-size: 15px; }
.search button, .delivery .cta, #b-go {
  display: inline-flex; align-items: center; gap: 8px; border: 0; color: #fff; font-weight: 700;
  padding: 14px 22px; border-radius: 14px;
  background: linear-gradient(135deg, var(--turq), var(--sea) 60%, var(--sea-deep));
  box-shadow: 0 10px 24px -8px rgba(2,132,199,.65), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .15s, filter .2s;
}
.search button svg, .delivery .cta svg { width: 18px; height: 18px; stroke-width: 2.4; }
.search button:hover, .delivery .cta:hover, #b-go:hover { transform: translateY(-1px); filter: brightness(1.07); }
.search button:active { transform: translateY(1px); }
.search button[disabled] { filter: grayscale(.3); cursor: progress; }
.search button.loading span::after { content: "…"; }
.hint { color: var(--muted); font-size: 13px; margin: 16px auto 0; max-width: 520px; }
.hint b { color: var(--ink); font-weight: 600; }
.demo { margin: 22px auto 0; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center; font-size: 12.5px; color: var(--muted); }
.demo button { border: 1px dashed var(--line-strong); background: rgba(255,255,255,.65); color: var(--sea-deep); border-radius: 99px; padding: 5px 11px; font: 600 12px var(--mono); }
.demo button:hover { background: #fff; border-style: solid; }

.alert { margin: 18px auto 0; max-width: 580px; padding: 12px 16px; border-radius: 14px; font-size: 14px; text-align: left; background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }

/* ---------- result ---------- */
.result { padding-top: 28px; display: grid; gap: 16px; }
.result > * { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.result > *:nth-child(2) { animation-delay: .05s; }
.result > *:nth-child(3) { animation-delay: .12s; }
.result > *:nth-child(4) { animation-delay: .19s; }
.result > *:nth-child(5) { animation-delay: .26s; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--sea-deep); background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; font-weight: 700; font-size: 14px; backdrop-filter: blur(8px); }
.ghost:hover { background: #fff; }
.ghost svg { width: 16px; height: 16px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

.card { border-radius: var(--radius); padding: 24px; }
.card h2 { font-size: 17px; margin: 0; letter-spacing: -.01em; color: var(--ink); }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.label { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }

.order-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sn { margin: 0; font: 700 clamp(18px, 3.4vw, 24px)/1.2 var(--mono); letter-spacing: .05em; color: var(--ink); word-break: break-all; }
.badge { flex: none; padding: 7px 13px; border-radius: 99px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--sea-deep); background: #e0f2fe; border: 1px solid #bae6fd; }
.badge.ok { color: #047857; background: #d1fae5; border-color: #a7f3d0; }
.badge.danger { color: #be123c; background: #ffe4e6; border-color: #fecdd3; }
.meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.meta div.wide { grid-column: 1 / -1; }
.meta dt { color: var(--muted); font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
.meta dd { margin: 0; font-weight: 700; color: var(--ink); word-break: break-word; }

.queue { font-size: 13px; font-weight: 700; color: #b45309; padding: 6px 12px; border-radius: 99px; background: #fef3c7; border: 1px solid #fde68a; }

/* ---------- journey ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.step { position: relative; text-align: center; padding: 0 4px; }
.step .node {
  position: relative; z-index: 2; width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; color: var(--faint); background: #fff; border: 1.5px solid #d7e6f1; transition: all .4s;
}
.step .node svg { width: 22px; height: 22px; }
.step::before { content: ""; position: absolute; top: 24px; left: calc(-50% + 27px); right: calc(50% + 27px); height: 4px; border-radius: 4px; background: #dbe9f3; z-index: 1; }
.step:first-child::before { display: none; }
.step.done::before, .step.current::before {
  background: linear-gradient(90deg, var(--turq), var(--sea), var(--turq)); background-size: 200% 100%; animation: flow 2.2s linear infinite;
}
@keyframes flow { to { background-position: -200% 0; } }
.step.done .node { color: #fff; border-color: transparent; background: linear-gradient(140deg, var(--turq), var(--sea)); box-shadow: 0 6px 16px -6px rgba(2,132,199,.6); }
.step.current .node { color: #fff; border-color: transparent; background: radial-gradient(circle at 35% 30%, #38bdf8, var(--sea-deep)); box-shadow: 0 0 0 6px rgba(6,182,212,.18), 0 10px 26px -6px rgba(2,132,199,.7); }
.step.current .node::before, .step.current .node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--turq); opacity: 0; animation: sonar 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
.step.current .node::after { animation-delay: 1.2s; }
@keyframes sonar { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.step.current .node svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-2px); } }
.step .name { font-size: 13px; font-weight: 700; color: var(--faint); line-height: 1.3; }
.step.done .name { color: var(--muted); }
.step.current .name { color: var(--ink); }
.step .time { font-size: 11.5px; color: var(--faint); margin-top: 4px; }
.step.current .time { color: var(--sea); font-weight: 600; }

.cancelled { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; font-size: 14px; }
.journey.is-cancelled { opacity: .45; filter: grayscale(.7); }

.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #ecfeff; border: 1px solid #a5f3fc; }
.note svg { width: 20px; height: 20px; color: var(--turq); flex: none; margin-top: 1px; }
.note p { margin: 0; font-size: 14px; color: var(--text); }

/* ---------- delivery ---------- */
.delivery { position: relative; overflow: hidden; }
.delivery .d-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.delivery .d-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.delivery .d-ico svg { width: 22px; height: 22px; }
.delivery.wait .d-ico { color: var(--sea); background: #e0f2fe; }
.delivery.ready .d-ico { color: #fff; background: linear-gradient(140deg, var(--turq), var(--sea)); box-shadow: 0 8px 18px -6px rgba(2,132,199,.6); }
.delivery.expired .d-ico { color: #be123c; background: #ffe4e6; }
.delivery h2 { font-size: 18px; }
.delivery .sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.delivery.ready::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 100% 0%, rgba(6,182,212,.16), transparent 70%); }
.folder { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.8); border: 1px solid var(--line); margin-bottom: 16px; }
.folder .f-ico { width: 46px; height: 46px; color: var(--sea); }
.folder .f-name { font-weight: 800; font-size: 16px; color: var(--ink); word-break: break-word; }
.folder .f-meta { color: var(--muted); font-size: 13.5px; margin-top: 2px; display: flex; gap: 14px; flex-wrap: wrap; }
.folder .f-meta b { color: var(--ink); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.countdown div { text-align: center; padding: 10px 4px; border-radius: 12px; background: rgba(255,255,255,.8); border: 1px solid var(--line); }
.countdown b { display: block; font: 700 22px/1.1 var(--mono); color: var(--sea-deep); }
.countdown span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.countdown.urgent b { color: #d97706; }
.d-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.delivery .cta { text-decoration: none; }
.copy { color: var(--sea-deep); background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; padding: 13px 18px; font-weight: 700; }
.copy:hover { border-color: var(--sea); }
.d-foot { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.wait-bar { height: 6px; border-radius: 6px; background: #dbeafe; overflow: hidden; position: relative; }
.wait-bar::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: 6px; background: linear-gradient(90deg, transparent, var(--turq), var(--sea), transparent); animation: sweep 1.8s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- baidu form ---------- */
.stack { display: grid; gap: 10px; margin-top: 14px; }
.stack .row { display: flex; gap: 10px; }
textarea, .stack input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #cfe2ef; outline: 0; background: #fff; color: var(--ink); font: 14px/1.4 var(--font); resize: vertical; }
textarea:focus, .stack input:focus { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(6,182,212,.18); }
#b-go { white-space: nowrap; padding: 12px 18px; }
.stack .alert { margin: 0; max-width: none; }

/* ---------- history ---------- */
.history summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.history summary::-webkit-details-marker { display: none; }
.history summary svg { width: 20px; height: 20px; color: var(--muted); transition: transform .25s; }
.history[open] summary svg { transform: rotate(180deg); }
.history ul { list-style: none; margin: 18px 0 0; padding: 0 0 0 18px; border-left: 2px solid #d7e6f1; }
.history li { position: relative; padding: 0 0 16px 14px; }
.history li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--sea); }
.history li:first-child::before { background: var(--turq); border-color: var(--turq); box-shadow: 0 0 0 4px rgba(6,182,212,.2); }
.history .h-t { font-weight: 700; font-size: 14px; color: var(--ink); }
.history .h-m { color: var(--muted); font-size: 13.5px; }
.history .h-d { color: var(--faint); font-size: 12px; }

.foot { text-align: center; color: var(--sea-deep); font-size: 12.5px; padding: 0 16px 28px; opacity: .85; }

/* ---------- responsive ---------- */
@media (max-width: 680px) {
  .topbar-tag { display: none; }
  .hero { padding-top: 8vh; }
  .search { padding-left: 14px; }
  .search-ico { display: none; }
  .search button { padding: 14px 16px; }
  .card { padding: 20px 18px; }
  .meta { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 50px 1fr; column-gap: 14px; text-align: left; padding: 0 0 18px; align-items: center; }
  .step .node { margin: 0; grid-row: span 2; }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: auto; bottom: calc(100% - 4px); left: 23px; right: auto; width: 4px; height: 22px; }
  .step.done::before, .step.current::before { background: linear-gradient(180deg, var(--turq), var(--sea)); animation: none; }
  .step .time { margin-top: 0; }
  .countdown b { font-size: 19px; }
  .stack .row { flex-direction: column; }
  .order-top { flex-direction: column; }
}

/* ---------- mode: lacak / cek ukuran ---------- */
.modes {
  display: inline-flex; gap: 4px; padding: 5px; margin: 0 0 22px; border-radius: 99px;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 8px 24px -12px rgba(3,105,161,.35); backdrop-filter: blur(10px);
}
.modes button {
  display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--muted);
  font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 99px; transition: background .2s, color .2s;
}
.modes button svg { width: 17px; height: 17px; }
.modes button:hover { color: var(--sea-deep); }
.modes button.on { color: #fff; background: linear-gradient(135deg, var(--turq), var(--sea)); box-shadow: 0 6px 16px -6px rgba(2,132,199,.7); }
[data-panel] { animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }

.size-form { max-width: 620px; margin: 0 auto; padding: 12px; border-radius: 20px; background: var(--glass-strong); text-align: left; }
.size-form:focus-within { box-shadow: 0 0 0 4px rgba(6,182,212,.2), var(--shadow); }
.size-form textarea { border: 0; background: transparent; padding: 10px 10px 6px; font-size: 15px; min-height: 64px; box-shadow: none !important; }
.size-row { display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.size-row input { flex: 1; min-width: 0; border: 1px solid #cfe2ef; background: #fff; border-radius: 12px; padding: 12px 14px; font: 14px var(--font); color: var(--ink); outline: 0; }
.size-row input:focus { border-color: var(--sea); }
#s-go {
  display: inline-flex; align-items: center; gap: 8px; border: 0; color: #fff; font-weight: 700; padding: 13px 20px; border-radius: 14px; white-space: nowrap;
  background: linear-gradient(135deg, var(--turq), var(--sea) 60%, var(--sea-deep)); box-shadow: 0 10px 24px -8px rgba(2,132,199,.65);
}
#s-go svg { width: 18px; height: 18px; stroke-width: 2.4; }
#s-go[disabled] { filter: grayscale(.3); cursor: progress; }
#s-go.loading span::after { content: "…"; }

.size-result { max-width: 620px; margin: 22px auto 0; text-align: left; background: rgba(255,255,255,.88); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.stats > div { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.85); border: 1px solid var(--line); }
.big { margin: 0; font: 800 clamp(24px, 5vw, 32px)/1.1 var(--font); letter-spacing: -.02em; color: var(--sea-deep); }
.s-note { margin: 0 0 12px; font-size: 13px; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 8px 12px; }
.s-list-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 0 4px 6px; border-bottom: 1px solid var(--line); }
.s-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
.s-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.s-list li span:first-child { word-break: break-all; color: var(--ink); }
.s-list li span:last-child { white-space: nowrap; font: 600 13px var(--mono); color: var(--sea-deep); }
.s-more { margin: 8px 4px 0; font-size: 12.5px; color: var(--faint); }
.s-cta { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #ecfeff; border: 1px solid #a5f3fc; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.s-cta p { margin: 0; font-size: 14px; flex: 1; min-width: 200px; }

@media (max-width: 680px) {
  .modes { display: flex; width: 100%; }
  .modes button { flex: 1; justify-content: center; padding: 10px 8px; font-size: 13.5px; }
  .size-row { flex-direction: column; align-items: stretch; }
  #s-go { justify-content: center; }
}

/* ---------- estimasi harga ---------- */
.price { margin: 0 0 18px; padding: 16px; border-radius: 16px; background: linear-gradient(160deg, #f0fdff, #e0f2fe); border: 1px solid #bae6fd; }
.price-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.price h3 { margin: 0; font-size: 16px; color: var(--ink); }
.svc { display: inline-flex; gap: 3px; padding: 3px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.svc button { border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 99px; }
.svc button small { font-weight: 600; opacity: .8; }
.svc button.on { color: #fff; background: linear-gradient(135deg, var(--turq), var(--sea)); }
.svc button[data-svc="priority"].on { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.pkg { position: relative; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pkg.best { border: 2px solid var(--turq); box-shadow: 0 8px 22px -12px rgba(6,182,212,.7); }
.tag-best { position: absolute; top: -10px; right: 12px; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--turq), var(--sea)); padding: 3px 9px; border-radius: 99px; }
.pkg-name { font-size: 13px; font-weight: 700; color: var(--muted); }
.pkg-price { font: 800 26px/1.15 var(--font); letter-spacing: -.02em; color: var(--sea-deep); margin: 4px 0 6px; }
.pkg-calc { font-size: 12.5px; color: var(--faint); line-height: 1.5; }
.price-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- halaman legal ---------- */
.foot a { color: var(--sea-deep); font-weight: 600; }
.hint a { color: var(--sea-deep); }
body.legal-page { background: linear-gradient(180deg, var(--sky) 0%, var(--shallow) 70%, #bfe9f8 100%) fixed; }
a.topbar-tag { text-decoration: none; }
.legal { max-width: 860px; padding-top: 28px; }
.legal-tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 16px; border-radius: 99px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 8px 24px -14px rgba(3,105,161,.35); }
.legal-tabs a { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); padding: 9px 16px; border-radius: 99px; }
.legal-tabs a.on { color: #fff; background: linear-gradient(135deg, var(--turq), var(--sea)); }
.legal-doc { background: rgba(255,255,255,.9); padding: 34px clamp(20px, 5vw, 48px); line-height: 1.7; color: var(--text); }
.legal-doc h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 6px; text-align: left; }
.legal-doc .meta-line { margin: 0 0 22px; color: var(--faint); font-size: 13.5px; }
.legal-doc h2 { font-size: 19px; margin: 30px 0 8px; color: var(--ink); }
.legal-doc h3 { font-size: 15.5px; margin: 18px 0 4px; color: var(--ink); }
.legal-doc p, .legal-doc li { font-size: 15px; }
.legal-doc ul { padding-left: 22px; margin: 6px 0 12px; }
.legal-doc li { margin: 4px 0; }
.legal-doc .mono { font-family: var(--mono); font-size: 13.5px; }
.legal-doc hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0 4px; }
.summary { margin: 18px 0 6px; padding: 16px 20px; border-radius: 16px; background: #ecfeff; border: 1px solid #a5f3fc; }
.summary ul { margin-bottom: 0; }

/* ---------- navigasi & konten publik ---------- */
.topbar { gap: 16px; flex-wrap: wrap; }
.topnav { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.topnav a { text-decoration: none; color: var(--sea-deep); font-weight: 700; font-size: 13.5px; padding: 8px 11px; border-radius: 10px; }
.topnav a:hover { background: rgba(255,255,255,.75); }
html { scroll-behavior: smooth; }
#landing { display: grid; gap: 16px; padding-top: 8px; }
.info { background: rgba(255,255,255,.86); scroll-margin-top: 20px; }
.info h2 { font-size: clamp(20px, 3.4vw, 26px); margin: 0 0 10px; letter-spacing: -.02em; }
.info p { margin: 0 0 10px; line-height: 1.7; }
.info a { color: var(--sea-deep); font-weight: 600; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.feat { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.feat h3 { margin: 10px 0 4px; font-size: 15px; color: var(--ink); }
.feat p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.f-i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--turq), var(--sea)); }
.f-i svg { width: 20px; height: 20px; }
ol.how { margin: 6px 0 0; padding-left: 22px; line-height: 1.7; }
ol.how li { margin: 6px 0; }
.price-table { display: grid; gap: 8px; margin: 12px 0; }
.pt-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.pt-row b { color: var(--sea-deep); }
.small-p { font-size: 13px; }
ul.ticks { list-style: none; padding: 0; margin: 4px 0 12px; }
ul.ticks li { position: relative; padding-left: 26px; margin: 6px 0; line-height: 1.6; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--turq); border-bottom: 2.5px solid var(--turq); transform: rotate(-45deg); }
#faq details { border-top: 1px solid var(--line); padding: 12px 0; }
#faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
#faq details p { margin: 8px 0 0; color: var(--muted); }
.site-foot { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 8px 16px 32px; color: var(--text); }
.sf-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 24px; border-radius: 20px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95); }
.sf-inner p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); max-width: 420px; }
.sf-inner .sf-small { font-size: 12.5px; }
.sf-inner nav { display: grid; gap: 4px; align-content: start; }
.site-foot a { color: var(--sea-deep); font-weight: 600; font-size: 13.5px; }
.sf-copy { text-align: center; font-size: 12.5px; color: var(--sea-deep); margin: 14px 0 0; }
@media (max-width: 680px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .topnav { justify-content: flex-start; margin-left: -8px; }
  .topnav a { padding: 6px 8px; font-size: 13px; }
  .features { grid-template-columns: 1fr; }
  .pt-row { grid-template-columns: 1fr; gap: 2px; }
}
.lang-switch { display: inline-flex; gap: 3px; padding: 3px; margin-bottom: 18px; border-radius: 99px; background: #f0f9ff; border: 1px solid var(--line); }
.lang-switch a { text-decoration: none; font-weight: 700; font-size: 13px; color: var(--muted); padding: 7px 14px; border-radius: 99px; }
.lang-switch a.on { color: #fff; background: linear-gradient(135deg, var(--turq), var(--sea)); }
.legal-doc .limited { padding: 14px 16px; border-radius: 12px; background: #f0f9ff; border-left: 4px solid var(--sea); font-weight: 600; }
.legal-doc h2[id] { scroll-margin-top: 20px; }

.legal #landing { padding-top: 0; }
body.legal-page .topbar { max-width: 1080px; }

/* ---------- About (English) di beranda ---------- */
#landing { max-width: 820px; margin: 0 auto; }
.about-en { background: rgba(255,255,255,.86); margin-top: 8px; scroll-margin-top: 20px; }
.about-en h2 { font-size: clamp(22px, 3.6vw, 28px); margin: 0 0 10px; letter-spacing: -.02em; }
.about-en p { line-height: 1.7; margin: 0 0 10px; }
.about-en a { color: var(--sea-deep); font-weight: 600; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 8px; }
.ab { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.ab h3 { margin: 10px 0 4px; font-size: 15px; color: var(--ink); }
.ab p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.about-sub { font-size: 16px; margin: 18px 0 4px; color: var(--ink); }
.about-links { margin-top: 14px !important; font-size: 14px; }
@media (max-width: 680px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- tombol Toko Digital ---------- */
.top-actions { display: flex; align-items: center; gap: 10px; }
.shop-btn { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: #fff; font-weight: 700; font-size: 13.5px; padding: 9px 15px; border-radius: 99px; background: linear-gradient(135deg, var(--turq), var(--sea)); box-shadow: 0 8px 20px -8px rgba(2,132,199,.7); }
.shop-btn svg { width: 17px; height: 17px; stroke-width: 2.2; }
.shop-btn:hover { filter: brightness(1.07); }
@media (max-width: 680px) { body:not(.legal-page) .topbar { flex-direction: row; align-items: center; } .top-actions .topbar-tag { display: none; } }

/* ---------- FAQ & Hubungi Kami ---------- */
.legal-tabs { flex-wrap: wrap; }
.faq-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.faq-toc a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--sea-deep); padding: 6px 12px; border-radius: 99px; background: #f0f9ff; border: 1px solid var(--line); }
details.qa { border-bottom: 1px solid var(--line); padding: 12px 2px; }
details.qa summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; position: relative; padding-right: 28px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--sea); font-weight: 500; transition: transform .2s; }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa p, details.qa ol, details.qa ul { margin: 10px 0 2px; color: var(--text); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 18px 0; }
.cbox { display: grid; gap: 2px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .2s; }
.cbox:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(3,105,161,.5); }
.cbox .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--turq), var(--sea)); margin-bottom: 8px; }
.cbox .ci svg { width: 20px; height: 20px; }
.cbox b { color: var(--ink); } .cbox span { color: var(--sea-deep); font-weight: 600; word-break: break-all; } .cbox small { color: var(--faint); }
.cinfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 20px; margin: 0 0 10px; padding: 14px 16px; border-radius: 14px; background: #f0f9ff; border: 1px solid var(--line); }
.cinfo dt { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cinfo dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.cform { display: grid; gap: 12px; margin-top: 10px; }
.cform label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.cform small { font-weight: 500; color: var(--faint); }
.cform input, .cform select, .cform textarea { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid #cfe2ef; background: #fff; color: var(--ink); font: 14.5px var(--font); outline: 0; }
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(6,182,212,.18); }
.cform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform .send { justify-self: start; border: 0; color: #fff; font: 700 15px var(--font); padding: 13px 24px; border-radius: 14px; cursor: pointer; background: linear-gradient(135deg, var(--turq), var(--sea) 60%, var(--sea-deep)); box-shadow: 0 10px 24px -10px rgba(2,132,199,.7); }
.small-note { font-size: 12.5px; color: var(--faint); margin: 0; }
.legal-doc .alert { max-width: none; margin: 0 0 14px; }
.legal-doc .alert.ok { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
@media (max-width: 600px) { .cform .two { grid-template-columns: 1fr; } }

/* ---------- Progres analisa Baidu ---------- */
.s-prog { max-width: 620px; margin: 22px auto 0; padding: 20px 22px; border-radius: 20px; text-align: left; background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow); animation: spIn .35s ease; }
@keyframes spIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sp-head { display: flex; align-items: center; gap: 14px; }
.sp-spin { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--turq-soft); border-top-color: var(--sea); animation: spin .8s linear infinite; }
.s-prog.finish .sp-spin { animation: none; border-color: #10b981; background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/18px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.sp-txt { flex: 1; min-width: 0; }
.sp-txt b { display: block; font-size: 16px; color: var(--ink); }
.sp-txt small { display: block; color: var(--muted); font-size: 13px; }
.sp-time { font: 700 14px var(--mono); color: var(--sea-deep); background: var(--turq-soft); padding: 4px 10px; border-radius: 99px; }
.sp-bar { position: relative; height: 12px; margin: 16px 0 14px; border-radius: 99px; background: #e0f2fe; overflow: hidden; }
.sp-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--turq), var(--sea)); transition: width .45s ease; overflow: hidden; }
.sp-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.55) 50%, transparent 75%); background-size: 200% 100%; animation: shine 1.3s linear infinite; }
.s-prog.finish .sp-bar i { background: linear-gradient(90deg, #34d399, #059669); }
@keyframes shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sp-steps li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--faint); line-height: 1.25; }
.sp-steps li span { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cbd5e1; display: grid; place-items: center; }
.sp-steps li.on { color: var(--sea-deep); }
.sp-steps li.on span { border-color: var(--sea); box-shadow: 0 0 0 4px rgba(2,132,199,.15); animation: pulse 1.2s ease-in-out infinite; }
.sp-steps li.done { color: #047857; }
.sp-steps li.done span { border-color: #10b981; background: #10b981; }
.sp-steps li.done span::after { content: "✓"; color: #fff; font-size: 11px; font-weight: 800; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(2,132,199,.06); } }
.sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.sp-stats b { display: block; font: 800 18px var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.sp-stats small { color: var(--faint); font-size: 12px; }

.s-done { display: flex; align-items: center; gap: 12px; margin: -4px 0 18px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #ecfdf5, #f0fdf4); border: 1px solid #a7f3d0; }
.s-done b { display: block; color: #047857; font-size: 16px; }
.s-done small { display: block; color: #059669; font-size: 13px; }
.sd-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #10b981; box-shadow: 0 6px 14px -6px rgba(5,150,105,.7); }
.sd-ic svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.s-done.partial { background: linear-gradient(135deg, #fffbeb, #fefce8); border-color: #fde68a; }
.s-done.partial b { color: #b45309; } .s-done.partial small { color: #b45309; } .s-done.partial .sd-ic { background: #f59e0b; }
.size-result.pop { animation: pop .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.s-fail { max-width: 620px; margin: 18px auto 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; text-align: left; background: #fff1f2; border: 1px solid #fecdd3; }
.s-fail b { color: #be123c; display: block; }
.s-fail p { margin: 2px 0 0; color: #9f1239; font-size: 14px; }
.s-fail > div { flex: 1; }
.sf-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f43f5e; }
.sf-ic svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.s-fail .ghost.sm { padding: 8px 12px; font-size: 13px; }
@media (max-width: 560px) {
  .sp-steps { grid-template-columns: 1fr 1fr; }
  .sp-stats b { font-size: 16px; }
  .s-fail { flex-wrap: wrap; } .s-fail .ghost.sm { margin-left: 46px; }
}
@media (prefers-reduced-motion: reduce) { .sp-spin, .sp-bar i::after, .sp-steps li.on span { animation: none; } }
.size-result, .s-prog { scroll-margin-top: 18px; }

.size-result .stats { grid-template-columns: repeat(3, 1fr); }
.s-root { margin: 0 0 18px; }
.s-root h3 { margin: 0 0 8px; font-size: 15px; color: var(--ink); }
.s-root-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.s-root-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.s-root-list li:last-child { border-bottom: 0; }
.s-root-list .ri { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #e0f2fe; color: var(--sea); }
.s-root-list li.dir .ri { background: #fef3c7; color: #d97706; }
.s-root-list .ri svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.s-root-list .rn { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); word-break: break-word; }
.s-root-list .rn small { display: block; font-weight: 500; color: var(--faint); font-size: 12px; }
.s-root-list .rs { font: 700 13px var(--mono); color: var(--sea-deep); white-space: nowrap; }
@media (max-width: 560px) { .size-result .stats { grid-template-columns: 1fr 1fr; } .size-result .stats > div:last-child { grid-column: span 2; } }

/* ---------- Captcha Baidu ---------- */
.s-cap { max-width: 620px; margin: 22px auto 0; padding: 18px 20px; border-radius: 20px; text-align: left; background: rgba(255,255,255,.92); border: 1px solid #fde68a; box-shadow: var(--shadow); animation: spIn .35s ease; }
.sc-head { display: flex; gap: 12px; align-items: center; }
.sc-head b { display: block; color: var(--ink); font-size: 16px; }
.sc-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.sc-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f59e0b; }
.sc-ic svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sc-row { display: flex; gap: 8px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.sc-row img { width: 120px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: #fff; object-fit: contain; }
.sc-row input { flex: 1; min-width: 130px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong); font: 700 16px var(--mono); letter-spacing: .2em; background: #fff; color: var(--ink); }
.sc-go { padding: 11px 18px; border: 0; border-radius: 12px; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--turq), var(--sea)); cursor: pointer; }
.sc-note { margin: 10px 0 0; font-size: 12.5px; color: var(--faint); }

.sp-root { margin-top: 14px; }
.sp-root-h { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sp-root .s-root-list { max-height: 260px; overflow-y: auto; }
.s-root-list li.busy .rs { color: var(--muted); }
.s-root-list .rk { font-style: normal; color: #059669; font-weight: 800; margin-left: 4px; }
.s-root-list .rsp { display: inline-block; width: 11px; height: 11px; margin-left: 6px; border-radius: 50%; border: 2px solid var(--turq-soft); border-top-color: var(--sea); animation: spin .8s linear infinite; vertical-align: -1px; }
.cd-title { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cd-title span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--faint); }
.sp-confirm { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.sp-confirm b { color: #9a3412; }
.sp-confirm p { margin: 6px 0 8px; font-size: 14px; line-height: 1.6; }
.sp-confirm span { display: block; font-size: 13px; }
@media (max-width: 560px) { .cd-title span { display: block; margin-top: 2px; } }
/* tombol Buka Google Drive & Salin link di samping nama folder */
.folder { grid-template-columns: auto minmax(0, 1fr) auto; }
.folder .d-actions { flex-wrap: nowrap; }
.folder .d-actions .cta, .folder .d-actions .copy { padding: 11px 16px; white-space: nowrap; }
@media (max-width: 640px) {
  .folder { grid-template-columns: auto minmax(0, 1fr); }
  .folder .d-actions { grid-column: 1 / -1; }
  .folder .d-actions .cta { flex: 1; justify-content: center; }
}
/* kontras teks di atas latar ombak */
.hero .lead, .lead { color: #1e4a6e; font-weight: 500; text-shadow: 0 1px 0 rgba(255,255,255,.7); }
.hint { color: #1e4a6e; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; width: fit-content; backdrop-filter: blur(6px); }
.hint b { color: var(--ink); font-weight: 700; }
.demo > span { color: #1e4a6e; font-weight: 600; background: rgba(255,255,255,.82); padding: 4px 10px; border-radius: 99px; }
.demo button { background: rgba(255,255,255,.92); border-color: #7dd3fc; color: #075985; }
/* petunjuk nomor pesanan (bisa dibuka-tutup) */
.howto-sn { max-width: 560px; margin: 16px auto 0; text-align: left; background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(6px); box-shadow: 0 8px 24px -16px rgba(3,105,161,.35); }
.howto-sn summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: 14px; font-weight: 700; color: var(--sea-deep); user-select: none; }
.howto-sn summary::-webkit-details-marker { display: none; }
.howto-sn summary:hover { color: var(--ink); }
.howto-sn .q { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: linear-gradient(140deg, var(--turq), var(--sea)); flex: none; }
.howto-sn .chev { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.howto-sn[open] .chev { transform: rotate(-135deg); }
.sn-steps { list-style: none; counter-reset: s; margin: 0; padding: 4px 16px 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sn-steps li { counter-increment: s; position: relative; padding: 34px 10px 10px; border-radius: 12px; background: #f0f9ff; border: 1px solid #bae6fd; font-size: 12.5px; line-height: 1.4; animation: rise .35s ease both; }
.sn-steps li:nth-child(2) { animation-delay: .06s; } .sn-steps li:nth-child(3) { animation-delay: .12s; } .sn-steps li:nth-child(4) { animation-delay: .18s; }
.sn-steps li::before { content: counter(s); position: absolute; top: 9px; left: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--sea); }
.sn-steps b { display: block; color: var(--ink); font-size: 13px; }
.sn-steps span { color: #1e4a6e; }
@media (max-width: 640px) { .sn-steps { grid-template-columns: 1fr 1fr; } }
.sn-steps.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .sn-steps.three { grid-template-columns: 1fr; } }
/* ---------- tombol bahasa ---------- */
.lang-sw { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.8); border: 1px solid var(--line); backdrop-filter: blur(8px); box-shadow: 0 6px 18px -10px rgba(3,105,161,.4); flex: none; }
.lang-sw a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: 99px; text-decoration: none; font-size: 12.5px; font-weight: 800; color: var(--muted); letter-spacing: .02em; transition: background .15s, color .15s; }
.lang-sw a:hover { color: var(--sea-deep); background: rgba(2,132,199,.08); }
.lang-sw a.on { color: #fff; background: linear-gradient(135deg, var(--turq), var(--sea)); box-shadow: 0 4px 12px -4px rgba(2,132,199,.6); }
.lang-sw .flag { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11,42,69,.18); flex: none; display: block; }
@media (max-width: 480px) { .lang-sw a { padding: 4px 8px 4px 6px; gap: 5px; } .lang-sw a span { font-size: 11.5px; } }

/* cek ukuran: tombol Tempel + deteksi otomatis */
.s-link-wrap { position: relative; }
.s-link-wrap textarea { padding-right: 104px !important; }
.paste-btn { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--sea-deep); font: 700 13px var(--font); cursor: pointer; }
.paste-btn:hover { background: #f0f9ff; border-color: var(--sea); }
.paste-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-detect { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 2px 14px 10px; font-size: 12.5px; font-weight: 600; text-align: left; }
.s-detect .ok { color: #047857; } .s-detect .warn { color: #b45309; } .s-detect .muted { color: var(--muted); font-weight: 500; }
.hint-legal { margin: 12px auto 0; max-width: 560px; font-size: 12.5px; color: #1e4a6e; text-shadow: 0 1px 0 rgba(255,255,255,.7); }
.hint-legal a { color: var(--sea-deep); font-weight: 600; }
@media (max-width: 480px) { .paste-btn span { display: none; } .s-link-wrap textarea { padding-right: 56px !important; } }

.em-prot { cursor: pointer; } .em-hint { color: var(--faint); font-weight: 400; font-size: .85em; }

/* ===== Kode Link: pilih file ===== */
.lc-box { margin: 0 0 18px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #bae6fd; box-shadow: 0 10px 30px -22px rgba(3,105,161,.45); }
.lc-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.lc-head h3 { margin: 0 0 2px; font-size: 16px; color: var(--ink); }
.lc-head p { margin: 0; font-size: 13px; color: var(--muted); }
.lc-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--turq), var(--sea)); }
.lc-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lc-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.lc-tools input { flex: 1; min-width: 160px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-strong); font: inherit; font-size: 14px; background: #f8fdff; color: var(--text); }
.lc-level { margin: 0 0 8px; font-size: 12.5px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; padding: 8px 10px; border-radius: 10px; }
.lc-tree { list-style: none; margin: 0; padding: 4px; max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fbfeff; }
.lc-row { display: flex; align-items: center; gap: 4px; padding: 5px 8px 5px calc(6px + var(--d, 0) * 18px); border-radius: 8px; font-size: 13.5px; }
.lc-row:hover { background: #f0f9ff; }
.lc-row label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.lc-row input { width: 17px; height: 17px; flex: none; accent-color: var(--sea); margin: 0; }
.lc-i { flex: none; width: 18px; height: 18px; color: var(--sea); }
.lc-i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.lc-row.d .lc-i { color: var(--sun); }
.lc-n { min-width: 0; overflow-wrap: anywhere; color: var(--text); }
.lc-n small { margin-left: 6px; color: var(--faint); font-size: 11.5px; white-space: nowrap; }
.lc-s { flex: none; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lc-tg, .lc-tg-sp { flex: none; width: 22px; height: 22px; }
.lc-tg { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 6px; position: relative; }
.lc-tg::before { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .15s; }
.lc-tg.open::before { transform: rotate(45deg); }
.lc-tg:hover { background: #e0f2fe; }
.lc-empty { padding: 10px; font-size: 13px; color: var(--faint); text-align: center; }
.lc-sum { display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; margin: 12px 0; padding: 10px 14px; border-radius: 12px; background: #f0f9ff; }
.lc-sum small { display: block; font-size: 11.5px; color: var(--faint); }
.lc-sum b { color: var(--ink); font-size: 15px; }
.lc-pcs { margin-left: auto; font-size: 13.5px; color: var(--sea-deep); }
.lc-go { width: 100%; padding: 13px 16px; border: 0; border-radius: 12px; font: inherit; font-weight: 800; font-size: 15px; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, var(--turq), var(--sea)); box-shadow: 0 12px 24px -14px rgba(3,105,161,.8); }
.lc-go:disabled { opacity: .55; cursor: not-allowed; }
.lc-go.loading { opacity: .7; cursor: progress; }
.lc-fine { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
#lc-err { margin-top: 10px; }
.lc-done { margin: 0 0 18px; padding: 20px 18px; border-radius: 18px; text-align: center; color: var(--text);
  background: linear-gradient(160deg, #ecfeff, #e0f2fe 60%, #fff); border: 1px solid #7dd3fc; animation: rise .35s ease both; }
.lc-done-label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sea-deep); }
.lc-code-row { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 8px 0 4px; }
.lc-code { font-size: clamp(28px, 7vw, 40px); letter-spacing: .08em; color: var(--ink); background: #fff; padding: 6px 16px; border-radius: 14px; border: 2px dashed var(--lagoon); }
.lc-copy { padding: 10px 16px; border: 0; border-radius: 12px; background: var(--sea); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.lc-meta { margin: 6px 0 10px; font-size: 13px; color: var(--muted); }
.lc-state { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--line); }
.lc-state .sp-spin { width: 14px; height: 14px; border-width: 2px; }
.lc-state:not(.busy) .sp-spin { display: none; }
.lc-state.ok { color: var(--ok); border-color: #a7f3d0; background: #ecfdf5; }
.lc-steps { list-style: none; counter-reset: s; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: left; }
.lc-steps li { counter-increment: s; position: relative; padding: 34px 10px 10px; border-radius: 12px; background: #fff; border: 1px solid #bae6fd; font-size: 12.5px; line-height: 1.4; }
.lc-steps li::before { content: counter(s); position: absolute; top: 9px; left: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--sea); }
.lc-steps b { display: block; color: var(--ink); font-size: 13px; }
.lc-steps span { color: #1e4a6e; }
.lc-steps span b { display: inline; font-size: inherit; }
.lc-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.lc-shop { padding: 10px 16px; border-radius: 12px; background: #ee4d2d; color: #fff; font-weight: 700; text-decoration: none; }
.r-sel summary { cursor: pointer; }
.r-sel ul { margin: 6px 0 0; padding-left: 18px; max-height: 180px; overflow: auto; font-size: 12.5px; word-break: break-all; }
@media (max-width: 640px) {
  .lc-steps { grid-template-columns: 1fr; }
  .lc-pcs { margin-left: 0; width: 100%; }
  .lc-tools input { flex: 1 1 100%; }
  .lc-tools button { flex: 1; }
  .lc-row { padding-left: calc(4px + var(--d, 0) * 12px); }
}

/* Tentang: 4 langkah tersusun 2x2 */
#about .about-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { #about .about-grid { grid-template-columns: 1fr; } }

/* Kirim link Baidu: dua cara */
.b-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #e0f2fe; margin: 4px 0 12px; flex-wrap: wrap; }
.b-tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--sea-deep); cursor: pointer; }
.b-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(3,105,161,.45); }
.b-code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 22px !important; letter-spacing: .12em; text-transform: uppercase; text-align: center; }

/* ===== Video tutorial (halaman utama) ===== */
.tut { background: rgba(255,255,255,.86); scroll-margin-top: 20px; }
.tut h2 { font-size: clamp(22px, 3.6vw, 28px); margin: 0 0 6px; letter-spacing: -.02em; }
.tut-lead { margin: 0 0 14px; line-height: 1.6; color: var(--muted); }
.tut-frame { position: relative; border-radius: 14px; overflow: hidden; background: #0b2233;
  aspect-ratio: 16 / 9; box-shadow: 0 10px 30px rgba(8, 60, 90, .18); }
.tut-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0b2233; }
.tut-play { position: absolute; top: 0; bottom: 0; right: 10%; margin: auto 0; width: 76px; height: 76px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--sea, #0ea5e9), var(--sea-deep, #0369a1));
  box-shadow: 0 8px 26px rgba(3, 105, 161, .45), 0 0 0 8px rgba(255,255,255,.35); transition: transform .15s ease; }
.tut-play:hover, .tut-play:focus-visible { transform: scale(1.07); }
.tut-play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.tut-frame.playing .tut-play { display: none; }
.tut-alt { margin: 10px 0 0; color: var(--muted); }
.tut-alt a { color: var(--sea-deep); font-weight: 600; }
@media (max-width: 680px) { .tut-play { width: 52px; height: 52px; bottom: 22%; box-shadow: 0 6px 18px rgba(3,105,161,.45), 0 0 0 5px rgba(255,255,255,.35); } .tut-play svg { width: 24px; height: 24px; margin-left: 3px; } }

/* identitas usaha di kaki halaman */
.biz-id { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--sea-deep); opacity: .9; }
.biz-id a { font-weight: 600; }

/* ===== Pesan & bayar langsung dari hasil cek ukuran ===== */
.pkg[role="button"] { cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.pkg[role="button"]:hover { transform: translateY(-1px); }
.pkg.sel { outline: 2px solid var(--sea, #0ea5e9); outline-offset: 2px; }
.ordbox { margin-top: 16px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.72);
  border: 1px solid rgba(8,60,90,.12); }
.ord-head h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.01em; }
.ord-sum { margin: 0 0 12px; font-size: 16px; color: var(--sea-deep, #0369a1); }
.ord-open { border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700; font-size: 15px; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--sea, #0ea5e9), var(--sea-deep, #0369a1));
  box-shadow: 0 6px 18px rgba(3,105,161,.3); }
.ord-open:hover { filter: brightness(1.06); }
.ord-fine { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.ord-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ord-cta .ord-fine { margin: 0; }
.ord-form { display: grid; gap: 12px; margin-top: 4px; }
.ord-f { display: grid; gap: 4px; }
.ord-f label { font-size: 13px; font-weight: 600; }
.ord-f input { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(8,60,90,.2);
  font: inherit; background: #fff; }
.ord-f input:focus { outline: 2px solid var(--sea, #0ea5e9); outline-offset: 1px; }
.ord-f small { font-size: 12px; color: var(--muted); min-height: 15px; }
.ord-f small.ord-ok { color: #0a8f5a; font-weight: 600; }
.ord-f small.ord-bad { color: #c0392b; font-weight: 600; }
.ord-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.ord-agree input { margin-top: 2px; flex: none; }
.ord-pay { border: 0; border-radius: 12px; padding: 13px 20px; font-weight: 700; font-size: 16px; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 6px 18px rgba(4,120,87,.3); }
.ord-pay:hover { filter: brightness(1.06); }
.ord-pay:disabled { opacity: .6; cursor: default; filter: none; }
