:root {
  --black: #050505;
  --dark: #090909;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.13);
  --text: #ffffff;
  --muted: #a6a6ad;
  --cyan: #00f2ea;
  --red: #ff0050;
  --green: #25d366;
  --shadow-red: 0 0 34px rgba(255, 0, 80, 0.36);
  --shadow-cyan: 0 0 34px rgba(0, 242, 234, 0.28);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 0, 80, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(0, 242, 234, 0.16), transparent 32%),
    linear-gradient(180deg, #050505 0%, #070707 46%, #030303 100%);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 0, 80, 0.16), transparent 34%, transparent 66%, rgba(0, 242, 234, 0.14)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 88px);
  opacity: 0.65;
  pointer-events: none;
}

a {
  color: inherit;
}

.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.12) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 3px, 3px 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 24px;
  white-space: nowrap;
}

.brand span span {
  color: var(--red);
  text-shadow: 0 0 16px rgba(255, 0, 80, 0.75);
}

.brand small {
  color: var(--cyan);
  font: 800 11px/1 Inter, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0, 242, 234, 0.65);
}

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: #d9d9df;
  font-weight: 800;
}

.topnav a {
  text-decoration: none;
}

.topnav a:not(.nav-cta):hover {
  color: var(--cyan);
}

.nav-cta,
.primary-link,
.submit-button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  color: var(--text);
  background: var(--red);
  font: 900 14px/1 Montserrat, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: var(--shadow-red);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-cta {
  min-height: 38px;
  padding: 0 18px;
  font-size: 11px;
}

.primary-link:hover,
.submit-button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(255, 0, 80, 0.72);
}

.secondary-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(0, 242, 234, 0.55);
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  background: rgba(0, 242, 234, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 92px) clamp(16px, 4vw, 54px) 48px;
}

.hero-copy {
  padding-top: clamp(12px, 4vw, 44px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 242, 234, 0.58);
  font-size: 13px;
}

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

h1,
h2,
h3 {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.93;
}

h1 span {
  display: block;
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(0, 242, 234, 0.72);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

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

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #c8c8ce;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

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

.hero-proof span {
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
  color: #e8e8ec;
  font-weight: 800;
  border-radius: 8px;
}

.microcopy,
.privacy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-panel,
.analysis-progress,
.analysis-error,
.info-band > div,
.steps article,
.services article,
.result-card,
.cta-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.form-panel {
  display: grid;
  gap: 13px;
  padding: 20px;
  border-color: rgba(0, 242, 234, 0.38);
  box-shadow: var(--shadow-cyan), 0 22px 70px rgba(0, 0, 0, 0.35);
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.form-head span {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 242, 234, 0.55);
}

.form-head small {
  color: #bdbdc4;
  font: 800 11px/1 Inter, Arial, sans-serif;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: #f2f2f5;
  font-weight: 800;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 13px 12px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.55);
  font: 16px/1.35 Inter, Arial, sans-serif;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(0, 242, 234, 0.16);
  border-color: var(--cyan);
}

.submit-button {
  width: 100%;
  margin-top: 3px;
}

.submit-button[disabled] {
  opacity: 0.76;
  cursor: wait;
}

.analysis-progress {
  grid-column: 2;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-color: rgba(255, 0, 80, 0.42);
}

.analysis-error {
  grid-column: 2;
  display: grid;
  gap: 12px;
  padding: 20px;
  border-color: rgba(255, 0, 80, 0.52);
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.18), rgba(0, 242, 234, 0.06), rgba(255, 255, 255, 0.035));
}

.analysis-error h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.analysis-error p:not(.eyebrow) {
  margin: 0;
  color: #d8d8de;
  line-height: 1.5;
}

.analysis-progress.hidden,
.analysis-error.hidden,
.hidden {
  display: none;
}

.progress-head {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: start;
}

.progress-head strong {
  display: block;
  margin-bottom: 5px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.progress-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.progress-head b {
  min-width: 56px;
  padding: 7px 8px;
  border: 1px solid rgba(0, 242, 234, 0.28);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.56);
  font-size: 15px;
  text-align: center;
}

.progress-pulse {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--red);
}

.progress-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid var(--red);
  animation: progressPulse 1.4s ease-out infinite;
}

.progress-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.progress-bar i {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  transition: width 0.35s ease;
}

.progress-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-steps li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.progress-steps li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 242, 234, 0.28);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
}

.progress-steps li.active {
  color: var(--text);
  font-weight: 800;
}

.progress-steps li.active::before,
.progress-steps li.done::before {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 242, 234, 0.55);
}

