/* css/q-a.css */
/* ========== Q&A SECTION STYLES ========= */
.faq-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #0a0e17 0%, #050811 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 221, 101, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(142, 89, 255, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

.container-faq {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff, #ffdd88);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0 0 1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FFDD65, #FF49C0);
    border-radius: 4px;
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #a0aec0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 221, 101, 0.15);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.faq-item:hover {
    border-color: rgba(255, 221, 101, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.faq-question {
    padding: 1.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 221, 101, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f0f3f8;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 221, 101, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FFDD65;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(255, 221, 101, 0.2);
}

.faq-answer {
    padding: 0 2rem 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem 2rem;
    max-height: 500px;
}

.faq-answer p {
    color: #cbd5e6;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1rem;
    }
    
    .faq-question {
        padding: 1.4rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Animation for FAQ items */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
