/* Legal Content Styles */
.legal-content {
    padding: 100px 20px 60px;
    background: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.last-updated {
    color: #64748B;
    font-size: 0.95rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

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

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #F1F5F9;
}

.legal-section:first-child h2 {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.legal-section ul {
    margin: 15px 0 20px 20px;
    padding-left: 20px;
}

.legal-section li {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 10px;
    list-style-type: disc;
}

.legal-section li strong {
    color: #1E293B;
    font-weight: 600;
}

.legal-section a {
    color: #2563EB;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.legal-section a:hover {
    color: #1D4ED8;
    border-bottom-color: #1D4ED8;
}

/* Back Link */
.back-link {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #E2E8F0;
    text-align: center;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 6px;
    background: #F8FAFC;
}

.back-link a:hover {
    background: #2563EB;
    color: white;
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content {
        padding: 80px 15px 40px;
    }
    
    .legal-container {
        padding: 25px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.15rem;
    }
    
    .legal-section ul {
        margin-left: 10px;
        padding-left: 15px;
    }
}

/* Highlight box for important information */
.important-note {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.important-note p {
    color: #92400E;
    margin: 0;
}