* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: #000;
  padding-top: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  max-width: 100vw;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) 2rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}

.header-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 100;
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  border: none;
  outline: none;
}

.brand-logo {
  height: 2rem;
  width: auto;
  display: block;
  border: none;
  outline: none;
  vertical-align: middle;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 300;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #00CDE8;
}

.btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 300;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.2s, border-color 0.2s, background 0.2s, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, #1a1a1a 0%, #252525 50%, #151515 100%);
  color: #fff;
  border: 1px solid #2a2a2a;
  min-width: 11rem;
  text-align: center;
}

.btn-lang {
  background: linear-gradient(180deg, #1a1a1a 0%, #252525 50%, #151515 100%);
  color: #fff;
  border: 1px solid #2a2a2a;
  min-width: 7.5rem;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    opacity: 0.95;
    transform: scale(1.05);
  }

  .btn-primary:hover {
    background: #00CDE8;
    color: #000;
    opacity: 1;
    border-color: #2a2a2a;
  }

  .btn-lang:hover {
    background: #00CDE8;
    color: #000;
    border-color: #2a2a2a;
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-right {
    margin-left: 0;
    justify-content: flex-end;
  }
  .header-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 101;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .header-burger__line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .header.is-menu-open .header-burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .header.is-menu-open .header-burger__line:nth-child(2) {
    opacity: 0;
  }
  .header.is-menu-open .header-burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .header-nav-mobile {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 99;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 0;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease, min-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: none;
    box-sizing: border-box;
  }
  .header.is-menu-open .header-nav-mobile,
  .header-nav-mobile.is-open {
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header-nav-mobile__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 2rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid #2a2a2a;
    padding-top: 1rem;
  }
  .header-nav-mobile__btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 1rem 2rem;
    min-height: 3.25rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-nav-mobile__actions .btn-lang {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    min-height: 3.25rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-nav-mobile__title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #737373;
    margin: 0 0 0.5rem;
    padding: 0 2rem;
  }
  .header-nav-mobile__links {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .header-nav-mobile__links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    padding: 0.85rem 2rem;
    transition: color 0.2s ease, background 0.2s ease;
  }
  .header-nav-mobile__links a:hover {
    color: #00CDE8;
    background: rgba(255, 255, 255, 0.04);
  }
}

@media (min-width: 901px) {
  .header-burger {
    display: none;
  }
  .header-nav-mobile {
    display: none;
  }
}

@media (max-width: 600px) {
  .header {
    padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1rem 0.75rem;
  }
  .header-inner {
    gap: 0.75rem;
  }
  .brand-logo {
    height: 1.65rem;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .btn,
  .btn-primary,
  .btn-lang {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    min-width: auto;
  }
}

/* Hero video block */
.hero-video {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  margin-top: 0;
}

.hero-video__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.85) 85%,
    #000 100%
  );
  pointer-events: none;
}

.hero-video__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
}

