/*
 * FAQ Page — Premium Design v3.0
 * Brand: 4SIX | Dark theme + gold accent
 */

/* ══════════════════════════════════════════════════════════════
   PAGE-LEVEL OVERRIDES
══════════════════════════════════════════════════════════════ */

/* Dark background for the FAQ Elementor page */
.elementor-103 .e-con.e-parent,
.elementor-103 {
    background: #080c14 !important;
}

/* Hero container */
.elementor-element-1745ce0 {
    background: linear-gradient(160deg, #0d1117 0%, #0a1628 40%, #0d1117 100%) !important;
    padding: 72px 24px 0 !important;
    position: relative;
    overflow: hidden;
}

.elementor-element-1745ce0::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,184,0,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 80% 60%, rgba(16,185,129,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* "Need Help?" badge button */
.elementor-103 .link-btn .elementor-button {
    background: rgba(255,184,0,0.08) !important;
    border: 1px solid rgba(255,184,0,0.25) !important;
    color: #FFB800 !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 8px 20px !important;
    margin-bottom: 20px !important;
}

.elementor-103 .link-btn .elementor-button svg path,
.elementor-103 .link-btn .elementor-button svg circle {
    stroke: #FFB800 !important;
}

/* FAQ page H1 */
.elementor-103 h1.elementor-heading-title {
    font-size: clamp(34px, 5vw, 58px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 60%, #FFB800 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin: 0 0 16px !important;
}

/* Tagline */
.elementor-103 .faqs-section p.elementor-heading-title {
    font-size: 16px !important;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    background: none !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Main FAQ outer container */
.elementor-element-c176a40 {
    background: #080c14 !important;
    padding: 0 24px 80px !important;
}


/* ══════════════════════════════════════════════════════════════
   CATEGORY FILTER CARDS
══════════════════════════════════════════════════════════════ */

.faq-tabs-wrap {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 32px 16px 0;
}

.faq-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Each filter card */
.faq-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 14px 18px;
    background: #0d1117;
    border: 1px solid rgba(148,163,184,0.09);
    border-radius: 16px;
    color: #64748b;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,184,0,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.25s;
}

.faq-tab:hover {
    border-color: rgba(255,184,0,0.2);
    color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.faq-tab:hover::before { opacity: 1; }

.faq-tab.active {
    background: linear-gradient(135deg, #13190a 0%, #0d1117 100%);
    border-color: rgba(255,184,0,0.35);
    color: #FFB800;
    box-shadow: 0 0 0 1px rgba(255,184,0,0.15), 0 8px 32px rgba(255,184,0,0.1);
    transform: translateY(-2px);
}

.faq-tab.active::before { opacity: 1; }

/* Icon */
.faq-tab-icon {
    font-size: 26px;
    line-height: 1;
    display: block;
    transition: transform 0.25s;
}

.faq-tab:hover .faq-tab-icon,
.faq-tab.active .faq-tab-icon {
    transform: scale(1.1);
}

/* Label */
.faq-tab-label {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: inherit;
    display: block;
    max-width: 120px;
}

/* Count badge */
.faq-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 20px;
    padding: 0 8px;
    background: rgba(148,163,184,0.08);
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    transition: all 0.25s;
}

.faq-tab.active .faq-tab-count {
    background: rgba(255,184,0,0.12);
    border-color: rgba(255,184,0,0.25);
    color: #FFB800;
}

/* ══════════════════════════════════════════════════════════════
   FAQ LIST CONTAINER
══════════════════════════════════════════════════════════════ */

.faq-list-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ══════════════════════════════════════════════════════════════
   CATEGORY SECTION
══════════════════════════════════════════════════════════════ */

.faq-category-section {
    background: #0d1117;
    border: 1px solid rgba(148,163,184,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-category-section:hover {
    border-color: rgba(255,184,0,0.12);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

/* Category Header */
.faq-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(255,184,0,0.06) 0%, rgba(16,185,129,0.04) 100%);
    border-bottom: 1px solid rgba(148,163,184,0.08);
    position: relative;
    overflow: hidden;
}

.faq-category-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,184,0,0.3), transparent);
}

.faq-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,184,0,0.08);
    border: 1px solid rgba(255,184,0,0.15);
    flex-shrink: 0;
}

.faq-cat-emoji {
    font-size: 22px;
    line-height: 1;
}

.faq-category-meta {
    flex: 1;
}

.faq-category-title {
    margin: 0 0 3px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #e2e8f0 !important;
    line-height: 1.3 !important;
}

.faq-category-desc {
    font-size: 12px;
    color: #475569;
    font-weight: 400;
}

.faq-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 10px;
    background: rgba(255,184,0,0.12);
    color: #FFB800;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid rgba(255,184,0,0.2);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   FAQ ITEMS
══════════════════════════════════════════════════════════════ */

.faq-items {
    background: transparent;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Individual FAQ Item */
.faq-item {
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(148,163,184,0.07);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
    border-color: rgba(255,184,0,0.15);
}

.faq-item.faq-open {
    border-color: rgba(255,184,0,0.2);
    box-shadow: 0 4px 20px rgba(255,184,0,0.06);
    background: rgba(255,184,0,0.02);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 0.25s, background 0.25s;
    line-height: 1.5;
}

.faq-question:hover {
    color: #e2e8f0;
}

.faq-question.active {
    color: #ffffff;
}

/* Question number */
.faq-q-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(148,163,184,0.07);
    border: 1px solid rgba(148,163,184,0.1);
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    flex-shrink: 0;
    transition: all 0.25s;
}

