:root {
  --bg: #020712;
  --card: rgba(8, 17, 31, .84);
  --card-strong: rgba(11, 22, 39, .94);
  --line: rgba(117, 164, 255, .14);
  --line-strong: rgba(58, 145, 255, .72);
  --text: #f4f8ff;
  --muted: #8f9db0;
  --blue: #2b8cff;
  --blue-light: #49b7ff;
  --gold: #ffc943;
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 20%, rgba(37, 122, 255, .20), transparent 25%),
    radial-gradient(circle at 83% 18%, rgba(39, 122, 255, .18), transparent 28%),
    radial-gradient(circle at 50% 52%, rgba(32, 117, 255, .09), transparent 45%),
    linear-gradient(180deg, #030914 0%, #01050d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(83, 170, 255, .75) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 210, 75, .55) 0 1px, transparent 1.6px);
  background-size: 150px 150px, 230px 230px;
  background-position: 20px 40px, 90px 110px;
  opacity: .22;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

.page {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
}

.header {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(120, 167, 255, .09);
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: white;
  background: radial-gradient(circle at 30% 25%, #75dcff, #1f80ff 58%, #0b2a65);
  box-shadow: 0 0 30px rgba(45, 140, 255, .48), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: rotate(-10deg);
}

.brand__text span {
  color: var(--blue-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #c4cfdf;
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  opacity: .82;
}

.nav a:hover {
  opacity: 1;
  color: white;
}

.header__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  min-height: 42px;
  border-radius: 14px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 780;
  border: 1px solid rgba(130, 171, 255, .18);
  background: rgba(9, 18, 32, .66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: .18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(85, 173, 255, .50);
}

.btn--primary {
  background: linear-gradient(180deg, #47adff, #167aff 58%, #095ddd);
  border-color: rgba(118, 195, 255, .58);
  box-shadow: 0 18px 38px rgba(17, 111, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.btn--large {
  min-height: 48px;
  padding: 0 28px;
  font-size: 16px;
}

.hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 26px;
  padding: 58px 0 34px;
  position: relative;
}

.hero__decor--orbit {
  position: absolute;
  left: -70px;
  top: 70px;
  width: 360px;
  height: 220px;
  border: 1px solid rgba(64, 142, 255, .22);
  border-radius: 50%;
  transform: rotate(-20deg);
  opacity: .55;
}

.hero__star {
  position: absolute;
  color: #2b8cff;
  text-shadow: 0 0 38px rgba(43, 140, 255, .9);
  pointer-events: none;
  user-select: none;
}

.hero__star--big {
  left: 18px;
  top: 106px;
  font-size: 170px;
  opacity: .72;
  transform: rotate(-10deg);
  animation: floatStar 6s ease-in-out infinite;
}

.hero__star--small {
  left: 250px;
  top: 195px;
  font-size: 62px;
  opacity: .34;
  animation: floatStar 7s ease-in-out infinite reverse;
}

@keyframes floatStar {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  justify-self: center;
  max-width: 650px;
  margin-left: 140px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 5.1vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  color: transparent;
  background: linear-gradient(90deg, #36b8ff 0%, #287eff 45%, #6ed0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  margin: 0 auto 28px;
  color: #c3ccda;
  font-size: 18px;
  line-height: 1.52;
  max-width: 540px;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__phone {
  position: relative;
  height: 390px;
}

.phone {
  position: absolute;
  right: 30px;
  top: 0;
  width: 230px;
  height: 386px;
  border-radius: 36px;
  padding: 11px;
  background: linear-gradient(145deg, #273344, #0b0f18 45%, #03060d);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .55), 0 0 70px rgba(27, 118, 255, .26);
  transform: rotate(11deg);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  translate: -50% 0;
  width: 88px;
  height: 24px;
  background: #03050a;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone__screen {
  height: 100%;
  border-radius: 30px;
  padding: 26px 16px 18px;
  background: radial-gradient(circle at 50% 20%, rgba(48, 148, 255, .35), transparent 30%), linear-gradient(180deg, #071121, #030812);
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
}

.phone__top {
  display: flex;
  justify-content: space-between;
  color: #dce7f8;
  font-size: 11px;
  margin-bottom: 22px;
}

.phone__title {
  text-align: center;
  color: #dbe8ff;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 18px;
}

.phone__gold-star {
  color: var(--gold);
  font-size: 100px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 34px rgba(255, 203, 62, .72);
  animation: floatGold 4.5s ease-in-out infinite;
}

@keyframes floatGold {
  0%, 100% { translate: 0 0; scale: 1; }
  50% { translate: 0 -8px; scale: 1.04; }
}

.phone__card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(12, 22, 38, .86);
  border: 1px solid rgba(140, 180, 255, .13);
}

.phone__card strong {
  display: block;
  margin-bottom: 8px;
}

.phone__card span {
  color: #aab7cc;
  font-size: 12px;
  line-height: 1.45;
}

.phone__card button {
  width: 100%;
  height: 40px;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  color: white;
  font-weight: 800;
  background: linear-gradient(180deg, #39a0ff, #116cff);
}

.plane {
  position: absolute;
  right: -4px;
  bottom: 85px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 36px;
  background: radial-gradient(circle at 30% 25%, #63d6ff, #227dff 55%, #0d3683);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 48px rgba(48, 150, 255, .45);
  transform: rotate(-12deg);
}

.features {
  position: relative;
  z-index: 10;
  margin-top: -52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 24, 41, .88), rgba(6, 13, 24, .94));
  border: 1px solid var(--line);
  box-shadow: 0 28px 90px rgba(0, 78, 255, .20);
  backdrop-filter: blur(18px);
}

.feature {
  min-height: 112px;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-right: 1px solid rgba(134, 170, 225, .13);
}

.feature:last-child {
  border-right: 0;
}

.feature__icon {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #7dc9ff;
  background: radial-gradient(circle at 30% 20%, #317dff, #102b66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 32px rgba(19, 102, 255, .25);
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: #aab6c8;
  font-size: 14px;
  line-height: 1.38;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 20px;
  margin: 22px 0 24px;
}

.panel {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 21, 36, .80), rgba(5, 12, 23, .88));
  border: 1px solid rgba(120, 164, 255, .12);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .26);
}

.panel h2 {
  margin: 0 0 24px;
  font-size: 22px;
  letter-spacing: -.02em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 23%;
  right: 23%;
  top: 47px;
  border-top: 2px dashed rgba(53, 132, 255, .33);
}

.step {
  position: relative;
  min-height: 144px;
  padding: 24px 14px 18px;
  text-align: center;
  border-radius: 18px;
  background: rgba(13, 24, 42, .86);
  border: 1px solid rgba(119, 165, 255, .10);
}

.step span {
  position: absolute;
  top: -18px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(180deg, #5ebcff, #1376ff);
  box-shadow: 0 10px 24px rgba(26, 118, 255, .36);
}

.step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #3da2ff;
  font-size: 28px;
  background: #0b1930;
  border: 1px solid rgba(63, 142, 255, .20);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.step p {
  margin: 0;
  color: #98a6ba;
  font-size: 12px;
  line-height: 1.35;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel__head h2 {
  margin: 0;
}

.panel__head span {
  color: #70bdff;
  background: rgba(24, 116, 255, .16);
  border: 1px solid rgba(65, 156, 255, .24);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

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

.tariff {
  position: relative;
  min-height: 190px;
  text-align: center;
  padding: 22px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 27, 46, .96), rgba(8, 17, 30, .98));
  border: 1px solid rgba(126, 169, 242, .13);
  overflow: hidden;
}

.tariff--active {
  border-color: var(--line-strong);
  box-shadow: 0 0 34px rgba(32, 124, 255, .22), inset 0 0 0 1px rgba(64, 157, 255, .08);
}

.tariff__badge {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #d7edff;
  font-size: 11px;
  font-weight: 900;
  background: linear-gradient(180deg, #4aacff, #146cff);
}

.tariff__star {
  font-size: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 16px rgba(255, 209, 66, .55));
}

.tariff h3 {
  margin: 0;
  font-size: 16px;
}

.tariff strong {
  display: block;
  margin: 12px 0 14px;
  color: #48aaff;
  font-size: 24px;
}

.tariff a {
  display: flex;
  height: 34px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(50, 149, 255, .68);
  color: #58b5ff;
  font-weight: 850;
  background: rgba(14, 31, 54, .72);
}

.tariff--active a {
  color: white;
  background: linear-gradient(180deg, #45b1ff, #1471ff);
  border-color: transparent;
}

.tariff-note {
  margin: 14px 0 0;
  color: #8ea0b6;
  font-size: 13px;
}

.footer {
  padding: 22px 0 36px;
  border-top: 1px solid rgba(133, 173, 255, .08);
  color: #7f8da3;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1050px) {
  .page {
    width: min(100% - 32px, var(--max));
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    text-align: center;
  }

  .hero__content {
    margin-left: 0;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__phone {
    height: 330px;
  }

  .phone {
    right: 50%;
    translate: 50% 0;
  }

  .features {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .feature {
    border-right: 0;
    border-bottom: 1px solid rgba(134, 170, 225, .13);
  }

  .feature:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 680px) {
  .header__actions .btn--ghost {
    display: none;
  }

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

  .hero__buttons .btn {
    width: 100%;
  }

  .steps,
  .tariffs {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }
}
