@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
}

.header-scrolled {
    background-color: rgba(110, 142, 251, 0.9); /* Цвет фона, соответствующий дизайну */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Обновляем стили для ссылок в навигации при прокрутке */
.header-scrolled .navbar-light .navbar-nav .nav-link {
    color: #fff;
}

.header-scrolled .btn-primary {
    background-color: #fff;
    color: #6e8efb;
}

/* Стили для навигации */
.navbar-light .navbar-nav .nav-link {
    color: white;
}

.btn-primary {
    background-color: white;
    color: #6e8efb;
    border: none;
}

/* Стили для секции hero */
.hero {
    padding: 100px 0 150px;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.hero .row {
    margin: 0;
    align-items: center;
}

.hero-content {
    padding-left: 0;
    margin-left: -30px;
}

/* Стили для анимации */
.animated {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Стили для контейнера телефона */
.phone-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: 15px;
    margin-bottom: -150px;
}

.phone-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* Стили для секции About */
.about {
    background-color: #fff;
    color: #333;
    padding: 150px 0 100px;
    position: relative;
    z-index: 1;
    margin-top: -50px;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-icon {
    width: 60px;
    height: 60px;
}

.about-title {
    font-size: 18px;
    font-weight: 600;
    color: #6e8efb;
    margin-bottom: 20px;
}

.about-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-description {
    font-size: 16px;
    color: #666;
}

.about-phone-container {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.about-phone-image {
    max-width: 300px;
    height: auto;
}

/* Стили для секции Progress */
.progress-section {
    background-color: #f8f9fa;
    padding: 50px 0 100px;
    position: relative;
    overflow: visible;
    margin-top: -100px;
    z-index: 4;
}

.progress-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-image: url('desktop-background.jpg');
    background-size: cover;
    background-position: center right;
    z-index: 5;
}

.progress-subtitle {
    font-size: 14px;
    color: #6e8efb;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.progress-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.progress-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.progress-phone-container {
    position: relative;
    z-index: 6;
    max-width: 300px;
    margin-left: auto;
    margin-top: -150px;
}

.progress-phone-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top right;
}

.progress-section .btn-primary {
    background-color: #6e8efb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Стили для секции Features */
.features-section {
    background-color: #6e8efb;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.features-title {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.features-subtitle {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
}

.features-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.features-left, .features-right {
    flex: 1;
}

.features-center {
    flex: 2;
    padding: 0 20px;
}

.features-phone-container {
    max-width: 300px;
    margin: 0 auto;
}

.features-phone-image {
    width: 100%;
    height: auto;
    display: block;
}

.feature-item {
    text-align: left;
    margin-bottom: 40px;
}

.feature-icon {
    background-color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon .material-icons {
    font-size: 30px;
    color: #6e8efb;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    opacity: 0.8;
}

/* Стили для секции Testimonials */
.testimonials-section {
    background-color: #f8f9fa;
    padding: 100px 0;
    text-align: center;
}

.testimonials-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #6e8efb;
    margin-bottom: 10px;
}

.testimonials-subtitle {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 50px;
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 280px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.client-image-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.client-position {
    font-size: 12px;
    color: #6e8efb;
    margin-bottom: 10px;
}

.client-testimonial {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Стили для секции Download App */
.download-app {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.download-app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    z-index: -1;
}

.download-app::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    background: url('background-pattern.png') repeat;
    opacity: 0.1;
    z-index: -1;
}

.download-app__phone-container {
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.download-app__phone-mockup {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.download-app__content {
    color: #fff;
}

.download-app__title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.download-app__description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.download-app__buttons {
    display: flex;
    gap: 15px;
}

.btn-app {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-app--apple {
    background-color: #fff;
    color: #6e8efb;
}

.btn-app--play {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-app i {
    margin-right: 10px;
    font-size: 20px;
}

.btn-app:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.pricing-section {
    background-color: #f8f9fa;
    padding: 100px 0;
    text-align: center;
}

.pricing-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #6e8efb;
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 50px;
}

.pricing-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-icon {
    background-color: #f0f3ff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.pricing-icon i {
    font-size: 36px;
    color: #6e8efb;
}

.pricing-plan {
    font-size: 18px;
    font-weight: 600;
    color: #6e8efb;
    margin-bottom: 20px;
}

.pricing-features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 10px;
    color: #666;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.pricing-price .currency {
    font-size: 24px;
    vertical-align: super;
}

.pricing-price .period {
    font-size: 14px;
    color: #999;
}

.btn-pricing {
    background-color: #6e8efb;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    background-color: #5a7af0;
}

.faq-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.faq-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #6e8efb;
    text-align: center;
    margin-bottom: 10px;
}

.faq-subtitle {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
}

.faq-item {
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    padding: 20px;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
}

.faq-icon {
    font-size: 24px;
    font-weight: bold;
    color: #6e8efb;
    margin-right: 15px;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.faq-answer {
    padding: 0 20px 20px 55px;
    color: #666;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


.page-header {
    background-color: #6e8efb;
    color: white;
    padding: 100px 0 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 600;
}

.page-content {
    padding: 50px 0;
}

.page-content-ligal {
    padding: 50px 0;
}

.page-content h2 {
    color: #333;
    margin-bottom: 20px;
}

.page-content p {
    color: #666;
    line-height: 1.6;
}

.page-content-ligal p {
    color: white;
    line-height: 1.6;
}

footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    color: #666;
}

@media (max-width: 992px) {
    .faq-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 30px;
    }
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
    .features-content {
        flex-direction: column;
    }

    .features-left, .features-right {
        order: 2;
    }

    .features-center {
        order: 1;
        margin-bottom: 40px;
    }

    .feature-item {
        text-align: center;
    }

    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .download-app::before,
    .download-app::after {
        right: 0;
    }

    .download-app__phone-container {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0 100px;
    }

    .phone-container {
        max-width: 300px;
        margin: 0 auto 30px;
        margin-top: 25px;
        margin-bottom: -100px;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
    }

    .about {
        padding: 100px 0 150px;
    }

    .about-subtitle {
        font-size: 20px;
    }

    .about-phone-container {
        bottom: -50px;
    }

    .about-phone-image {
        max-width: 200px;
    }

    .progress-section {
        padding: 150px 0 50px;
        margin-top: -50px;
    }

    .progress-section::after {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
    }

    .progress-phone-container {
        margin: 0 auto;
        margin-top: -100px;
    }

    .testimonials-subtitle {
        font-size: 28px;
    }

    .testimonial-item {
        height: 220px;
        width: 220px;
    }

    .download-app {
        padding: 50px 0;
    }

    .download-app__phone-container {
        max-width: 200px;
        margin-bottom: 30px;
    }

    .download-app__buttons {
        flex-direction: column;
    }

    .download-app__title {
        font-size: 28px;
    }

    .download-app__description {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .download-app__phone-container {
        max-width: 150px;
    }
}

.ligal {
    color: white;
}