/* okisatria.com — satu stylesheet, tanpa build step, tanpa framework.
   Arah: "gold vault" — dasar charcoal-biru, tekstur kertas chart samar,
   emas sebagai satu-satunya aksen, tipografi Plus Jakarta Sans. */

:root {
  /* --- warna --- */
  --bg: #0a0d12;
  --bg-deep: #070a0e;
  --surface: #11161d;
  --surface-2: #171e26;
  --surface-3: #1d252f;
  --line: #232c38;
  --line-soft: #1a222c;
  --text: #eef1f6;
  --text-dim: #c3cbd6;
  --muted: #8e99a8;
  --faint: #5f6a79;

  --gold: #d9a94d;
  --gold-lt: #f2d189;
  --gold-dk: #8f6c26;
  --gold-glow: rgba(217, 169, 77, 0.16);

  --wa: #22c55e;
  --wa-dk: #06301a;
  --danger: #f87171;

  /* --- tipografi --- */
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* --- bentuk --- */
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -24px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* tekstur kertas chart — sangat samar, berlaku di seluruh halaman */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 35%, transparent 78%);
}

body > * { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-lt); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 13, 18, .78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.025em;
  color: var(--text);
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--gold-lt), var(--gold-dk));
  display: grid; place-items: center;
  color: #1a1206;
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 4px 12px -4px var(--gold-dk);
}
.logo em { font-style: normal; color: var(--gold); }

.nav {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: auto;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--text); background: var(--surface-3); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--gold-lt); background: rgba(217, 169, 77, .1); }

.header-cta { display: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 11px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(170deg, var(--gold-lt), var(--gold) 55%, #b98b34);
  color: #150f04;
  box-shadow: 0 10px 26px -12px rgba(217, 169, 77, .7);
}
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(217, 169, 77, .85); }

.btn-ghost {
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold-dk); background: var(--surface-3); }

.btn-wa { background: var(--wa); color: var(--wa-dk); box-shadow: 0 10px 26px -14px var(--wa); }
.btn-wa:hover { background: #34d970; }

.btn-sm { padding: 10px 17px; font-size: .875rem; border-radius: 9px; }

/* ---------- hero ---------- */

.hero { position: relative; padding: 64px 0 16px; }

/* cahaya emas lembut di belakang hero */
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: min(920px, 130%);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--gold-glow), transparent 66%);
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-lt);
  border: 1px solid rgba(217, 169, 77, .28);
  background: rgba(217, 169, 77, .07);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 1px var(--gold);
}

.hero h1 {
  font-size: clamp(2.1rem, 7.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 18px;
  font-weight: 800;
  text-wrap: balance;
}
.hero h1 .gold {
  background: linear-gradient(100deg, var(--gold-lt) 8%, var(--gold) 48%, #b07f2c 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: clamp(1rem, 2.5vw, 1.14rem);
  color: var(--text-dim);
  max-width: 58ch;
  margin: 0 0 30px;
}
.hero p.lede strong { color: var(--text); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }

/* ---------- strip fakta ---------- */

.facts {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 44px;
}
.facts div {
  background: linear-gradient(180deg, var(--surface), var(--bg-deep));
  padding: 18px 20px;
}
.facts dt {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}
.facts dd {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.025em;
}
.facts dd em { font-style: normal; color: var(--gold); }

/* ---------- cards ---------- */

.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-deep));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease;
}
/* garis emas tipis yang muncul saat hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.card:hover {
  border-color: var(--gold-dk);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card:hover::after { opacity: 1; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(217,169,77,.14), rgba(217,169,77,.02));
  border: 1px solid rgba(217, 169, 77, .22);
  color: var(--gold);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin: 0 0 9px; font-size: 1.16rem; letter-spacing: -.025em; font-weight: 800; }
.card p { margin: 0 0 22px; color: var(--muted); font-size: .93rem; }
.card .card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: .9rem;
  color: var(--gold-lt);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.card .card-link span { transition: transform .2s ease; }
.card:hover .card-link span { transform: translateX(4px); }

/* ---------- sections ---------- */

.section { padding: 64px 0; border-top: 1px solid var(--line-soft); }
.section:first-of-type { border-top: 0; }

.section-title {
  font-size: clamp(1.5rem, 4.3vw, 2.1rem);
  letter-spacing: -.035em;
  margin: 0 0 12px;
  font-weight: 800;
  text-wrap: balance;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dk));
}
.section-sub { color: var(--muted); margin: 20px 0 30px; max-width: 62ch; }

h3.sub-head {
  font-size: 1.08rem;
  letter-spacing: -.02em;
  margin: 36px 0 12px;
  font-weight: 700;
}

/* ---------- steps ---------- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 8px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 24px 46px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold-lt);
  background: var(--surface-2);
  border: 1px solid rgba(217, 169, 77, .24);
}
.steps li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 33px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--line), transparent);
}
.steps li:last-child::after { display: none; }
/* hanya judul langkah (anak langsung <li>) yang jadi blok —
   <strong> di tengah kalimat harus tetap inline */
.steps li > strong { display: block; margin-bottom: 3px; color: var(--text); font-weight: 700; }
.steps span { color: var(--muted); font-size: .93rem; }

