:root {
    --max-primary: #2B5CE6;
    --max-secondary: #1A4BCC;
    --max-accent: #4CAF50;
    --max-warning: #FF9800;
    --max-danger: #F44336;
    --max-light-blue: #E3F2FD;
    --max-light-gray: #f5f5f5;
    --max-gray: #e6e6e6;
    --max-dark-gray: #666666;
    --max-text: #333333;
}

body {
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    color: var(--max-text);
    background-color: #fff;
    line-height: 1.5;
    margin: 0;
}

/* Шапка */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 40;
}

.logo-container {
    display: flex;
    align-items: center;
}

/* Навигация */
.nav-link {
    color: var(--max-text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link:focus {
    color: var(--max-primary);
}

/* Кнопки */
.btn-primary {
    background: var(--max-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--max-secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--max-accent);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    border: 1px solid var(--max-gray);
    border-radius: 8px;
    color: var(--max-text);
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: var(--max-light-gray);
    transform: translateY(-2px);
}

/* Карточки */
.card {
    border-radius: 12px;
    border: 1px solid var(--max-gray);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Hero секция */
.hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 33%, 
                rgba(0, 57, 166, 0.25) 33%, rgba(0, 57, 166, 0.25) 66%, 
                rgba(213, 43, 30, 0.25) 66%, rgba(213, 43, 30, 0.25) 100%);
    background-size: 400px 100%;
    z-index: 0;
    opacity: 0.15;
    border-bottom: 3px solid rgba(213, 43, 30, 0.3);
}

/* Убираем анимацию для лучшего отображения в статической программе */

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--max-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--max-dark-gray);
    margin-bottom: 2rem;
}

/* Статистика */
.stats-section {
    background-color: var(--max-light-blue);
    padding: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--max-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--max-dark-gray);
    font-size: 1rem;
}

/* Отзывы */
.testimonial-card {
    border-radius: 12px;
    border: 1px solid var(--max-gray);
    background-color: white;
    padding: 24px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-role {
    color: var(--max-dark-gray);
    font-size: 0.875rem;
}

.verification-badge {
    background-color: #4CAF50;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* CTA секция */
.cta-section {
    background-color: var(--max-primary);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-top: 8px solid #D52B1E;
    border-bottom: 8px solid #FFFFFF;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(-45deg, rgba(213, 43, 30, 0.2) 0%, rgba(213, 43, 30, 0.2) 15%, 
                         transparent 15%, transparent 20%,
                         rgba(0, 57, 166, 0.2) 20%, rgba(0, 57, 166, 0.2) 35%, 
                         transparent 35%, transparent 40%,
                         rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.3) 55%, 
                         transparent 55%, transparent 100%);
    background-size: 200px 200px;
    z-index: 0;
    opacity: 0.25;
}

/* Убираем анимацию для лучшего отображения в статической программе */

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Социальные доказательства */
.social-proof-section {
    padding: 30px 0;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-proof-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 0%, transparent 40%, 
                        rgba(0, 57, 166, 0.2) 45%, rgba(255, 255, 255, 0.2) 50%, 
                        rgba(213, 43, 30, 0.2) 55%, transparent 60%, transparent 100%);
    background-size: 200px 100%;
    z-index: -1;
    opacity: 0.15;
}

/* Убираем анимацию для лучшего отображения в статической программе */

.trust-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s, box-shadow 0.3s;
}

.trust-badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.trust-badge-icon {
    color: var(--max-primary);
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(43, 92, 230, 0.1);
    border-radius: 50%;
}

.trust-badge-text {
    font-size: 0.875rem;
    color: var(--max-dark-gray);
    font-weight: 600;
}

.users-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--max-dark-gray);
    font-size: 1rem;
    font-weight: 500;
}

.counter-number {
    font-weight: 700;
    color: var(--max-primary);
}

.users-counter-icon {
    color: var(--max-primary);
}

/* Верификация */
.verification-badge {
    background-color: var(--max-accent);
    color: white;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
}

.verification-badge-icon {
    width: 14px;
    height: 14px;
}

/* Футер */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    margin: 20px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--max-dark-gray);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--max-text);
}

.step-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--max-primary);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.step-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--max-text);
}

.step-description {
    color: var(--max-dark-gray);
    font-size: 0.875rem;
}

.modal-info-box {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin: 16px 0;
}

.modal-info-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--max-text);
    font-size: 0.875rem;
}

