/* FAQ Page Styles */

/* Hero */
.faq-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.faq-subtitle {
    font-size: 1rem;
    color: #64748b;
    letter-spacing: 0.1em;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0 120px;
}

/* Category Navigation */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.faq-category {
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-category:hover {
    color: #6366f1;
    border-color: #6366f1;
}

.faq-category.active {
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
}

/* FAQ List */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Item */
.faq-item {
    margin-bottom: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Question */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #1a1a2e;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: #6366f1;
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: #6366f1;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer li {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 8px;
}

.faq-answer a {
    color: #6366f1;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #4f46e5;
}

/* CTA */
.faq-cta {
    max-width: 600px;
    margin: 80px auto 0;
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
}

.faq-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.faq-cta p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 24px;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-hero {
        padding: 100px 0 40px;
    }

    .faq-title {
        font-size: 1.875rem;
    }

    .faq-section {
        padding: 40px 0 80px;
    }

    .faq-categories {
        gap: 8px;
        margin-bottom: 32px;
    }

    .faq-category {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.9375rem;
    }

    .faq-item.open .faq-answer {
        padding: 0 20px 20px;
    }

    .faq-cta {
        margin: 48px auto 0;
        padding: 32px 24px;
    }

    .faq-cta h2 {
        font-size: 1.25rem;
    }
}
