:root {
    --bg: #28282B;
    --text: #FAF9F6;
    --gold: #E5CA83;
    --gold-deep: #BC9554;
    --grad-gold: linear-gradient(110deg, rgba(175, 132, 69, 1) 0%, rgba(232, 201, 136, 1) 33%, rgba(229, 202, 131, 1) 66%, rgba(175, 132, 69, 1) 100%);
    --grad-gold-text: linear-gradient(100deg, #BC9554 0%, #E9CE8B 45%, #E5CA83 60%, #C09A5C 100%);
    --border: rgba(255, 255, 255, 0.15);
    --btn-bg: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.faqs-hero {
    text-align: center;
    padding: 60px 20px 10px;
}

.faqs-hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;
}

.faqs-hero p {
    font-size: 14px;
    color: #DEDEDE;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faqs-filters-wrapper {
    margin: 20px auto 60px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.faqs-filters-wrapper::-webkit-scrollbar {
    display: none;
}

.faqs-filters {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

@media (min-width: 768px) {
    .faqs-filters {
        justify-content: center;
    }
}

.faqs-filters button {
    background: #222224;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    padding: 15px 50px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.faqs-filters button:hover {
    border-color: var(--gold);
}

.faqs-filters button.active {
    background: var(--gold);
    color: #24201A;
    border-color: var(--gold);
}

.faqs-container {
    margin-bottom: 100px;
}

.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    background: linear-gradient(90deg, #AF8445 0%, #E8C988 34%, #E5CA83 67%, #AF8445 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 26px;
    margin-bottom: 30px;
}

.faq-item {
    border-top: 1px solid var(--border);
    padding: 25px 0;
    cursor: pointer;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--border);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 20px;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    user-select: none;
    margin: 0;
    line-height: 1.4;
    padding-top: 2px;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d4d4d4;
    color: var(--bg);
    flex-shrink: 0;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.icon-close {
    display: none;
}

.faq-item.active .icon-plus {
    display: none;
}

.faq-item.active .icon-close {
    display: block;
}

.faq-item.active .faq-icon {
    background: #d4d4d4;
}

.faq-answer {
    display: none;
    font-size: 13px;
    color: #DEDEDE;
    line-height: 1.7;
    padding-right: 20px;
}

/* Active State */
.faq-item.active .faq-grid {
    grid-template-columns: 1fr 1fr auto;
    gap: 40px;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-item.active .faq-grid {
        grid-template-columns: 1fr auto;
        gap: 15px;
    }
    .faq-item.active .faq-question {
        grid-column: 1;
        grid-row: 1;
    }
    .faq-item.active .faq-icon-col {
        grid-column: 2;
        grid-row: 1;
    }
    .faq-item.active .faq-answer {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-right: 0;
    }
}
