/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Arial', sans-serif;
}

body {
    background-color: #f8fafc;
    color: #2d3748;
    line-height: 1.6;
}

.page-wrapper {
    background: linear-gradient(135deg, #f9f9ff 0%, #f0f4ff 100%);
    min-height: 100vh;
    padding: 40px 0;
}

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

/* Шапка */
.header {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 20px;
}

.header .subtitle {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

.header h1 {
    font-size: 38px;
    margin: 0 auto 20px;
    color: #2563eb;
    line-height: 1.3;
    max-width: 800px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Основной контент */
.content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
}

.image-section {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
}

.main-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.main-image:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.text-section {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.intro-text {
    font-weight: 700;
    margin-bottom: 25px;
    color: #2d3748;
    font-size: 18px;
}

.benefits-list {
    list-style-type: none;
    margin-bottom: 30px;
}

.benefits-list li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 32px;
    font-size: 16px;
    line-height: 1.5;
}

.benefits-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background-color: #2563eb;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #2563eb;
}

/* Кнопка */
.button-container {
    text-align: center;
    margin: 60px 0;
    position: relative;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.button-shadow {
    position: absolute;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.4) 0%, rgba(0,0,0,0) 70%);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    filter: blur(5px);
}

/* Стили модального окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-container {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
    overflow: hidden;
    position: relative;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content {
    padding: 30px;
}

.modal-content h2 {
    color: #2563eb;
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #718096;
    transition: color 0.2s;
    z-index: 1;
}

.close-modal:hover {
    color: #e53e3e;
}

/* Стили формы */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group input {
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-question {
    font-weight: 600;
    margin: 15px 0 10px;
    color: #2d3748;
}

/* Стили радио-кнопок */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.radio-option input {
    position: absolute;
    opacity: 0;
}

.radio-custom {
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    transition: all 0.2s;
}

.radio-option input:checked ~ .radio-custom {
    border-color: #2563eb;
    background-color: #2563eb;
    box-shadow: inset 0 0 0 3px white;
}

.radio-option:hover .radio-custom {
    border-color: #2563eb;
}

.form-message {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header h1 {
        font-size: 28px;
    }
    
    .content {
        flex-direction: column;
        gap: 30px;
    }
    
    .main-image {
        transform: none;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 24px;
    }
    
    .header .subtitle {
        font-size: 16px;
    }
    
    .modal-content h2 {
        font-size: 20px;
    }
    
    .form-group input {
        padding: 12px;
    }
}

/* Анимация перехода между страницами */
html {
    scroll-behavior: smooth;
    transition: all 0.3s ease;
}
