/* ============================================================
   FAQ SECTION - GLASSMORPHISM DESIGN
   Premium accordion with purple brand colors
   ============================================================ */

.faq-section {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(135deg,
            #0a0612 0%,
            #1a0a2e 50%,
            #0f0520 100%);
    overflow: hidden;
}

/* Gradient Overlays for Depth */
.faq-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.15) 0%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            rgba(192, 132, 252, 0.1) 0%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

/* FAQ Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================================
   FAQ INTRO (Left Side)
   ============================================================ */

.faq-intro {
    position: sticky;
    top: 120px;
    align-self: start;
}

.faq-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    color: #c084fc;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.faq-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1rem;
}

.faq-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* CTA Button */
.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    background: rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    color: #c084fc;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(192, 132, 252, 0.2),
            transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

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

.faq-cta-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* ============================================================
   FAQ ACCORDION (Right Side)
   ============================================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

/* Question Button */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.faq-question span {
    flex: 1;
}

/* Plus/Minus Icon */
.faq-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    color: #c084fc;
    transition: all 0.3s ease;
    stroke-width: 3;
}

.faq-icon line {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Active State - Rotate Icon to make X */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #e9d5ff;
    stroke-width: 3;
}

.faq-item.active .faq-icon-horizontal {
    opacity: 0;
    transform: scale(0);
}

.faq-item.active .faq-question {
    color: #c084fc;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.4);
}

/* Answer Panel */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    /* max-height handled by JS */
    padding: 0 1.75rem 2rem;
    opacity: 1;
}

.faq-answer p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 0.5rem 0;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 968px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-intro {
        position: static;
        text-align: center;
    }

    .faq-label {
        margin: 0 auto 1.5rem;
    }

    .faq-cta-btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 6rem 1.5rem;
    }

    .faq-title {
        font-size: 2.5rem;
    }

    .faq-grid {
        gap: 2.5rem;
    }

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

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.75rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 5rem 1rem;
    }

    .faq-title {
        font-size: 2rem;
    }

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

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        gap: 1rem;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.5rem;
    }

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