/* FAQ Styles */
.faq-section {
    padding: 4rem 0;
    background: var(--color-light);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-search {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.faq-search i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-category-btn i {
    font-size: 1.2em;
}

/* Category-specific colors */
.category-bio { background: var(--color-bio); color: white; }
.category-health { background: var(--color-health); color: white; }
.category-durability { background: var(--color-durability); color: white; }
.category-investment { background: var(--color-investment); color: white; }
.category-services { background: var(--color-services); color: white; }
.category-warranty { background: var(--color-warranty); color: white; }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.faq-question:hover {
    background: rgba(0,0,0,0.02);
}

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

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

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

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
}

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

.faq-cta {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.faq-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Feedback system */
.faq-feedback {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.feedback-btn {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-btn:hover {
    background: #f5f5f5;
}

/* Dark mode styles */
[data-theme="dark"] .faq-item {
    background: var(--color-dark);
}

[data-theme="dark"] .faq-question:hover {
    background: rgba(255,255,255,0.05);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-category-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Custom color variables */
:root {
    --color-bio: #2c5530;
    --color-health: #4caf50;
    --color-durability: #795548;
    --color-investment: #ffc107;
    --color-services: #2196f3;
    --color-warranty: #607d8b;
}
