@font-face {
    font-family: 'PixarOne';
    src: url("font/pixarone.otf");
  font-display: swap; /* Важно! Браузер сначала покажет системный шрифт, потом заменит */
    font-weight: normal;
    font-style: normal;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
}


/* Основные стили шрифтов */
h1, h3, h4, h5, h6, a, .home-stat-item {
    font-family: "PixarOne", Arial, sans-serif;
    font-size: 20px;
}

li {
    font-family: "Andika", Arial, sans-serif;
    font-size: 18px;
}

p {
    font-family: "BAndika", Arial, sans-serif;
    font-size: 18px;
}

h2 {
    font-family: "PixarOne", Arial, sans-serif;
    font-size: 34px;  
}

body {
    font-family: Arial, sans-serif;
    background-color: #F5FFFA;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Шапка */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #3498db;
    text-decoration: none;
}

.main-nav {
    display: flex;
    transition: all 0.3s ease;
}

.main-nav__link {
    position: relative;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    margin: 0 15px;
    padding: 5px 0;
    font-weight: 500;
}

.main-nav__link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f1d867;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav__link:hover::before {
    transform: scaleX(1);
}

.main-nav__link:hover {
    color: #3498db;
}

.login-btn {
    background-color: #f1d867;
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.login-btn:hover {
    background-color: #e6cd5a;
    color: #333;
}

.price-btn{
    background-color: #3498db;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.price-btn:hover {
    background-color: #3498db;
    color: #ffffff;
}
/* Бургер меню */
/* Бургер меню */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #3498db;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Логотип - оптимальные размеры */
.logo-image {
    width: 120px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001; /* Меню выше оверлея */
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav__link {
        width: 100%;
        margin: 10px 0;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }
    
    .main-nav__link::before {
        display: none;
    }
    
    .login-btn, .price-btn {
        width: 100%;
        text-align: center;
        margin: 5px 0;
        cursor: pointer;
    }
    
    /* Оверлей для затемнения фона */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000; /* Оверлей ниже меню */
        pointer-events: none; /* Важно: оверлей не блокирует клики */
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto; /* Включаем клики только когда активен */
    }

    /* Логотип для мобильных */
    .logo-image {
        width: 100px;
        height: 35px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .logo-image {
        width: 90px;
        height: 32px;
    }
}

/* Блокировка скролла при открытом меню */
body.no-scroll {
    overflow: hidden;
}


/* Первый блок */
/* ПЕРВЫЙ БЛОК - УНИКАЛЬНЫЕ КЛАССЫ */
.home-hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4em 2em;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 50%, #f1d867 100%);
    border-radius: 30px;
    max-width: 1400px;
    margin: 80px auto 40px;
    width: calc(100% - 40px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(52, 152, 219, 0.15);
}

.home-hero-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(241, 216, 103, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.home-hero-left {
    width: 50%;
    padding-right: 40px;
    position: relative;
    z-index: 2;
}

.home-hero-badge {
    display: inline-block;
    background:  #3498db;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    animation: home-float 3s ease-in-out infinite;
}

.home-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.1;
}

.home-hero-title .home-highlight {
    background: #3498db;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-hero-subtitle {
    font-size: 1.3rem;
    color: #5a6c7d;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
}

.home-hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.home-feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    min-width: 180px;
}

.home-feature-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.15);
}

.home-feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.home-feature-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-feature-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    white-space: nowrap;
}

.home-feature-desc {
    color: #7f8c8d;
    font-size: 0.9rem;
    white-space: nowrap;
}

.home-hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.home-cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.home-cta-button:hover::before {
    left: 100%;
}

.home-cta-button.primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

.home-cta-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.6);
}

.home-cta-button.secondary {
    background: white;
    color: #2c3e50;
    border: 2px solid #3498db;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.2);
}

