/* FAQ Section Styles */
.faq {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: shimmer 2s infinite;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.faq-header h2 {
    font-size: 3rem;
    color: var(--light-text);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.faq-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.faq-subtitle {
    color: var(--gray-text);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 166, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.faq-item:hover::before {
    transform: translateX(100%);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.question-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.question-icon {
    font-size: 1.5rem;
    background: rgba(255, 0, 166, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.question-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.question-arrow i {
    color: var(--gray-text);
    transition: all 0.3s ease;
}

.faq-item.active .question-arrow {
    background: var(--primary-color);
}

.faq-item.active .question-arrow i {
    color: var(--dark-bg);
    transform: rotate(180deg);
}

.faq-item.active .question-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Adjusted for potentially longer answers */
    opacity: 1;
}

.answer-content {
    padding: 0 24px 24px;
    color: var(--gray-text);
    line-height: 1.6;
}

.answer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.helpful-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.helpful-count i {
    color: var(--primary-color);
}

.helpful-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.helpful-btn:disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    border-color: var(--gray-text);
    cursor: not-allowed;
}

/* Animations */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    .faq-header h2 {
        font-size: 2.5rem;
    }
    .faq-subtitle {
        font-size: 1rem;
    }
    .faq-question {
        padding: 20px;
    }
    .question-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    .question-text {
        font-size: 1rem;
    }
    .answer-content {
        padding: 0 20px 20px;
    }
    .answer-meta {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 2rem;
    }
    .faq-question {
        padding: 16px;
    }
    .question-content {
        gap: 12px;
    }
    .question-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .question-text {
        font-size: 0.95rem;
    }
} 