/* ============================================
   Lynxbe Header Component - Namespaced CSS
   All styles scoped to .lxb-header
   No global styles - everything is namespaced
   ============================================ */

/* ============================================
   GLOBAL LIGHT THEME FALLBACK (IMPORTANT)
   --------------------------------------------
   Many landing pages intentionally do NOT load `css/styles.min.css`,
   which contains the site-wide light-theme base layer.
   When the user has `lynxbe_theme=light` saved, the header switches to
   light colors (dark text), but the page may remain in dark styling.
   This fallback ensures ALL pages that include this navbar have a
   functional light theme baseline (background + common CSS variables),
   and prevents "black header" readability issues.
   ============================================ */

.light-theme {
    color-scheme: light;
    /* Common design-system tokens used across landing page styles */
    --bg-primary: #ffffff;
    --bg-secondary: #F6F6F6;
    --bg-tertiary: #ffffff;
    --text-primary: rgba(10, 10, 10, 0.92);
    --text-secondary: rgba(0, 0, 0, 0.65);
    --text-tertiary: rgba(0, 0, 0, 0.5);
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(0, 0, 0, 0.08);
}

.light-theme body {
    background: var(--bg-primary, #ffffff) !important;
    background-color: var(--bg-primary, #ffffff) !important;
    color: var(--text-primary, rgba(10, 10, 10, 0.92));
}

/* ============================================
   CSS Variables (scoped to header)
   ============================================ */

   .lxb-header {
    --lxb-nav-text: rgba(245, 246, 248, 0.98);
    --lxb-nav-text-hover: rgba(255, 255, 255, 1);
    --lxb-bg-primary: rgba(6, 10, 18, 0.96);
    --lxb-bg-secondary: rgba(10, 16, 30, 0.94);
    --lxb-border-color: rgba(82, 120, 196, 0.18);
    --lxb-dropdown-bg: rgba(5, 10, 22, 0.985);
    --lxb-mobile-menu-bg: rgba(6, 12, 26, 0.97);
}

.light-theme .lxb-header {
    --lxb-nav-text: rgba(17, 17, 17, 0.95);
    --lxb-nav-text-hover: rgba(0, 0, 0, 1);
    --lxb-bg-primary: rgba(255, 255, 255, 0.98);
    --lxb-bg-secondary: rgba(255, 255, 255, 0.95);
    --lxb-border-color: rgba(0, 0, 0, 0.1);
    --lxb-dropdown-bg: rgba(255, 255, 255, 0.98);
    --lxb-mobile-menu-bg: rgba(255, 255, 255, 0.98);
    /* Ensure readable header on pages that previously stayed "dark" */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


.lxb-nav-link.lxb-active {
    /* color: var(--lxb-nav-text-hover); */
    /* background: rgba(125, 128, 255, 0.15); */
}

/* ============================================
   Base Header Styles
   ============================================ */
.lxb-header {
    position: relative;
    height: 200px;
    
    padding: 0px 0px 0px 0px;
    width: 100%;
    z-index: 1000;
    background: radial-gradient(circle at 50% 0, rgba(61, 126, 255, .15) 0, rgba(61, 126, 255, 0) 70%);
}

/* ============================================
   SEO Breadcrumb
   ============================================ */
.lxb-seo-breadcrumb {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 20px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.lxb-seo-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.lxb-seo-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.lxb-breadcrumb-separator {
    margin: 0 8px;
    opacity: 0.4;
}

.light-theme .lxb-seo-breadcrumb {
    color: rgba(0, 0, 0, 0.5);
}

.light-theme .lxb-seo-breadcrumb a {
    color: rgba(0, 0, 0, 0.6);
}

.light-theme .lxb-seo-breadcrumb a:hover {
    color: rgba(0, 0, 0, 0.9);
}

html[dir="rtl"] .lxb-seo-breadcrumb {
    direction: rtl;
    text-align: right;
}

/* ============================================
   Header Container
   ============================================ */
.lxb-header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0;
    width: 100%;
    position: relative;
    overflow: visible !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Logo
   ============================================ */
.lxb-logo {
    grid-column: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
    margin-right: 0 !important;
    margin-top: -10px !important;
    margin-left: -60px !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
    min-width: 65px;
    width: auto;
    text-decoration: none;
}

.lxb-logo-img,
#lxb-tracking-logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
    max-width: none !important;
}

.lxb-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   Main Navigation
   ============================================ */
.lxb-main-nav {
    grid-column: 2;
    justify-self: center;
    margin-top: 30px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    z-index: 1;
    white-space: nowrap;
}

.lxb-nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lxb-nav-item {
    position: relative;
    margin: 0;
}

.lxb-nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--lxb-nav-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.lxb-nav-link:hover {
    color: var(--lxb-nav-text-hover);
    background: rgba(255, 255, 255, 0.05);
}

.lxb-nav-link.lxb-active {
    /* color: var(--lxb-nav-text-hover); */
    /* background: rgba(125, 128, 255, 0.15); */
}

.light-theme .lxb-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.light-theme .lxb-nav-link.lxb-active {
    background: rgba(125, 128, 255, 0.1);
}

/* ============================================
   Dropdown Navigation
   ============================================ */
.lxb-nav-dropdown {
    position: relative;
}

.lxb-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--lxb-nav-text);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    font-family: inherit;
}

.lxb-dropdown-toggle:hover {
    color: var(--lxb-nav-text-hover);
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 8px;
    border: 1px solid var(--lxb-border-color);
    background: rgba(125, 128, 255, 0.15);
    color: var(--lxb-nav-text-hover);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(125, 128, 255, 0.15);
    color: var(--lxb-nav-text-hover);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lxb-dropdown-toggle[aria-expanded="true"] {
    color: var(--lxb-nav-text-hover);
    background: rgba(125, 128, 255, 0.15);
    padding: 10px 20px;
    margin-right: 20px;
    margin-left: 20px;
    border-radius: 8px;
    border: 1px solid var(--lxb-border-color);
    background: rgba(125, 128, 255, 0.15);
    color: var(--lxb-nav-text-hover);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.light-theme .lxb-dropdown-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.light-theme .lxb-dropdown-toggle[aria-expanded="true"] {
    background: rgba(125, 128, 255, 0.1);
}

.lxb-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.lxb-nav-dropdown[aria-expanded="true"] .lxb-dropdown-arrow {
    transform: rotate(180deg);
}

.lxb-dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(calc(-50% + var(--lxb-dropdown-shift, 0px))) translateY(-10px);
    background: var(--lxb-dropdown-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--lxb-border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    pointer-events: none;
    /* Invisible bridge so hover from button to panel doesn't cross a "dead" zone */
}
.lxb-dropdown-content::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 20px;
}
.lxb-nav-dropdown[aria-expanded="true"] .lxb-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(calc(-50% + var(--lxb-dropdown-shift, 0px))) translateY(0);
    pointer-events: auto;
}

.lxb-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lxb-dropdown-item {
    margin: 0;
}

.lxb-dropdown-link {
    display: block;
    padding: 10px 14px;
    color: var(--lxb-nav-text);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.lxb-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--lxb-nav-text-hover);
}

