/* Legal Pages Styles */

/* Page Layout */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.legal-updated {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Content Styling */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.legal-section ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.legal-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-section a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Contact Page Styles */
.contact-page .legal-header {
    margin-bottom: 40px;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.15);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

.contact-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.contact-email {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.contact-email:hover {
    background: rgba(74, 144, 226, 0.2);
}

.contact-info {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
}

.contact-info h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.contact-faq {
    max-width: 800px;
    margin: 0 auto;
}

.contact-faq > h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
}

.contact-faq > h2::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto 16px;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px 24px 24px 28px;
    margin-bottom: 16px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item:hover {
    border-left-color: var(--primary);
    background: rgba(74, 144, 226, 0.05);
    transform: translateX(4px);
}

.faq-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-item h3::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: rgba(74, 144, 226, 0.15);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    padding-left: 36px;
    position: relative;
}

.faq-item:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-header {
        margin-bottom: 40px;
    }

    .legal-section {
        margin-bottom: 36px;
    }

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

    .legal-section h3 {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 24px;
    }

    .contact-info {
        padding: 24px;
    }

    .faq-item {
        padding: 20px;
        padding-left: 20px;
    }

    .faq-item:hover {
        transform: none;
    }

    .faq-item h3 {
        gap: 10px;
    }

    .faq-item p {
        padding-left: 34px;
    }
}

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

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

    .faq-item h3 {
        font-size: 1rem;
    }

    .faq-item h3::before {
        min-width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .faq-item p {
        padding-left: 32px;
        font-size: 0.9375rem;
    }
}
