.cta-btn, .reviews-section, .testimonial-card {
    overflow: hidden;
    position: relative
}

.cta-btn::before, .reviews-section::after, .reviews-section::before, .section-title::after, .testimonial-card::before {
    content: "";
    position: absolute
}

body, html {
    scroll-behavior: smooth
}

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

@keyframes pulse {
    0%, to {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(108, 117, 125, .4)
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(108, 117, 125, .6)
    }
}

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


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

.hero-text h1 {
    font-weight: 800;
    font-size: 3.2rem
}

.pricing-card h3, .pricing-price, .user-name {
    font-weight: 700
}

.hero-stats {
    margin-top: 20px;
    font-size: 1.1rem
}

.cta-btn {
    font-size: 18px;
    padding: 14px 35px;
    border-radius: 30px;
    transition: .3s;
    animation: 2s infinite pulse;
    white-space: nowrap
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2)
}

.feature-icon {
    font-size: 50px;
    color: #4facfe;
    margin-bottom: 15px
}

.card {
    border: 0;
    border-radius: 20px;
    transition: transform .3s
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1)
}

.pricing-card {
    border-radius: 20px;
    padding: 40px;
    transition: .3s
}

.pricing-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1)
}

.pricing-price {
    font-size: 2rem
}

.testimonial {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05)
}

.testimonial img {
    width: 60px;
    height: 60px;
    border-radius: 50%
}

footer {
    background: #212529;
    color: #bbb;
    padding: 40px 0 20px
}

footer a {
    color: #bbb;
    margin: 0 10px
}

footer a:hover, header {
    color: #fff
}

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

.wave {
    line-height: 0
}

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

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

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

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

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem !important
}

.section-title::after {
    width: 70px;
    height: 4px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px
}

.card-hover:hover, .testimonial-card:hover {
    transform: translateY(-10px)
}

.testimonial-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;
    border: 0;
    height: 100%
}

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

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

.user-avatar {
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(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 {
    margin-bottom: .25rem
}

.user-role {
    color: #6c757d;
    font-size: .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: 0
}

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

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

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

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

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

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

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

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

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

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

html {
    text-rendering: optimizeLegibility
}

.navbar {
    transition: background-color .3s, padding .3s
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, .85) !important;
    backdrop-filter: blur(10px)
}

.card-hover {
    transition: .3s;
    cursor: pointer
}

.testimonial-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.user-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.6rem;
        line-height: 1.3
    }

    header .lead {
        font-size: 1rem
    }

    .cta-grid a {
        flex: 1 1 100%
    }

    .hero-stats {
        flex-direction: column;
        font-size: .9rem
    }

    .cta-btn {
        width: 100%
    }
}

.wave svg {
    width: 100%;
    height: auto;
    display: block
}

@media (max-width: 400px) {
    .btn-lg {
        font-size: 1rem;
        padding: .6rem 1rem
    }

    .hero-text h1 {
        font-size: 1.4rem
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px
    }

    .hero-text h1 {
        font-size: 2.8rem
    }
}

.content-info{
    background: #ffffff;
    padding:  2em 1.2em;
    border: 1px solid #ebebeb;
    border-radius: 5px;
}


body {
    font-family: "Segoe UI", sans-serif;
    background: #f5f7fb;
    color: #222;
    font-weight: 400;
}

/* NAV */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.7) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* HERO */
header {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #1f4fff 0%, #6f94ff 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

header::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
    top: -150px;
    right: -100px;
    filter: blur(60px);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.btn-cta {
    padding: 14px 32px;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* SECTION TITLE */
.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* MODERN CARDS */
.glass-card {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 32px;
    transition: 0.25s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.pricing-card h3 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1f4fff;
    margin-bottom: 10px;
}

/* REVIEWS */
.review-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: 0.25s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
    padding: 50px 0;
    background: #10121d;
    color: #bbb;
}


.other-subjects a:hover{
    opacity: 0.8;
}


.faq-icon {
    font-size: 1.6rem;
    margin-right: 12px;
    color: #1f4fff;
}
.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding-left: 1.2rem;
}
.accordion-button:not(.collapsed) {
    background: rgba(31,79,255,0.08);
    color: #1f4fff;
    box-shadow: none;
}
.accordion-item {
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid #e6e9f5 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.badge-premium {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.badge-popular { color:#1f4fff; }
.badge-hit { color:#ff3e8a; }
.badge-best { color:#1cbf6b; }

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .btn-cta {
        font-size: 1.1rem;
        min-width: 100%;
    }

    .mobile-img {
        max-height: 280px !important;
    }
}


@media (max-width: 991px) {
    header{
        margin-top: 60px;
    }
}

@media (max-width: 575.98px) {

    .hero-title {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem !important;
    }

    .mobile-img {
        max-height: 220px !important;
    }
}

/* Анимация для кнопок на hover */
.btn-cta {
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Плавный скролл для якорных ссылок */
html {
    scroll-behavior: smooth;
}