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

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular-400.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-SemiBold-500.woff2") format("woff2");
  font-weight: 600;
}

@font-face {
  font-family: "Helvetica";
  src: url("/fonts/Helvetica-Neue-Regular-400.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Helvetica";
  src: url("/fonts/Helvetica-Neue-Medium-500.woff2") format("woff2");
  font-weight: 500;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-100-900.woff2") format("woff2");
}

body {
  background: #000;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

.counter {
  position: sticky;
  font-family: "Helvetica";
  top: 0;
  left: 0;
  right: 0;
  background-color: #ec0000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 10px;
  z-index: 2;
}

.hero {
  background: url("/img/hero-bg.png") no-repeat center / cover;
  padding-bottom: 64px;
  border-radius: 64px;
}

.navbar {
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 110px;
}

.navbar-links {
  position: static;
  display: flex;
  justify-content: space-between;
  gap: 64px;
  align-items: center;
}

.navbar-links a {
  color: #fff;
  font-family: "Inter";
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: color 0.4s ease;
}

.navbar-links a:hover {
  color: #b10000;
}

#burger {
  display: none;
  background: transparent;
  border: none;
}

.hero-wrapper {
  padding-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

#form {
  max-width: 450px;
  width: 100%;
}

.hero-sub {
  color: #fff;
  font-family: "Helvetica";
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
}

.title {
  color: #fff;
  font-family: "Helvetica";
  font-size: 40px;
  font-weight: 500;
}

.hero-text {
  max-width: 50%;
}

.hero-text .title {
  margin-bottom: 48px;
}

.hero-text .video-play {
  margin: 0 auto;
  cursor: pointer;
}

.video-play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 26px;
  border: none;
  background: linear-gradient(
      99deg,
      rgba(177, 0, 0, 0.5) 3.59%,
      rgba(94, 0, 0, 0.8) 98.72%
    ),
    rgba(255, 255, 255, 0.2);
  box-shadow: 18px 13px 4px 0px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  padding: 33px 23px;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.video-play:hover {
  transform: scale(1.02);
}

.video-btn-1 {
  display: flex;
}

.video-btn-2 {
  display: none;
}

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

.video-text-1,
.video-text-2 {
  color: #fff;
  text-align: center;
  font-family: "Inter";
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
}

.video-text-1 {
  font-weight: 700;
}

.video-modal {
  position: fixed;
  display: none;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000cf;
  justify-content: center;
  align-items: center;
}

.video-modal-inner {
  position: relative;
  top: 50%;
  max-width: 1000px;
  margin: 0 auto;
  transform: translate(0, -50%);
  padding: 10px;
  border-radius: 16px;
}

.advantages {
  padding-bottom: 180px;
}

.small-title {
  color: #ec0000;
  font-family: "Helvetica";
  text-align: center;
  font-size: 20px;
  font-weight: 400;
}

.advantages .title {
  text-align: center;
  margin-bottom: 80px;
}

.advantages .small-title {
  margin-bottom: 32px;
}

.advantages-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, auto);
}

.advantages-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/img/line.svg") no-repeat center / contain;
  background-position: 140px 40px;
  background-size: 70%;
  transform: rotate(0deg);
  z-index: -1;
}

.step img {
  position: relative;
  z-index: 1;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 360px;
}

.step-text {
  padding: 16px;
}

