/* ══════════════════════════════════════════════════════════════════════════
   AlphaGlyph — Landing Page
   Green-on-black · flat · professional · zero glassmorphism
   Deliberately distinct from the dashboard's blue palette.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #080b0a;   /* near-black with a faint green undertone */
  --bg-alt:    #0c100e;   /* alternating section background */
  --surface:   #11161300; /* (unused alpha guard) */
  --card:      #0f1411;
  --border:    #1e2723;
  --border-lt: #2a352f;
  --text:      #e9efeb;
  --muted:     #8a978f;
  --faint:     #5f6b64;

  --green:      #2ea043;   /* primary accent — financial green */
  --green-br:   #3fb950;   /* brighter highlight / hover */
  --green-dim:  rgba(46,160,67,0.10);
  --green-line: rgba(46,160,67,0.30);

  --font-ui:   'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --maxw:      1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--green-dim); color: var(--green-br); }

/* ── Container ───────────────────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 10, 0.92);
  border-bottom: 1px solid var(--border);
}
.lp-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.lp-brand { display: flex; align-items: center; gap: 9px; }
.brand-logo { width: 24px; height: 24px; color: var(--green-br); flex-shrink: 0; }
.lp-brand-mark {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-br);
  letter-spacing: 0.5px;
}
.lp-brand-sub { font-size: 12px; color: var(--muted); }

.lp-nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.lp-nav-link {
  padding: 7px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.lp-nav-link:hover { color: var(--text); background: var(--bg-alt); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: #04140a;
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-br); border-color: var(--green-br); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-lt);
}
.btn-ghost:hover { border-color: var(--green-line); color: var(--green-br); }

.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--green-br);
  background: var(--green-dim);
  border: 1px solid var(--green-line);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--green-br); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13px; color: var(--faint); font-family: var(--font-mono); }

/* Hero verdict card — a real product screenshot rendered in markup */
.verdict {
  background: var(--card);
  border: 1px solid var(--border-lt);
  border-radius: 10px;
  padding: 22px;
  font-family: var(--font-mono);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.verdict-top {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.verdict-headline {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-br);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.verdict-headline .tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid var(--green-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-br);
  font-size: 13px;
  flex-shrink: 0;
}
.verdict-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.verdict-row:last-child { border-bottom: none; }
.verdict-row .ck { color: var(--green-br); flex-shrink: 0; }
.verdict-row .lbl { color: var(--muted); }
.verdict-row .val { color: var(--text); }

/* ── Stat strip ──────────────────────────────────────────────────────────── */
.stats {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat {
  padding: 30px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green-br);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl { font-size: 12px; color: var(--muted); letter-spacing: 0.3px; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-head p { font-size: 1.08rem; color: var(--muted); }

/* ── Feature grid ────────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: 30px 26px;
  transition: background .15s;
}
.feature:hover { background: var(--card); }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--green-dim);
  border: 1px solid var(--green-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-br);
  margin-bottom: 18px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.12rem; font-weight: 650; margin-bottom: 9px; }
.feature p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; }

/* ── Validation / differentiator section ─────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-list { list-style: none; margin-top: 26px; }
.split-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.split-list li:last-child { border-bottom: 1px solid var(--border); }
.split-list .n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green-br);
  flex-shrink: 0;
  padding-top: 2px;
  width: 28px;
}
.split-list h4 { font-size: 1.02rem; font-weight: 650; margin-bottom: 4px; }
.split-list p { font-size: 0.92rem; color: var(--muted); }

.code-panel {
  background: var(--card);
  border: 1px solid var(--border-lt);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.code-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-lt); }
.code-title { margin-left: 8px; font-size: 12px; color: var(--muted); }
.code-body { padding: 18px 20px; line-height: 1.85; color: var(--muted); overflow-x: auto; }
.code-body .k { color: var(--green-br); }
.code-body .s { color: #e3b341; }
.code-body .c { color: var(--faint); }
.code-body .n { color: #79c0ff; }

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.cta {
  text-align: center;
  padding: 96px 0;
}
.cta h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cta p { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 44px 0 36px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-brand .lp-brand-mark { font-size: 16px; }
.footer-tagline { font-size: 13px; color: var(--muted); margin-top: 8px; max-width: 320px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--green-br); }

.disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.7;
}
.disclaimer strong { color: var(--muted); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--border); }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .lp-nav-links .lp-nav-link:not(.btn) { display: none; }
  .features { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .hero h1 { font-size: 2.1rem; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 480px) {
  .container,
  .lp-nav-inner,
  .stats-inner { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-sub { font-size: 1.02rem; }
  .section { padding: 52px 0; }
  /* Full-width, stacked call-to-action buttons are far easier to tap */
  .hero-cta,
  .cta-btns { flex-direction: column; align-items: stretch; }
  .hero-cta .btn,
  .cta-btns .btn { width: 100%; }
  .section-head h2,
  .cta h2 { font-size: 1.6rem; }
}
