/* =========================================
   FAQ Component
   Accordion-style FAQ lists for product pages
   ========================================= */

/* FAQ List Container */
.faq-list {
    max-width: 100%;
    margin: 0 auto;
}

.faq-list--centered {
    max-width: 1000px;
    margin: 0 auto;
}

/* FAQ Item (Accordion Item) */
.faq-item {
    background: #1e293b;
    /* Dark background from Design System */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    /* Radius medium */
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    border-color: rgba(255, 80, 0, 0.3);
}

.faq-item.active {
    border-color: rgba(255, 80, 0, 0.5);
}

/* FAQ Question (Header/Trigger) */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    /* Body large */
    font-weight: 700;
    /* Bold */
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

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

.faq-question span {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Orange dot indicator */
.faq-question span::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5000;
    /* Primary orange */
    box-shadow: 0 0 10px #ff5000, 0 0 20px rgba(255, 80, 0, 0.4);
    flex-shrink: 0;
}

/* FAQ Icon (Chevron) */
.faq-icon {
    transition: transform 0.3s ease;
    color: #475569;
    /* Text secondary */
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #ff5000;
    /* Primary orange */
}

/* FAQ Answer (Content) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    /* Large enough for content */
}

.faq-answer-content {
    padding: 0 32px 32px 32px;
    color: #cbd5e1;
    /* Light text on dark bg */
    font-size: 15px;
    /* Body standard */
    line-height: 1.7;
}

.faq-answer-content p {
    margin-bottom: 16px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.faq-answer-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    /* Body small */
    color: #94a3b8;
    /* Text muted */
}

.faq-answer-content ul li::before {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff5000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-top: 2px;
}

/* FAQ Answer List (used in product pages functional modules) */
.faq-answer__list {
    list-style: disc;
    padding: 0 32px 32px 52px;
    /* Design System: 32px padding inline */
    color: #94a3b8;
    /* Text muted */
    margin: 0;
}

.faq-answer__list li {
    margin-bottom: 8px;
    /* 8px scale */
    font-size: 15px;
    line-height: 1.6;
}

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

    .faq-answer-content {
        padding: 0 24px 24px 24px;
    }

    .faq-answer__list {
        padding: 0 24px 24px 40px;
    }
}