.faq-question.active .faq-q-num {
    background: rgba(255,184,0,0.1);
    border-color: rgba(255,184,0,0.25);
    color: #FFB800;
}

.faq-question-text {
    flex: 1;
}

.faq-question.active .faq-question-text {
    color: #FFB800;
}

/* Toggle chevron */
.faq-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(148,163,184,0.05);
    border: 1px solid rgba(148,163,184,0.08);
    color: #475569;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.25s, border-color 0.25s, color 0.25s;
}

.faq-toggle-icon svg {
    width: 16px;
    height: 16px;
}

.faq-question.active .faq-toggle-icon {
    transform: rotate(180deg);
    background: rgba(255,184,0,0.1);
    border-color: rgba(255,184,0,0.25);
    color: #FFB800;
}

/* ══════════════════════════════════════════════════════════════
   FAQ ANSWER
══════════════════════════════════════════════════════════════ */

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

.faq-item.faq-open .faq-answer {
    border-top: 1px solid rgba(255,184,0,0.1);
}

.faq-answer-content {
    padding: 20px 20px 22px 36px;
    color: #94a3b8;
    font-size: 14.5px;
    line-height: 1.75;
    position: relative;
}

.faq-answer-content::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, rgba(255,184,0,0.4) 0%, rgba(255,184,0,0.05) 100%);
    border-radius: 2px;
}

.faq-answer-content p {
    margin: 0 0 14px;
}

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

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer-content li {
    margin-bottom: 8px;
    color: #94a3b8;
}

.faq-answer-content li::marker {
    color: #FFB800;
}

.faq-answer-content strong {
    color: #e2e8f0;
    font-weight: 600;
}

.faq-answer-content a {
    color: #FFB800;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,184,0,0.3);
    transition: border-color 0.2s, color 0.2s;
}

.faq-answer-content a:hover {
    color: #ffd060;
    border-color: rgba(255,184,0,0.7);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .faq-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .elementor-element-1745ce0 {
        padding: 52px 16px 0 !important;
    }

    .faq-search-wrap,
    .faq-list-container {
        padding: 0 8px;
    }

    .faq-tabs-wrap {
        padding: 24px 8px 0;
        margin-bottom: 24px;
    }

    .faq-tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .faq-tab {
        padding: 16px 10px 14px;
        border-radius: 12px;
        gap: 8px;
    }

    .faq-tab-icon { font-size: 22px; }
    .faq-tab-label { font-size: 11.5px; }

    .faq-category-header {
        padding: 18px 20px;
        gap: 12px;
    }

    .faq-category-icon {
        width: 42px;
        height: 42px;
    }

    .faq-cat-emoji { font-size: 20px; }

    .faq-category-title { font-size: 16px !important; }

    .faq-question {
        padding: 15px 16px;
        font-size: 14px;
        gap: 12px;
    }

    .faq-answer-content {
        padding: 16px 16px 18px 34px;
        font-size: 13.5px;
    }

    .faq-answer-content::before { left: 14px; }
}

@media (max-width: 560px) {
    .faq-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .faq-tab {
        padding: 14px 10px 12px;
        border-radius: 12px;
        gap: 7px;
    }

    .faq-tab-icon { font-size: 20px; }
    .faq-tab-label { font-size: 11px; max-width: 100%; }
}

@media (max-width: 480px) {
    .faq-category-header {
        padding: 16px;
        gap: 10px;
    }

    .faq-category-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .faq-cat-emoji { font-size: 18px; }
    .faq-category-title { font-size: 15px !important; }

    .faq-count-badge {
        min-width: 28px;
        height: 22px;
        font-size: 11px;
    }

    .faq-items { padding: 8px; gap: 5px; }

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

    .faq-q-num {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .faq-toggle-icon {
        width: 26px;
        height: 26px;
    }

    .faq-answer-content {
        padding: 14px 14px 16px 30px;
        font-size: 13px;
    }

    .faq-answer-content::before { left: 12px; }
}
@media (max-width: 390px) {
    .elementor-element-1745ce0 {
        padding: 40px 12px 0 !important;
    }

    .faq-search-wrap,
    .faq-list-container {
        padding: 0 4px;
    }

    .faq-tabs-wrap {
        padding: 20px 4px 0;
        margin-bottom: 20px;
    }

    .faq-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .faq-tab {
        padding: 12px 8px 10px;
        gap: 6px;
        border-radius: 10px;
    }

    .faq-tab-icon { font-size: 18px; }
    .faq-tab-label { font-size: 10px; }

    .faq-category-header {
        padding: 14px;
        gap: 8px;
    }

    .faq-category-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .faq-cat-emoji { font-size: 16px; }
    .faq-category-title { font-size: 14px !important; }

    .faq-question {
        padding: 12px;
        font-size: 12.5px;
        gap: 8px;
    }

    .faq-q-num {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }

    .faq-toggle-icon {
        width: 24px;
        height: 24px;
    }

    .faq-answer-content {
        padding: 12px 12px 14px 28px;
        font-size: 12.5px;
    }

    .faq-answer-content::before { left: 10px; }
}