/* ---------- tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin: 0 0 14px;
}

table { border-collapse: collapse; width: 100%; font-size: .93rem; }
caption { text-align: left; padding: 16px 18px 0; color: var(--muted); font-size: .84rem; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
th {
  color: var(--faint);
  font-weight: 600;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--bg-deep);
}
tbody tr:last-child td { border-bottom: 0; }
td.num, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:hover td { background: rgba(255, 255, 255, .015); }
tr.highlight td {
  background: rgba(217, 169, 77, .07);
  color: var(--text);
  font-weight: 700;
}
tr.highlight td:first-child { box-shadow: inset 3px 0 0 var(--gold); }

/* ---------- callouts ---------- */

.note {
  position: relative;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: linear-gradient(100deg, rgba(217,169,77,.07), transparent 60%), var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 0 0 14px;
  font-size: .92rem;
  color: var(--text-dim);
}
.note strong { color: var(--text); font-weight: 700; }
.note ul { margin: 10px 0 0; padding-left: 20px; }
.note li { margin-bottom: 5px; }
.note p { margin: 0; }

.warn {
  border: 1px solid rgba(248, 113, 113, .22);
  border-left: 3px solid var(--danger);
  background: linear-gradient(100deg, rgba(248, 113, 113, .07), transparent 65%), var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 22px;
  margin: 0 0 16px;
}
.warn h4 {
  margin: 0 0 12px;
  font-size: .95rem;
  color: #ffb4b4;
  font-weight: 700;
  letter-spacing: -.01em;
}
.warn ol, .warn ul { margin: 0; padding-left: 20px; }
.warn li { margin-bottom: 11px; color: var(--text-dim); font-size: .92rem; }
.warn li:last-child { margin-bottom: 0; }
.warn strong { color: #ffd4d4; font-weight: 700; }
.warn p { color: var(--text-dim); font-size: .92rem; }

/* ---------- checklist ---------- */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 9px;
}
.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 13px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 17px;
  font-size: .92rem;
  transition: border-color .18s ease, background .18s ease;
}
.checklist li:hover { border-color: var(--gold-dk); background: var(--surface-2); }
.checklist .box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--gold-dk);
  background: rgba(217, 169, 77, .1);
  display: grid;
  place-items: center;
  font-size: .68rem;
  color: var(--gold-lt);
  margin-top: 2px;
  font-weight: 700;
}
.checklist b { display: block; font-weight: 700; }
.checklist em { color: var(--muted); font-style: normal; font-size: .87rem; }

/* ---------- faq ---------- */

.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-of-type { border-top: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer;
  padding: 17px 0;
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -.015em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform .2s ease, border-color .2s ease;
}
.faq summary:hover { color: var(--gold-lt); }
.faq details[open] summary { color: var(--gold-lt); }
.faq details[open] summary::after { content: "–"; border-color: var(--gold-dk); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: .93rem; max-width: 68ch; }

/* ---------- product cards ---------- */

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.product {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease;
}
.product:hover { border-color: var(--gold-dk); transform: translateY(-3px); box-shadow: var(--shadow); }

.product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--surface-2), var(--bg-deep));
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: .78rem;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product:hover .product-img img { transform: scale(1.05); }
.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 13, 18, .55));
  pointer-events: none;
}

.product-body { padding: 17px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product h3 { margin: 0; font-size: .97rem; line-height: 1.4; letter-spacing: -.015em; font-weight: 700; }
.product .desc { margin: 0; color: var(--muted); font-size: .84rem; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.02rem; }
.price .strike { color: var(--faint); font-weight: 400; text-decoration: line-through; margin-right: 8px; font-size: .84em; }
.product .btn { margin-top: auto; width: 100%; }

.marketplace {
  display: inline-block;
  font-family: var(--mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  align-self: flex-start;
}

.product-no {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ---------- social strip ---------- */

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.socials a {
  font-size: .86rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.socials a:hover { color: var(--gold-lt); border-color: var(--gold-dk); background: rgba(217,169,77,.06); text-decoration: none; }

/* ---------- copyable value ---------- */

.val {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 8px 8px 12px;
  margin: 8px 0 14px;
  min-width: 0;
}
.val code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
}
.copy {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.copy:hover { color: var(--gold); border-color: var(--gold-dk); }
.copy.did { color: var(--wa); border-color: var(--wa); }

/* ---------- cta band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 26px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 130% at 50% 0%, var(--gold-glow), transparent 62%),
    linear-gradient(180deg, var(--surface), var(--bg-deep));
}
.cta-band h3 { margin: 0 0 10px; font-size: clamp(1.2rem, 3.4vw, 1.5rem); letter-spacing: -.03em; font-weight: 800; }
.cta-band p { margin: 0 0 24px; color: var(--muted); font-size: .94rem; }
.cta-band .btn { margin: 0 4px; }
.cta-band .socials { justify-content: center; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 36px 0 44px;
  color: var(--muted);
  font-size: .85rem;
  background: var(--bg-deep);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold-lt); }

/* ---------- utils ---------- */

.muted { color: var(--muted); }
.small { font-size: .85rem; }
code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
}

/* ---------- breakpoints ---------- */

@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 84px 0; }
  .hero { padding: 84px 0 20px; }
  .header-cta { display: inline-flex; }
  .card { padding: 30px; }
  .cta-band { padding: 52px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
