/* ============================================================
   VAULT CAPITAL — demo showcase G802 (Zalin Labs)
   Fintech aset digital. Gelap hutan + emerald + mono presisi.
   ============================================================ */
:root {
  --bg: #07100d;
  --bg-raise: #0c1f18;
  --bg-card: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.07);
  --ink: #eef6f1;
  --ink-dim: rgba(238, 246, 241, 0.64);
  --ink-faint: rgba(238, 246, 241, 0.44);
  --accent: #34d399;
  --accent-strong: #6ee7b7;
  --accent-soft: rgba(52, 211, 153, 0.13);
  --accent-ink: #07100d;
  --down: #f87171;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px; border-radius: 0 0 12px 12px;
  font-weight: 700; text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.94rem; text-decoration: none;
  border: 1px solid transparent; line-height: 1.2;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--accent-strong); }
.btn-outline { border-color: rgba(255, 255, 255, 0.28); color: var(--ink); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.btn:active { transform: translateY(1px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 16, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 20px; min-height: var(--nav-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.02rem; letter-spacing: 0.01em;
  text-decoration: none; min-height: 44px;
}
.brand-mark { width: 32px; height: 32px; flex: none; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink-dim); font-size: 0.92rem; font-weight: 600; text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--accent-strong); background: var(--accent-soft); }
.nav-cta { display: flex; align-items: center; }
.nav-cta .btn { min-height: 44px; padding: 10px 18px; font-size: 0.9rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 10px;
}
.nav-toggle .ic-open, .nav-toggle .ic-close {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round;
}
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.94fr; gap: 48px; align-items: center; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 16px;
}
.label::before { content: ""; width: 26px; height: 2px; background: var(--accent); flex: none; }
.hero h1 {
  font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  line-height: 1.08; margin-bottom: 18px; max-width: 20ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--ink-dim); max-width: 54ch; font-size: 1.02rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-chips li {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; color: var(--ink-dim); background: rgba(255, 255, 255, 0.03);
}
.trust-line {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 18px; font-size: 0.82rem; color: var(--ink-faint); max-width: 44ch;
}
.trust-line .ic { width: 17px; height: 17px; flex: none; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- dasbor mock ---------- */
.vc-dash {
  border: 1px solid rgba(52, 211, 153, 0.3); border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(52, 211, 153, 0.08), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px); padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-title { font-weight: 700; font-size: 0.95rem; color: var(--ink-dim); }
.dash-chip {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-strong);
  border-radius: 999px; padding: 6px 12px; white-space: nowrap;
}
.dash-total { font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 10px; letter-spacing: -0.01em; }
.dash-bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; margin-top: 18px; }
.dash-bars i {
  flex: 1 1 0; min-width: 0; height: var(--h);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, rgba(52, 211, 153, 0.28), var(--accent));
}
.dash-list { display: grid; gap: 9px; margin-top: 18px; }
.dash-row {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  background: rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 11px 14px;
}
.dash-coin {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-soft);
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600; color: var(--accent-strong);
}
.dash-name { font-weight: 700; font-size: 0.92rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-full { font-weight: 500; font-size: 0.78rem; color: var(--ink-faint); margin-left: 6px; }
.dash-spark { width: 64px; height: 20px; flex: none; margin-left: auto; }
.dash-quote { text-align: right; flex: none; }
.dash-price { display: block; font-weight: 700; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.dash-change { display: flex; align-items: center; justify-content: flex-end; gap: 3px; font-family: var(--mono); font-size: 0.72rem; }
.dash-change.up { color: var(--accent-strong); }
.dash-change.down { color: var(--down); }
.dash-note { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-faint); margin-top: 14px; }

/* ---------- section umum ---------- */
.sec { padding: 72px 0; }
.sec-band { border-block: 1px solid var(--line-soft); background: #081511; }
.sec-head { margin-bottom: 36px; max-width: 62ch; }
.sec-head h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; }
.sec-head > p { color: var(--ink-dim); margin-top: 12px; }
.sec-head.split {
  max-width: none; display: flex; flex-wrap: wrap; gap: 20px 48px;
  align-items: flex-end; justify-content: space-between;
}
.sec-note { max-width: 46ch; font-size: 0.92rem; color: var(--ink-faint); }

/* ---------- produk ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.prod-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: var(--bg-card); padding: 24px; min-width: 0;
  transition: border-color 0.2s ease;
}
.prod-card:hover { border-color: rgba(52, 211, 153, 0.45); }
.prod-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.prod-icon .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prod-card h3 { font-weight: 700; font-size: 1.02rem; margin-top: 16px; }
.prod-card p { color: var(--ink-dim); font-size: 0.9rem; margin-top: 8px; }

/* ---------- grafik ---------- */
.chart-wrap {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: var(--bg-card); padding: 22px;
}
.chart-svg { width: 100%; height: auto; }
.chart-caption { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); margin-top: 12px; }
.metric-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 14px; margin-top: 22px;
}
.metric {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--bg-card); padding: 18px 20px;
}
.metric-num { font-family: var(--mono); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--accent-strong); }
.metric-label { font-size: 0.82rem; color: var(--ink-faint); margin-top: 4px; }

