/* === Улучшенный блок программы курса — новые стили === */
/* custom */
.section-subtitle {
    text-align: center;
    padding-bottom: 2rem;
}

.landing22 .what__content--enhanced {
    display: unset !important;
}
/* custom */

/* custom 2 */

/* === Вариант C: Visual Module Header === */

/* Бейдж модуля */
.landing22 .module-hero--visual .module__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    margin-bottom: 1rem;
}

.landing22 .module-hero--visual .module__badge-number {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.landing22 .module-hero--visual .module__badge-text {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);

    letter-spacing: 0.08em;
}


/* custom 2 */


/* custom 3 */
/* === Module Cards Layout — Variant B === */

/* Контейнер секции */
.landing22 .what--module-cards {
    padding: 3rem 2rem 4rem;
    background: linear-gradient(180deg, #fff 0%, #f8f9fc 100%);
}

.landing22 .what__content--module {
    max-width: 900px;
    margin: 0 auto;
    display: block !important;
}

/* === Прогресс модуля (те же стили, что и в Variant A) === */
.landing22 .module-progress--enhanced {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 188, 205, 0.3);
    border-left-width: 4px;
}

.landing22 .module-progress__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.landing22 .module-progress__header h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.landing22 .module-progress__percent {
    font-size: 20px;
    font-weight: 800;
    color: #11bcbd;
}

.landing22 .progress--enhanced {
    height: 8px;
    background: #eef2f7;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.landing22 .module-progress__status {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.landing22 .module-progress__status strong {
    color: #1a1a2e;
}

/* === Хлебные крошки === */
.landing22 .breadcrumbs--module {
    font-size: 13px;
    color: #888;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.landing22 .breadcrumbs--module a {
    color: #11bcbd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing22 .breadcrumbs--module a:hover {
    color: #330867;
    text-decoration: underline;
}

.landing22 .breadcrumbs--module span {
    color: #333;
    font-weight: 600;
}

/* === Заголовок и описание модуля === */
.landing22 .module-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.landing22 .module-description {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 2rem;
}

/* === Список уроков — КАРТОЧКИ === */
.landing22 .lessons-wrapper {
    margin-bottom: 2.5rem;
}

.landing22 .lessons-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.landing22 .lessons-list--cards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

/* Карточка урока */
.landing22 .lesson-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    border: 2px solid #e8e8e8;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.landing22 .lesson-card:hover {
    border-color: #11bcbd;
    box-shadow: 0 8px 30px rgba(17, 188, 205, 0.2);
    transform: translateY(-3px);
}

.landing22 .lesson-card.is-completed {
    border-color: rgba(17, 188, 205, 0.5);
    background: linear-gradient(135deg, #fff, rgba(17, 188, 205, 0.06));
}

.landing22 .lesson-card.status-not_started {
    opacity: 0.95;
}

.landing22 .lesson-card.status-in_progress {
    border-color: rgba(51, 8, 103, 0.4);
    box-shadow: 0 4px 20px rgba(51, 8, 103, 0.1);
}

/* Ссылка-обёртка карточки */
.landing22 .lesson-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Шапка карточки */
.landing22 .lesson-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.landing22 .lesson-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #330867, #11bcbd);
    border-radius: 10px;
    flex-shrink: 0;
}

.landing22 .lesson-card.is-completed .lesson-card__number {
    background: #00b2b2;
}

