/* Modern FAQ Section - Card Accordion Style */

.modern-faq-section {
    background: #f8fafc;
    padding: 80px 0 100px;
}

.modern-faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.modern-faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.modern-faq-label {
    color: #336DFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.modern-faq-title {
    color: #1a2a4a;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
}

.modern-faq-subtitle {
    color: #5a6a7a;
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Cards List */
.modern-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 48px;
}

/* FAQ Item Card */
.modern-faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8eef4;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #d0d8e0;
}

.modern-faq-item.active {
    border-color: #336DFF;
    box-shadow: 0 4px 16px rgba(51, 109, 255, 0.15);
}

/* Question */
.modern-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.modern-faq-question-text {
    color: #1a2a4a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.modern-faq-item.active .modern-faq-question-text {
    color: #336DFF;
}

/* Icon */
.modern-faq-icon {
    width: 28px;
    height: 28px;
    background: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.modern-faq-item.active .modern-faq-icon {
    background: #336DFF;
    transform: rotate(180deg);
}

.modern-faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: #5a6a7a;
    stroke-width: 2.5;
    transition: stroke 0.3s ease;
}

.modern-faq-item.active .modern-faq-icon svg {
    stroke: #ffffff;
}

/* Answer */
.modern-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

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

.modern-faq-answer-content {
    padding: 0 24px 24px;
    color: #5a6a7a;
    font-size: 15px;
    line-height: 1.7;
}

.modern-faq-answer-content p {
    margin: 0;
}

.modern-faq-answer-content p + p {
    margin-top: 12px;
}

.modern-faq-answer-content a {
    color: #336DFF;
    text-decoration: none;
}

.modern-faq-answer-content a:hover {
    text-decoration: underline;
}

/* Help Center CTA */
.modern-faq-cta {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e8eef4;
}

.modern-faq-cta-text {
    color: #5a6a7a;
    font-size: 16px;
    margin: 0 0 20px;
}

.modern-faq-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.modern-faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 28px 56px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.modern-faq-btn-primary {
    background: #336DFF;
    color: #ffffff;
}

.modern-faq-btn-primary:hover {
    background: #2557d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 109, 255, 0.3);
}

.modern-faq-btn-secondary {
    background: #ffffff;
    color: #1a2a4a;
    border: 1px solid #d0d8e0;
}

.modern-faq-btn-secondary:hover {
    border-color: #336DFF;
    color: #336DFF;
}

.modern-faq-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-faq-section {
        padding: 60px 0 80px;
    }

    .modern-faq-header {
        margin-bottom: 36px;
    }

    .modern-faq-question {
        padding: 16px 20px;
    }

    .modern-faq-question-text {
        font-size: 15px;
    }

    .modern-faq-answer-content {
        padding: 0 20px 20px;
        font-size: 14px;
    }

    .modern-faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .modern-faq-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
