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

:root {
  --bg: #09090b;
  --bg-card: #18181b;
  --border: #27272a;
  --border-light: #3f3f46;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --purple: #a855f7;
  --purple-dark: #7c3aed;
  --green: #22c55e;
  --green-dark: #16a34a;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 17px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

.btn-nav {
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.3);
  color: var(--purple);
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-nav:hover { background: rgba(168,85,247,0.22); border-color: var(--purple); }

/* ── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: white;
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 28px rgba(168,85,247,0.3);
  font-family: var(--font);
  border: none;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 40px rgba(168,85,247,0.45); }
.btn-primary.large { padding: 15px 32px; font-size: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }

/* ── Hero ─── */
.hero {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.open-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12.5px;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Popup mockup ─── */
.mockup-section {
  display: flex;
  justify-content: center;
  padding: 48px 24px 64px;
  position: relative;
  z-index: 1;
}

.popup-mockup {
  width: 360px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.07);
}

.mockup-chrome {
  background: #1a1a1f;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span { width: 9px; height: 9px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-url {
  background: var(--bg);
  border-radius: 5px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-dim);
  flex: 1;
  text-align: center;
}

.mockup-popup { background: var(--bg); }

.mockup-banner {
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-banner.vibe { background: linear-gradient(135deg, #052e16, #065f46); border-bottom: 1px solid #064e3b; }
.mockup-banner.pay { background: linear-gradient(135deg, #1e1b4b, #3730a3); border-bottom: 1px solid #2e2d7d; }

.mockup-verdict {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mockup-conf {
  font-size: 11px;
  background: rgba(255,255,255,0.15);
  padding: 2px 9px;
  border-radius: 99px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.mockup-body {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-headline { font-size: 13px; font-weight: 700; color: var(--text); }

.mockup-meter { display: flex; align-items: center; gap: 7px; }
.ml { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.ml.pay { color: var(--purple); }
.ml.vibe { color: var(--green); }

.mockup-track { flex: 1; height: 6px; background: var(--border); border-radius: 99px; position: relative; }
.mockup-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7c3aed 0%, #facc15 50%, #16a34a 100%); }
.mockup-thumb { position: absolute; top: 50%; width: 11px; height: 11px; background: white; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 1px 3px rgba(0,0,0,0.4); }

.mockup-reasons { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.mockup-reasons li { font-size: 11.5px; color: var(--text-muted); }
.mockup-reasons li::before { content: '✓ '; color: var(--green); font-weight: 700; font-size: 10px; }

.mockup-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mockup-chips span { background: var(--bg-card); border: 1px solid var(--border); border-radius: 5px; padding: 3px 8px; font-size: 10.5px; color: var(--text-muted); }

/* ── How it works ─── */
.how-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
  position: relative;
  z-index: 1;
}

.how-section h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.step-icon { font-size: 28px; margin-bottom: 12px; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.step-arrow { font-size: 22px; color: var(--border-light); margin-top: 44px; flex-shrink: 0; }

/* ── CTA ─── */
.cta-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

/* ── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-logo {
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-note {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-note a { color: var(--text-dim); text-decoration: none; }
.footer-note a:hover { color: var(--text-muted); }

/* ── Responsive ─── */
@media (max-width: 600px) {
  .step-arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .popup-mockup { width: 100%; max-width: 360px; }
}
