:root {
  --bg: #080f1c;
  --bg-alt: #0b1424;
  --surface: #0f1e33;
  --surface-2: #152540;
  --border: #1a3250;
  --teal: #00d4a0;
  --teal-dim: rgba(0, 212, 160, 0.12);
  --amber: #f59e0b;
  --red: #ef4444;
  --text: #e8edf5;
  --text-muted: #7a9ab8;
  --text-dim: #4a6a8a;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 15, 28, 0.92);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* HERO */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-content {
  position: relative;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(0, 212, 160, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(0, 212, 160, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 160, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0, 212, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 160, 0); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-scan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 540px;
}
.scan-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
#target-domain { color: var(--teal); font-family: monospace; font-size: 13px; }
.scan-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.scan-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), #00ffcc);
  border-radius: 3px;
  animation: scanAnim 3s ease-out infinite;
}
@keyframes scanAnim {
  0% { width: 0%; }
  100% { width: 94%; }
}
.scan-meta {
  font-size: 12px;
  color: var(--text-dim);
}
.scan-meta span { color: var(--text-muted); }
.sep { margin: 0 6px; }
#scan-count { color: var(--amber); font-weight: 600; }
#scan-crit { color: var(--red); font-weight: 600; }

/* STATS */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--teal);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.stat-src {
  font-size: 11px;
  color: var(--text-dim);
  display: block;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  margin: 0 40px;
}

/* OPERATIONAL */
.operational {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 24px;
}
.op-header {
  margin-bottom: 56px;
}
.op-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 12px;
}
.op-header p { font-size: 17px; color: var(--text-muted); }
.op-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.op-card {
  background: var(--surface);
  padding: 36px 32px;
  position: relative;
}
.op-icon { margin-bottom: 20px; }
.op-num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.op-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 10px;
}
.op-card > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.65;
}
.op-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.op-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.op-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* COMPLIANCE */
.compliance {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.comp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.comp-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.comp-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 16px;
}
.comp-text > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.comp-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.comp-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 160, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--teal-dim);
}
.comp-visual {}
.comp-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.comp-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.comp-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}
.comp-metric { margin-bottom: 16px; }
.comp-metric-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.comp-metric-bar {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}
.comp-metric-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 3px;
}
.comp-metric-pct {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
}
.comp-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 8px;
}

/* THREATS */
.threats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.threats-header {
  margin-bottom: 48px;
}
.threats-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 12px;
}
.threats-header p { font-size: 16px; color: var(--text-muted); }
.threats-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.threat-row {
  display: grid;
  grid-template-columns: 80px 120px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.threat-row:last-child { border-bottom: none; }
.threat-row--critical { border-left: 3px solid var(--red); }
.threat-row--high { border-left: 3px solid var(--amber); }
.threat-row--med { border-left: 3px solid #eab308; }
.threat-row--low, .threat-row--info { border-left: 3px solid var(--border); }
.threat-time { font-size: 11px; color: var(--text-dim); font-family: monospace; }
.threat-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}
.threat-desc { font-size: 13px; color: var(--text-muted); }
.threat-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
}
.threat-status--open { background: rgba(239,68,68,0.12); color: var(--red); }
.threat-status--resolved { background: rgba(0,212,160,0.1); color: var(--teal); }
.threat-status--pending { background: rgba(245,158,11,0.12); color: var(--amber); }

/* CLOSING */
.closing {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}
.closing-promise {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.promise-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,160,0.2);
  background: var(--teal-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
}
.footer-mission { font-size: 12px; color: var(--text-dim); }
.footer-meta { font-size: 13px; color: var(--text-dim); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .stats-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .stat-divider { width: 40px; height: 1px; margin: 0; }
  .op-grid { grid-template-columns: 1fr; }
  .comp-inner { grid-template-columns: 1fr; gap: 40px; }
  .threat-row { grid-template-columns: 70px 100px 1fr; gap: 10px; }
  .threat-status { display: none; }
  .hero { padding: 64px 20px 56px; }
  .hero-scan { max-width: 100%; }
  .closing-promise { flex-direction: column; align-items: center; gap: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav-tagline { display: none; }
  .hero-headline { letter-spacing: -1px; }
  .op-card { padding: 28px 20px; }
  .threat-row { grid-template-columns: 1fr 1fr; }
  .threat-time { display: none; }
}

/* CTA BUTTON */
.cta-row {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.btn-demo-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: #080f1c;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 0 24px rgba(0, 212, 160, 0.25);
}
.btn-demo-hero:hover {
  background: #00e8b0;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 212, 160, 0.4);
}
.btn-demo-hero:active { transform: translateY(0); }

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 28, 0.85);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.2s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.modal-header h2 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.2;
}
.modal-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  margin-top: 4px;
}
.modal-close:hover { color: var(--text); background: var(--surface-2); }

/* FORM */
.demo-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.required { color: var(--teal); }
.form-group input,
.form-group select {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 212, 160, 0.12);
}
.select-wrapper { position: relative; }
.select-wrapper select { width: 100%; padding-right: 36px; }
.select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.field-error {
  font-size: 12px;
  color: var(--red);
  min-height: 16px;
}
.form-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  color: var(--red);
  font-size: 13px;
  padding: 12px 14px;
}
.form-success {
  background: rgba(0,212,160,0.1);
  border: 1px solid rgba(0,212,160,0.25);
  border-radius: 8px;
  color: var(--teal);
  font-size: 14px;
  padding: 14px 16px;
}
.btn-demo-submit {
  background: var(--teal);
  color: #080f1c;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
  width: 100%;
}
.btn-demo-submit:hover:not(:disabled) { background: #00e8b0; }
.btn-demo-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(8,15,28,0.3);
  border-top-color: #080f1c;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-privacy {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .modal-panel { padding: 28px 20px; }
}
