/* Общие стили */
body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    background-color: #F5F5F5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Предотвращение горизонтальной прокрутки */
}

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

/* Header */
header {
    background-color: rgba(245, 245, 245, 0.9); /* Фон хедера */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Мягкая тень */
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    padding: 15px 0; /* Уменьшил отступы */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px; /* Увеличил размер логотипа */
    font-weight: bold;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease; /* Плавное изменение цвета */
}

.logo:hover {
    color: #A084CF; /* Акцентный цвет при наведении */
}

/* Slider (Navigation) */
nav {
    max-width: 960px;
    margin: 0;
    position: relative;
}

.slider-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.slider-nav li {
    margin: 0 15px;
}

.slider-nav a {
    text-decoration: none;
    color: #696969; /* Изменил цвет на более темный */
    padding: 8px 12px; /* Увеличил padding */
    display: inline-block;
    font-weight: 500; /* Уменьшил жирность */
    font-size: 1em;
    border-radius: 5px; /* Закругленные углы */
    transition: color 0.3s ease, background-color 0.3s ease; /* Плавные переходы */
}

.slider-nav a:hover {
    color: #F5F5F5; /* Светлый текст при наведении */
    background-color: #A084CF; /* Акцентный фон при наведении */
}

/* Header Navigation Links */
header nav a {
    margin: 5px;
    text-decoration: none;
    color: #696969; /* Изменил цвет на более темный */
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #A084CF; /* Акцентный цвет при наведении */
}

header nav a.register-btn {
    background-color: #A084CF;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header nav a.register-btn:hover {
    background-color: #8064A2; /* Более темный оттенок акцентного цвета */
}

/* Hero Section */
.hero {
    margin-bottom: 20px;
    padding: 80px 0; /* Увеличил отступы */
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    flex: 1;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 3em; /* Увеличил размер заголовка */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333333; /* Темный цвет текста */
    font-family: 'Montserrat', sans-serif; /* Шрифт для заголовков */
}

.hero-text .subtitle {
    font-size: 1.2em;
    line-height: 1.6;
    color: #696969; /* Более светлый цвет текста */
    margin-bottom: 30px;
    margin-top: 0px;
}

.buttons-container {
    padding-top: 20px;
}

.primary-button {
    padding: 12px 24px; /* Увеличил padding */
    border-radius: 8px; /* Более закругленные углы */
    border: none;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Добавил transform */
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    font-weight: 500; /* Уменьшил жирность */
}

.primary-button {
    background-color: #A084CF;
    color: white;
}

.secondary-button {
    margin-left: 20px;
    text-decoration: none;
    color: #696969;
    transition: color 0.3s ease;
    font-weight: 500; /* Уменьшил жирность */
}

.secondary-button:hover {
    color: #A084CF;
}

.primary-button:hover {
    background-color: #8064A2; /* Более темный оттенок акцентного цвета */
    transform: translateY(-2px); /* Небольшой сдвиг вверх при наведении */
}

