:root {
  --bg: #0a0e17;
  --bg-elevated: #111827;
  --bg-card: #151d2e;
  --fg: #e2e8f0;
  --fg-dim: #94a3b8;
  --fg-muted: #64748b;
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.15);
  --blue: #3b82f6;
  --purple: #a78bfa;
  --green: #34d399;
  --yellow: #fbbf24;
  --red: #f87171;
  --border: rgba(148, 163, 184, 0.1);
  --glow: 0 0 40px rgba(34, 211, 238, 0.08);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.nav-logo { stroke: var(--cyan); }

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* Invert dark logo to show on dark background */
  filter: invert(1) brightness(1.1);
}

@media (max-width: 600px) {
  .nav {
    padding: 1.2rem 1.5rem;
  }

  .nav-inner {
    justify-content: center;
  }

  .nav-inner > div:last-child {
    display: none;
  }

  .nav-brand {
    justify-content: center;
  }

  .nav-logo-img {
    height: 40px;
    filter: invert(1) brightness(1.2);
  }
}

.nav-tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

/* HERO */
.hero {
  padding: 8rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-accent {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 480px;
}

/* TERMINAL */
.terminal {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glow), 0 25px 50px rgba(0,0,0,0.4);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--fg-muted);
  font-family: var(--font-display);
}

.terminal-body {
  padding: 1.2rem 1.2rem;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.82rem;
  line-height: 1.9;
}

.terminal-line { white-space: nowrap; }
.t-prompt { color: var(--cyan); }
.t-cmd { color: var(--fg); }
.t-dim { color: var(--fg-muted); }
.t-success { color: var(--green); }
.t-warn { color: var(--yellow); }

.t-blink {
  animation: blink 1s step-end infinite;
  color: var(--cyan);
}

@keyframes blink {
  50% { opacity: 0; }
}

/* THREAT SCORE */
.threat-score-section {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.threat-score-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: var(--glow);
  min-width: 280px;
}

.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
}

.score-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.score-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 6;
}

.score-fill {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 42;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.4));
}

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.score-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin-top: 0.3rem;
}

.score-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.score-detail-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--fg-dim);
}

.score-detail-row span:last-child {
  margin-left: auto;
  font-weight: 500;
  font-size: 0.78rem;
}

.score-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.score-indicator.good { background: var(--green); box-shadow: 0 0 6px rgba(52, 211, 153, 0.4); }
.score-indicator.warn { background: var(--yellow); box-shadow: 0 0 6px rgba(251, 191, 36, 0.4); }
.score-indicator.bad { background: var(--red); box-shadow: 0 0 6px rgba(248, 113, 113, 0.4); }

.score-status { color: var(--fg-dim); }

.score-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.score-text p {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 500px;
}

/* FEATURES */
.features {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.features-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  max-width: 580px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.2);
  box-shadow: var(--glow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-dim);
  border-radius: 10px;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  min-width: 60px;
  line-height: 1;
  opacity: 0.6;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

.step-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  margin-left: 30px;
  opacity: 0.3;
}

/* PRICING */
.pricing {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.pricing-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  box-shadow: var(--glow);
  max-width: 420px;
  width: 100%;
}

.pricing-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.pricing-amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 0.5rem;
}

.price-dollar {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg-dim);
  margin-top: 0.5rem;
}

.price-value {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
}

.price-cents {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg-dim);
  margin-top: 0.5rem;
}

.price-period {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-top: 1.2rem;
  margin-left: 0.3rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--fg-dim);
  margin-bottom: 2rem;
}

.pricing-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-list li {
  font-size: 0.9rem;
  color: var(--fg-dim);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 600;
}

/* TESTIMONIALS */
.testimonials {
  padding: 5rem 2rem;
  background: var(--bg);
}

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonials-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  margin-bottom: 1.2rem;
}

.testimonials-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.testimonials-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  max-width: 520px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(34, 211, 238, 0.2);
  box-shadow: var(--glow);
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
}

.star {
  font-size: 1rem;
  color: var(--fg-muted);
}

.star.filled {
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.star.half-filled {
  color: var(--yellow);
  opacity: 0.5;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--fg-dim);
  line-height: 1.7;
  font-style: normal;
  flex: 1;
  border-left: 2px solid rgba(34, 211, 238, 0.25);
  padding-left: 1rem;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.testimonials-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  flex-wrap: wrap;
}

.trust-stat {
  font-size: 0.88rem;
  color: var(--fg-dim);
}

.trust-stat strong {
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
}

.trust-divider {
  color: var(--fg-muted);
  font-size: 1rem;
}

/* CLOSING */
.closing {
  padding: 6rem 2rem;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

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

/* FOOTER */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.footer-brand svg { stroke: var(--fg-muted); }

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
  /* Invert dark logo to show on dark background */
  filter: invert(1) brightness(1.1);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 6rem 1.5rem 3rem; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title { font-size: 2.2rem; }
  .hero-lede { max-width: 100%; }
  
  .threat-score-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .score-card { min-width: auto; }
  
  .score-text h2 { font-size: 1.8rem; }
  .score-text p { max-width: 100%; }
  
  .features-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .testimonials-header h2 { font-size: 1.8rem; }

  .testimonials-trust-bar { gap: 0.75rem; }

  .trust-divider { display: none; }

  .features-header h2,
  .how-it-works h2 { font-size: 1.8rem; }
  
  .closing h2 { font-size: 1.8rem; }
  
  .pricing-card { padding: 2rem 1.5rem; }
  
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .terminal-body { font-size: 0.7rem; }
  .nav { padding: 0.8rem 1rem; }
}
/* ── FAQ Section ──────────────────────────────────────────────────────── */
.faq {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 700px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq h2 { font-size: 1.6rem; }
}
