/* ===== BASE ===== */
:root {
  --bg: #0d1117;
  --bg2: #161b22;
  --bg3: #21262d;
  --border: #30363d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #00e676;
  --accent-dim: rgba(0,230,118,0.15);
  --blue: #58a6ff;
  --orange: #f0883e;
  --red: #ff4444;
  --yellow: #e3b341;
  --font-head: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
}

*, *::before, *::after { 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;
}

::selection { background: var(--accent); color: var(--bg); }

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

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  padding: 80px 24px 100px;
  max-width: 1140px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,230,118,0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

.hero-visual { position: relative; }
.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}
.hero-overlay-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 240px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.overlay-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted);
}
.status-dot.live { background: var(--accent); animation: pulse 2s ease-in-out infinite; }
.overlay-metrics { display: flex; gap: 16px; }
.o-metric { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.o-val { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.o-val.critical { color: var(--red); }
.o-val.high { color: var(--orange); }
.o-val.medium { color: var(--yellow); }
.o-val.low { color: var(--accent); }
.o-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }

/* ===== PROBLEM ===== */
.problem {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px;
}
.problem-inner { max-width: 1140px; margin: 0 auto; }
.problem-label, .section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.problem-headline, .section-headline {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
.problem-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 56px;
}
.problem-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.comparison-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
}
.comparison-col.right { border-color: rgba(0,230,118,0.4); }
.comp-header {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}
.comp-header.accent { color: var(--accent); border-color: rgba(0,230,118,0.3); }
.comparison-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.comparison-col ul li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.comparison-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}
.comparison-col.right ul li::before { background: var(--accent); }

/* ===== FEATURES ===== */
.features { padding: 100px 24px; }
.features-inner { max-width: 1140px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 56px;
}
.feature-card {
  background: var(--bg);
  padding: 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg2); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== COMPLIANCE ===== */
.compliance {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px;
}
.compliance-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.compliance-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.compliance-badges { display: flex; flex-direction: column; gap: 20px; }
.compliance-badge {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-info { display: flex; flex-direction: column; gap: 3px; }
.badge-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.badge-status { font-size: 13px; color: var(--text-muted); }
.progress-bar {
  width: 120px;
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}
.compliance-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* ===== PRICING ===== */
.pricing { padding: 100px 24px; }
.pricing-inner { max-width: 1140px; margin: 0 auto; }
.pricing-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 56px;
  margin-top: -8px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s;
}
.pricing-card:hover { border-color: rgba(0,230,118,0.4); }
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg), rgba(0,230,118,0.04));
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.plan-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.plan-price {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.plan-price span { font-size: 18px; font-weight: 400; color: var(--text-muted); }
.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== CLOSING ===== */
.closing {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 100px 24px;
  text-align: center;
}
.closing-inner { max-width: 720px; margin: 0 auto; }
.closing-content h2 {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.closing-content p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.closing-stat {
  font-size: 15px !important;
  color: var(--accent) !important;
  font-weight: 500;
  margin-top: 32px;
}

/* ===== FOOTER ===== */
.footer { padding: 48px 24px 56px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1140px; margin: 0 auto; text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.footer-copy { font-size: 12px; color: var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-overlay-card { bottom: -16px; left: -16px; }
  .hero-headline { font-size: 38px; }
  .problem-comparison { grid-template-columns: 1fr; }
  .compliance-inner { grid-template-columns: 1fr; }
  .compliance-visual { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 20px 72px; }
  .hero-headline { font-size: 30px; }
  .hero-stats { gap: 16px; }
  .stat-value { font-size: 20px; }
  .problem-headline, .section-headline { font-size: 28px; }
  .closing-content h2 { font-size: 28px; }
  .nav-links { gap: 20px; }
  .features, .pricing, .compliance, .problem, .closing { padding: 64px 20px; }
}
