/* ═══════════════════════════════════════════════════════════
   SiKePo Theme v4 — "Clarity" (modern clean, centered)
   Berbeda total dari v3: nav pill melayang, hero terpusat,
   mesin jadi panggung lebar di bawah teks, HUD glass melayang,
   footer terang. Display font: Plus Jakarta Sans (desain Jakarta).
   Dipakai landing + sub-pages (cockpit punya style sendiri).
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #FAFAFB;
  --surface: #FFFFFF;
  --line: #ECEEF2;
  --line-soft: #F2F4F7;
  --ink: #0B1526;
  --navy: #0A2540;
  --ink-band: #0B1526;
  --body: #4A5568;
  --muted: #8291A6;
  --green: #009B4C;
  --green-dark: #007C3D;
  --green-soft: #E9F7EF;
  --cyan: #0284A8;
  --cyan-soft: #E4F6FB;
  --red: #D92D20;
  --red-soft: #FDECEA;
  --amber: #B54708;
  --amber-soft: #FCF1E4;
  --blue: #175CD3;
  --blue-soft: #E9F0FB;
  --radius-ctl: 10px;
  --radius-card: 16px;
  --radius-panel: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, 0.04);
  --shadow-md: 0 2px 4px rgba(11, 21, 38, 0.04), 0 16px 40px rgba(11, 21, 38, 0.08);
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-ui: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(60% 42% at 6% 0%, rgba(2, 132, 168, 0.05) 0%, transparent 60%),
    radial-gradient(52% 38% at 98% 2%, rgba(0, 155, 76, 0.045) 0%, transparent 58%),
    radial-gradient(48% 42% at 50% 110%, rgba(23, 92, 211, 0.035) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--body);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Grain halus di atas seluruh halaman — menambah tekstur, bukan noise rendahan */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}
