/* ═══════════════════════════════════════════════════════════════════
   ASICX FAQ & KNOWLEDGE CENTER - 100% BULLETPROOF RESPONSIVE STYLES
   Guaranteed Zero Horizontal Overflow Across All Mobile Screens (320px+)
   Pixel-accurate implementation of media_1789086618863.png
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --faq-primary: #1877f2;
    --faq-primary-hover: #0d65d9;
    --faq-primary-light: #eff6ff;
    --faq-primary-border: #bfdbfe;
    --faq-navy: #0f172a;
    --faq-text: #334155;
    --faq-muted: #64748b;
    --faq-border: #e2e8f0;
    --faq-bg: #f8fafc;
    --faq-card-bg: #ffffff;
    --faq-success: #10b981;
    --faq-warning: #f59e0b;
}

/* Strict Global Reset for FAQ Page */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.faq-page-wrapper {
    background-color: #f8fafc;
    color: var(--faq-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

.faq-page-wrapper *,
.faq-page-wrapper *::before,
.faq-page-wrapper *::after {
    box-sizing: border-box !important;
}

.faq-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ═══════════════════════════════════════════════════════════════════
   1. HERO SECTION (Datacenter Aisle Background)
   ═══════════════════════════════════════════════════════════════════ */

.faq-hero-section {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    background-color: #081430;
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    padding: 60px 0 68px;
    color: #ffffff;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.faq-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100% !important;
    max-width: 860px !important;
    margin: 0 auto !important;
}

.faq-hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100% !important;
}

.faq-hero-eyebrow {
    display: inline-block;
    color: #38bdf8;
    font-size: 0.74rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.faq-hero-title {
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    font-weight: var(--fw-semibold);
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 14px 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.faq-hero-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0 0 28px 0;
    max-width: 620px;
    word-break: break-word;
}

/* Hero Search Bar */
.faq-hero-search-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 6px 6px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    max-width: 720px;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.faq-hero-search-box:focus-within {
    box-shadow: 0 12px 35px rgba(24, 119, 242, 0.25), 0 0 0 2px var(--faq-primary);
}

.faq-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
}

.faq-hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.98rem;
    color: #0f172a;
    background: transparent;
    padding: 8px 0;
    min-width: 0 !important;
    width: 100% !important;
}

.faq-hero-search-input::placeholder {
    color: #94a3b8;
}

.faq-hero-search-btn {
    background: var(--faq-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 11px 26px;
    font-size: 0.94rem;
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: background-color 0.15s, transform 0.1s;
    flex-shrink: 0;
    white-space: nowrap;
}

.faq-hero-search-btn:hover {
    background: var(--faq-primary-hover);
}

/* Popular Searches */
.faq-hero-popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    max-width: 100% !important;
    width: 100% !important;
}

.faq-popular-label {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: var(--fw-medium);
    margin-right: 4px;
}

.faq-popular-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f1f5f9;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    max-width: 100% !important;
}

.faq-popular-pill:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Trust Strip */
.faq-hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    color: #cbd5e1;
    font-size: 0.82rem;
    max-width: 100% !important;
    width: 100% !important;
}

.faq-trust-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
}

.faq-trust-check svg {
    color: #10b981;
    flex-shrink: 0;
}

.faq-trust-dot {
    color: #64748b;
}

/* Floating Card Top-Right */
.faq-hero-floating-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 22px 26px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    min-width: 200px;
    max-width: 100% !important;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 10px;
    box-sizing: border-box !important;
}

.faq-floating-logo {
    font-size: 1.3rem;
    font-weight: var(--fw-semibold);
    color: #0b1f3a;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.faq-floating-logo sup {
    font-size: 0.65rem;
    font-weight: var(--fw-semibold);
    color: #1877f2;
}

.faq-floating-text {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.35;
    margin: 0;
    font-weight: var(--fw-medium);
}

/* ═══════════════════════════════════════════════════════════════
   2. SECTION: Important before you buy
   ═══════════════════════════════════════════════════════════════ */

