﻿:root {
    --primary: #6c5ce7;
    --secondary: #a29bfe;
    --accent: #fd79a8;
    --dark: #2d3436;
    --light: #f5f6fa;
    --success: #00b894;
    --whatsapp: #25D366;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    margin: 0;
    padding: 0;
    background-color: var(--light);
}

header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-image {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    color: var(--primary);
    margin-top: 3rem;
    font-size: 2rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
    display: inline-block;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 20px 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

.whatsapp-button {
    background-color: var(--whatsapp);
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3rem 0;
}

.feature {
    flex-basis: 30%;
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

    .feature:hover {
        transform: translateY(-10px);
    }

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.pricing-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 3rem 0;
}

.pricing-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
}

.pricing-row {
    display: flex;
    border-bottom: 1px solid #eee;
    align-items: center;
}

    .pricing-row:last-child {
        border-bottom: none;
    }

    .pricing-row div {
        padding: 20px;
        flex: 1;
        text-align: center;
    }

        .pricing-row div:first-child {
            text-align: left;
            font-weight: bold;
        }

.highlight {
    background-color: rgba(0,184,148,0.1);
    font-weight: bold;
}

.testimonials {
    background: #f8f9fa;
    padding: 3rem 0;
    margin: 3rem 0;
}

.testimonial {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

    .testimonial:before {
        content: """; position: absolute;
        top: 10px;
        left: 10px;
        font-size: 4rem;
        color: rgba(108,92,231,0.1);
        font-family: Georgia, serif;
        line-height: 1;
    }

.demo-image {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 30px auto;
    display: block;
    border: 1px solid #eee;
}

.faq {
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    position: relative;
}

    .faq-question:after {
        content: "+";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
    }

.faq-answer {
    padding: 15px;
    display: none;
}

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (min-width: 992px) {
    .header-image {
        display: block;
    }
}

@media (max-width: 768px) {
    .feature {
        flex-basis: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    .pricing-row {
        flex-direction: column;
    }

        .pricing-row div {
            text-align: center !important;
            padding: 10px;
        }
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 25px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover {
        color: black;
    }


/* Стили для формы регистрации */
.register-card {
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    padding: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
    padding: 10px;
    font-weight: 600;
}

    .btn-primary:hover {
        background-color: #2e59d9;
        border-color: #2e59d9;
    }

.form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #d1d3e2;
}

    .form-control:focus {
        border-color: #bac8f3;
        box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
    }

.text-danger {
    font-size: 0.875em;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .register-card {
        margin-top: 20px;
    }

    .form-group.row > div {
        padding-left: 15px;
    }
}