::selection { background: rgba(0, 155, 76, 0.14); color: var(--ink); }

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 6px; border: 2px solid var(--bg); }
*::-webkit-scrollbar-track { background: transparent; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

/* ── Tipografi ─────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); text-wrap: balance; }
.h2 { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
@media (min-width: 640px) { .h2 { font-size: 38px; } }
.metric, .stat-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green);
}
.kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--green); flex: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ''; width: 20px; height: 2px; border-radius: 2px; background: var(--green); flex: none; }

/* ── Navigasi: pill melayang + auto-hide saat scroll ───── */
.site-nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 14px;
  background: none; border: none;
  transition: transform .28s ease;
}
.site-nav.nav-hidden { transform: translateY(-130%); }
.nav-inner {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 8px 7px 16px;
  box-shadow: 0 1px 2px rgba(11,21,38,.05), 0 10px 30px rgba(11,21,38,.07);
}
.nav-brand { display: flex; align-items: center; gap: 8px; margin-right: 10px; }
.nav-brand img { height: 26px; width: auto; }
.nav-brand b { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; color: var(--ink); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: color 0.15s ease; padding: 7px 11px; border-radius: 999px;
}
.nav-link:hover { color: var(--ink); background: #F1F3F6; }
.nav-link.active { color: var(--ink); font-weight: 600; background: #F1F3F6; }
.nav-cta-mini {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 13px;
  border-radius: 999px; padding: 8px 16px; transition: background .15s ease;
}
.nav-cta-mini:hover { background: #16243C; }

/* ── Tombol ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: #fff;
  font-weight: 600; border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,124,61,.3), 0 8px 24px rgba(0,155,76,.18);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface); color: var(--ink);
  font-weight: 600; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-outline:hover { border-color: #D4DAE3; background: #FBFCFD; }
.btn-ink {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; font-weight: 600; border-radius: 999px;
  transition: background .15s ease;
}
.btn-ink:hover { background: #16243C; }

/* ── Permukaan ─────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.card-hover { transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #DCE2EA; }

/* ── Badge ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 6px; border: 1px solid transparent;
  font-size: 11px; font-weight: 600;
}
.badge-green  { background: var(--green-soft); color: #067647; border-color: #C9E9D8; }
.badge-red    { background: var(--red-soft); color: var(--red); border-color: #F6D3CF; }
.badge-amber  { background: var(--amber-soft); color: var(--amber); border-color: #F4DFC8; }
.badge-blue   { background: var(--blue-soft); color: var(--blue); border-color: #CCDFF7; }
.badge-cyan   { background: var(--cyan-soft); color: var(--cyan); border-color: #C8E9F2; }
.badge-gray   { background: #F1F3F6; color: var(--muted); border-color: var(--line); }

/* ── Tabel (sub-pages) ─────────────────────────────────── */
.tbl-light { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl-light th {
  text-align: left; padding: 10px 16px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); background: #F7F8FA; border-bottom: 1px solid var(--line);
}
.tbl-light td { padding: 10px 16px; border-bottom: 1px solid var(--line-soft); color: var(--body); }
.tbl-light tbody tr:last-child td { border-bottom: none; }
.row-hover:hover td { background: #F8F9FB; }
.step-num {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-soft); color: var(--green);
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
}

/* ── Footer terang ─────────────────────────────────────── */
.site-footer { background: var(--surface); color: var(--body); border-top: 1px solid var(--line); }
.site-footer a { color: var(--body); transition: color 0.15s ease; }
.site-footer a:hover { color: var(--ink); }

/* ── Transisi & Motion reveal ──────────────────────────── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.35s ease-out; }
.anim-ready [data-reveal],
.anim-ready [data-reveal-group] > * { opacity: 0; }
.anim-ready [data-reveal].motion-in,
.anim-ready [data-reveal-group] > .motion-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in, .card-hover, .btn-primary, .btn-outline { animation: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   HERO — terpusat, mesin sebagai panggung lebar
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 128px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 34% at 50% -6%, rgba(2, 132, 168, 0.07) 0%, transparent 62%),
    radial-gradient(34% 26% at 82% 4%, rgba(0, 155, 76, 0.06) 0%, transparent 58%),
    radial-gradient(30% 24% at 12% 10%, rgba(23, 92, 211, 0.04) 0%, transparent 56%);
}
/* Blob aurora lembut — melayang lambat di hero */
.blob { position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.blob-1 {
  width: 440px; height: 440px; top: -110px; left: 4%;
  background: radial-gradient(circle at 32% 32%, rgba(2, 132, 168, 0.16), transparent 66%);
  animation: blob-drift 19s ease-in-out infinite alternate;
}
.blob-2 {
  width: 380px; height: 380px; right: 5%; bottom: -80px;
  background: radial-gradient(circle at 62% 42%, rgba(0, 155, 76, 0.13), transparent 64%);
  animation: blob-drift 23s ease-in-out infinite alternate-reverse;
}
@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(46px, 30px) scale(1.09); }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }
/* Dot-grid halus di area hero — memudar ke tepi */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11, 21, 38, 0.055) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 34%, #000 0%, transparent 100%);
  mask-image: radial-gradient(72% 62% at 50% 34%, #000 0%, transparent 100%);
}
@media (max-width: 767px) { .hero { padding: 104px 0 48px; } }
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; text-align: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; color: var(--body);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; box-shadow: var(--shadow-sm);
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(0,155,76,.15); }
.hero-title {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 800; line-height: 1.04; letter-spacing: -0.035em;
  color: var(--ink); margin-top: 22px; text-wrap: balance;
}
@media (min-width: 640px) { .hero-title { font-size: 62px; } }
@media (min-width: 1280px) { .hero-title { font-size: 72px; } }
.hero-title em { font-style: normal; color: var(--green); }
.hero-sub {
  font-size: 16.5px; line-height: 1.65; color: var(--body);
  max-width: 600px; margin: 20px auto 0;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-trust { margin-top: 18px; font-size: 12px; color: var(--muted); }
.hero-trust .mono { font-size: 11px; }

/* Panggung mesin: panel gelap lebar terpusat */
.hero-stage { position: relative; max-width: 1000px; margin: 56px auto 0; }
.stage-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-panel);
  background:
    radial-gradient(52% 44% at 62% 40%, rgba(2, 132, 168, 0.26) 0%, transparent 64%),
    radial-gradient(40% 36% at 20% 80%, rgba(0, 155, 76, 0.12) 0%, transparent 60%),
    #0A1220;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 2px 4px rgba(11,21,38,.06), 0 32px 80px rgba(11,21,38,.22);
}
.stage-panel::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-img { position: relative; z-index: 1; display: block; width: 100%; max-width: 100%; height: auto; padding: 2.5%; }
.scan-beam {
  position: absolute; left: 0; right: 0; top: -26%; height: 26%; z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 172, 193, 0.12) 55%, rgba(0, 172, 193, 0.02) 82%, transparent);
  animation: hero-scan 6.5s linear infinite;
}
@keyframes hero-scan { 0% { top: -26%; } 100% { top: 110%; } }
@media (prefers-reduced-motion: reduce) { .scan-beam { display: none; } }

