.cta-section {
  background-color: var(--background-hero);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.cta-section .cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section .cta-title {
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  max-width: 100%;
}

.cta-section .cta-description {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  max-width: 100%;
}

.cta-section .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  background-color: var(--primary-color);
  color: var(--text-white);
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(237, 62, 62, 0.2);
}

.cta-section .btn-primary:hover {
  background-color: #d63333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 62, 62, 0.3);
}

.cta-section .btn-primary.large {
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 700;
}

.cta-visual {
  flex: 1;
  position: relative;
  padding: 80px 40px 0;
  /* display: flex; */
  justify-content: space-between;
  align-items: flex-start;
  max-width: 720px;
  height: 650px;
}

.mobile-screens {
  display: flex;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.mobile-screen {
  width: 196px;
  height: 420px;
  border-radius: 30px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.mobile-screen:hover {
  transform: translateY(-10px);
}

.banner-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 699px;
  height: 172px;
  object-fit: cover;
  z-index: 1;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: var(--background-dark);
  border-radius: 10px;
  box-shadow: var(--shadow-modal);
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 500;
  line-height: 60px;
  color: var(--text-white);
  letter-spacing: -2.08px;
  max-width: 580px;
}

.modal-description {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.19;
  color: var(--text-white);
  max-width: 580px;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: var(--primary-color);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(237, 62, 62, 0.2);
}

.modal-cta:hover {
  background-color: #d63333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 62, 62, 0.3);
}

@media (max-width: 1200px) {
  .cta-content {
    flex-direction: column;
    min-height: auto;
  }

  .cta-text-content {
    padding: 40px 20px;
    max-width: 100%;
    text-align: center;
  }

  .cta-visual {
    padding: 40px 20px;
    max-width: 100%;
    height: auto;
    justify-content: center;
  }

  .mobile-screens {
    gap: 16px;
  }

  .mobile-screen {
    width: 120px;
    height: 260px;
  }

  .banner-image {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .mobile-screens.swiper {
    display: block !important;
    gap: 0 !important;
    width: 100%;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
  }

  .cta-section .container {
    padding: 0 20px;
  }

  .cta-section .cta-content {
    gap: 20px;
  }

  .cta-section .cta-title {
    font-size: 32px;
    max-width: 100%;
  }

  .cta-section .cta-description {
    font-size: 16px;
    max-width: 100%;
  }

  .cta-section .btn-primary {
    padding: 16px 32px;
    font-size: 16px;
  }

  .cta-section .btn-primary.large {
    padding: 18px 36px;
    font-size: 18px;
  }

  .mobile-screens {
    flex-wrap: wrap;
    gap: 12px;
  }

  .mobile-screen {
    width: 100px;
    height: 200px;
  }

  .modal-content {
    padding: 40px 20px;
    gap: 30px;
  }

  .modal-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .modal-description {
    font-size: 16px;
  }

  .mobile-screens.swiper {
    display: block !important;
    gap: 0 !important;
    width: 100%;
    overflow: visible;
  }
}

@media (max-width: 600px) {
  .mobile-screens.swiper {
    display: block !important;
    gap: 0 !important;
    width: 100%;
    overflow: visible;
  }
}
