/* FAQ Section */
.faq-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-dark);
    position: relative;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    flex: 1;
    padding-left: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

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

.faq-answer p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Animation for opening/closing */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active .faq-answer {
    animation: fadeInDown 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-left: 15px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}