/* ============================================================
   NOVA AI — Demo Showcase Zalin Labs (G802-A / Batch A)
   Landing SaaS automasi AI. Dark charcoal + emerald.
   Palet via CSS variables — NOL biru/indigo/ungu.
   ============================================================ */
:root {
  --bg: #0b0f0e;
  --bg-2: #0e1512;
  --panel: #101a15;
  --panel-2: #13211a;
  --line: rgba(255, 255, 255, 0.09);
  --line-acc: rgba(52, 211, 153, 0.35);
  --ink: #f2f7f4;
  --dim: #9fb3a9;
  --acc: #34d399;
  --acc-deep: #1ea56c;
  --acc-ink: #06231a;
  --amber: #fbbf24;
  --radius: 14px;
  --radius-lg: 20px;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --disp: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* { 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.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Aksesibilitas ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--acc); color: var(--acc-ink);
  padding: 10px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }

::selection { background: rgba(52, 211, 153, 0.35); color: var(--ink); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.94rem; text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn .ic { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-solid { background: var(--acc); color: var(--acc-ink); }
.btn-solid:hover { background: #4ce0a8; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-acc); color: var(--acc); }
.btn-ghost:hover { background: rgba(52, 211, 153, 0.1); }
.btn-light { background: var(--ink); color: #0b1410; }
.btn-light:hover { background: #dcf5e8; }
.btn-outline-light { border-color: rgba(242, 247, 244, 0.35); color: var(--ink); }
.btn-outline-light:hover { background: rgba(242, 247, 244, 0.08); }

/* ---------- Nav ---------- */
.nv-nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(11, 15, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nv-nav-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.nv-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--disp); font-weight: 700; font-size: 1.14rem;
  letter-spacing: -0.01em; text-decoration: none; min-height: 44px;
}
.nv-brand-mark { width: 32px; height: 32px; flex: none; }
.nv-nav-links { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nv-nav-links a {
  text-decoration: none; color: var(--dim); font-size: 0.92rem; font-weight: 500;
  padding: 10px 14px; border-radius: 10px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.nv-nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nv-nav-cta { display: flex; align-items: center; }
.nv-nav-cta .btn { min-height: 42px; padding: 9px 18px; font-size: 0.9rem; }
.nv-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  place-items: center; background: none; border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink);
}
.nv-toggle .ic { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.nv-toggle .ic-close { display: none; }
.nv-toggle[aria-expanded="true"] .ic-open { display: none; }
.nv-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Hero ---------- */
.nv-hero { position: relative; padding: 72px 0 56px; text-align: center; overflow: hidden; }
.nv-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 320px at 18% 8%, rgba(52, 211, 153, 0.14), transparent 70%),
    radial-gradient(380px 300px at 85% 18%, rgba(52, 211, 153, 0.09), transparent 70%);
}
.nv-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(52, 211, 153, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 60% at 50% 30%, #000 30%, transparent 100%);
}
.nv-hero-wrap { position: relative; z-index: 1; }
.nv-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-acc); background: rgba(52, 211, 153, 0.08);
  color: var(--acc); font-size: 0.82rem; font-weight: 600;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.nv-pill .ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.nv-hero h1 {
  font-family: var(--disp); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 5.4vw, 3.7rem); line-height: 1.08;
  max-width: 21ch; margin: 0 auto 18px;
}
.nv-hero h1 em { font-style: normal; color: var(--acc); }
.nv-lead { color: var(--dim); max-width: 58ch; margin: 0 auto; font-size: clamp(0.98rem, 1.6vw, 1.12rem); }
.nv-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.nv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.nv-chips li {
  font-size: 0.82rem; color: var(--dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Dashboard mock ---------- */
.nv-dash {
  max-width: 880px; margin: 52px auto 0; text-align: left;
  border: 1px solid var(--line-acc); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.06), transparent 40%), var(--panel);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.nv-dash-bar {
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--line); padding: 12px 18px;
}
.nv-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.nv-dot.d1 { background: #e5685f; }
.nv-dot.d2 { background: var(--amber); }
.nv-dot.d3 { background: var(--acc); }
.nv-dash-url { margin-left: 10px; font-size: 0.78rem; color: var(--dim); font-family: var(--disp); }
.nv-dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 20px; }
.nv-stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: rgba(255, 255, 255, 0.03); min-width: 0; }
.nv-stat-label { font-size: 0.78rem; color: var(--dim); }
.nv-stat-num { font-family: var(--disp); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; margin-top: 4px; }
.nv-stat-delta { font-size: 0.78rem; color: var(--acc); margin-top: 2px; }
.nv-chart { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 12px; background: rgba(255, 255, 255, 0.03); }
.nv-bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; }
.nv-bars span {
  flex: 1 1 0; min-width: 0; height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--acc), rgba(52, 211, 153, 0.18));
  transition: opacity 0.2s ease;
}
.nv-bars span:hover { opacity: 0.75; }
.nv-chart-cap { font-size: 0.76rem; color: var(--dim); margin-top: 12px; }

