.features-jump-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin-top: 34px;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid rgba(129, 165, 176, 0.22);
  border-radius: 0;
  background: rgba(8, 20, 28, 0.58);
}

.features-jump-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-right: 1px solid rgba(129, 165, 176, 0.18);
  border-radius: 0;
  background: transparent;
  color: rgba(226, 242, 247, 0.78);
  font-size: 13px;
  font-weight: 820;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.features-jump-nav a:last-child {
  border-right: 0;
}

.features-jump-nav a:hover,
.features-jump-nav a:focus-visible {
  background: rgba(18, 48, 55, 0.72);
  color: #ffffff;
}

.features-main .button.primary {
  border-color: rgba(111, 227, 189, 0.45);
  background: linear-gradient(135deg, #2de5b5, #45aef6);
  color: #061018;
  box-shadow: 0 16px 42px rgba(38, 188, 189, 0.2);
}

.features-main .button.primary:hover,
.features-main .button.primary:focus-visible {
  border-color: rgba(157, 255, 224, 0.72);
  background: linear-gradient(135deg, #54f0cb, #62bcff);
  color: #061018;
}

.features-main .button.secondary {
  border-color: rgba(129, 165, 176, 0.28);
  background: rgba(8, 20, 28, 0.58);
  color: rgba(226, 242, 247, 0.86);
}

.feature-catalog-group {
  scroll-margin-top: 104px;
}

.feature-list .feature-item {
  position: relative;
  display: block;
  background:
    linear-gradient(135deg, rgba(111, 227, 189, 0.12), rgba(64, 151, 210, 0.08)),
    rgba(10, 25, 35, 0.82);
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-list .feature-item strong {
  color: #ffffff;
}

.feature-list .feature-item span,
.feature-list .feature-item--muted span {
  color: rgba(214, 235, 239, 0.78);
}

.feature-list a.feature-item::after {
  content: "Открыть";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(111, 227, 189, 0);
  font-size: 11px;
  font-weight: 860;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.feature-list a.feature-item:hover,
.feature-list a.feature-item:focus-visible {
  z-index: 1;
  background: rgba(13, 38, 47, 0.94);
  box-shadow: 0 0 0 1px rgba(111, 227, 189, 0.22) inset;
  transform: translateY(-1px);
}

.feature-list a.feature-item:hover::after,
.feature-list a.feature-item:focus-visible::after {
  color: rgba(111, 227, 189, 0.86);
  transform: translateX(2px);
}

.feature-list .feature-item--muted {
  cursor: default;
}

.feature-list .feature-item--primary {
  background:
    linear-gradient(135deg, rgba(111, 227, 189, 0.12), rgba(64, 151, 210, 0.08)),
    rgba(10, 25, 35, 0.82);
}

.feature-list .feature-item--primary strong {
  color: #ffffff;
}

.feature-list .feature-item--primary span {
  color: rgba(214, 235, 239, 0.78);
}

.feature-list > .feature-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: 108px;
}

.features-footer-cta p {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 30px;
  margin-left: auto;
  text-wrap: balance;
}

@media (max-width: 760px) {
  .features-jump-nav {
    width: 100%;
    justify-content: stretch;
  }

  .features-jump-nav a {
    flex: 1 1 50%;
    border-bottom: 1px solid rgba(129, 165, 176, 0.18);
  }

  .features-jump-nav a:nth-child(2n) {
    border-right: 0;
  }

  .features-jump-nav a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .feature-list a.feature-item::after {
    position: static;
    display: block;
    margin-top: 16px;
    color: rgba(111, 227, 189, 0.68);
  }

  .feature-list > .feature-item:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 460px) {
  .features-jump-nav a {
    flex-basis: 100%;
    border-right: 0;
  }

  .features-jump-nav a:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(129, 165, 176, 0.18);
  }

  .features-jump-nav a:last-child {
    border-bottom: 0;
  }
}
