/* ==========================================================================
   YOUR VALIDATOR — design system + landing page
   Palette: biru · hitam · gold
   ========================================================================== */

:root {
  --ink: #05070d;
  --ink-2: #080c16;
  --ink-3: #0b1220;
  --panel: #0d1424;
  --panel-2: #111a2e;
  --line: rgba(148, 170, 220, 0.14);
  --line-strong: rgba(148, 170, 220, 0.26);

  --blue: #2f6bff;
  --blue-2: #5b8cff;
  --blue-deep: #10204a;
  --gold: #e6b64c;
  --gold-2: #f7d98a;
  --gold-deep: #8a6a1f;

  --text: #eaf0ff;
  --text-2: #b9c5e0;
  --muted: #8b9ab8;

  --ok: #35d39a;
  --warn: #f5a742;
  --bad: #ff5d6c;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 18px 50px -18px rgba(230, 182, 76, 0.45);
  --ff: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-display: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  background: var(--ink);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}
.lead { color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.muted { color: var(--muted); }

.gold-text {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 55%, #c99a34);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.blue-text { color: var(--blue-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.94rem; font-weight: 700; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(135deg, #f7d98a, #e6b64c 48%, #c79a33);
  color: #1a1204; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 22px 60px -16px rgba(230, 182, 76, 0.6); }
.btn-blue {
  background: linear-gradient(135deg, var(--blue-2), var(--blue) 60%, #1c47c4);
  color: #fff; box-shadow: 0 18px 46px -18px rgba(47, 107, 255, 0.75);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03); color: var(--text);
  border-color: var(--line-strong); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-wa { background: #1fae54; color: #fff; box-shadow: 0 16px 40px -18px rgba(31, 174, 84, 0.8); }
.btn-sm { padding: 9px 16px; font-size: 0.83rem; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 13, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(5, 7, 13, 0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--ff-display); font-weight: 700; letter-spacing: 0.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(47,107,255,0.28), rgba(230,182,76,0.18));
  border: 1px solid rgba(230, 182, 76, 0.4);
  box-shadow: inset 0 0 18px rgba(47, 107, 255, 0.25);
}
.brand-name { font-size: 1.02rem; white-space: nowrap; }
.brand-name span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 0.9rem; color: var(--text-2); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 90px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto -10%; height: 780px;
  background:
    radial-gradient(46% 52% at 18% 22%, rgba(47, 107, 255, 0.30), transparent 70%),
    radial-gradient(38% 42% at 82% 10%, rgba(230, 182, 76, 0.16), transparent 72%),
    radial-gradient(50% 50% at 55% 0%, rgba(20, 40, 100, 0.55), transparent 75%);
  filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120, 150, 220, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120, 150, 220, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 50% 30%, #000 20%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 8px;
  border-radius: 999px; border: 1px solid rgba(230, 182, 76, 0.35);
  background: rgba(230, 182, 76, 0.08); font-size: 0.78rem; color: var(--gold-2);
  margin-bottom: 26px;
}
.hero-badge b { background: var(--gold); color: #150e02; border-radius: 999px; padding: 2px 9px; font-size: 0.68rem; letter-spacing: 0.08em; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--ff-display); font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- report mockup ---------- */
.mock {
  position: relative; border-radius: var(--r-lg); padding: 22px;
  background: linear-gradient(165deg, rgba(17, 26, 46, 0.96), rgba(8, 12, 22, 0.98));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 0 1px rgba(47, 107, 255, 0.12) inset;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.mock-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mock-file { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-2); }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.mock-body { display: grid; grid-template-columns: 128px 1fr; gap: 18px; padding-top: 18px; align-items: center; }
.gauge { position: relative; width: 128px; height: 128px; }
.gauge svg { transform: rotate(-90deg); }
.gauge-val {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
}
.gauge-val b { font-family: var(--ff-display); font-size: 1.85rem; display: block; line-height: 1; }
.gauge-val span { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mock-src { display: flex; flex-direction: column; gap: 11px; }
.src-row { font-size: 0.72rem; color: var(--text-2); }
.src-row .bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.07); margin-top: 6px; overflow: hidden; }
.src-row .bar i { display: block; height: 100%; border-radius: 99px; }
.mock-foot { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.chip {
  font-size: 0.68rem; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-2); background: rgba(255,255,255,0.03);
}
.chip.gold { border-color: rgba(230,182,76,0.45); color: var(--gold-2); background: rgba(230,182,76,0.08); }
.chip.blue { border-color: rgba(47,107,255,0.5); color: var(--blue-2); background: rgba(47,107,255,0.1); }

/* ---------- section shell ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head h2 { margin: 14px 0 16px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- marquee strip ---------- */
.strip { border-block: 1px solid var(--line); background: rgba(10, 16, 30, 0.6); padding: 20px 0; }
.strip-inner { display: flex; gap: 46px; justify-content: space-between; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); }
.strip-item { display: flex; align-items: center; gap: 9px; }
.strip-item svg { color: var(--gold); flex: none; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  position: relative; padding: 28px 26px; border-radius: var(--r);
  background: linear-gradient(170deg, rgba(17, 26, 46, 0.8), rgba(9, 14, 26, 0.9));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.3s;
}
.feature::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(120% 90% at 50% 0%, rgba(47, 107, 255, 0.16), transparent 65%);
  pointer-events: none;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(230, 182, 76, 0.4); box-shadow: var(--shadow); }
.feature:hover::after { opacity: 1; }
.feature-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(47, 107, 255, 0.22), rgba(230, 182, 76, 0.12));
  border: 1px solid rgba(120, 160, 255, 0.28); margin-bottom: 18px; color: var(--gold-2);
}
.feature h3 { margin-bottom: 9px; }
.feature p { font-size: 0.9rem; color: var(--text-2); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(11, 18, 32, 0.7); }
.step-num {
  font-family: var(--ff-display); font-size: 0.82rem; font-weight: 700;
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: #150e02; background: linear-gradient(140deg, var(--gold-2), var(--gold));
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.89rem; color: var(--text-2); }

