/* ===== LEGAL PAGES ===== */

.legal-page {
    padding: 160px 0 80px;
    min-height: 80vh;
}

.legal-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.legal-date {
    color: var(--text-muted, #71717a);
    font-size: 0.9rem;
}

.legal-nav {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.legal-nav a {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.legal-nav a:hover,
.legal-nav a.active {
    border-color: var(--accent-purple);
    color: var(--text-primary);
    background: rgba(147, 51, 234, 0.08);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

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

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: 700;
}

.legal-highlight {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-md, 12px);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.legal-highlight strong {
    color: #f87171;
}

.legal-info {
    background: rgba(147, 51, 234, 0.06);
    border: 1px solid rgba(147, 51, 234, 0.15);
    border-radius: var(--radius-md, 12px);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.legal-caps {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: var(--text-muted, #71717a);
}

.legal-contact {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 12px);
    text-align: center;
}

.legal-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.legal-contact a {
    color: var(--accent-purple-hover, #a855f7);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 130px 1.5rem 60px;
    }

    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.15rem;
    }
}
