/* =======================================================
   GLOBAL — reset, tokens, shared utilities
   Dipanggil di SEMUA halaman. Jangan menambah warna baru di luar token ini.
   ============================================================ */
:root {
  --purple-900: #4c1d7a;
  --purple-700: #6d2aa6;
  --purple-600: #7b2fb5;
  --purple-500: #8a3cc4;
  --purple-grad: linear-gradient(135deg, #8b2fc9 0%, #6324a8 100%);
  --lav-50: #f6f4fb;
  --lav-100: #efeafb;
  --lav-200: #e3d9f6;
  --ink: #0f0f12;
  --ink-soft: #1a1a1f;
  --gray-500: #6b6b76;
  --gray-400: #8a8a94;
  --gray-300: #b9b9c2;
  --line: #e7e6ee;
  --green-base: #2fc56a;
  --green-light: #5fe28e;
  --white: #ffffff;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: 'Geist', sans-serif; }
:focus-visible { outline: 2px solid var(--purple-600); outline-offset: 3px; border-radius: 6px; }

/* shared utility */
.wrap { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple-grad); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 26px -8px rgba(123,47,181,.75); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 10px 26px -10px rgba(15,15,18,.6); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-gray { background: #6b6b74; color: #fff; }
.btn-gray:hover { background: #55555c; }

/* pill + bulatan panah (gaya tombol di referensi hero) */
.btn-pill { border-radius: 999px; padding: 0 6px 0 22px; height: 46px; }
.btn-pill.btn-outline, .btn-pill.btn-glass { padding: 0 22px; }
.btn-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  transition: transform .2s ease;
}
.btn-arrow svg { width: 15px; height: 15px; }
.btn-pill:hover .btn-arrow { transform: translateX(2px); }
.btn-disabled, .btn[aria-disabled="true"] { background: var(--lav-100); color: var(--gray-400); cursor: not-allowed; box-shadow: none !important; transform: none !important; }
.btn-disabled { padding: 0 22px; }
.btn[aria-disabled="true"] .btn-arrow { background: #fff; color: var(--gray-300); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14.5px; color: var(--ink);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px; width: fit-content;
}
.text-link svg { width: 14px; height: 14px; }
.text-link:hover { color: var(--purple-600); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  background: var(--lav-100); color: var(--purple-700);
}
.chip--glass { background: rgba(255,255,255,.75); color: var(--ink); backdrop-filter: blur(8px); }
.chip--soon { background: #fff; color: var(--gray-500); }

/* ---------- Placeholder [ISI: ...] ----------
   Teks yang belum diisi sengaja dibuat mencolok supaya tidak lolos ke produksi. */
.isi {
  background: #fff4c2; color: #6b5300;
  border-radius: 4px; padding: 0 4px;
  font-weight: 500;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Reveal on scroll (diatur oleh render.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.section-hidden { display: none !important; }

@media (max-width: 1320px) {
  .wrap { padding: 0 22px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
}

/* Rasio cover seragam 1.3:1 (kartu insight, produk, portfolio). Gambar di luar rasio dipotong rata tengah. */
html .insight-card-band, html .product-cover, html .work-thumb { aspect-ratio: 1.3 / 1; }
html .pf-thumb { aspect-ratio: 16 / 9; }
html .pf-thumb img, html .work-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Kartu produk: tombol beli selalu di kanan bawah. Kalau sempit, harga coret turun ke bawah harga, tombol tetap. */
html .product-foot { flex-wrap: nowrap; align-items: flex-end; }
html .product-foot .btn { flex-shrink: 0; margin-left: auto; }
html .product-price { min-width: 0; flex-direction: column; align-items: flex-start; gap: 2px; }

/* ===== Final: aksesibilitas, bahasa, iklan, persetujuan ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; transition: top .15s ease; }
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Tombol ID / EN */
.lang-sw { display: inline-flex; align-items: center; height: 34px; padding: 3px; border-radius: 999px; background: #f1eff6; gap: 2px; }
.lang-sw button { height: 28px; min-width: 34px; padding: 0 9px; border: 0; border-radius: 999px; background: transparent; font: 600 12.5px 'Inter', sans-serif; color: #6b6879; cursor: pointer; }
.lang-sw button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,15,18,.14); }

/* Persetujuan data di form */
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 13px; line-height: 1.5; color: var(--gray-500); cursor: pointer; }
.form-consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--purple-600); }
.form-consent a, .form-note a { color: var(--ink-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--gray-400); }
.hero-copy .form-note { margin: 4px 0 0; padding-left: 20px; font-size: 12px; color: var(--gray-500); max-width: 440px; }
.hero-copy .form-note a { color: var(--ink-soft); }

/* Slot iklan (kosong = disembunyikan otomatis) */
.promo-band { padding: 12px 0 44px; }
.promo-zone { margin: 36px auto; }
.promo-unit { position: relative; display: block; margin: 0 auto; max-width: 100%; border-radius: 12px; overflow: hidden; background: #f7f4fc; }
.promo-unit img { width: 100%; height: auto; display: block; }
.promo-unit .promo-tag { position: absolute; top: 6px; left: 8px; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.85); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6d5d8c; }
.promo-unit .promo-cta { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; }
.promo-unit--desktop { display: block; } .promo-unit--mobile { display: none; }
@media (max-width: 760px) { .promo-unit--desktop { display: none; } .promo-unit--mobile { display: block; } .promo-only-desktop { display: none !important; } }
@media (min-width: 761px) { .promo-only-mobile { display: none !important; } }
.art-shell { position: relative; }
.promo-side { position: absolute; top: 136px; right: max(24px, calc((100vw - 1320px) / 2)); width: 160px; }
.promo-side .promo-unit { position: sticky; top: 96px; }
@media (max-width: 1279px) { .promo-side { display: none !important; } }
.pg-more { display: flex; justify-content: center; margin-top: 28px; }
[hidden] { display: none !important; }
.legal-note { padding: 12px 14px; border-radius: 12px; background: var(--lav-100); font-size: 13.5px; margin-bottom: 28px; }