.hero-image {
    flex: 1;
    max-width: 40%; /* Увеличил размер изображения */
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 80%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.hero-image:hover img {
    transform: scale(1.03); /* Небольшое увеличение при наведении */
}

/* Info Section (Общая секция для Hero и How it Works) */
.info {
    padding: 80px 0; /* Увеличил отступы */
}

/* How it Works Section */
.how-it-works {
    text-align: center;
    width: 100%;
}

.how-it-works .container {
    max-width: 1200px;
    padding: 40px 0 60px; /* Увеличил отступы */
}

.how-it-works h2 {
    margin-bottom: 30px; /* Увеличил отступ */
    color: #333333; /* Темный цвет текста */
    font-size: 2.5em; /* Увеличил размер заголовка */
    font-family: 'Montserrat', sans-serif; /* Шрифт для заголовков */
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.step {
    width: 30%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Более прозрачный фон */
    border-radius: 12px; /* Более закругленные углы */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Усилил тень */
    margin: 10px;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, scale 0.3s ease-in-out;
}

.step img {
    max-width: 80px;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1.4em; /* Увеличил размер заголовка */
    margin-bottom: 10px;
    color: #333333; /* Темный цвет текста */
}

.step p {
    font-size: 1em;
    color: #696969; /* Более светлый цвет текста */
    line-height: 1.5;
}

.step.card-hidden {
    opacity: 0;
    transform: translateY(-50px);
}

.step.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.step:hover {
    scale: 1.05;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Усилил тень при наведении */
}

/* Numbers Section */
.numb {
    padding: 80px 0; /* Увеличил отступы */
}

.statistics {
    padding: 40px;
    text-align: center;
    width: 100%;
}

.statistics .container {
    max-width: 1200px;
    padding: 20px;
}

.statistics h2 {
    margin-bottom: 40px;
    color: #333333; /* Темный цвет текста */
    font-size: 2.5em; /* Увеличил размер заголовка */
    font-family: 'Montserrat', sans-serif; /* Шрифт для заголовков */
}

.stats {
    display: flex;
    flex-wrap: wrap; /* Добавил перенос на новую строку */
}

.stat {
    width: 30%;
    padding: 20px;
    border-radius: 12px; /* Более закругленные углы */
    margin: 10px;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.8); /* Более прозрачный фон */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень для статистики */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    box-sizing: border-box; /* Важно для правильного расчета ширины */
}

.stat .number {
    display: block;
    font-size: 3em;
    font-weight: bold;
    color: #A084CF;
}

.stat p {
    color: #696969;
    font-size: 1em;
    line-height: 1.5;
}

.stat.card-hidden {
    opacity: 0;
    transform: translateY(-50px);
}

.stat.card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    text-align: center;
    background-color: #F5F5F5; /* Фон секции отзывов */
}

.testimonials .container {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9); /* Более прозрачный фон */
    border-radius: 12px; /* Более закругленные углы */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень для контейнера отзывов */
    padding: 40px; /* Увеличил отступы */
}

.testimonial-slider {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    width: 100%;
}

.testimonial {
    flex: 0 0 100%;
    padding: 20px;
    scroll-snap-align: center;
    box-sizing: border-box;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.testimonial.active {
    opacity: 1;
}

.testimonial p {
    font-size: 1.2em;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #333333; /* Темный цвет текста */
}

.testimonial cite {
    font-style: italic;
    color: #696969;
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(160, 132, 207, 0.2); /* Акцентный цвет с прозрачностью */
    border: none;
    border-radius: 50%; /* Сделал кнопки круглыми */
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease;
    user-select: none;
    outline: none;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: rgba(160, 132, 207, 0.5); /* Более насыщенный акцентный цвет при наведении */
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* FAQ Section */
.chavo {
    padding: 80px 0; /* Увеличил отступы */
    background-color: #F5F5F5; /* Фон секции FAQ */
}

.faq {
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px; /* Увеличил отступы */
    background-color: rgba(255, 255, 255, 0.9); /* Более прозрачный фон */
    border-radius: 12px; /* Более закругленные углы */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень для контейнера FAQ */
}

.faq-container h1 {
    text-align: center;
    margin-bottom: 30px; /* Увеличил отступ */
    font-size: 2.5em; /* Увеличил размер заголовка */
    font-family: 'Montserrat', sans-serif; /* Шрифт для заголовков */
    color: #333333; /* Темный цвет текста */
}

.faq-item {
    border-bottom: 1px solid #eee;
    overflow: hidden;
    transition: padding-bottom 0.3s ease;
}

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

.faq-item.active {
    padding-bottom: 10px;
}

.faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question p {
    margin: 0;
    font-weight: bold;
    color: #333333; /* Темный цвет текста */
}

.arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: #696969; /* Более светлый цвет текста */
}

.faq-question.active .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 15px 15px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    color: #696969; /* Более светлый цвет текста */
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

.faq-answer.show {
    max-height: 500px;
    opacity: 1;
}

/* Features Section */
.manage {
    padding: 80px 0; /* Увеличил отступы */
}

.rec-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

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

.rec-card {
    text-align: center;
    margin: 20px;
    padding: 30px; /* Увеличил отступы */
    border-radius: 12px; /* Более закругленные углы */
    width: 250px;
    background-color: rgba(255, 255, 255, 0.8); /* Более прозрачный фон */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
}

.rec-card.card-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.rec-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.rec-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    top: 0;
    background: linear-gradient(to right, #A084CF, #B19CD9);
    transition: height 0.3s ease;
}

.rec-card:hover::before {
    height: 100%;
}

.rec-card h3 {
    margin: 10px 0;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    color: #333333; /* Темный цвет текста */
}

.rec-card p {
    opacity: 0;
    color: #696969;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    margin: 0;
    transition: opacity 0.3s ease;
    line-height: 1.5;
}

.rec-card:hover p {
    opacity: 1;
}

.rec-card i {
    font-size: 3em;
    color: #A084CF;
    display: block;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    margin-top: 5px;
    transition: color 0.3s ease; /* Плавное изменение цвета */
}

.rec-card:hover i {
    color: #333333; /* Темный цвет текста при наведении */
}

.rec-header {
    background-color: #f0f0f0;
    padding: 40px;
    text-align: center;
}

.rec-header p {
    margin-bottom: 20px;
}

.rec-hero-counter {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #555;
}

.rec-how-it-works .rec-steps-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.rec-features {
    padding: 20px;
}

.rec-container h2 {
    margin-bottom: 30px; /* Увеличил отступ */
    color: #333333; /* Темный цвет текста */
    text-align: center;
    font-size: 2.5em; /* Увеличил размер заголовка */
    font-family: 'Montserrat', sans-serif; /* Шрифт для заголовков */
}

.rec-features .rec-feature-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.rec-achievements .rec-achievement-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.rec-achievements .rec-achievement {
    text-align: center;
    margin: 20px;
}

.rec-achievements .rec-count {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

/* Team Section */
main.team-container {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    background: rgba(255, 255, 255, 0.8); /* Более прозрачный фон */
    border-radius: 12px; /* Более закругленные углы */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Уменьшил интенсивность тени */
    margin: 1rem;
    display: flex;
    padding: 20px;
    max-width: 800px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Усилил тень при наведении */
}

.member-image-gallery {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
    position: relative;
    min-height: 200px;
}

.image-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.image-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.image-track img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 250px;
}

.image-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
}

