/* ----------- Общие стили для большинства блоков -------------------- */

body {
  background-image: linear-gradient(to right, var(--whiteText), #dadde2);
}

.container {
  max-width: 1440px;
  padding: 0;
}

.content-container {
  width: 1280px;
  margin: auto;
}

.button {
  border-radius: 12px;
  font-size: 18px;
  width: fit-content;
  font-weight: 500;
  padding: 12px 14px;
  color: var(--whiteText);
  background-color: var(--accent);
  font-family: var(--font-ttnorms);
  outline: none;
  border: none;
  transition: 0.3s ease;
}

.button:hover {
  transition: 0.3s ease;
  color: var(--whiteText) !important;
  background-color: #1a62af;
}

/* ----------- Шапка сайта ---------------------- */

.header {
  transition: all 0.5s;
  z-index: 997;
}

.header.sticked {
  background-image: linear-gradient(to right, var(--whiteText), #dadde2);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.header__button {
  position: relative;
  transition: transform 0.3s ease;
}

.header__button:hover {
  transition: transform 0.3s ease;
  transform: scale(1.1);
}

.header__button::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: -8px;
  height: 1px;
  background-color: var(--mainText);
  width: 111%;
}

.header__button a {
  font-size: 16px;
  font-weight: 500;
  color: var(--mainText);
}

.navbar .navbar__list {
  display: flex;
  gap: 32px;
}

.navbar .navbar__menu-item {
  color: var(--mainText);
  font-size: 16px;
  font-weight: normal;
}

.navbar .navbar__list li {
  display: inline-block;
  transition: transform 0.3s ease;
}

.navbar .navbar__list li:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.navbar .navbar__list .navbar .navbar__menu-item:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > .navbar__menu-item {
  transform: scale(1.1);
}

.navbar__menu-item.active {
  color: var(--accent); /* Меняем цвет текста */
}
/* ------------ Заголовочный блок с картинкой ноутбука ---------------------- */

.first-block {
  width: 100%;
  background-image: linear-gradient(to right, var(--whiteText), #dadde2);
}

.first-block__container {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.first-block__text-container {
  display: flex;
  flex-direction: column;
  gap: 24px;

  position: absolute;
  top: 0;
  left: 0;
}

.first-block__title {
  width: 682px;
  line-height: 56px;
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 0;
  background: linear-gradient(90deg, #064a88 0%, #115aaf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0b2349;
}

.first-block__subtitle {
  width: 390px;
  font-size: 20px;
  margin-bottom: 0;
  color: var(--mainText);
  font-family: var(--font-ttnorms);
}

.first-block__img-container {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.first-block__img-container img {
  width: 850px;
}

/* --------- Блок "Как подключить?" -------------- */

.application {
  background-color: #dadde2;
  width: 100%;
}

.application__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
  z-index: 5;
}

.application__text {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0;
  position: relative;
  z-index: 8;
}

.application__link-container {
  margin-bottom: 0;
  color: var(--mainText);
  font-size: 20px;
  position: relative;
  z-index: 4;
}

.application__link {
  font-size: 20px;
  color: var(--accent);
  font-weight: 400;
  text-decoration: underline;
}

.application__link:hover {
  color: var(--accent);
}

.application__arrows-container {
  position: absolute;
  width: 100%;
  height: 60px;
  top: 7px;
  overflow: hidden;
  z-index: 4;
}

.application__arrows-container-mobile {
  display: none;
  position: absolute;
  top: -20px;
  right: 20%;
  overflow: hidden;
  z-index: 4;
  width: 200px;
  height: 135px;
}

.application__arrows-mobile {
  position: relative;
  height: 150px;
  top: -10px;
  overflow: hidden;
}

.application__arrows {
  position: relative;
  width: 1280px;
  height: 60px;
  left: -20px;
  overflow: hidden;
}

.arrow {
  position: absolute;
  animation: moveArrow 20s linear infinite;
}

@keyframes moveArrow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(1280px);
  }
}

.vertical-arrow {
  position: absolute;
  animation: moveVertical 2s linear infinite;
}

@keyframes moveVertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(130px);
  }
}

