﻿/* ==========================================================================
   СТИЛИ ДЛЯ СТАТИЧЕСКИХ СТРАНИЦ (About, Privacy, Terms, Contact)
   ========================================================================== */

:root {
    --primary-color: #6c5ce7;
    --primary-light: #8b7cf0;
    --primary-dark: #4a3bb5;
    --secondary-color: #00d2ff;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #d63031;
    --dark-bg: #0a0c14;
    --surface-bg: #121620;
    --surface-light: #1e2430;
    --text-primary: #ffffff;
    --text-secondary: #d1d5e0;
    --text-muted: #9aa1b5;
    --border-color: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --transition: 0.3s ease;
    --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #00d2ff 100%);
}

/* ==========================================================================
   ОСНОВНОЙ КОНТЕЙНЕР
   ========================================================================== */

.static-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   ЗАГОЛОВОК СТРАНИЦЫ
   ========================================================================== */

.static-page .page-header {
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 210, 255, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.static-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
}

.static-page .page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

/* ==========================================================================
   КОНТЕНТ
   ========================================================================== */

.static-page .content-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.static-page .info-card {
    background: linear-gradient(135deg, var(--surface-light), var(--surface-bg));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
}

    .static-page .info-card:hover {
        border-color: var(--primary-color);
        box-shadow: var(--shadow-md);
    }

.static-page .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    position: relative;
    padding-bottom: 0.5rem;
}

    .static-page .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--gradient-1);
        border-radius: 3px;
    }

.static-page .text-content {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

    .static-page .text-content:last-child {
        margin-bottom: 0;
    }

.static-page .list-content {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .static-page .list-content li {
        color: var(--text-secondary);
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        position: relative;
        line-height: 1.6;
    }

        .static-page .list-content li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--primary-color);
            font-weight: bold;
            font-size: 1.2rem;
        }

        .static-page .list-content li strong {
            color: var(--text-primary);
        }

.static-page .text-muted {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   СЕТКА ПРЕИМУЩЕСТВ (ДЛЯ ABOUT)
   ========================================================================== */

.static-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.static-page .feature-item {
    background: linear-gradient(135deg, var(--surface-light), var(--surface-bg));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

    .static-page .feature-item:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color);
        box-shadow: var(--shadow-md);
    }

.static-page .feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

    .static-page .feature-icon svg {
        width: 32px;
        height: 32px;
    }

.static-page .feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.static-page .feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   КОНТАКТНАЯ СТРАНИЦА
   ========================================================================== */

.static-page .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.static-page .contact-info-section,
.static-page .contact-form-section {
    height: 100%;
}

.static-page .contact-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

    .static-page .contact-item:hover {
        background: rgba(108, 92, 231, 0.05);
        transform: translateX(5px);
    }

.static-page .contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.static-page .contact-details {
    flex: 1;
}

.static-page .contact-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.static-page .contact-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
}

.static-page .contact-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.static-page .form-card {
    background: linear-gradient(135deg, var(--surface-light), var(--surface-bg));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
}

.static-page .form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.static-page .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.static-page .form-group {
    margin-bottom: 1rem;
}

.static-page .form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.static-page .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .static-page .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    }

    .static-page .form-control::placeholder {
        color: var(--text-muted);
    }

.static-page textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.static-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.static-page .btn-primary {
    background: var(--gradient-1);
    color: white;
}

    .static-page .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
    }

.static-page .btn-block {
    width: 100%;
}

/* ==========================================================================
   КАРТА
   ========================================================================== */

.static-page .map-section {
    margin-top: 1.5rem;
}

.static-page .map-card {
    background: linear-gradient(135deg, var(--surface-light), var(--surface-bg));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
}

.static-page .map-placeholder {
    height: 300px;
    background: var(--surface-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .static-page .map-placeholder::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: repeating-linear-gradient( 45deg, var(--border-color) 0px, var(--border-color) 2px, transparent 2px, transparent 8px );
        opacity: 0.3;
    }

.static-page .map-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-secondary);
}

    .static-page .map-overlay svg {
        margin-bottom: 1rem;
        color: var(--primary-color);
        opacity: 0.5;
    }

    .static-page .map-overlay p {
        margin: 0.25rem 0;
    }

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */

@media (max-width: 992px) {
    .static-page .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .static-page {
        padding: 0 1rem;
    }

        .static-page .page-header {
            padding: 1.5rem;
        }

        .static-page .page-title {
            font-size: 2rem;
        }

        .static-page .info-card {
            padding: 1.5rem;
        }

        .static-page .features-grid {
            grid-template-columns: 1fr;
        }

        .static-page .contact-item {
            flex-direction: column;
            text-align: center;
        }

        .static-page .contact-icon {
            margin: 0 auto;
        }
}

@media (max-width: 480px) {
    .static-page .page-title {
        font-size: 1.5rem;
    }

    .static-page .section-title {
        font-size: 1.25rem;
    }

    .static-page .map-placeholder {
        height: 200px;
    }
}