.faq-notice-section {
    padding: 44px 0 24px;
    background: #f8fafc;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.faq-section-heading {
    font-size: 1.25rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 0 0 18px 0;
    letter-spacing: -0.01em;
    word-break: break-word;
}

.faq-notice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.faq-notice-card {
    background: #ffffff;
    border: 1px solid var(--faq-border);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.faq-notice-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.08);
    transform: translateY(-2px);
}

.faq-notice-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0 !important;
    flex: 1;
}

.faq-notice-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f1f5f9;
}

.faq-notice-icon-box.icon-blue { background: #eff6ff; color: #1877f2; }
.faq-notice-icon-box.icon-green { background: #ecfdf5; color: #10b981; }
.faq-notice-icon-box.icon-amber { background: #fffbeb; color: #f59e0b; }

.faq-notice-text-box {
    min-width: 0 !important;
    flex: 1;
}

.faq-notice-text-box h3 {
    font-size: 0.9rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 0 0 4px 0;
    line-height: 1.3;
    word-break: break-word;
}

.faq-notice-text-box p {
    font-size: 0.76rem;
    color: var(--faq-muted);
    line-height: 1.45;
    margin: 0;
    word-break: break-word;
}

.faq-notice-arrow {
    color: #94a3b8;
    font-size: 1.25rem;
    font-weight: var(--fw-regular);
    align-self: center;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
    flex-shrink: 0;
}

.faq-notice-card:hover .faq-notice-arrow {
    color: var(--faq-primary);
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════
   3. SECTION: Browse by topic
   ═══════════════════════════════════════════════════════════════ */

.faq-topics-section {
    padding: 24px 0 36px;
    background: #f8fafc;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.faq-topics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
    width: 100% !important;
}

.faq-topics-header .faq-section-heading {
    margin: 0;
}

.faq-view-all-link {
    color: var(--faq-primary);
    font-size: 0.88rem;
    font-weight: var(--fw-semibold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s, color 0.2s;
    white-space: nowrap;
}

.faq-view-all-link:hover {
    color: var(--faq-primary-hover);
    gap: 8px;
}

.faq-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.faq-topic-card {
    background: #ffffff;
    border: 1px solid var(--faq-border);
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    text-align: left;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.faq-topic-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.09);
    transform: translateY(-2px);
}

.faq-topic-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.faq-topic-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faq-primary);
    flex-shrink: 0;
}

.faq-topic-arrow {
    color: #94a3b8;
    font-size: 1.25rem;
    font-weight: var(--fw-regular);
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}

.faq-topic-card:hover .faq-topic-arrow {
    color: var(--faq-primary);
    transform: translateX(3px);
}

.faq-topic-mid {
    min-width: 0 !important;
    width: 100%;
}

.faq-topic-mid h3 {
    font-size: 0.96rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 8px 0 5px 0;
    word-break: break-word;
}

.faq-topic-mid p {
    font-size: 0.78rem;
    color: var(--faq-muted);
    line-height: 1.45;
    margin: 0;
    word-break: break-word;
}

.faq-topic-count {
    font-size: 0.84rem;
    color: var(--faq-primary);
    font-weight: var(--fw-semibold);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   4. SECTION: KNOWLEDGE CENTER (2 Columns)
   ═══════════════════════════════════════════════════════════════ */

.faq-knowledge-section {
    padding: 32px 0 56px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    scroll-margin-top: 80px;
}

.faq-knowledge-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Left Sidebar */
.faq-sidebar {
    position: sticky;
    top: 24px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.faq-sidebar-title {
    font-size: 1.15rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 0 0 14px 0;
    word-break: break-word;
}

.faq-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.faq-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: var(--fw-medium);
    color: #475569;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: all 0.15s;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.faq-nav-item:hover {
    background: #f1f5f9;
    color: var(--faq-navy);
}

.faq-nav-item.is-active {
    background: var(--faq-primary);
    color: #ffffff;
    font-weight: var(--fw-semibold);
}

.faq-nav-item.is-active .faq-nav-icon {
    color: #ffffff;
}

.faq-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
}

.faq-nav-count {
    margin-left: auto;
    font-size: 0.75rem;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: var(--fw-semibold);
    flex-shrink: 0;
}

.faq-nav-item.is-active .faq-nav-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Quick Actions */
.faq-quick-actions-title {
    font-size: 0.98rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 32px 0 12px 0;
}

.faq-quick-action-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: var(--fw-semibold);
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.15s ease;
    width: 100% !important;
    box-sizing: border-box !important;
}

.faq-quick-action-link.theme-blue {
    background: #f0f7ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}

.faq-quick-action-link.theme-blue:hover {
    background: #e0edff;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

.faq-quick-action-link.theme-green {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #dcfce7;
}

.faq-quick-action-link.theme-green:hover {
    background: #dcfce7;
    border-color: #bbf7d0;
    transform: translateY(-1px);
}

/* Right Content Area */
.faq-content-area {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.faq-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
    width: 100% !important;
}

.faq-toolbar-left {
    min-width: 0 !important;
    flex: 1;
}

.faq-toolbar-left h2 {
    font-size: 1.45rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 0 0 4px 0;
    letter-spacing: -0.015em;
    word-break: break-word;
}

.faq-toolbar-left p {
    font-size: 0.84rem;
    color: var(--faq-muted);
    margin: 0;
    word-break: break-word;
}

.faq-toolbar-left p:empty {
    display: none;
}

.faq-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.faq-toggle-all-btn {
    background: #ffffff;
    border: 1px solid var(--faq-border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.82rem;
    color: #475569;
    font-weight: var(--fw-semibold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    outline: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.faq-toggle-all-btn:hover {
    border-color: var(--faq-primary);
    color: var(--faq-primary);
    background: var(--faq-primary-light);
}

.faq-toggle-all-btn svg {
    transition: transform 0.25s ease;
}

.faq-toggle-all-btn.is-expanded svg {
    transform: rotate(180deg);
}

.faq-within-search {
    background: #ffffff;
    border: 1px solid var(--faq-border);
    border-radius: 8px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box !important;
}

.faq-within-search:focus-within {
    border-color: var(--faq-primary);
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15);
}

.faq-within-search input {
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 0.82rem;
    color: #0f172a;
    width: 175px;
    background: transparent;
    min-width: 0 !important;
}

.faq-within-search input::placeholder {
    color: #94a3b8;
}

/* Accordion FAQs List */
.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1px solid var(--faq-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.faq-accordion-item:hover {
    border-color: #cbd5e1;
}

.faq-accordion-item.is-open {
    border-color: #bfdbfe;
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.06);
}

.faq-accordion-header {
    width: 100% !important;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.faq-accordion-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0 !important;
}

.faq-number-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--faq-primary-light);
    color: var(--faq-primary);
    font-weight: var(--fw-semibold);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-accordion-header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    min-width: 0 !important;
}

.faq-topic-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-primary);
    background: var(--faq-primary-light);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.faq-accordion-question {
    font-size: 0.95rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    line-height: 1.4;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.faq-chevron-icon {
    color: var(--faq-primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    align-self: center;
}

.faq-accordion-item.is-open .faq-chevron-icon {
    transform: rotate(180deg);
}

.faq-accordion-body {
    display: none;
    padding: 0 20px 22px 66px;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.65;
    animation: faqFadeIn 0.25s ease;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-accordion-item.is-open .faq-accordion-body {
    display: block;
}

.faq-accordion-body p {
    margin: 0 0 10px 0;
    word-break: break-word;
}

.faq-accordion-body a {
    color: var(--faq-primary);
    text-decoration: underline;
    font-weight: var(--fw-semibold);
    word-break: break-all;
}

.faq-accordion-body a:hover {
    color: var(--faq-primary-hover);
}

.faq-accordion-body strong {
    color: var(--faq-navy);
}

.faq-accordion-body ul, .faq-accordion-body ol {
    margin: 8px 0 12px 18px;
    padding: 0;
}

.faq-accordion-body li {
    margin-bottom: 6px;
    word-break: break-word;
}

/* Empty State */
.faq-empty-state {
    text-align: center;
    padding: 44px 24px;
    background: #ffffff;
    border: 1px dashed var(--faq-border);
    border-radius: 12px;
    width: 100% !important;
    box-sizing: border-box !important;
}

.faq-empty-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.faq-empty-state h3 {
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 0 0 6px 0;
}

.faq-empty-state p {
    font-size: 0.85rem;
    color: var(--faq-muted);
    margin: 0 0 16px 0;
}

.faq-reset-btn {
    background: var(--faq-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 0.84rem;
    font-weight: var(--fw-semibold);
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   5. SECTION: "Popular resources"
   ═══════════════════════════════════════════════════════════════ */

.faq-resources-section {
    padding: 20px 0 44px;
    background: #f8fafc;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.faq-resources-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.faq-resource-card {
    background: #ffffff;
    border: 1px solid var(--faq-border);
    border-radius: 12px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.faq-resource-card:nth-child(1) { background: #f0f9ff; border-color: #bae6fd; }
.faq-resource-card:nth-child(1) .faq-resource-icon { color: #0284c7; }

.faq-resource-card:nth-child(2) { background: #f0fdf4; border-color: #bbf7d0; }
.faq-resource-card:nth-child(2) .faq-resource-icon { color: #059669; }

.faq-resource-card:nth-child(3) { background: #f8fafc; border-color: #cbd5e1; }
.faq-resource-card:nth-child(3) .faq-resource-icon { color: #475569; }

.faq-resource-card:nth-child(4) { background: #f5f3ff; border-color: #ddd6fe; }
.faq-resource-card:nth-child(4) .faq-resource-icon { color: #6366f1; }

.faq-resource-card:nth-child(5) { background: #eff6ff; border-color: #bfdbfe; }
.faq-resource-card:nth-child(5) .faq-resource-icon { color: #2563eb; }

.faq-resource-card:nth-child(6) { background: #f0fdfa; border-color: #99f6e4; }
.faq-resource-card:nth-child(6) .faq-resource-icon { color: #0d9488; }

.faq-resource-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.08);
    transform: translateY(-2px);
}

.faq-resource-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.faq-resource-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faq-primary);
    flex-shrink: 0;
}

.faq-resource-arrow {
    color: #94a3b8;
    font-size: 1.25rem;
    font-weight: var(--fw-regular);
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}

.faq-resource-card:hover .faq-resource-arrow {
    color: var(--faq-primary);
    transform: translateX(3px);
}

.faq-resource-bottom {
    min-width: 0 !important;
    width: 100%;
}

.faq-resource-bottom h4 {
    font-size: 0.88rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 4px 0 4px 0;
    word-break: break-word;
}

.faq-resource-bottom p {
    font-size: 0.74rem;
    color: var(--faq-muted);
    line-height: 1.4;
    margin: 0;
    word-break: break-word;
}

/* ═══════════════════════════════════════════════════════════════
   6. SECTION: Still need help? Support Banner
   ═══════════════════════════════════════════════════════════════ */

.faq-support-section {
    padding: 0 0 64px;
    background: #f8fafc;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.faq-support-box {
    background: #ffffff;
    border: 1px solid var(--faq-border);
    border-radius: 14px;
    padding: 32px 36px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.faq-support-left {
    min-width: 0 !important;
}

.faq-support-left h2 {
    font-size: 1.55rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.faq-support-left p {
    font-size: 0.84rem;
    color: var(--faq-muted);
    line-height: 1.5;
    margin: 0;
    word-break: break-word;
}

.faq-support-middle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    min-width: 0 !important;
    width: 100% !important;
}

.faq-support-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background-color 0.15s;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.faq-support-option:hover {
    background: #f8fafc;
}

.faq-option-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faq-primary);
    margin-bottom: 2px;
    flex-shrink: 0;
}

.faq-option-title {
    font-size: 0.88rem;
    font-weight: var(--fw-semibold);
    color: var(--faq-navy);
    margin: 0;
    word-break: break-word;
}

.faq-option-desc {
    font-size: 0.76rem;
    color: var(--faq-muted);
    margin: 0;
    line-height: 1.35;
    word-break: break-word;
}

.faq-support-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 0 !important;
}

.faq-support-btn {
    background: var(--faq-primary);
    color: #ffffff !important;
    font-weight: var(--fw-semibold);
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background-color 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.28);
    box-sizing: border-box !important;
    max-width: 100% !important;
}

.faq-support-btn:hover {
    background: var(--faq-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.35);
}

.faq-support-sla {
    font-size: 0.74rem;
    color: var(--faq-muted);
    text-align: center;
    margin: 0;
    word-break: break-word;
}

/* ═══════════════════════════════════════════════════════════════
   STRICT RESPONSIVE BREAKPOINTS (Tablet & Mobile)
   Guaranteed Zero Horizontal Overflow Across All Devices
   ═══════════════════════════════════════════════════════════════ */

/* Large Tablet / Small Laptop */
@media (max-width: 1140px) {
    .faq-notice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .faq-topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .faq-resources-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .faq-support-box {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 24px;
    }
    .faq-support-right {
        align-items: flex-start;
    }
}

/* Standard Tablet & Mobile Landscape (<= 900px) */
@media (max-width: 900px) {
    .faq-container {
        padding: 0 16px !important;
    }
    .faq-hero-content {
        flex-direction: column;
        gap: 24px;
    }
    .faq-hero-floating-card {
        align-self: flex-start;
        width: 100% !important;
        max-width: 320px;
    }
    .faq-knowledge-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px;
    }
    .faq-sidebar {
        position: static;
        width: 100% !important;
        overflow: hidden !important;
    }
    .faq-nav-list {
        flex-direction: row;
        overflow-x: auto !important;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100% !important;
        max-width: 100% !important;
    }
    .faq-nav-list::-webkit-scrollbar {
        display: none;
    }
    .faq-nav-item {
        white-space: nowrap;
        width: auto !important;
        flex: 0 0 auto;
    }
    .faq-quick-actions-box {
        display: none;
    }
    .faq-accordion-body {
        padding: 0 18px 18px 18px;
    }
    .faq-support-middle {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
    .faq-hero-search-box,
    .faq-hero-popular-searches {
        display: none !important;
    }
    .faq-notice-grid {
        grid-template-columns: 1fr !important;
    }
    .faq-topics-grid {
        grid-template-columns: 1fr !important;
    }
    .faq-resources-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .faq-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .faq-toolbar-right {
        flex-direction: column;
        align-items: stretch;
        width: 100% !important;
        gap: 8px;
    }
    .faq-toggle-all-btn {
        width: 100% !important;
        justify-content: center;
    }
    .faq-within-search {
        width: 100% !important;
    }
    .faq-within-search input {
        width: 100% !important;
    }
    .faq-support-btn {
        width: 100% !important;
    }
}

/* Small Mobile Phones (<= 540px) */
@media (max-width: 540px) {
    .faq-container {
        padding: 0 14px !important;
    }
    .faq-hero-section {
        padding: 36px 0 44px;
    }
    .faq-hero-title {
        font-size: 1.85rem;
    }
    .faq-hero-subtitle {
        font-size: 0.90rem;
        margin-bottom: 18px;
    }
    
    /* Search box stacks cleanly on mobile */
    .faq-hero-search-box {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 12px;
        gap: 10px;
    }
    .faq-hero-search-input {
        width: 100% !important;
        padding: 4px 0;
    }
    .faq-hero-search-btn {
        width: 100% !important;
        padding: 11px;
        text-align: center;
    }

    .faq-hero-floating-card {
        max-width: 100% !important;
    }

    .faq-resources-grid {
        grid-template-columns: 1fr !important;
    }

    /* Accordion touch optimization */
    .faq-accordion-header {
        padding: 14px 12px;
        gap: 10px;
    }
    .faq-accordion-left {
        gap: 10px;
    }
    .faq-number-badge {
        width: 26px;
        height: 26px;
        font-size: 0.78rem;
    }
    .faq-accordion-question {
        font-size: 0.88rem;
    }
    .faq-accordion-body {
        padding: 0 12px 16px 12px !important;
        font-size: 0.84rem;
    }
    
    .faq-support-box {
        padding: 20px 16px;
    }
}