/* ===================================
   Legal Pages & FAQ Styles
   =================================== */

/* Legal Content */
.legal-content {
    padding: 80px 20px;
}

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

.content-wrapper h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-wrapper p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-wrapper li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.content-wrapper strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

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

.contact-box a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
}

.faq-category {
    margin-bottom: 4rem;
}

.faq-category h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-category i {
    color: var(--primary-color);
}

.faq-item-expand {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item-expand:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item-expand.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item-expand.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.faq-cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--white);
    margin-top: 4rem;
}

.faq-cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.faq-cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.faq-cta-box .btn {
    background-color: var(--white);
    color: var(--primary-color);
}

.faq-cta-box .btn:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .legal-content {
        padding: 60px 20px;
    }
    
    .content-wrapper h2 {
        font-size: 1.75rem;
        margin-top: 2.5rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.25rem;
    }
    
    .content-wrapper p,
    .content-wrapper li {
        font-size: 1rem;
    }
    
    .contact-box {
        padding: 1.5rem;
    }
    
    .faq-section {
        padding: 60px 20px;
    }
    
    .faq-category h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.25rem;
    }
    
    .faq-cta-box {
        padding: 2rem;
    }
    
    .faq-cta-box h3 {
        font-size: 1.75rem;
    }
    
    .faq-cta-box p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .content-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
    }
}