/* ---------- demo checker ---------- */
.demo-box {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0;
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(17, 26, 46, 0.9), rgba(8, 12, 22, 0.95));
}
.demo-left { padding: 34px; border-right: 1px solid var(--line); }
.demo-right { padding: 34px; display: flex; flex-direction: column; justify-content: center; background: rgba(5, 8, 16, 0.5); }
.demo-left textarea {
  width: 100%; min-height: 190px; resize: vertical; margin: 18px 0 14px;
  background: rgba(5, 8, 16, 0.85); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  color: var(--text); padding: 15px; font-family: var(--ff); font-size: 0.88rem; line-height: 1.65;
  outline: none; transition: border-color 0.2s;
}
.demo-left textarea:focus { border-color: var(--blue); }
.demo-result { text-align: center; }
.demo-score { font-family: var(--ff-display); font-size: 3.4rem; line-height: 1; }
.demo-label { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.demo-meta { display: flex; justify-content: center; gap: 20px; margin-top: 22px; font-size: 0.78rem; color: var(--text-2); flex-wrap: wrap; }
.demo-signals { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; text-align: left; }
.signal { display: flex; gap: 10px; align-items: flex-start; font-size: 0.78rem; color: var(--text-2); padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.signal i { width: 6px; height: 6px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--gold); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative; padding: 32px 28px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: rgba(10, 16, 30, 0.75);
  display: flex; flex-direction: column;
}
.price.featured {
  border-color: rgba(230, 182, 76, 0.55);
  background: linear-gradient(175deg, rgba(30, 26, 12, 0.55), rgba(9, 13, 24, 0.95));
  box-shadow: var(--shadow-gold);
  transform: translateY(-8px);
}
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #150e02;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; padding: 5px 14px; border-radius: 999px;
}
.price h3 { font-size: 0.92rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 6px; }
.price-amount b { font-family: var(--ff-display); font-size: 2.3rem; }
.price-amount span { font-size: 0.82rem; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; font-size: 0.87rem; color: var(--text-2); }
.price li { display: flex; gap: 9px; align-items: flex-start; }
.price li svg { color: var(--gold); flex: none; margin-top: 3px; }
.price .btn { margin-top: auto; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: rgba(10, 16, 30, 0.6); overflow: hidden; transition: border-color 0.25s; }
.faq-item.open { border-color: rgba(230, 182, 76, 0.4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; background: none; border: 0; color: var(--text);
  font-size: 0.95rem; font-weight: 600; text-align: left; cursor: pointer;
}
.faq-q span.ico { color: var(--gold); transition: transform 0.25s; font-size: 1.2rem; line-height: 1; }
.faq-item.open .faq-q span.ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--text-2); font-size: 0.89rem; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 58px 46px; text-align: center;
  background: linear-gradient(140deg, rgba(24, 42, 96, 0.9), rgba(12, 16, 30, 0.95) 55%, rgba(40, 32, 12, 0.85));
  border: 1px solid rgba(230, 182, 76, 0.32);
}
.cta-band::before {
  content: ''; position: absolute; inset: -40% 20% auto 20%; height: 400px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(230, 182, 76, 0.22), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { position: relative; margin-bottom: 14px; }
.cta-band p { position: relative; color: var(--text-2); max-width: 560px; margin: 0 auto 30px; }
.cta-band .btn { position: relative; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 34px; margin-top: 96px; background: rgba(6, 9, 16, 0.8); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; font-size: 0.87rem; color: var(--text-2); }
.footer ul a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 0.79rem; color: var(--muted); }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 14px; border-radius: 999px;
  background: #1fae54; color: #fff; font-weight: 700; font-size: 0.86rem;
  box-shadow: 0 18px 44px -14px rgba(31, 174, 84, 0.85);
  transition: transform 0.2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { flex: none; }
.wa-float .ping {
  position: absolute; inset: 0; border-radius: 999px; border: 2px solid rgba(31,174,84,0.6);
  animation: ping 2.4s ease-out infinite; pointer-events: none;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.25); opacity: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .demo-box { grid-template-columns: 1fr; }
  .demo-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid, .steps, .price-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .price.featured { transform: none; }
  .mock-body { grid-template-columns: 110px 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .feature-grid, .steps, .price-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 60px; }
  .hero-stats { gap: 22px; }
  .cta-band { padding: 40px 22px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-gold { padding: 9px 15px; font-size: 0.8rem; }
  .brand-name { font-size: 0.9rem; }
  .brand-mark { width: 34px; height: 34px; }
  .strip-inner { gap: 18px 26px; font-size: 0.76rem; }
}
