/* Legal Pages Styles (Privacy, Terms, etc.) */

body.legal-page {
    --legal-page-bg: #ffffff;
    --legal-content-bg: #ffffff;
    --legal-text: var(--text-primary);
    --legal-muted-text: var(--text-secondary);
    --legal-blockquote-bg: var(--background-secondary);
    --legal-placeholder-bg: #FEF3C7;
    --legal-placeholder-border: #F59E0B;
    --legal-placeholder-text: #92400E;
    background: var(--legal-page-bg);
    color: var(--legal-text);
}

html[data-theme="dark"] body.legal-page {
    --legal-page-bg: #07111f;
    --legal-content-bg: #08121f;
    --legal-text: #edf4fb;
    --legal-muted-text: #b7c5d8;
    --legal-blockquote-bg: #0c1728;
    --legal-placeholder-bg: rgba(146, 64, 14, 0.22);
    --legal-placeholder-border: rgba(245, 158, 11, 0.48);
    --legal-placeholder-text: #fde68a;
    background: var(--legal-page-bg);
}

.legal-content {
    padding: 120px 0 80px;
    background: var(--legal-content-bg);
    min-height: 80vh;
}

.legal-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-updated {
    font-size: 1rem;
    color: var(--legal-muted-text);
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--legal-text);
}

.legal-text h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-text p {
    margin-bottom: 1.5rem;
}

.legal-text ul,
.legal-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-text a:hover {
    text-decoration: none;
}

.legal-text strong {
    font-weight: 600;
    color: var(--text-primary);
}

.legal-text blockquote {
    margin: 2rem 0;
    padding: 1rem 2rem;
    background: var(--legal-blockquote-bg);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.placeholder-note {
    background: var(--legal-placeholder-bg);
    border: 2px dashed var(--legal-placeholder-border);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    color: var(--legal-placeholder-text);
    font-style: italic;
}

html[data-theme="dark"] body.legal-page .legal-content h1,
html[data-theme="dark"] body.legal-page .legal-text h2,
html[data-theme="dark"] body.legal-page .legal-text h3,
html[data-theme="dark"] body.legal-page .legal-text strong,
html[data-theme="dark"] body.legal-page .legal-text {
    color: var(--legal-text);
}

html[data-theme="dark"] body.legal-page .legal-text p,
html[data-theme="dark"] body.legal-page .legal-text li,
html[data-theme="dark"] body.legal-page .legal-updated {
    color: var(--legal-muted-text);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 20px 60px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-text {
        font-size: 0.95rem;
    }
}
