/* ===================================
   FAQ SECTION
   =================================== */

.faq {
    background: var(--bg-darker);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.faq--modern {
    isolation: isolate;
}

.faq--modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.24) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.faq--modern::after {
    content: '';
    position: absolute;
    width: min(100%, 520px);
    height: 220px;
    top: 25%;
    left: -5%;
    background: radial-gradient(ellipse 70% 70% at 20% 50%, rgba(255, 215, 0, 0.07) 0%, transparent 75%);
    filter: blur(36px);
    pointer-events: none;
    z-index: 0;
}

.faq__inner {
    position: relative;
    z-index: 1;
}

.faq--modern .section-header {
    text-align: center;
}

.faq-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 16px 0;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl, 28px);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    border-color: rgba(255, 215, 0, 0.32);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.5);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 
        0 12px 40px rgba(255, 215, 0, 0.3),
        0 2px 0 rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    gap: 20px;
}

.faq-question h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--primary);
    transform: rotate(45deg);
}

.faq-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 28px 24px 28px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.faq-answer-content p {
    margin: 0 0 12px 0;
}

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

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

.faq-answer-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.faq-answer-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--primary);
}

.faq-answer-content ol {
    margin: 12px 0;
    padding-left: 24px;
    list-style: none;
}

.faq-answer-content ol li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.faq-answer-content ol li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .faq--modern::after {
        display: none;
    }

    .faq-eyebrow {
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .faq-item,
    .faq-item:hover,
    .faq-item.active {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .faq-question {
        padding: 20px 16px;
        gap: 12px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
    
    .faq-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .faq-answer-content {
        padding: 0 16px 20px 16px;
        font-size: 15px;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .faq-answer-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .faq-answer-content ul,
    .faq-answer-content ol {
        padding-left: 20px;
    }
    
    .faq-answer-content ul li,
    .faq-answer-content ol li {
        padding-left: 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 10px;
    }
    
    .faq-item.active .faq-answer {
        max-height: 800px;
    }
}






