/* Переменные для темы */
:root {
    /* Темная тема (по умолчанию) */
    --primary-dark: #0a192f;
    --secondary-dark: #112240;
    --accent-blue: #2d5bff;
    --accent-teal: #00d4aa;
    --cloud-dancer: #e1e7f4;
    --text-light: #ccd6f6;
    --text-gray: #8892b0;
    --bg-color: #0a192f;
    --surface-color: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --border-color: rgba(255, 255, 255, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --python-color: #3776ab;
    --js-color: #f7df1e;
    --html-color: #e34c26;
}

[data-theme="light"] {
    /* Светлая тема на основе Cloud Dancer */
    --primary-dark: #f5f7fa;
    --secondary-dark: #ffffff;
    --accent-blue: #2d5bff;
    --accent-teal: #00d4aa;
    --cloud-dancer: #1a365d;
    --text-light: #2d3748;
    --text-gray: #718096;
    --bg-color: #f5f7fa;
    --surface-color: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --border-color: rgba(0, 0, 0, 0.05);
    --shadow-color: rgba(143, 168, 191, 0.2);
}

/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

.section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--surface-color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cloud-dancer);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu li a:hover {
    color: var(--cloud-dancer);
}

.nav-button {
    padding: 10px 25px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cloud-dancer);
    font-size: 24px;
    cursor: pointer;
}

/* Герой секция */
.hero-section {
    padding: 120px 20px 80px;
    background: var(--primary-dark);
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px var(--shadow-color);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, #1a365d 100%);
}

/* Декоративные элементы с Cloud Dancer (#e1e7f4) */
.code-element {
    position: absolute;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    color: rgba(225, 231, 244, 0.8);
    font-size: 14px;
    opacity: 0.9;
    background: rgba(225, 231, 244, 0.05);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(225, 231, 244, 0.1);
}

.python-code {
    top: 15%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
    color: #64ffda;
}

.js-code {
    bottom: 20%;
    right: 15%;
    animation: float 7s ease-in-out infinite 1s;
    color: #00d4aa;
}

.html-code {
    top: 40%;
    right: 10%;
    animation: float 5s ease-in-out infinite 0.5s;
    color: #2d5bff;
}

.code-keyword {
    color: #ff6b9d;
}

.code-string {
    color: var(--cloud-dancer);
}

.code-comment {
    color: rgba(225, 231, 244, 0.5);
}

/* Геометрические фигуры с Cloud Dancer */
.shape {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle,
            rgba(225, 231, 244, 0.15) 0%,
            rgba(0, 212, 170, 0.1) 30%,
            transparent 70%);
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -50px;
    background: radial-gradient(circle,
            rgba(45, 91, 255, 0.1) 0%,
            rgba(225, 231, 244, 0.1) 50%,
            transparent 80%);
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 25%;
    background: rgba(225, 231, 244, 0.07);
    border: 1px solid rgba(225, 231, 244, 0.15);
}

/* Сетка с Cloud Dancer */
.grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(225, 231, 244, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(225, 231, 244, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Анимированные линии с Cloud Dancer */
.line {
    position: absolute;
    background: linear-gradient(90deg,
            transparent,
            rgba(225, 231, 244, 0.3),
            rgba(0, 212, 170, 0.3),
            transparent);
    height: 1px;
    width: 100%;
    opacity: 0.6;
}

.line-1 {
    top: 30%;
    animation: moveLine 10s linear infinite;
}

.line-2 {
    top: 60%;
    animation: moveLine 8s linear infinite reverse;
}

/* Контент поверх фона */
.hero-content {
    position: relative;
    z-index: 10;
    padding: 80px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg,
            #64ffda,
            var(--cloud-dancer),
            #2d5bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    max-width: 600px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

/* Подсветка Cloud Dancer в тексте */
.highlight {
    color: var(--cloud-dancer);
    font-weight: 600;
}

.buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--cloud-dancer);
    border: 2px solid rgba(225, 231, 244, 0.4);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 15px 35px rgba(0, 212, 170, 0.4);
}

.btn-secondary:hover {
    background: rgba(225, 231, 244, 0.1);
    border-color: rgba(225, 231, 244, 0.8);
}

/* Плавающие частицы Cloud Dancer */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--cloud-dancer);
    border-radius: 50%;
    opacity: 0.3;
}

