:root {
  --page-blue-start: #0c31cf;
  --page-blue-mid: #2958f3;
  --page-blue-end: #5b7dff;
  --panel-border: rgba(255, 255, 255, 0.2);
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.82);
  --accent: #ffc83d;
  --button-text: #0d3fdb;
  --shadow: 0 26px 60px rgba(4, 22, 97, 0.33);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.24), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.16), transparent 20%),
    linear-gradient(135deg, var(--page-blue-start) 0%, var(--page-blue-mid) 52%, var(--page-blue-end) 100%);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px),
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.12) 0 3px, transparent 3px),
    radial-gradient(circle at 90% 60%, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px),
    radial-gradient(circle at 35% 75%, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
  background-size: 180px 180px, 240px 240px, 220px 220px, 180px 180px, 100% 100%;
  mix-blend-mode: soft-light;
  opacity: 0.9;
  pointer-events: none;
}

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

.page-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-height: calc(100vh - 48px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--panel-border);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05)),
    rgba(10, 32, 141, 0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  pointer-events: none;
  right: -120px;
  top: -140px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 24px;
  box-shadow: 0 12px 24px rgba(11, 25, 88, 0.16);
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span,
.cta-button,
.feature-card strong {
  font-family: "Nunito", sans-serif;
}

.brand span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero h1 {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.96;
  max-width: 8ch;
}

.promo-line,
.lead,
.sublead {
  color: var(--text-soft);
}

.promo-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 200, 61, 0.16);
  border: 1px solid rgba(255, 220, 119, 0.28);
  color: #fff5cf;
  font-family: "Nunito", sans-serif;
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(17, 29, 96, 0.18);
}

.promo-line::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 200, 61, 0.18);
}

.lead {
  max-width: 24rem;
  margin: 18px 0 0;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  line-height: 1.4;
  font-weight: 600;
}

.sublead {
  max-width: 27rem;
  margin: 10px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 60px;
  padding: 16px 32px;
  border-radius: 999px;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #ffd86f 100%);
  color: #1235c7;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    0 16px 34px rgba(0, 15, 72, 0.32),
    0 0 0 0 rgba(255, 216, 111, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  margin-top: 30px;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 36px rgba(0, 15, 72, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  filter: brightness(1.02);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(255, 200, 61, 0.55);
  outline-offset: 4px;
}

.messenger-badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2d8cff 0%, #0064ff 100%);
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 8px 18px rgba(5, 44, 176, 0.32);
}

.messenger-badge svg {
  width: 20px;
  height: 20px;
}

.cta-button {
  animation: pulse-cta 1.9s ease-in-out infinite;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 18px;
}

.visual-glow {
  position: absolute;
  inset: 12% 9%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  filter: blur(1px);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(2, 14, 76, 0.3);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 0;
  }

  .hero-visual img {
    width: min(100%, 320px);
  }

  .promo-line {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .hero {
    border-radius: 28px;
    padding: 20px;
    min-height: calc(100vh - 20px);
  }

  .brand {
    margin-bottom: 20px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .lead {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
  }
}

@keyframes pulse-cta {
  0% {
    transform: scale(1);
    box-shadow:
      0 16px 34px rgba(0, 15, 72, 0.32),
      0 0 0 0 rgba(255, 216, 111, 0.45),
      inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  }

  50% {
    transform: scale(1.04);
    box-shadow:
      0 20px 40px rgba(0, 15, 72, 0.36),
      0 0 0 14px rgba(255, 216, 111, 0),
      inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  }

  100% {
    transform: scale(1);
    box-shadow:
      0 16px 34px rgba(0, 15, 72, 0.32),
      0 0 0 0 rgba(255, 216, 111, 0),
      inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  }
}
