/* =========================================
   Legal Pages Styles
   ========================================= */

/* Legal Page Layout */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--gray-50);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.last-updated {
    font-size: 14px;
    color: var(--gray-500);
}

/* Legal Content */
.legal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 48px 60px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content section {
    padding: 0;
    margin-bottom: 40px;
}

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

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* Contact Info Box */
.contact-info {
    background: var(--gradient-card);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(32, 163, 158, 0.2);
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
    color: var(--gray-700);
}

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

/* Policy Highlight Boxes */
.policy-highlight {
    padding: 20px 24px;
    border-radius: var(--border-radius);
    margin: 16px 0;
}

.policy-highlight p {
    margin-bottom: 8px;
}

.policy-highlight p:last-child {
    margin-bottom: 0;
}

.policy-highlight.success {
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.3);
}

.policy-highlight.success strong {
    color: #059669;
}

.policy-highlight.warning {
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.policy-highlight.warning strong {
    color: #d97706;
}

.policy-highlight.danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.policy-highlight.danger strong {
    color: #dc2626;
}

/* Legal Footer */
.legal-footer {
    text-align: center;
    margin-top: 48px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .legal-content {
        padding: 32px 24px;
        margin: 0 16px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-content h3 {
        font-size: 16px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 15px;
    }
}