/* Pinvari — scrollproof-style design system. Ink neutrals, chartreuse accent, Outfit. */
:root {
  --bg: #0d0f14;          /* ink ground */
  --bg-2: #08090d;
  --panel: #16191f;       /* card */
  --panel-2: #1d2128;     /* elevated */
  --line: #242932;
  --line-2: #2e343f;
  --text: #ebedf0;
  --text-2: #a0a8b6;
  --text-3: #6b7280;
  --lime: #DBED35;        /* Pinvari chartreuse (logo color) — the accent */
  --lime-2: #c7ff6e;
  --lime-dim: rgba(219, 237, 53, 0.12);
  --brass-pressed: #9be81f;
  --red: #e0594f;
  --radius: 16px;
  --radius-s: 10px;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 12, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-size: 20px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-spacer { flex: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 18px; height: 40px; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  background: transparent; color: var(--text); font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn-lime { background: var(--lime); color: #291028; }
.btn-lime:hover { background: var(--lime-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-big { height: 50px; padding: 0 26px; font-size: 15.5px; }

/* hero */
.hero { padding: 96px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;
  height: 130%; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(219, 237, 53, 0.06), transparent 65%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lime); background: var(--lime-dim);
  border: 1px solid rgba(219, 237, 53, 0.30);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
h1 {
  font-family: var(--font-display); font-size: clamp(40px, 6.5vw, 68px); line-height: 1.04; font-weight: 900;
  letter-spacing: -0.035em; margin-bottom: 22px;
}
h1 .lime { color: var(--lime); }
.sub { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 640px; margin: 0 auto 34px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.cta-note { font-size: 13px; color: var(--text-3); }
.hero-shot {
  margin: 56px auto 0; max-width: 980px;
  border-radius: 20px; border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(219, 237, 53, 0.10);
  overflow: hidden; background: #16181d;
}

/* sections */
section { padding: 88px 0; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.sec-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 14px; }
.sec-sub { color: var(--text-2); font-size: 17px; }

/* feature grid */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(236, 230, 216, 0.04); border: 1px solid var(--line);
  color: var(--text-2); font-size: 19px; margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-2); }
.card .tag { display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--lime); background: var(--lime-dim); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }

/* steps */
.steps { counter-reset: step; }
.step { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n {
  flex: 0 0 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 17px;
  background: var(--lime); color: #291028;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 15px; }
.step kbd {
  font: 600 12.5px ui-monospace, "SF Mono", monospace;
  background: var(--panel-2); border: 1px solid var(--line-2); border-bottom-width: 2px;
  padding: 2px 8px; border-radius: 6px; color: var(--text);
}

/* terminal */
.term {
  background: #0b0e12; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; font: 13.5px/1.75 "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}
.term-bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2e3440; }
.term-bar i:first-child { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-body { padding: 20px 22px; color: var(--text-2); overflow-x: auto; }
.term-body .p { color: var(--lime); }
.term-body .c { color: var(--text-3); }
.term-body .w { color: var(--text); }

/* pricing */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.hot { border-color: var(--lime); box-shadow: 0 0 40px rgba(219, 237, 53, 0.14); }
.price-card .plan { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); }
.price-card .amount { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 2px; }
.price-card .amount span { font-size: 15px; color: var(--text-3); font-weight: 500; }
.price-card ul { list-style: none; margin: 18px 0 26px; flex: 1; }
.price-card li { font-size: 14.5px; color: var(--text-2); padding: 7px 0 7px 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.hot-badge { position: absolute; top: -12px; right: 22px; background: var(--lime); color: #291028; font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px; }

/* faq */
details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 18px 22px; margin-bottom: 12px;
}
details summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: "+"; color: var(--lime); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--text-2); font-size: 14.5px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 64px; color: var(--text-3); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-in a:hover { color: var(--lime); }

/* panel (app + admin) */
.panel-page { min-height: 100vh; display: flex; flex-direction: column; }
.panel-main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 48px 24px; }
.auth-box { max-width: 400px; margin: 8vh auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.auth-box h2 { font-size: 24px; margin-bottom: 6px; }
.auth-box .hint { font-size: 13.5px; color: var(--text-3); margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: var(--radius-s);
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font-size: 15px;
}
.field input:focus { outline: none; border-color: var(--lime); }
.form-err { color: var(--red); font-size: 13.5px; min-height: 20px; margin-bottom: 8px; }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv .k { color: var(--text-2); }
.kv .v { font-weight: 600; }
.kv .v.mono { font: 600 14px ui-monospace, "SF Mono", monospace; color: var(--lime); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--lime-dim); color: var(--lime); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--text-3); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
td { padding: 12px; border-bottom: 1px solid var(--line); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat .big { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--lime); }
.stat .lbl { font-size: 13px; color: var(--text-3); }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-in { gap: 12px; }
}

/* ── scrollproof-style: SVG icons, textures, glow ── */
.card .ico svg { width: 22px; height: 22px; stroke: var(--lime); }
.card .ico { color: var(--lime); }
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(219,237,53,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(219,237,53,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 72% 60% at 50% -5%, #000 28%, transparent 76%);
          mask-image: radial-gradient(ellipse 72% 60% at 50% -5%, #000 28%, transparent 76%);
}
.glow-orb { position: absolute; border-radius: 9999px; filter: blur(80px); pointer-events: none; z-index: 0; background: rgba(219,237,53,.10); }
.orb-a { width: 380px; height: 380px; top: -120px; left: 8%; }
.orb-b { width: 300px; height: 300px; top: 40px; right: 6%; background: rgba(155,232,31,.08); }
.hero .wrap { position: relative; z-index: 1; }
/* primary button: scrollproof acid glow */
.btn-lime { box-shadow: 0 6px 20px -4px rgba(219,237,53,.42), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-lime:hover { box-shadow: 0 8px 26px -4px rgba(219,237,53,.55), inset 0 1px 0 rgba(255,255,255,.4); }
/* section subtle grid on the how-it-works band */
#how { position: relative; }
