/* ---------- БАЗОВЫЕ СТИЛИ ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
}

body.locked {
    overflow: hidden;
    /* блокируем скролл при открытой плашке */
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.visible {
    opacity: 1;
    pointer-events: all;
    transition: opacity 1s ease;
}

/* ---------- ДИСКЛЕЙМЕР ---------- */
.disclaimer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.disclaimer-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.disclaimer-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(91, 33, 182, 0.15);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
    max-width: 640px;
    padding: 50px 40px;
    text-align: center;
    animation: fadeUp 0.9s ease;
}

.disclaimer-box h2 {
    font-size: 26px;
    font-weight: 700;
    color: #5B21B6;
    margin-bottom: 20px;
}

.disclaimer-box p {
    color: #1E293B;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.disclaimer-box button {
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 42px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(91, 33, 182, 0.3);
}

.disclaimer-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 33, 182, 0.4);
}

/* ---------- АНИМАЦИЯ ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(91, 33, 182, 0.1);
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(91, 33, 182, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---------- LOGO ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-wave {
    width: 28px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(90deg, #3B82F6, #5B21B6);
    box-shadow: 0 0 10px rgba(91, 33, 182, 0.4);
}

/* ---------- NAV ---------- */
.nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    color: #1E293B;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #5B21B6;
}

/* ---------- CTA BUTTON ---------- */
.cta-btn {
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    color: #fff;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

/* ---------- BURGER ---------- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #1E293B;
    border-radius: 3px;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    overflow: hidden;
    background: linear-gradient(180deg, #F9FAFB 0%, #E0E7FF 100%);

}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    backdrop-filter: blur(15px);
    padding: 60px;
}

.hero__title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    background: linear-gradient(90deg, #e1d1fc, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.hero__subtitle {
    color: #fff;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero__cta {
    display: inline-block;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    color: #fff;
    padding: 14px 40px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(91, 33, 182, 0.25);
    transition: transform 0.3s ease;
}

.hero__cta:hover {
    transform: translateY(-3px);
}

/* ---------- HERO IMAGE ---------- */
.hero__image {
    position: absolute;
    bottom: -10%;
    right: 0;
    width: 100%;
    opacity: 0.8;
    transform: translateY(0);
    transition: transform 0.8s ease;
}

.hero__image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(91, 33, 182, 0.25));
}

/* ---------- BACKGROUND ---------- */
.hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 40%, rgba(91, 33, 182, 0.1), transparent 70%),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1), transparent 70%);
    z-index: 0;
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero__image {
        width: 90%;
        bottom: -5%;
    }
}

/* ---------- ABOUT SECTION ---------- */
.about {
    padding: 120px 20px;
    background: linear-gradient(180deg, #F9FAFB 0%, #EEF2FF 100%);
    position: relative;
}

.about__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about__title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.about__text {
    color: #1E293B;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__content {
    flex: 1 1 55%;
    z-index: 2;
}

.about__image {
    flex: 1 1 40%;
    position: relative;
    text-align: center;
}

.about__image img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 10px 35px rgba(91, 33, 182, 0.25));
    transition: transform 0.6s ease;
}

.about__image img:hover {
    transform: scale(1.03);
}

