*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --off:     #1a1a1a;
  --card:    #27272a;
  --border:  #3f3f46;
  --muted:   #52525b;
  --dim:     #a1a1aa;
  --light:   #d4d4d8;
  --white:   #f4f4f5;
  --red:     #dc143c;
  --amber:   #f59e0b;
  --blue:    #3b82f6;
  --green:   #22c55e;
  --purple:  #8b5cf6;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--light);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Starfield Background */
.starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

.star.small {
  width: 1px;
  height: 1px;
}

.star.medium {
  width: 2px;
  height: 2px;
}

.star.large {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: var(--max-opacity);
    transform: translateY(var(--float-distance)) scale(1.2);
  }
}

body.performance-mode .starfield {
  display: none;
}

body.performance-mode {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--white) !important;
  color: var(--black) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  font-size: 13px;
  color: #60a5fa;
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge span {
  width: 6px; height: 6px;
  background: #60a5fa;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

h1 {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 800px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}

h1 em {
  font-style: italic;
  color: var(--dim);
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--dim);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 48px;
  font-weight: 400;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--black);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,244,245,0.12);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--muted);
  color: var(--light);
}

/* ── SEVERITY PREVIEW ── */
.severity-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 64px;
  animation: fadeUp 0.6s 0.4s ease both;
}

.sev-pill {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sev-nuclear { background: rgba(139,0,0,0.2);  color: #f87171; border: 1px solid rgba(139,0,0,0.4); }
.sev-high    { background: rgba(220,20,60,0.12); color: #ef4444; border: 1px solid rgba(220,20,60,0.25); }
.sev-medium  { background: rgba(245,158,11,0.12); color: #f59e0b; border: 1px solid rgba(245,158,11,0.25); }
.sev-low     { background: rgba(59,130,246,0.12); color: #60a5fa; border: 1px solid rgba(59,130,246,0.25); }

/* ── SECTION BASE ── */
section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--dim);
  font-size: 17px;
  font-weight: 400;
  max-width: 560px;
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  margin-top: 64px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.step {
  background: var(--off);
  padding: 36px 32px;
  transition: background 0.2s;
}

.step:hover { background: #1f1f23; }

.step-num {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.step-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
}

/* ── PRICING ── */
#pricing { border-top: 1px solid var(--border); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 64px;
}

.pricing-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: var(--muted);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.pricing-card.featured {
  border-color: rgba(139,92,246,0.5);
  background: linear-gradient(135deg, rgba(139,92,246,0.05), var(--off));
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.plan-price {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.plan-price sup {
  font-size: 22px;
  font-weight: 300;
  vertical-align: super;
  color: var(--dim);
}

.plan-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 14px;
  color: var(--dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.plan-btn-free {
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--border);
}

.plan-btn-free:hover { border-color: var(--muted); color: var(--light); }

.plan-btn-plus {
  background: var(--blue);
  color: white;
  border: none;
}

.plan-btn-plus:hover { background: #2563eb; transform: translateY(-1px); }

.plan-btn-pro {
  background: var(--purple);
  color: white;
  border: none;
}

.plan-btn-pro:hover { background: #7c3aed; transform: translateY(-1px); }

.guarantee {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

.guarantee strong { color: var(--dim); }

/* ── PRIVACY CALLOUT ── */
.privacy-strip {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}

.privacy-strip h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.privacy-strip p {
  color: var(--dim);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

.privacy-facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.privacy-fact:hover { border-color: var(--muted); }

.privacy-fact-icon { font-size: 20px; flex-shrink: 0; }

.privacy-fact-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 3px;
}

.privacy-fact-text span {
  font-size: 13px;
  color: var(--muted);
}

/* ── DISCLAIMER ── */
.disclaimer {
  background: rgba(245,158,11,0.05);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 64px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.disclaimer-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.disclaimer p {
  font-size: 14px;
  color: #92400e;
  line-height: 1.6;
}

.disclaimer strong { color: #d97706; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--dim); }

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .privacy-strip { grid-template-columns: 1fr; gap: 32px; }
  footer { flex-direction: column; align-items: flex-start; padding: 40px 24px; }
  section { padding: 72px 20px; }
}