:root {
  --blue-950: #03091f;
  --blue-900: #06145a;
  --blue-800: #08248c;
  --blue-700: #0a37bf;
  --cyan: #22d7ff;
  --yellow: #ffd629;
  --yellow-strong: #ffbd17;
  --white: #ffffff;
  --text: #15213a;
  --muted: #63708a;
  --surface: #f5f8ff;
  --line: rgba(9, 32, 96, 0.12);
  --shadow: 0 22px 60px rgba(4, 18, 72, 0.18);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.topbar {
  color: rgba(255, 255, 255, 0.92);
  background: #020817;
  font-size: 0.9rem;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  color: var(--yellow);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--blue-900);
  font-size: 1.28rem;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(6, 20, 90, 0.22);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #25314b;
  font-weight: 700;
}

.nav-menu > a:not(.btn) {
  position: relative;
  padding-block: 10px;
}

.nav-menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.2s ease;
}

.nav-menu > a:not(.btn):hover::after,
.nav-menu > a:not(.btn):focus-visible::after {
  width: 100%;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 99px;
}

.section {
  padding: 96px 0;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(2, 8, 23, 0.97), rgba(6, 20, 90, 0.94)),
    linear-gradient(90deg, #020817 0%, #06145a 55%, #0928a7 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 116px 0 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.4vw, 4.65rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
}

.hero__text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--small {
  min-height: 42px;
  padding: 10px 16px;
}

.btn--primary {
  color: #07114d;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-strong));
  box-shadow: 0 16px 30px rgba(255, 214, 41, 0.24);
}

.btn--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  color: var(--blue-900);
  border-color: rgba(8, 36, 140, 0.22);
  background: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 390px;
}

.signal-card {
  position: absolute;
  inset: 28px 34px auto auto;
  width: min(340px, 92%);
  min-height: 310px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.signal-card img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.32);
}

.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.network-lines path {
  fill: none;
  stroke: url(#lineGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 9 13;
  animation: dash 8s linear infinite;
}

.network-lines circle {
  fill: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(34, 215, 255, 0.95));
}

@keyframes dash {
  to {
    stroke-dashoffset: -120;
  }
}

.section--light {
  background: var(--surface);
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 56px;
  align-items: start;
}

.section-heading p:not(.eyebrow),
.text-block p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading--center {
  max-width: 730px;
  margin: 0 auto 38px;
  text-align: center;
}

.plans-grid,
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.plan-card,
.advantage-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(8, 36, 140, 0.08);
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 26px;
}

.plan-card--featured {
  color: var(--white);
  border-color: rgba(255, 214, 41, 0.35);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 214, 41, 0.22), transparent 35%),
    linear-gradient(145deg, var(--blue-900), var(--blue-700));
  transform: translateY(-10px);
}

.badge {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-950);
  background: var(--yellow);
  font-size: 0.77rem;
  font-weight: 900;
}

.plan-card__speed {
  margin: 0;
  color: var(--blue-700);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.plan-card--featured .plan-card__speed,
.plan-card--featured p,
.plan-card--featured li {
  color: rgba(255, 255, 255, 0.9);
}

.plan-card__price {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.plan-card p {
  margin: 0;
}

.plan-card ul {
  margin: 0 0 8px;
  padding-left: 18px;
  color: var(--muted);
}

.plan-card .btn {
  margin-top: auto;
  width: 100%;
}

.advantage-card {
  padding: 24px;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue-900);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 214, 41, 0.26), rgba(34, 215, 255, 0.18));
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.cta-banner {
  padding: 76px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 214, 41, 0.22), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(34, 215, 255, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(3, 9, 31, 0.96), rgba(6, 20, 90, 0.88)),
    var(--blue-900);
}

.cta-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 36px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.cta-banner__inner::before {
  content: "";
  position: absolute;
  right: 34px;
  top: 50%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 214, 41, 0.38);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.cta-banner__inner::after {
  content: "";
  position: absolute;
  right: 88px;
  top: 50%;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(34, 215, 255, 0.42);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.cta-banner__inner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--blue-900);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.contact-form label {
  font-weight: 800;
  color: #26334d;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(9, 32, 96, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  outline: none;
  background: #fbfcff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(34, 215, 255, 0.14);
}

.contact-form .field-error {
  border-color: #d93636;
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-message.success {
  color: #087a3f;
}

.form-message.error {
  color: #b3261e;
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background: #020817;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 54px 0;
}

.footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1.05rem;
}

.footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.84);
}

.footer p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
}

.footer p a {
  display: inline-flex;
  margin-bottom: 0;
}

.footer__bottom {
  padding: 18px 16px;
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
}

.footer__bottom-inner p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

@media (max-width: 1040px) {
  .plans-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card--featured {
    transform: none;
  }
}

@media (max-width: 820px) {
  .topbar__note {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    inset: 116px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 18px 16px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 13px 8px;
  }

  .nav-menu .btn {
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
    padding-bottom: 64px;
  }

  .hero__grid,
  .split,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .signal-card {
    inset: 12px 0 auto;
    margin-inline: auto;
    min-height: 285px;
  }

  .cta-banner__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .brand span {
    font-size: 1.05rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  h1 {
    font-size: 2.6rem;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .plans-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .signal-card {
    width: 100%;
  }

  .signal-card img {
    width: 190px;
    height: 190px;
  }
}