.lxb-dropdown-link.lxb-active {
    background: rgba(125, 128, 255, 0.15);
    color: var(--lxb-nav-text-hover);
}

.light-theme .lxb-dropdown-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.light-theme .lxb-dropdown-link.lxb-active {
    background: rgba(125, 128, 255, 0.1);
}

.lxb-dropdown-separator {
    height: 1px;
    background: var(--lxb-border-color);
    margin: 8px 0;
}

/* ============================================
   Mega dropdown (Our Product) – Enterprise v3
   Styles duplicated from header-mega-dropdown.css
   for pages that only load lynxbe-header.css
   ============================================ */
.lxb-dropdown-content--mega,
.lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-content {
    top: calc(100% + 18px);
    min-width: 780px;
    max-width: 960px;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.light-theme .lxb-dropdown-content--mega,
.light-theme .lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-content {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.lxb-mega { display: flex; flex-direction: column; }

/* Banner */
.lxb-mega-banner { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: linear-gradient(90deg, rgba(125, 128, 255, 0.1), rgba(99, 179, 237, 0.06)); border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; }
.light-theme .lxb-mega-banner { background: linear-gradient(90deg, rgba(125, 128, 255, 0.06), rgba(99, 179, 237, 0.03)); border-bottom-color: rgba(0, 0, 0, 0.06); }
.lxb-mega-banner-text { flex: 1; opacity: 0.7; }
.lxb-mega-banner-link { color: #7d80ff; text-decoration: none; font-weight: 600; font-size: 12px; white-space: nowrap; transition: opacity 0.15s; }
.lxb-mega-banner-link:hover { opacity: 0.8; }

/* Badges */
.lxb-mega-badge { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.02em; line-height: 18px; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.lxb-mega-badge--new { background: linear-gradient(135deg, #7d80ff, #63b3ed); color: #fff; }
.lxb-mega-badge--beta { background: rgba(251, 191, 36, 0.15); color: #f59e0b; border: 1px solid rgba(251, 191, 36, 0.25); }
.light-theme .lxb-mega-badge--beta { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.2); }

/* Grid */
.lxb-mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 6px; }
.lxb-mega-col { padding: 16px 12px 20px; min-width: 0; border-radius: 12px; }
.lxb-mega-col:hover { background: rgba(255, 255, 255, 0.015); }
.light-theme .lxb-mega-col:hover { background: rgba(0, 0, 0, 0.01); }

/* Heading */
.lxb-mega-heading { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.65; margin: 0 0 12px 8px; padding: 0; line-height: 1; user-select: none; }
html[dir="rtl"] .lxb-mega-heading { margin: 0 8px 12px 0; }

/* Heading colored icons */
.lxb-mega-heading-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; }
.lxb-mega-heading-icon svg { width: 13px; height: 13px; stroke-width: 2.2; }

.lxb-mega-heading-icon--purple { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
.lxb-mega-heading-icon--purple svg { stroke: #7c3aed; }

.lxb-mega-heading-icon--green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.lxb-mega-heading-icon--green svg { stroke: #10b981; }

.lxb-mega-heading-icon--blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.lxb-mega-heading-icon--blue svg { stroke: #3b82f6; }

.light-theme .lxb-mega-heading-icon--purple { background: rgba(124, 58, 237, 0.1); }
.light-theme .lxb-mega-heading-icon--green { background: rgba(16, 185, 129, 0.1); }
.light-theme .lxb-mega-heading-icon--blue { background: rgba(59, 130, 246, 0.1); }

/* Item */
.lxb-mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 8px; border-radius: 10px; text-decoration: none; color: inherit; transition: background 0.18s ease, transform 0.18s ease; cursor: pointer; }
.lxb-mega-item:hover { background: rgba(255, 255, 255, 0.06); transform: translateX(2px); }
html[dir="rtl"] .lxb-mega-item:hover { transform: translateX(-2px); }
.light-theme .lxb-mega-item:hover { background: rgba(0, 0, 0, 0.035); }

/* Icon */
.lxb-mega-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; transition: all 0.18s ease; margin-top: 1px; }
.light-theme .lxb-mega-icon { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.06); }
.lxb-mega-icon svg { width: 18px; height: 18px; stroke: currentColor; opacity: 0.6; transition: opacity 0.18s, stroke 0.18s; }
.lxb-mega-item:hover .lxb-mega-icon { background: rgba(125, 128, 255, 0.14); border-color: rgba(125, 128, 255, 0.2); transform: scale(1.08); }
.lxb-mega-item:hover .lxb-mega-icon svg { opacity: 1; stroke: #8b8eff; }
.light-theme .lxb-mega-item:hover .lxb-mega-icon { background: rgba(125, 128, 255, 0.08); border-color: rgba(125, 128, 255, 0.15); }

/* Item body */
.lxb-mega-item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.lxb-mega-item-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lxb-mega-item-desc { font-size: 12px; line-height: 1.4; opacity: 0.42; font-weight: 400; }
.lxb-mega-item:hover .lxb-mega-item-desc { opacity: 0.6; }

/* Footer */
.lxb-mega-footer { display: flex; align-items: center; gap: 0; padding: 6px; border-top: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.015); }
.light-theme .lxb-mega-footer { border-top-color: rgba(0, 0, 0, 0.06); background: rgba(0, 0, 0, 0.015); }
.lxb-mega-featured { display: flex; align-items: center; gap: 20px; padding: 16px 18px; border-radius: 12px; text-decoration: none; color: inherit; transition: background 0.2s ease; flex: 1; min-width: 0; overflow: hidden; }
.lxb-mega-featured:hover { background: rgba(125, 128, 255, 0.12); }
.lxb-mega-featured-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, rgba(125, 128, 255, 0.2), rgba(99, 179, 237, 0.12)); display: flex; align-items: center; justify-content: center; }
.lxb-mega-featured-icon svg { width: 20px; height: 20px; stroke: #7d80ff; }
.lxb-mega-featured-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.lxb-mega-featured-body strong { font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.98); }
.light-theme .lxb-mega-featured-body strong { color: #0f172a; }
.lxb-mega-featured-body small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; width: 100%; max-width: 44ch; font-size: 12px; line-height: 1.35; min-height: calc(1.35em * 2); opacity: 0.45; font-weight: 400; white-space: normal; overflow-wrap: break-word; word-break: normal; }
.lxb-mega-featured-arrow { font-size: 18px; opacity: 0.3; transition: transform 0.2s, opacity 0.2s; flex-shrink: 0; }
.lxb-mega-featured:hover .lxb-mega-featured-arrow { opacity: 0.7; transform: translateX(3px); }
html[dir="rtl"] .lxb-mega-featured:hover .lxb-mega-featured-arrow { transform: translateX(-3px); }
.lxb-mega-footer-links { display: flex; align-items: center; gap: 4px; padding: 0 8px; flex-shrink: 0; }
.lxb-mega-footer-links a { display: inline-block; padding: 6px 12px; font-size: 12px; font-weight: 500; color: inherit; text-decoration: none; opacity: 0.45; border-radius: 6px; transition: opacity 0.15s, background 0.15s; white-space: nowrap; }
.lxb-mega-footer-links a:hover { opacity: 0.8; background: rgba(255, 255, 255, 0.06); }
.light-theme .lxb-mega-footer-links a:hover { background: rgba(0, 0, 0, 0.04); }

/* Responsive */
@media (max-width: 900px) {
    .lxb-dropdown-content--mega,
    .lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-content { min-width: 520px; max-width: 90vw; }
    .lxb-mega-grid { grid-template-columns: repeat(2, 1fr); }
    .lxb-mega-footer { flex-direction: column; align-items: stretch; }
    .lxb-mega-footer-links { padding: 4px 8px 8px; justify-content: center; }
}
@media (max-width: 520px) {
    .lxb-dropdown-content--mega,
    .lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-content { min-width: 290px; max-width: calc(100vw - 16px); border-radius: 12px; }
    .lxb-mega-grid { grid-template-columns: 1fr; padding: 4px; }
    .lxb-mega-col { padding: 12px 8px 16px; }
    .lxb-mega-banner { padding: 8px 12px; font-size: 11.5px; }
    .lxb-mega-featured-icon { width: 36px; height: 36px; }
    .lxb-mega-featured-body strong { font-size: 15px; }
}

/* RTL */
html[dir="rtl"] .lxb-dropdown-content--mega,
html[dir="rtl"] .lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-content { left: auto; right: 50%; transform: translateX(50%) translateY(-10px); }
html[dir="rtl"] .lxb-nav-dropdown[aria-expanded="true"] .lxb-dropdown-content--mega,
html[dir="rtl"] .lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3)[aria-expanded="true"] .lxb-dropdown-content { transform: translateX(50%) translateY(0); }

/* Legacy fallback for old markup */
.lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 16px; align-content: start; padding: 10px; }
.lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-item { margin: 0; }
.lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-separator { grid-column: 1 / -1; height: 0; margin: 4px 0; padding: 0; border: none; border-top: 1px solid var(--lxb-border-color); min-height: 0; }
@media (max-width: 900px) { .lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-list { grid-template-columns: 1fr; } }
.lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-link { display: flex; align-items: center; gap: 10px; }
.lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-link-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; }
.light-theme .lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-link-icon { background: rgba(0, 0, 0, 0.04); }
.lxb-nav-list > .lxb-nav-item.lxb-nav-dropdown:nth-child(3) .lxb-dropdown-link-icon svg { width: 16px; height: 16px; stroke: currentColor; opacity: 0.6; }