.slider-button {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 10px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.slider-button:hover {
    background: rgba(0, 0, 0, 0.6);
}

.member-info {
    flex: 2;
    padding-left: 20px;
    min-height: 100px;
}

.member-info h3 {
    margin-top: 0;
    color: #A084CF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Уменьшил интенсивность тени */
    font-family: 'Montserrat', sans-serif; /* Шрифт для заголовков */
}

.member-role {
    color: #777;
    font-style: italic;
    margin-bottom: 10px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); /* Уменьшил интенсивность тени */
}

.member-quote-wrapper {
    position: relative;
    overflow: hidden;
    height: 70px;
    margin-bottom: 10px;
}

.member-quote {
    font-style: italic;
    border-left: 3px solid #A084CF;
    padding-left: 10px;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    transition: top 0.3s ease, opacity 0.2s ease;
    color: #696969; /* Более светлый цвет текста */
}

.member-quote-wrapper:hover .member-quote {
    top: 0;
    opacity: 1;
}

.progress-container {
    margin-bottom: 15px;
}

.member-dev-label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333333; /* Темный цвет текста */
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #A084CF;
    transition: width 0.8s ease-in-out;
}

.member-dev {
    color: #555;
    margin-top: 5px;
    font-style: italic;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
    text-align: center;
    width: 100%;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.social {
    margin-bottom: 20px; /* Увеличил отступ */
    text-align: center;
}

.social a {
    margin: 0 10px;
    display: inline-block; /* Чтобы можно было задавать отступы */
}

.social img {
    width: 30px;
}

.social i {
    font-size: 30px;
    margin: 0 10px;
    color: #fff;
    transition: color 0.3s;
}

.social i:hover {
    color: #A084CF;
}

.footer-links {
    flex: 1;
    margin-bottom: 20px; /* Увеличил отступ */
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links li {
    margin: 0 10px;
}

.footer-links a {
    text-decoration: none;
    color: #eee;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #A084CF;
}

li.caboo {
    padding-left: 50px;
}

.copyright {
    text-align: center;
    padding-top: 20px; /* Увеличил отступ */
    color: #eee; /* Более светлый цвет текста */
}

/* Button */
.btn {
    display: inline-block;
    background-color: #A084CF;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px; /* Более закругленные углы */
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #8064A2;
}

/* Background */
.background {
    background-color: #F5F5F5; /* Цвет фона */
}

/* Media Queries */
@media (max-width: 1400px) {
    .manage {
        padding: 60px 0 !important;
    }

    .chavo {
        padding: 60px 0 !important;
    }

    .numb {
        padding: 60px 0 !important;
    }

    .info {
        padding: 60px 0 !important;
    }

    .stats {
        flex-direction: column; /* Выравнивание в столбец на маленьких экранах */
    }

    .stat {
        width: 80%; /* Увеличение ширины элементов статистики */
        margin: 20px 0; /* Добавление отступов сверху и снизу */
    }
}

/* Media запросы для адаптивности */

/* Для экранов шириной до 768px (мобильные телефоны) */
@media (max-width: 768px) {
    .container {
        width: 95%; /* Увеличиваем ширину контейнера */
    }

    header .container {
        flex-direction: column; /* Перестраиваем элементы в колонку */
        align-items: flex-start; /* Выравниваем по левому краю */
    }

    header .logo {
        margin-bottom: 10px; /* Добавляем отступ снизу */
    }

    nav.slider {
        width: 100%; /* Растягиваем на всю ширину */
    }

    .slider-nav {
        flex-direction: column; /* Перестраиваем элементы в колонку */
        align-items: flex-start; /* Выравниваем по левому краю */
    }

    .slider-nav li {
        margin: 5px 0; /* Уменьшаем отступы */
    }

    .hero .container {
        flex-direction: column; /* Перестраиваем элементы в колонку */
        text-align: center; /* Выравниваем текст по центру */
    }

    .hero-text {
        padding-right: 0; /* Убираем отступ справа */
        margin-bottom: 20px; /* Добавляем отступ снизу */
    }

    .hero-text h1 {
        font-size: 2.5em; /* Уменьшаем размер заголовка */
    }

    .hero-image {
        max-width: 100%; /* Растягиваем на всю ширину */
        justify-content: center; /* Выравниваем по центру */
    }

    .hero-image img {
        max-width: 80%; /* Уменьшаем размер изображения */
    }

    .buttons-container {
        display: flex;
        flex-direction: column; /* Кнопки в столбик */
        align-items: center; /* Центрируем кнопки */
    }

    .primary-button,
    .secondary-button {
        margin: 5px 0; /* Отступы между кнопками */
        width: 80%; /* Ширина кнопок */
        text-align: center; /* Текст по центру */
    }

    .steps {
        flex-direction: column; /* Перестраиваем элементы в колонку */
        align-items: center; /* Выравниваем по центру */
    }

    .step {
        width: 80%; /* Увеличиваем ширину карточек */
    }

    .stats {
        flex-direction: column; /* Перестраиваем элементы в колонку */
    }

    .stat {
        width: 80%; /* Увеличиваем ширину карточек */
    }

    .testimonials .container {
        padding: 20px; /* Уменьшаем отступы */
    }

    .faq-container {
        padding: 20px; /* Уменьшаем отступы */
    }

    .rec-features .rec-feature-container {
        flex-direction: column; /* Перестраиваем элементы в колонку */
        align-items: center; /* Выравниваем по центру */
    }

    .rec-card {
        width: 80%; /* Увеличиваем ширину карточек */
    }

    footer .container {
        flex-direction: column; /* Перестраиваем элементы в колонку */
        text-align: center; /* Выравниваем текст по центру */
    }

    .footer-links ul {
        flex-direction: column; /* Перестраиваем элементы в колонку */
        align-items: center; /* Выравниваем по центру */
    }

    .footer-links li {
        margin: 10px 0; /* Отступы между ссылками */
    }

    li.caboo {
        padding-left: 0; /* Убираем отступ */
    }
}

/* Для экранов шириной до 480px (очень маленькие телефоны) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2em; /* Еще уменьшаем размер заголовка */
    }
}