/* VoxFlow sales site. Satu aksen (oranye sinyal), netral dingin, mode terang/gelap otomatis.
   Bentuk: tombol = pill, kartu/gambar = 18px. */
@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --surface-2: #eceef1;
  --ink: #131417;
  --muted: #52565e;
  --line: #dfe1e6;
  --accent: #ff6a3d;
  --on-accent: #1d0d05;
  --accent-ink: #b93a0b;
  --accent-soft: #ffe7de;
  --shadow: 0 24px 60px -24px rgba(30, 33, 40, 0.28);
  --r: 18px;
  --max: 1160px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f11;
    --surface: #16171a;
    --surface-2: #1d1f23;
    --ink: #ececee;
    --muted: #a3a6ae;
    --line: #2a2c31;
    --accent-ink: #ff9068;
    --accent-soft: #2a1610;
    --shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 "Jakarta", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.ic { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 760; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 44px); }
h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 17px; max-width: 60ch; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 650; color: var(--accent-ink); letter-spacing: 0.01em; margin-bottom: 18px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 "Jakarta", sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .18s cubic-bezier(.16,1,.3,1), background-color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -12px rgba(255, 106, 61, .8); }
.btn-primary:hover { background: #ff7c53; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 780; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav .sp { flex: 1; }
.nav .price-hint { color: var(--muted); font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 50px); }
.hero .lead { margin-top: 18px; font-size: 18px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.shot { border-radius: var(--r); box-shadow: var(--shadow); background: #1b1c1f; overflow: hidden; }
.hero .shot { transform: rotate(-0.6deg); }
@media (min-width: 960px) {
  .hero { padding: 64px 0 88px; }
  .hero .wrap { grid-template-columns: 1fr 1fr; gap: 56px; }
  .hero .shot { margin-right: -60px; }
}

/* ---------- Seksi umum ---------- */
section { scroll-margin-top: 80px; }
.sec { padding: 72px 0; }
@media (min-width: 960px) { .sec { padding: 104px 0; } }
.sec-head { margin-bottom: 36px; max-width: 760px; }
.sec-head .lead { margin-top: 14px; }

/* ---------- Demo audio ---------- */
.demos { display: grid; gap: 16px; }
@media (min-width: 900px) { .demos.n2 { grid-template-columns: 1fr 1fr; } .demos.n3 { grid-template-columns: 1.2fr 1fr; } .demos.n3 > :first-child { grid-row: span 2; } }
.track { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.track-top { display: flex; align-items: center; gap: 14px; }
.play { width: 52px; height: 52px; border-radius: 999px; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .18s cubic-bezier(.16,1,.3,1); }
.play:active { transform: scale(.94); }
.play .ic { width: 22px; height: 22px; }
.play .i-pause { display: none; }
.track.playing .play .i-play { display: none; }
.track.playing .play .i-pause { display: block; }
.track-meta { min-width: 0; flex: 1; }
.track-title { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.track-cast { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.bar { position: relative; height: 6px; border-radius: 99px; cursor: pointer; }
.bar::before { content: ""; position: absolute; inset: 2px 0; border-radius: 99px; background: var(--line); }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: var(--accent); }
.lines { display: grid; gap: 10px; font-size: 15px; }
.line { display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.line b { font-weight: 650; color: var(--who, var(--accent-ink)); font-size: 14px; padding-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line.active span { color: var(--ink); }
.line span { color: var(--muted); transition: color .2s; }
.tag { display: inline-block; font-size: 12px; padding: 0 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted); margin-right: 4px; line-height: 20px; vertical-align: 1px; }
.track-note { font-size: 13px; color: var(--muted); }
.track.noaudio .play { background: var(--surface-2); color: var(--muted); cursor: default; }

/* ---------- Banding (sebelum / sesudah) ---------- */
.compare { display: grid; gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.compare > div { padding: 28px; }
.compare .before { background: var(--surface); }
.compare .after { background: var(--accent-soft); }
.compare h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; }
.compare li .ic { margin-top: 3px; }
.compare .before li .ic { color: var(--muted); }
.compare .after li .ic { color: var(--accent-ink); }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } .compare > div { padding: 40px; } }

/* ---------- Langkah (sticky screenshot) ---------- */
.steps { display: grid; gap: 40px; }
.step-list { display: grid; gap: 12px; counter-reset: s; }
.step { padding: 22px 24px; border-radius: var(--r); border: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.step h3 { display: flex; gap: 14px; align-items: baseline; }
.step h3::before { counter-increment: s; content: counter(s); font-size: 14px; color: var(--accent-ink); font-weight: 750; min-width: 14px; }
.step p { color: var(--muted); margin: 8px 0 0 28px; max-width: 46ch; }
.step .shot { margin-top: 18px; }
.step.on { background: var(--surface); border-color: var(--line); }
.steps-figure { display: none; }
@media (min-width: 960px) {
  .steps { grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
  .step .shot { display: none; }
  .steps-figure { display: block; position: sticky; top: 100px; aspect-ratio: 2120 / 1476; }
  .steps-figure .shot { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
  .steps-figure .shot.on { opacity: 1; }
}

/* ---------- Bento kegunaan ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cell { border-radius: var(--r); padding: 26px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.cell .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-ink); margin-bottom: 8px; }
.cell .ico .ic { width: 24px; height: 24px; }
.cell p { color: var(--muted); max-width: 42ch; }
.cell.c1 { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.cell.c1 p { color: color-mix(in srgb, var(--on-accent) 78%, transparent); }
.cell.c1 .ico { background: rgba(255, 255, 255, .28); color: var(--on-accent); }
.cell.c4 { background: var(--surface-2); }
.cell.c4 .ico { background: var(--surface); }
@media (min-width: 820px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .cell.c1 { grid-column: span 2; min-height: 230px; justify-content: flex-end; }
  .cell.c1 h3 { font-size: 26px; }
  .cell.c4 { grid-column: span 2; }
}

/* ---------- Syarat ---------- */
.reqs { display: grid; gap: 18px; padding: 26px; border-radius: var(--r); border: 1px dashed var(--line); }
.req { display: flex; gap: 14px; align-items: flex-start; }
.req .ic { width: 26px; height: 26px; color: var(--accent-ink); margin-top: 2px; }
.req p { color: var(--muted); font-size: 15px; }
@media (min-width: 820px) { .reqs { grid-template-columns: repeat(3, 1fr); padding: 30px 34px; } }

/* ---------- Harga ---------- */
.offer { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px 28px; box-shadow: var(--shadow); text-align: center; }
.offer .eyebrow { margin-bottom: 10px; }
.price { display: flex; justify-content: center; align-items: baseline; gap: 12px; margin: 10px 0 6px; flex-wrap: wrap; }
.price s { color: var(--muted); font-size: 18px; }
.price strong { font-size: clamp(40px, 7vw, 54px); letter-spacing: -0.04em; font-weight: 800; }
.offer .once { color: var(--muted); font-size: 15px; }
.offer ul { list-style: none; padding: 0; margin: 26px 0; text-align: left; display: grid; gap: 12px; }
.offer li { display: flex; gap: 12px; }
.offer li .ic { color: var(--accent-ink); margin-top: 3px; }
.offer .btn { width: 100%; }
.guarantee { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; justify-content: center; align-items: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Penutup & footer ---------- */
.closer { text-align: left; }
.closer h2 { font-size: clamp(32px, 5.6vw, 64px); max-width: 16ch; }
.closer .btn { margin-top: 30px; }
footer { border-top: 1px solid var(--line); padding: 40px 0 120px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 14px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
@media (min-width: 960px) { footer { padding-bottom: 48px; } }

/* ---------- CTA bawah (HP) ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(140%); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.dock.show { transform: none; }
.dock div { flex: 1; line-height: 1.2; font-size: 14px; }
.dock b { display: block; font-size: 16px; }
.dock .btn { height: 46px; padding: 0 20px; font-size: 15px; }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------- Halaman teks (legal) ---------- */
.doc { max-width: 720px; padding: 56px 20px 96px; margin: 0 auto; }
.doc h1 { font-size: 36px; margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--muted); }
.doc .upd { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

/* ---------- Gerak masuk (diaktifkan JS; hormati reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .rv.in { opacity: 1; transform: none; }
  .hero .rv-now { animation: up .8s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 90ms); }
  @keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .dock, .steps-figure .shot { transition: none; } }

/* ---------- Redeem ---------- */
.redeem { max-width: 620px; margin: 0 auto; padding: 48px 20px 96px; }
.redeem h1 { font-size: clamp(30px, 5vw, 42px); }
.redeem .lead { margin-top: 12px; }
.panel { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 650; font-size: 15px; }
.field .help { color: var(--muted); font-size: 14px; }
.input { height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 16px; font: 500 16px "Jakarta", sans-serif; width: 100%; }
.input:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.input[aria-invalid="true"] { border-color: #d93025; }
.mono, .input.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.ferr { color: #d93025; font-size: 14px; font-weight: 550; }
@media (prefers-color-scheme: dark) { .ferr { color: #ff8a80; } .input[aria-invalid="true"] { border-color: #ff8a80; } }
.panel .btn { width: 100%; margin-top: 18px; }
.btn:disabled { opacity: .6; cursor: progress; }
.keybox { margin-top: 10px; padding: 18px; border-radius: 14px; background: var(--accent-soft); font: 700 clamp(15px, 4vw, 20px) ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .5px; text-align: center; word-break: normal; overflow-wrap: break-word; user-select: all; }
.meta { display: grid; gap: 6px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.meta b { color: var(--ink); font-weight: 650; }
.howto { margin: 22px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.howto b { color: var(--ink); }
.linkbtn { background: none; border: 0; color: var(--accent-ink); font: 600 15px "Jakarta", sans-serif; cursor: pointer; padding: 8px 0; margin-top: 8px; }
.where { margin-top: 22px; font-size: 14px; color: var(--muted); }
.where summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.where p { margin-top: 8px; }

.dlbtn { width: 100%; margin-top: 12px; }
.video { margin-top: 22px; }
.video h3 { margin-bottom: 10px; }
.vframe { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

[hidden] { display: none !important; }
.h22 { font-size: 22px; } .h28 { font-size: 28px; } .h20 { font-size: 20px; } .mt20 { margin-top: 20px; }
.hidden-px { display: none; }

/* ---------- Spanduk promo (semua landing) ---------- */
.promo { background: var(--ink); color: var(--bg); font-size: 14px; }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.promo .ic { color: var(--accent); width: 22px; height: 22px; }
.promo p { margin: 0; line-height: 1.4; }
.promo b { font-weight: 700; }
.promo span { opacity: .8; }
@media (max-width: 720px) { .promo span { display: block; font-size: 12.5px; } .promo .ic { display: none; } }
.offer .fine { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* ---------- Panduan ---------- */
.guide { max-width: 760px; margin: 0 auto; padding: 48px 20px 96px; }
.guide h1 { font-size: clamp(30px, 5vw, 44px); }
.guide .lead { margin-top: 12px; }
.gctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.guide .video { margin-top: 36px; }
.gh { font-size: clamp(24px, 3.4vw, 30px); margin: 44px 0 18px; }
.gsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gstep { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.gnum { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.gstep h3 { margin-bottom: 6px; }
.gstep p { color: var(--muted); }
.gstep code, .faq code { font: 600 0.92em ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.guide a:not(.btn) { color: var(--accent-ink); }
.guide .faq { max-width: none; }
.refimg { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin-top: 12px; background: #f3f3f3; }
.refhelp { margin-top: 16px; }
.refhelp p { margin-top: 8px; }
