/* Gleyn — gaya bersama semua halaman */
:root {
  --bg: #04140d;
  --bg-2: #071c12;
  --surface: rgba(15, 38, 27, 0.66);
  --ink: #f4efe3;
  --muted: #a8b8ae;
  --faint: #6f8378;
  --line: rgba(244, 239, 227, 0.1);
  --line-strong: rgba(244, 239, 227, 0.18);
  --green: #2fb36a;
  --green-deep: #1e8a4f;
  --mint: #6fe0a0;
  --gold: #f2b705;
  --gold-soft: #f7c948;
  --radius: 20px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(242, 183, 5, 0.35); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
@media (min-width: 720px) { .container { padding-inline: 32px; } }

/* --- latar bercahaya --- */
.glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(47, 179, 106, 0.22), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(242, 183, 5, 0.1), transparent 60%);
}

/* --- navigasi --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(4, 20, 13, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: 0.2px; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: none; gap: 26px; margin-left: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { all: unset; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); }
.lang:hover { color: var(--ink); border-color: var(--line-strong); }
.lang:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* --- tombol --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 13px; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s, filter 0.12s, background 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary { color: #fff; background: linear-gradient(180deg, var(--green), var(--green-deep)); box-shadow: 0 10px 28px rgba(47, 179, 106, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-gold { color: #2b1f00; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); box-shadow: 0 10px 28px rgba(242, 183, 5, 0.22); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost { color: var(--ink); background: rgba(244, 239, 227, 0.06); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(244, 239, 227, 0.1); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 15px 24px; font-size: 16px; }

/* --- teks umum --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-soft); background: rgba(242, 183, 5, 0.1); border: 1px solid rgba(242, 183, 5, 0.25);
  padding: 5px 12px; border-radius: 999px;
}
.gold { color: var(--gold); }
.muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.section { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.center { text-align: center; margin-inline: auto; }

/* --- footer --- */
footer.site {
  border-top: 1px solid var(--line);
  padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px));
  color: var(--faint); font-size: 14px;
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* --- halaman legal --- */
.legal { position: relative; padding-block: 56px 88px; }
.legal article { position: relative; z-index: 1; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; margin: 14px 0 8px; }
.legal .updated { color: var(--faint); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #d3ddd7; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--gold-soft); }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 20px 0; }
.legal .lang-block[lang="en"] { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 8px; }
