:root {
  --bg: rgb(1, 1, 25);
  --bg-2: rgb(2, 0, 16);
  --fg: rgb(246, 246, 246);
  --muted: rgba(246, 246, 246, 0.55);
  --faint: rgba(246, 246, 246, 0.1);
  --panel: rgba(246, 246, 246, 0.04);

  --blue: rgb(59, 130, 246);
  --blue-light: rgb(147, 197, 253);
  --green: rgb(74, 222, 128);
  --green-bg: rgba(34, 197, 94, 0.18);
  --green-border: rgba(34, 197, 94, 0.5);
  --amber: rgb(251, 191, 36);
  --amber-bg: rgba(245, 158, 11, 0.18);
  --amber-border: rgba(245, 158, 11, 0.5);
  --red: rgb(248, 113, 113);
  --red-bg: rgba(220, 38, 38, 0.18);
  --red-border: rgba(220, 38, 38, 0.5);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--fg);
  background: linear-gradient(to bottom right, var(--bg), var(--bg-2));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 20;
  background: rgb(1, 1, 25);
  border-bottom: 1px solid var(--faint);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-inner {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--fg);
}

/* ---------- Hero ---------- */

.hero {
  height: 90vh;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(246, 246, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 246, 246, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 35% 40%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 35% 40%, #000 25%, transparent 72%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 54ch;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: rgb(2, 0, 20);
}

.btn-primary:hover {
  background: rgb(81, 150, 255);
  border-color: rgb(81, 150, 255);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(246, 246, 246, 0.25);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: rgba(246, 246, 246, 0.55);
  transform: translateY(-1px);
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Hero visual */

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 70%);
}

.shield-hero {
  position: relative;
  z-index: 1;
  animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.chip {
  margin-top: 20px;
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--faint);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.chip-block {
  top: 16%;
  left: 0;
  color: var(--red);
  border-color: rgba(220, 38, 38, 0.4);
}

.chip-safe {
  bottom: 18%;
  right: 0;
  color: var(--green);
  border-color: rgba(34, 197, 94, 0.4);
}

/* ---------- Sections ---------- */

.section {
  padding: 76px 0;
  border-top: 1px solid var(--faint);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--faint);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(246, 246, 246, 0.05);
  border: 1px solid var(--faint);
}

.feature h3 {
  font-size: 15px;
  font-weight: 700;
}

.feature p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* How it works */

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

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--faint);
}

.step-num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-light);
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
}

.step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Live demo ---------- */

.demo-box {
  max-width: 720px;
  margin: 0 auto;
}

.scan-box {
  display: flex;
  gap: 10px;
}

#scanInput {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--faint);
  background: var(--panel);
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
}

#scanInput::placeholder {
  color: rgba(246, 246, 246, 0.35);
}

#scanInput:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

#scanBtn {
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: rgb(2, 0, 20);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#scanBtn:hover {
  background: rgb(81, 150, 255);
  border-color: rgb(81, 150, 255);
}

#scanBtn:disabled {
  opacity: 0.6;
  cursor: default;
}

#scanBtn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.preset {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--faint);
  background: var(--panel);
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.preset:hover {
  color: var(--fg);
  border-color: rgba(246, 246, 246, 0.3);
}

.preset:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Scan verdict (mirrors the product UI) */

.scan-result {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--faint);
  background: rgba(2, 0, 16, 0.6);
}

.scan-result .verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--faint);
}

.verdict-blocked {
  background: rgba(220, 38, 38, 0.14) !important;
  border-color: rgba(220, 38, 38, 0.55) !important;
}

.verdict-suspicious {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
}

.verdict-safe {
  background: rgba(34, 197, 94, 0.1) !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-unsafe {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid var(--red-border);
}

.badge-safe {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}

.badge-suspicious {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid var(--amber-border);
}

.risk {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.risk-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.risk-value {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
}

.risk-value.risk-high {
  color: var(--red);
}

.risk-value.risk-medium {
  color: var(--amber);
}

.risk-value.risk-low {
  color: var(--green);
}

.scan-result .panel {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--faint);
}

.panel-title {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.meta-value {
  font-size: 15px;
  font-weight: 600;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: var(--blue-light);
  border: 1px solid rgba(59, 130, 246, 0.4);
  font-size: 12px;
}

.summary-text {
  font-size: 13px;
  line-height: 1.5;
}

.evidence-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evidence-list li {
  font-size: 13px;
  line-height: 1.45;
  padding-left: 5px;
}

.evidence-list li::marker {
  font-weight: 700;
}

.evidence-list.risk-high li::marker {
  color: var(--red);
}

.evidence-list.risk-medium li::marker {
  color: var(--amber);
}

.evidence-list.risk-low li::marker {
  color: var(--green);
}

html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: rgb(1, 1, 12);
}

::-webkit-scrollbar-thumb {
    background: rgb(5, 1, 33);
    border-radius: 5px;
}



.demo-note {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Install ---------- */

.install-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.06);
}

.install-box .section-title {
  font-size: clamp(24px, 3vw, 30px);
}

.install-box .cta-row {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--faint);
  background: rgb(1, 1, 25);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--fg);
}

.footer-legal {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 56px;
    padding-bottom: 60px;
    text-align: center;
  }

  .hero h1,
  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    min-height: 240px;
  }

  .shield-hero {
    width: 150px;
    height: 150px;
  }

  .chip-block {
    left: 6%;
  }

  .chip-safe {
    right: 6%;
  }

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

  .scan-box {
    flex-direction: column;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  #scanBtn {
    padding: 13px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .shield-hero {
    animation: none;
  }

  .btn,
  .btn-primary,
  .btn-ghost {
    transition: none;
    transform: none !important;
  }
}