/* ---------- STATS ---------- */
.about__stats {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(91, 33, 182, 0.1);
    padding: 25px 35px;
    text-align: center;
    flex: 1 1 30%;
    min-width: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

.stat h3 {
    font-size: 32px;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat p {
    font-size: 15px;
    color: #475569;
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 992px) {
    .about__container {
        flex-direction: column;
        text-align: center;
    }

    .about__image img {
        max-width: 400px;
        margin-top: 30px;
    }

    .about__stats {
        justify-content: center;
    }
}

.stat {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.stat.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- PROGRAM SECTION ---------- */
.program {
    padding: 120px 20px;
    background: #FFFFFF;
    position: relative;
}

.program__title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.program__subtitle {
    text-align: center;
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 70px;
}

/* ---------- TIMELINE ---------- */
.timeline {
    position: relative;
    margin: 0 auto;
    max-width: 900px;
    padding-left: 40px;
    border-left: 3px solid rgba(91, 33, 182, 0.1);
}

.timeline__item {
    position: relative;
    margin-bottom: 80px;
    padding-left: 40px;
}

.timeline__icon {
    position: absolute;
    left: -28px;
    top: 0;
    background: linear-gradient(135deg, #5B21B6, #3B82F6);
    color: #fff;
    font-weight: 700;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.3);
}

.timeline__content {
    background: #F9FAFB;
    border-radius: 18px;
    padding: 30px 35px;
    box-shadow: 0 10px 25px rgba(91, 33, 182, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline__content:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

.timeline__content h3 {
    font-size: 24px;
    color: #1E293B;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline__content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.timeline__content ul {
    list-style: none;
    padding-left: 0;
}

.timeline__content ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #1E293B;
}

.timeline__content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #5B21B6;
    font-weight: bold;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 20px;
    }

    .timeline__item {
        padding-left: 30px;
    }
}

.timeline__content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.timeline__content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- ADVANTAGES SECTION ---------- */
.advantages {
    background: linear-gradient(180deg, #EEF2FF 0%, #FFFFFF 100%);
    padding: 120px 20px;
    text-align: center;
}

.advantages__title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.advantages__subtitle {
    color: #475569;
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* ---------- GRID ---------- */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    justify-content: center;
}

.adv-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(91, 33, 182, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(91, 33, 182, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.adv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
}

.adv-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(91, 33, 182, 0.25));
}

.adv-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1E293B;
}

.adv-card p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
}

/* ---------- ANIMATION ---------- */
.adv-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.adv-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 768px) {
    .advantages__subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .adv-card {
        padding: 30px 20px;
    }

    .adv-card h3 {
        font-size: 20px;
    }
}

/* ---------- REVIEWS SECTION ---------- */
.reviews {
    background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
    padding: 120px 20px;
}

.reviews__title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 20px;
}

.reviews__subtitle {
    text-align: center;
    color: #475569;
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* ---------- GRID ---------- */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    justify-content: center;
    align-items: stretch;
}

.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(91, 33, 182, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

.review-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.review-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 4px;
}

.review-level {
    display: inline-block;
    font-size: 14px;
    color: #5B21B6;
    font-weight: 600;
    margin-bottom: 15px;
}

.review-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- ANIMATION ---------- */
.review-card {
    transition: all 0.7s ease;
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 768px) {
    .reviews__title {
        font-size: 28px;
    }

    .reviews__subtitle {
        font-size: 16px;
    }

    .review-card {
        padding: 25px 20px;
    }
}

/* ---------- CONTACT SECTION ---------- */
.contact {
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF2FF 100%);
    padding: 120px 20px;
}

.contact__container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact__info {
    flex: 1 1 40%;
}

.contact__title {
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.contact__subtitle {
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.socials {
    display: flex;
    gap: 20px;
}

.social-link img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover img {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(91, 33, 182, 0.25);
}

/* ---------- FORM ---------- */
.contact__form {
    flex: 1 1 50%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(91, 33, 182, 0.08);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.contact__form input,
.contact__form textarea {
    width: 100%;
    border: 1px solid rgba(91, 33, 182, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    color: #1E293B;
    background: #F9FAFB;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact__form input:focus,
.contact__form textarea:focus {
    outline: none;
    border-color: #5B21B6;
    box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.15);
}

.contact__btn {
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(91, 33, 182, 0.25);
}

.contact__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.contact__note {
    font-size: 15px;
    color: #475569;
    margin-top: 15px;
    text-align: center;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #F1F5F9;
    padding: 50px 20px;
    border-top: 1px solid rgba(91, 33, 182, 0.1);
}

.footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__wave {
    width: 28px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(90deg, #3B82F6, #5B21B6);
    box-shadow: 0 0 10px rgba(91, 33, 182, 0.3);
}

.footer__logo h3 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #5B21B6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer__menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer__menu a {
    text-decoration: none;
    color: #1E293B;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__menu a:hover {
    color: #5B21B6;
}

.footer__info {
    text-align: right;
}

.footer__email {
    display: block;
    font-weight: 600;
    color: #3B82F6;
    text-decoration: none;
    margin-bottom: 6px;
}

.footer__info p {
    color: #475569;
    font-size: 14px;
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 768px) {
    .contact__container {
        flex-direction: column;
        align-items: center;
    }

    .contact__form {
        width: 100%;
    }

    .footer__container {
        flex-direction: column;
        text-align: center;
    }

    .footer__info {
        text-align: center;
    }
}