

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #fff;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: auto;
    position: relative;
    transition: background-color 0.6s ease, color 0.6s ease;
}

/* Закрепленное меню */
.fixed-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    width: auto;
}

.menu-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.menu-logo-text {
    color: #00ff87;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Меню для ПК (иконки) */
.menu-links-pc {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.menu-links-pc li a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
}

.menu-links-pc li a:hover {
    color: #00ff87;
    background: rgba(0, 255, 135, 0.1);
    transform: translateY(-2px);
}

.menu-links-pc li a i {
    font-size: 1.2rem;
}

/* Tooltip для ПК */
.menu-links-pc li a::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-links-pc li a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Гамбургер для мобильных (скрыт на ПК) */
.menu-hamburger {
    display: none;
    flex-direction: column;
    width: 24px;
    height: 18px;
    cursor: pointer;
    gap: 3px;
}

.menu-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #00ff87;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Выпадающее меню для мобильных (скрыто) */
/* Выпадающее меню для мобильных (скрыто) */
.menu-links-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 200px; /* Минимальная ширина */
    max-width: 85vw; /* Максимальная ширина 85% от экрана */
    z-index: 1003;
}

.menu-links-mobile.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-links-mobile li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e0e0e0;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Чтобы текст не переносился */
}

.menu-links-mobile li a:hover {
    color: #00ff87;
    background: rgba(0, 255, 135, 0.1);
}

.menu-links-mobile li a i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.menu-links-mobile li a span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .fixed-menu {
        top: 15px;
        left: 15px;
        padding: 10px 15px;
        width: auto;
        right: auto;
    }
    
    .menu-container {
        justify-content: flex-start;
        gap: 20px;
        position: relative; /* Для позиционирования выпадающего меню */
    }
    
    .menu-logo-text {
        display: none;
    }
    
    .menu-logo-img {
        width: 28px;
        height: 28px;
    }
    
    /* Скрываем ПК меню */
    .menu-links-pc {
        display: none;
    }
    
    /* Показываем гамбургер */
    .menu-hamburger {
        display: flex;
    }
    
    /* Показываем выпадающее меню когда активно */
    .menu-links-mobile {
        display: block;
        left: 0; /* Открывается от левого края меню */
        right: auto;
        min-width: 220px;
        max-width: calc(100vw - 40px); /* Адаптивная ширина с отступами */
    }
    
    /* Анимация гамбургера в крестик */
    .menu-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

@media (max-width: 480px) {
    .fixed-menu {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
    }
    
    .menu-container {
        gap: 15px;
    }
    
    .menu-logo-img {
        width: 24px;
        height: 24px;
    }
    
    .menu-hamburger {
        width: 20px;
        height: 16px;
    }
    
    .menu-links-mobile {
        min-width: 200px;
        max-width: calc(100vw - 30px); /* Меньше отступы на маленьких экранах */
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .fixed-menu {
        left: 8px;
        padding: 6px 10px;
    }
    
    .menu-container {
        gap: 12px;
    }
    
    .menu-logo-img {
        width: 20px;
        height: 20px;
    }
    
    .menu-links-mobile {
        min-width: 180px;
        max-width: calc(100vw - 20px);
    }
    
    .menu-links-mobile li a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .menu-links-mobile li a i {
        font-size: 1.1rem;
    }
}

/* Светлая тема для выпадающего меню */
body.light-mode .menu-links-mobile {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .menu-links-mobile li a {
    color: #666;
}

body.light-mode .menu-links-mobile li a:hover {
    color: #ff8a00;
    background: rgba(255, 138, 0, 0.1);
}

/* Светлая тема */
body.light-mode .fixed-menu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

body.light-mode .menu-logo-text {
    color: #ff8a00;
}

body.light-mode .menu-links-pc li a {
    color: #666;
}

body.light-mode .menu-links-pc li a:hover {
    color: #ff8a00;
    background: rgba(255, 138, 0, 0.1);
}

body.light-mode .menu-links-pc li a::after {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .menu-hamburger span {
    background: #ff8a00;
}

body.light-mode .menu-links-mobile {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .menu-links-mobile li a {
    color: #666;
}

body.light-mode .menu-links-mobile li a:hover {
    color: #ff8a00;
    background: rgba(255, 138, 0, 0.1);
}

/* Переключатель темы */
.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
}

@media (max-width: 768px) {
    .theme-switch-wrapper {
        top: 15px;
        right: 15px;
    }
}

.content {
    padding-top: 5vh; /* Адаптивный отступ сверху */
    min-height: 90vh; /* Занимает почти всю высоту экрана */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Выравниваем сверху */
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2vh; /* Адаптивный отступ */
    position: relative;
}

.academy-logo {
    width: min(250px, 20vw); /* Адаптивная ширина */
    max-width: 100%;
    height: auto;
    margin-bottom: 2vh; /* Адаптивный отступ */
    animation: logoAnimation 3s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 255, 135, 0.5));
}

.container {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Адаптивный размер шрифта */
    font-weight: bold;
    margin-bottom: 1.5vh; /* Адаптивный отступ */
    background: linear-gradient(45deg, #00ff87, #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem); /* Адаптивный размер */
    margin-bottom: 4vh; /* Адаптивный отступ */
    color: #8a8a8a;
    text-align: center;
}

/* Основные курсы рядом */
.main-courses-section {
    padding: 20px 20px 60px 20px; /* Уменьшил верхний отступ, увеличил нижний */
    margin-top: -20px; /* Поднимаем блок выше */
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0 40px 0;
}

.course-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}



.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 135, 0.2);
}