/* ============================================
   CTA Navigation Item
   ============================================ */
.lxb-cta-nav-item {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    margin: 0px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lxb-cta-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #ffffff !important;
}

/* ============================================
   Header Actions
   ============================================ */
.lxb-header-actions {
    margin-top: 30px !important;
    grid-column: 3;
    display: flex !important;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding-left: 60px;
    z-index: 1;
}

/* ============================================
   Consultation Button
   ============================================ */
.lxb-consultation-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--lxb-nav-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lxb-consultation-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--lxb-nav-text-hover);
}

.light-theme .lxb-consultation-button {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .lxb-consultation-button:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

/* ============================================
   Language Switcher
   ============================================ */
.lxb-language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.lxb-language-switcher-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--lxb-nav-text);
    font-size: 14px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lxb-language-switcher-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.lxb-language-icon {
    font-size: 16px;
}

.lxb-current-language {
    font-weight: 500;
}

.lxb-language-switcher .lxb-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
    display: none !important;
}

.lxb-language-switcher[aria-expanded="true"] .lxb-dropdown-arrow {
    transform: rotate(180deg);
}

.lxb-language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--lxb-dropdown-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--lxb-border-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 8px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateY(-5px);
    z-index: 100;
    min-width: 120px;
}

.lxb-language-switcher[aria-expanded="true"] .lxb-language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lxb-language-option {
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--lxb-nav-text);
}