@media (max-width: 600px) {
  .hero-video__media {
    top: 2.75rem;
    height: 75vh;
    object-position: center top;
  }
  .hero-video__overlay {
    top: 2.75rem;
    left: 0;
    width: 100%;
    height: 75vh;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.3) 72%,
      rgba(0, 0, 0, 0.85) 88%,
      #000 96%,
      #000 100%
    );
  }
  .hero-video__content {
    bottom: 4.5rem;
    padding: 2rem 1rem;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
  }
  .hero-btn {
    width: auto;
    max-width: 100%;
    min-width: 0;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 300;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  transition: opacity 0.2s, border-color 0.2s, background 0.2s, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  min-width: 10rem;
  text-align: center;
  width: 12.5rem;
  box-sizing: border-box;
  white-space: nowrap;
}
.hero-btn--dark {
  background: linear-gradient(180deg, #1a1a1a 0%, #252525 50%, #151515 100%);
  color: #fff;
  border-color: #2a2a2a;
}

.hero-btn--light {
  background: #fff;
  color: #000;
}

@media (hover: hover) and (pointer: fine) {
  .hero-btn:hover {
    transform: scale(1.05);
  }

  .hero-btn--dark:hover {
    background: #00CDE8;
    color: #000;
    border-color: #2a2a2a;
    opacity: 1;
  }

  .hero-btn--light:hover {
    opacity: 0.95;
  }
}

.section {
  min-height: 100vh;
  background: #000;
  position: relative;
  z-index: 60;
  overflow-x: hidden;
}

/* Pricing — только карточка-картинка */
.pricing {
  padding: 3rem 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  scroll-margin-top: 5.5rem;
}

.pricing__inner {
  text-align: center;
  width: 100%;
  max-width: 420px;
}

@media (max-width: 500px) {
  .pricing {
    padding: 2rem 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .pricing {
    padding: 2rem 0 2rem;
  }
  .pricing__inner {
    padding: 0 1rem;
  }
  .pricing__title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    margin-bottom: 2rem;
  }
  .pricing__card-outer {
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: calc(620 / 426 * 100%);
    position: relative;
    margin: 0 auto;
  }
  .pricing__stroke {
    inset: -6px;
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 20px;
  }
  .pricing__stroke-inner {
    border-radius: 19px;
  }
  .pricing__card-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
  }
  .pricing__card {
    border-radius: 17px;
    padding: 1.25rem 1rem 1.25rem;
  }
  .pricing__plan-label {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }
  .pricing__promo-badge {
    font-size: 0.6rem;
    padding: 0.35rem 0.6rem;
    margin-bottom: 0.75rem;
  }
  .pricing__price-row {
    margin-bottom: 1rem;
  }
  .pricing__price-row .pricing__amount {
    font-size: 1.75rem;
  }
  .pricing__price-row .pricing__period {
    font-size: 0.8rem;
  }
  .pricing__btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  .pricing__features {
    gap: 0.4rem;
  }
  .pricing__features li {
    font-size: 0.8rem;
    padding-left: 1.2rem;
    line-height: 1.4;
  }
  .pricing__features li::before {
    font-size: 0.8rem;
  }
}

.pricing__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  background: linear-gradient(to bottom, #737373 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing__card-outer {
  position: relative;
  width: 380px;
  height: 554px;
  margin: 0 auto;
}

.pricing__stroke {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 396px;
  height: 570px;
  padding: 1px;
  border-radius: 24px;
  background: linear-gradient(180deg, #00F0DC 0%, #002F46 100%);
  z-index: 0;
}

.pricing__stroke-inner {
  width: 100%;
  height: 100%;
  border-radius: 23px;
  background: #000;
}

.pricing__card-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 554px;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1B1F2E 0%, #10121B 100%);
  z-index: 1;
}

.pricing__card {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  background: linear-gradient(180deg, #0D0F17 0%, #010101 100%);
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  text-align: left;
}

.pricing__plan-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
  text-align: left;
}

.pricing__promo-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00F0DC;
  background: rgba(0, 47, 70, 0.4);
  border: 1px solid #00F0DC;
  border-radius: 8px;
  margin-bottom: 1rem;
  width: fit-content;
}

.pricing__promo-badge .pricing__promo-discount {
  color: #00F0DC;
}

.pricing__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  margin: 0 0 1.25rem;
}