.course-card.pro-course:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(148, 0, 255, 0.2);
}

.free-course {
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.1), rgba(96, 239, 255, 0.1));
    border: 1px solid rgba(0, 255, 135, 0.2);
}

.pro-course {
    background: linear-gradient(135deg, rgba(148, 0, 255, 0.1), rgba(255, 0, 150, 0.1));
    border: 1px solid rgba(148, 0, 255, 0.2);
}

/* Общие стили для обоих курсов */
.course-card .course-details {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card .course-details h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
}

.course-card .course-details ul {
    list-style-type: none;
    margin-bottom: 30px;
    display: block;
    text-align: left;
    flex: 1;
}

.course-card .course-details ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* Цвета точек для разных курсов */
.free-course .course-details ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00ff87; /* Зеленые точки для бесплатного курса */
}

.pro-course .course-details ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff0096; /* Розовые точки для платного курса */
}

/* Кнопки - выравниваем по низу */
.course-card .cta-button {
    display: block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease;
    text-align: center;
    width: 100%;
    font-size: 1.1rem;
    margin-top: auto; /* Прижимаем кнопку к низу */
}

/* Стили кнопок для разных курсов */
.free-course .cta-button {
    background: linear-gradient(45deg, #00ff87, #60efff);
    color: #000;
}

.pro-course .cta-button {
    background: linear-gradient(45deg, #9440ff, #ff0096);
    color: #fff;
}

.course-card .cta-button:hover {
    transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 968px) {
    .courses-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .course-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .main-courses-section {
        padding: 10px 15px 40px 15px; /* Еще меньше отступ на мобильных */
        margin-top: -10px;
    }
    
    .course-card {
        padding: 25px 20px;
    }
    
    .course-card .course-details h2 {
        font-size: 1.4rem;
    }
    
    .course-card .course-details ul li {
        font-size: 1rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .main-courses-section {
        padding: 5px 10px 30px 10px;
        margin-top: -5px;
    }
}


/* Секция "Как мы создали курс" */
.creation-section {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(20,20,30,0.95) 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin: 60px 0;
}

.creation-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.creation-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #00ff87, #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}


.creation-content {
    text-align: left;
}

.creation-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.creation-lead {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.creation-lead em {
    color: #00ff87;
    font-style: normal;
    font-weight: bold;
}

.problems-solutions {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    min-width: 300px;
}

.list-title {
    font-weight: bold;
    color: #00ff87;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.creation-text ul {
    list-style-type: none;
    margin-bottom: 25px;
}

.creation-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #b0b0b0;
}

.creation-text ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00ff87;
    font-weight: bold;
}

.stats {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border-left: 3px solid #00ff87;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00ff87, #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 15px;
    min-width: 70px;
}

.stat-text {
    color: #e0e0e0;
    flex: 1;
}

.creation-conclusion {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 40px;
    padding: 20px;
    background: rgba(0,255,135,0.1);
    border-radius: 10px;
    border: 1px solid rgba(0,255,135,0.2);
    color: #fff;
}

/* Адаптивность для мобильных */
/* Для мобильных устройств */
@media (max-width: 768px) {
    .content {
        padding-top: 3vh;
        min-height: 85vh;
    }
    
    .academy-logo {
        width: min(180px, 25vw);
        margin-bottom: 1vh;
    }
    .main-courses-section {
        padding: 40px 15px;
    }
    
    .course-card {
        padding: 25px 20px;
    }
    
    .course-card .course-details h2 {
        font-size: 1.4rem;
    }
    
    .course-features li,
    .course-card .course-details ul li {
        font-size: 1rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .content {
        padding-top: 2vh;
    }
    
    .academy-logo {
        width: min(150px, 30vw);
    }
    
    .course-promo {
        padding: 20px 15px;
    }
    
    .course-details ul li {
        display: block;
        margin: 0 0 8px 0;
    }
}

/* Светлая тема */
body.light-mode .course-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .free-course {
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.1), rgba(229, 46, 113, 0.1));
    border: 1px solid rgba(255, 138, 0, 0.2);
}

body.light-mode .pro-course {
    background: linear-gradient(135deg, rgba(148, 0, 255, 0.1), rgba(255, 0, 150, 0.1));
    border: 1px solid rgba(148, 0, 255, 0.2);
}

body.light-mode .course-card .course-details ul li {
    color: #666;
}

body.light-mode .course-card .course-details h2 {
    color: #1a1a1a;
}

/* Цвета точек в светлой теме */
body.light-mode .free-course .course-details ul li:before {
    color: #ff8a00; /* Оранжевые точки для бесплатного курса */
}

body.light-mode .pro-course .course-details ul li:before {
    color: #e52e71; /* Розовые точки для платного курса */
}

/* Кнопки в светлой теме */
body.light-mode .free-course .cta-button {
    background: linear-gradient(45deg, #ff8a00, #e52e71);
    color: #fff;
}

body.light-mode .pro-course .cta-button {
    background: linear-gradient(45deg, #7b2cbf, #c9184a);
    color: #fff;
}
body.light-mode .creation-section {
    background: linear-gradient(135deg, rgba(245,245,245,0.95) 0%, rgba(255,255,255,0.95) 100%);
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.light-mode .creation-text {
    color: #333;
}

body.light-mode .creation-lead {
    color: #000;
}

body.light-mode .creation-text ul li {
    color: #555;
}

body.light-mode .stats {
    background: rgba(0,0,0,0.05);
    border-left: 3px solid #ff8a00;
}

body.light-mode .stat-text {
    color: #333;
}

body.light-mode .creation-conclusion {
    background: rgba(255,138,0,0.1);
    border: 1px solid rgba(255,138,0,0.2);
    color: #000;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    padding: 20px;
    text-align: center;
    z-index: 3;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ff87, #60efff, #00ff87);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.light-mode footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode footer::before {
    background: linear-gradient(90deg, #ff8a00, #e52e71, #ff8a00);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 10px;
}

.social-links a {
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #00ff87;
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.8rem;
    color: #8a8a8a;
    line-height: 1.4;
}

.copyright a {
    color: #00ff87;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 255, 135, 0.1);
}

.copyright a:hover {
    color: #000;
    background: #00ff87;
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.5);
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 4;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, rgba(30,20,40,0.95) 0%, rgba(50,30,60,0.95) 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(148, 0, 255, 0.3);
    box-shadow: 0 20px 40px rgba(148, 0, 255, 0.3);
    backdrop-filter: blur(10px);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff0096;
}


.modal-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 30px;
}

.modal-section {
    flex: 1;
}

.modal-section h3 {
    color: #00ff87;
    margin-bottom: 20px;
}

.modal-section ul {
    list-style-type: none;
}

.modal-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #b0b0b0;
}

.modal-section ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00ff87;
}

/* Кнопка Приобрести в модалке */
.modal .cta-button {
    display: block;
    background: linear-gradient(45deg, #9440ff, #ff0096);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease;
    text-align: center;
    width: 200px;
    margin: 0 auto;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.modal .cta-button:hover {
    transform: scale(1.05);
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-details {
        flex-direction: column;
        gap: 25px;
    }
    
    .modal-section {
        width: 100%;
    }
    
    .close-btn {
        font-size: 28px;
        right: 15px;
        top: 10px;
    }
    
    .modal .cta-button {
        width: 100%;
        max-width: 250px;
    }
}


.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.academy-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    animation: logoAnimation 3s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 255, 135, 0.5));
}