.home-cta-button.secondary:hover {
    transform: translateY(-5px);
    background: #3498db;
    color: white;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

.home-cta-button span {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.home-cta-button small {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

.home-hero-stats {
    display: flex;
    gap: 30px;
}

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

.home-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #3498db;
    margin-bottom: 5px;
}

.home-stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 600;
}

.home-hero-right {
    width: 50%;
    position: relative;
    z-index: 2;
}

.home-hero-visual {
    position: relative;
    height: 500px;
}

.home-main-image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.home-main-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.home-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-image-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.2), rgba(241, 216, 103, 0.2));
    z-index: 1;
}

.home-floating-element {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.home-element-1 {
    top: 20px;
    right: 50px;
    animation: home-float 3s ease-in-out infinite;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.home-element-2 {
    top: 80px;
    right: -20px;
    animation: home-float 3s ease-in-out infinite 1s;
    border: 2px solid #f1d867;
}

.home-element-3 {
    bottom: 100px;
    right: 30px;
    animation: home-float 3s ease-in-out infinite 2s;
    background: linear-gradient(135deg, #f1d867, #f39c12);
    color: white;
}

.home-robot-companion {
    position: absolute;
    bottom: 0;
    left: -50px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-robot-companion img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3498db;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    animation: home-bounce 2s ease-in-out infinite;
}

.home-robot-speech {
    background: white;
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.home-robot-speech::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid white;
}

@keyframes home-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes home-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Адаптивность для первого блока */
@media (max-width: 1024px) {
    .home-hero-container {
        flex-direction: column;
        text-align: center;
        padding: 3em 1.5em;
    }
    
    .home-hero-left, .home-hero-right {
        width: 100%;
        padding: 0;
    }
    
    .home-hero-left {
        margin-bottom: 40px;
    }
    
    .home-hero-title {
        font-size: 2.8rem;
    }
    
    .home-hero-features {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .home-feature-card {
        min-width: 250px;
        justify-content: center;
    }
    
    .home-hero-cta {
        justify-content: center;
    }
    
    .home-hero-stats {
        justify-content: center;
    }
    
    .home-robot-companion {
        position: relative;
        left: 0;
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .home-hero-title {
        font-size: 2.2rem;
    }
    
    .home-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .home-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .home-cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .home-floating-element {
        display: none;
    }
    
    .home-main-image {
        height: 300px;
    }
    
    /* Сетка 2x2 вместо лестницы */
    .home-hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .home-feature-card {
        min-width: unset;
        padding: 12px 10px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .home-feature-icon {
        font-size: 1.5rem;
    }
    
    .home-feature-title {
        font-size: 0.85rem;
        white-space: normal;
    }
    
    .home-feature-desc {
        font-size: 0.75rem;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .home-hero-container {
        padding: 2em 1em;
        margin: 60px auto 20px;
    }
    
    .home-hero-title {
        font-size: 1.8rem;
    }
    
    /* Сетка 2x2 - компактная */
    .home-hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .home-feature-card {
        min-width: unset;
        padding: 10px 8px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .home-feature-icon {
        font-size: 1.3rem;
    }
    
    .home-feature-title {
        font-size: 0.75rem;
        white-space: normal;
    }
    
    .home-feature-desc {
        font-size: 0.65rem;
        white-space: normal;
    }
    
    .home-hero-stats {
        gap: 15px;
    }
    
    .home-stat-number {
        font-size: 1.3rem;
    }
    
    .home-stat-label {
        font-size: 0.75rem;
    }
}
/* Второй блок - Курс */
/* ДОБАВЛЯЕМ СТИЛИ ДЛЯ ПРЕДОТВРАЩЕНИЯ ПЕРЕНОСА ТЕКСТА */
.courses-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e5ff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
}

.section-title span {
    color: #3498db;
}

/* Контейнер для двух блоков в строке */
.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Общие стили для обоих блоков */
.course-block {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Стили для бейджа курса */
.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(241, 216, 103, 0.1));
    color: #3498db;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1.5px solid rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
}

.course-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: left 0.6s ease;
}

.course-badge:hover::before {
    left: 100%;
}

.course-badge::after {
    content: '✨';
    font-size: 12px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1) rotate(10deg);
    }
}

/* Блок с описанием курса */
.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #f1d867);
}

.course-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-content h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
    flex-shrink: 0;
}

.course-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    flex: 1;
}

/* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ ПРЕИМУЩЕСТВ */
.course-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: #3498db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    color: #34495e;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
}

.course-highlight {
    color: #3498db;
    font-weight: bold;
}

.course-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: rgba(52, 152, 219, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    margin-top: auto;
    flex-shrink: 0;
}

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

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
    font-family: 'PixarOne', Arial, sans-serif;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Блок с видео */
.video-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f1d867, #3498db);
}

.video-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-header {
    text-align: center;
    margin-bottom: 25px;
    flex-shrink: 0;
}

.video-header h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.video-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    font-style: italic;
}

.video-container-modern {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 25px;
    flex: 1;
    min-height: 200px;
}

.video-container-modern:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-cta {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: auto;
    flex-shrink: 0;
}

.video-cta-text {
    color: #34495e;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.trial-lesson-btn-modern {
    background: #3498db;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    max-width: 250px;
}

.trial-lesson-btn-modern:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Адаптивность */
@media (max-width: 968px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .course-block {
        padding: 30px 25px;
    }
    
    .course-content h2 {
        font-size: 26px;
    }
    
    .video-header h3 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .course-block {
        padding: 25px 20px;
    }
    
    .course-content h2 {
        font-size: 24px;
    }
    
    .video-header h3 {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .trial-lesson-btn-modern {
        padding: 12px 25px;
        font-size: 14px;
        max-width: 220px;
    }
    
    .course-features {
        gap: 10px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .course-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .course-grid {
        gap: 20px;
    }
    
    .course-block {
        padding: 20px 15px;
    }
    
    /* На мобильных оставляем в строке, но разрешаем перенос */
    .course-feature {
        flex-direction: row;
        text-align: left;
        gap: 10px;
    }
    
    .feature-text {
        text-align: left;
        font-size: 14px;
        line-height: 1.3;
    }
}
/* Третий блок - О нас */
.why-point-section {
    padding: 80px 0;
    background-color: #f9f9ff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: rgb(0, 0, 0);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.why-point-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(123, 130, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.why-point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #3498db;
    z-index: 2;
}

/* Градиенты для каждой карточки */
.why-point-card:nth-child(1) {
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e5ff 100%);
}

.why-point-card:nth-child(2) {
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ebff 100%);
}

.why-point-card:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f0f3ff 100%);
}

.why-point-card:nth-child(4) {
    background: linear-gradient(135deg, #fafbff 0%, #e6e9ff 100%);
}

.why-point-card:nth-child(5) {
    background: linear-gradient(135deg, #fdfdff 0%, #ecedff 100%);
}

.why-point-card:nth-child(6) {
    background: linear-gradient(135deg, #fcfdff 0%, #e8eaff 100%);
}

.why-point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(123, 130, 255, 0.2);
}

.why-point-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
}

.why-point-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.why-point-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.why-point-description {
    color: #34495e;
    line-height: 1.6;
    font-size: 16px;
}

.why-point-card:hover::before {
    height: 8px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .why-point-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
}


/* Стили для блока этапов обучения */
.learning-steps {
    background-color: #5f89b3;
    padding: 60px 0;
    color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: rgb(0, 0, 0);
}
.section-title_1{
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: rgb(255, 255, 255);
}

.steps-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.step-line {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-line::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: rgba(255,255,255,0.3);
    z-index: 1;
}

.step-point {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    z-index: 2;
}

.point-number {
    width: 60px;
    height: 60px;
    background-color: #FDDB6D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    flex-shrink: 0;
}

.point-content {
    background-color: rgba(255,255,255,0.1);
    font-size: 18px;
    padding: 20px;
    border-radius: 10px;
    flex-grow: 1;
    position: relative;
    margin-top: 15px;
}

.point-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255,255,255,0.1);
}

