/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 60px;
    background: var(--bg-secondary);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

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

.last-updated {
    color: var(--text-secondary);
    font-size: 1rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.legal-section {
    margin-bottom: 3rem;
}

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

.legal-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

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

.legal-section ul,
.legal-section ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.75rem;
}

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

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

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

.contact-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.75rem;
}

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

.legal-footer {
    max-width: 900px;
    margin: 3rem auto 0;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.legal-footer p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-dark);
}

/* FAQ Styles */
.faq-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin: 0 0 1rem 0;
}

.faq-item p,
.faq-item ul,
.faq-item ol {
    margin-bottom: 0.75rem;
}

.faq-item p:last-child,
.faq-item ul:last-child,
.faq-item ol:last-child {
    margin-bottom: 0;
}

/* Requirements Table */
.requirements-table {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.req-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.req-row:last-child {
    border-bottom: none;
}

.req-label {
    font-weight: 600;
    color: var(--text-primary);
}

.req-value {
    color: var(--text-secondary);
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 40px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.125rem;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .req-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .req-label {
        font-size: 0.875rem;
    }
}