@keyframes logoAnimation {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
    }
    50% { 
        transform: scale(1.05) rotate(2deg);
    }
}

@media (max-width: 768px) {
    body {
        overflow: auto;
        padding: 20px 10px;
    }

    h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .container {
        padding: 0 10px;
    }

    .course-promo {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .course-details {
        text-align: center;
    }

    .course-details h2 {
        font-size: 1.5rem;
    }

    .course-details ul {
        padding-left: 0;
    }

    .course-details ul li {
        padding-left: 20px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1rem;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .modal-details {
        flex-direction: column;
        gap: 30px;
    }

    .modal-section {
        width: 100%;
    }

    .close-btn {
        font-size: 28px;
        right: 10px;
    }

    footer {
        padding: 10px;
        font-size: 0.75rem;
    }

    .social-links {
        gap: 15px;
    }

    .academy-logo {
        width: 80%;
        max-width: 180px;
    }
}

@media only screen and (max-width: 768px) and (orientation: landscape) {
    body {
        padding: 0 10px;
    }

    .container {
        width: 100%;
        padding: 0 10px;
    }

    h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .course-promo {
        flex-direction: column;
        padding: 20px;
    }

    .course-details h2 {
        font-size: 1.8rem;
    }

    .course-details ul {
        padding-left: 20px;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    footer {
        font-size: 0.9rem;
    }

    .logo-container {
        margin-bottom: 10px;
    }

    .academy-logo {
        width: 200px;
    }

    .modal-content {
        width: 90%;
    }

    .modal-section {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    body {
        display: block !important;
        padding-top: 30px !important; /* ← мягкий отступ */
        margin-top: 0 !important;
    }

    .container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .logo-container {
        margin-top: 0 !important;
    }

    h1 {
        margin-top: 0 !important;
    }
}

/* Переключатель темы (iPhone-style toggle) */
.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #00ff87;
}

input:checked + .slider:before {
    transform: translateX(26px);
}


body.light-mode .subtitle {
    color: #333;
}

/* Заголовки с градиентом */
body.light-mode h1,
body.light-mode .creation-section h2 {
    background: linear-gradient(45deg, #ff8a00, #e52e71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .course-details ul li:before,
body.light-mode .modal-section ul li:before,
body.light-mode .creation-text ul li:before {
    color: #ff8a00;
}

/* Заголовки в модалке и секциях */
body.light-mode .course-details h2,
body.light-mode .modal-section h3,
body.light-mode .creation-lead em,
body.light-mode .list-title {
    color: #ff8a00;
}

/* Статистика */
body.light-mode .stat-number {
    background: linear-gradient(45deg, #ff8a00, #e52e71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .course-promo {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .cta-button {
    background: linear-gradient(45deg, #ff8a00, #e52e71);
    color: #fff;
}

body.light-mode footer {
    background: rgba(255, 255, 255, 0.8);
}

body.light-mode .copyright a {
    color: #ff8a00; /* Оранжевый вместо зеленого */
    background: rgba(255, 138, 0, 0.15); /* Оранжевый фон */
}

body.light-mode .copyright a:hover {
    color: #fff;
    background: #ff8a00; /* Оранжевый ховер */
    box-shadow: 0 0 10px rgba(255, 138, 0, 0.5); /* Оранжевая тень */
}

body.light-mode .social-links a {
    color: #000;
}

body.light-mode .social-links a:hover {
    color: #e52e71;
}

.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
    display: flex;
    align-items: center;
    height: 50px; /* Высота как у меню */
}

.theme-switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 60px;
    height: 30px;
    background-color: #444;
    border-radius: 30px;
    position: relative;
    padding: 0 5px;
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
    transition: background-color 0.3s ease;
    margin: 0; /* Убираем отступы */
}

.theme-switch-label .icon {
    font-size: 16px;
    z-index: 2;
    color: #fff;
    transition: opacity 0.3s ease;
}

.theme-switch-label .ball {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #00ff87, #60efff);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: 1;
}

#theme-toggle {
    display: none;
}

#theme-toggle:checked + .theme-switch-label {
    background-color: #e2e8f0;
}

#theme-toggle:checked + .theme-switch-label .ball {
    transform: translateX(30px);
    background: linear-gradient(45deg, #e52e71, #ff8a00);
}

#theme-toggle:checked + .theme-switch-label .sun {
    opacity: 1;
    color: #000;
}

#theme-toggle:checked + .theme-switch-label .moon {
    opacity: 0;
}

.theme-switch-label .sun {
    opacity: 0;
}

.theme-switch-label .moon {
    opacity: 1;
}

body.light-mode {
    background-color: #ffffff;
    color: #1a1a1a;
}

body.light-mode .course-promo {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .course-details h2,
body.light-mode .modal-section h3 {
    color: #1a1a1a;
}

body.light-mode .course-details ul li:before,
body.light-mode .modal-section ul li:before {
    color: #ff8a00;
}

body.light-mode .cta-button {
    background: linear-gradient(45deg, #e52e71, #ff8a00);
    color: #fff;
}

body.light-mode footer {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}

body.light-mode .social-links a {
    color: #333;
}

body.light-mode .social-links a:hover {
    color: #e52e71;
}

body.light-mode .copyright {
    color: #777;
}

body.light-mode .modal-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(240,240,240,0.95));
    color: #1a1a1a;
}

body.light-mode .close-btn {
    color: #333;
}

body.light-mode .close-btn:hover {
    color: #ff8a00;
}

/* Бесплатный курс */
.free-course-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(0,255,135,0.1) 0%, rgba(96,239,255,0.1) 100%);
}

