/* FAQ Section */

.faq-section {
    background: linear-gradient(135deg, #0a0a0f 0%, #0f0a15 50%, #0a0a0f 100%);
    padding: 80px var(--spacing-lg) !important;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    z-index: 0;
}

.faq-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 5vw, 3rem);
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #a855f7);
    border-radius: 2px;
}

.faq-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-2xl);
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out;
}

/* FAQ List - 2 column grid */
.faq-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto var(--spacing-2xl);
}

/* FAQ Item */
.faq-item {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all var(--transition-slow);
    position: relative;
    animation: slideUp 0.8s ease-out both;
    cursor: pointer;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }
.faq-item:nth-child(7) { animation-delay: 0.35s; }
.faq-item:nth-child(8) { animation-delay: 0.4s; }

.faq-item:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.15);
    transform: translateY(-4px);
}

/* FAQ Question */
.faq-question {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    transition: color var(--transition-base);
}

.faq-question::after {
    content: '+';
    color: #a855f7;
    font-size: 1.5rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform var(--transition-base), color var(--transition-base);
}

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

.faq-item:hover .faq-question {
    color: #a855f7;
}

/* FAQ Answer */
.faq-answer {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    margin-top: var(--spacing-lg);
}

/* FAQ Footer Text */
.faq-footer {
    text-align: center;
    max-width: 900px;
    margin: var(--spacing-2xl) auto 0;
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.faq-footer strong {
    color: #ffffff;
    font-weight: 700;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px var(--spacing-md) !important;
    }

    .faq-list {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .faq-item {
        padding: var(--spacing-lg);
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-question::after {
        font-size: 1.25rem;
    }
}
