/* Legal Pages Styling - Terms, Privacy Policy, Disclaimer */

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.legal-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 50px;
    margin-bottom: 30px;
}

/* Page Header */
.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.legal-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.legal-subtitle {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 500;
}

/* Content Section */
.legal-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #2d3748;
}

.legal-content .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 25px;
    font-weight: 400;
}

.legal-content hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 40px 0;
}

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

.legal-section h2 {
    font-size: 1.75rem;
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.legal-section p strong {
    color: #2d3748;
    font-weight: 600;
}

/* Lists */
.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
}

.legal-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Alert Boxes */
.legal-alert {
    padding: 20px 25px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid;
}

.legal-alert p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.legal-alert-info {
    background-color: #e6f3ff;
    border-left-color: #3b82f6;
    color: #1e40af;
}

.legal-alert-info a {
    color: #1e40af;
    text-decoration: underline;
    font-weight: 600;
}

.legal-alert-info a:hover {
    color: #1e3a8a;
}

.legal-alert-warning {
    background-color: #fff7ed;
    border-left-color: #f59e0b;
    color: #92400e;
}

.legal-alert-warning strong {
    color: #78350f;
}

/* Links */
.legal-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Smooth Animations */
.legal-article {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 20px 15px;
    }

    .legal-article {
        padding: 30px 20px;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-content .lead {
        font-size: 1.1rem;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-title {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-alert {
        padding: 15px 20px;
    }

    .legal-article {
        box-shadow: none;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .legal-container {
        padding: 0;
        background-color: transparent;
    }
}

/* Print Styles */
@media print {
    .legal-container {
        background-color: #fff;
    }

    .legal-article {
        box-shadow: none;
    }

    .legal-title {
        -webkit-text-fill-color: #2d3748;
        color: #2d3748;
    }
}