/* Анимации */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

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

    100% {
        transform: translateX(100%);
    }
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.1;
    }

    50% {
        transform: translate(30px, -40px);
        opacity: 0.6;
    }
}

/* Секция курсов */
.courses-section {
    padding: 100px 0;
    background: var(--secondary-dark);
    position: relative;
    overflow: hidden;
}

.section-bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.03;
    z-index: 0;
}

.bg-python {
    width: 500px;
    height: 500px;
    background: var(--python-color);
    top: -250px;
    left: -200px;
}

.bg-js {
    width: 400px;
    height: 400px;
    background: var(--js-color);
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
}

.bg-html {
    width: 300px;
    height: 300px;
    background: var(--html-color);
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg,
            var(--accent-teal),
            var(--cloud-dancer),
            var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    position: relative;
    z-index: 1;
}

.course-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px var(--shadow-color);
    border-color: rgba(255, 255, 255, 0.1);
}

.course-header {
    padding: 35px 30px 25px;
    position: relative;
    overflow: hidden;
}

.course-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 34px;
    font-weight: bold;
    color: white;
}

.course-icon.python {
    background: linear-gradient(135deg, var(--python-color), #306998);
}

.course-icon.js {
    background: linear-gradient(135deg, var(--js-color), #d6ba32);
    color: #323330;
}

.course-icon.html {
    background: linear-gradient(135deg, var(--html-color), #f06529);
}

.course-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--cloud-dancer);
}

.course-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1.05rem;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.python .tag {
    background: rgba(55, 118, 171, 0.15);
    color: #6ab0f3;
    border: 1px solid rgba(55, 118, 171, 0.3);
}

.js .tag {
    background: rgba(247, 223, 30, 0.15);
    color: var(--js-color);
    border: 1px solid rgba(247, 223, 30, 0.3);
}

.html .tag {
    background: rgba(227, 76, 38, 0.15);
    color: #ff8c7a;
    border: 1px solid rgba(227, 76, 38, 0.3);
}

.course-details {
    padding: 0 30px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.details-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--cloud-dancer);
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-title i {
    font-size: 1.2rem;
}

.details-list {
    list-style: none;
}

.details-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-gray);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.details-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-teal);
}

.course-action {
    padding: 30px;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-color);
}

