/* ==========================================
   Legal Pages Styles
   ========================================== */

.legal-page {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-700);
}

.legal-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-200);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-section ul li::before {
    content: "•";
    color: var(--primary-light);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.legal-section ol {
    counter-reset: item;
    list-style: none;
}

.legal-section ol li {
    counter-increment: item;
}

.legal-section ol li::before {
    content: counter(item) ".";
    color: var(--primary-light);
    font-weight: 600;
    position: absolute;
    left: -1.5rem;
}

.legal-section a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: var(--white);
}

/* Contact Info Box */
.contact-info-box {
    background: var(--dark-light);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

/* Highlight Box */
.highlight-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.highlight-box h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.highlight-box h3 i {
    color: var(--primary-light);
}

.highlight-box p {
    color: var(--gray-300);
    font-size: 1.0625rem;
    margin-bottom: 0;
}

.highlight-box.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.highlight-box.success h3 i {
    color: var(--success);
}

/* Legal Navigation */
.legal-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    flex-wrap: wrap;
}

.legal-nav .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 6rem 0 3rem;
    }
    
    .legal-nav {
        flex-direction: column;
    }
    
    .legal-nav .btn {
        width: 100%;
        justify-content: center;
    }
}
