/* --- FAQ KNOWLEDGE BASE DESIGN --- */
main .section:first-child { padding-top: 180px; }

.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: start; }

/* Sidebar Filter */
.faq-sidebar { background: var(--glass-bg); padding: 30px 20px; border-radius: 25px; border: 1px solid var(--glass-border); backdrop-filter: blur(15px); position: sticky; top: 120px; }
.cat-btn { display: flex; align-items: center; gap: 15px; width: 100%; background: transparent; border: none; color: var(--text-muted); font-size: 1rem; font-weight: 500; padding: 15px 20px; border-radius: 15px; cursor: pointer; transition: 0.3s; text-align: left; }
.cat-btn i { font-size: 1.2rem; transition: 0.3s; width: 25px; text-align: center; }
.cat-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.cat-btn.active { background: rgba(255, 106, 0, 0.1); color: var(--primary); font-weight: 700; border-left: 3px solid var(--primary); }

/* Accordion Area */
.faq-list { display: flex; flex-direction: column; gap: 15px; min-height: 50vh;}
.faq-item { background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-radius: 20px; transition: 0.4s; overflow: hidden; }
.faq-item:hover { border-color: rgba(255, 106, 0, 0.3); background: rgba(255,255,255,0.05); }
.faq-question { padding: 25px 30px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; font-weight: 600; color: #fff; transition: 0.3s; }
.faq-toggle { font-size: 1.2rem; color: var(--primary); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out, padding 0.5s ease; padding: 0 30px; color: var(--text-muted); line-height: 1.7; font-size: 1rem; opacity: 0; }

.faq-item.active { border-color: var(--primary); background: rgba(255, 106, 0, 0.05); box-shadow: 0 10px 30px rgba(255,106,0,0.1); }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 25px; opacity: 1; }
.faq-item.active .faq-toggle { transform: rotate(180deg); }
.faq-item.active .faq-question { color: var(--primary); }

.category-title { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; }

.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) { 
    .faq-layout { grid-template-columns: 1fr; gap: 30px; }
    .faq-sidebar { position: relative; top: 0; padding: 15px; display: flex; overflow-x: auto; white-space: nowrap; border-radius: 15px; }
    .faq-sidebar::-webkit-scrollbar { display: none; }
    .cat-btn { width: auto; padding: 10px 20px; border-left: none; border-bottom: 3px solid transparent; border-radius: 10px; }
    .cat-btn.active { border-left: none; border-bottom: 3px solid var(--primary); }
}
@media (max-width: 768px) {
    main .section:first-child { padding-top: 120px; }
    .faq-question { padding: 20px; font-size: 1.05rem; }
    .faq-answer { padding: 0 20px; }
}