.course-button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.python .course-button {
    background: linear-gradient(135deg, var(--python-color), #306998);
    color: white;
}

.js .course-button {
    background: linear-gradient(135deg, var(--js-color), #d6ba32);
    color: #323330;
}

.html .course-button {
    background: linear-gradient(135deg, var(--html-color), #f06529);
    color: white;
}

.course-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.card-decoration {
    position: absolute;
    opacity: 0.03;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    pointer-events: none;
}

.python .card-decoration {
    color: var(--python-color);
    bottom: 20px;
    right: 20px;
}

.js .card-decoration {
    color: var(--js-color);
    top: 20px;
    right: 20px;
}

.html .card-decoration {
    color: var(--html-color);
    bottom: 20px;
    left: 20px;
}

/* Секция преимуществ */
.advantages-section {
    padding: 100px 0;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    position: relative;
    z-index: 1;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: rgba(225, 231, 244, 0.15);
    box-shadow: 0 25px 50px var(--shadow-color);
    background: rgba(255, 255, 255, 0.05);
}

.card-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(225, 231, 244, 0.05);
    line-height: 1;
    z-index: 0;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 32px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-1 .advantage-icon {
    background: linear-gradient(135deg,
            rgba(0, 212, 170, 0.15),
            rgba(0, 212, 170, 0.05));
    color: var(--accent-teal);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.card-2 .advantage-icon {
    background: linear-gradient(135deg,
            rgba(45, 91, 255, 0.15),
            rgba(45, 91, 255, 0.05));
    color: var(--accent-blue);
    border: 1px solid rgba(45, 91, 255, 0.2);
}

.card-3 .advantage-icon {
    background: linear-gradient(135deg,
            rgba(225, 231, 244, 0.15),
            rgba(225, 231, 244, 0.05));
    color: var(--cloud-dancer);
    border: 1px solid rgba(225, 231, 244, 0.2);
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--cloud-dancer);
    position: relative;
    z-index: 1;
}

.advantage-description {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.advantage-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.details-list {
    list-style: none;
}

.details-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.details-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.card-1 .details-list li:before {
    background: var(--accent-teal);
}

.card-2 .details-list li:before {
    background: var(--accent-blue);
}

.card-3 .details-list li:before {
    background: var(--cloud-dancer);
}

.teacher-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg,
            rgba(225, 231, 244, 0.05),
            rgba(45, 91, 255, 0.05));
    border: 1px solid rgba(225, 231, 244, 0.1);
    padding: 50px;
    text-align: center;
    margin-top: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.teacher-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.teacher-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 48px;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.teacher-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--cloud-dancer);
}

.teacher-subtitle {
    font-size: 1.2rem;
    color: var(--accent-teal);
    margin-bottom: 25px;
    font-weight: 600;
}

.teacher-description {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: left;
}

.teacher-quote {
    font-style: italic;
    color: var(--cloud-dancer);
    border-left: 3px solid var(--accent-teal);
    padding-left: 20px;
    margin: 25px auto;
    max-width: 800px;
    text-align: left;
    font-size: 1.15rem;
    line-height: 1.6;
}

.teacher-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.teacher-stat {
    text-align: center;
    min-width: 150px;
}

.teacher-stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.teacher-stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.section-cta {
    text-align: center;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--cloud-dancer);
}

.cta-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.4);
    gap: 16px;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

/* Секция "Кому подойдет" */
.audience-section {
    padding: 100px 0;
    background: var(--secondary-dark);
    position: relative;
    overflow: hidden;
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.audience-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.audience-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(225, 231, 244, 0.2);
    box-shadow: 0 25px 50px var(--shadow-color);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 36px;
    transition: all 0.3s ease;
}

.card-1 .card-icon {
    background: linear-gradient(135deg,
            rgba(0, 212, 170, 0.2),
            rgba(0, 212, 170, 0.05));
    color: var(--accent-teal);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.card-2 .card-icon {
    background: linear-gradient(135deg,
            rgba(45, 91, 255, 0.2),
            rgba(45, 91, 255, 0.05));
    color: var(--accent-blue);
    border: 1px solid rgba(45, 91, 255, 0.2);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--cloud-dancer);
}

.card-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
    flex-grow: 1;
}

.benefits-list {
    list-style: none;
    margin-top: auto;
}

.benefits-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}

.benefits-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.2rem;
}

.card-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
    border-color: transparent rgba(225, 231, 244, 0.05) transparent transparent;
    border-radius: 0 20px 0 0;
}

.card-dots {
    position: absolute;
    bottom: 25px;
    right: 25px;
    opacity: 0.08;
    font-size: 28px;
    color: var(--cloud-dancer);
    display: flex;
    gap: 8px;
}

