:root {
  --bg: #000;
  --text: #f6f7fb;
  --muted: #aeb4bf;
  --blue: #0878d7;
  --blue-dark: #053e7d;
  --gold: #c3b621;
  --yellow: #fff32b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 48px, 1090px);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 878px;
  place-items: start center;
  overflow: hidden;
  background: url("images/home-bg.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 62, 0.08) 0%, rgba(5, 22, 55, 0.2) 62%, rgba(0, 0, 0, 0.24) 100%),
    rgba(6, 47, 114, 0.22);
  backdrop-filter: blur(1.5px);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 790px);
  padding-top: 102px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: #f2f3ff;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.hero-subtitle {
  margin: 40px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.diagnosis-card {
  width: min(100%, 660px);
  margin: 0 auto;
  padding: 28px 24px 26px;
  border-radius: 13px;
  background: #097ad8;
  box-shadow: 0 20px 46px rgba(0, 58, 120, 0.24);
}

.diagnosis-card h2 {
  width: min(100%, 610px);
  margin: 0 auto 18px;
  color: var(--yellow);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.diagnosis-card p {
  margin: 0 0 22px;
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 105px;
  gap: 0;
  width: min(100%, 555px);
  height: 42px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 999px;
  background: white;
}

.search-form input {
  min-width: 0;
  border: 0;
  padding: 0 28px;
  color: #dfe7ef;
  background: #233c54;
  font-size: 11px;
  font-weight: 700;
  outline: none;
}

.search-form input::placeholder {
  color: #a9b6c6;
}

.search-form button {
  border: 0;
  background: white;
  color: #202936;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.diagnosis-card small {
  display: block;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.hero-note {
  width: min(100%, 640px);
  margin: 24px auto 0;
  color: #fff133;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.section {
  background: #000;
}

.strategy {
  padding: 72px 0 112px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 82px;
  align-items: center;
}

.strategy h2 {
  margin: 0;
  font-size: 49px;
  font-weight: 400;
  line-height: 1.05;
}

.kicker {
  margin: 30px 0 31px;
  color: #9a9da5;
  font-size: 14px;
  font-weight: 700;
}

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

.strategy-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  align-items: start;
}

.strategy-list span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #cbd2d9;
  font-size: 13px;
  font-weight: 700;
}

.strategy-list p {
  margin: 0;
  color: #d7d9df;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 0 32px;
  border-radius: 999px;
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.primary {
  background: #0577d9;
  box-shadow: 0 8px 22px rgba(5, 119, 217, 0.22);
}

.small {
  min-width: 112px;
}

.strategy-image {
  padding-top: 34px;
}

.strategy-image img {
  width: 470px;
  height: 346px;
  object-fit: cover;
}

.analysis {
  padding: 34px 0 156px;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.06;
}

.section-heading p {
  width: min(100%, 460px);
  margin: 22px auto 0;
  color: #8f959f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.radar-wrap {
  position: relative;
  width: min(calc(100vw - 48px), 1320px);
  height: 650px;
  margin: 54px auto 54px;
  left: 50%;
  transform: translateX(-50%);
}

.radar {
  position: absolute;
  top: 96px;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
}

.radar-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 5px rgba(0, 120, 200, 0.35));
}

.radar-poly {
  vector-effect: non-scaling-stroke;
}

.radar-poly.outer {
  fill: rgba(4, 58, 83, 0.94);
  stroke: #075f99;
  stroke-width: 7;
}

.radar-poly.middle {
  fill: rgba(53, 70, 73, 0.78);
  stroke: #0870ae;
  stroke-width: 6;
}

.radar-poly.inner {
  fill: #1d75a1;
  stroke: transparent;
}

.radar-lines line {
  stroke: #08649b;
  stroke-width: 6;
  stroke-linecap: round;
  opacity: 0.82;
}

.radar-title {
  fill: #f1f5fb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 900;
}

.label {
  position: absolute;
  color: #f1f3f8;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.label.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.upper-left {
  top: 160px;
  left: 44px;
}

.upper-right {
  top: 170px;
  right: -18px;
}

.mid-left {
  top: 335px;
  left: 20px;
}

.mid-right {
  top: 340px;
  right: -78px;
}

.lower-left {
  bottom: 24px;
  left: 180px;
}

.lower-right {
  bottom: 24px;
  right: 162px;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 76px 78px;
  margin-top: 42px;
}

.analysis-grid article {
  text-align: center;
}

.analysis-grid h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 900;
}

.analysis-grid p {
  margin: 0;
  color: #c2c5cb;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.32;
}

.centre-card {
  grid-column: 2;
}

.center-actions {
  margin-top: 68px;
  text-align: center;
}

.reviews {
  padding: 24px 0 180px;
}

.reviews .section-heading h2 {
  font-size: 47px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 78px;
  width: min(100%, 760px);
  margin: 84px auto 0;
}

