/* ===============================
   FAQ SECTION
   =============================== */

#faq {
    padding: 60px 0;
    background: transparent;
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-items: start;
}

.faq-item {
    background: rgba(13, 27, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    background: rgba(13, 27, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.faq-item.active {
    background: rgba(13, 27, 42, 0.7);
    border-color: rgba(0, 212, 126, 0.35);
    box-shadow: 0 4px 20px rgba(0, 212, 126, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
}



.faq-question h3 {
    flex: 1;
    font-size: 15.5px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.35s ease;
    min-width: 24px;
    text-align: center;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #00d47e;
}

.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: 400px;
    padding: 0 20px 18px 20px;
    opacity: 1;
}

.faq-answer p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Tablet styles */
@media (max-width: 1024px) {
    .faq-list {
        max-width: 900px;
        gap: 10px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    #faq {
        padding: 50px 0;
    }

    .faq-list {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .faq-question {
        padding: 16px 18px;
        gap: 10px;
    }



    .faq-question h3 {
        font-size: 14.5px;
    }

    .faq-toggle {
        font-size: 22px;
        min-width: 22px;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 16px 18px;
    }

    .faq-answer p {
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    #faq {
        padding: 40px 0;
    }

    .faq-list {
        gap: 8px;
    }

    .faq-question {
        padding: 14px 16px;
        gap: 8px;
    }



    .faq-question h3 {
        font-size: 14px;
    }

    .faq-toggle {
        font-size: 20px;
        min-width: 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 14px 16px;
    }

    .faq-answer p {
        font-size: 13px;
        line-height: 1.65;
    }
}