:root {
    --brand-primary: #6CC195;
    --brand-primary-light: #8fd4af;
    --brand-primary-dark: #4da878;
    --brand-primary-darker: #3d9665;
    --brand-gradient: linear-gradient(135deg, #6CC195 0%, #4da878 50%, #3d9665 100%);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-accent: #f0fdf4;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 2px 8px rgba(108, 193, 149, 0.08);
    --shadow-md: 0 4px 20px rgba(108, 193, 149, 0.12);
    --shadow-lg: 0 8px 40px rgba(108, 193, 149, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Hero Banner Section ===== */
.faq-hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.faq-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.faq-hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(108, 193, 149, 0.1) 0%, rgba(77, 168, 120, 0.05) 100%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.faq-hero-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(108, 193, 149, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(108, 193, 149, 0.1) 0%, transparent 50%);
}

.faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.faq-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    max-width: 800px;
}

.faq-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.faq-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* ===== Search Box in Hero ===== */
.faq-search-container {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

.faq-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 4px 4px 4px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.faq-search-box:focus-within {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(108, 193, 149, 0.3);
}

.faq-search-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    outline: none;
}

.faq-search-input::placeholder {
    font-family: 'Poppins', sans-serif;
    color: var(--text-muted);
    font-weight: 400;
}

.faq-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--brand-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(108, 193, 149, 0.4);
}

.faq-search-clear {
    position: absolute;
    right: 52px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.faq-search-clear.visible {
    display: flex;
}

.faq-search-clear:hover {
    background: rgba(0, 0, 0, 0.12);
    color: var(--text-secondary);
}

/* Search Results Count */
.faq-search-results {
    display: none;
    margin-top: 14px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.faq-search-results.visible {
    display: inline-block;
}

.faq-search-results strong {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-weight: 600;
}

/* ===== Main FAQ Content ===== */
.faq-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px 100px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

/* ===== Sidebar Categories ===== */
.faq-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.faq-sidebar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
    padding-left: 14px;
}

.faq-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-category-item {
    margin-bottom: 2px;
}

.faq-category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    position: relative;
}

.faq-category-btn:hover {
    background: var(--bg-accent);
    color: var(--text-primary);
}

.faq-category-btn.active {
    background: rgba(108, 193, 149, 0.12);
    color: var(--brand-primary-darker);
    font-weight: 600;
}

.faq-category-btn.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: var(--brand-gradient);
    border-radius: 0 3px 3px 0;
}

.faq-category-icon {
    width: 16px;
    height: 16px;
    opacity: 0.65;
    flex-shrink: 0;
}

.faq-category-btn.active .faq-category-icon {
    opacity: 1;
}

.faq-category-count {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-primary);
    padding: 2px 7px;
    border-radius: 100px;
}

.faq-category-btn.active .faq-category-count {
    background: rgba(108, 193, 149, 0.2);
    color: var(--brand-primary-darker);
}

/* ===== FAQ Content Area ===== */
.faq-content {
    min-width: 0;
}

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

.faq-section:last-of-type {
    margin-bottom: 0;
}

.faq-section.hidden {
    display: none;
}

.faq-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border-light);
}

.faq-section-icon {
    width: 40px;
    height: 40px;
    background: rgba(108, 193, 149, 0.1);
    border: 1px solid rgba(108, 193, 149, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary-dark);
    flex-shrink: 0;
}

.faq-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.hidden {
    display: none;
}

.faq-item:hover {
    border-color: rgba(108, 193, 149, 0.4);
    box-shadow: var(--shadow-sm);
}

.faq-item.open {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

.faq-item.highlight {
    border-color: var(--brand-primary);
    background: var(--bg-accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    line-height: 1.5;
}

.faq-question:hover {
    color: var(--brand-primary-dark);
}

.faq-item.open .faq-question {
    color: var(--brand-primary-dark);
}

.faq-toggle-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-toggle-icon svg {
    width: 12px;
    height: 12px;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item.open .faq-toggle-icon {
    background: var(--brand-primary);
    transform: rotate(180deg);
}

.faq-item.open .faq-toggle-icon svg {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
    max-height: 800px;
}

.faq-answer-inner {
    padding: 0 20px 20px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.75;
}

.faq-answer-inner p {
    margin-bottom: 12px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner strong {
    color: var(--text-primary);
    font-weight: 600;
}

.faq-answer-inner a {
    color: var(--brand-primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.faq-answer-inner a:hover {
    text-decoration: underline;
}

.faq-answer-inner ul {
    margin: 12px 0;
    padding-left: 0;
    list-style: none;
}

.faq-answer-inner li {
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.faq-answer-inner li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background: var(--brand-primary);
    border-radius: 50%;
}

.faq-answer-inner code {
    background: var(--bg-accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 12px;
    color: var(--brand-primary-darker);
}

/* Search highlight */
.faq-highlight {
    background: rgba(108, 193, 149, 0.3);
    padding: 1px 2px;
    border-radius: 2px;
}

/* No Results Message */
.faq-no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.faq-no-results.visible {
    display: block;
}

.faq-no-results-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--text-muted);
    opacity: 0.5;
}

.faq-no-results-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-no-results-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.faq-no-results-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.faq-no-results-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary-dark);
}

/* ===== Contact CTA Section ===== */
.faq-contact {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #e8f5ed 100%);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    text-align: center;
    margin-top: 44px;
    border: 1px solid rgba(108, 193, 149, 0.2);
}

.faq-contact-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: white;
    box-shadow: var(--shadow-md);
}

.faq-contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-contact-desc {
    font-family: 'Poppins', sans-serif;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    line-height: 1.6;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--brand-gradient);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.faq-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .faq-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 24px 70px;
    }

    .faq-sidebar {
        position: relative;
        top: 0;
    }

    .faq-category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .faq-category-item {
        margin-bottom: 0;
    }

    .faq-category-btn {
        padding: 8px 14px;
        white-space: nowrap;
        border: 1px solid var(--border-color);
        border-radius: 100px;
        font-size: 12px;
    }

    .faq-category-btn.active {
        border-color: var(--brand-primary);
    }

    .faq-category-btn.active::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        min-height: 320px;
    }

    .faq-hero-content {
        padding: 36px 20px;
    }

    .faq-search-box {
        padding: 3px 3px 3px 16px;
    }

    .faq-search-input {
        padding: 8px 10px;
        font-size: 13px;
    }

    .faq-search-btn {
        width: 34px;
        height: 34px;
    }

    .faq-search-clear {
        right: 46px;
        width: 20px;
        height: 20px;
    }

    .faq-main {
        padding: 28px 16px 60px;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 13px;
    }

    .faq-answer-inner {
        padding: 0 16px 16px;
        font-size: 12px;
    }

    .faq-contact {
        padding: 32px 20px;
    }

    .faq-contact-title {
        font-size: 18px;
    }
}