.lxb-language-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.lxb-language-option.lxb-active {
    /* background-color: rgba(61, 126, 255, 0.1); */
    /* color: #3d7eff; */
}

.light-theme .lxb-language-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.light-theme .lxb-language-option.lxb-active {
    background-color: rgba(61, 126, 255, 0.1);
}

.lxb-check-icon {
    color: #22c55e;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: none !important;
}

.lxb-language-option.lxb-active .lxb-check-icon {
    opacity: 1;
}

html[dir="rtl"] .lxb-language-icon {
    margin-right: 0;
    margin-left: 6px;
}

html[dir="rtl"] .lxb-check-icon {
    margin-left: auto;
    margin-right: 0;
}

/* ============================================
   Notification Bell
   ============================================ */
.lxb-notification-bell {
    position: relative;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--lxb-nav-text);
    font-family: inherit;
}

.lxb-notification-bell:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.lxb-notification-bell[aria-expanded="true"] {
    background: rgba(125, 128, 255, 0.15);
    border-color: rgba(125, 128, 255, 0.3);
}

.light-theme .lxb-notification-bell {
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .lxb-notification-bell:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Notification Badge */
.lxb-notification-bell::after {
    content: attr(data-count);
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
}

.lxb-notification-bell[data-count="0"]::after,
.lxb-notification-bell[data-count=""]::after {
    display: none;
}

/* ============================================
   Notification Dropdown
   ============================================ */
.lxb-notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    max-height: 500px;
    background: var(--lxb-dropdown-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--lxb-border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lxb-notification-bell[aria-expanded="true"] ~ .lxb-notification-dropdown,
.lxb-notification-dropdown[aria-expanded="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lxb-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--lxb-border-color);
}

.lxb-notification-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--lxb-nav-text);
}