.landing22 .lesson-card__duration {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    background: #f5f5f7;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* Заголовок урока */
.landing22 .lesson-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

/* Описание урока */
.landing22 .lesson-card__desc {
    font-size: 13px;
    color: #666;
    margin: 0 0 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Футер карточки */
.landing22 .lesson-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.landing22 .lesson-card__status-label {
    font-size: 12px;
    font-weight: 600;
    color: #11bcbd;
}

.landing22 .lesson-card.is-completed .lesson-card__status-label {
    color: #00b2b2;
}

.landing22 .lesson-card.status-not_started .lesson-card__status-label {
    color: #999;
}

.landing22 .lesson-card__watch-time {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

/* Бейдж "Пройдено" */
.landing22 .lesson-card__check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #00b2b2;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 178, 178, 0.4);
    z-index: 2;
}

/* Иконка даты завершения */
.landing22 .lesson-card__completed-date {
    position: absolute;
    top: 1rem;
    right: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    color: #666;
    background: #f0f0f2;
    border-radius: 50%;
    z-index: 2;
}


/* Базовый стиль — скрытое состояние */
.landing22 .lesson-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    opacity: 0;
    height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    margin: 0;
    background: rgba(17, 188, 205, 0.04);
    border-top: none;
    transition: all 1s ease;
}

/* При наведении — плавное появление */
.landing22 .lesson-card:hover .lesson-card__details {
    opacity: 1;
    height: auto;
    padding: 0.75rem 1.25rem 1.25rem;
    margin: 0.5rem 0;
    border-top: 1px solid rgba(17, 188, 205, 0.2);
}

.landing22 .lesson-card__detail-item {
    font-size: 11px;
    color: #666;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* === Блок теста (те же стили, что и в Variant A) === */
.landing22 .module-test--enhanced {
    background: linear-gradient(135deg, rgba(51, 8, 103, 0.06), rgba(17, 188, 205, 0.06));
    border: 1px solid rgba(17, 188, 205, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.landing22 .module-test__divider {
    border-color: rgba(17, 188, 205, 0.3);
    margin: 0 0 1rem;
}

.landing22 .module-test--enhanced h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.landing22 .module-test--enhanced p {
    font-size: 14px;
    color: #555;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.landing22 .btn--test-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #330867, #11bcbd);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.landing22 .btn--test-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 188, 205, 0.4);
}

/* === Адаптив === */
@media (max-width: 768px) {
    .landing22 .what--module-cards {
        padding: 2rem 1.5rem 3rem;
    }

    .landing22 .module-title {
        font-size: 24px;
    }

    .landing22 .lessons-list--cards {
        grid-template-columns: 1fr;
    }

    .landing22 .lesson-card__link {
        padding: 1rem;
    }

    .landing22 .lesson-card__title {
        font-size: 15px;
    }

    .landing22 .lesson-card__desc {
        font-size: 12px;
    }

    .landing22 .module-progress__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .landing22 .lesson-card__details {
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        padding: 0.75rem 1rem 1rem !important;
        border-top: 1px solid rgba(17, 188, 205, 0.2) !important;
        margin: 0.5rem 0 !important;
    }

    /* Отключаем анимацию на мобильных */
    .landing22 .lesson-card:hover .lesson-card__details {
        transition: none !important;
    }
}

/* === Скроллбар для списка (если уроков много) === */
.landing22 .lessons-list--cards::-webkit-scrollbar {
    width: 6px;
}

.landing22 .lessons-list--cards::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.landing22 .lessons-list--cards::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.landing22 .lessons-list--cards::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}




/* === Progress Bar — Styled (matching course page) === */
.landing22 .module-progress--styled {
    background: linear-gradient(135deg, #f8f9ff, #f0fbfb);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(17, 188, 205, 0.2);
}

.landing22 .module-progress__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.landing22 .module-progress__header h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.landing22 .module-progress__percent {
    font-size: 24px;
    font-weight: 800;
    color: #11bcbd;
}

.landing22 .progress--styled {
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.landing22 .progress-bar--animated {
    height: 100%;
    background: linear-gradient(90deg, #330867, #11bcbd);
    border-radius: 10px;
    position: relative;
    transition: width 0.6s ease;
}

.landing22 .progress-bar__inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.6);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.landing22 .module-progress__status {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.landing22 .module-progress__status strong {
    color: #1a1a2e;
}

/* Адаптив */
@media (max-width: 768px) {
    .landing22 .module-progress__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}


.landing22 .speakers__cont .lesson-hero__description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0 0 1.25rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* custom 3 */





/* custom 4 */

/* === Variant A: Clean Focus Lesson === */
.landing22 .what--lesson-clean { padding: 3rem 2rem 4rem; background: #f8f9fc; }
.landing22 .what__content--lesson { max-width: 900px; margin: 0 auto; display: block !important; }
.landing22 .course-lesson--clean { background: #fff; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

/* Breadcrumbs */
.landing22 .breadcrumbs--lesson { font-size: 13px; color: #888; margin-bottom: 1.5rem; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.landing22 .breadcrumbs--lesson a { color: #11bcbd; text-decoration: none; }
.landing22 .breadcrumbs--lesson a:hover { color: #330867; text-decoration: underline; }
.landing22 .breadcrumbs--lesson span { color: #333; font-weight: 600; }

/* Title & Description */
.landing22 .lesson-title { font-size: 28px; font-weight: 800; color: #1a1a2e; margin: 0 0 1rem; line-height: 1.3; }
.landing22 .lesson-description--clean p { font-size: 16px; color: #555; line-height: 1.6; margin: 0 0 2rem; }

/* Video Section */
.landing22 .lesson-video--clean { margin-bottom: 2rem; }
.landing22 .lesson-video__title { font-size: 18px; font-weight: 700; color: #1a1a2e; margin: 0 0 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid #e0e0e0; }
.landing22 .video-container--styled
{ width: auto; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); background: #000; }
.landing22 .video-info--clean { display: flex; gap: 1.5rem; padding: 1rem; background: #f8f9fc; border-radius: 8px; margin-top: 1rem; font-size: 14px; color: #555; }
.landing22 .video-info__item strong { color: #1a1a2e; }
.video-js.video-js--styled {width: 100%; }


/* Progress Inline */
.landing22 .lesson__progress-inline { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: rgba(17,188,205,0.1); border-radius: 8px; margin: 1rem 0; }
.landing22 .lesson__progress-label { font-size: 13px; font-weight: 600; color: #1a1a2e; }
.landing22 .lesson__progress-bar { width: 140px; height: 6px; background: rgba(0,0,0,0.1); border-radius: 3px; overflow: hidden; }
.landing22 .lesson__progress-fill { height: 100%; background: linear-gradient(90deg, #330867, #11bcbd); border-radius: 3px; transition: width 0.3s ease; }
.landing22 .lesson__progress-time { font-size: 13px; font-weight: 700; color: #11bcbd; min-width: 45px; text-align: right; }

/* Navigation */
.landing22 .lesson-navigation--clean { margin-top: 2rem; }
.landing22 .nav-link small { font-size: 12px; color: #888; display: block; margin-bottom: 0.25rem; }
.landing22 .btn--nav { padding: 0.6rem 1.25rem; font-size: 14px; font-weight: 600; border-radius: 8px; }
.landing22 .btn--nav.btn-primary { background: linear-gradient(135deg, #330867, #11bcbd); border: none; }
.landing22 .btn--nav.btn-success { background: #00b2b2; border: none; }

/* Progress Alert */
.landing22 .lesson-progress--styled { background: linear-gradient(135deg, rgba(0,178,178,0.1), rgba(51,8,103,0.06)); border: 1px solid rgba(17,188,205,0.3); border-radius: 12px; padding: 1.25rem; margin-top: 1.5rem; }
.landing22 .lesson-progress--styled h4 { font-size: 16px; font-weight: 700; color: #00b2b2; margin: 0 0 0.5rem; }
.landing22 .lesson-progress--styled p { font-size: 13px; color: #555; margin: 0.25rem 0; }

/* Mobile */
@media (max-width: 768px) {
    .landing22 .what--lesson-clean { padding: 2rem 1.5rem 3rem; }
    .landing22 .course-lesson--clean { padding: 1.5rem; }
    .landing22 .lesson-title { font-size: 24px; }
    .landing22 .video-info--clean { flex-direction: column; gap: 0.5rem; }
    .landing22 .lesson-navigation--clean .text-right { text-align: left !important; margin-top: 1rem; }
}

/* custom 4 */



/* custom 5 */

/* === Variant A: Clean Test Layout === */
.landing22 .what--test-clean { padding: 3rem 2rem 4rem; background: #f8f9fc; }
.landing22 .what__content--test { max-width: 800px; margin: 0 auto; display: block !important; }
.landing22 .course-test--clean { background: #fff; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

/* Breadcrumbs */
.landing22 .breadcrumbs--test { font-size: 13px; color: #888; margin-bottom: 1.5rem; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.landing22 .breadcrumbs--test a { color: #11bcbd; text-decoration: none; }
.landing22 .breadcrumbs--test a:hover { color: #330867; text-decoration: underline; }
.landing22 .breadcrumbs--test span { color: #333; font-weight: 600; }

/* Title */
.landing22 .test-title { font-size: 28px; font-weight: 800; color: #1a1a2e; margin: 0 0 1.5rem; line-height: 1.3; }

/* Test Info */
.landing22 .test-info--clean { background: linear-gradient(135deg, rgba(17,188,205,0.1), rgba(51,8,103,0.06)); border: 1px solid rgba(17,188,205,0.3); border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.landing22 .test-info__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.landing22 .test-info__item { text-align: center; }
.landing22 .test-info__label { display: block; font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.landing22 .test-info__value { font-size: 18px; font-weight: 700; color: #1a1a2e; }
.landing22 .test-info__value--highlight { color: #11bcbd; }
.landing22 .test-info__description { font-size: 14px; color: #555; margin: 0.75rem 0 0; line-height: 1.5; }

/* Questions */
.landing22 .test-question--clean { background: #fff; border: 2px solid #e8e8e8; border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; transition: border-color 0.2s ease; }
.landing22 .test-question--clean:hover { border-color: #11bcbd; }
.landing22 .test-question__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid #f0f0f2; }
.landing22 .test-question__number { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.landing22 .test-question__points { font-size: 12px; font-weight: 600; color: #11bcbd; background: rgba(17,188,205,0.1); padding: 0.25rem 0.75rem; border-radius: 20px; }
.landing22 .test-question__text { font-size: 16px; color: #333; line-height: 1.5; margin: 0 0 1rem; }

/* Answers */
.landing22 .test-answers { display: flex; flex-direction: column; gap: 0.5rem; }
.landing22 .answer-option--clean { cursor: pointer; }
.landing22 .answer-option__content { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 1rem; background: #f8f9fc; border-radius: 8px; transition: all 0.2s ease; }
.landing22 .answer-option--clean:hover .answer-option__content { background: rgba(17,188,205,0.1); }
.landing22 .answer-option input:checked + .answer-option__content { background: rgba(17,188,205,0.15); border: 1px solid #11bcbd; }
.landing22 .answer-option__circle { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border: 2px solid #ccc; border-radius: 50%; flex-shrink: 0; transition: all 0.2s ease; }
.landing22 .answer-option input:checked + .answer-option__content .answer-option__circle { border-color: #11bcbd; background: #11bcbd; }
.landing22 .answer-option input:checked + .answer-option__content .answer-option__circle::after { content: ''; width: 8px; height: 8px; background: #fff; border-radius: 50%; }
.landing22 .answer-option__text { font-size: 14px; color: #333; line-height: 1.4; }

/* Form Footer */
.landing22 .test-form__footer { text-align: center; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid #e0e0e0; }
.landing22 .btn--submit-test { padding: 1rem 2.5rem; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 12px; }
.landing22 .test-form__note { display: block; font-size: 12px; color: #888; margin-top: 0.75rem; }

/* Visually hidden (for radio inputs) */
.landing22 .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Mobile */
@media (max-width: 768px) {
    .landing22 .what--test-clean { padding: 2rem 1.5rem 3rem; }
    .landing22 .course-test--clean { padding: 1.5rem; }
    .landing22 .test-title { font-size: 24px; }
    .landing22 .test-info__grid { grid-template-columns: 1fr 1fr; }
    .landing22 .test-question__header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .landing22 .test-question__text { font-size: 15px; }
}

/* custom 5 */


/* custom 6 */
/* === Test Result — Clean Layout === */

/* Hero для результата */
.landing22 .test-result-hero .test-result__badge { margin-bottom: 1rem; }
/*.landing22 .test-result-hero .test-result__badge--passed .module__badge-number { background: #00b2b2; }*/
/*.landing22 .test-result-hero .test-result__badge--failed .module__badge-number { background: #e74c3c; }*/

.landing22 .test-result-hero .test-result__title { font-size: 28px; margin-bottom: 0.5rem; }

.landing22 .test-result-hero .test-result__meta { margin-bottom: 1.5rem; }

/* Крупный счёт в hero */
.landing22 .test-result-hero .test-result__score-hero {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    margin-top: 0.5rem;
}

.landing22 .test-result-hero .test-result__score-value {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.landing22 .test-result-hero .test-result__score-value.is-passed { color: #00e6a3; }
.landing22 .test-result-hero .test-result__score-value.is-failed { color: #ff6b6b; }

.landing22 .test-result-hero .test-result__score-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

/* Контейнер результата */
.landing22 .what--test-result-clean { padding: 3rem 2rem 4rem; background: #f8f9fc; }
.landing22 .test-result--clean { padding: 2rem; }

/* Карточка результата */
.landing22 .result-card--clean {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.landing22 .result-card--clean.result-success {
    background: linear-gradient(135deg, rgba(0, 178, 178, 0.12), rgba(17, 188, 205, 0.08));
    border: 2px solid rgba(0, 178, 178, 0.4);
}

.landing22 .result-card--clean.result-fail {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.12), rgba(255, 107, 107, 0.08));
    border: 2px solid rgba(231, 76, 60, 0.4);
}

/* Иконка результата */
.landing22 .result-card__icon { flex-shrink: 0; }
.landing22 .result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 32px;
    font-weight: 800;
    border-radius: 50%;
}
.landing22 .result-icon--success { background: #00b2b2; color: #fff; }
.landing22 .result-icon--fail { background: #e74c3c; color: #fff; }

/* Счёт в карточке */
.landing22 .result-card__score { text-align: center; }
.landing22 .result-card__score .score-percent {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}
.landing22 .result-card__score .score-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}
.landing22 .result-card__score .passing-label {
    font-size: 12px;
    color: #888;
    margin-top: 0.25rem;
}

/* Сообщение */
.landing22 .result-card__message { padding-left: 1.5rem; border-left: 2px solid rgba(0,0,0,0.1); }
.landing22 .result-card__message h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}
.landing22 .result-card__message p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0.25rem 0;
}
.landing22 .result-card__message strong { color: #1a1a2e; }
.landing22 .result-card__next { font-weight: 600; color: #11bcbd; }
.landing22 .result-card__error { color: #e74c3c; font-weight: 600; }

/* Таблица вопросов */
.landing22 .questions-details--clean { margin-bottom: 2rem; }
.landing22 .details-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.landing22 .questions-table { margin: 0; }
.landing22 .questions-table th {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8f9fc;
    padding: 0.75rem 1rem;
}
.landing22 .questions-table__row { transition: background 0.2s ease; }
.landing22 .questions-table__row:hover { background: rgba(17, 188, 205, 0.05); }
.landing22 .questions-table__row.is-correct { background: rgba(0, 178, 178, 0.06); }
.landing22 .questions-table__row.is-incorrect { background: rgba(231, 76, 60, 0.06); }
.landing22 .questions-table td {
    font-size: 14px;
    color: #333;
    padding: 1rem;
    vertical-align: middle;
}
.landing22 .questions-table__question { font-weight: 500; }
.landing22 .questions-table__answer { color: #555; }
.landing22 .questions-table__answer .text-muted { font-style: italic; }

/* Бейджи результата */
.landing22 .result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}
.landing22 .result-badge--correct { background: rgba(0, 178, 178, 0.15); color: #00b2b2; }
.landing22 .result-badge--incorrect { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.landing22 .questions-table__points { font-weight: 600; color: #1a1a2e; }

/* Кнопки действий */
.landing22 .result-actions--clean {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.landing22 .btn--result {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.landing22 .btn--result.btn-default {
    background: #f0f0f2;
    color: #333;
    border: 1px solid #ddd;
}

.landing22 .btn--result.btn-default:hover {
    background: #e0e0e2;
    color: #1a1a2e;
}

.landing22 .btn--result.btn--result-primary {
    background: linear-gradient(135deg, #330867, #11bcbd);
    color: #fff !important;
    border: none;
}

.landing22 .btn--result.btn--result-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 188, 205, 0.4);
}

.landing22 .btn--result.btn-success {
    background: #00b2b2;
    color: #fff !important;
    border: none;
}

.landing22 .btn--result.btn-warning {
    background: #f39c12;
    color: #fff !important;
    border: none;
}

/* Адаптив */
@media (max-width: 768px) {
    .landing22 .test-result-hero .test-result__score-hero {
        padding: 0.75rem 1.5rem;
    }

    .landing22 .test-result-hero .test-result__score-value {
        font-size: 36px;
    }

    .landing22 .result-card--clean {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .landing22 .result-card__message {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid rgba(0,0,0,0.1);
        padding-top: 1rem;
    }

    .landing22 .result-card__score .score-percent {
        font-size: 36px;
    }

    .landing22 .questions-table {
        font-size: 13px;
    }

    .landing22 .questions-table th,
    .landing22 .questions-table td {
        padding: 0.75rem 0.5rem;
    }

    .landing22 .questions-table__question {
        display: block;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .landing22 .result-actions--clean {
        flex-direction: column;
        align-items: center;
    }

    .landing22 .btn--result {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .landing22 .test-result-hero .test-result__score-value {
        font-size: 32px;
    }

    .landing22 .result-card--clean {
        padding: 1.25rem 1rem;
    }

    .landing22 .result-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

/* custom 6 */


/* custom 7 */

/* === Module Card — Completed Status (minimal) === */

/* Карточка пройденного модуля */
.landing22 .module-card.is-completed {
    border-color: rgba(0, 178, 178, 0.5);
    background: linear-gradient(135deg, #fff, rgba(17, 188, 205, 0.04));
}

.landing22 .module-card.is-completed::before {
    opacity: 1;
    background: linear-gradient(90deg, #00b2b2, #11bcbd);
}

.landing22 .module-card.is-completed .module-card__number {
    background: #00b2b2;
}

/* Бейдж "Пройдено" в углу карточки */
.landing22 .module-card__completed-badge {
    position: absolute;
    top: 4rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: #00b2b2;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 178, 178, 0.4);
    z-index: 2;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Адаптив: скрываем бейдж на очень маленьких экранах, если мешает */
@media (max-width: 360px) {
    .landing22 .module-card__completed-badge {
        width: 28px;
        height: 28px;
        font-size: 16px;
        top: 0.75rem;
        right: 0.75rem;
    }
}




/* custom 7 */


/* custom 8 */

/* === PDF Viewer — Variant A: Clean Reader === */

/* Секция PDF */
.landing22 .pdf-section--clean {
    margin: 2rem 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(17, 188, 205, 0.2);
}

/* Заголовок PDF */
.landing22 .pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(51, 8, 103, 0.06), rgba(17, 188, 205, 0.06));
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.landing22 .pdf-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.landing22 .btn--pdf-download {
    padding: 0.4rem 0.875rem;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, #330867, #11bcbd);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.landing22 .btn--pdf-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 188, 205, 0.4);
}

/* Контейнер просмотрщика */
.landing22 .pdf-viewer-container {
    position: relative;
    height: 600px;
    background: #f8f9fc;
}

/* Плавающая панель инструментов */
.landing22 .pdf-toolbar--floating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.landing22 .pdf-toolbar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 14px;
    background: #f0f0f2;
    border: 1px solid #e0e0e2;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.landing22 .pdf-toolbar__btn:hover {
    background: #11bcbd;
    border-color: #11bcbd;
    color: #fff;
}

.landing22 .pdf-toolbar__zoom {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    min-width: 45px;
    text-align: center;
}

/* Iframe PDF */
.landing22 .pdf-viewer-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Подсказка */
.landing22 .pdf-hint {
    font-size: 12px;
    color: #888;
    text-align: center;
    padding: 0.75rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Адаптив */
@media (max-width: 768px) {
    .landing22 .pdf-viewer-container {
        height: 450px;
    }

    .landing22 .pdf-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .landing22 .pdf-toolbar--floating {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.4rem 0.5rem;
    }

    .landing22 .pdf-toolbar__btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
/* custom 8 */


/* custom 9 */


/* PDF Section — Responsive */
.pdf-section--responsive {
    margin: 2rem 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(17, 188, 205, 0.2);
}

.pdf-section--responsive .pdf-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(51, 8, 103, 0.06), rgba(17, 188, 205, 0.06));
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pdf-section--responsive .pdf-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.pdf-viewer-container {
    height: 600px;
    background: #f8f9fc;
}

.pdf-viewer-desktop { display: block; }
.pdf-mobile-card { display: none; }

@media (max-width: 768px) {
    .pdf-viewer-desktop { display: none; }
    .pdf-mobile-card {
        display: flex;
        align-items: center;
    }
    .pdf-mobile-icon { font-size: 32px; }
    .pdf-mobile-info { flex: 1; }
    .pdf-mobile-name { display: block; font-weight: 600; color: #1a1a2e; }
    .pdf-mobile-size { font-size: 12px; color: #888; }
    .pdf-mobile-actions { display: flex; gap: 0.5rem; }
    .btn--pdf-download, .btn--pdf-newtab {
        padding: 0.4rem 0.75rem;
        font-size: 12px;
        font-weight: 600;
        border-radius: 6px;
        text-decoration: none;
    }
    .btn--pdf-download { background: linear-gradient(135deg, #330867, #11bcbd); color: #fff !important; }
    .btn--pdf-newtab { background: #f0f0f2; color: #333 !important; border: 1px solid #ddd; }
}




/* custom 9 */




/* Контейнер контента */

.landing .what__content--enhanced {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Сетка модулей */
.course-modules--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Карточка модуля */
.module-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #330867, #11bcbd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.module-card:hover::before {
    opacity: 1;
}

/* Заголовок карточки */
.module-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.module-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #330867, #11bcbd);
    border-radius: 10px;
    flex-shrink: 0;
}

.module-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.module-card__lessons-count {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: #f5f5f7;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* Описание модуля */
.module-card__description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

/* Список уроков */
.lessons-preview--styled {
    margin-bottom: 1.5rem;
}

.lessons-preview__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lessons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /*max-height: 200px;*/
    overflow-y: auto;
    padding-right: 0.5rem;
}

.lessons-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.lessons-list__item:hover {
    background: rgba(17, 188, 205, 0.08);
}

.lessons-list__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    background: #f0f0f2;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 2px;
}

.lessons-list__link {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    flex: 1;
    transition: color 0.2s ease;
}

.lessons-list__link:hover {
    color: #11bcbd;
    text-decoration: none;
}

.lessons-list__check {
    display: none;
    width: 18px;
    height: 18px;
    background: #00b2b2;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Кнопка модуля */
.module-card__footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.btn--module {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #330867, #11bcbd);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn--module:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 188, 205, 0.4);
    color: #fff !important;
}

/* === Прогресс курса — улучшенный === */
.course-progress--enhanced {
    background: linear-gradient(135deg, #f8f9ff, #f0fbfb);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(17, 188, 205, 0.2);
    margin-top: 2rem;
}

.course-progress__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-progress__header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.course-progress__percent {
    font-size: 24px;
    font-weight: 800;
    color: #11bcbd;
}

.progress--styled {
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-bar--animated {
    height: 100%;
    background: linear-gradient(90deg, #330867, #11bcbd);
    border-radius: 10px;
    position: relative;
    transition: width 0.6s ease;
}

.progress-bar__inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.6);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.course-progress__status {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* === Адаптив === */
@media (max-width: 768px) {
    .course-modules--grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .module-card {
        padding: 1.25rem;
    }

    .module-card__header {
        gap: 0.75rem;
    }

    .module-card__number {
        min-width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .module-card__title {
        font-size: 16px;
    }

    .lessons-list {
        /*max-height: 180px;*/
    }

    .lessons-list__link {
        font-size: 13px;
    }
}

/* === Скроллбар для списка уроков === */
.lessons-list::-webkit-scrollbar {
    width: 6px;
}

.lessons-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.lessons-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.lessons-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}




