/* ── Reset & base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #080a0c;
  color: #e2e8f0;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(0,229,160,0.2); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #080a0c; }
::-webkit-scrollbar-thumb { background: #1e2530; border-radius: 3px; }

/* ── CSS tokens ─────────────────────────────────────────────────── */
:root {
  --bg:           #080a0c;
  --bg2:          #0d1117;
  --bg3:          #080c10;
  --border:       #1e2530;
  --text-primary: #f7fafc;
  --text-sec:     #718096;
  --text-muted:   #4a5568;
  --accent:       #00e5a0;
  --accent-bg:    rgba(0,229,160,0.06);
  --accent-border:rgba(0,229,160,0.2);
}

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,160,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(0,229,160,0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Layout helpers ─────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,10,12,0.9);
  border-bottom: 1px solid #0d1117;
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo-text {
  font-size: 18px; font-weight: 700; color: #e2e8f0; letter-spacing: -0.02em;
}
.nav-logo-badge {
  font-size: 11px; font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  background: rgba(0,229,160,0.1);
  padding: 2px 6px; border-radius: 3px;
  border: 1px solid var(--accent-border);
}
.nav-spacer { flex: 1; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  color: #718096; text-decoration: none; font-size: 14px;
  transition: color 0.2s;
}
.nav-link:hover { color: #e2e8f0; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; background: var(--accent); color: #080a0c;
  border: none; border-radius: 6px; padding: 10px 22px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit; text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #00ffb3; transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,229,160,0.3);
}
.btn-ghost {
  display: inline-block; background: transparent; color: #a0aec0;
  border: 1px solid var(--border); border-radius: 6px;
  padding: 10px 22px; font-size: 14px; cursor: pointer;
  font-family: inherit; text-decoration: none; transition: all 0.2s;
}
.btn-ghost:hover { border-color: #4a5568; color: #e2e8f0; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative; padding-top: 140px; padding-bottom: 80px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,160,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.hero-left { animation: fadeUp 0.6s ease forwards; }
.hero-right {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  animation: fadeUp 0.6s ease 0.2s both;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

/* Live pill */
.live-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  background: var(--accent-bg); border: 1px solid rgba(0,229,160,0.15);
  border-radius: 20px; padding: 5px 12px;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
  animation: pulse 2s ease infinite;
}
.live-label {
  font-size: 12px; font-family: 'IBM Plex Mono', monospace; color: var(--accent);
}

/* Hero heading */
.hero-h1 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 20px; color: var(--text-primary);
}
.hero-h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: 17px; color: var(--text-sec); line-height: 1.7;
  margin-bottom: 32px; max-width: 440px;
}
.hero-ctas { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }

