:root {
  --bg: #05070d;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f6f8ff;
  --muted: #9ea8bf;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(134, 255, 205, 0.42);
  --green: #7cffcb;
  --blue: #8da2ff;
  --pink: #ff76d7;
  --amber: #ffd27a;
  --dark: #080b13;
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.52);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 7% 9%, rgba(124, 255, 203, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 4%, rgba(141, 162, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 45% 58%, rgba(255, 118, 215, 0.1), transparent 30rem),
    linear-gradient(180deg, #05070d 0%, #0a0d17 45%, #05070d 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.85) 42%, transparent 92%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

h1 {
  max-width: 930px;
  margin-bottom: 26px;
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 0.89;
  letter-spacing: -0.082em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1220px, calc(100% - 36px));
  margin: 16px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.7);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.logo-mark {
  display: grid;
  width: 49px;
  height: 35px;
  place-items: center;
  border-radius: 999px;
  color: #03100b;
  background: linear-gradient(135deg, var(--green), #e7fff3);
  letter-spacing: -0.06em;
}

.logo-copy {
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.footer a {
  transition: color 0.2s ease;
}

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

.header-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: #04100b;
  font-size: 14px;
  font-weight: 900;
  background: var(--green);
}

.section {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, 0.95fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 64px;
}

.eyebrow,
.mini-label {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-text,
.section-heading > p,
.split > p,
.final-cta p,
.anti-card p {
  max-width: 730px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #04100b;
  background: linear-gradient(135deg, var(--green), #dcfff0);
  box-shadow: 0 22px 60px rgba(124, 255, 203, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.hidden {
  display: none !important;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics div,
.scanner,
.anti-card,
.anti-points div,
.symptom-card,
.diagnostic-shell,
.process-grid article,
.final-cta {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-metrics div {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-metrics span,
.symptom-card span,
.process-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 999px;
  color: #05120d;
  font-size: 13px;
  font-weight: 950;
  background: var(--green);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 7px;
}

.hero-metrics p {
  margin-bottom: 0;
  font-size: 14px;
}

.scanner {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.scanner::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 18% 10%, rgba(124, 255, 203, 0.26), transparent 17rem),
    radial-gradient(circle at 82% 58%, rgba(141, 162, 255, 0.18), transparent 18rem);
}

.scanner-head,
.result-top,
.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.scanner-head h2 {
  margin-bottom: 0;
  font-size: 34px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(124, 255, 203, 0.35);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.scanner-screen {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
  margin: 28px 0 18px;
  padding: 20px;
  border: 1px solid rgba(124, 255, 203, 0.18);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.18);
}

.scan-ring {
  position: relative;
  display: grid;
  width: 198px;
  height: 198px;
  place-items: center;
  border: 1px solid rgba(124, 255, 203, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(124, 255, 203, 0.08) 0 36%, transparent 37%),
    conic-gradient(from 210deg, var(--green) 0 72%, rgba(255, 255, 255, 0.08) 72% 100%);
}

.scan-ring::after {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  content: "";
  background: #0a0d17;
}

.scan-ring strong,
.scan-ring small {
  position: relative;
  z-index: 1;
}

.scan-ring strong {
  margin-top: 22px;
  font-size: 48px;
  letter-spacing: -0.06em;
}

.scan-ring small {
  margin-top: -50px;
  color: var(--muted);
  font-weight: 700;
}

.ring-dot {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}

.dot-a {
  top: 18px;
  right: 48px;
}

.dot-b {
  right: 10px;
  bottom: 68px;
  background: var(--amber);
  box-shadow: 0 0 20px var(--amber);
}

.dot-c {
  bottom: 28px;
  left: 38px;
  background: var(--blue);
  box-shadow: 0 0 20px var(--blue);
}

.scan-bars {
  display: grid;
  gap: 17px;
}

.scan-bars div {
  display: grid;
  gap: 8px;
}

.scan-bars span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.scan-bars i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.scan-bars i::before {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.leak-list {
  display: grid;
  gap: 10px;
}

.leak {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.16);
}

.leak span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.leak.critical span {
  background: var(--pink);
}

.leak.warning span {
  background: var(--amber);
}

.leak p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 14px;
}

.leak b {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.scanner-result {
  margin-top: 14px;
  padding: 18px;
  border-radius: 20px;
  color: #05120d;
  background: linear-gradient(135deg, var(--green), var(--amber));
}

.scanner-result span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  opacity: 0.72;
}

.scanner-result p {
  margin-bottom: 0;
  color: #05120d;
  font-weight: 900;
}

.anti {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding-top: 44px;
}

.anti-card {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.anti-points {
  display: grid;
  gap: 12px;
}

.anti-points div {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--text);
  font-weight: 850;
}

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

.section-heading.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 30px;
  align-items: end;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.symptom-card {
  min-height: 330px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.symptom-card b {
  display: block;
  margin-top: 22px;
  color: var(--green);
  font-size: 14px;
  line-height: 1.45;
}

.architecture {
  padding-bottom: 60px;
}

.system-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 25%, rgba(124, 255, 203, 0.14), transparent 18rem),
    radial-gradient(circle at 80% 60%, rgba(141, 162, 255, 0.16), transparent 18rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-lines path {
  fill: none;
  stroke: rgba(124, 255, 203, 0.35);
  stroke-width: 2;
  stroke-dasharray: 9 10;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 142px;
  min-height: 64px;
  place-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  font-weight: 900;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(18px);
}

.product {
  left: 6%;
  top: 13%;
}

.package {
  left: 28%;
  top: 25%;
}

.site {
  left: 47%;
  top: 10%;
}

.traffic {
  right: 7%;
  top: 14%;
}

.bot {
  left: 14%;
  bottom: 15%;
}

.crm {
  left: 45%;
  bottom: 12%;
}

.analytics {
  right: 7%;
  bottom: 18%;
  color: #05120d;
  background: linear-gradient(135deg, var(--green), #e6fff3);
}

.diagnostic-shell {
  padding: 18px;
  border-radius: var(--radius-xl);
}

.quiz {
  min-height: 560px;
  padding: 26px;
  border-radius: 28px;
}

.quiz {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.18);
}

.progress-track {
  width: 180px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-track i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: width 0.25s ease;
}

#stepLabel {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.quiz-step {
  display: none;
  flex: 1;
  padding: 42px 0 24px;
}

.quiz-step.active {
  display: block;
}

.quiz-step > label,
.quiz-step > span,
.field-grid label {
  display: grid;
  gap: 13px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

input[type="text"],
select,
textarea {
  width: 100%;
  margin-top: 16px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

input[type="text"],
select {
  min-height: 58px;
}

textarea {
  min-height: 168px;
  padding-top: 18px;
  line-height: 1.55;
  resize: vertical;
}

select option {
  color: #111;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 5px rgba(124, 255, 203, 0.1);
}

.option-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 24px;
}

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

.option-list label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 70px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.option-list label:has(input:checked) {
  border-color: rgba(124, 255, 203, 0.58);
  color: var(--text);
  background: rgba(124, 255, 203, 0.09);
}

.option-list input {
  margin-top: 2px;
  accent-color: var(--green);
}

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

.field-grid label,
.asset-detail {
  font-size: 28px;
}

.contact-grid {
  margin-top: 24px;
}

.contact-grid label {
  font-size: 20px;
}

.asset-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.asset-detail {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(124, 255, 203, 0.18);
  border-radius: 20px;
  color: var(--text);
  background: rgba(124, 255, 203, 0.055);
}

.asset-detail input {
  margin-top: 0;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.form-status {
  min-height: 28px;
  margin: 18px 0 0;
  color: var(--green);
  font-weight: 850;
  line-height: 1.5;
}

.form-status[data-type="error"] {
  color: var(--pink);
}

.form-status[data-type="success"] {
  color: var(--green);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid article {
  min-height: 280px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 64px;
  padding: 40px;
  border-color: rgba(124, 255, 203, 0.24);
  border-radius: var(--radius-xl);
}

.final-cta h2 {
  max-width: 820px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin-bottom: 0;
}

.thanks-page {
  min-height: 100vh;
}

.thanks-wrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 34px 18px;
}

.thanks-card {
  width: min(980px, 100%);
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid rgba(124, 255, 203, 0.26);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 18%, rgba(124, 255, 203, 0.2), transparent 20rem),
    radial-gradient(circle at 88% 20%, rgba(141, 162, 255, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.thanks-logo {
  margin-bottom: 46px;
}

.thanks-card h1 {
  max-width: 860px;
  font-size: clamp(42px, 7vw, 82px);
}

.urgent-contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 34px 0;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 255, 203, 0.56);
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.04em;
}

@media (max-width: 1080px) {
  .hero,
  .anti,
  .split {
    grid-template-columns: 1fr;
  }

  .symptom-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scanner {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section,
  .footer {
    width: min(100% - 28px, 1220px);
  }

  .site-header {
    top: 10px;
  }

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

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-metrics,
  .scanner-screen,
  .symptom-grid,
  .process-grid,
  .option-list,
  .option-list.compact,
  .field-grid,
  .asset-details {
    grid-template-columns: 1fr;
  }

  .scanner-screen {
    justify-items: center;
  }

  .progress-track {
    width: 120px;
  }

  .system-map {
    min-height: 620px;
  }

  .map-lines {
    display: none;
  }

  .map-node {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }

  .product {
    top: 6%;
  }

  .package {
    top: 19%;
  }

  .site {
    top: 32%;
  }

  .traffic {
    top: 45%;
  }

  .bot {
    top: 58%;
    bottom: auto;
  }

  .crm {
    top: 71%;
    bottom: auto;
  }

  .analytics {
    top: 84%;
    bottom: auto;
  }

  .quiz {
    min-height: 430px;
    padding: 20px;
  }

  .quiz-actions,
  .final-cta,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .urgent-contacts {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