.step-flag {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
}

.step-flag img {
    width: 100%;
}

/* Ломаная линия между точками */
.step-point::after {
    content: '';
    position: absolute;
    left: 60px;
    top: 60px;
    width: calc(100% - 80px);
    height: 2px;
    background-color: #FDDB6D;
    z-index: -1;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .step-line::before {
        left: 20px;
    }
    
    .step-point {
        flex-direction: column;
        gap: 10px;
    }
    
    .point-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .point-content {
        margin-top: 0;
        margin-left: 50px;
    }
    
    .point-content::before {
        left: -10px;
        top: 15px;
        border-right: 10px solid rgba(255,255,255,0.1);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }
    
    .step-point::after {
        left: 40px;
        top: 40px;
        width: 2px;
        height: calc(100% - 40px);
    }
    
    .step-flag {
        right: 0;
        top: auto;
        bottom: -40px;
        transform: none;
        width: 60px;
    }
}

/* Стили для кнопки с шрифтом PixarOne */
.trial-lesson-btn-container {
    text-align: center;
    margin-top: 60px;
}

.trial-lesson-btn {
    background-color: #3498db;
    border-radius: 5px;
    color: white;
    border: none;
    padding: 1.3em 1.9em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    min-width: 400px;
    text-align: center;
    box-sizing: border-box;
    font-family: 'PixarOne', Arial, sans-serif; /* Применяем шрифт PixarOne */
    font-size: 18px; /* Увеличиваем размер шрифта для лучшей читаемости */
    font-weight: normal; /* PixarOne обычно не требует bold */
    text-decoration: none;
    line-height: 1;
    text-transform: uppercase; /* Опционально: сделать текст заглавными буквами */
    letter-spacing: 1px; /* Небольшой отступ между буквами */
}

.trial-lesson-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px); /* Добавляем небольшой эффект поднятия */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Тень при наведении */
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .trial-lesson-btn {
        padding: 1.1em 1.6em; /* Чуть больше отступы для мобильных */
        min-width: 350px; /* Уменьшаем минимальную ширину */
        font-size: 16px; /* Уменьшаем размер шрифта */
        letter-spacing: 0.5px; /* Меньший отступ между буквами */
    }
    
    .trial-lesson-btn-container {
        margin-top: 50px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .trial-lesson-btn {
        min-width: 250px;
        font-size: 14px;
        padding: 1em 1.4em;
    }
}


/* Стили для блока причин */
.reasons-section {
    background-color: #f5f7fa;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.reasons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    line-height: 1.2;
}

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

.reason-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.reason-number {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 24px;
    color: #3498db;
    margin-bottom: 15px;
    font-weight: bold;
}

