/* ========================================
   FAQ SECTION STYLES
   SSS - Accordion Design
   ======================================== */

/* ===== SECTION WRAPPER ===== */
.faq-section {
    padding: 100px 0;
    position: relative;
}

/* ===== SECTION HEADER ===== */
.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #E91E63;
    margin-bottom: 20px;
}

.faq-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== FAQ ACCORDION ===== */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== FAQ ITEM ===== */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(233, 30, 99, 0.2);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(233, 30, 99, 0.3);
}

/* ===== FAQ QUESTION ===== */
.faq-question {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    padding-left: 32px;
}

.faq-question-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question-text {
    color: #E91E63;
}

/* ===== FAQ ICON ===== */
.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(233, 30, 99, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.faq-icon i {
    font-size: 16px;
    color: #E91E63;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    background: rgba(233, 30, 99, 0.15);
}

.faq-item.active .faq-icon i {
    transform: rotate(180deg);
}

/* ===== FAQ ANSWER ===== */
.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;
    font-size: 16px;
    line-height: 1.7;
    color: #9ca3af;
}

/* ===== LIGHT MODE ===== */
body.light-mode .faq-section {
    background: #ffffff;
}

body.light-mode .faq-title {
    color: #E91E63;
}

body.light-mode .faq-subtitle {
    color: #4b5563;
}

body.light-mode .faq-item {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-mode .faq-item:hover {
    background: #fafafa;
    border-color: rgba(233, 30, 99, 0.2);
}

body.light-mode .faq-item.active {
    background: #fafafa;
    border-color: rgba(233, 30, 99, 0.3);
}

body.light-mode .faq-question-text {
    color: #1d1d1f;
}

body.light-mode .faq-item.active .faq-question-text {
    color: #E91E63;
}

body.light-mode .faq-icon {
    background: rgba(233, 30, 99, 0.08);
}

body.light-mode .faq-item.active .faq-icon {
    background: rgba(233, 30, 99, 0.12);
}

body.light-mode .faq-answer-content {
    color: #4b5563;
}

/* ===== RESPONSIVE ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .faq-section {
        padding: 80px 0;
    }
    
    .faq-title {
        font-size: 36px;
    }
    
    .faq-subtitle {
        font-size: 16px;
    }
    
    .faq-accordion {
        padding: 0 20px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-header {
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .faq-title {
        font-size: 28px;
    }
    
    .faq-subtitle {
        font-size: 15px;
    }
    
    .faq-question {
        padding: 20px 20px;
    }
    
    .faq-question:hover {
        padding-left: 24px;
    }
    
    .faq-question-text {
        font-size: 16px;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
        margin-left: 12px;
    }
    
    .faq-icon i {
        font-size: 14px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 15px;
    }
}

/* ===== ANIMATIONS ===== */
.faq-item {
    animation: fadeInUp 0.5s ease-out backwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
.faq-question:focus {
    outline: 2px solid #E91E63;
    outline-offset: 2px;
}
