/* Legal Page Styles */

.legal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    padding: 80px 0 60px;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    padding: 0 0 80px;
}

/* Tabs */
.legal-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e5e7eb;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin: 0 10px;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Tab Content */
.tab-content {
    display: none;
    max-width: 900px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

/* Legal Sections */
.legal-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.legal-section h2 {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 15px;
}

.intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
}

/* Legal Items */
.legal-item {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.legal-item:last-child {
    margin-bottom: 0;
}

.legal-item h3 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.legal-item h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.legal-item p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-item ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-item li {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
}

.legal-item li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.legal-item li ul {
    margin: 10px 0 10px 20px;
}

.legal-item li li::before {
    content: '◦';
    color: var(--primary);
}

.legal-item strong {
    color: var(--primary);
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-top: 15px;
}

.contact-info p {
    margin: 0;
    text-align: center;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-header {
        padding: 60px 0 40px;
    }
    
    .legal-header h1 {
        font-size: 2.5rem;
    }
    
    .legal-header p {
        font-size: 1.1rem;
    }
    
    .legal-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        margin: 5px 0;
        width: 100%;
        max-width: 300px;
    }
    
    .legal-section {
        padding: 25px 20px;
        margin: 0 15px;
    }
    
    .legal-section h2 {
        font-size: 1.8rem;
    }
    
    .legal-item {
        padding: 20px 15px;
    }
    
    .legal-item h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-header p {
        font-size: 1rem;
    }
    
    .legal-section {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .legal-item {
        padding: 15px 12px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .legal-header {
        background: white !important;
        color: black !important;
        padding: 40px 0;
    }
    
    .legal-tabs {
        display: none;
    }
    
    .tab-content {
        display: block !important;
        max-width: none;
    }
    
    .legal-section {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .legal-item {
        background: white !important;
        border-left-color: #ccc;
    }
}
