﻿:root {
    --primary: #8a3ffb; /* Фиолетовый WB */
    --primary-light: #a56cff;
    --secondary: #6c5ce7;
    --accent: #ff6b9d;
    --dark: #121212;
    --dark-card: #1e1e1e;
    --dark-border: #333;
    --text-primary: #f8f9fa;
    --text-secondary: #b5b5b5;
    --success: #00c853;
    --telegram: #0088cc;
    --whatsapp: #25D366;
}

/* Base Reset */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--dark);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.body-content {
    padding: 2rem 0;
    flex: 1;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--primary);
}

.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.3);
    display: none;
    border: 2px solid var(--primary);
}

@media (min-width: 992px) {
    .header-image {
        display: block;
    }
}

/* Typography */
h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(138, 63, 251, 0.3);
}

h2 {
    color: var(--primary);
    margin-top: 3rem;
    font-size: 2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary);
    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(138, 63, 251, 0.3);
    border: none;
    cursor: pointer;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(138, 63, 251, 0.4);
        background-color: var(--primary-light);
    }

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--dark-border);
}

    .feature:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 28px rgba(138, 63, 251, 0.2);
    }

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Pricing Table */
.pricing-table {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin: 3rem 0;
    border: 1px solid var(--dark-border);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--dark-border);
    align-items: center;
}

    .pricing-row:last-child {
        border-bottom: none;
    }

    .pricing-row div {
        padding: 20px;
        text-align: center;
    }

        .pricing-row div:first-child {
            text-align: left;
            font-weight: bold;
        }

.highlight {
    background-color: rgba(138, 63, 251, 0.1);
    font-weight: bold;
}

/* Testimonials */
.testimonials {
    padding: 3rem 0;
    margin: 3rem 0;
    border-top: 1px solid var(--dark-border);
    /*border-bottom: 1px solid var(--dark-border);*/
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid var(--dark-border);
}

    .testimonial:before {
        content: """; position: absolute;
        top: 10px;
        left: 10px;
        font-size: 4rem;
        color: rgba(138, 63, 251, 0.1);
        font-family: Georgia, serif;
        line-height: 1;
    }

/* FAQ */
.faq {
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    padding: 1rem;
    background: var(--dark-card);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

    .faq-question:hover {
        background: rgba(138, 63, 251, 0.1);
    }

    .faq-question:after {
        content: "+";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: var(--primary);
    }

.faq-answer {
    padding: 1rem;
    display: none;
    background: var(--dark-card);
    border-radius: 0 0 8px 8px;
    margin-top: -5px;
    border: 1px solid var(--dark-border);
    border-top: none;
}

/* Forms */
.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    transition: all 0.3s ease;
}

    .form-control:focus {
        background-color: rgba(255, 255, 255, 0.08);
        border-color: var(--primary);
        box-shadow: 0 0 0 0.25rem rgba(138, 63, 251, 0.25);
    }

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--primary);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

    .contact-link:hover {
        color: var(--primary-light);
    }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--dark-card);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    border: 1px solid var(--primary);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .close:hover {
        color: var(--primary);
    }

/* Floating Buttons */
.whatsapp-float, .telegram-float {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float {
    right: 30px;
    background-color: var(--whatsapp);
}

.telegram-float {
    right: 100px;
    background-color: var(--telegram);
}

    .whatsapp-float:hover, .telegram-float:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }

    .pricing-row {
        grid-template-columns: 1fr;
    }

    .header-image {
        display: none;
    }

    h1 {
        font-size: 2.2rem;
    }

    .telegram-float {
        right: 30px;
        bottom: 100px;
    }
}

/* Register Form Specific */
.register-card {
    background: var(--dark-card);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--dark-border);
    margin: 2rem auto;
    max-width: 600px;
}

.card-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.form-group {
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: var(--primary-light);
        transform: translateY(-2px);
    }
.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;
}

#buy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#requirements {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.button-group {
    display: flex;
    gap: 10px; /* или сколько тебе нужно отступа между кнопками */
    margin-top: 15px;
    flex-wrap: wrap; /* если нужно, чтобы на маленьком экране переносились */
}

/* Подсветка активного поля */
.focus-highlight {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25) !important;
    border-color: #ffc107 !important;
    background-color: #fff8e1 !important;
    color: #212529 !important;
    transition: all 0.3s ease;
}

/* Анимация для плавного перехода */
.form-control {
    transition: background-color 0.3s ease, color 0.3s ease;
}


/* Контейнер для виджета ЮKassa */
/* Контейнер виджета */
.yookassa-widget-container {
    width: 100%;
    min-height: 400px;
    margin: 20px 0;
    border: 1px solid #dee2e6 !important;
    transition: all 0.3s ease;
}

/* Загрузчик */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Адаптация для мобильных */
/* Стили для адаптации виджета (новые) */
.yookassa-container {
    min-height: 400px;
    background: #FFFFFF !important;
    border: 1px solid #DEE2E6 !important;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .yookassa-container {
        min-height: 450px;
        padding: 15px;
    }

    .yoomoney-checkout-widget {
        zoom: 0.95;
    }
}

/* Гарантия видимости элементов */
.yoomoney-checkout-widget-frame {
    background: transparent !important;
    border: none !important;
}
@media (max-width: 768px) {
    .yookassa-widget-container {
        min-height: 450px;
        padding: 15px !important;
    }

    .yoomoney-checkout-widget {
        zoom: 0.95;
    }
}

@media (max-width: 576px) {
    .yookassa-widget-container {
        min-height: 500px;
    }

    .yoomoney-checkout-widget {
        zoom: 0.9;
    }
}

/* Гарантия видимости элементов */
#payment-widget-container * {
    color: #212529 !important;
    background: transparent !important;
}

.yoomoney-checkout-widget-frame {
    width: 100% !important;
    min-width: 100% !important;
    border: none !important;
}