.review-grid article {
  min-height: 140px;
}

.review-grid p {
  margin: 0 0 22px;
  color: #aeb4bf;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.34;
}

.stars {
  color: #fff133;
  font-size: 13px;
  letter-spacing: 4px;
}

.contact {
  padding: 0 0 56px;
  background: #000;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 54px;
  align-items: center;
  min-height: 216px;
  padding: 46px 112px;
  border-radius: 16px;
  background: #0878d7;
}

.contact-card p {
  margin: 0;
  color: white;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.14;
}

.contact-card p + p {
  margin-top: 8px;
}

.gold {
  min-height: 52px;
  padding: 0 44px;
  border-radius: 0;
  background: var(--gold);
  color: white;
  font-size: 13px;
}

.bottom-btn {
  display: flex;
  width: fit-content;
  margin: 38px auto 0;
}

.whatsapp {
  position: fixed;
  right: 0;
  bottom: 58px;
  z-index: 10;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 8px 0 0 8px;
  background: #34c759;
}

.whatsapp img {
  width: 25px;
  height: 25px;
}

.analysis-overlay,
.report-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.74);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.analysis-overlay.is-visible,
.report-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.analysis-panel,
.report-card {
  width: min(100%, 470px);
  border: 1px solid rgba(25, 145, 235, 0.5);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(11, 126, 218, 0.34), transparent 48%),
    #04101d;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52), 0 0 46px rgba(5, 119, 217, 0.2);
  text-align: center;
}

.analysis-panel {
  padding: 42px 42px 36px;
}

.scan-orbit {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  border-radius: 50%;
  border: 2px solid rgba(8, 120, 215, 0.35);
  background: rgba(8, 120, 215, 0.08);
}

.scan-orbit::before,
.scan-orbit::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #12a8ff;
  border-right-color: rgba(18, 168, 255, 0.4);
  animation: spin 1s linear infinite;
}

.scan-orbit::after {
  inset: 25px;
  border-top-color: #fff32b;
  animation-duration: 1.45s;
  animation-direction: reverse;
}

.scan-orbit span {
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  background: #0878d7;
  box-shadow: 0 0 24px rgba(8, 120, 215, 0.8);
  animation: pulse 900ms ease-in-out infinite alternate;
}

.analysis-panel h2,
.report-card h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.1;
}

.analysis-panel p,
.report-card p {
  margin: 16px auto 0;
  color: #bfc8d4;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.analysis-progress {
  overflow: hidden;
  height: 8px;
  margin: 28px 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.analysis-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0878d7, #1bb7ff, #fff32b);
  transform-origin: left;
  animation: analyseProgress 2.55s ease forwards;
}

.analysis-panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #e5edf7;
  font-size: 13px;
  font-weight: 800;
}

.analysis-panel li {
  opacity: 0;
  animation: stepFade 600ms ease forwards;
}

.analysis-panel li:nth-child(2) {
  animation-delay: 700ms;
}

.analysis-panel li:nth-child(3) {
  animation-delay: 1400ms;
}

.report-card {
  position: relative;
  padding: 42px 38px 38px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.report-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  background: #0878d7;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 0 32px rgba(8, 120, 215, 0.45);
}

.report-btn {
  gap: 10px;
  margin-top: 28px;
  min-height: 48px;
  padding: 0 34px;
  font-size: 13px;
}

.report-btn img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  to {
    transform: scale(1.25);
    opacity: 0.72;
  }
}

@keyframes analyseProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes stepFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 68px;
  }

  .hero h1,
  .section-heading h2 {
    font-size: 38px;
  }

  .diagnosis-card h2 {
    font-size: 28px;
  }

  .strategy-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .strategy-image img {
    width: 100%;
    height: auto;
  }

  .radar-wrap {
    width: 100%;
    height: auto;
    left: auto;
    transform: none;
    padding-top: 20px;
  }

  .radar {
    position: relative;
    top: auto;
    width: 260px;
    height: 260px;
    margin: 84px auto 80px;
  }

  .label {
    position: static;
    display: block;
    margin: 8px 0;
    text-align: center;
    font-size: 17px;
  }

  .analysis-grid,
  .review-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .centre-card {
    grid-column: auto;
  }

  .contact-card {
    padding: 34px 28px;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 28px, 420px);
  }

  .hero h1 {
    font-size: 31px;
  }

  .diagnosis-card {
    padding: 24px 14px;
  }

  .diagnosis-card h2 {
    font-size: 24px;
  }

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

  .strategy h2,
  .section-heading h2 {
    font-size: 34px;
  }

  .strategy-grid {
    gap: 42px;
  }

  .radar {
    transform: translateX(-50%) scale(0.86);
    transform-origin: center;
  }

  .contact-card {
    gap: 28px;
  }

  .gold {
    width: 100%;
    padding: 0 20px;
  }
}
