/* PROOViD AML — marketing landing styles
   Lightweight, no framework. System font stack, CSS custom properties,
   grid + flexbox. Tuned for Lighthouse performance >= 80. */

:root {
  --bg: #0b1120;
  --bg-2: #0f172a;
  --bg-alt: #0d1526;
  --panel: #111c30;
  --panel-2: #16223a;
  --line: #1e2c45;
  --text: #e7edf6;
  --muted: #9fb0c8;
  --brand: #38bdf8;
  --brand-2: #34d399;
  --accent: #6366f1;
  --danger: #f87171;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1120px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(60rem 40rem at 80% -10%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(50rem 40rem at 0% 0%, rgba(99, 102, 241, 0.10), transparent 55%);
  background-repeat: no-repeat;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--brand); color: #03121f; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; font-weight: 700; font-size: 1rem;
  padding: 0.8rem 1.4rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.92rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #03121f;
  box-shadow: 0 10px 28px -12px rgba(56, 189, 248, 0.7);
}
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  font-weight: 700; color: var(--brand); margin: 0 0 0.6rem;
}

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 17, 32, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-text { font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-text b { color: var(--brand); font-weight: 800; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.header-inner .btn-primary { margin-left: 0; }

/* ---- hero ---- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy .lede { font-size: 1.18rem; color: var(--muted); max-width: 38ch; }
.lede strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 1.4rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; padding: 0; margin: 0; }
.hero-badges li { color: var(--muted); font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 0.45rem; }
.hero-badges li::before { content: "\2713"; color: var(--brand-2); font-weight: 900; }

/* code card */
.hero-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.code-head {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); background: var(--panel-2);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f56; } .dot-y { background: #ffbd2e; } .dot-g { background: #27c93f; }
.code-title { margin-left: 0.6rem; font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }
.code-body { margin: 0; padding: 1.1rem 1.25rem; font-family: var(--mono); font-size: 0.86rem; line-height: 1.65; overflow-x: auto; }
.code-body code { color: var(--text); }
.c-prop { color: #7dd3fc; } .c-str { color: #86efac; } .c-num { color: #fcd34d; }
.c-bool { color: #f0abfc; } .c-key { color: #94a3b8; }

/* ---- sections ---- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 60ch; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---- steps ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; font-weight: 800; font-size: 1.05rem;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #03121f; margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---- features ---- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.3rem; transition: border-color 0.2s ease, transform 0.12s ease;
}
.feature:hover { border-color: var(--brand); transform: translateY(-2px); }
.feature-ic { font-size: 1.6rem; margin-bottom: 0.7rem; line-height: 1; }
.feature h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---- positioning / compare ---- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.compare-them { background: var(--panel); }
.compare-us {
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.10), rgba(52, 211, 153, 0.06));
  border-color: rgba(56, 189, 248, 0.45);
}
.compare-col h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.compare-col li { display: flex; gap: 0.6rem; color: var(--muted); font-size: 0.98rem; }
.compare-us li { color: var(--text); }
.x { color: var(--danger); font-weight: 800; }
.ok { color: var(--brand-2); font-weight: 800; }
.pricing-teaser { text-align: center; color: var(--muted); margin: 2rem auto 0; max-width: 56ch; font-size: 1.02rem; }

/* ---- trust ---- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.trust-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; text-align: center; }
.trust-stat { font-size: 1.3rem; font-weight: 800; color: var(--brand); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.trust-item p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.trust-note { text-align: center; color: var(--muted); margin-top: 1.8rem; }

/* ---- final cta ---- */
.cta-final { text-align: center; }
.cta-inner {
  max-width: 720px; background: var(--panel);
  border: 1px solid rgba(56, 189, 248, 0.4); border-radius: 20px;
  padding: clamp(2.2rem, 5vw, 3.5rem); box-shadow: var(--shadow);
}
.cta-inner .hero-cta { justify-content: center; }
.cta-inner h2 { margin-bottom: 0.4rem; }
.cta-inner > p:first-of-type { color: var(--muted); font-size: 1.1rem; }
.contact-line { color: var(--muted); margin-top: 1.5rem; font-size: 0.96rem; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 2.5rem 0; margin-top: 1rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem 2rem; align-items: start; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 42ch; margin: 0.5rem 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; justify-content: flex-end; }
.footer-nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--text); }
.footer-legal { grid-column: 1 / -1; color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--line); padding-top: 1.2rem; margin: 0.5rem 0 0; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .lede { max-width: none; }
  .steps, .features-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .compare { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .steps, .features-grid, .trust-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .feature:hover { transform: none; }
}

/* focus visibility for keyboard users */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px;
}
