/* Theme 4 Luxury FAQ Styling */

.t4-faq-page {
    padding: 48px 0 80px 0;
    background-color: #f8fafc;
    min-height: 85vh;
}

/* Hero Section */
.t4-faq-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
}

.t4-faq-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.t4-faq-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(132, 204, 22, 0.15);
    border: 1px solid rgba(132, 204, 22, 0.3);
    color: #84cc16;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 16px;
}

.t4-faq-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    letter-spacing: 2px;
    line-height: 1.05;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.t4-faq-hero-sub {
    font-size: 16px;
    color: #94a3b8;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Controls: Search & Filters */
.t4-faq-controls {
    max-width: 860px;
    margin: 0 auto 36px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.t4-faq-search-box {
    position: relative;
    width: 100%;
}

.t4-faq-search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
}

.t4-faq-search-box input {
    width: 100%;
    padding: 16px 48px 16px 52px;
    font-size: 15px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    color: #0f172a;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.t4-faq-search-box input:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

#t4FaqSearchClear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

#t4FaqSearchClear:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Category Filter Pills */
.t4-faq-filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.t4-faq-pill {
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t4-faq-pill:hover {
    border-color: #0f172a;
    color: #0f172a;
}

.t4-faq-pill.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* FAQ Accordion List */
.t4-faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t4-faq-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25 ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.t4-faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.t4-faq-item.active {
    border-color: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.t4-faq-header-btn {
    width: 100%;
    padding: 22px 24px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.t4-faq-q-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    flex: 1;
}

.t4-faq-tag {
    padding: 4px 10px;
    background: #f1f5f9;
    color: #475569;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border-radius: 6px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.t4-faq-question-text {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.t4-faq-toggle-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.t4-faq-item.active .t4-faq-toggle-icon {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: rotate(45deg);
}

.t4-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.t4-faq-item.active .t4-faq-body {
    opacity: 1;
}

.t4-faq-content {
    padding: 0 24px 24px 24px;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
    padding-top: 18px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.t4-faq-content p {
    margin: 0;
}

/* Empty Search Results */
.t4-faq-empty {
    text-align: center;
    padding: 60px 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    max-width: 860px;
    margin: 0 auto;
}

.t4-faq-empty-icon {
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px auto;
}

.t4-faq-empty h3 {
    font-size: 18px;
    color: #0f172a;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.t4-faq-empty p {
    color: #64748b;
    font-size: 14.5px;
    margin: 0;
}

/* Help Box Card */
.t4-faq-help-card {
    max-width: 860px;
    margin: 48px auto 0 auto;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.t4-faq-help-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.t4-faq-help-info p {
    font-size: 14.5px;
    color: #94a3b8;
    margin: 0;
}

.t4-faq-help-btn {
    padding: 13px 26px;
    background: #84cc16;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.t4-faq-help-btn:hover {
    background: #a3e635;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.3);
    color: #0f172a;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .t4-faq-page {
        padding: 24px 0 60px 0;
    }

    .t4-faq-hero {
        padding: 40px 20px;
        border-radius: 16px;
        margin-bottom: 28px;
    }

    .t4-faq-hero-title {
        font-size: 36px;
    }

    .t4-faq-hero-sub {
        font-size: 14px;
    }

    .t4-faq-header-btn {
        padding: 16px 18px;
    }

    .t4-faq-question-text {
        font-size: 14.5px;
    }

    .t4-faq-content {
        padding: 0 18px 18px 18px;
        font-size: 14px;
    }

    .t4-faq-help-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }

    .t4-faq-help-btn {
        width: 100%;
        justify-content: center;
    }
}