.modal-info-text {
    margin: 0;
    font-size: 0.875rem;
    color: var(--max-dark-gray);
}

.modal-btn {
    width: 100%;
    margin-top: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .trust-badge {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 20px;
        margin: 10px;
    }
}/* Russian Flag Overlay Background */
.russian-flag-bg {
    position: relative;
    overflow: hidden;
}

.russian-flag-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    z-index: -1;
}

.hero-section.russian-flag-bg .hero-title,
.hero-section.russian-flag-bg .hero-subtitle {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    color: #000;
    position: relative;
    z-index: 1;
}

.hero-section.russian-flag-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    position: relative;
}

.social-proof-section.russian-flag-bg {
    background: #f8f9fa;
    position: relative;
    z-index: 2;
}

.cta-section.russian-flag-bg {
    background: none;
}

.cta-section.russian-flag-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--max-primary);
    z-index: -1;
}

.cta-section.russian-flag-bg .cta-title,
.cta-section.russian-flag-bg .cta-subtitle {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Additional Russian Flag Theme Styles */
.btn-russian-primary {
    background: #0039A6; /* Russian blue */
    color: white;
    border: none;
}

.btn-russian-primary:hover {
    background: #002D82;
    transform: translateY(-2px);
}

.btn-russian-secondary {
    background: #D52B1E; /* Russian red */
    color: white;
    border: none;
}

.btn-russian-secondary:hover {
    background: #B52218;
    transform: translateY(-2px);
}/* Секция успешных историй */
.success-stories-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.success-stories-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 33%, 
                         rgba(0, 57, 166, 0.3) 33%, rgba(0, 57, 166, 0.3) 66%, 
                         rgba(213, 43, 30, 0.3) 66%, rgba(213, 43, 30, 0.3) 100%);
    background-size: 400px 400px;
    background-position: 0 0;
    z-index: 0;
    opacity: 0.1;
}

/* Убираем анимацию для лучшего отображения в статической программе */

.success-stories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #D52B1E 0%, #D52B1E 33%, #0039A6 33%, #0039A6 66%, #FFFFFF 66%, #FFFFFF 100%);
}

.success-story-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.success-story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.success-story-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.success-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.success-story-card:hover .success-story-img {
    transform: scale(1.05);
}

.verified-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 57, 166, 0.8);
    color: white;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.success-story-content {
    padding: 20px;
}

.success-story-results {
    display: flex;
    margin-bottom: 15px;
    gap: 20px;
}

.result-item {
    flex: 1;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.result-label {
    font-size: 0.75rem;
    color: var(--max-dark-gray);
    margin-bottom: 5px;
}

.result-value {
    font-weight: 700;
    color: #D52B1E;
    font-size: 1.1rem;
}

.success-story-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.success-story-role {
    font-size: 0.875rem;
    color: var(--max-dark-gray);
    margin-bottom: 15px;
}

.success-story-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

/* Улучшения для герой-секции */
.hero-section {
    padding: 80px 0 60px;
    background: none;
    position: relative;
}

/* Добавляем элементы с российской символикой */
.hero-title::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -15px;
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath d='M25 5L30 15H40L32 25L35 35L25 30L15 35L18 25L10 15H20L25 5Z' fill='%23D52B1E' fill-opacity='0.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.8;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.verification-badge {
    background: linear-gradient(to right, #0039A6, #1a56db);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 57, 166, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.verification-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 57, 166, 0.4);
}

.verification-badge-red {
    background: linear-gradient(to right, #D52B1E, #e02e24);
    box-shadow: 0 2px 4px rgba(213, 43, 30, 0.3);
}

.verification-badge-red:hover {
    box-shadow: 0 4px 8px rgba(213, 43, 30, 0.4);
}

.btn-russian-primary {
    background: linear-gradient(to right, #0039A6, #1a56db);
    border: 2px solid #FFFFFF;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 57, 166, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.btn-russian-primary:hover {
    background: linear-gradient(to right, #002b80, #0a46c0);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 57, 166, 0.4);
    color: white;
}

.btn-russian-secondary {
    background: linear-gradient(to right, #D52B1E, #e63946);
    border: 2px solid #FFFFFF;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(213, 43, 30, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.btn-russian-secondary:hover {
    background: linear-gradient(to right, #c01e13, #d32535);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(213, 43, 30, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .success-story-results {
        flex-direction: column;
        gap: 10px;
    }
}