/* ═══════════════════════════════════════════════════════════════════
   FAQ Modern - Premium Dark Section
   Elegant Accordion with Smooth Animations
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   Main Section
   ═══════════════════════════════════════════════════════════════════ */

.faq-modern {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Background Pattern */
.faq-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 30%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    z-index: 1;
}

/* Decorative Elements */
.faq-deco {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.faq-deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.faq-deco-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.faq-deco-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.faq-modern .container {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════
   Section Header
   ═══════════════════════════════════════════════════════════════════ */

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.faq-header-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.faq-header-title span {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ Container
   ═══════════════════════════════════════════════════════════════════ */

.faq-container-modern {
    max-width: 900px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ Item
   ═══════════════════════════════════════════════════════════════════ */

.faq-item-modern {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item-modern:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item-modern.active {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Question */
.faq-question-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question-modern:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.faq-question-icon {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    flex-shrink: 0;
    transition: all 0.3s;
}

.faq-item-modern.active .faq-question-icon {
    background: var(--secondary-color);
    color: #0f172a;
}

.faq-question-text h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

.faq-toggle-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    transition: all 0.4s;
}

.faq-item-modern.active .faq-toggle-icon {
    background: var(--secondary-color);
    color: #0f172a;
    transform: rotate(45deg);
}

/* Answer */
.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item-modern.active .faq-answer-modern {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 25px 85px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.8;
}

.faq-answer-content p {
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .faq-modern {
        padding: 80px 0;
    }

    .faq-question-modern {
        padding: 18px 20px;
    }

    .faq-question-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .faq-question-text h4 {
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }

    .faq-deco-circle {
        display: none;
    }
}

@media (max-width: 576px) {
    .faq-question-text {
        gap: 12px;
    }

    .faq-toggle-icon {
        width: 30px;
        height: 30px;
    }
}