/* ---------- Trust strip ---------- */
.nv-trust { margin-top: 44px; }
.nv-trust-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.nv-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 14px; }
.nv-trust-row li { font-family: var(--disp); font-weight: 600; font-size: 0.94rem; color: rgba(242, 247, 244, 0.62); }

/* ---------- Section umum ---------- */
.sec { padding: 84px 0; }
.sec-alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid var(--line);
}
.sec-head { max-width: 62ch; margin-bottom: 46px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--acc); margin-bottom: 14px;
}
.label::before { content: ""; width: 26px; height: 2px; background: var(--acc); }
.sec-head.center .label::after { content: ""; width: 26px; height: 2px; background: var(--acc); }
.sec h2 { font-family: var(--disp); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; }
.sec-sub { color: var(--dim); margin-top: 12px; }

/* ---------- Fitur ---------- */
.nv-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.nv-feat {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); padding: 26px; min-width: 0;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.nv-feat:hover { border-color: var(--line-acc); background: var(--panel-2); transform: translateY(-3px); }
.nv-feat-icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; color: var(--acc);
  background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.28);
}
.nv-feat-icon .ic { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nv-feat h3 { font-family: var(--disp); font-size: 1.08rem; margin-top: 18px; }
.nv-feat p { color: var(--dim); font-size: 0.92rem; margin-top: 8px; }

/* ---------- Harga ---------- */
.nv-bill {
  display: inline-flex; gap: 4px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); margin-bottom: 34px;
}
.nv-bill-btn {
  border: none; background: none; color: var(--dim);
  border-radius: 999px; padding: 9px 18px; min-height: 44px;
  font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nv-bill-btn[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); }
.nv-bill-save { font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(52, 211, 153, 0.16); color: var(--acc); }
.nv-bill-btn[aria-pressed="true"] .nv-bill-save { background: rgba(6, 35, 26, 0.18); color: var(--acc-ink); }
.nv-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.nv-tier {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); padding: 28px; min-width: 0;
  display: flex; flex-direction: column;
}
.nv-tier-best {
  border-color: var(--line-acc);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.1), transparent 45%), var(--panel-2);
}
.nv-tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--acc); color: var(--acc-ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.nv-tier-name { font-family: var(--disp); font-size: 1.05rem; }
.nv-tier-desc { color: var(--dim); font-size: 0.88rem; margin-top: 4px; }
.nv-tier-price { font-family: var(--disp); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 18px 0 4px; }
.nv-per { font-size: 0.9rem; font-weight: 500; color: var(--dim); margin-left: 4px; }
.nv-tier-list { display: grid; gap: 10px; margin: 18px 0 24px; flex: 1; }
.nv-tier-list li {
  position: relative; padding-left: 26px; font-size: 0.9rem; color: rgba(242, 247, 244, 0.82);
}
.nv-tier-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.nv-tier-list li::after {
  content: ""; position: absolute; left: 4.5px; top: 9px; width: 7px; height: 4px;
  border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc);
  transform: rotate(-45deg);
}
.nv-tier-btn { width: 100%; }
.nv-price-note { color: var(--dim); font-size: 0.84rem; margin-top: 26px; text-align: center; }

