/* FAQ Page CSS */

.faq-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    padding: 120px 0 80px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.faq-search {
    max-width: 600px;
    margin: 0 auto 60px;
}

.faq-search-input {
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: #a78bfa;
    background: rgba(255, 255, 255, 0.08);
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

.faq-category {
    margin-bottom: 48px;
}

.category-title {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(167, 139, 250, 0.3);
}

.faq-item {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(167, 139, 250, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: #a78bfa;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    color: #a78bfa;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 80px;
    padding: 48px;
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 16px;
}

.faq-cta h3 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.faq-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Hide items that don't match search */
.faq-item.hidden {
    display: none;
}

.faq-category.hidden {
    display: none;
}

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

    .faq-header h1 {
        font-size: 32px;
    }

    .faq-subtitle {
        font-size: 16px;
    }

    .category-title {
        font-size: 24px;
    }

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

    .faq-answer p {
        font-size: 15px;
    }

    .faq-cta {
        padding: 32px 24px;
    }

    .faq-cta h3 {
        font-size: 24px;
    }
}