.center-element {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: linear-gradient(135deg,
            rgba(225, 231, 244, 0.1),
            rgba(225, 231, 244, 0.05));
    border: 1px solid rgba(225, 231, 244, 0.1);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.center-element i {
    font-size: 40px;
    color: var(--cloud-dancer);
    opacity: 0.7;
}

/* Секция отзывов */
.reviews-section {
    padding: 100px 0;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.reviews-container {
    position: relative;
    z-index: 1;
}

.reviews-slider {
    display: flex;
    gap: 35px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px 35px;
    border: 1px solid var(--border-color);
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 231, 244, 0.15);
    box-shadow: 0 20px 40px var(--shadow-color);
    background: rgba(255, 255, 255, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.reviewer-info {
    flex-grow: 1;
    min-width: 0;
}

.reviewer-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--cloud-dancer);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-course {
    font-size: 0.95rem;
    color: var(--accent-teal);
    font-weight: 500;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.star {
    color: #ffc107;
    font-size: 16px;
}

.star.empty {
    color: rgba(255, 255, 255, 0.1);
}

.review-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 25px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.review-card:nth-child(3) .review-text {
    font-size: 1rem;
    line-height: 1.65;
}

.review-text:before {
    content: "«";
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3rem;
    color: rgba(0, 212, 170, 0.1);
    font-family: Georgia, serif;
}

.review-decoration {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0.03;
    font-size: 24px;
    color: var(--cloud-dancer);
    font-family: 'Courier New', monospace;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--cloud-dancer);
    font-size: 20px;
}

.slider-button:hover {
    background: rgba(45, 91, 255, 0.2);
    border-color: var(--accent-blue);
    transform: scale(1.1);
}

.slider-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-button:disabled:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-teal);
    transform: scale(1.2);
}

.reviews-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-teal);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--cloud-dancer);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}

.all-reviews-link {
    text-align: center;
    margin-top: 60px;
}

.reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid rgba(0, 212, 170, 0.3);
    transition: all 0.3s ease;
    background: rgba(0, 212, 170, 0.05);
}

.reviews-link:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--accent-teal);
    gap: 15px;
}

/* Секция FAQ */
.faq-section {
    padding: 100px 0;
    background: var(--secondary-dark);
    position: relative;
    overflow: hidden;
}

.faq-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(225, 231, 244, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.faq-item.active {
    border-color: rgba(0, 212, 170, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.question-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cloud-dancer);
    flex-grow: 1;
    padding-right: 20px;
    line-height: 1.5;
}

.question-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: rgba(0, 212, 170, 0.15);
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 500px;
}

.answer-content {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.answer-list {
    list-style: none;
    margin: 15px 0;
}

.answer-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

.answer-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
}

.cta-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-teal);
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    transition: all 0.3s ease;
}

.cta-inline:hover {
    background: rgba(0, 212, 170, 0.2);
    gap: 12px;
}

.questions-remaining {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg,
            rgba(225, 231, 244, 0.05),
            rgba(45, 91, 255, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(225, 231, 244, 0.1);
    position: relative;
    z-index: 1;
}

.remaining-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--cloud-dancer);
}

.remaining-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(225, 231, 244, 0.2);
    transform: translateY(-3px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.contact-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--cloud-dancer);
}

.contact-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Футер */
.footer-section {
    background: var(--surface-color);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.footer-bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.03;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.footer-bg-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-teal);
    bottom: -150px;
    left: -150px;
}

.footer-bg-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-blue);
    top: -100px;
    right: -100px;
}

[data-theme="light"] .footer-bg-element {
    opacity: 0.08;
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.5s ease;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 30px;
    transition: color 0.5s ease;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cloud-dancer);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(45, 91, 255, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.footer-nav-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nav-column h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--cloud-dancer);
    position: relative;
    padding-bottom: 10px;
    transition: color 0.5s ease;
}

.nav-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-blue));
    border-radius: 2px;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 12px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover {
    color: var(--cloud-dancer);
    transform: translateX(5px);
}

.nav-links a i {
    font-size: 12px;
    color: var(--accent-teal);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover i {
    opacity: 1;
}

.contact-info {
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.5s ease;
}

.contact-item i {
    color: var(--accent-teal);
    width: 20px;
}

.callback-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.callback-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
    transition: border-color 0.5s ease;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.5s ease;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cloud-dancer);
}

/* Переключатель темы */
.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-color);
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 5px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.5s ease;
}

.theme-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cloud-dancer);
    white-space: nowrap;
}

.theme-toggle {
    width: 50px;
    height: 26px;
    background: var(--border-color);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

[data-theme="light"] .theme-toggle:before {
    transform: translateX(24px);
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
}

.theme-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: white;
}

