
.faq-list-container {
    min-height: 100vh;
    background: var(--bg);
}

/* Header */
.faq-header {
    background: linear-gradient(135deg, var(--accent2) 0%, var(--blue) 100%);
    color: white;
    padding: 3rem 2rem;
}

.faq-header-content h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.faq-header-content .mid-heading {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Controls */
.faq-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-search form {
    position: relative;
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
}

.faq-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 1;
}

.faq-search input {
    flex: 1;
    border: none;
    padding: 12px 20px 12px 50px;
    font-size: 16px;
    outline: none;
}

.faq-search button {
    background: var(--accent4);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-weight: 600;
}

.faq-filter select {
    padding: 12px 20px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    background: transparent;
    color: white;
    font-size: 14px;
    cursor: pointer;
    min-width: 200px;
}

.faq-filter select option {
    background: var(--accent2);
    color: white;
}

/* Content Layout */
.faq-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.faq-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

/* Sidebar */
.faq-sidebar h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.category-list {
    list-style: none;
    margin-bottom: 2rem;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: var(--text);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.category-list li.active a {
    background: var(--primary);
    color: var(--text-dark);
    border-left-color: var(--accent4);
}

.category-list a:hover {
    background: var(--primary);
    color: var(--text-dark);
}

.faq-count {
    background: var(--accent4);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.quick-help-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--primary);
}

.quick-help-card h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.quick-help-card p {
    color: var(--text);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.help-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent4);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.help-button:hover {
    background: #b8490e;
    color: white;
}

/* FAQ Items */
.faq-main {
    min-height: 500px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--primary);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent4);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.audience-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 1rem 1rem 0;
}

.audience-badge.vendors {
    background: var(--accent1);
    color: var(--text-dark);
}

.audience-badge.customers {
    background: var(--accent4);
    color: white;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(198, 180, 155, 0.1);
}

.question-text {
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
    margin-right: 1rem;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

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

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

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

.answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text);
    line-height: 1.6;
}

.faq-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--primary);
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.7;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.reset-button {
    background: var(--accent4);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.reset-button:hover {
    background: #b8490e;
}

/* CTA Section */
.faq-cta {
    background: var(--card-bg);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-content h2 {
    color: var(--text);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--accent4);
    color: white;
}

.cta-button.primary:hover {
    background: #b8490e;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 968px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-sidebar {
        order: 2;
    }
    
    .faq-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .faq-header {
        padding: 2rem 1rem;
    }
    
    .faq-content {
        padding: 1rem;
    }
    
    .faq-controls {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .faq-filter select {
        min-width: 100%;
    }
    
    .category-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .faq-header-content h1 {
        font-size: 1.8rem;
    }
}
