/* ==========================================
   FAQ PAGE STYLES
   ========================================== */

:root {
    --faq-bg: #f8f9fa;
    --faq-card-bg: #ffffff;
    --faq-border: #e5e7eb;
    --faq-text: #111827;
    --faq-text-muted: #4b5563;
    --faq-primary: #1a56db;
}

/* ==========================================
   FAQ HERO
   ========================================== */

.faq-hero {
    position: relative;
    padding: calc(64px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    background: #f8f9fa;
    overflow: hidden;
}

.faq-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(26, 86, 219, 0.04) 0%, transparent 50%),
        linear-gradient(225deg, rgba(26, 86, 219, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.faq-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    color: #1a56db;
}

.faq-subtitle {
    color: #4b5563;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

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

.faq-section {
    padding: var(--spacing-3xl) 0;
    background: #ffffff;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================
   FAQ ITEM
   ========================================== */

.faq-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: var(--spacing-sm) 0;
    position: relative;
}

.faq-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #1a56db 0%, rgba(26, 86, 219, 0.3) 100%);
}

.faq-item:last-child::after {
    display: none;
}

.faq-item:hover .faq-question {
    color: #1a56db;
}

.faq-item.active .faq-question {
    color: #1a56db;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    transition: all var(--transition);
}

.faq-question:hover {
    color: #1a56db;
}

.faq-icon {
    flex-shrink: 0;
    margin-left: var(--spacing-md);
    transition: transform var(--transition);
    color: #1a56db;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

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

.faq-answer p {
    padding: var(--spacing-sm) 0 var(--spacing-lg) var(--spacing-lg);
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .faq-hero {
        padding: calc(64px + var(--spacing-xl)) 0 var(--spacing-xl);
    }
    
    .faq-question {
        padding: var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 0 var(--spacing-md) var(--spacing-md);
        font-size: 0.9rem;
    }
}
