:root {
  --navy: #0b1d4d;
  --blue: #0a91d0;
  --red: #e51c28;
  --ink: #14203b;
  --muted: #67728b;
  --line: #dce2ed;
  --paper: #f5f7fb;
  --white: #fff;
  --shadow: 0 24px 60px rgba(11, 29, 77, 0.14);
}

.zvezda-page,
.zvezda-page *,
.zvezda-page *::before,
.zvezda-page *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.zvezda-page {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

.zvezda-page a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.hero,
.trust-strip,
.section,
.zvezda-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong {
  color: var(--navy);
  font-size: 20px;
  letter-spacing: 0.16em;
}

.brand small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: 34px;
}

.site-header nav a {
  position: relative;
  color: #39445d;
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.25;
}

.contact-group + .contact-group {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.contact-group > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-group div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-group a {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.contact-group a:hover,
.contact-group a:focus-visible {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(42, 177, 231, 0.18), transparent 28%),
    linear-gradient(135deg, #0b1e51 0%, #102865 68%, #083b72 100%);
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 0 80px 76px;
  color: var(--white);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero h1 em {
  color: #42b8e8;
  font-style: normal;
}

.hero__lead {
  max-width: 630px;
  margin: 28px 0 0;
  color: #cbd5eb;
  font-size: 17px;
}

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

.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--red);
  color: var(--white);
}

.button--primary:hover {
  background: #f02532;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 600px;
}

.logo-halo {
  position: absolute;
  top: 50%;
  left: 49%;
  width: min(370px, 34vw);
  aspect-ratio: 1;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%);
}

.logo-halo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 49%;
  aspect-ratio: 1;
  border: 1px solid rgba(66, 184, 232, 0.23);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit--one {
  width: 450px;
}

.orbit--two {
  width: 550px;
}

.status-card {
  position: absolute;
  right: 34px;
  bottom: 76px;
  min-width: 245px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.status-card__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f8f0;
  color: #168654;
  font-weight: 800;
}

.status-card > span:last-child {
  display: flex;
  flex-direction: column;
}

.status-card strong {
  color: var(--navy);
  font-size: 12px;
}

.status-card small {
  color: var(--muted);
  font-size: 9px;
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  padding: 24px 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 15px 40px rgba(11, 29, 77, 0.1);
}

.trust-strip div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-strip div + div {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.trust-strip strong {
  color: var(--navy);
  font-size: 28px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.section {
  padding-block: 110px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 44px;
}

.section-heading h2,
.apps h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
}

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

.service-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(11, 29, 77, 0.1);
}

.service-card--featured {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.service-card__number {
  position: absolute;
  top: 23px;
  right: 26px;
  color: #aeb7ca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  margin: 30px 0 47px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ecf8fd;
  color: var(--blue);
  font-size: 25px;
}

.service-card--featured .service-card__icon {
  background: var(--blue);
  color: var(--white);
}

.service-card h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.3;
}

.service-card--featured h3 {
  color: var(--white);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.service-card--featured p {
  color: #bdc9e4;
}

.apps {
  min-height: 520px;
  margin-bottom: 100px;
  padding: 72px 78px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 30%, rgba(42, 177, 231, 0.2), transparent 32%),
    var(--navy);
  color: var(--white);
}

.apps h2 {
  max-width: 600px;
  color: var(--white);
}

.apps__content > p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px 0 0;
  color: #bdc9e4;
}

.eyebrow--light {
  color: #42b8e8;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store-links a {
  min-width: 168px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}

.store-links a:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.store-links a > span:first-child {
  font-size: 22px;
}

.store-links a > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-links small {
  color: #c5cee0;
  font-size: 8px;
}

.store-links strong {
  margin-top: 4px;
  font-size: 15px;
}

.apple {
  position: relative;
  color: var(--white);
}

.apps__panel {
  position: relative;
}

.phone {
  position: absolute;
  top: -28px;
  left: 50%;
  width: 230px;
  height: 465px;
  padding: 58px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 7px solid #071432;
  border-radius: 35px;
  background: linear-gradient(150deg, #f8fbff, #e9edf6);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  color: var(--navy);
  transform: translateX(-40%) rotate(6deg);
}

.phone::after {
  position: absolute;
  right: -95px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--red);
  content: "";
  opacity: 0.9;
  z-index: -1;
}

.phone__speaker {
  position: absolute;
  top: 16px;
  width: 72px;
  height: 6px;
  border-radius: 8px;
  background: #17264b;
}

.phone img {
  width: 116px;
  height: 116px;
  border-radius: 50%;
}

.phone strong {
  margin-top: 28px;
  font-size: 18px;
  letter-spacing: 0.16em;
}

.phone small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}

.phone__status {
  margin-top: auto;
  padding: 9px 14px;
  border-radius: 20px;
  background: #e4f6ed;
  color: #168654;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.zvezda-footer {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.brand--footer img {
  width: 44px;
  height: 44px;
}

.brand--footer strong {
  font-size: 15px;
}

.zvezda-footer p,
.zvezda-footer > a {
  color: var(--muted);
  font-size: 12px;
}

.zvezda-footer > a {
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header nav {
    display: none;
  }

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

  .hero__content {
    padding: 70px 56px 30px;
  }

  .hero__visual {
    min-height: 490px;
  }

  .logo-halo {
    width: 330px;
  }

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

  .apps {
    padding-inline: 50px;
  }

  .phone {
    left: 56%;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .trust-strip,
  .section,
  .zvezda-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 88px;
  }

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

  .brand small {
    display: none;
  }

  .header-contacts {
    gap: 12px;
  }

  .contact-group + .contact-group {
    padding-left: 12px;
  }

  .contact-group > span {
    font-size: 7px;
  }

  .contact-group a {
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    border-radius: 20px;
  }

  .hero__content {
    padding: 56px 26px 20px;
  }

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

  .hero__lead {
    font-size: 15px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__visual {
    min-height: 410px;
  }

  .logo-halo {
    width: min(280px, 75vw);
  }

  .orbit--one {
    width: 340px;
  }

  .orbit--two {
    width: 410px;
  }

  .status-card {
    right: 18px;
    bottom: 35px;
    min-width: 218px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding: 20px 26px;
  }

  .trust-strip div + div {
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding-block: 80px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .service-card {
    min-height: 285px;
  }

  .service-card__icon {
    margin-bottom: 35px;
  }

  .apps {
    grid-template-columns: 1fr;
    margin-bottom: 65px;
    padding: 54px 26px 0;
    border-radius: 20px;
  }

  .store-links {
    flex-direction: column;
  }

  .apps__panel {
    min-height: 450px;
  }

  .phone {
    top: 42px;
    left: 50%;
    transform: translateX(-50%) rotate(4deg);
  }

  footer {
    padding-block: 32px;
    align-items: flex-start;
    flex-direction: column;
  }

  .zvezda-footer p {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-block: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-contacts {
    width: 100%;
    padding-top: 12px;
    justify-content: space-between;
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .zvezda-page *,
  .zvezda-page *::before,
  .zvezda-page *::after {
    transition-duration: 0.01ms !important;
  }
}

