* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

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

/* Фиксированное меню */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 75%;
    border-radius: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* Бургер-меню для мобильных устройств */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background-color: #5d45e6;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #5d45e6;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    margin-left: 8px;
}

.menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: #5d45e6;
}

/* Селектор языка */
.language-selector select {
    border: none;
    background-color: transparent;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.language-selector select:hover {
    background-color: #f0f0f0;
}

.language-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(93, 69, 230, 0.3);
}

/* Блок Hero */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #6e45e6, #88a0ff);
    color: white;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}
/* Для демо-изображений в hero-секции */
.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Для изображений в карточках модулей */
.module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.demo-images {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.demo-image {
    width: 180px;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #5d45e6;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    font-size: 18px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

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

section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e45e6, #88a0ff);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Описание цели */
.mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    font-weight: 500;
}

/* Преимущества */
.benefits {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.benefit-card {
    background-color: #f9f9ff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 40px;
    color: #5d45e6;
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Модули */
.modules {
    background-color: #f9f9ff;
    border-radius: 20px;
}

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

.module-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

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

.module-image {
    height: 200px;
    background-color: #eee;
    position: relative;
}

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

.module-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.module-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.module-content p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.module-button {
    display: inline-block;
    background-color: #5d45e6;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    align-self: center;
    text-align: center;
}

.module-button:hover {
    background-color: #4a35c7;
}

/* FAQ */
.faq {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

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

.faq-question {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.faq-answer {
    color: #666;
}

/* Дорожная карта */
.roadmap {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 50px;
}

.roadmap-content {
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.roadmap-section {
    margin-bottom: 40px;
}

.roadmap-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #5d45e6;
}

.roadmap-section h4 {
    font-size: 20px;
    margin: 15px 0 10px;
    color: #444;
}

.roadmap-list {
    list-style-type: none;
    padding-left: 20px;
}

.roadmap-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.roadmap-list li:before {
    content: "•";
    color: #5d45e6;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.roadmap-metrics {
    margin-top: 30px;
    font-weight: 500;
}

.roadmap-metrics h4 {
    margin-bottom: 10px;
}

.roadmap-metrics p {
    margin-bottom: 5px;
}

.subscribe-updates {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #6e45e6, #88a0ff);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(66, 62, 173, 0.05);
}

.subscribe-updates p {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 500;
}

.subscribe-button {
    display: inline-block;
    background-color:white;
    color: #5d45e6;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.subscribe-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(93, 69, 230, 0.2);
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .subscribe-updates {
        padding: 20px;
        margin: 30px 0;
    }

    .subscribe-updates p {
        font-size: 18px;
    }

    .subscribe-button {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* Обратная связь */
.contact {
    background: linear-gradient(135deg, #6e45e6, #88a0ff);
    color: white;
    border-radius: 20px;
    text-align: center;
}

.contact h2:after {
    background: white;
}

.contact-info {
    max-width: 500px;
    margin: 0 auto;
}

.contact-button {
    display: inline-block;
    background-color: white;
    color: #5d45e6;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    transition: transform 0.3s;
}

.contact-button:hover {
    transform: translateY(-3px);
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    header {
        width: 90%;
        margin-top: 10px;
    }
    
    .nav {
        padding: 15px;
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.97);
        border-radius: 0 0 20px 20px;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu li {
        margin: 15px 0;
    }
    
    .menu a {
        font-size: 18px;
        padding: 8px 15px;
        display: block;
    }
    
    /* Анимация для иконки бургер-меню */
    .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);
    }
}
/* Адаптив */
@media (max-width: 768px) {
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .demo-image {
        width: 140px;
        height: 140px;
    }
    
    section h2 {
        font-size: 28px;
    }
}
