/* ==========================================================================
   Legal Pages (Privacy Policy, Terms of Service)
   ========================================================================== */

.legal-hero {
    padding: 160px 0 100px;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)),
        url('../images/legal_hero_bg.png');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    text-align: center;
}

.legal-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.legal-meta {
    font-size: 0.95rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.legal-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 120px;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-sidebar h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.legal-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 0.75rem;
}

.legal-nav a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
}

.legal-nav a:hover {
    color: #1e40af;
    transform: translateX(5px);
}

.legal-nav li.active a {
    color: #1e40af;
    font-weight: 600;
}

.legal-content {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.legal-section {
    margin-bottom: 60px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.75rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.legal-section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.legal-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 1rem;
    color: #475569;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #06d6a0;
    font-weight: bold;
}

.contact-card-mini {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid #1e40af;
}

.contact-card-mini strong {
    color: #1e40af;
    display: block;
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .legal-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-sidebar {
        position: static;
        order: -1;
    }

    .legal-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 2.5rem;
    }

    .legal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}