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

.legal-page {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-weight: 500;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-magenta);
    transform: translateX(-4px);
}

.legal-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    background: var(--gradient-flame);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.legal-intro {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 40px;
}

.legal-intro p {
    margin-bottom: 16px;
    line-height: 1.8;
}

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

.legal-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-flame);
    border-radius: 2px;
}

.legal-section h3 {
    font-size: 1.15rem;
    margin: 28px 0 12px;
    color: var(--text-primary);
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    margin: 16px 0 24px;
    padding-left: 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.highlight-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    color: var(--text-primary);
    font-weight: 500;
}

.legal-section a {
    color: var(--primary-purple);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section a:hover {
    color: var(--primary-magenta);
}

.contact-email {
    display: inline-block;
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary-purple);
}

/* Footer active link */
.footer-col a.active {
    color: var(--primary-purple);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: calc(var(--header-height) + 40px);
    }

    .legal-header {
        margin-bottom: 40px;
        padding-bottom: 24px;
    }

    .legal-intro {
        padding: 24px;
    }

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