:root {
  --gold-50: #FDF4D9;
  --gold-100: #F8E095;
  --gold-200: #F0C240;
  --gold-300: #D4940C;
  --gold-400: #B87808;
  --gold-500: #9A6206;

  --graphite-50: #F4F4F1;
  --graphite-100: #A9ADAF;
  --graphite-200: #73787B;
  --graphite-300: #555B5E;
  --graphite-400: #3A3F42;
  --graphite-500: #262B2F;
  --graphite-600: #1D2225;
  --graphite-700: #171B1E;
  --graphite-800: #121619;
  --graphite-900: #0D1012;
  --graphite-950: #070809;

  --text-on-primary: #17130D;
  --border: rgba(255,255,255,0.08);

  --container-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--graphite-900);
  color: var(--graphite-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Ambient gold glow, sama nuansa kayak GradientBackground di app */
.bg-glow {
  position: fixed;
  left: 0; right: 0;
  height: 640px;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.bg-glow--top {
  top: 0;
  background: radial-gradient(60% 60% at 20% 0%, rgba(212,148,12,0.18) 0%, rgba(212,148,12,0.05) 45%, transparent 75%);
}
.bg-glow--bottom {
  bottom: 0;
  background: radial-gradient(55% 55% at 85% 100%, rgba(212,148,12,0.10) 0%, transparent 70%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(13,16,18,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--graphite-50);
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: block;
}
.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: var(--gold-200);
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--graphite-100);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .15s ease;
}
.nav a:hover { color: var(--gold-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  color: var(--text-on-primary);
  background: linear-gradient(135deg, var(--gold-200), var(--gold-400));
  box-shadow: 0 8px 24px rgba(212,148,12,0.28);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.06) 40%, rgba(255,255,255,0) 75%);
  pointer-events: none;
}
.btn-disabled {
  opacity: 0.72;
  cursor: default;
  box-shadow: none;
}
.btn-ghost {
  color: var(--graphite-50);
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--gold-300); color: var(--gold-200); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 24px 96px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--gold-200);
  margin: 0 0 18px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--gold-300);
  box-shadow: 0 0 0 4px rgba(212,148,12,0.18);
}
.hero-text h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--graphite-100);
  max-width: 520px;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}
.hero-note {
  font-size: 13px;
  color: var(--graphite-200);
  margin: 0;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-icon-frame {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(closest-side, rgba(212,148,12,0.16), transparent 72%);
}
.hero-icon {
  width: 220px;
  height: 220px;
}

/* ---------- Sections ---------- */
section { position: relative; z-index: 1; padding: 64px 24px; }
.section-title {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  margin: 0 0 8px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--graphite-100);
  margin: 0 auto 44px;
  max-width: 480px;
  font-size: 15px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--graphite-700);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover {
  border-color: rgba(212,148,12,0.35);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,148,12,0.14);
  color: var(--gold-200);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 700;
}
.feature-card p {
  font-size: 14px;
  color: var(--graphite-100);
  margin: 0;
}

/* ---------- Themes ---------- */
.theme-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.swatch {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  cursor: default;
  transition: transform .15s ease;
}
.swatch:hover { transform: translateY(-3px) scale(1.04); }

/* ---------- Legal accordion ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--graphite-700);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 18px 20px;
  color: var(--graphite-50);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.accordion-icon-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--graphite-50);
}
.accordion-icon-label svg { color: var(--gold-300); flex-shrink: 0; }
.chevron { color: var(--graphite-200); transition: transform .2s ease; flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); color: var(--gold-300); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.accordion-item.is-open .accordion-panel { max-height: 3600px; }

.legal-list {
  margin: 0;
  padding: 0 20px 20px 44px;
  list-style: disc;
  color: var(--graphite-100);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-list li::marker { color: var(--gold-300); }

/* Syarat dan Ketentuan - versi panjang (heading bernomor + paragraf + bullet) */
.legal-body {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-updated {
  margin: 0;
  font-size: 12px;
  font-style: italic;
  color: var(--graphite-300);
}
.legal-p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--graphite-100);
}
.legal-heading {
  margin: 6px 0 -4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--graphite-50);
}
.legal-body .legal-list {
  padding: 0 0 0 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-footer .brand-name { font-size: 15px; }
.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--graphite-200);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { order: -1; }
  .hero-icon-frame { width: 200px; height: 200px; }
  .hero-icon { width: 150px; height: 150px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  .nav a { font-size: 12.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}