.lxb-mark-all-read {
    background: transparent;
    border: none;
    color: #7d80ff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lxb-mark-all-read:hover {
    background: rgba(125, 128, 255, 0.1);
}

.lxb-notification-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.lxb-notification-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.lxb-notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lxb-notification-item.lxb-unread {
    background: rgba(125, 128, 255, 0.05);
}

.light-theme .lxb-notification-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.light-theme .lxb-notification-item.lxb-unread {
    background: rgba(125, 128, 255, 0.08);
}

.lxb-notification-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lxb-notification-item-content {
    flex: 1;
    min-width: 0;
}

.lxb-notification-item-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lxb-nav-text);
}

.lxb-notification-item-message {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: var(--lxb-nav-text);
    opacity: 0.8;
    line-height: 1.4;
}

.lxb-notification-item-time {
    font-size: 11px;
    color: var(--lxb-nav-text);
    opacity: 0.6;
}

.lxb-notification-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--lxb-border-color);
    text-align: center;
}

.lxb-notification-footer a {
    color: #7d80ff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lxb-notification-footer a:hover {
    color: #667eea;
    text-decoration: underline;
}

/* ============================================
   Theme Toggle
   ============================================ */
.lxb-theme-toggle {
    position: relative;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--lxb-nav-text);
    font-family: inherit;
}

.lxb-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.light-theme .lxb-theme-toggle {
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .lxb-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

.lxb-theme-toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.lxb-moon-icon,
.lxb-sun-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.light-theme .lxb-moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.light-theme .lxb-sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

html:not(.light-theme) .lxb-moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

html:not(.light-theme) .lxb-sun-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

/* ============================================
   Mobile Menu Toggle
   ============================================ */
.lxb-mobile-menu-toggle {
    display: none;
    position: relative;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--lxb-nav-text);
    font-family: inherit;
    padding: 0;
}

