/* صفحات القانونية */
.legal-page {
    padding: 60px 0;
    background: #f8f9fa;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-right: 5px solid var(--primary-color);
}

.legal-header h1 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.legal-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

.legal-section {
    padding: 40px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-right: 20px;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    width: 8px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 4px;
}

.legal-section h3 {
    color: var(--text-color);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.05rem;
}

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

.legal-section li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-color);
    position: relative;
    padding-right: 20px;
}

.legal-section li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    right: 0;
}

.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

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

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

.acceptance-section {
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #d4edda 100%);
}

.acceptance-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-color);
}

.acceptance-box h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.8rem;
}

.acceptance-box i {
    color: var(--primary-color);
    font-size: 2rem;
}

.acceptance-box p {
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .legal-header {
        padding: 30px 20px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 30px 20px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .acceptance-box {
        padding: 30px 20px;
    }
}