/* KATALOG VANCHNEE: gaya bersama (Beranda, FAQ, Privasi, Syarat, 404) */
:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f1f4fa;
  --blue: #0b3d7d;
  --blue2: #03214b;
  --navy: #03214b;
  --ok: #15803d;
  --okbg: #dcfce7;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: #fff; color: var(--ink); line-height: 1.55;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--blue); }
img { max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 18px; }

/* ---------- bilah atas ---------- */
.nav {
  position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 12px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.brand img { flex: none; height: 34px; width: auto; display: block; }
.brand b { font-size: 18px; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand .bt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.slg { display: block; font-size: 11.5px; font-weight: 700; color: #64748b; letter-spacing: .2px; white-space: nowrap; }
.slg i { font-style: normal; font-weight: 800; }
.emas { color: #2a7a3b; }
.hijau { color: #0b3d7d; }
.nav-links { display: none; margin-left: auto; gap: 2px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: #334155; font-weight: 600; font-size: 14px; text-decoration: none; }
.nav-links a:hover { background: var(--soft); }
.nav-aksi { display: flex; gap: 8px; margin-left: auto; align-items: center; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-aksi { margin-left: 8px; } }
@media (max-width: 400px) { .brand b { font-size: 14px; letter-spacing: 0; } .brand { gap: 7px; } .brand img { height: 28px; } .slg { font-size: 10.5px; } .nav .container { gap: 8px; padding: 0 12px; } .nav-aksi { gap: 6px; } .nav-aksi .btn-kecil { padding: 7px 12px; } }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent;
  border-radius: 999px; padding: 11px 22px; font: 700 15px/1.2 inherit; font-family: inherit;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn-biru { background: linear-gradient(180deg, #14509a, #03214b); color: #fff; box-shadow: 0 4px 12px rgba(3, 33, 75, .28); }
.btn-putih { background: #fff; color: var(--blue2); }
.btn-garis { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-hijau { background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; }
.btn-kecil { padding: 8px 16px; font-size: 13px; }
.btn[hidden] { display: none !important; }
[hidden] { display: none !important; }

/* ---------- pengubah bahasa (ikon bola dunia, kanan atas) ---------- */
.bhs { position: relative; flex: none; }
.bhs-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.bhs-btn:hover { background: var(--soft); }
.bhs-menu {
  position: absolute; right: 0; top: 46px; min-width: 176px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 12px 32px rgba(15, 23, 42, .18); padding: 6px; z-index: 80;
}
.bhs-menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: transparent;
  padding: 10px 12px; border-radius: 10px; font: 600 14px inherit; font-family: inherit; color: #334155; cursor: pointer; text-align: left;
}
.bhs-menu button:hover { background: var(--soft); }
.bhs-menu button.on { background: #e8f1fb; color: var(--blue2); }

/* blok isi per bahasa (FAQ dan halaman hukum) */
[data-lang] { display: none; }
html[data-bhs="id"] [data-lang="id"], html[data-bhs="en"] [data-lang="en"], html[data-bhs="zh"] [data-lang="zh"] { display: block; }

/* ---------- isi halaman teks (FAQ, Privasi, Syarat, 404) ---------- */
.phero { background: linear-gradient(135deg, #03214b, #14509a 60%, #2f6f3a); color: #fff; padding: 38px 0 34px; }
.phero h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.2; }
.phero p { margin: 0; opacity: .92; max-width: 640px; }
.prose { max-width: 800px; margin: 0 auto; padding: 30px 18px 56px; }
.prose h2 { font-size: 20px; margin: 30px 0 8px; }
.prose h3 { font-size: 16px; margin: 20px 0 6px; }
.prose p, .prose li { color: #334155; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose .meta { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.prose table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--soft); }
.catatan-hukum { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
details.faq { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; margin: 10px 0; background: #fff; }
details.faq summary {
  cursor: pointer; list-style: none; padding: 14px 24px 14px 0; font-weight: 700; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 600; color: var(--blue);
}
details.faq[open] summary::after { content: "\2212"; }
details.faq[open] { border-color: #bfdbfe; background: #f8fbff; }
details.faq .jawab { padding: 0 0 14px; color: #334155; }
details.faq .jawab p { margin: 0 0 8px; }
.e404 { text-align: center; padding: 70px 18px 80px; max-width: 560px; margin: 0 auto; }
.e404 .angka { font-size: 96px; font-weight: 800; line-height: 1; letter-spacing: 2px; color: var(--blue); }
.e404 h1 { margin: 10px 0 8px; font-size: 26px; }
.e404 p { color: var(--muted); margin: 0 0 22px; }
.e404 .aksi { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #cbd5e1; margin-top: 0; }
.foot a { color: #e2e8f0; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.foot .brand { color: #fff; }
.foot .slg { color: #cbd5e1; }
.foot .emas { color: #86efac; }
.foot .hijau { color: #93c5fd; }
.foot .brand img { height: 42px; filter: drop-shadow(0 0 7px rgba(255,255,255,.85)); background: radial-gradient(closest-side, rgba(255,255,255,.7), rgba(255,255,255,0)); border-radius: 50%; padding: 4px 8px; }
.foot-grid p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; max-width: 340px; }
.foot h4 { margin: 0 0 12px; color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 8px 0; font-size: 14px; }
.foot .wa-kontak { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-bar .container { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; padding-top: 16px; padding-bottom: 18px; font-size: 13px; color: #94a3b8; }
@media (max-width: 340px) { .nav .brand b { font-size: 12px; } .nav .slg { font-size: 9.5px; } .nav .container { gap: 6px; padding: 0 10px; } .nav .brand img { height: 24px; } .nav-aksi { gap: 4px; } .nav-aksi .btn-kecil { padding: 6px 10px; font-size: 13px; } .bhs-btn { width: 34px; height: 34px; } }