/* ---------------- Блок Этапов -------------------------- */
.steps-block {
  background-image: url("./../images/newImages/steps-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 970px;
  margin: 0 auto;
  padding-top: 64px;
}

.steps-block__container {
  display: flex;
  justify-content: space-between;
}

.steps-block__text-container {
  width: 600px;
}

.steps-block__title {
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 24px;
  background: linear-gradient(to right, #1362aa 0%, #56a7f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.steps-block__text {
  color: var(--whiteText);
  font-size: 16px;
  margin-bottom: 32px;
  width: 492px;
  font-family: var(--font-ttnorms);
}

.time-line__container {
  display: flex;
  width: 50%;
  gap: 24px;
}

.time-line {
  font-family: var(--font-ttnorms);
  color: var(--whiteText);
}

.time-line__title {
  font-size: 24px;
  font-weight: 500;
}

.time-line__text {
  font-size: 16px;
  margin-bottom: 10px;
}

.time-line__img {
  margin-top: 4px;
}

/* ---------------- О нас ------------------------------- */
.about-us {
  padding: 64px 80px 100px 80px;
}

.about-us__container {
  display: flex;
  gap: 40px;
}

.about-us__text-container {
  font-size: 16px;
  width: 50%;
  max-width: 620px;
  font-family: var(--font-ttnorms);
  color: var(--mainText);
}

.about-us__text-container p {
  margin-bottom: 10px;
}

.about-us__text-container a {
  display: block;
  margin-top: 10px;
}

.about-us__text-bold {
  font-weight: 600;
}

.about-us__title {
  font-size: 48px;
  font-weight: 500;
  background: linear-gradient(90deg, #1362aa 0%, #56a7f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.slider__content-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  background-image: url("./../images/newImages/laptop-slider.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 620px;
  height: 400px;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  width: 508px;
  max-width: 100%;
  margin: 0 auto;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  height: 330px;
  margin-top: 24px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.slide-content {
  text-align: center;
}

.slide-content h2 {
  margin: 0 0 25px 0;
  font-weight: 500;
  color: var(--accent);
  font-size: 32px;
}

.slide-content p {
  margin: 0;
  color: var(--mainText);
  font-size: 18px;
  font-family: var(--font-ttnorms);
  line-height: normal;
}

.slider-btn {
  position: absolute;
  top: 170px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--whiteText);
  border: none;
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  z-index: 10;
  border: 1px solid var(--accent);
}

.small-mobile {
  display: none;
}

.slider-btn:hover {
  background-color: var(--accent);
  color: var(--whiteText);
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.prev-btn {
  left: -55px;
}

.next-btn {
  right: -55px;
}
/* ---------- Для лицензиатов и собствеников блок ----------------- */

.our-advantages {
  display: flex;
  width: 100%;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  background-image: linear-gradient(to right, var(--whiteText), #dadde2);
  padding: 0;
}

.our-advantages__container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.our-advantages__column-container {
  display: grid;
  width: 50%;
  margin-left: auto;
  padding-right: 40px;
  background: linear-gradient(90deg, #064a88 0%, #115aaf 100%);
}

.our-advantages__column--inner {
  background: inherit;
  margin-right: auto;
  padding: 0px;
}

.our-advantages__content-container--inner {
  margin-left: 45px !important;
  margin-right: auto;
}

.our-advantages__content-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  width: 600px;
  margin-bottom: 75px;
}

.our-advantages__title {
  line-height: 48px;
  font-size: 48px;
  font-weight: 700;
  margin: 48px auto;
  color: white;
  width: 600px;
  text-transform: uppercase;
}

.our-advantages__title--inner {
  color: var(--accent);
}

.our-advantages__column {
  display: grid;
  grid-template-columns: 291px 290px;
  column-gap: 24px;
  row-gap: 55px;
}

.our-advantages__plate {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  color: var(--whiteText);
}

.our-advantages__plate--inner {
  color: var(--mainText);
}

.our-advantages__plate-img {
  margin-bottom: 24px;
}

.our-advantages__plate-title {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 500;
}

.our-advantages__plate-text {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  font-family: var(--font-ttnorms);
}

/* ---------- Вопрос-ответ блок ----------------- */

.faq {
  width: 100%;
  background-image: linear-gradient(to right, var(--whiteText), #dadde2);
}

.faq__container {
  display: flex;
  justify-content: space-between;
  padding-top: 80px;
}

.faq__text {
  font-size: 20px;
  font-weight: 600;
  font-family: var(--font-ttnorms);
}

.faq__text p {
  line-height: 23px;
  margin-bottom: 0;
}

.faq__text p:last-child {
  font-weight: 400;
}

.faq__left-col {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 50%;
}

.faq__title-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__title-container h2 {
  font-size: 47px;
  text-transform: uppercase;
  font-weight: 500;
  background: linear-gradient(90deg, #1362aa 0%, #56a7f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chatbot__bg-img {
  width: 709px;
  height: 521px;
  position: absolute;
  bottom: -90px;
}

.chatbot__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatbot {
  width: 600px;
  height: 525px;
  background-color: var(--whiteText);
  border-radius: 24px;
  font-family: var(--font-ttnorms);
  padding: 16px;
}

.chatbot-container {
  padding-bottom: 40px;
}

.chatbot__title {
  text-align: center;
  color: var(--mainText);
  font-size: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #cad8e0;
  font-family: var(--font-ttnorms);
}

.textarea {
  border: none;
  background-color: inherit;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-ttnorms);
}

textarea::-webkit-resizer {
  display: none;
}

.textarea:focus-visible {
  outline: none;
}

.textarea::placeholder {
  font-family: var(--font-ttnorms);
}

.textarea-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  height: 140px;
  background-color: #f4f6f6;
  border-radius: 16px;
  border: 1px solid #e2e3e8;
}

.textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.textarea__send-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #0391f6;
  border-radius: 50%;
  border: none;
}

.textarea__send-button-arrow {
  width: 12px;
  height: 12px;
  transform: rotate(225deg);
  margin-top: 7px;
  border-radius: 2px;
  border-right: 2px solid var(--whiteText);
  border-bottom: 2px solid var(--whiteText);
}

.chat-hello {
  display: flex;
  gap: 12px;
  color: var(--mainText);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

.chat-hello-img {
  flex-shrink: 0;
  margin-bottom: 16px;
  width: 30px;
  height: 30px;
}

.chat-hello-img img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.chat-hello p {
  margin: 0;
  margin-bottom: 24px;
}

.chat-hello p:last-child {
  font-weight: 400;
  font-size: 16px;
}

.messages-container {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transition: scroll-behavior 0.3s ease-out;
  height: 290px;
  overflow-y: auto;
}

.dots {
  display: flex;
  margin-top: 5px;
}

.dot {
  height: fit-content;
}

.dots .dot {
  animation: blink 1s infinite;
  opacity: 0;
}

.dots div:nth-child(1) {
  animation-delay: 0s;
}
.dots div:nth-child(2) {
  animation-delay: 0.2s;
}
.dots div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.bot-equipments {
  display: flex;
  gap: 18px;
  width: 80%;
  margin: 5px 0 10px 40px;
}

.bot-equipments > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.user-message {
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 24px;
  margin-left: auto;
  background-color: #e0f2ff;
  color: var(--mainText);
  max-width: 80%;
}

.bot-message {
  display: flex;
  gap: 12px;
  align-self: flex-start;
  background-color: inherit;
  color: #030c23;
  max-width: 80%;
  font-weight: 500;
}

.bot-message img {
  width: 30px;
  height: 30px;
  max-height: 30px;
  border-radius: 50%;
}

.bot-message p {
  margin: 0;
}

/* ---------- футер ----------------- */

.footer {
  background-image: url("./../images/newImages/footer-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  color: var(--whiteText);
}

.footer__container {
  display: flex;
  padding: 48px 0px 32px 0;
  gap: 70px;
}

.footer__politics {
  display: flex;
  flex-direction: column;
  width: 341px;
  gap: 20px;
  font-family: var(--font-ttnorms);
}

.footer__politics-items {
  display: flex;
  gap: 16px;
}

.footer__politics-items a {
  font-size: 16px;
  font-weight: 500;
  color: var(--whiteText);
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer__politics-items a:hover {
  transition: transform 0.3s ease;
  transform: scale(1.1);
}

.footer__politics-text {
  margin-bottom: 0;
}

.footer__logo {
  width: 124px;
  height: 62px;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__title-wrapper {
  display: flex;
  flex-direction: column;
  font-size: 60px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer__title-item {
  line-height: 66px;
  margin-bottom: 0;
  background: linear-gradient(90deg, #206fb7 0%, #56a7f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__title-item:last-child {
  margin-left: auto;
}

.footer__contacts-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.footer__contacts-title {
  font-size: 24px;
  font-weight: 600;
}

.footer__contacts {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  font-family: var(--font-ttnorms);
}

.footer__contacts-elements {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 215px;
  font-size: 16px;
  font-weight: 400;
}

.footer__contacts-elements div {
  display: inline-flex;
  margin-bottom: 0;
  transition: transform 0.3s ease;
  gap: 8px;
}

.footer__contacts-elements p {
  margin-bottom: 0;
}

.footer__contacts-elements a {
  color: var(--whiteText);
}

.footer__contacts-elements div:hover {
  transform: scale(1.1);
}

.footer__qrcode {
  width: 112px;
  height: 112px;
}

.footer__qrcode img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.callbackForm {
  display: flex;
  flex-direction: column;
  font-family: var(--font-ttnorms);
  gap: 16px;
}

.callbackForm button {
  margin: 0 auto;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-wrapper input {
  font-weight: 400;
  color: #030c23;
  font-size: 16px;
  line-height: 20px;
  padding: 14px 16px;
  background-color: rgba(16, 16, 16, 0.03);
  width: 100%;
}