.lxb-mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.light-theme .lxb-mobile-menu-toggle {
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .lxb-mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

.lxb-mobile-menu-toggle span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2.5px;
    margin: 0;
    border-radius: 2px;
    background-color: var(--lxb-nav-text);
    transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.lxb-mobile-menu-toggle span:nth-child(1) {
    top: 11px;
}

.lxb-mobile-menu-toggle span:nth-child(2) {
    top: 17px;
}

.lxb-mobile-menu-toggle span:nth-child(3) {
    top: 23px;
}

.light-theme .lxb-mobile-menu-toggle span {
    background-color: #111;
}

html:not(.light-theme) .lxb-mobile-menu-toggle span {
    background-color: #fff;
}

.lxb-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 17px;
    transform: translateX(-50%) rotate(45deg);
}

.lxb-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.lxb-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 17px;
    transform: translateX(-50%) rotate(-45deg);
}

/* ============================================
   Mobile Menu
   ============================================ */
.lxb-mobile-menu {
    /* Critical: must be fixed overlay; otherwise translateX() creates page overflow */
    position: fixed;
    height: 100vh;
    width: 100%;
    scrollbar-width: none;
    /* margin: 0px 20px; */
    inset: 0;
    z-index: 99999;
    padding-bottom: 40px;
    background: var(--lxb-mobile-menu-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease;
    pointer-events: none;
    max-width: 100vw;
    overflow-x: hidden;
    will-change: transform;
    overflow-y: auto;
}

.lxb-mobile-menu[aria-expanded="true"],
.lxb-mobile-menu.lxb-active {
    /* z-index: 100000; */
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

body.lxb-menu-open {
    overflow: hidden;
}

/* Safety: prevent accidental horizontal scrolling on mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
}

.lxb-mobile-menu-container {
    padding: 20px;
    max-width: 100%;
}

/* Mobile Menu Header */
.lxb-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--lxb-border-color);
    margin-bottom: 16px;
}

.lxb-mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--lxb-nav-text);
}

.lxb-mobile-menu-logo img {
    border-radius: 10px;
    width: 48px;
    height: auto;
    object-fit: contain;
}

/* Mobile CTA buttons spacing */
.lxb-mobile-nav-list .lxb-mobile-nav-item .lxb-cta-nav-item {
    display: block;
    text-align: center;
    margin: 6px 0;
    padding: 14px 20px;
}

.lxb-mobile-nav-list .lxb-mobile-nav-item:last-child {
    margin-bottom: 8px;
}

.lxb-mobile-menu-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--lxb-nav-text);
    font-family: inherit;
    padding: 0;
}

.lxb-mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.light-theme .lxb-mobile-menu-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.light-theme .lxb-mobile-menu-close {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .lxb-mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

html[dir="rtl"] .lxb-mobile-menu-header {
    flex-direction: row-reverse;
}

html[dir="rtl"] .lxb-mobile-menu-logo {
    flex-direction: row-reverse;
}

/* Mobile Language Switcher */
.lxb-mobile-language-switcher {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.lxb-mobile-language-top {
    margin: 0 20px 20px 20px;
}

.lxb-mobile-language-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 50%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--lxb-nav-text);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: inherit;
}

.lxb-mobile-language-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.lxb-mobile-language-toggle .lxb-language-icon {
    font-size: 20px;
    margin-right: 10px;
}

.lxb-mobile-current-language {
    flex: 1;
    text-align: left;
}

.lxb-mobile-language-toggle .lxb-dropdown-arrow {
    font-size: 12px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.lxb-mobile-language-switcher.lxb-active .lxb-mobile-language-toggle .lxb-dropdown-arrow {
    transform: rotate(180deg);
}

.lxb-mobile-language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--lxb-dropdown-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--lxb-border-color);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.lxb-mobile-language-switcher.lxb-active .lxb-mobile-language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lxb-mobile-language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--lxb-nav-text);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.lxb-mobile-language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--lxb-nav-text-hover);
}

.lxb-mobile-language-option.lxb-active {
    background: rgba(125, 128, 255, 0.15);
    color: var(--lxb-nav-text-hover);
}

.lxb-mobile-language-option .lxb-check-icon {
    color: #7D80FF;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lxb-mobile-language-option.lxb-active .lxb-check-icon {
    opacity: 1;
}