.sun-icon {
    left: 6px;
    opacity: 0;
}

.moon-icon {
    right: 6px;
    opacity: 0.5;
}

[data-theme="light"] .sun-icon {
    opacity: 0.5;
}

[data-theme="light"] .moon-icon {
    opacity: 0;
}

/* Плавающая кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 25px var(--shadow-color);
    border: none;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 212, 170, 0.4);
}

        /* ========== НОВЫЕ СТИЛИ ДЛЯ ССЫЛОК ========== */
        .teacher-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin: 30px auto 0;
            max-width: 900px;
        }

        .teacher-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 22px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            color: var(--cloud-dancer);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .teacher-link:hover {
            background: rgba(45, 91, 255, 0.15);
            border-color: rgba(45, 91, 255, 0.3);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .teacher-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(45, 91, 255, 0.1), 
                rgba(0, 212, 170, 0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .teacher-link:hover::before {
            opacity: 1;
        }

        .teacher-link i {
            font-size: 1.1rem;
            color: var(--accent-teal);
            transition: transform 0.3s ease;
        }

        .teacher-link:hover i {
            transform: scale(1.2);
            color: var(--cloud-dancer);
        }

        .teacher-link-university i {
            color: #2d5bff;
        }

        .teacher-link-personal i {
            color: #00d4aa;
        }

        .teacher-link-profi i {
            color: #ff6b6b;
        }

        .teacher-link-biblioclub i {
            color: #4ecdc4;
        }

        .teacher-link-lanbook i {
            color: #ffd166;
        }

        .teacher-link span {
            line-height: 1.4;
        }

        /* =========================================== */


/* Анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Адаптивность */
@media (max-width: 1200px) {
    .courses-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .course-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-nav-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .reviews-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 30px;
        gap: 25px;
    }
    
    .review-card {
        min-width: 320px;
        max-width: 320px;
    }
    
    .teacher-highlight {
        padding: 40px 30px;
    }
    
    .teacher-stats {
        gap: 30px;
    }
    
    .teacher-stat {
        min-width: 130px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--surface-color);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px var(--shadow-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-button {
        display: none;
    }
    
    .hero-container {
        height: 500px;
    }
    
    .hero-content {
        padding: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .code-element {
        font-size: 12px;
        padding: 10px;
        max-width: 200px;
    }
    
    .buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .courses-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 30px;
    }
    
    .course-card {
        max-width: 100%;
    }
    
    .course-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    
    .course-header {
        padding: 30px 25px 20px;
    }
    
    .course-details {
        padding: 0 25px 25px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .advantage-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    
    .advantage-card {
        padding: 30px;
    }
    
    .audience-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 30px;
    }
    
    .center-element {
        display: none;
    }
    
    .audience-card {
        padding: 35px 25px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .review-card {
        min-width: 300px;
        max-width: 300px;
        padding: 30px 25px;
    }
    
    .review-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .review-card:nth-child(3) .review-text {
        font-size: 0.95rem;
    }
    
    .reviews-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .questions-remaining {
        padding: 40px 25px;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-method {
        justify-content: flex-start;
    }
    
    .footer-content {
        padding: 40px 25px 30px;
    }
    
    .footer-nav-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .theme-switcher {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .course-name {
        font-size: 1.6rem;
    }
    
    .course-stats {
        grid-template-columns: 1fr;
    }
    
    .card-title {
        font-size: 1.6rem;
    }
    
    .reviewer-name {
        font-size: 1.1rem;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .review-card:nth-child(3) .review-text {
        font-size: 0.9rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .remaining-title {
        font-size: 1.5rem;
    }
    
    .remaining-text {
        font-size: 1rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .question-number {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 0.8rem;
        margin-right: 12px;
    }
    
    .footer-content {
        padding: 30px 20px 25px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .footer-description {
        font-size: 1rem;
    }
    
    .nav-column h3 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .theme-switcher {
        padding: 6px 10px;
    }
    
    .theme-label {
        font-size: 0.8rem;
    }
}