/* ========================================
   Legal Pages - Privacy Policy & Terms
   ======================================== */

.legal-page {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--cosmic-bg);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

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

/* Content Card */
.legal-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(124, 58, 237, 0.08);
}

.legal-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

/* Sections */
.legal-section {
    margin-bottom: 2.5rem;
}

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

.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--soft-lilac);
}

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

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

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

.legal-section ul li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cosmic-purple);
    opacity: 0.5;
}

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

.legal-section a {
    color: var(--cosmic-purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--deep-violet);
    text-decoration: underline;
}

/* Contact block */
.legal-contact {
    background: var(--lavender-mist);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.08);
}

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

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

.legal-contact a {
    color: var(--cosmic-purple);
    text-decoration: none;
    font-weight: 500;
}

.legal-contact a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-container {
        padding: 2rem 1rem 3rem;
    }

    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-content {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

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

@media (max-width: 480px) {
    .legal-content {
        padding: 1.25rem;
    }

    .legal-header h1 {
        font-size: 1.5rem;
    }
}
