/* Legal Pages Styles (Privacy & Terms) */

.legal-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

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

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    color: var(--muted-text);
    font-size: 1rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-block {
    margin-bottom: 3rem;
}

.legal-block h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-text);
    position: relative;
    padding-left: 20px;
}

.legal-block h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
}

.legal-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--accent-cyan);
}

.legal-block p {
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-block ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-block ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 0.75rem;
    color: var(--muted-text);
    line-height: 1.6;
}

.legal-block ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.contact-info-box {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
}

.contact-info-box strong {
    color: var(--light-text);
    font-size: 1.125rem;
}

/* Table of Contents (optional) */
.legal-toc {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.legal-toc h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.legal-toc ul {
    list-style: none;
    padding: 0;
}

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

.legal-toc a {
    color: var(--muted-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-toc a:hover {
    color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 0 20px;
    }
    
    .legal-block h2 {
        font-size: 1.5rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
}