/* Legal Documents Styles */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.legal-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #333;
}

/* Container */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.legal-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Content */
.legal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Typography */
.legal-content h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
}

.legal-content h3 {
    color: #34495e;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

/* Intro section */
.legal-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #3498db;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-icon {
    margin-bottom: 15px;
}

.contact-icon .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-email {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.contact-email:hover {
    color: #2980b9;
    text-decoration: underline;
}

.response-time {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 8px;
}

/* Company Info */
.company-info {
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.info-label {
    display: flex;
    align-items: center;
    min-width: 80px;
    margin-right: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.info-label .icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.info-value {
    color: #34495e;
    font-weight: 500;
}

/* Tax Info */
.tax-info {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin-top: 20px;
}

.info-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.info-icon .icon {
    font-size: 1.5rem;
    color: #856404;
}

.tax-info p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
}

/* Service Info */
.service-info {
    margin-bottom: 40px;
}

.service-description {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    background: #e8f4f8;
    border-radius: 12px;
}

.service-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.service-icon .icon {
    font-size: 3rem;
}

.service-text h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    margin-top: 0;
}

.service-features {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.service-features h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-features ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.service-features li:last-child {
    border-bottom: none;
}

/* Contact Message */
.contact-message {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    margin-top: 40px;
}

.message-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.message-icon .icon {
    font-size: 2rem;
    color: #155724;
}

.message-text p {
    margin-bottom: 10px;
    color: #155724;
}

.message-text p:last-child {
    margin-bottom: 0;
}

/* Footer */
.legal-footer {
    text-align: center;
    padding: 30px 0 20px;
    border-top: 1px solid #e9ecef;
    margin-top: 40px;
    color: #7f8c8d;
}

.legal-footer p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Support title */
.support-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 15px;
    }
    
    .legal-content {
        padding: 25px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .service-description {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-message {
        flex-direction: column;
        text-align: center;
    }
    
    .message-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .tax-info {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 20px;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-label {
        margin-right: 0;
        margin-bottom: 10px;
        min-width: auto;
    }
}

/* Print styles */
@media print {
    .legal-page {
        background: white;
    }
    
    .legal-header {
        color: black;
    }
    
    .legal-container {
        max-width: none;
        padding: 0;
    }
    
    .legal-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .legal-page {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .legal-content {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .legal-content h2,
    .legal-content h3 {
        color: #ecf0f1;
    }
    
    .contact-card,
    .info-item,
    .service-features {
        background: #34495e;
        border-color: #4a5f7a;
    }
    
    .legal-intro {
        background: #34495e;
    }
    
    .service-description {
        background: #34495e;
    }
    
    .contact-message {
        background: #27ae60;
        border-color: #2ecc71;
    }
    
    .tax-info {
        background: #f39c12;
        border-color: #e67e22;
    }
}