.free-course-promo {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.course-header {
    margin-bottom: 30px;
}

.course-header .course-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.course-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.course-features li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.cta-button.free-btn {
    background: linear-gradient(45deg, #00ff87, #60efff);
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Преимущества */
.advantages-section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #00ff87, #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}


.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 255, 135, 0.15);
    border-color: rgba(0, 255, 135, 0.3);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
}

.advantage-card h3 {
    color: #00ff87;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.advantage-card p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Процесс обучения */
.learning-process-section {
    padding: 80px 20px;
}

.process-steps {
    max-width: 800px;
    margin: 50px auto 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 25px;
    text-align: left;
}

.step-number {
    background: linear-gradient(45deg, #00ff87, #60efff);
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0;
}

.step-content {
    flex: 1;
    text-align: left;
}

.step-content h3 {
    color: #00ff87;
    margin-bottom: 10px;
    font-size: 1.2rem;
    text-align: left;
}

.step-content p {
    color: #b0b0b0;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* Убираем все медиа-запросы, которые ломают структуру */
/* Адаптивность только для размеров */
/* Исправление процесса обучения для мобильных */
@media (max-width: 768px) {
    .process-step {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }
    
    .step-number {
        flex-shrink: 0 !important;
        margin-top: 0 !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
    
    .step-content {
        flex: 1 !important;
        text-align: left !important;
    }
    
    .step-content h3 {
        text-align: left !important;
        margin-bottom: 8px !important;
    }
    
    .step-content p {
        text-align: left !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .process-step {
        gap: 15px !important;
        margin-bottom: 25px !important;
    }
    
    .step-number {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .step-content h3 {
        font-size: 1.1rem !important;
    }
    
    .step-content p {
        font-size: 0.9rem !important;
    }
}

/* Светлая тема */
body.light-mode .learning-process-section {
    background: rgba(0,0,0,0.02);
}

body.light-mode .step-content h3 {
    color: #ff8a00;
}

body.light-mode .step-content p {
    color: #666;
}

body.light-mode .step-number {
    background: linear-gradient(45deg, #ff8a00, #e52e71);
    color: #fff;
}

/* Содержание курса */
.course-content-section {
    padding: 80px 20px;
}

.course-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    color: #b0b0b0;
    margin-top: 10px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.topic-card ul {
    text-align: left;
}

.topic-card li {
    text-align: left;
}

/* Конкретно для элементов списка */
.topic-card h3 + ul li {
    text-align: left !important;
}
.topic-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 255, 135, 0.15);
    border-color: rgba(0, 255, 135, 0.3);
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.topic-card h3 {
    color: #00ff87;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.topic-card ul {
    list-style: none;
    padding-left: 0;
}

.topic-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    color: #b0b0b0;
}

.topic-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00ff87;
}

.course-results {
    background: rgba(0,255,135,0.1);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0,255,135,0.2);
    text-align: center;
}

.course-results h3 {
    color: #00ff87;
    margin-bottom: 25px;
}

.results-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.result-item {
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: left;
}

.course-conclusion {
    font-size: 1.1rem;
    font-weight: bold;
    color: #00ff87;
}

.faq-section {
    padding: 80px 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}


.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}


.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(0, 255, 135, 0.3);
    transform: translateX(5px);
}

.faq-question {
    color: #00ff87;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-icon {
    font-size: 1.5rem;
}

.faq-answer {
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 1rem;
    text-align: left;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr; /* На мобильных одна колонка */
        minmax(200px, 1fr); /* Еще меньше минимальная ширина */
        gap: 20px;
    }
    
    .faq-item {
        padding: 20px 15px; /* Уменьшаем отступы */
        margin: 0 10px; /* Добавляем отступы по бокам */
    }
    .faq-question {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faq-item {
        padding: 15px 12px;
        margin: 0 5px;
    }
    
    .faq-question {
        font-size: 1.1rem; /* Уменьшаем шрифт */
        text-align: left;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .faq-item {
        padding: 12px 10px;
        margin: 0 3px;
    }
    
    .faq-question {
        font-size: 1rem;
        text-align: left;
    }
    
    .faq-answer {
        font-size: 0.85rem;
    }
}

/* О нас - команда */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(30,30,40,0.9) 100%);
    border-radius: 2%;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-text h2 {
    text-align: center;
}

.about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #e0e0e0;
    font-size: 1.1rem;
}

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

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 135, 0.15);
    border-color: rgba(0, 255, 135, 0.2);
}

