/* FAQ Section Base */
.faq-section {
    padding: 6rem 0;
    background-color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.faq-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
}

/* FAQ Layout */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* FAQ Card */
.faq-card {
    background-color: #fcfcfc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.faq-card:hover {
    background-color: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* FAQ Question Header */
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

.faq-question:focus {
    outline: none;
}

.faq-question:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #3b82f6;
    transition: all 0.3s ease;
    margin-left: 1rem;
    font-size: 1.25rem;
}

.faq-card.open .faq-icon {
    background-color: #3b82f6;
    color: #ffffff;
    transform: rotate(180deg);
}

/* FAQ Answer Content */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card.open .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer {
    overflow: hidden;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
}

/* Support Block Overlay */
.faq-support-block {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e2e8f0;
}

.faq-support-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.faq-support-text {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.faq-btn-support {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: #1a1a2e;
    color: #ffffff;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.faq-btn-support:hover {
    background-color: #2e2e48;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .faq-grid {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }
    
    .faq-header {
        margin-bottom: 3rem;
    }
    
    .faq-title {
        font-size: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1.05rem;
    }
    
    .faq-answer-inner {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
    
    .faq-support-block {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
