* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    color: white;
    overflow-x: hidden;   /* запретить горизонтальный скролл */
  overflow-y: auto;
    background: #F4F4F4;

}

.header {
    position: relative;
    z-index: 3; /* Поверх фона */
}


/* Контейнер с контентом */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 2; /* Поверх фона */
}

.right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.right img {
    width: 800px;

}

/* Правая часть (текст) */
.left {
    position: absolute;
    left: 100px;
    top: 20px;
    z-index: 5;
    flex: 1;
    text-align: left;
    padding: 20px;
    color: #000;
    max-width: 700px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 40px 0;

}

.feature-box {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;

}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box h3 {
  color: #004aad;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}


h1 {
    font-size: 30px;
}

p {
    font-size: 20px;
}

.phone-video {
    position: absolute;
    bottom: 0;
    left: 200px;
    width: 120%; /* или конкретная ширина */
    height: 120%; /* или авто */
    pointer-events: none; /* чтобы мышь проходила сквозь */
    z-index:1; /* поверх background, под интерфейсом */
}

.features {
    background: #edf3f8;
    padding: 60px 20px;
    color: #000;
    text-align: center;
}

.how-it-works {
        background: #edf3f8;
    padding: 60px 20px;
    color: #000;
    text-align: center;
}

.features h2,
.how-it-works h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.features-list,
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-list,
    .steps {
        flex-direction: row;
        justify-content: space-around;
    }
}

.feature, .step {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
}

.step img {
    width: 200px;
    height: 380px;

    margin-bottom: 10px;
}

.feature h3,
.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cta-section {
    background: #004aad;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 25px;
}

.cta-button {
    background: #ffcc00;
    color: #000;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #ffc107;
}

.faq-section {
    background: #f2f2f2;
    padding: 60px 20px;
    color: #000;
    text-align: center;
}

.faq-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}


.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 20px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer h4 {
    margin-bottom: 10px;
}

.pricing-section {
    background: #fff;
    padding: 60px 20px;
    color: #000;
    text-align: center;
}

.pricing-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
}

.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-cards {
        flex-direction: row;
        justify-content: space-between;
    }
}

.pricing-card {
    background: #f4f4f4;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.pricing-card ul li {
    margin: 8px 0;
}

.pricing-card button {
    background-color: #004aad;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pricing-card button:hover {
    background-color: #0056b3;
}

.testimonials-section {
    position: relative;
    z-index: 2;
    background: #004aad;
    padding: 60px 20px;
    color: #fff;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.testimonial-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    display: flex;
    flex: 0 0 100%;
    gap: 20px;
    justify-content: space-around;
}

.testimonial-card {
    background: #f9f9f9;
    color: #000;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #004aad;
    margin-bottom: 10px;
}

.testimonial-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.carousel-container {
    position: relative;
    overflow: visible; /* чтобы кнопки не обрезались */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #ffcc00;
    font-size: 48px;
    cursor: pointer;
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background 0.3s ease, transform 0.2s ease;
}


.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.05);

}


.carousel-btn.left {
    left: 180px;
}

.carousel-btn.left svg {
    transform: translateX(-2px); /* сдвигаем по оси X */

  }

  .carousel-btn.right svg {
    transform: translateX(1px); /* сдвигаем по оси X */

  }

.carousel-btn.right {
    right: 180px;
}

.carousel-dots {
    margin-top: 20px;
}

.carousel-dots button {
    border: none;
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-dots button.active {
    opacity: 1;
    background: #ffc107;
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        max-width: 90%;
        margin-bottom: 20px;
    }
}

/* Модальное окно */
/* Модальное окно */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed; /* Фиксированное расположение */
    z-index: 1; /* На переднем плане */
    left: 0;
    top: 0;
    width: 100%; /* На всю ширину */
    height: 100%; /* На всю высоту */
    background-color: rgba(0, 0, 0, 0.4); /* Полупрозрачный фон */
    padding-top: 60px; /* Отступ сверху */
}


/* Контент модального окна */
.modal-content {
    background-color: #fff;
    margin: 5% auto; /* Центрируем */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Ширина модального окна */
    max-width: 400px; /* Максимальная ширина */
    border-radius: 8px; /* Закругленные углы */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Кнопка закрытия */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Кнопка закрытия при наведении */
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Заголовок */
h3 {
    margin-top: 0;
    font-size: 18px;
}

/* Форма */
#threshold-form {
    display: flex;
    flex-direction: column;
}

/* Поле ввода */
#modal-threshold {
    padding: 10px;
    margin: 10px 0;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Кнопка действия */
.action-button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

/* Кнопка действия при наведении */
.action-button:hover {
    background-color: #45a049;
}
