:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2234;
  --bg-accent: #0f1a2e;
  --fg-primary: #e8ecf4;
  --fg-secondary: #8b97b0;
  --fg-muted: #5a6478;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.12);
  --green: #10b981;
  --red: #ef4444;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--fg-primary);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--fg-secondary);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ===== DEMO CARD ===== */
.demo-scan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  max-width: 680px;
}

.demo-scan-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
}

.demo-scan-header .status {
  color: var(--green);
}

.scan-row {
  display: grid;
  grid-template-columns: 140px 1fr 80px 64px;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
}

.scan-row:last-child { border-bottom: none; }

.scan-row .field-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scan-row .field-value {
  color: var(--fg-primary);
  font-weight: 500;
}

.scan-row .confidence {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
}

.conf-high { color: var(--green); }
.conf-mid { color: var(--amber); }
.conf-low { color: var(--red); }

.scan-row .source-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  background: var(--bg-accent);
  padding: 2px 8px;
  border-radius: 4px;
  text-align: center;
}

/* ===== PROCESS ===== */
.process {
  padding: 120px 24px;
  background: var(--bg-secondary);
}

.process-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 600px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}

.step-card {
  background: var(--bg-card);
  padding: 36px 32px;
  position: relative;
}

.step-card:first-child { border-radius: 12px 12px 0 0; }
.step-card:last-child { border-radius: 0 0 12px 12px; }

@media (min-width: 640px) {
  .step-card:first-child { border-radius: 12px 0 0 12px; }
  .step-card:last-child { border-radius: 0 12px 12px 0; }
}

.step-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--bg-accent);
  line-height: 1;
  margin-bottom: 20px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== LOG TYPES ===== */
.log-types {
  padding: 120px 24px;
}

.log-types-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.log-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.log-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s;
}

.log-chip:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.log-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.log-chip span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-primary);
}

/* ===== TRUST ===== */
.trust {
  padding: 120px 24px;
  background: var(--bg-secondary);
}

.trust-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-card p {
  color: var(--fg-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.trust-icon {
  width: 28px;
  height: 28px;
  background: var(--amber-glow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing p {
  color: var(--fg-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 60px; }
  .scan-row { grid-template-columns: 100px 1fr; gap: 8px; font-size: 13px; }
  .scan-row .confidence, .scan-row .source-tag { display: none; }
  .process-steps { grid-template-columns: 1fr; }
  .step-card:first-child, .step-card:last-child { border-radius: 0; }
  .step-card:first-child { border-radius: 12px 12px 0 0; }
  .step-card:last-child { border-radius: 0 0 12px 12px; }
  .log-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .demo-scan { padding: 20px; }
}