/* ==================== FAQ HERO ==================== */
.faq-hero {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #a855f7 100%);
    color: white;
    padding: 50px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.faq-hero::before {
    content: '?';
    position: absolute;
    font-size: 400px;
    opacity: 0.05;
    top: -100px;
    right: -50px;
    font-weight: 900;
    line-height: 1;
}
.faq-hero::after {
    content: '?';
    position: absolute;
    font-size: 300px;
    opacity: 0.05;
    bottom: -100px;
    left: -30px;
    font-weight: 900;
    line-height: 1;
}

.faq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 7px 16px;
    border-radius: 22px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.faq-badge i { color: #fde047; }

.faq-hero h1 {
    font-size: 40px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 14px;
}
.faq-hero h1 .accent {
    background: linear-gradient(45deg, #fde047, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-hero p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Bar in Hero */
.faq-search-bar {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.faq-search-bar input {
    width: 100%;
    padding: 16px 18px 16px 50px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    outline: none;
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    color: #1a1a2e;
}
.faq-search-bar i {
    position: absolute;
    inset-inline-start: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c3aed;
    font-size: 18px;
}
.faq-search-bar .search-shortcut {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #f5f6fa;
    color: #888;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

/* Popular Searches */
.popular-search-tags {
    margin-top: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.popular-label {
    font-size: 12px;
    opacity: 0.85;
    margin-inline-end: 5px;
}
.search-tag {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 11px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}
.search-tag:hover {
    background: white;
    color: #7c3aed;
}

/* ==================== CATEGORIES GRID ==================== */
.faq-categories-section {
    padding: 50px 0 30px;
}

.categories-header {
    text-align: center;
    margin-bottom: 30px;
}
.categories-header h2 {
    font-size: 26px;
    margin-bottom: 8px;
}
.categories-header p {
    font-size: 14px;
    color: #666;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.category-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}
.category-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
    box-shadow: 0 15px 30px rgba(124,58,237,0.15);
}
.category-card.active {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-color: #7c3aed;
}

.cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin: 0 auto 12px;
    transition: 0.3s;
}
.category-card:hover .cat-icon { transform: scale(1.15) rotate(-5deg); }

.category-card:nth-child(1) .cat-icon { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.category-card:nth-child(2) .cat-icon { background: linear-gradient(135deg, #10b981, #059669); }
.category-card:nth-child(3) .cat-icon { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.category-card:nth-child(4) .cat-icon { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.category-card:nth-child(5) .cat-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.category-card:nth-child(6) .cat-icon { background: linear-gradient(135deg, #14b8a6, #06b6d4); }

.category-card h3 {
    font-size: 13px;
    margin-bottom: 6px;
    color: #1a1a2e;
    line-height: 1.3;
}
.category-card .count {
    font-size: 11px;
    color: #888;
}

/* ==================== FAQ MAIN LAYOUT ==================== */
.faq-main-section {
    padding: 30px 0 60px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
}

/* Sidebar */
.faq-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.sidebar-block {
    background: white;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
}

.sidebar-block h3 {
    font-size: 13px;
    margin-bottom: 12px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sidebar-block h3 i { color: #7c3aed; font-size: 12px; }

.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-nav-item {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-nav-item:hover {
    background: #f8f9fc;
    color: #7c3aed;
}
.sidebar-nav-item.active {
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    color: white;
    font-weight: 500;
}
.sidebar-nav-item .nav-count {
    background: rgba(255,255,255,0.25);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.sidebar-nav-item:not(.active) .nav-count {
    background: #f0f0f0;
    color: #888;
}

/* Help Card */
.help-card-side {
    background: linear-gradient(135deg, #581c87, #7c3aed);
    color: white;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.help-card-side::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -40px;
    right: -30px;
}

.help-icon-big {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
    z-index: 2;
}

.help-card-side h4 {
    font-size: 14px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}
.help-card-side p {
    font-size: 11px;
    opacity: 0.85;
    margin-bottom: 14px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.btn-help-card {
    background: white;
    color: #7c3aed;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
    position: relative;
    z-index: 2;
}
.btn-help-card:hover { transform: translateY(-2px); }

/* ==================== FAQ CONTENT ==================== */
.faq-content {
    min-width: 0;
}

/* Mobile categories toggle */
.mobile-cat-toggle {
    display: none;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    width: 100%;
    margin-bottom: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Section Header */
.faq-section-header {
    background: white;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 18px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.section-title-block {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.section-icon-large {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.section-title-text h2 {
    font-size: 19px;
    margin-bottom: 4px;
    color: #1a1a2e;
}
.section-title-text p {
    font-size: 12px;
    color: #888;
}

.section-sort {
    display: flex;
    gap: 8px;
    align-items: center;
}
.sort-label {
    font-size: 12px;
    color: #666;
}
.sort-select-faq {
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 7px 11px;
    font-size: 12px;
    background: white;
    cursor: pointer;
    outline: none;
}

/* FAQ Items */
.faq-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item-card {
    background: white;
    border: 1.5px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s;
}
.faq-item-card:hover { border-color: #c4b5fd; }
.faq-item-card.open {
    border-color: #7c3aed;
    box-shadow: 0 10px 25px rgba(124,58,237,0.1);
}

.faq-item-header {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    user-select: none;
    transition: 0.2s;
}
.faq-item-card.open .faq-item-header {
    background: linear-gradient(90deg, #faf5ff, transparent);
    border-bottom: 1px solid #f0f0f0;
}

.faq-q-content {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.faq-q-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: 0.3s;
}
.faq-item-card.open .faq-q-icon {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
}

.faq-q-text {
    flex: 1;
    min-width: 0;
}
.faq-q-text h4 {
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 3px;
    line-height: 1.4;
}
.faq-q-text .q-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 11px;
    color: #999;
    flex-wrap: wrap;
}
.q-meta-tag {
    background: #f5f3ff;
    color: #7c3aed;
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}
.q-meta-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.faq-toggle-btn {
    width: 30px;
    height: 30px;
    background: #f8f9fc;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #7c3aed;
    font-size: 13px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.faq-item-card.open .faq-toggle-btn {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-item-card.open .faq-answer-content {
    max-height: 1000px;
}

.faq-answer-inner {
    padding: 18px 22px 22px;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}
.faq-answer-inner p {
    margin-bottom: 12px;
}
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner strong { color: #1a1a2e; }
.faq-answer-inner a { color: #7c3aed; font-weight: 500; }

.faq-answer-inner ul,
.faq-answer-inner ol {
    margin: 10px 0;
    padding-inline-start: 22px;
}
.faq-answer-inner li {
    margin-bottom: 6px;
}

/* Code block */
.faq-code {
    background: #1a1a2e;
    color: #fde047;
    padding: 12px 14px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    margin: 10px 0;
    overflow-x: auto;
}

/* Steps box */
.faq-steps {
    background: linear-gradient(135deg, #f8f9fc, #f5f3ff);
    border-inline-start: 3px solid #7c3aed;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 14px 0;
}
.faq-steps strong {
    display: block;
    margin-bottom: 8px;
    color: #581c87;
}

/* Helpful section */
.faq-helpful {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #fafbfc;
    border-radius: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 10px;
}
.helpful-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}
.helpful-buttons {
    display: flex;
    gap: 8px;
}
.btn-helpful {
    background: white;
    border: 1.5px solid #e5e7eb;
    padding: 7px 13px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}
.btn-helpful:hover {
    border-color: #7c3aed;
    color: #7c3aed;
}
.btn-helpful.active.yes {
    background: #d1fae5;
    color: #059669;
    border-color: #10b981;
}
.btn-helpful.active.no {
    background: #fee2e2;
    color: #dc2626;
    border-color: #ef4444;
}

/* Related questions */
.related-questions {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    border: 1px solid #e9d5ff;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 14px;
}
.related-questions h5 {
    font-size: 12px;
    color: #581c87;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.related-q-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.related-q {
    font-size: 12px;
    color: #7c3aed;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
    padding: 4px 0;
}
.related-q:hover { color: #581c87; text-decoration: underline; }
.related-q i { font-size: 10px; margin-inline-end: 5px; }

/* Load More */
.load-more-faq {
    background: white;
    border: 1.5px solid #e5e7eb;
    color: #555;
    padding: 13px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
}
.load-more-faq:hover {
    border-color: #7c3aed;
    color: #7c3aed;
    background: #faf5ff;
}

/* ==================== STILL NEED HELP ==================== */
.still-help-section {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #a855f7 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.still-help-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.still-help-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.still-help-content h2 {
    font-size: 30px;
    margin-bottom: 12px;
}
.still-help-content > p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

.help-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.help-option {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}
.help-option:hover {
    background: white;
    color: #7c3aed;
    transform: translateY(-3px);
}
.help-option i {
    font-size: 28px;
    color: #fde047;
    margin-bottom: 10px;
    display: block;
    transition: 0.3s;
}
.help-option:hover i { color: #7c3aed; }
.help-option h4 {
    font-size: 15px;
    margin-bottom: 4px;
}
.help-option p {
    font-size: 12px;
    opacity: 0.85;
}
.help-option:hover p { opacity: 0.7; }

.help-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-still-help {
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid;
    transition: 0.2s;
}
.btn-still-help.primary {
    background: white;
    color: #7c3aed;
    border-color: white;
}
.btn-still-help.secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: rgba(255,255,255,0.4);
}
.btn-still-help:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* ==================== NO RESULTS ==================== */
.no-results-faq {
    background: white;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 50px 20px;
    text-align: center;
    display: none;
}
.no-results-faq.show { display: block; }
.no-results-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #7c3aed;
}
.no-results-faq h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.no-results-faq p {
    font-size: 13px;
    color: #777;
    margin-bottom: 16px;
}

/* Mobile overlay */
.sidebar-overlay-faq {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

/* ============================================================ */
/* ==================== RESPONSIVE ============================ */
/* ============================================================ */

@media (max-width: 1100px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 968px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }
    
    .mobile-cat-toggle { display: flex; }
    
    .faq-sidebar {
        display: none;
        position: fixed;
        top: 0;
        inset-inline-start: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        z-index: 999;
        background: #f5f6fa;
        padding: 18px;
        box-shadow: 5px 0 25px rgba(0,0,0,0.15);
    }
    .faq-sidebar.show {
        display: block;
        animation: slideInLeft 0.3s ease;
    }
    @keyframes slideInLeft {
        from { transform: translateX(-100%); }
        to { transform: translateX(0); }
    }
    
    .help-options-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 768px) {
    .faq-hero { padding: 40px 16px 50px; }
    .faq-hero h1 { font-size: 28px; }
    .faq-hero p { font-size: 14px; }
    .faq-badge { font-size: 10px; padding: 6px 13px; }
    
    .faq-search-bar input {
        padding: 14px 16px 14px 44px;
        font-size: 13px;
    }
    .faq-search-bar i { font-size: 15px; }
    .faq-search-bar .search-shortcut { display: none; }
    
    .popular-search-tags { gap: 6px; }
    .popular-label { font-size: 11px; }
    .search-tag { font-size: 10px; padding: 4px 10px; }
    
    .faq-categories-section { padding: 35px 0 25px; }
    .categories-header h2 { font-size: 22px; }
    .categories-header p { font-size: 13px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    
    .category-card { padding: 18px 12px; }
    .cat-icon { width: 48px; height: 48px; font-size: 19px; }
    .category-card h3 { font-size: 12px; }
    .category-card .count { font-size: 10px; }
    
    .faq-main-section { padding: 20px 0 40px; }
    
    .faq-section-header {
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
    }
    .section-icon-large { width: 42px; height: 42px; font-size: 18px; }
    .section-title-text h2 { font-size: 16px; }
    .section-title-text p { font-size: 11px; }
    
    .section-sort { 
        justify-content: space-between;
        width: 100%;
    }
    .sort-select-faq { flex: 1; }
    
    .faq-item-header {
        padding: 14px 16px;
        gap: 10px;
    }
    .faq-q-content { gap: 10px; }
    .faq-q-icon { width: 32px; height: 32px; font-size: 12px; }
    .faq-q-text h4 { font-size: 13px; }
    .faq-q-text .q-meta { font-size: 10px; gap: 8px; }
    .q-meta-tag { font-size: 9px; }
    .faq-toggle-btn { width: 26px; height: 26px; font-size: 11px; }
    
    .faq-answer-inner {
        padding: 14px 16px 18px;
        font-size: 12px;
    }
    .faq-helpful { padding: 12px 14px; }
    .helpful-text { font-size: 11px; }
    .btn-helpful { font-size: 11px; padding: 6px 11px; }
    
    .related-questions { padding: 12px 14px; }
    .related-questions h5 { font-size: 11px; }
    .related-q { font-size: 11px; }
    
    .still-help-section { padding: 35px 18px; }
    .still-help-content h2 { font-size: 22px; }
    .still-help-content > p { font-size: 13px; }
    .help-option { padding: 18px 14px; }
    .help-option i { font-size: 24px; }
    .help-option h4 { font-size: 13px; }
    .help-option p { font-size: 11px; }
    
    .btn-still-help { font-size: 13px; padding: 11px 20px; }
}

@media (max-width: 576px) {
    .faq-hero { padding: 32px 14px 42px; }
    .faq-hero h1 { font-size: 22px; }
    .faq-hero p { font-size: 13px; }
    
    .faq-search-bar input {
        padding: 12px 14px 12px 40px;
        font-size: 12px;
    }
    .faq-search-bar i {
        font-size: 14px;
        inset-inline-start: 14px;
    }
    
    .faq-categories-section { padding: 25px 0 20px; }
    .categories-header { margin-bottom: 20px; }
    .categories-header h2 { font-size: 19px; }
    .categories-header p { font-size: 12px; }
    
    .category-card { padding: 14px 8px; }
    .cat-icon { width: 42px; height: 42px; font-size: 17px; margin-bottom: 9px; }
    .category-card h3 { font-size: 11px; margin-bottom: 4px; }
    .category-card .count { font-size: 9px; }
    
    .mobile-cat-toggle { padding: 11px 14px; font-size: 12px; }
    
    .faq-section-header { padding: 14px; margin-bottom: 14px; }
    .section-title-block { gap: 10px; }
    .section-icon-large { width: 38px; height: 38px; font-size: 16px; border-radius: 12px; }
    .section-title-text h2 { font-size: 15px; margin-bottom: 2px; }
    .section-title-text p { font-size: 10px; }
    .sort-label { font-size: 11px; }
    .sort-select-faq { font-size: 11px; padding: 6px 10px; }
    
    .faq-item-card { border-radius: 10px; }
    .faq-item-header { padding: 13px 14px; gap: 8px; }
    .faq-q-content { gap: 9px; }
    .faq-q-icon { 
        width: 28px; 
        height: 28px; 
        font-size: 11px;
        border-radius: 8px;
    }
    .faq-q-text h4 { font-size: 12px; margin-bottom: 2px; }
    .faq-q-text .q-meta { font-size: 9px; gap: 6px; }
    .q-meta-tag { font-size: 8px; padding: 1px 6px; }
    .faq-toggle-btn { width: 24px; height: 24px; font-size: 10px; }
    
    .faq-answer-inner {
        padding: 12px 14px 16px;
        font-size: 11px;
        line-height: 1.7;
    }
    .faq-steps { padding: 11px 14px; }
    .faq-code { font-size: 11px; padding: 10px 12px; }
    
    .faq-helpful {
        flex-direction: column;
        align-items: stretch;
        padding: 11px 13px;
    }
    .helpful-text { text-align: center; font-size: 11px; }
    .helpful-buttons { justify-content: center; }
    .btn-helpful { font-size: 10px; padding: 6px 10px; }
    
    .related-questions { padding: 11px 13px; }
    .related-questions h5 { font-size: 10px; margin-bottom: 8px; }
    .related-q { font-size: 10px; }
    
    .load-more-faq { font-size: 12px; padding: 11px; }
    
    /* Sidebar mobile */
    .sidebar-block { padding: 14px; margin-bottom: 11px; border-radius: 11px; }
    .sidebar-block h3 { font-size: 11px; margin-bottom: 10px; }
    .sidebar-nav-item { font-size: 12px; padding: 9px 11px; }
    .sidebar-nav-item .nav-count { font-size: 10px; padding: 1px 7px; }
    
    .help-card-side { padding: 16px; }
    .help-icon-big { width: 48px; height: 48px; font-size: 20px; }
    .help-card-side h4 { font-size: 13px; }
    .help-card-side p { font-size: 10px; }
    .btn-help-card { font-size: 11px; padding: 8px 14px; }
    
    .still-help-section { padding: 28px 14px; }
    .still-help-content h2 { font-size: 19px; }
    .still-help-content > p { font-size: 12px; margin-bottom: 22px; }
    .help-option { padding: 16px 13px; }
    .help-option i { font-size: 22px; margin-bottom: 8px; }
    .help-option h4 { font-size: 12px; }
    .help-option p { font-size: 10px; }
    .help-cta-buttons { flex-direction: column; }
    .btn-still-help { width: 100%; justify-content: center; }
    
    .no-results-faq { padding: 35px 18px; }
    .no-results-icon { width: 70px; height: 70px; font-size: 30px; }
    .no-results-faq h3 { font-size: 16px; }
    .no-results-faq p { font-size: 12px; }
}

@media (max-width: 420px) {
    .faq-hero h1 { font-size: 20px; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .popular-search-tags { display: none; }
}

@media (max-width: 360px) {
    .categories-grid { grid-template-columns: 1fr; }
    .category-card { 
        display: flex;
        align-items: center;
        text-align: start;
        padding: 14px;
        gap: 12px;
    }
    .cat-icon { margin: 0; width: 40px; height: 40px; }
    .category-card > div { flex: 1; min-width: 0; }
}