/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: #222;
}

a {
    text-decoration: none;
    color: #E74C3C; /* Основной красный цвет */
}

.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button.primary {
    background-color: #E74C3C; /* Основной красный цвет */
    color: #fff;
}

.button.primary:hover {
    background-color: #C0392B; /* Темнее красный для ховера */
}

.button.secondary {
    background-color: #6c757d; /* Серый для вторичной кнопки */
    color: #fff;
    margin-left: 15px;
}

.button.secondary:hover {
    background-color: #545b62;
}

.button.large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Buttons on red background should be white */
.hero-section .button.primary,
.cta-bottom-section .button.primary {
    background-color: #fff;
    color: #E74C3C;
}

.hero-section .button.primary:hover,
.cta-bottom-section .button.primary:hover {
    background-color: #f0f0f0;
    color: #C0392B;
}

.hero-section .button.secondary,
.cta-bottom-section .button.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.hero-section .button.secondary:hover,
.cta-bottom-section .button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Icons */
.icon {
    color: #E74C3C; /* Цвет иконок */
    font-size: 2.5em;
    margin-bottom: 15px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #E74C3C, #C0392B); /* Градиент красного */
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.hero-section h1 {
    color: #fff;
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-section .subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    margin-bottom: 50px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Problem Section */
.problem-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.problem-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.problem-section p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
}

.problem-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.problem-points .point {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.problem-points .point img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.problem-points .point p {
    font-weight: 600;
    font-size: 1em;
    margin: 0;
}

/* Solution Section */
.solution-section {
    padding: 60px 0;
    text-align: center;
}

.solution-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.solution-section p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
}

.solution-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.solution-benefits .benefit {
    background-color: #ffebeb; /* Очень светлый красный */
    border-left: 5px solid #E74C3C; /* Основной красный цвет */
    border-radius: 8px;
    padding: 30px;
    width: 25%;
    min-width: 250px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.solution-benefits .benefit h3 {
    color: #E74C3C; /* Основной красный цвет */
    margin-top: 0;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-top: 0;
    color: #E74C3C; /* Основной красный цвет */
}

/* Audience Section */
.audience-section {
    padding: 60px 0;
    text-align: center;
}

.audience-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.audience-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.audience-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audience-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.audience-item h3 {
    margin-top: 0;
    color: #222;
}

.audience-cta {
    margin-top: 40px;
    font-size: 1.2em;
    font-weight: 600;
    color: #E74C3C; /* Основной красный цвет */
}

/* Pricing Section */
.pricing-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.pricing-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.pricing-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
}

.pricing-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 0 auto;
    max-width: 500px;
    text-align: left;
}

.pricing-card h3 {
    color: #E74C3C;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 2.5em;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
}

.pricing-card .price span {
    color: #E74C3C;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
}

.pricing-card ul li i {
    color: #28a745; /* Зеленый для галочек */
    margin-right: 10px;
}

.pricing-note {
    margin-top: 30px;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #222;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.testimonial-card p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    font-style: italic;
}

.testimonial-card .author {
    font-weight: 600;
    color: #E74C3C;
    font-style: normal;
    margin-bottom: 0;
}

/* CTA Bottom Section */
.cta-bottom-section {
    padding: 80px 0;
    background: linear-gradient(to right, #C0392B, #E74C3C); /* Градиент красного */
    color: #fff;
    text-align: center;
}

.cta-bottom-section h2 {
    color: #fff;
    font-size: 2.8em;
    margin-bottom: 40px;
}

/* Ensure links in red CTA section are readable; underline only paragraph link, not buttons */
.cta-bottom-section a {
    color: #ffffff;
}

/* Underline only links inside the paragraph */
.cta-bottom-section p a {
    text-decoration: underline;
}

.cta-bottom-section p a:hover,
.cta-bottom-section p a:focus {
    color: #FFE082; /* light amber for contrast on hover */
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

footer .footer-links a {
    color: #fff;
    margin: 0 15px;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

/* Popup styles */
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.popup-content h3 {
    color: #E74C3C;
    margin-top: 0;
    margin-bottom: 20px;
}

.popup-content input[type="text"],
.popup-content input[type="tel"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.popup-content button {
    background-color: #E74C3C;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.popup-content button:hover {
    background-color: #C0392B;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    color: #aaa;
}

.close-button:hover {
    color: #333;
}

/* Thank You Popup */
.thankyou-popup .popup-content {
    padding: 50px 30px;
}

.thankyou-popup .popup-content h3 {
    font-size: 2em;
}

.thankyou-popup .popup-content p {
    font-size: 1.1em;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2em;
    }

    .hero-section .subtitle {
        font-size: 1.2em;
    }

    .cta-buttons .button {
        margin: 10px 0;
        display: block;
    }

    .cta-buttons .button.secondary {
        margin-left: 0;
    }

    .problem-points .point, .solution-benefits .benefit {
        width: 100%;
        max-width: 350px;
    }

    .feature-grid, .audience-grid {
        grid-template-columns: 1fr;
    }

    .cta-bottom-section h2 {
        font-size: 2em;
    }

    footer .footer-links a {
        display: block;
        margin: 10px 0;
    }
}

/* Стили для галочки согласия */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    text-align: left;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    transform: scale(1.2);
}

.checkbox-container label {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-container label:hover {
    color: #dc3545;
}


