/* ============================================
   LEGAL PAGES (Privacy Policy & Terms of Service)
   ============================================ */

.legal-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.legal-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.legal-content {
    padding: 60px 0 100px;
    background-color: var(--bg-light);
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem 3.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

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

.legal-section p {
    color: var(--text-medium);
    font-size: 0.975rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

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

.legal-section ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    font-size: 0.975rem;
    line-height: 1.7;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 50%;
}

.legal-contact-card {
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.legal-contact-card p {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.legal-contact-card a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.legal-contact-card a:hover {
    color: var(--accent);
}

/* Footer privacy links (shared across all pages) */
.footer-privacy ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-privacy a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-privacy a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

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

    .legal-body {
        padding: 2rem 1.5rem;
    }

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