@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url('fonts/Poppins-Light.ttf'); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url('fonts/Poppins-Regular.ttf'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url('fonts/Poppins-Bold.ttf'); }

:root {
  --ink: #12302B;
  --ink-mid: rgba(18, 48, 43, .72);
  --ink-low: rgba(18, 48, 43, .55);
  --line: rgba(18, 48, 43, .1);
  --page: #F8F5EE;
  --panel: #FFFFFF;
  --panel-strong: #ECE9DF;
  --gold: #8E6B1E;
  --gold-light: #DDBE82;
  --navy: #1C2540;
  --band-1: #0E2638;
  --band-2: #14364A;
  --on-dark: #F4F6FF;
  --on-dark-mid: rgba(244, 246, 255, .74);
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 24px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
.hero > *, .showcase > *, .privacy-band > * { min-width: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--page); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.on-dark .eyebrow { color: var(--gold-light); }

/* language switching: <span lang="id"> / <span lang="en"> */
html[data-lang="id"] [lang="en"]:not(html),
html[data-lang="en"] [lang="id"]:not(html) { display: none !important; }

/* ---------- header ---------- */
.band {
  color: var(--on-dark);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='76' height='76'><g fill='none' stroke='white' stroke-opacity='0.055' stroke-width='1.5'><rect x='20' y='20' width='36' height='36'/><rect x='20' y='20' width='36' height='36' transform='rotate(45 38 38)'/></g></svg>"),
    radial-gradient(90% 70% at 85% 0%, #1F5A6E 0%, rgba(31, 90, 110, 0) 60%),
    linear-gradient(165deg, var(--band-1) 0%, var(--band-2) 45%, var(--navy) 100%);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--on-dark-mid); transition: color .2s; }
.nav-links a:hover { color: var(--on-dark); }
.lang { display: inline-flex; border: 1px solid rgba(244, 246, 255, .25); border-radius: 30px; padding: 3px; }
.lang button { font: 700 12px var(--sans); letter-spacing: .08em; color: var(--on-dark-mid); background: none; border: 0; padding: 6px 12px; border-radius: 30px; cursor: pointer; }
html[data-lang="id"] .lang [data-set="id"], html[data-lang="en"] .lang [data-set="en"] { background: var(--on-dark); color: var(--navy); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 40px 0 0; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.06; letter-spacing: -.02em; margin: 18px 0 20px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lead { font-size: 18px; font-weight: 300; color: var(--on-dark-mid); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 32px 0 26px; }
.play-btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: #000; color: #fff; padding: 12px 22px 12px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .25); transition: transform .2s, box-shadow .2s; }
.play-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.play-btn svg { width: 26px; height: 28px; }
.play-btn small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; line-height: 1.2; }
.play-btn strong { display: block; font-size: 19px; font-weight: 400; line-height: 1.2; }
.ghost { color: var(--on-dark); font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(244, 246, 255, .3); padding-bottom: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 30px; background: rgba(221, 190, 130, .12); color: var(--gold-light); border: 1px solid rgba(221, 190, 130, .35); }
.hero-visual { position: relative; height: 620px; }
.phone { position: absolute; background: #0B0F1C; border-radius: 44px; padding: 10px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.phone .screen { border-radius: 35px; overflow: hidden; height: 100%; background: var(--page); }
.phone img { width: 100%; }
.hero-visual .p1 { width: 300px; height: 640px; left: 12%; top: 20px; z-index: 2; }
.hero-visual .p2 { width: 270px; height: 580px; right: 2%; top: 90px; transform: rotate(5deg); opacity: .96; }

/* ---------- sections ---------- */
section { padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 46px); line-height: 1.12; margin-top: 14px; letter-spacing: -.015em; }
.section-head p { color: var(--ink-mid); margin-top: 14px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18, 48, 43, .08); }
.card .ico { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(142, 107, 30, .45); display: grid; place-items: center; color: var(--ink); margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-mid); }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.showcase + .showcase { margin-top: 120px; }
.showcase.flip .shot { order: 2; }
.shot { display: flex; justify-content: center; }
.shot .phone { position: relative; width: 300px; height: 620px; }
.showcase h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 14px 0 16px; }
.showcase p { color: var(--ink-mid); font-size: 16.5px; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.ticks li::before { content: ''; flex: none; width: 9px; height: 9px; margin-top: 8px; background: var(--gold); transform: rotate(45deg); }

.privacy-band { border-radius: 36px; padding: 70px 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.privacy-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; margin: 14px 0 16px; }
.privacy-band p { color: var(--on-dark-mid); }
.stat-list { display: grid; gap: 14px; }
.stat { background: rgba(244, 246, 255, .06); border: 1px solid rgba(244, 246, 255, .12); border-radius: 18px; padding: 18px 22px; display: flex; gap: 16px; align-items: center; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--gold-light); min-width: 70px; }
.stat span { color: var(--on-dark-mid); font-size: 15px; }

.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 21px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); color: var(--gold); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-mid); margin-top: 12px; }

.final { text-align: center; padding: 120px 0; }
.final h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; max-width: 760px; margin: 16px auto 18px; }
.final p { color: var(--on-dark-mid); max-width: 560px; margin: 0 auto; }
.final .cta-row { justify-content: center; }

footer { padding: 56px 0 40px; font-size: 14px; color: var(--ink-low); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot nav a { text-decoration: none; color: var(--ink-mid); }
.foot nav a:hover { color: var(--ink); }
.foot .credit { margin-top: 26px; font-size: 12.5px; max-width: 760px; }

/* ---------- legal pages ---------- */
.legal-hero { padding: 30px 0 70px; }
.legal-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); margin-top: 14px; }
.legal-hero p { color: var(--on-dark-mid); margin-top: 8px; }
.legal { max-width: 780px; padding: 70px 0 90px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 46px 0 12px; }
.legal h3 { font-size: 16px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-mid); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 22px; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-mid); }
.legal th { color: var(--ink); font-weight: 700; background: var(--panel-strong); }
.legal .summary { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; }
.legal .summary li { color: var(--ink); }
.toc { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.toc a { color: var(--gold); text-decoration: none; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { height: 560px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .showcase, .privacy-band { grid-template-columns: 1fr; gap: 44px; }
  .showcase.flip .shot { order: 0; }
  .privacy-band { padding: 48px 28px; }
}
@media (max-width: 640px) {
  .nav-links a.hide-sm { display: none; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { font-size: 16px; }
  .hero-visual { overflow: hidden; margin: 0 -24px; }
  .grid { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .hero-visual { height: 500px; }
  .hero-visual .p1 { width: 230px; height: 490px; left: 2%; }
  .hero-visual .p2 { width: 210px; height: 450px; right: 0; }
  .shot .phone { width: 260px; height: 540px; }
}