/* ---------- Testimoni ---------- */
.nv-testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.nv-testi {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); padding: 26px; min-width: 0;
  display: flex; flex-direction: column;
}
.nv-stars { display: flex; gap: 3px; color: var(--amber); }
.nv-stars .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.nv-testi-text { margin-top: 16px; flex: 1; }
.nv-testi-text p { color: rgba(242, 247, 244, 0.82); font-size: 0.94rem; }
.nv-testi-by { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.nv-avatar {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; font-size: 0.78rem; font-weight: 700;
  background: rgba(52, 211, 153, 0.15); color: var(--acc);
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.nv-cite-name { display: block; font-style: normal; font-weight: 600; font-size: 0.92rem; }
.nv-cite-role { display: block; font-size: 0.8rem; color: var(--dim); }

/* ---------- FAQ accordion ---------- */
.nv-acc {
  max-width: 760px; margin: 0 auto; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--panel); overflow: hidden;
}
.nv-acc-item + .nv-acc-item { border-top: 1px solid var(--line); }
.nv-acc-heading { margin: 0; font-size: 1rem; }
.nv-acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: none; border: none; color: var(--ink);
  padding: 20px 24px; text-align: left; font-weight: 600; font-size: 0.98rem; min-height: 44px;
}
.nv-acc-trigger:hover { background: rgba(255, 255, 255, 0.03); }
.nv-acc-icon {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  border-radius: 50%; border: 1px solid var(--line-acc); color: var(--acc);
  transition: transform 0.25s ease, background 0.25s ease;
}
.nv-acc-icon .ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.nv-acc-item.open .nv-acc-icon { transform: rotate(45deg); background: rgba(52, 211, 153, 0.12); }
.nv-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.nv-acc-item.open .nv-acc-panel { grid-template-rows: 1fr; }
.nv-acc-inner { overflow: hidden; min-height: 0; }
.nv-acc-inner p { color: var(--dim); font-size: 0.92rem; padding: 0 24px 22px; max-width: 64ch; }

/* ---------- CTA band ---------- */
.nv-cta {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line-acc); border-radius: 24px;
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.14), transparent 55%), var(--panel-2);
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 48px);
}
.nv-cta::before {
  content: ""; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 211, 153, 0.28), transparent);
  filter: blur(30px); pointer-events: none;
}
.nv-cta-icon { width: 40px; height: 40px; margin: 0 auto; color: var(--acc); stroke: currentColor; stroke-width: 1.7; fill: none; }
.nv-cta h2 { margin-top: 16px; }
.nv-cta p { color: var(--dim); max-width: 52ch; margin: 12px auto 0; }
.nv-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Footer ---------- */
.nv-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-2); }
.nv-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.nv-f-tagline { color: var(--dim); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.nv-f-col h3 { font-family: var(--disp); font-size: 0.95rem; margin-bottom: 14px; }
.nv-f-links { display: grid; gap: 8px; }
.nv-f-links a {
  color: var(--dim); text-decoration: none; font-size: 0.9rem;
  min-height: 34px; display: inline-flex; align-items: center;
  transition: color 0.15s ease;
}
.nv-f-links a:hover { color: var(--acc); }
.nv-f-text { color: var(--dim); font-size: 0.9rem; margin-bottom: 10px; }
.nv-f-cta .btn { margin-top: 6px; }
.badge {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 44px; padding: 14px 18px;
  border: 1px dashed var(--line-acc); border-radius: 12px;
  color: var(--dim); font-size: 0.86rem;
}
.badge-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--acc); margin-top: 6px; }
.nv-footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  justify-content: space-between; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line); color: var(--dim); font-size: 0.84rem;
}
.nv-to-top {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--dim); text-decoration: none; min-height: 44px; font-weight: 600;
}
.nv-to-top .ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nv-to-top:hover { color: var(--acc); }

/* ---------- Reveal on scroll (gating html.js) ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s ease var(--d, 0s), transform 0.55s ease 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; }
  .btn, .nv-feat, .nv-acc-panel, .nv-acc-icon { transition: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
  .nv-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nv-nav-links {
    display: none; margin-left: 0;
    position: absolute; top: 68px; left: 0; right: 0; z-index: 90;
    background: #0d1311; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; grid-auto-rows: min-content;
  }
  .nv-nav-links.open { display: grid; gap: 4px; }
  .nv-nav-links a { padding: 12px 14px; font-size: 0.98rem; }
  .nv-nav-cta { display: none; }
  .nv-toggle { display: grid; }
  .nv-hero { padding: 52px 0 44px; }
  .nv-dash-grid { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .nv-bars { height: 96px; gap: 5px; }
  .nv-trust-row { gap: 8px 18px; }
  .sec { padding: 60px 0; }
  .nv-bill { display: flex; width: 100%; justify-content: stretch; }
  .nv-bill-btn { flex: 1 1 0; min-width: 0; justify-content: center; }
  .nv-footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .nv-hero-cta .btn { width: 100%; }
  .nv-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .nv-dash-bar { padding: 10px 14px; }
}