.step-title {
  color: #fff;
  text-align: center;
  font-family: "Helvetica";
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-desc {
  color: #fff;
  text-align: center;
  font-family: "Helvetica";
  font-size: 16px;
  font-weight: 400;
}

.devices {
  padding: 80px 95px;
  border-radius: 64px;
  background: #eaeaea;
  display: flex;
  align-items: center;
}

.devices-text h5 {
  color: #000;
  font-family: "Helvetica";
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
}

.devices-text h4 {
  color: #000;
  font-family: "Helvetica";
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
}

.devices-text h3 {
  color: #000;
  font-family: "Helvetica";
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 80px;
}

.devices-download {
  display: flex;
  justify-content: space-between;
  max-width: 50%;
  gap: 32px;
  margin-bottom: 48px;
}

.devices-download a {
  padding: 8px 12px;
  text-align: center;
  border-radius: 24px;
  background-color: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: background-color 0.4s ease;
}

.devices-download a:hover {
  background-color: #ffcccc;
}

.devices-download a span:first-of-type {
  color: #000;
  text-align: center;
  font-family: "Helvetica";
  font-size: 16px;
  font-weight: 500;
}

.devices-download a span:last-of-type {
  color: #838383;
  text-align: right;
  font-family: "Helvetica";
  font-size: 12px;
  font-weight: 400;
}

.devices-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.devices-btns a {
  max-width: 50%;
  width: 100%;
  padding: 16px 64px;
  color: #fff;
  font-family: "Helvetica";
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 66px;
  background: #b10000;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25),
    0px 197px 55px 0px rgba(0, 0, 0, 0);
  transform: scale(1);
  transition: transform 0.4s ease;
}

.devices-btns a:hover {
  transform: scale(1.01);
}

.downloaded {
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.devices-img {
  max-width: 370px;
  width: 100%;
}

.downloaded span:first-of-type {
  color: #555;
  text-align: left;
  font-family: "Helvetica";
  font-size: 12px;
  font-weight: 400;
}

.downloaded span:last-of-type {
  color: #000;
  text-align: left;
  font-family: "Helvetica";
  font-size: 16px;
  font-weight: 500;
}

.brands {
  border-radius: 64px;
  background: #eaeaea;
  padding: 32px 95px;
  display: flex;
  justify-content: space-between;
}

.brands img {
  max-width: 180px;
  display: block;
  width: 100%;
  height: 50px;
}

.slider {
  position: relative;
}

.slider-subtitle {
  text-align: center;
  margin-bottom: 80px;
}

.nav-bottom {
  margin: 64px auto;
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  justify-content: space-evenly;
  gap: 5px;
}

.nav-bottom a {
  color: #fff;
  font-family: "Inter";
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: color 0.4s ease;
}

.nav-bottom a:hover {
  color: #b10000;
}

.slider {
  padding-top: 180px;
  padding-bottom: 180px;
}

.bottom-form-title {
  color: #fff;
  font-family: "Helvetica";
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 24px;
}

.bottom-form-sub {
  color: #fff;
  font-family: "Helvetica";
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
}

.bottom-form-text {
  color: #fff;
  font-family: "Helvetica Neue";
  font-size: 24px;
  font-weight: 400;
}

.form-text {
  max-width: 780px;
  width: 100%;
}

.form-bottom {
  max-width: 450px;
  width: 100%;
}

.bottom-form-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.bottom-form {
  border-radius: 64px;
  background: url("/img/hero-bg.png") no-repeat center / cover;
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer {
  border-top: 1px solid #555;
}

.footer-wrapper {
  font-family: "Inter";
  font-weight: 600;
  padding-top: 16px;
  padding-bottom: 16px;
  color: #fff;
}

.karpatov {
  display: flex;
  width: 100%;
  border-radius: 64px;
  background: #eaeaea;
  padding: 80px 120px;
  align-items: flex-end;
  gap: 30px;
  font-family: "Helvetica";
  margin-top: 180px;
  margin-bottom: 180px;
}

.karpatov img {
  max-width: 360px;
  width: 100%;
}

.karpatov .text_wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.karpatov .text_wrapper .text {
  color: #000;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
  font-family: "Helvetica";
}

.karpatov .text_wrapper .info {
  max-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: auto;
}
.karpatov .text_wrapper .info .name {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-family: "Helvetica";
  font-weight: 700;
  line-height: normal;
}
.karpatov .text_wrapper .info .subinfo {
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  font-family: "Helvetica";
  line-height: normal;
}

@media (max-width: 1440px) {
  .container {
    padding-left: 135px;
    padding-right: 135px;
  }

  .devices {
    flex-direction: column;
  }

  .devices-download {
    justify-content: unset;
    max-width: unset;
  }

  .devices-btns a {
    padding: 16px;
  }
  .karpatov {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 40px;
  }
}

@media (max-width: 1130px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .navbar {
    gap: 40px;
  }
}

@media (max-width: 1023px) {
  .brands {
    padding: 24px 40px;
  }
}

@media (max-width: 850px) {
  .brands img {
    max-width: 120px;
  }
}

@media (max-width: 744px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .hero-form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
  }

  .hero-text {
    max-width: 100%;
  }

  .video-btn-1 {
    display: none;
  }

  .video-btn-2 {
    display: flex;
  }

  .title {
    font-size: 20px;
  }

  .counter {
    font-size: 12px;
  }

  .advantages {
    padding-bottom: 80px;
  }
  .karpatov {
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 32px 20px;
    border-radius: 32px;
  }
  .karpatov .text_wrapper .text {
    color: #000;
    font-family: "Helvetica Neue";
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
  }
  .karpatov .text_wrapper .info .name {
    color: #000;
    font-family: "Helvetica Neue";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
  .karpatov .text_wrapper .info .subinfo {
    color: #000;
    font-family: "Helvetica Neue";
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .advantages-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step {
    flex-direction: row;
    align-items: flex-start;
    max-width: unset;
    gap: 20px;
  }

  .step-title {
    text-align: left;
  }

  .step-desc {
    text-align: left;
  }

  .advantages-steps::before {
    background: url(/img/line-horizontal.svg) no-repeat center / contain;
    background-position: 40px -110px;
  }

  .devices {
    padding: 32px 40px;
  }

  .slider {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-bottom: 80px;
  }

  .devices-img img {
    width: 100%;
  }

  .bottom-form-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .form-text {
    max-width: 100%;
  }

  .nav-bottom {
    margin: 48px auto;
  }

  .footer-wrapper {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 660px) {
  .brands {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .hero-form {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 440px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  #burger {
    display: block;
  }

  .navbar-links {
    position: absolute;
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    background: #0b0b0b;
    padding: 20px;
    gap: 20px;
    right: calc(0% - 20px);
    top: -1000px;
  }

  .navbar {
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: row;
    justify-content: space-between;
  }

  .hero {
    border-radius: 32px;
  }

  .video-play {
    padding: 8px 20px;
  }

  .video-btn-2 {
    display: none;
  }

  .video-btn-1 {
    display: flex;
  }

  .hero-wrapper {
    padding-top: 24px;
  }

  .hero-sub {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .hero-text .title {
    margin-bottom: 24px;
  }

  .advantages {
    padding-bottom: 40px;
  }
  .karpatov {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .advantages-steps::before {
    background-position: 20px -110px;
  }

  .advantages .title {
    margin-bottom: 40px;
  }

  .advantages .small-title {
    margin-bottom: 16px;
  }

  .step img {
    width: 40px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-desc {
    font-size: 12px;
  }

  .devices {
    padding: 32px 20px;
  }

  .devices-text h5 {
    font-size: 12px;
  }

  .devices-text h4 {
    font-size: 16px;
  }

  .devices-text h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .devices-download a span:first-of-type {
    font-size: 12px;
  }

  .devices-download a span:last-of-type {
    font-size: 10px;
  }

  .devices-btns a {
    font-size: 20px;
  }

  .downloaded span:first-of-type {
    font-size: 12px;
  }

  .downloaded span:last-of-type {
    font-size: 16px;
  }

  .devices-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .devices-btns a {
    max-width: 100%;
  }

  .container-no-padding {
    padding-left: 0;
    padding-right: 0;
  }

  .slider-subtitle {
    margin-bottom: 40px;
  }

  .bottom-form-title {
    font-size: 24px;
  }

  .bottom-form-sub {
    font-size: 16px;
  }

  .bottom-form-text {
    color: #fff;
    font-family: "Helvetica Neue";
    font-size: 12px;
  }

  .nav-bottom {
    display: none;
  }

  .footer-wrapper {
    font-size: 12px;
  }
}