/* ---------- keamanan ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.sec-card {
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: var(--bg-card); padding: 24px;
}
.sec-icon { color: var(--accent); margin-bottom: 8px; }
.sec-icon .ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sec-card h3 { font-weight: 700; font-size: 1.02rem; }
.sec-card p { color: var(--ink-dim); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.acc-item { border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--bg-card); overflow: hidden; }
.acc-item + .acc-item { margin-top: 12px; }
.acc-head { margin: 0; font-size: 1rem; }
.acc-btn {
  width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; text-align: left;
  padding: 14px 18px; font-weight: 700; font-size: 0.98rem; color: var(--ink);
}
.acc-btn:hover { color: var(--accent-strong); }
.acc-icon {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border: 1px solid rgba(52, 211, 153, 0.4); border-radius: 10px; color: var(--accent);
  transition: transform 0.2s ease;
}
.acc-icon .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.acc-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.acc-panel { padding: 0 18px; }
.acc-panel-inner { border-top: 1px dashed var(--line-soft); padding: 16px 0 20px; }
.acc-panel-inner > p { color: var(--ink-dim); font-size: 0.94rem; }

/* ---------- CTA ---------- */
.cta-band {
  text-align: center;
  border: 1px solid rgba(52, 211, 153, 0.35); border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 50% 0%, rgba(52, 211, 153, 0.14), transparent 55%), var(--bg-raise);
  padding: clamp(34px, 6vw, 64px) 24px;
}
.cta-band h2 { font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.cta-band p { color: var(--ink-dim); max-width: 54ch; margin: 12px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: #050b09; padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.f-tagline { color: var(--ink-faint); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.f-col h3 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px; }
.f-links { display: grid; gap: 6px; }
.f-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 0.92rem;
  min-height: 32px; display: inline-flex; align-items: center;
  transition: color 0.15s ease;
}
.f-links a:hover { color: var(--accent-strong); }
.f-text { color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 12px; }
.f-cta .btn { margin-top: 4px; }
.badge {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 40px 0 0; padding: 14px 18px;
  border: 1px dashed rgba(52, 211, 153, 0.45); border-radius: var(--radius);
  color: var(--ink-dim); font-size: 0.86rem;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  color: var(--ink-faint); font-size: 0.85rem;
}
.to-top {
  color: var(--ink-dim); text-decoration: none; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; white-space: nowrap;
}
.to-top .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { color: var(--accent-strong); }

/* ---------- reveal (JS gating: konten tetap tampil bila JS mati) ---------- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .prod-card, .btn, .acc-icon { transition: none; }
}

/* ---------- responsif ---------- */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 40px; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #081511; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 16px 18px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .sec { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions .btn { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .dash-spark { display: none; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .nav-inner { gap: 12px; }
  .dash-row { flex-wrap: wrap; }
  .dash-quote { margin-left: auto; }
}