.light-theme .lxb-mobile-language-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .lxb-mobile-language-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

.light-theme .lxb-mobile-language-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.light-theme .lxb-mobile-language-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

.light-theme .lxb-mobile-language-option.lxb-active {
    background: rgba(125, 128, 255, 0.1);
}

html[dir="rtl"] .lxb-mobile-language-toggle .lxb-language-icon {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .lxb-mobile-current-language {
    text-align: right;
}

/* Mobile Navigation */
.lxb-mobile-nav {
    margin: 0;
}

.lxb-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lxb-mobile-nav-item {
    margin: 0;
}

.lxb-mobile-nav-link {
    display: block;
    padding: 14px 20px;
    color: var(--lxb-nav-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 4px;
}

.lxb-mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--lxb-nav-text-hover);
}

.lxb-mobile-nav-link.lxb-active {
    background: rgba(125, 128, 255, 0.15);
    color: var(--lxb-nav-text-hover);
}

.light-theme .lxb-mobile-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.light-theme .lxb-mobile-nav-link.lxb-active {
    background: rgba(125, 128, 255, 0.1);
}

/* Mobile Nav Sections */
.lxb-mobile-nav-section {
    margin: 12px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.lxb-mobile-nav-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--lxb-nav-text);
    opacity: 0.78;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lxb-mobile-nav-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 0;
    border-bottom: 1px solid transparent;
    text-align: start;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lxb-mobile-nav-section-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lxb-mobile-nav-chevron {
    font-size: 13px;
    line-height: 1;
    color: var(--lxb-nav-text);
    opacity: 0.55;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.lxb-mobile-nav-section[aria-expanded="true"] .lxb-mobile-nav-chevron {
    transform: rotate(180deg);
    opacity: 0.9;
}

html[dir="rtl"] .lxb-mobile-nav-section-toggle {
    text-align: right;
}

.lxb-mobile-nav-section[aria-expanded="true"] .lxb-mobile-nav-section-toggle {
    border-bottom-color: var(--lxb-border-color);
    background: rgba(125, 128, 255, 0.08);
}

.lxb-mobile-nav-subsection {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease;
}

.lxb-mobile-nav-section[aria-expanded="true"] .lxb-mobile-nav-subsection {
    max-height: 1400px;
    opacity: 1;
}

.lxb-mobile-nav-subitem {
    margin: 0;
}

.lxb-mobile-nav-subsection .lxb-mobile-nav-link {
    padding: 12px 20px 12px 35px;
    font-size: 15px;
}

.lxb-mobile-nav-subsection .lxb-mobile-nav-link:hover {
    padding-left: 40px;
}

html[dir="rtl"] .lxb-mobile-nav-subsection .lxb-mobile-nav-link {
    padding: 12px 35px 12px 20px;
}

html[dir="rtl"] .lxb-mobile-nav-subsection .lxb-mobile-nav-link:hover {
    padding-right: 40px;
    padding-left: 20px;
}

.light-theme .lxb-mobile-nav-section-title {
    color: rgba(0, 0, 0, 0.5);
}

.light-theme .lxb-mobile-nav-section {
    border-color: rgba(0, 0, 0, 0.08);
}

.light-theme .lxb-mobile-nav-section-toggle {
    background: rgba(0, 0, 0, 0.02);
}

.light-theme .lxb-mobile-nav-section-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.light-theme .lxb-mobile-nav-section[aria-expanded="true"] .lxb-mobile-nav-section-toggle {
    border-bottom-color: rgba(0, 0, 0, 0.1);
    background: rgba(125, 128, 255, 0.08);
}

/* Mobile Actions */
.lxb-mobile-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--lxb-border-color);
}

.lxb-theme-toggle-mobile {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 500;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
    .lxb-main-nav {
        margin-top: 20px !important;
    }
    .lxb-header-actions {
        margin-top: 20px !important;
        padding-left: 40px;
    }
}

@media (max-width: 992px) {
    .lxb-header-container {
        grid-template-columns: 1fr auto;
    }
    
    .lxb-main-nav {
        display: none !important;
    }
    
    .lxb-header-actions {
        grid-column: 2;
        padding-left: 20px;
    }
    
    .lxb-logo {
        margin-left: 0 !important;
    }
    
    .lxb-mobile-menu-toggle {
        display: inline-flex !important;
    }
}

