:root {
  --bg: #070b14;
  --bg-alt: #0b1120;
  --card: #111827;
  --card-hover: #172033;
  --border: #1e293b;
  --border-light: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #38bdf8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --purple: #a855f7;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  text-decoration: none !important;
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.btn:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: #0f172a;
  border-color: var(--border-light);
  color: var(--text) !important;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: #1e293b;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
}

/* Hero Section */
.hero {
  padding: 64px 0 56px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.18), transparent 65%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero h1 span {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 26px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.metric-box {
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.metric-box strong {
  display: block;
  font-size: 22px;
  color: #fff;
}

.metric-box span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Scanner Card */
.scanner-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.dropzone {
  border: 2px dashed #3b82f6;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropzone:hover, .dropzone.dragover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent);
}

.dropzone-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.search-bar {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.search-bar input, .input-field {
  flex: 1;
  background: #090d16;
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
}

/* Sections & Cards */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 32px;
  margin: 0 0 12px;
  color: #fff;
}

.section-header p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.feature-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 8px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fff;
}

.feature-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
}

/* Code Window */
.code-window {
  background: #090d16;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.code-tabs {
  display: flex;
  background: #0f172a;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.code-tab {
  background: none;
  border: none;
  color: var(--muted);
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.code-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(56, 189, 248, 0.06);
}

.code-pane {
  display: none;
  padding: 20px;
  margin: 0;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.55;
  color: #e2e8f0;
}

.code-pane.active {
  display: block;
}

/* Pricing Cards */
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.14);
  position: relative;
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #070b14;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 4px;
}

.price-amount span {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  font-size: 14px;
  color: #cbd5e1;
}

.pricing-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

/* Badges & Tables */
.badge-cve {
  display: inline-block;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-family: monospace;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  margin: 2px;
}

.badge-mitre {
  display: inline-block;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  font-family: monospace;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  margin: 2px;
}

.badge-clean {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.badge-malicious {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
}

table.data-table th, table.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.data-table th {
  background: #0f172a;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
}

footer {
  padding: 48px 0;
  background: #050811;
  color: var(--muted);
  font-size: 14px;
}