.reason-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.reason-text {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reason-icon {
    font-size: 40px;
    text-align: right;
    opacity: 0.8;
    margin-top: 20px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reason-card {
        padding: 25px;
    }
    
    .reason-icon {
        font-size: 32px;
    }
}
/* Стили для теста */
.course-test {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 80px 0;
    color: white;
}

.test-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.test-title {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
}

.test-progress {
    margin-bottom: 40px;
    position: relative;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.progress-bar {
    height: 100%;
    background: #FDDB6D;
    border-radius: 2px;
    width: 0;
    position: relative;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 15px;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-weight: bold;
    position: relative;
}

.step.active {
    background: #FDDB6D;
    color: #2c3e50;
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #2c3e50;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step.active::after {
    opacity: 0;
}

.progress-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 25%;
    background: #FDDB6D;
    transition: width 0.3s ease;
    z-index: 2;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-weight: bold;
}

.step.active {
    background: #FDDB6D;
    color: #ffffff;
}

.test-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.test-step.active {
    display: block;
}

.test-step h3 {
    margin-top: 60px;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.option-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 18px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

.test-result {
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.result-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.result-course {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 28px;
    color: #FDDB6D;
    margin: 20px 0;
}

.result-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.try-course-btn {
    background: #FDDB6D;
    color: #2c3e50;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.try-course-btn:hover {
    background: #eec86d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.reset-test-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.reset-test-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

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

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .test-title {
        font-size: 28px;
    }
    
    .test-step h3 {
        font-size: 20px;
    }
    
    .option-btn {
        padding: 15px;
        font-size: 16px;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .try-course-btn, .reset-test-btn {
        width: 100%;
    }
}

/* Стили для теста */
/* Стили для теста */
.course-test {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 80px 0;
    color: white;
}

.test-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.test-title {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.3;
}

.test-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.test-progress {
    margin-bottom: 40px;
    position: relative;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.progress-bar {
    height: 100%;
    background: #FDDB6D;
    border-radius: 2px;
    width: 0;
    position: relative;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 15px;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-weight: bold;
    position: relative;
}

.step.active {
    background: #FDDB6D;
    color: #2c3e50;
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #2c3e50;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step.active::after {
    opacity: 0;
}

.progress-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 25%;
    background: #FDDB6D;
    transition: width 0.3s ease;
    z-index: 2;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-weight: bold;
}

.step.active {
    background: #FDDB6D;
    color: #ffffff;
}

.test-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.test-step.active {
    display: block;
}

.test-step h3 {
    margin-top: 60px;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.option-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 18px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

.test-result {
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.result-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.test-result h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.highlight {
    color: #FDDB6D;
    font-weight: bold;
}

.result-course {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 28px;
    color: #FDDB6D;
    margin: 20px 0;
}

.result-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.try-course-btn {
    background: #FDDB6D;
    color: #2c3e50;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.try-course-btn:hover {
    background: #eec86d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.reset-test-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.reset-test-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

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

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .test-title {
        font-size: 28px;
    }
    
    .test-subtitle {
        font-size: 16px;
    }
    
    .test-step h3 {
        font-size: 20px;
    }
    
    .option-btn {
        padding: 15px;
        font-size: 16px;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .try-course-btn, .reset-test-btn {
        width: 100%;
    }
}
/* Стили для блока тарифов */
.pricing-section {
    background-color: #f9f9ff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.pricing-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.section-title {
    text-align: center;
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 60px;
}

.section-title .highlight {
    color: #3498db;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 350px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.main-card {
    border: 2px solid #3498db;
}

.group-card {
    border: 2px solid #eec86d;
}

.group-card .amount {
    color: #eec86d;
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.price-header h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.price-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amount {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 42px;
    color: #3498db;
    line-height: 1;
}

.per-lesson {
    font-size: 16px;
    color: #95a5a6;
    margin-top: 5px;
}

.price-features {
    margin-bottom: 30px;
}

.price-features p {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    color: #7f8c8d;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.price-features p:last-child {
    border-bottom: none;
}

.price-features strong {
    color: #2c3e50;
    margin-right: 5px;
}

.cta-button {
    display: block;
    background: #3498db;
    color: white;
    min-width: 200px;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    margin: 0 auto;
}

.group-card .cta-button {
    background: #eec86d;
}

.group-card .cta-button:hover {
    background: #27ae60;
}

.cta-button:hover {
    background: #2980b9;
}

.discounts-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.discounts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.discounts-header h3 {
    font-size: 24px;
    margin: 0;
}

.discount-icon {
    font-size: 40px;
}

.discounts-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.discount-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.discount-badge {
    background: #FDDB6D;
    color: #2c3e50;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 20px;
}

.discount-text {
    font-size: 16px;
    line-height: 1.4;
}

.note {
    font-size: 14px;
    opacity: 0.7;
    text-align: center;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card, .discounts-card {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .amount {
        font-size: 36px;
    }
}


.subscription-calculators {
    background-color: #f5f7fa;
    padding: 80px 0;
    position: relative;
  }
  .calculators-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

.subscription-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    z-index: 0;
}
.price-per-lesson {
    background: linear-gradient(to right, #2ecc71, #3498db);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
  }
  
  /* Остальные стили остаются такими же, как в предыдущем варианте */


  .calculators-title {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: #2c3e50;
  }

  .calculators-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 50px;
    font-size: 18px;
  }
  .calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
  }

.calculator-subtitle::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    margin: 20px auto 0;
}
.calculator-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  .calculator-card.group {
    border-top: 4px solid #eec86d;
  }
  
  .calculator-card.individual {
    border-top: 4px solid #3498db;
  }
  
  .calculator-type {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
  }
  
  .calculator-card.group .calculator-type {
    color: #eec86d;
  }
  
  .calculator-card.individual .calculator-type {
    color: #3498db;
  }

.calculator-slider {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.calculator-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
  }
  
  .price-per-lesson {
    background: linear-gradient(to right, #2ecc71, #3498db);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .calculator-card.individual .price-per-lesson {
    background: linear-gradient(to right, #2ecc71, #3498db);
  }
  
  .order-btn {
    display: block;
    width: 300px;
    margin: 40px auto 0;
    background: linear-gradient(to right, #3498db, #2ecc71);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  }
  
  @media (max-width: 768px) {
    .calculators-grid {
      grid-template-columns: 1fr;
    }
    
    .calculator-card {
      padding: 25px;
    }
  }

.lessons-count {
    font-family: 'PixarOne', Arial, sans-serif;
    font-size: 24px;
    color: #2c3e50;
    font-weight: bold;
}

.discount-badge {
    background: linear-gradient(to right, #2ecc71, #3498db);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #e0e7ff;
    outline: none;
    margin: 40px 0 50px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.5);
    border: 3px solid white;
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #2980b9;
}

.slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.5);
    border: 3px solid white;
}

.slider-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.slider-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e7ff;
    z-index: -1;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #7f8c8d;
    border: 2px solid #e0e7ff;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    font-family: 'PixarOne', Arial, sans-serif;
}

.step.active {
    background: linear-gradient(to right, #2ecc71, #3498db);
    border-color: #3498db;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0);
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step.active::after {
    opacity: 0;
}

.calculator-result {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e7ff;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-item.discount {
    color: #2ecc71;
    font-weight: 600;
}

.result-item.total {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #3498db;
}

.order-btn {
    display: block;
    width: 30%;
    background: linear-gradient(to right, #3498db, #3498db);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'PixarOne', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .calculator-title {
        font-size: 32px;
    }
    
    .calculator-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .calculator-slider {
        padding: 30px;
    }
    
    .lessons-count {
        font-size: 20px;
    }
    
    .discount-badge {
        font-size: 14px;
        padding: 6px 15px;
    }
    
    .result-item {
        font-size: 16px;
    }
    
    .result-item.total {
        font-size: 20px;
    }
    
    .order-btn {
        font-size: 18px;
        padding: 16px;
    }
}


/* Стили для блока преимуществ */
.advantages-section {
    background-color: #f5f7fa;
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.advantage-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.advantages-cta {
    text-align: center;
}

.advantages-cta p {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Адаптивность для блока преимуществ */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 60px 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 25px 20px;
    }
}
    



/* Пятый блок - FAQ */
.faq-section {
    background-color: #f5f7fa;
    padding: 80px 0;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 50px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 25px;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

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

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
}

.faq-cta p {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .faq-answer p {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
}
/* Шестой блок - Контакты */
.contacts-container {
    background: linear-gradient(135deg, #f9f9ff 0%, #f0f2ff 100%);
    padding: 100px 0;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.contacts-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.contacts-container::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(241, 216, 103, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.contacts-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.15);
    position: relative;
    z-index: 1;
}

.contacts-info, .contacts-form {
    flex: 1;
    min-width: 300px;
    padding: 50px;
}

.contacts-info {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.contacts-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

.contacts-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #3498db 0%, #f1d867 100%);
    border-radius: 2px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    margin-right: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon svg {
    transform: scale(1.1);
}

.contact-text a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 5px;
}

.whatsapp-link:hover {
    color: #25D366;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

.telegram-link:hover {
    color: #0088cc;
    text-shadow: 0 0 10px rgba(0, 136, 204, 0.3);
}

.vk-link:hover {
    color: #4680C2;
    text-shadow: 0 0 10px rgba(70, 128, 194, 0.3);
}

.email-link:hover {
    color: #D44638;
    text-shadow: 0 0 10px rgba(212, 70, 56, 0.3);
}

.contact-description {
    margin-top: 5px;
    color: #bdc3c7;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contacts-form {
    background: white;
}

.form-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-subtitle {
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.5;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e8ebff;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9ff;
    font-family: "Montserrat", sans-serif;
    color: #2c3e50;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
    background: white;
    transform: translateY(-2px);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    background: white;
    padding: 0 8px;
    color: #3498db;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    color: #2c3e50;
    font-weight: 700;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    min-width: 200px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0 auto;
    font-family: 'PixarOne', Arial, sans-serif;
}

.submit-btn:hover {
    background: #2980b9;
}

.privacy-notice {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #7f8c8d;
    text-align: center;
    line-height: 1.4;
}

.privacy-notice a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacy-notice a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts-container {
        padding: 60px 0;
    }
    
    .contacts-info, .contacts-form {
        padding: 30px 25px;
    }
    
    .contacts-title {
        font-size: 1.8rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .contact-text a {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contacts-info, .contacts-form {
        padding: 25px 20px;
    }
    
    .contacts-title {
        font-size: 1.6rem;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Подвал */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-info h3 {
    color: #f1d867;
}

.footer-contacts h4 {
    color: #f1d867;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .home-container,
    .contacts-wrapper {
        width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: linear-gradient(135deg, #F5FFFA 0%, #fef8e2 100%);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav__link {
        margin: 10px 0;
        font-size: 18px;
    }
    
    .home-container {
        flex-direction: column;
        padding: 1em;
        margin-top: 80px;
    }
    
    .left-part, .right-part {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .photo-frame {
        height: 200px;
        width: 100%;
    }
    
    .photo-container {
        width: 80px;
        height: 80px;
        top: -25px;
        right: -10px;
    }
    
    .left-part {
        padding-top: 50px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .trial-lesson-btn {
        padding: 1.1em 1.6em;
        min-width: 350px;
        font-size: 16px;
        letter-spacing: 0.5px;
    }
    
    .why-point-grid {
        grid-template-columns: 1fr;
    }
    
    .course-description-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        max-width: 100%;
        padding: 30px 20px;
    }
    
    .amount {
        font-size: 36px;
    }
    
    .contacts-wrapper {
        flex-direction: column;
    }
    
    .contacts-info, .contacts-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .faq-answer p {
        padding: 0 20px;
        font-size: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .photo-container {
        width: 60px;
        height: 60px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .trial-lesson-btn {
        min-width: 250px;
        font-size: 14px;
        padding: 1em 1.4em;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .price-header h3 {
        font-size: 20px;
    }
    
    .amount {
        font-size: 32px;
    }
    
    .price-amount {
        flex-direction: column;
        gap: 10px;
    }
}

/* Дополнительные стили для улучшения внешнего вида */
.highlight {
    color: #3498db;
}

.container h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Плавные переходы для всех интерактивных элементов */
a, button, .faq-question, .pricing-card, .why-point-card, .course-description-card {
    transition: all 0.3s ease;
}

/* Улучшение читаемости текста */
p, li {
    line-height: 1.6;
}

/* Контейнер для центрирования контента */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Секции */
section {
    padding: 80px 0;
}

/* Улучшение внешнего вида кнопок */
.cta, .trial-lesson-btn, .cta-button, .submit-btn {
    transition: all 0.3s ease;
}

.cta:hover, .trial-lesson-btn:hover, .cta-button:hover, .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}