/* Legal Pages Styles (Terms & Privacy) */

.legal-page {
    background: #ffffff;
}

.legal-content {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.legal-header h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.legal-subtitle {
    font-size: 1.125rem;
    color: #6e6e73;
    margin-bottom: 2rem;
    font-weight: 500;
}

.legal-meta {
    background: #f5f5f7;
    padding: 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.legal-meta p {
    margin: 0.5rem 0;
    color: #1d1d1f;
}

.legal-meta strong {
    color: #6366f1;
    font-weight: 600;
}

.legal-meta a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-meta a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.legal-body {
    line-height: 1.8;
    color: #1d1d1f;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
    margin-top: 2rem;
    letter-spacing: -0.01em;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #4b5563;
}

.legal-section li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.legal-section a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.faq-item p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content {
        padding: 6rem 1rem 3rem;
    }

    .legal-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-section h3 {
        font-size: 1.125rem;
    }

    .legal-section p {
        font-size: 0.9375rem;
        text-align: left;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .legal-content {
        padding: 2rem 0;
    }

    .legal-section {
        page-break-inside: avoid;
    }
}