.member-header {
    margin-bottom: 25px;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00ff87;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
}

.member-titles {
    text-align: center;
}

.member-name {
    color: #00ff87;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-role {
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 500;
}

.member-skills {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 8px;
}

.member-skills li {
    position: relative;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.member-skills li:hover {
    background: rgba(0, 255, 135, 0.1);
    transform: translateX(5px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .team-members {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .team-member {
        padding: 25px 20px;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 20px 15px;
    }
    
    .member-photo {
        width: 80px;
        height: 80px;
    }
}

/* Светлая тема */
body.light-mode .about-section {
    background: linear-gradient(135deg, rgba(245,245,245,0.9) 0%, rgba(255,255,255,0.9) 100%);
}

body.light-mode .team-member {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .team-member:hover {
    border-color: rgba(255, 138, 0, 0.3);
    box-shadow: 0 15px 30px rgba(255, 138, 0, 0.15);
}

body.light-mode .about-text p {
    color: #666;
}

body.light-mode .member-name {
    color: #ff8a00;
}

body.light-mode .member-role {
    color: #888;
}

body.light-mode .member-skills li {
    color: #666;
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .member-skills li:hover {
    background: rgba(255, 138, 0, 0.1);
}

body.light-mode .member-photo {
    border-color: #ff8a00;
    background: rgba(255, 255, 255, 0.9);
}

/* Отзывы */
.reviews-section {
    padding: 80px 20px;
}

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

.review-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.review-avatar {
    font-size: 3rem;
    margin-bottom: 15px;
}

.review-name {
    color: #00ff87;
    font-weight: bold;
    margin-bottom: 10px;
}

.review-text {
    color: #b0b0b0;
    line-height: 1.5;
    font-style: italic;
}

/* Telegram бот */
.bot-section {
    padding: 60px 20px; /* Уменьшил отступы */
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(96, 239, 255, 0.1) 100%);
    border-radius: 5%;
}

.bot-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.bot-promo {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.bot-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.bot-description {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.bot-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Уменьшил минимальную ширину */
    gap: 15px; /* Уменьшил отступы */
    margin: 30px 0;
}

.bot-feature {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px; /* Уменьшил отступы */
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem; /* Уменьшил шрифт */
    transition: transform 0.3s ease;
    text-align: left;
}

.bot-feature:hover {
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.3rem;
}

.cta-button.bot-btn {
    background: linear-gradient(45deg, #0088cc, #00ccff);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    min-width: 200px;
}

.cta-button.bot-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.4);
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .bot-section {
        padding: 40px 15px; /* Еще меньше на мобильных */
    }
    
    .bot-icon {
        font-size: 3.5rem;
    }
    
    .bot-features {
        grid-template-columns: 1fr; /* В столбик на мобильных */
        gap: 10px;
    }
    
    .bot-feature {
        padding: 12px 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .bot-section {
        padding: 30px 10px;
    }
    
    .bot-content {
        max-width: 100%;
    }
}

/* Светлая тема для кнопки бота */
body.light-mode .cta-button.bot-btn {
    background: linear-gradient(45deg, #0077b6, #0096c7);
}

body.light-mode .cta-button.bot-btn:hover {
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .cta-button.bot-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Прозрачность */
.transparency-section {
    padding: 130px 20px;
}

.transparency-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.transparency-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.transparency-item:hover {
    border-color: rgba(0, 255, 135, 0.3);
    transform: translateY(-5px);
}

.transparency-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.transparency-text {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 1.1rem;
}


/* Адаптивность */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-avatars {
        justify-content: center;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: flex-start; 
    }
    
    .transparency-content {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid,
    .topics-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Светлая тема для новых блоков */
body.light-mode .free-course-section {
    background: linear-gradient(135deg, rgba(255,138,0,0.1) 0%, rgba(229,46,113,0.1) 100%);
}

body.light-mode .advantage-card,
body.light-mode .topic-card,
body.light-mode .faq-item,
body.light-mode .review-card,
body.light-mode .transparency-item {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
}

body.light-mode .course-results {
    background: rgba(255,138,0,0.1);
    border: 1px solid rgba(255,138,0,0.2);
}

body.light-mode .bot-section {
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(96,239,255,0.1) 100%);
}

body.light-mode .course-features li,
body.light-mode .bot-feature,
body.light-mode .faq-answer,
body.light-mode .review-text,
body.light-mode .about-text p,
body.light-mode .topic-card li,
body.light-mode .course-description {
    color: #666;
}

body.light-mode .advantage-card h3,
body.light-mode .step-content h3,
body.light-mode .topic-card h3,
body.light-mode .faq-question,
body.light-mode .review-name,
body.light-mode .about-text h2,
body.light-mode .course-results h3,
body.light-mode .course-conclusion,
body.light-mode .avatar-name {
    color: #ff8a00;
}

body.light-mode .cta-button.free-btn {
    background: linear-gradient(45deg, #ff8a00, #e52e71);
}
/* Предотвращаем масштабирование */
html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Ограничиваем ширину контента */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Исправляем переключатель темы */
.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: min(20px, 5vw); /* Ограничиваем отступ */
    z-index: 1002;
}

/* Для мобильных */
@media (max-width: 768px) {
.theme-switch-wrapper {
        top: 15px;
        right: 15px;
        height: 44px; /* Высота мобильного меню */
    }
    
    .theme-switch-label {
        width: 55px;
        height: 28px;
    }
    
    .theme-switch-label .ball {
        width: 22px;
        height: 22px;
    }
    
    #theme-toggle:checked + .theme-switch-label .ball {
        transform: translateX(27px);
    }
}

@media (max-width: 480px) {
    .theme-switch-wrapper {
        top: 10px;
        right: 10px;
        height: 40px; /* Высота маленького меню */
    }
    
    .theme-switch-label {
        width: 50px;
        height: 26px;
    }
    
    .theme-switch-label .ball {
        width: 20px;
        height: 20px;
    }
    
    #theme-toggle:checked + .theme-switch-label .ball {
        transform: translateX(24px);
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .theme-switch-wrapper {
        top: 8px;
        right: 8px;
        height: 36px;
    }
    
    .theme-switch-label {
        width: 48px;
        height: 24px;
    }
    
    .theme-switch-label .ball {
        width: 18px;
        height: 18px;
        top: 3px;
        left: 3px;
    }
    
    #theme-toggle:checked + .theme-switch-label .ball {
        transform: translateX(24px);
    }
}

/* Предотвращаем горизонтальный скролл */
* {
    box-sizing: border-box;
}

/* Особенно для широких элементов */
.course-promo,
.creation-section,
.advantages-section,
.faq-section,
.about-section,
.bot-section,
.transparency-section {
    max-width: 100%;
    overflow-x: hidden;
}

/* Светлая тема для заголовков секций */
body.light-mode .section-title,
body.light-mode .advantages-section h2,
body.light-mode .faq-section h2,
body.light-mode .about-section h2,
body.light-mode .bot-section h2,
body.light-mode .transparency-section h2,
body.light-mode .reviews-section h2,
body.light-mode .learning-process-section h2,
body.light-mode .course-content-section h2 {
    background: linear-gradient(45deg, #ff8a00, #e52e71) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Для секции "Как проходит обучение" если она не попадает под .section-title */
body.light-mode .learning-process-section h2 {
    background: linear-gradient(45deg, #ff8a00, #e52e71) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Для секции "Отзывы" */
body.light-mode .reviews-section h2 {
    background: linear-gradient(45deg, #ff8a00, #e52e71) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Для секции "Содержание курса" */
body.light-mode .course-content-section h2 {
    background: linear-gradient(45deg, #ff8a00, #e52e71) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.light-mode .transparency-text {
    color: #666 !important;
}

/* Прелоадер - крипто стиль */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
}

.preloader-content {
    text-align: center;
    position: relative;
    padding: 20px;
}

/* Глитч-эффект для текста */
.glitch-wrapper {
    margin-bottom: 40px;
}

.glitch-text {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 8px;
    color: #00ff87;
    position: relative;
    animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-offset 0.3s infinite;
    color: #ff00de;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-offset 0.3s infinite reverse;
    color: #00e0ff;
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: skew(0deg, 0deg); }
    95% { transform: skew(0deg, 0deg); }
    96% { transform: skew(5deg, 2deg); }
    97% { transform: skew(-3deg, -1deg); }
    98% { transform: skew(2deg, 0deg); }
}

@keyframes glitch-offset {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(20% 0 30% 0); transform: translate(-2px, 1px); }
    40% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -1px); }
    60% { clip-path: inset(10% 0 60% 0); transform: translate(-1px, 2px); }
    80% { clip-path: inset(80% 0 5% 0); transform: translate(1px, -2px); }
}

/* Крипто-символы */
.crypto-symbols {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.crypto-symbols span {
    font-size: 1.8rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    filter: drop-shadow(0 0 10px rgba(0, 255, 135, 0.5));
}

.crypto-symbols span:nth-child(1) { animation-delay: 0.2s; color: #f7931a; }
.crypto-symbols span:nth-child(2) { animation-delay: 0.4s; color: #627eea; }
.crypto-symbols span:nth-child(3) { animation-delay: 0.6s; color: #00ff87; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Лоадер бар */
.loader-bar {
    width: 280px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00ff87, #60efff, #00ff87);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loading 1.8s ease-in-out forwards, gradientShift 1.5s ease infinite;
}

@keyframes loading {
    0% { width: 0%; }
    30% { width: 45%; }
    60% { width: 75%; }
    100% { width: 100%; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Статистика загрузки */
.loader-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 280px;
    margin: 0 auto;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.perc {
    color: #00ff87;
    font-weight: bold;
}

.status {
    color: rgba(255, 255, 255, 0.5);
    animation: blink 1.5s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Светлая тема */
body.light-mode #preloader {
    background: #f5f5f7;
}

body.light-mode .glitch-text {
    color: #ff8a00;
}

body.light-mode .glitch-text::before {
    color: #e52e71;
}

body.light-mode .glitch-text::after {
    color: #7b2cbf;
}

body.light-mode .loader-bar {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .status {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .crypto-symbols span:nth-child(1) { color: #f7931a; }
body.light-mode .crypto-symbols span:nth-child(2) { color: #627eea; }
body.light-mode .crypto-symbols span:nth-child(3) { color: #ff8a00; }