/* ============================================
   Legal Pages Shared Styles
   Used by: privacy.html, terms.html
   ============================================ */

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    background: white;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.legal-subtitle {
    font-size: 1.2rem;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 1rem;
}

.last-updated {
    color: #64748b;
    font-size: 0.9rem;
    font-style: italic;
}

.legal-content {
    line-height: 1.7;
}

.legal-content h2 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-content h3 {
    color: #374151;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    margin-bottom: 1.2rem;
    color: #4b5563;
    font-size: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.legal-content strong {
    color: #1e293b;
    font-weight: 600;
}

/* App Section Highlight */
.app-section {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid #6366f1;
}

.app-section h4 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

/* Contact Info Box */
.contact-info {
    background-color: #f0f9ff;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid #bae6fd;
}

.contact-info h3 {
    color: #0369a1;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

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

.contact-email:hover {
    text-decoration: underline;
}

/* Back Button */
.back-button {
    display: inline-block;
    background-color: #6366f1;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #4f46e5;
}

/* Table of Contents */
.toc {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.toc h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.toc ul {
    list-style: none;
    margin-left: 0;
}

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Important Notice Box */
.important-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.important-notice h3 {
    color: #92400e;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.important-notice h3 i {
    margin-right: 0.5rem;
}

.important-notice p {
    color: #92400e;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
}