.pricing__price-row .pricing__amount {
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing__price-row .pricing__period {
  font-size: 0.875rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.9;
  align-self: baseline;
}

.pricing__btn {
  display: block;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.pricing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing__features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.45;
}

.pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00F0DC;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Download block — no image, CTA on the right */
.download {
  padding: 3rem 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 5.5rem;
}

@media (max-width: 768px) {
  .download {
    padding: 2.5rem 1.5rem 2.5rem;
  }
  .download__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  .download__desc {
    max-width: 100%;
    padding: 0 0.5rem;
  }
}

@media (max-width: 500px) {
  .download {
    padding: 2rem 1rem 2rem;
  }
  .download__platforms {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .download__platform {
    width: 100%;
    justify-content: center;
  }
}

.download__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.download__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download__tagline {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #1a1a1a;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 300;
  color: #a3a3a3;
  margin-bottom: 1.25rem;
}

.download__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  background: linear-gradient(to bottom, #737373 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.download__desc {
  font-size: 1rem;
  font-weight: 300;
  color: #737373;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

.download__platforms-label {
  font-size: 1rem;
  font-weight: 400;
  color: #a3a3a3;
  margin-bottom: 1rem;
}

.download__platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.download__platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 300;
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid #2a2a2a;
  background: linear-gradient(180deg, #1a1a1a 0%, #252525 50%, #151515 100%);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s, transform 0.2s ease;
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
}

.download__platform:hover {
  background: #00CDE8;
  color: #000;
  border-color: #2a2a2a;
  opacity: 1;
}

.download__platform.is-selected {
  background: #00CDE8;
  color: #000;
  border-color: #2a2a2a;
}

@media (max-width: 900px) {
  .download__platforms {
    max-width: 360px;
  }
}

.about-client {
  padding: 3rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 5.5rem;
}

@media (max-width: 768px) {
  .about-client {
    padding: 2.5rem 1.5rem 2.5rem;
  }
  .about-client__content {
    max-width: 100%;
  }
  .about-client__feature-title {
    font-size: 1.1rem;
  }
  .about-client__feature-desc {
    font-size: 0.9rem;
  }
}

@media (max-width: 500px) {
  .about-client {
    padding: 2rem 1rem 2rem;
  }
  .about-client__title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .about-client__features {
    gap: 1rem;
    margin-top: 2rem;
  }
  .about-client__feature-title {
    font-size: 1.05rem;
  }
  .about-client__feature-desc {
    font-size: 0.875rem;
  }
}

.about-client__title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to bottom, #737373 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-client__title-line {
  font-weight: 600;
}

.about-client__title-accent {
  font-weight: 600;
}

.about-client__content {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.about-client__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.about-client__feature {
  position: relative;
  padding-left: 1rem;
  transition: transform 0.4s ease;
  transform: scale(1);
  transform-origin: left center;
  cursor: pointer;
}

.about-client__feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, #00CDE8 45%, #00CDE8 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-client__feature.is-active {
  transform: scale(1.06);
}

.about-client__feature.is-active::before {
  opacity: 1;
}

.about-client__nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.about-client__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #404040;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.about-client__dot:hover {
  background: #737373;
}

.about-client__dot.is-active {
  background: #00CDE8;
}

.about-client__feature-title {
  font-size: 1.2rem;
  font-weight: 300;
  color: #505050;
  margin-bottom: 0.35rem;
  transition: color 0.3s ease;
}

.about-client__feature.is-active .about-client__feature-title {
  color: #fff;
}

.about-client__feature-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: #3d3d3d;
  line-height: 1.55;
  margin: 0;
  transition: color 0.3s ease;
}

.about-client__feature.is-active .about-client__feature-desc {
  color: #fff;
}

.about-client__footer {
  font-size: 0.9rem;
  color: #737373;
  margin-top: 0.5rem;
  margin-bottom: 0;
}


.advantages {
  padding: 3rem 2rem 3rem;
  scroll-margin-top: 5.5rem;
}

@media (max-width: 768px) {
  .advantages {
    padding: 2.5rem 1.5rem 2.5rem;
  }
  .advantages__subtitle {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 500px) {
  .advantages {
    padding: 2rem 1rem 2rem;
  }
  .advantages__title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .advantages__subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

.advantages__title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to bottom, #737373 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.advantages__subtitle {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 300;
  margin: 0 auto 3.5rem;
  line-height: 1.6;
  background: linear-gradient(to bottom, #737373 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.advantages__grid-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 0;
}

.advantages__grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to bottom, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%);
  background-size: 1px 100%, 1px 100%, 1px 100%, 100% 1px;
  background-position: 25% 0, 50% 0, 75% 0, 0 50%;
  background-repeat: no-repeat;
}

.advantages__card {
  padding: 2.75rem 2rem;
  background: #000;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.advantages__card:nth-child(4n) {
  border-right: none;
}

.advantages__card:nth-child(n+5) {
  border-bottom: none;
}

.advantages__icon {
  display: flex;
  margin-bottom: 1.5rem;
  color: #737373;
  opacity: 0.9;
  transition: color 0.25s ease, transform 0.25s ease;
  transform: scale(1);
  transform-origin: left top;
}

.advantages__icon svg {
  width: 48px;
  height: 48px;
}

.advantages__card:hover .advantages__icon {
  color: #fff;
  transform: scale(1.02);
}

.advantages__card-title {
  font-size: 1.2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.6rem;
}