/* HUD glass melayang di tepi bawah panggung */
.hud-float {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 18px; z-index: 3;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  background: rgba(10, 18, 32, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow: 0 12px 32px rgba(11,21,38,.35);
}
.hud-chip-f {
  display: flex; align-items: baseline; gap: 7px;
  font-size: 11px; color: #AAB9CB; padding: 3px 10px; white-space: nowrap;
}
.hud-chip-f + .hud-chip-f { border-left: 1px solid rgba(148, 163, 184, 0.18); }
.hud-chip-f b { font-family: var(--font-mono); font-size: 13.5px; font-weight: 700; color: #fff; }
.hud-chip-f b.t-amber { color: #FFC163; }
.hud-chip-f b.t-green { color: #43E39B; }
.hud-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: #35D08F;
  padding: 4px 10px; border: 1px solid rgba(53, 208, 143, 0.35); border-radius: 999px;
}
.hud-live .dot { width: 6px; height: 6px; border-radius: 50%; background: #35D08F; }
@media (max-width: 767px) {
  .hud-float { position: static; transform: none; margin: -30px 16px 0; border-radius: 16px; }
  .hud-chip-f { padding: 3px 8px; }
  .hud-chip-f:nth-child(4) { border-left: none; }
}

/* Chip kaca melayang di tepi panggung mesin (dekoratif, data riil) */
.stage-chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ink);
  box-shadow: 0 8px 24px rgba(11, 21, 38, .14);
  animation: floaty 6s ease-in-out infinite alternate;
}
.stage-chip .sc-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sc-green { background: var(--green); box-shadow: 0 0 0 3px rgba(0, 155, 76, .16); }
.sc-red { background: var(--red); box-shadow: 0 0 0 3px rgba(217, 45, 32, .14); }
.sc-amber { background: #F0B429; box-shadow: 0 0 0 3px rgba(240, 180, 41, .18); }
.stage-chip-l { left: -18px; top: 20%; animation-delay: 0s; }
.stage-chip-r { right: -18px; top: 56%; animation-delay: 1.6s; }
@keyframes floaty { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
@media (max-width: 1100px) { .stage-chip { display: none; } }
@media (prefers-reduced-motion: reduce) { .stage-chip { animation: none; } }

/* Strip kosakata domain — marquee lambat, pause saat hover */
.domain-strip { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.domain-strip .wrap {
  display: flex; align-items: center; gap: 20px;
  padding-top: 15px; padding-bottom: 15px;
}
.domain-strip .d-label {
  flex: none;
  font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); padding-right: 20px;
  border-right: 2px solid var(--green-soft);
}
.d-marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.d-track { display: flex; width: max-content; animation: d-marquee 30s linear infinite; }
.domain-strip:hover .d-track { animation-play-state: paused; }
.d-track span {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
  padding: 0 20px; white-space: nowrap; position: relative;
}
.d-track span + span::before { content: '·'; position: absolute; left: -4px; color: #C9D2DE; }
@keyframes d-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .d-track { animation: none; } }

/* ── Section umum ──────────────────────────────────────── */
.section { padding: 88px 0; }
@media (max-width: 767px) { .section { padding: 56px 0; } }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; }
.section-head-center { max-width: 680px; margin: 0 auto; text-align: center; }
.section-head-center .kicker { justify-content: center; }
.section-sub { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--body); }

/* ── Problem: statement terpusat ───────────────────────── */
.statement { text-align: center; max-width: 760px; margin: 0 auto; }
.stat-huge {
  font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.03em;
  font-size: 48px; line-height: 1.05; color: var(--navy); white-space: nowrap;
}
@media (min-width: 640px) { .stat-huge { font-size: 76px; } }
.statement-cap { margin-top: 14px; font-size: 14px; color: var(--muted); }
.prose-cols {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  max-width: 880px; margin: 44px auto 0;
}
@media (min-width: 768px) { .prose-cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
.prose-cols p { font-size: 15px; line-height: 1.75; color: var(--body); }
.prose-cols p strong { color: var(--ink); }

/* ── Pipeline: stepper horizontal + konektor panah ─────── */
.steps { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 44px; position: relative; }
@media (min-width: 900px) {
  .steps { grid-template-columns: 1fr 34px 1fr 34px 1fr; gap: 0 8px; align-items: stretch; }
  .steps .flow-arrow { align-self: center; }
}
.step-card {
  text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 22px; cursor: pointer;
  box-shadow: var(--shadow-sm); font-family: inherit; position: relative;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.step-card:hover { box-shadow: var(--shadow-md); border-color: #DCE2EA; }
.step-card[aria-expanded="true"] { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,155,76,.10); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.step-tag {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; border-radius: 12px; padding: 0 10px;
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
}
.step-tag-cyan { background: var(--cyan-soft); color: var(--cyan); }
.step-tag-blue { background: var(--blue-soft); color: var(--blue); }
.step-tag-green { background: var(--green-soft); color: #067647; }
.step-plus { font-size: 18px; color: var(--muted); font-weight: 500; transition: transform .2s ease; }
.step-card[aria-expanded="true"] .step-plus { transform: rotate(45deg); color: var(--green); }
.step-name { display: block; font-family: var(--font-display); font-size: 16.5px; font-weight: 700; color: var(--ink); margin-top: 14px; letter-spacing: -0.01em; }
.step-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.step-detail {
  display: block; overflow: hidden; max-height: 0; opacity: 0;
  font-size: 13.5px; line-height: 1.65; color: var(--body);
  transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
}
.step-card[aria-expanded="true"] .step-detail { max-height: 200px; opacity: 1; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
@media (prefers-reduced-motion: reduce) { .step-detail, .step-plus { transition: none; } }
.step-links { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 32px; }
.step-links a { font-size: 13.5px; font-weight: 600; }

/* ── AI stack: 3 kartu, A3 gelap ───────────────────────── */
.ai-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 44px; }
@media (min-width: 960px) { .ai-grid { grid-template-columns: 1fr 1fr 1fr; } }
.ai-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.ai-card-dark {
  background: linear-gradient(180deg, #0E1B30 0%, #0A1220 100%);
  border-color: #1C3355; color: #AAB9CB;
  box-shadow: 0 2px 4px rgba(11,21,38,.1), 0 20px 48px rgba(11,21,38,.25);
}
.ai-tag {
  display: inline-flex; padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  border: 1px solid transparent; margin-bottom: 14px;
}
.ai-tag-cyan { background: var(--cyan-soft); color: var(--cyan); border-color: #C8E9F2; }
.ai-tag-blue { background: var(--blue-soft); color: var(--blue); border-color: #CCDFF7; }
.ai-tag-green { background: rgba(0, 155, 76, 0.18); color: #43E39B; border-color: rgba(53, 208, 143, 0.4); }
.ai-meta { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.ai-card-dark .ai-meta { color: #64809F; }
.ai-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.ai-card-dark h3 { color: #fff; }
.ai-card p { font-size: 13.5px; line-height: 1.7; color: var(--body); margin-top: 9px; }
.ai-card-dark p { color: #AAB9CB; }
.ai-points { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ai-points li { font-size: 12.5px; color: var(--body); padding-left: 20px; position: relative; }
.ai-points li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.ai-card-dark .ai-points li { color: #C9D6E6; }
.ai-card-dark .ai-points li::before { color: #35D08F; }
.ai-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }

/* ── Fraud rows: baris bersih + nomor besar ────────────── */
.fraud-rows { margin-top: 40px; border-top: 1px solid var(--line); }
.fraud-row {
  display: grid; grid-template-columns: 56px 220px 1fr; gap: 18px; align-items: start;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
}
@media (max-width: 767px) { .fraud-row { grid-template-columns: 40px 1fr; gap: 12px; } .fraud-signal { grid-column: 2; } }
.fraud-idx { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: #C3CCD9; padding-top: 3px; }
.fraud-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 16.5px; font-weight: 700; color: var(--ink); }
.fraud-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.fraud-desc { font-size: 13.5px; line-height: 1.6; color: var(--body); margin-top: 4px; }
.fraud-signal { font-family: var(--font-mono); font-size: 11px; line-height: 1.55; color: var(--muted); padding-top: 4px; }

/* ── Spektrum risiko ───────────────────────────────────── */
.spectrum {
  position: relative; height: 12px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(90deg, #009B4C 0%, #4CC38A 28%, #F0B429 42%, #F0B429 58%, #F04438 76%, #D92D20 100%);
}
.spectrum-tick { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.85); }

/* ── Roles: strip horizontal ringan ────────────────────── */
.roles-strip {
  display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 40px;
  border-block: 1px solid var(--line);
}
@media (min-width: 900px) { .roles-strip { grid-template-columns: repeat(4, 1fr); } }
.role-item { padding: 26px 22px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .role-item { border-bottom: none; border-right: 1px solid var(--line); padding: 30px 26px; }
  .role-item:last-child { border-right: none; }
}
.role-code {
  font-family: var(--font-mono); font-weight: 700; font-size: 11.5px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 10px; border-radius: 8px; margin-bottom: 12px;
}
.role-name { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--ink); }
.role-desc { font-size: 12.5px; line-height: 1.6; color: var(--body); margin-top: 5px; }
.role-perms { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.perm-chip {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; background: var(--surface);
}

/* ── Stats: angka raksasa terang, 1 baris ──────────────── */
.stats-band { border-block: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; padding: 64px 0; text-align: center; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 900px) { .stats-grid > div + div { border-left: 1px solid var(--line); } }
.stats-band .stat-num {
  color: var(--navy);
  font-size: clamp(24px, 2.55vw, 37px); /* cukup untuk "Rp xxx,x jt" dalam 1 baris kolom 250px */
  white-space: nowrap;
}
.stats-lbl { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.stats-note { text-align: center; font-size: 11px; color: var(--muted); padding-bottom: 26px; margin-top: -10px; }

/* ── Diagram alur (shadcn-style flow) ──────────────────── */
.flow { display: grid; grid-template-columns: 1fr; gap: 10px; }
/* base arrow: disembunyikan di mobile — override display di media query di bawah */
.flow-arrow {
  display: none; justify-self: center; width: 30px; height: 30px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  align-items: center; justify-content: center; color: var(--muted); box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .flow { grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr; align-items: center; }
  .flow-arrow { display: inline-flex; }
}
.flow-node {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 10px; text-align: center; box-shadow: var(--shadow-sm);
}
.flow-node .fn-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .05em; padding: 2px 8px; border-radius: 6px; margin-bottom: 7px;
  border: 1px solid transparent;
}
.flow-node .fn-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.flow-node .fn-sub { font-size: 10.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.flow-arrow svg { width: 12px; height: 12px; }

/* ── CTA panel gelap ───────────────────────────────────── */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(50% 60% at 50% -10%, rgba(2, 132, 168, 0.28) 0%, transparent 62%),
    radial-gradient(36% 44% at 86% 108%, rgba(0, 155, 76, 0.22) 0%, transparent 60%),
    var(--ink-band);
  border-radius: var(--radius-panel);
  padding: 72px 32px;
  color: #fff;
}
/* denyut cahaya lembut */
.cta-panel::after {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  left: 50%; top: -260px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(53, 208, 143, 0.12) 0%, transparent 62%);
  animation: cta-pulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes cta-pulse { from { opacity: .5; transform: translateX(-50%) scale(1); } to { opacity: 1; transform: translateX(-50%) scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .cta-panel::after { animation: none; } }
.cta-panel h2 { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.025em; }
@media (min-width: 640px) { .cta-panel h2 { font-size: 40px; } }
.cta-panel p { margin: 14px auto 0; max-width: 460px; font-size: 14.5px; line-height: 1.65; color: #AAB9CB; }
.cta-panel .btn-primary { margin-top: 28px; }

/* ── Hamburger nav (mobile) — markup di-inject shared.js ── */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 999px; width: 38px; height: 38px; cursor: pointer;
  align-items: center; justify-content: center; flex: none; color: var(--ink);
}
.nav-toggle:hover { background: #F1F3F6; }
.nav-toggle svg { width: 18px; height: 18px; }
.nav-mobile {
  display: none; position: absolute; top: calc(100% + 10px); left: 14px; right: 14px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 12px 28px rgba(11, 21, 38, .12);
  padding: 10px 20px 14px;
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 11px 4px; font-size: 14px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.nav-cta { color: var(--green); font-weight: 700; }
@media (max-width: 767px) { .nav-toggle { display: inline-flex; } }
