body {font-family: 'Segoe UI', sans-serif; background-color: #f8f9fa; scroll-behavior: smooth;}
body.dark {
    background-color: #121212;
    color: #e0e0e0;
}

.task-container {
    max-width: 900px;
    margin: 80px auto 40px;
    padding: 0 15px;
}

/* Navbar */
.navbar {transition: background-color 0.4s ease;}
.navbar.scrolled {background-color: rgba(33,37,41,0.95) !important;}
.nav-link {color: white !important; font-weight: 500; transition: color 0.3s;}
.nav-link:hover {color: #126df3 !important;}
/* Hero */
header {
    background: linear-gradient(135deg, #d34ffe, #00c3fe);
    color: white;
    padding: 120px 0 0;
    background-size: 400% 400%;
    animation: gradientAnimation 30s ease-in-out infinite; /* длиннее и плавнее */
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.hero-text h1 {font-weight: 800; font-size: 3.2rem;}
.hero-stats {margin-top: 20px; font-size: 1.1rem;}
.cta-btn {font-size: 18px; padding: 14px 35px; border-radius: 30px; transition: all 0.3s ease;}
.cta-btn:hover {transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.2);}
/* Cards */
.feature-icon {font-size: 50px; color: #4facfe; margin-bottom: 15px;}
.card {border: none; border-radius: 20px; transition: transform 0.3s;}
.card:hover {transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1);}
/* Pricing */
.pricing-card {border-radius: 20px; padding: 40px; transition: all .3s;}
.pricing-card:hover {transform: scale(1.03); box-shadow: 0 10px 25px rgba(0,0,0,0.1);}
.pricing-card h3 {font-weight: bold;}
.pricing-price {font-size: 2rem; font-weight: 700;}
/* Testimonials */
.testimonial {background: white; border-radius: 15px; padding: 25px; box-shadow: 0 8px 20px rgba(0,0,0,0.05);}
.testimonial img {width: 60px; height: 60px; border-radius: 50%;}
/* Footer */
footer {background: #212529; color: #bbb; padding: 40px 0 20px;}
footer a {color: #bbb; margin: 0 10px; transition: color 0.3s;}
footer a:hover {color: white;}


#how{
    background-color: #f3f3f3 !important;
}

.wave {
    line-height: 0; /* убираем лишние отступы */
}
.wave svg {
    display: block;
    width: 100%;
    height: auto;
}


.cta-btn {
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent
    );
    animation: shine 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(108, 117, 125, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(108, 117, 125, 0.6);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}


.reviews-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #e6f0ff 100%);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.05);
    top: -150px;
    right: -150px;
}

.reviews-section::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(76, 201, 240, 0.05);
    bottom: -100px;
    left: -100px;
}

.section-title {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 3rem !important;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 2rem 1.5rem;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: rgba(67, 97, 238, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.user-name {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.user-role {
    color: #6c757d;
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    border: none;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
}

.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: -40px;
}

.carousel-control-next {
    right: -40px;
}

@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 2rem;
    }

    .carousel-control-prev, .carousel-control-next {
        opacity: 1;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

#features-how{
    background-color: #fff;
}

#features-how .card{
    border: 1px solid #e3e3e3;
}