.advantages__card-desc {
  font-size: 1rem;
  font-weight: 300;
  color: #737373;
  line-height: 1.55;
  margin: 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

@media (max-width: 900px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }
  .advantages__grid-lines {
    background-image:
      linear-gradient(to bottom, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
      linear-gradient(to right, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%);
    background-size: 1px 100%, 100% 1px;
    background-position: 50% 0, 0 50%;
  }
  .advantages__card:nth-child(4n),
  .advantages__card:nth-child(2n) {
    border-right: none;
  }
  .advantages__card:nth-child(n+5),
  .advantages__card:nth-child(n+7) {
    border-bottom: none;
  }
}

@media (max-width: 500px) {
  .advantages__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(0, auto);
    row-gap: 0;
  }
  .advantages__grid-lines {
    background-image:
      linear-gradient(to right, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
      linear-gradient(to right, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
      linear-gradient(to right, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
      linear-gradient(to right, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
      linear-gradient(to right, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
      linear-gradient(to right, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%),
      linear-gradient(to right, transparent 0%, #00CDE8 15%, #00CDE8 85%, transparent 100%);
    background-size: 100% 1px;
    background-position: 0 12.5%, 0 25%, 0 37.5%, 0 50%, 0 62.5%, 0 75%, 0 87.5%;
  }
  .advantages__card {
    border: none !important;
    padding: 1.25rem 1rem;
    min-height: 0;
  }
  .advantages__icon {
    margin-bottom: 0.75rem;
  }
  .advantages__card-title {
    margin-bottom: 0.35rem;
  }
}

/* Footer */
.footer {
  color: #fff;
  border-radius: 48px 48px 0 0;
  overflow: hidden;
  margin-top: 0;
  background: linear-gradient(180deg, rgba(18, 22, 24, 1) 0%, rgba(0, 205, 232, 0.04) 20%, rgba(10, 10, 10, 1) 100%);
}

@media (max-width: 600px) {
  .footer {
    border-radius: 24px 24px 0 0;
  }
}

.footer__top {
  padding: 3rem 2rem 3rem;
}

.footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.footer__logo-img {
  height: 2rem;
  width: auto;
  display: block;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.footer__logo:hover .footer__logo-img {
  opacity: 0.85;
}

.footer__desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: #737373;
  line-height: 1.6;
  margin: 0;
}

.footer__col-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: 0.95rem;
  font-weight: 300;
  color: #737373;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #00CDE8;
}

.footer__separator {
  height: 1px;
  background: #2a2a2a;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright,
.footer__company {
  font-size: 0.85rem;
  font-weight: 300;
  color: #525252;
  margin: 0;
}

.footer__company {
  flex: 1;
  text-align: center;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.85rem;
  font-weight: 300;
  color: #525252;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: #00CDE8;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer__brand {
    max-width: none;
    grid-column: 1 / -1;
  }
}

@media (max-width: 500px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__top {
    padding: 2rem 1rem 2rem;
  }
  .footer__bottom {
    padding: 1.25rem 1rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }
  .footer__company {
    order: -1;
  }
  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

/* Очень узкие экраны — убираем выход блоков за край */
@media (max-width: 400px) {
  .header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .advantages,
  .about-client,
  .pricing,
  .download {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .pricing__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .hero-video__content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .footer__top {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .footer__bottom {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .header-nav-mobile__title,
  .header-nav-mobile__links a {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .header-nav-mobile__actions {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .header-nav-mobile__brand {
    left: 0.75rem;
  }
  .terms-modal__dialog {
    width: 94%;
    max-width: none;
    padding: 1.5rem 1rem;
  }
  .terms-modal__title {
    margin-right: 1rem;
  }
}

/* Terms modal */
html.is-overlay-open {
  overflow: hidden;
  height: 100%;
}

body.is-modal-open,
body.is-menu-open {
  overflow: hidden;
}

.terms-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.terms-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.terms-modal__dialog {
  max-width: 900px;
  width: min(900px, 92%);
  max-height: 80vh;
  background: #050505;
  border-radius: 24px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  padding: 2.5rem 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.terms-modal__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  margin-right: 2rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.terms-modal__body {
  margin-top: 1.5rem;
  padding-right: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #a3a3a3;
}

.terms-modal__body a {
  color: #00CDE8;
  text-decoration: none;
  font-weight: 400;
}

.terms-modal__body a:hover {
  text-decoration: underline;
}

.terms-modal__body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 1.2rem 0 0.4rem;
}

.terms-modal__body p {
  margin: 0.3rem 0;
}

.terms-modal__body ul {
  margin: 0.3rem 0 0.8rem 1.2rem;
  padding: 0;
}

.terms-modal__body li {
  margin-bottom: 0.25rem;
}

.terms-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  background: #000;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.terms-modal__close:hover {
  background: #00CDE8;
  color: #000;
  border-color: #00CDE8;
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .terms-modal__dialog {
    padding: 2rem 1.5rem;
  }
  .terms-modal__body {
    padding-right: 0.5rem;
  }
}