@media (max-width: 768px) {
    .lxb-seo-breadcrumb {
        padding: 6px 15px 0;
        font-size: 10px;
    }
    
    .lxb-breadcrumb-separator {
        margin: 0 4px;
    }
    
    .lxb-header {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: var(--lxb-bg-secondary) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }
    
    .lxb-header-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .lxb-logo {
        display: none !important;
    }
    
    .lxb-header-actions {
        gap: 10px;
        padding-left: 10px;
        margin-top: 0 !important;
    }
    
    .lxb-consultation-button {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .lxb-language-switcher {
        display: none;
    }
    
    .lxb-notification-bell {
        display: none;
    }
}

/* ============================================
   RTL Support
   ============================================ */
html[dir="rtl"] .lxb-header-container {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    flex-direction: row !important;
}

html[dir="rtl"] .lxb-logo {
    grid-column: 1 !important;
    order: 0 !important;
    margin-left: -60px !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .lxb-main-nav {
    grid-column: 2 !important;
    order: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: center !important;
}

html[dir="rtl"] .lxb-header-actions {
    grid-column: 3 !important;
    order: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    /* padding-left: 60px !important; */
    flex-direction: row !important;
}

html[dir="rtl"] .lxb-dropdown-content {
    left: auto;
    right: 50%;
    transform: translateX(calc(50% + var(--lxb-dropdown-shift, 0px))) translateY(-10px);
}

html[dir="rtl"] .lxb-nav-dropdown[aria-expanded="true"] .lxb-dropdown-content {
    transform: translateX(calc(50% + var(--lxb-dropdown-shift, 0px))) translateY(0);
}

html[dir="rtl"] .lxb-notification-dropdown {
    right: auto;
    left: 0;
}

/* ============================================
   Secondary Pages Navigation (Industry Pages)
   Position navigation near logo on left
   ============================================ */
.lxb-header.lxb-secondary-page .lxb-header-container {
    grid-template-columns: auto auto 1fr auto;
    gap: 20px;
}

.lxb-header.lxb-secondary-page .lxb-main-nav {
    grid-column: 2;
    justify-self: start;
    margin-left: 20px;
    margin-top: 30px !important;
}

.lxb-header.lxb-secondary-page .lxb-nav-list {
    flex-wrap: wrap;
    gap: 8px;
}

.lxb-header.lxb-secondary-page .lxb-nav-link {
    font-size: 13px;
    padding: 6px 12px;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .lxb-header.lxb-secondary-page .lxb-nav-list {
        gap: 6px;
    }
    
    .lxb-header.lxb-secondary-page .lxb-nav-link {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (max-width: 992px) {
    .lxb-header.lxb-secondary-page .lxb-main-nav {
        display: none !important;
    }
}

html[dir="rtl"] .lxb-header.lxb-secondary-page .lxb-main-nav {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-left: 20px !important;
    margin-right: 0 !important;
}

/* ============================================
   Platform Compliance Section (Light Theme)
   ============================================ */
.light-theme .platform-compliance-section {
    background: linear-gradient(180deg, #f8faff 0%, #f2f5ff 100%) !important;
    border-top: 1px solid rgba(125, 128, 255, 0.2) !important;
}

.light-theme .platform-compliance-section [data-i18n="platform.compliance.title"] {
    color: #131a2b !important;
}

.light-theme .platform-compliance-section [data-i18n="platform.compliance.subtitle"] {
    color: rgba(19, 26, 43, 0.7) !important;
}

.light-theme .platform-compliance-section div[style*="background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px;"] {
    background: #ffffff !important;
    border: 1px solid rgba(125, 128, 255, 0.2) !important;
    box-shadow: 0 10px 26px rgba(22, 34, 68, 0.08) !important;
}

.light-theme .platform-compliance-section [data-i18n^="platform.compliance."][data-i18n$=".title"] {
    color: #162340 !important;
}

.light-theme .platform-compliance-section [data-i18n^="platform.compliance."][data-i18n$=".desc"] {
    color: rgba(22, 35, 64, 0.74) !important;
}

.light-theme .platform-compliance-section div[style*="padding: 10px 20px; background: rgba("] {
    background: #ffffff !important;
}

.light-theme .platform-compliance-section [data-i18n="platform.compliance.links"] {
    color: rgba(22, 35, 64, 0.68) !important;
}

.light-theme .platform-compliance-section [data-i18n="platform.compliance.links"] a {
    color: #5b5ce2 !important;
}