/* Feed pills */
.feed-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.feed-pill {
  font-size: 10px; font-family: 'IBM Plex Mono', monospace;
  padding: 3px 8px; border-radius: 3px;
  color: #4a5568; border: 1px solid var(--border);
  background: transparent;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.feed-pill.active {
  color: var(--accent);
  border-color: rgba(0,229,160,0.3);
  background: var(--accent-bg);
}

/* Mock browser */
.browser-bar {
  background: #080a0c; border-bottom: 1px solid var(--border);
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; opacity: 0.7; }
.browser-url {
  flex: 1; text-align: center; font-size: 11px;
  font-family: 'IBM Plex Mono', monospace; color: #4a5568;
}
.browser-body { padding: 16px; }
.browser-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.browser-label {
  font-size: 11px; font-family: 'IBM Plex Mono', monospace; color: #4a5568;
}

/* Intel cards */
.intel-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 16px 18px; margin-bottom: 10px;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.intel-card.visible { opacity: 1; transform: translateY(0); }
.intel-card-topline {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
}
.intel-card-meta {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.intel-card-source {
  font-size: 11px; font-family: 'IBM Plex Mono', monospace; color: #4a5568;
}
.intel-card-time {
  font-size: 11px; font-family: 'IBM Plex Mono', monospace; color: #2d3748;
  margin-left: auto;
}
.intel-card-title {
  font-size: 13px; font-weight: 600; color: #e2e8f0;
  margin-bottom: 6px; line-height: 1.4;
}
.intel-card-summary {
  font-size: 12px; color: #718096; line-height: 1.6; margin-bottom: 8px;
}
.intel-card-action {
  font-size: 11px; color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  background: rgba(0,229,160,0.05);
  border: 1px solid rgba(0,229,160,0.12);
  border-radius: 4px; padding: 6px 10px; line-height: 1.5;
}
.intel-card-action .action-label { color: #2d7a5e; margin-right: 6px; }

/* Severity badge */
.badge {
  font-size: 10px; font-family: 'IBM Plex Mono', monospace;
  font-weight: 600; letter-spacing: 0.1em;
  padding: 2px 8px; border-radius: 3px;
}
.badge-crit  { color:#ff3b3b; background:rgba(255,59,59,0.08);  border:1px solid rgba(255,59,59,0.3);  }
.badge-high  { color:#ff6b35; background:rgba(255,107,53,0.08); border:1px solid rgba(255,107,53,0.3); }
.badge-med   { color:#f5c518; background:rgba(245,197,24,0.08); border:1px solid rgba(245,197,24,0.3); }
.badge-low   { color:var(--accent); background:var(--accent-bg); border:1px solid var(--accent-border); }

/* ── Stats bar ──────────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid #0d1117; border-bottom: 1px solid #0d1117;
  background: var(--bg3);
}
.stats-inner {
  max-width: 1100px; margin: 0 auto; padding: 16px 24px;
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
}
.stat-item { display: flex; align-items: center; gap: 10px; }
.stat-val {
  font-size: 16px; font-weight: 700;
  font-family: 'IBM Plex Mono', monospace; color: var(--accent);
}
.stat-label { font-size: 12px; color: #4a5568; }

/* ── Features ───────────────────────────────────────────────────── */
.features { padding: 80px 24px; }
.section-eyebrow {
  font-size: 11px; font-family: 'IBM Plex Mono', monospace;
  color: var(--accent); letter-spacing: 0.1em; margin-bottom: 12px;
}
.section-h2 {
  font-size: 36px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-primary);
}
.section-header { text-align: center; margin-bottom: 56px; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(0,229,160,0.2); transform: translateY(-2px);
}
.feature-icon {
  font-size: 22px; color: var(--accent); margin-bottom: 14px;
  font-family: monospace;
}
.feature-title {
  font-size: 15px; font-weight: 600; color: #e2e8f0; margin-bottom: 8px;
}
.feature-desc { font-size: 13px; color: #718096; line-height: 1.7; }

/* ── Pricing ────────────────────────────────────────────────────── */
.pricing { padding: 80px 24px; background: var(--bg3); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; align-items: start;
}
.plan-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  transition: border-color 0.2s;
}
.plan-card:hover { border-color: #2d3748; }
.plan-card.featured { border-color: rgba(0,229,160,0.3); }
.plan-badge {
  font-size: 10px; font-family: 'IBM Plex Mono', monospace;
  color: var(--accent); background: rgba(0,229,160,0.1);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 3px; padding: 2px 8px;
  display: inline-block; margin-bottom: 16px;
}
.plan-name {
  font-size: 14px; font-weight: 600; color: #a0aec0; margin-bottom: 8px;
}
.plan-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price {
  font-size: 40px; font-weight: 700; color: var(--text-primary);
  letter-spacing: -0.03em;
}
.plan-currency { font-size: 13px; color: #4a5568; }
.plan-desc {
  font-size: 12px; color: #4a5568; margin-bottom: 24px;
  font-family: 'IBM Plex Mono', monospace;
}
.plan-features {
  border-top: 1px solid var(--border); padding-top: 20px; margin-bottom: 24px;
}
.plan-feature {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.plan-check { color: var(--accent); font-size: 12px; }
.plan-feature-text { font-size: 13px; color: #a0aec0; }

/* ── Bottom CTA ─────────────────────────────────────────────────── */
.bottom-cta { padding: 80px 24px; }
.cta-card {
  max-width: 680px; margin: 0 auto; text-align: center;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 56px 40px;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,160,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-eyebrow {
  font-size: 11px; font-family: 'IBM Plex Mono', monospace;
  color: var(--accent); letter-spacing: 0.1em; margin-bottom: 16px;
}
.cta-h2 {
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-primary); margin-bottom: 16px;
}
.cta-sub {
  font-size: 15px; color: #718096; margin-bottom: 32px; line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid #0d1117; padding: 24px; text-align: center;
}
.footer-links {
  display: flex; justify-content: center; gap: 24px; margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-link {
  color: #718096; text-decoration: none; font-size: 13px;
  transition: color 0.2s;
}
.footer-link:hover { color: #e2e8f0; }
.footer-copy {
  font-size: 12px; color: #2d3748; font-family: 'IBM Plex Mono', monospace;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links .nav-link { display: none; }
}
