/* faq-section.css - SCOPED VERSION */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Scoped to .faq-section only */
.faq-section {
    font-family: 'Poppins', sans-serif;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Header */
.faq-section .faq-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.faq-section .faq-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.faq-section .faq-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6a49, #2563eb);
    border-radius: 2px;
}

.faq-section .faq-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stats Section */
.faq-section .faq-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.4rem 0;
    flex-wrap: wrap;
}

.faq-section .stat-item {
    text-align: center;
    padding: .8rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.66);
    min-width: 120px;
    transition: transform 0.3s ease;
    border: 1px solid #000000;
}

.faq-section .stat-item:hover {
    transform: translateY(-5px);
}

.faq-section .stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #bd2402, #0031e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.faq-section .stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Accordion Container */
.faq-section .accordion-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Individual Accordion */
.faq-section .accordion {
    border-bottom: 1px solid #000;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.faq-section .accordion:last-child {
    border-bottom: none;
}

.faq-section .accordion.open {
    background: linear-gradient(135deg, #fff8f8 0%, #f8f9ff 100%);
}

/* Accordion Header */
.faq-section .accordion-header {
    padding: 1rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-section .accordion:hover .accordion-header {
    background: #fffaf8;
}

.faq-section .accordion.open .accordion-header {
    background: linear-gradient(90deg, #fff8f8, #ffffff);
    border-left: 4px solid #ff6a49;
}

.faq-section .accordion-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    flex: 1;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-section .accordion-icon {
    color: #ff6a49;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    min-width: 20px;
}

.faq-section .accordion.open .accordion-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

.faq-section .accordion-number {
    display: inline-block;
    background: #ff6a49;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 10px;
    flex-shrink: 0;
}

.faq-section .accordion.open .accordion-number {
    background: #2563eb;
}

/* Accordion Content */
.faq-section .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.faq-section .accordion.open .accordion-content {
    max-height: 1000px;
}

.faq-section .content-wrapper {
    padding: 0 1.5rem 1.5rem;
}

.faq-section .accordion-answer {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-section .accordion-answer em {
    color: #ff6a49;
    font-style: italic;
    font-weight: 500;
}

.faq-section .accordion-answer strong {
    color: #2563eb;
    font-weight: 600;
}

/* Feature Highlights */
.faq-section .feature-highlights {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff8f8 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 106, 73, 0.1);
}

.faq-section .feature-highlights h4 {
    color: #222;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-section .feature-highlights h4 i {
    color: #ff6a49;
}

.faq-section .highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-section .highlight-list li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.faq-section .highlight-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #25D366;
    font-weight: bold;
}

/* Support Info */
.faq-section .support-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e8f4ff 0%, #f0ffe8 100%);
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.faq-section .support-info p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-section .support-info i {
    color: #25D366;
    font-size: 1.2rem;
}

.faq-section .support-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.faq-section .support-link:hover {
    color: #ff6a49;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .faq-section {
        max-width: 800px;
    }
    
    .faq-section .faq-header h2 {
        font-size: 1.8rem;
    }
    
    .faq-section .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-section .faq-stats {
        gap: 1rem;
    }
    
    .faq-section .stat-item {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .faq-section .stat-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 0 0.5rem;
        margin: 1rem auto;
    }
    
    .faq-section .faq-header {
        margin-bottom: 2rem;
    }
    
    .faq-section .faq-header h2 {
        font-size: 1.6rem;
        padding-bottom: 10px;
    }
    
    .faq-section .faq-header h2::after {
        width: 60px;
    }
    
    .faq-section .accordion-header {
        padding: 1rem;
    }
    
    .faq-section .accordion-title {
        font-size: 1rem;
    }
    
    .faq-section .accordion-number {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 0.8rem;
    }
    
    .faq-section .content-wrapper {
        padding: 0 1rem 1rem;
    }
    
    .faq-section .accordion-answer {
        font-size: 0.95rem;
        padding: 0.8rem;
    }
    
    .faq-section .faq-stats {
        display: flex;
        gap: 2rem;
        margin: 1.4rem 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-section .faq-header h2 {
        font-size: 1.4rem;
    }
    
    .faq-section .faq-subtitle {
        font-size: 0.95rem;
    }
    
    .faq-section .faq-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 1.4rem 0;
    }
    
    .faq-section .stat-item {
        width: calc(50% - 0.5rem);
        min-width: auto;
        padding: 0.5rem;
    }
    
    .faq-section .stat-number {
        font-size: 1.4rem;
    }
    
    .faq-section .stat-label {
        font-size: 0.8rem;
    }
    
    .faq-section .accordion-title {
        font-size: 0.95rem;
    }
    
    .faq-section .accordion-icon {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .faq-section .faq-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-section .stat-item {
        width: 100%;
        max-width: 200px;
    }
}