:root {
  color-scheme: dark;
  --bg: #07101c;
  --bg-2: #0b1625;
  --panel: rgba(12, 23, 38, 0.76);
  --panel-strong: #111c2c;
  --border: rgba(164, 184, 214, 0.18);
  --text: #f4f7fb;
  --muted: #aab5c6;
  --soft: #728098;
  --blue: #2f83f7;
  --blue-2: #7eb3ff;
  --green: #74d99f;
  --amber: #f3c969;
  --violet: #a890ff;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 12%, rgba(47, 131, 247, 0.14), transparent 30rem),
    linear-gradient(180deg, #050b13 0%, var(--bg) 42%, #08121f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 5px;
  mask-image: linear-gradient(180deg, transparent, black 12%, transparent 88%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
textarea { resize: vertical; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px max(20px, env(safe-area-inset-left)) 18px max(20px, env(safe-area-inset-left));
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(5, 11, 19, 0.82);
  border-color: var(--border);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(126, 179, 255, 0.5);
  border-radius: 12px;
  background: rgba(47, 131, 247, 0.08);
}

.brand svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 46px);
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.header-action,
.text-link {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav a:hover,
.text-link:hover { color: var(--text); }

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(126, 179, 255, 0.36);
  border-radius: 8px;
  background: rgba(47, 131, 247, 0.12);
}

.header-action:hover {
  border-color: rgba(126, 179, 255, 0.7);
  transform: translateY(-1px);
}

.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-visual {
  position: absolute;
  top: 76px;
  right: 0;
  bottom: 0;
  left: 42%;
  opacity: 0.5;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 18%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(0.72) contrast(1.03) brightness(0.62);
  transform: scale(1.015);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 19, 0.98) 0%, rgba(5, 11, 19, 0.94) 40%, rgba(5, 11, 19, 0.55) 76%, rgba(5, 11, 19, 0.78) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.scan-form {
  width: min(720px, 100%);
}

.scan-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.input-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(164, 184, 214, 0.3);
  border-radius: 10px;
  background: rgba(9, 18, 31, 0.78);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

.input-row svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.input-row input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.input-row textarea {
  min-width: 0;
  width: 100%;
  min-height: 132px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.textarea-row {
  align-items: start;
}

.textarea-row svg {
  margin-top: 14px;
}

.textarea-row button {
  align-self: end;
}

.input-row button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: #236fd7;
}

.input-row button:hover { background: #2f83f7; }

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.consent-check {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 100%;
  color: var(--muted);
  font-size: 14px;
}

.consent-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.secondary-action {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(164, 184, 214, 0.25);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.secondary-action:hover {
  border-color: rgba(126, 179, 255, 0.58);
  background: rgba(47, 131, 247, 0.1);
}

.trust-strip,
.section,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.trust-strip div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.trust-strip b {
  display: block;
  margin-bottom: 6px;
}

.trust-strip span,
.signal-card p,
.report-copy p,
.plan p,
.site-footer span {
  color: var(--muted);
}

.section {
  padding: 86px 0;
}

.section-head {
  margin-bottom: 34px;
}

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

.workspace {
  padding-bottom: 48px;
}

.detected-panel,
.search-toolbar,
.live-panel,
.result-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
}

.detected-panel {
  padding: 20px;
  margin-bottom: 16px;
}

.detected-panel h3 {
  margin-bottom: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(126, 179, 255, 0.28);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(47, 131, 247, 0.08);
  overflow-wrap: anywhere;
}

.chip b {
  color: var(--blue-2);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-state {
  color: var(--muted);
}

.live-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.live-panel h3 {
  margin-bottom: 0;
}

.live-status {
  color: var(--muted);
}

.live-results {
  display: grid;
  gap: 12px;
}

.live-result {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(164, 184, 214, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.live-result a {
  color: var(--blue-2);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.live-result p {
  margin-bottom: 0;
  color: var(--muted);
}

.live-result span {
  color: var(--soft);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  margin-bottom: 16px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.toggle input,
.card-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(164, 184, 214, 0.2);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.filter.active,
.filter:hover {
  color: var(--text);
  border-color: rgba(126, 179, 255, 0.6);
  background: rgba(47, 131, 247, 0.12);
}

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

.result-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 230px;
  padding: 20px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.16);
}

.result-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.result-card a {
  align-self: end;
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(126, 179, 255, 0.38);
  border-radius: 8px;
  color: white;
  background: rgba(47, 131, 247, 0.18);
}

.result-card a:hover {
  border-color: rgba(126, 179, 255, 0.72);
  background: rgba(47, 131, 247, 0.28);
}

.card-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.empty-card {
  min-height: 160px;
}

.signal-card,
.plan,
.report-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.signal-card,
.plan {
  padding: 24px;
}

.icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  border-radius: 10px;
  background: currentColor;
  box-shadow: 0 0 0 8px color-mix(in srgb, currentColor 13%, transparent);
}

.icon.blue { color: var(--blue-2); }
.icon.green { color: var(--green); }
.icon.amber { color: var(--amber); }
.icon.violet { color: var(--violet); }

.report-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: center;
}

.report-panel {
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(47, 131, 247, 0.1), transparent 46%),
    var(--panel-strong);
}

.score {
  display: grid;
  place-items: center;
  min-height: 230px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(47, 131, 247, 0.2), transparent 65%),
    rgba(255, 255, 255, 0.025);
}

.score span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.score strong {
  margin-top: -74px;
  font-size: 86px;
  line-height: 1;
}

.findings {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.findings li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.findings b {
  min-width: 34px;
  color: var(--blue-2);
  font-size: 26px;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue-2);
  font-weight: 700;
}

.pricing {
  padding-top: 48px;
}

.plans {
  grid-template-columns: repeat(3, 1fr);
}

.plan b {
  display: block;
  margin-top: 24px;
  font-size: 34px;
}

.plan.featured {
  border-color: rgba(126, 179, 255, 0.48);
  background: linear-gradient(180deg, rgba(47, 131, 247, 0.13), rgba(12, 23, 38, 0.86));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 max(34px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  animation: reveal 420ms ease both;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-action {
    display: none;
  }

  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .nav.open {
    position: fixed;
    top: 74px;
    left: 20px;
    right: 20px;
    display: grid;
    justify-items: start;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(8, 17, 29, 0.96);
  }

  .nav.open a {
    width: 100%;
    padding: 14px;
  }

  .hero-copy {
    padding-top: 126px;
  }

  .hero-visual {
    top: 84px;
    left: 0;
    opacity: 0.22;
    mask-image: linear-gradient(180deg, black 0%, transparent 70%);
  }

  .input-row {
    grid-template-columns: 24px 1fr;
  }

  .input-row button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .search-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .trust-strip,
  .signal-grid,
  .report-section,
  .plans,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .site-footer {
    display: grid;
  }
}
