/* ===== LEGAL PAGES — Privacy Policy & Terms ===== */

/* Hero Banner */
.legal-page {
    padding-top: 70px;
}

.legal-hero {
    background: var(--gradient-hero-bg);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: var(--purple-600);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.legal-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--cyan-500);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin-top: 12px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.legal-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

/* Content Area */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0 80px;
}

.legal-section {
    margin-bottom: 48px;
    animation: fadeUp 0.6s ease forwards;
}

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

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
    position: relative;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.legal-section h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 24px;
    margin-bottom: 12px;
}

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

.legal-section ul {
    margin-bottom: 16px;
    padding-left: 0;
}

.legal-section li {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 6px 0 6px 28px;
    position: relative;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.legal-section a {
    color: var(--purple-600);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(124, 58, 237, 0.3);
    text-underline-offset: 3px;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--purple-700);
    text-decoration-color: var(--purple-600);
}

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

/* Highlight boxes */
.legal-highlight {
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 16px 0;
}

.legal-highlight.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(239, 68, 68, 0.04));
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-left: 4px solid var(--orange-500);
}

.legal-highlight.info {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(6, 182, 212, 0.04));
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-left: 4px solid var(--purple-600);
}

.legal-highlight p {
    margin-bottom: 0;
}

.legal-highlight ul {
    margin-bottom: 0;
}

/* Contact Card */
.contact-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-top: 16px;
}

.contact-card p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.contact-card p:first-child {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-card a {
    color: var(--purple-600);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(124, 58, 237, 0.3);
    text-underline-offset: 3px;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--purple-700);
    text-decoration-color: var(--purple-600);
}

/* Footer legal links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--purple-400);
}

.footer-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0 40px;
    }

    .legal-title {
        font-size: 1.8rem;
    }

    .legal-content {
        padding: 40px 0 60px;
    }

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

    .legal-section h3 {
        font-size: 1rem;
    }

    .contact-card {
        padding: 20px 24px;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 32px 0 48px;
    }

    .legal-section {
        margin-bottom: 36px;
    }

    .legal-highlight {
        padding: 18px 20px;
    }
}