@keyframes progressPulse {
  from {
    opacity: 0.65;
    transform: scale(0.7);
  }

  to {
    opacity: 0;
    transform: scale(1.75);
  }
}

.info-band,
.steps,
.result,
.services {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px clamp(16px, 4vw, 54px);
}

.info-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-band > div {
  padding: 24px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #d0d0d6;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 242, 234, 0.72);
}

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

.steps article {
  min-height: 150px;
  padding: 18px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--text);
  background: var(--red);
  font-weight: 900;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.steps p {
  margin: 0;
  color: #d0d0d6;
  line-height: 1.45;
}

.result-head {
  max-width: 760px;
}

.result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-card {
  padding: 20px;
}

.result-card.full {
  grid-column: 1 / -1;
}

.result-card p,
.result-card li {
  color: #cfcfd5;
  line-height: 1.5;
}

.result-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.result-summary {
  border-color: rgba(0, 242, 234, 0.28);
  background: linear-gradient(135deg, rgba(0, 242, 234, 0.1), rgba(255, 0, 80, 0.08), rgba(255, 255, 255, 0.045));
}

.summary-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.summary-top strong {
  display: grid;
  place-items: center;
  min-width: 70px;
  height: 50px;
  color: var(--black);
  background: var(--cyan);
  font-size: 22px;
  font-weight: 900;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.quick-actions div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.quick-actions b {
  display: block;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.quick-actions span,
.summary-recommendation {
  color: #d4d4da;
}

.result-detail {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.result-detail summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 18px;
  color: var(--text);
  font: 900 17px/1.2 Montserrat, Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.result-detail summary::-webkit-details-marker {
  display: none;
}

.result-detail summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--black);
  background: var(--cyan);
  font: 900 20px/1 Inter, Arial, sans-serif;
  border-radius: 8px;
}

.result-detail[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.result-detail[open] summary::after {
  content: "-";
}

.detail-body {
  padding: 18px;
}

.detail-body > :first-child {
  margin-top: 0;
}

.detail-body p,
.detail-body li {
  color: #cfcfd5;
  line-height: 1.5;
}

.detail-body ul {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: var(--black);
  background: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 0 18px rgba(0, 242, 234, 0.42);
}

.score-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(0, 242, 234, 0.22);
  border-radius: 8px;
  background: rgba(0, 242, 234, 0.055);
}

.score-line strong {
  display: grid;
  place-items: center;
  width: 68px;
  height: 54px;
  color: var(--black);
  background: var(--cyan);
  font-size: 22px;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.score-line span {
  color: #eeeeef;
  line-height: 1.45;
}

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

.mini-card,
.script-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.mini-card strong,
.script-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 17px;
  line-height: 1.25;
}

.mini-card p,
.script-card p {
  margin-bottom: 8px;
}

.mini-card p:last-child,
.script-card p:last-child {
  margin-bottom: 0;
}

.script-list {
  display: grid;
  gap: 12px;
}

.plan-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.plan-metrics div {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
}

.plan-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 22px;
  text-shadow: 0 0 15px rgba(255, 0, 80, 0.45);
}

.plan-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.cta-block {
  margin-top: 16px;
  padding: 28px;
  border-color: rgba(255, 0, 80, 0.34);
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.18), rgba(0, 242, 234, 0.08), rgba(255, 255, 255, 0.04));
}

.cta-block p {
  max-width: 780px;
  color: #d5d5db;
  line-height: 1.5;
}

.services article {
  padding: 20px;
}

.services strong {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 24px;
  text-shadow: 0 0 18px rgba(0, 242, 234, 0.4);
}

.services p {
  margin: 0;
  color: #cfcfd5;
  line-height: 1.45;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(16px, 4vw, 54px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7f7f87;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero,
  .info-band {
    grid-template-columns: 1fr;
  }

  .analysis-progress {
    grid-column: auto;
  }

  .analysis-error {
    grid-column: auto;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .lead {
    font-size: 17px;
  }

  .steps-grid,
  .service-grid,
  .result-grid,
  .mini-grid,
  .quick-actions {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    padding: 14px;
  }

  .brand {
    display: grid;
    gap: 4px;
    font-size: 20px;
  }

  .topnav {
    gap: 10px;
    font-size: 13px;
  }

  .topnav a:not(.nav-cta) {
    display: none;
  }

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

  .form-panel {
    padding: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .primary-link,
  .secondary-link,
  .submit-button {
    width: 100%;
  }

  .progress-head {
    grid-template-columns: 22px 1fr;
  }

  .progress-head b {
    grid-column: 2;
    justify-self: start;
  }

  .score-line,
  .plan-metrics {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
  }
}
