/* === Базовые стили для проекта "Доверие" === */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f1f5f9;
    --bg-warm: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

/* === Единый стиль для всех секций === */
.hero-section,
.help-section,
.about-section,
.process-section,
.future-section,
.contacts-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Главный экран - дополнительные стили поверх единого фона */
.hero-section {
    padding-top: 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text);
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.hero-card i {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-card img {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-card p {
    color: var(--text-light);
}

/* Единый стиль заголовков секций */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header .section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* === Секция "Больше, чем просто чат-бот" === */

/* Основная демо-зона */
.future-demo {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* Блоки с функциями по бокам */
.future-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Центральный чат - дизайн смартфона */
.chat-demo {
    background: #1a1a1a;
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 6px solid #2a2a2a;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.chat-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.chat-demo::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    z-index: 3;
}

.chat-content {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.chat-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text);
}

.chat-info span {
    font-size: 11px;
    color: var(--text-light);
}

.chat-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--accent);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chat-messages {
    padding: 16px;
    height: 480px;
    overflow-y: auto;
    background: #fafbfc;
}

.message {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.message.user {
    align-items: flex-end;
}

.message.bot {
    align-items: flex-start;
}

.message-content {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

.message.bot .message-content {
    background: white;
    color: var(--text);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.message-content ul {
    margin: 6px 0;
    padding-left: 14px;
}

.message-content li {
    margin-bottom: 3px;
}

.message-time {
    font-size: 10px;
    color: var(--text-light);
    opacity: 0.6;
    margin: 0 4px;
}

.chat-input {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    align-items: center;
    background: white;
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
    background: #f8f9fa;
}

.chat-input input:focus {
    border-color: var(--primary);
    background: white;
}

.chat-input input[readonly] {
    background: #f8f9fa;
    cursor: not-allowed;
    color: var(--text-light);
}

.send-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.4);
}

.send-btn i {
    font-size: 12px;
}

/* Добавим полосу прокрутки для сообщений */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* Нижние карточки */
.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.future-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    text-align: center;
}

.future-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.future-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.future-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.future-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .future-demo {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .future-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .chat-demo {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .future-section {
        padding: 60px 0;
    }
    
    .future-section .section-header h2 {
        font-size: 32px;
    }
    
    .future-demo {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .future-features {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .chat-demo {
        max-width: 280px;
        padding: 10px;
        border-radius: 35px;
    }
    
    .chat-demo::before {
        width: 100px;
        height: 18px;
        border-radius: 0 0 10px 10px;
    }
    
    .chat-content {
        border-radius: 18px;
        margin-top: 12px;
    }
    
    .chat-header {
        padding: 14px 16px;
    }
    
    .chat-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .chat-info h4 {
        font-size: 14px;
    }
    
    .chat-info span {
        font-size: 10px;
    }
    
    .chat-messages {
        padding: 12px;
        max-height: 300px;
    }
    
    .message-content {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .chat-input {
        padding: 10px 12px;
    }
    
    .chat-input input {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .send-btn {
        width: 32px;
        height: 32px;
    }
    
    .future-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .future-card {
        padding: 24px;
    }
}

/* === Модальное окно "Сообщить о проблеме" === */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-warm);
}

.modal-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2 i {
    color: #f59e0b;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    padding: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text);
}

.modal-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.modal-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 16px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: var(--radius);
}

.form-step {
    display: block;
}

.form-step h3 {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    text-align: center;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group,
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 14px;
}

.radio-group label:hover,
.checkbox-group label:hover {
    border-color: var(--primary);
    background: var(--bg-warm);
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.radio-group input[type="radio"]:checked + span,
.checkbox-group input[type="checkbox"]:checked + span {
    color: var(--primary);
    font-weight: 500;
}

.radio-group input[type="radio"]:checked ~ label,
.checkbox-group input[type="checkbox"]:checked ~ label {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.step-buttons {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 24px;
}

.step-buttons .btn {
    min-width: 120px;
}

.review-section {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.review-section h4 {
    margin: 0 0 16px 0;
    color: var(--text);
    font-size: 16px;
}

.review-item {
    background: white;
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.privacy-notice {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: var(--radius);
    padding: 16px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.privacy-notice i {
    color: #10b981;
    margin-top: 2px;
}

.privacy-notice p {
    margin: 0;
    font-size: 14px;
    color: var(--text);
}

.success-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.notification-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.notification-content i {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 16px;
}

.notification-content h3 {
    margin: 0 0 12px 0;
    color: var(--text);
    font-size: 20px;
}

.notification-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* === Стили для выбора срочности === */
.urgency-section {
    margin-bottom: 24px;
}

.urgency-section label {
    font-weight: 600;
    margin-bottom: 12px;
}

.urgency-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.urgency-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: white;
}

.urgency-option:hover {
    border-color: var(--primary);
    background: var(--bg-warm);
}

.urgency-option input[type="radio"] {
    display: none;
}

.urgency-option input[type="radio"]:checked + .urgency-content {
    color: var(--primary);
}

.urgency-option input[type="radio"]:checked ~ .urgency-content,
.urgency-option:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.urgency-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.urgency-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.urgency-option.low .urgency-number {
    background: #dcfce7;
    color: #16a34a;
}

.urgency-option.medium .urgency-number {
    background: #fef3c7;
    color: #d97706;
}

.urgency-option.high .urgency-number {
    background: #fee2e2;
    color: #dc2626;
}

.urgency-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.urgency-info strong {
    font-size: 16px;
    color: var(--text);
}

.urgency-info span {
    font-size: 13px;
    color: var(--text-light);
}

.urgency-option.high {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.urgency-option.high:hover {
    border-color: #dc2626;
    background: rgba(239, 68, 68, 0.1);
}

.urgency-option.high .urgency-info strong {
    color: #dc2626;
}

/* === Адаптивность для модального окна === */
@media (max-width: 768px) {
    .modal {
        padding: 0;
    }
    
    .modal-content {
        margin: 0;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        max-height: 95vh;
        width: 100%;
        max-width: 100%;
    }
    
    .modal-header {
        padding: 20px;
        flex-shrink: 0;
    }
    
    .modal-body {
        padding: 20px;
        flex: 1;
        min-height: 0;
    }
    
    .radio-group,
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .step-buttons {
        flex-direction: column;
    }
    
    .step-buttons .btn {
        width: 100%;
    }
    
    .notification-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

/* === Шапка === */
.main-header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 24px;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Кнопка переключения языка */
#language-toggle {
    min-width: 44px;
    height: 40px;
    padding: 0 12px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 50px;
    background: white;
    border: 2px solid var(--border);
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#language-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

#language-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
}

/* === Кнопки === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff !important;
}

.btn-primary span,
.btn-primary i,
.btn-primary * {
    color: #ffffff !important;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* === Главный экран === */
.hero-section {
    background: linear-gradient(135deg, var(--bg-warm) 0%, white 100%);
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(230, 126, 34, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text);
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.hero-card i {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-card img {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-card p {
    color: var(--text-light);
}

/* === Секции === */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-description {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.help-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.help-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.help-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.help-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.card-icon i {
    font-size: 30px;
    color: var(--primary);
}

.help-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.help-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* === О проекте === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-list {
    list-style: none;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}

.about-list i {
    color: var(--primary);
    font-size: 20px;
}

.about-card-visual {
    background: var(--bg-warm);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.visual-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.visual-item:last-child {
    margin-bottom: 0;
}

.visual-item i {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.visual-item span {
    font-weight: 600;
}

/* === Процесс === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: var(--primary);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 25px;
}

.process-step h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-light);
}

/* === Контакты === */
.contacts-section {
    padding: 80px 0;
    background: var(--bg-warm);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacts-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contacts-info > p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item span {
    color: var(--text-light);
}

.cta-box {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box > i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 25px;
}

.cta-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

/* === Подвал === */
.main-footer {
    background: var(--text);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* === Мобильное меню === */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
}

/* === Адаптивность === */
@media (max-width: 992px) {
    .hero-grid,
    .about-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .help-cards,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }
    
    .nav-actions {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: relative;
    }
    
    .main-nav.mobile-menu-open .nav-menu,
    .main-nav.mobile-menu-open .nav-actions {
        display: flex !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}

/* === Уведомление об успешной отправке === */
.success-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-notification.show {
    opacity: 1;
}

.success-notification .notification-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.success-notification.show .notification-content {
    transform: scale(1);
}

.success-animation {
    margin-bottom: 30px;
}

.success-checkmark {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 0.6s ease;
    position: relative;
}

.success-checkmark i {
    color: white;
    font-size: 36px;
    animation: checkmarkAppear 0.4s ease 0.2s both;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmarkAppear {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.success-notification h3 {
    color: var(--text);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.success-details {
    text-align: left;
    margin-bottom: 30px;
}

.report-id-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
}

.report-id-box i {
    color: var(--accent);
    font-size: 24px;
}

.report-id {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 5px;
}

.success-details p {
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.4;
    font-size: 14px;
    text-align: left;
}

.success-details p i {
    color: var(--accent);
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 14px;
    margin-right: 5px;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    min-width: 140px;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.success-actions .btn i {
    margin-right: 0;
}

.success-actions .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
}

.success-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.success-actions .btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
}

.success-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
}

.success-actions .btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
}

.success-actions .btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
}

.success-actions .btn-status {
    background: #f7dc6f;
    border-color: #f7dc6f;
    color: #333;
}

.success-actions .btn-status:hover {
    background: #f2c464;
    transform: translateY(-1px);
}

.support-info {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.support-info p {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 15px;
}

.emergency-contacts {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.emergency-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    color: var(--primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.emergency-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.emergency-link i {
    font-size: 16px;
}

/* Мобильные стили для уведомления */
@media (max-width: 768px) {
    .success-notification .notification-content {
        padding: 25px 20px;
        margin: 20px;
        max-height: 85vh;
    }
    
    .success-checkmark {
        width: 60px;
        height: 60px;
    }
    
    .success-checkmark i {
        font-size: 28px;
    }
    
    .success-notification h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .success-details {
        margin-bottom: 25px;
    }
    
    .success-details p {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.4;
        gap: 18px;
        align-items: flex-start;
    }
    
    .success-details p i {
        font-size: 12px;
        width: 18px;
        margin-top: 3px;
        margin-right: 8px;
    }
    
    .report-id-box {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .report-id {
        font-size: 16px;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .success-actions .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .emergency-contacts {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .emergency-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .success-notification .notification-content {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .success-notification h3 {
        font-size: 20px;
    }
    
    .success-details p {
        font-size: 12px;
        gap: 15px;
        line-height: 1.3;
    }
    
    .success-details p i {
        font-size: 11px;
        width: 16px;
        margin-top: 2px;
        margin-right: 6px;
    }
    
    .emergency-link {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* === Индикатор загрузки для кнопок === */
.btn:disabled {
    cursor: not-allowed !important;
    transform: none !important;
}

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === Визуальная обратная связь для полей формы === */
.form-step input:disabled,
.form-step select:disabled,
.form-step textarea:disabled {
    background: var(--bg-light) !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* === Улучшенные стили для модального окна === */
.modal {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    transition: var(--transition);
}

.modal.show .modal-content {
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    0% {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* === Прогресс-бар для формы === */
.form-progress {
    margin-bottom: 30px;
    padding: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    width: 0%;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.progress-step::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--border);
    z-index: -1;
}

.progress-step:last-child::before {
    display: none;
}

.progress-step.completed::before {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.progress-step.active .step-indicator {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.progress-step.completed .step-indicator {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.progress-step.upcoming .step-indicator {
    background: white;
    border-color: var(--border);
    color: var(--text-light);
}

.progress-step span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
    transition: var(--transition);
}

.progress-step.active span {
    color: var(--primary);
    font-weight: 600;
}

.progress-step.completed span {
    color: var(--accent);
    font-weight: 600;
}

.progress-step.upcoming span {
    color: var(--text-light);
}

/* Мобильные стили для прогресс-бара */
@media (max-width: 768px) {
    .progress-steps {
        gap: 10px;
    }
    
    .progress-step span {
        font-size: 10px;
    }
    
    .step-indicator {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .progress-step.active .step-indicator {
        transform: scale(1.15);
    }
}

@media (max-width: 480px) {
    .progress-step span {
        display: none;
    }
    
    .progress-step {
        flex: 1;
        max-width: 60px;
    }
}

/* === Загрузка файлов доказательств === */
.file-upload-section {
    margin-top: 20px;
    padding: 20px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg-warm);
    transition: var(--transition);
}

.file-upload-section:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.02);
}

.file-upload-area {
    text-align: center;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: var(--transition);
}

.file-upload-label:hover {
    background: rgba(37, 99, 235, 0.05);
}

.file-upload-label i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 10px;
}

.file-upload-label span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.file-upload-label small {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.files-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.file-preview-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.file-preview-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.file-preview-image {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.file-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-video {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    position: relative;
}

.remove-file {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
    opacity: 0;
}

.file-preview-item:hover .remove-file {
    opacity: 1;
}

.remove-file:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.file-info {
    padding: 10px;
}

.file-name {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.file-size {
    display: block;
    font-size: 10px;
    color: var(--text-light);
}

/* Мобильные стили для загрузки файлов */
@media (max-width: 768px) {
    .files-preview {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .file-upload-label {
        padding: 20px;
    }
    
    .file-upload-label i {
        font-size: 36px;
    }
    
    .file-upload-label span {
        font-size: 14px;
    }
    
    .file-preview-image,
    .file-preview-video {
        height: 100px;
    }
    
    .file-preview-video i {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .file-upload-section {
        padding: 15px;
        margin-top: 15px;
    }
    
    .files-preview {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .file-preview-image,
    .file-preview-video {
        height: 80px;
    }
    
    .file-preview-video i {
        font-size: 28px;
    }
    
    .file-info {
        padding: 8px;
    }
    
    .file-name {
        font-size: 11px;
    }
    
    .file-size {
        font-size: 9px;
    }
}



