@keyframes organicFloat {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-3px, -5px); }
    50% { transform: translate(4px, -2px); }
    75% { transform: translate(2px, 5px); }
    100% { transform: translate(0, 0); }
}

@keyframes fadePaneIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-section {
    margin-top: -20px;
    padding: 40px 60px;
    background-color: #ffffff;
    position: relative;
}

.faq-layout-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

.faq-sidebar {
    position: sticky;
    top: 120px;
}

.faq-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.faq-filter-list {
    margin-top: -16px;
    display: grid;
    grid-template-columns: 120px 120px;
    gap: 14px;
}

.faq-filter-btn {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%);
    color: #cc0000;
    border: none;
    border-radius: 20px;
    padding: 8px 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.70rem;
    transition: all 0.3s ease;
    animation: organicFloat 6s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.05);
    text-align: center;
    line-height: 1.2;
}

.faq-filter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.15);
}

.faq-filter-btn.active {
    background: linear-gradient(135deg, #e60000 0%, #990000 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.25);
    animation: none;
    transform: scale(1.02);
}

.faq-filter-btn:nth-child(1) { animation-delay: 0s; }
.faq-filter-btn:nth-child(2) { animation-delay: -1.5s; animation-duration: 7s; }
.faq-filter-btn:nth-child(3) { animation-delay: -3s; animation-duration: 5.5s; }
.faq-filter-btn:nth-child(4) { animation-delay: -4.5s; animation-duration: 6.5s; }

.faq-content-area {
    display: flex;
    flex-direction: column;
}

.faq-action-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.faq-expand-btn {
    background: #f4f6f8;
    color: #555555;
    border: 1px solid #e5e7eb;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-expand-btn:hover {
    background: #e5e7eb;
    color: #1a1a1a;
}

.faq-tab-pane {
    display: none;
}

.faq-tab-pane.active {
    display: block;
    animation: fadePaneIn 0.5s ease forwards;
}

.faq-accordion-item {
    border-bottom: 1px solid #f0f0f0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 25px 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #e60000;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 400;
    color: #e60000;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.faq-accordion-item.active .faq-question {
    color: #e60000;
}

.faq-accordion-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.faq-accordion-item.active .faq-answer {
    max-height: 800px;
    opacity: 1;
    padding: 0 0 30px 0;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.7;
    margin: 0;
    max-width: 90%;
}

@media (max-width: 992px) {
    .faq-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-sidebar {
        position: relative;
        top: 0;
        text-align: center;
    }

    .faq-filter-list {
        max-width: 500px;
        margin: 0 auto;
    }

    .faq-main-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .faq-action-bar {
        justify-content: center;
    }

    .faq-answer p {
        max-width: 100%;
    }
}