/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080C08;
  --bg-2: #0D120D;
  --bg-card: #111811;
  --fg: #e8f0e8;
  --fg-muted: #7a8a7a;
  --accent: #00FF88;
  --accent-2: #FFB800;
  --accent-dim: rgba(0, 255, 136, 0.1);
  --border: rgba(0, 255, 136, 0.12);
  --font-head: 'Space Grotesk', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(8, 12, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
}
.nav-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-spacer { flex: 1; }
.nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent); }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--bg);
  background: var(--accent);
  padding: 8px 18px;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-logo-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  opacity: 0.6;
}
.trust-sep { color: var(--border); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-bg-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.8;
}
.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--fg);
}
.hero-title .accent { color: var(--accent); }
.hero-subtitle {
  font-size: 20px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.5;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 28px;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 14px 28px;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== HERO TRIAL FORM ===== */
.hero-form-wrapper {
  margin-bottom: 56px;
}
.trial-form {}
.trial-form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 720px;
}
.trial-input {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  min-width: 200px;
  flex: 1;
}
.trial-input::placeholder { color: var(--fg-muted); opacity: 0.6; }
.trial-input:focus { border-color: var(--accent); background: rgba(0, 255, 136, 0.08); }
.trial-input--company { min-width: 140px; }
.trial-input--large { min-width: 220px; }
.trial-btn {
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.trial-btn:hover:not(:disabled) { opacity: 0.85; }
.trial-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.trial-btn--large { padding: 16px 36px; font-size: 14px; }
.trial-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  margin-top: 12px;
  opacity: 0.7;
}
.trial-msg {
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 10px;
  min-height: 18px;
  letter-spacing: 0.04em;
}
.trial-msg--success { color: var(--accent); }
.trial-msg--error { color: #FF6B6B; }

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 40px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  gap: 20px;
  margin-top: 60px;
}
.features-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
}
.feature-card--dark {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 32px;
}
.feature-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}
.feature-icon {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  display: inline-block;
}
.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.feature-desc code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 1px 5px;
}

/* ===== NEXUS FEED PREVIEW ===== */
.feed-preview-section {
  background: var(--bg-2);
}
.feed-preview-wrapper {
  background: #000;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 48px;
}
.feed-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.feed-header-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.feed-header-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  margin-left: auto;
}
.feed-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}
.feed-table th {
  text-align: left;
  padding: 10px 16px;
  color: var(--fg-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  white-space: nowrap;
}
.feed-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 255, 136, 0.05);
  color: var(--fg);
  white-space: nowrap;
}
.feed-table tr:last-child td { border-bottom: none; }
.feed-table tr:hover td { background: rgba(0, 255, 136, 0.03); }

.severity-critical { color: #FF3B3B; font-weight: 700; }
.severity-high { color: #FF8C00; font-weight: 700; }
.severity-medium { color: #FFB800; }
.severity-low { color: var(--fg-muted); }

.uniqueness-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}
.asset-name {
  color: var(--accent);
  font-weight: 500;
}
.feed-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}
.feed-cta-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
}

/* ===== HOW IT WORKS ===== */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 60px;
  border: 1px solid var(--border);
}
.how-step {
  display: flex;
  gap: 32px;
  padding: 32px 36px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.how-step:last-child { border-bottom: none; }
.how-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 2px;
  min-width: 24px;
}
.how-step-content {}
.how-step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.how-step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.how-step-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 2px 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--bg-2);
  padding: 120px 40px;
}
.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.cta-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.cta-form-row { max-width: 680px; margin: 0 auto; }
.cta-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.15em;
}
.footer-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
}

@media (max-width: 1024px) {
  .features-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .section { padding: 60px 24px; }
  .cta-section { padding: 80px 24px; }
  .trust-bar { padding: 20px 24px; }
  .nav { padding: 16px 24px; }
  .nav-link { display: none; }
  .hero-stats { gap: 32px; }
  .how-step { gap: 16px; padding: 24px; }
  .feed-table { font-size: 10px; }
  .feed-table td, .feed-table th { padding: 8px 10px; }
  .trial-form-row { flex-direction: column; }
  .trial-input { min-width: 100%; }
  .trial-btn { width: 100%; }
  .cta-form { flex-direction: column; }
  .cta-form .trial-input { min-width: 100%; }
  .cta-form .trial-btn { width: 100%; }
  .features-grid--4 { grid-template-columns: 1fr; }
  .feed-cta { flex-direction: column; align-items: flex-start; }
}