* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f5f5;
}

.mobile-auth-section {
    display: none;
}

.level1-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 24px;
    gap: 12px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1003;
    height: 56px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.level1-left {
    display: flex;
    align-items: self-end;
    gap: 12px;
    flex-shrink: 0;
}

.level1-logo img {
    height: 38px;
    width: auto;
}

.site-name {
    color: #053270;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.level1-products {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: right;
}

.taxlaw-btn {
    color: #0a2a6e;
    border: 1px solid #0a2a6e;
    padding: 2px 6px 2px 2px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    transition: background 0.2s;
}

.taxlaw-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: contain;
    background: #0a2a6e;
    padding: 2px;
    flex-shrink: 0;
}

.taxlaw-btn:hover {
    background: #0a2a6e;
    color: #fff;
    text-decoration: none;
}


.prod-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-right: 4px;
    white-space: nowrap;
}

.prod-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border: 1.5px solid transparent;
    transition: all 0.2s;
    line-height: 1;
}

.prod-link i {
    font-size: 10px;
}

.prod-taxai {
    color: #063170;
    border-color: #fde68a;
    background: #fff;
}

.prod-taxai:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.prod-cma {
    color: #063170;
    border-color: #fde68a;
    background: #fff;
}

.prod-cma:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.prod-audit {
    color: #063170;
    border-color: #fde68a;
    background: #fff;
}

.prod-audit:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.prod-nca {
    color: #063170;
    border-color: #fde68a;
    background: #fff;
}

.prod-nca:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* Right-side utilities */
.level1-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
}

/* Auth buttons */
.level1-auth {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-l1 {
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-l1-login {
    background: transparent;
    color: #053270;
    border: 1.5px solid #053270 !important;
}

.btn-l1-login:hover {
    background: #053270;
    color: #fff;
}

.btn-l1-register {
    background: #fff;
    color: #053270;
    border: 1px solid #053270 !important;
}

.btn-l1-register:hover {
    color: #fff;
    background: #03245a;
}

/* ── Google Translate wrapper — sits AFTER auth buttons ── */
.translate-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
    white-space: nowrap;
}

.translate-wrap:hover {
    color: #fff;
    
}

.translate-wrap i {
    color: #053270;
    font-size: 13px;
}

.translate-wrap>span {
    color: #053270;
    font-size: 11px;
    font-weight: 600;
}
.translate-wrap>span:hover {
    text-decoration: underline;
    color: #fff;
}

/* Language dropdown — styled like image 2 */
.translate-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #1e293b;
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    min-width: 180px;
    z-index: 2000;
    overflow: hidden;
    padding: 4px 0;
}

.translate-wrap.active .translate-dropdown {
    display: block;
}

/* Hide the actual Google widget visually but keep it functional */
#google_translate_element {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lang-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.lang-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #e2e8f0;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-list li:last-child {
    border-bottom: none;
}

.lang-list li:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lang-list li.active-lang {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 600;
}

.lang-list li .check-icon {
    font-size: 10px;
    color: #38bdf8;
    visibility: hidden;
    margin-left: auto;
}

.lang-list li.active-lang .check-icon {
    visibility: visible;
}

/* User profile (logged in) */
.level1-user {
    display: none;
    align-items: center;
    gap: 10px;
    position: relative;
}

.level1-user.visible {
    display: flex;
}

.user-name-l1 {
    color: #053270;
    font-size: 13px;
    font-weight: 600;
}

.user-avatar-l1 {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #053270, #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border: 2px solid #e2e8f0;
}

.l1-profile-dropdown {
    display: block;
    /* always in DOM */
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;

    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-top: 3px solid #0066cc;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    border-radius: 0 0 6px 6px;
    z-index: 2000;
}


.l1-profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.level1-user {
    padding-bottom: 2px;
    /* creates invisible hover bridge */
}

.l1-profile-dropdown a {
    display: block;
    padding: 11px 16px;
    color: #1f3f6b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.2s;
}

.l1-profile-dropdown a:hover {
    background: #f0f4ff;
    color: #0066cc;
    padding-left: 20px;
}

.l1-profile-dropdown .logout-link {
    color: #dc3545 !important;
}

.l1-profile-dropdown .logout-link:hover {
    background: #fff0f0;
}

.level2-bar {
    background: #000000fc;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1002;
    height: 32px;
}

.news-label {
    background: #e83b3b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 0 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.marquee-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 80s linear infinite;
}

.marquee-inner:hover {
    animation-play-state: paused;
}

.marquee-item {
    color: #FFEB3B;
    font-size: 14px;
    padding-right: 50px;
    display: inline-flex;
    transition: color 0.2s;
    white-space: nowrap;
}

.marquee-item::before {
    content: "◆";
    color: #f0a500;
    margin-right: 8px;
    margin-top: 2px;
    font-size: 10px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.level3-bar {
    background: rgba(5, 50, 112, 0.92);
    display: flex;
    align-items: stretch;
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    height: 50px;
    transition: all 0.3s ease;
    /* CRITICAL: allow dropdowns to overflow */
    overflow: visible;
}

.level3-bar.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

.l3-nav {
    display: flex;
    align-items: stretch;
    flex: 1;
    margin-left: 20px;
    /* allow dropdowns to overflow */
    overflow: visible;
}

.l3-nav-item {
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

.l3-nav-link {
    display: block;
    padding: 0 16px;
    height: 50px;
    line-height: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.level3-bar.scrolled .l3-nav-link {
    color: #1f3f6b;
}

.l3-nav-link:hover {
    background: rgba(0, 102, 204, 0.25);
    color: #fff;
}

.level3-bar.scrolled .l3-nav-link:hover {
    background: rgba(0, 102, 204, 0.1);
    color: #053270;
}

.l3-nav-link.has-arrow::after {
    content: " ▾";
    font-size: 9px;
}

/* ── MEGA MENU — fixed to be fully visible ── */
.mega-menu-item:hover>.mega-menu-trigger {
    background: #0066cc;
    color: #fff !important;
}

.mega-menu-content {
    display: none;
    position: fixed;

    left: 50%;
    top: 138px;

    background: #fff;
    border-top: 3px solid #0066cc;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    z-index: 1010;
    padding: 20px;
    grid-template-columns: repeat(3, 1fr);
    transform: translateX(-50%);
    width: 92vw;
    max-width: 1100px;
    border-radius: 0 0 8px 8px;
}

.mega-menu-item:hover .mega-menu-content {
    display: grid;
}

.mega-menu-column {
    padding: 0 14px;
    border-right: 1px solid #eee;
}

.mega-menu-column:last-child {
    border-right: none;
}

.mega-menu-column h4 {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    color: #1f3f6b;
    text-transform: uppercase;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 8px;
    letter-spacing: 0.5px;
}

.mega-menu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-column a {
    color: #1f3f6b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: block;
    padding: 7px 10px;
    border-radius: 4px;
    margin: 2px 0;
    transition: all 0.2s;
}

.mega-menu-column a:hover {
    background: #f0f4ff;
    color: #0066cc;
    padding-left: 14px;
}

/* ── Simple dropdown ── */
.simple-dropdown:hover>.l3-nav-link {
    background: #0066cc;
    color: #fff !important;
}

.dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-top: 3px solid #0066cc;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 190px;
    border-radius: 0 0 6px 6px;
    z-index: 1010;
}

.simple-dropdown:hover .dropdown-list {
    display: block;
}

.dropdown-list a {
    display: block;
    padding: 11px 16px;
    color: #1f3f6b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.2s;
}

.dropdown-list a:last-child {
    border-bottom: none;
}

.dropdown-list a:hover {
    background: #f0f4ff;
    color: #0066cc;
    padding-left: 20px;
}

/* Subscribe button in nav */
.l3-right {
    display: flex;
    align-items: center;
    padding: 0 14px;
    flex-shrink: 0;
}

.btn-subscribe-nav {
    background: #28a745;
    color: #fff;
    border: 2px solid #28a745;
    border-radius: 4px;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-subscribe-nav:hover {
    background: #218838;
    border-color: #218838;
    transform: translateY(-1px);
    color: #fff;
}

/* HAMBURGER (mobile only) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    margin-left: auto;
    z-index: 1004;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: #053270;
    border-radius: 2px;
    display: block;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

/* Page body offset */
.page-body {
    margin-top: 140px;
}

/* SUPPORT WIDGET */
.support {
    display: flex;
    position: fixed;
    z-index: 9998;
    bottom: 20px;
    left: 5px;
    flex-direction: column;
}

.support a {
    display: flex;
    flex-direction: row;
    background: #25d366;
    padding: 10px;
    border-radius: 20px;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.support a:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

.support a i {
    font-size: 18px;
    color: #fff;
    margin-right: 8px;
}

.support a span {
    display: none;
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

.support a:hover span {
    display: block;
}

@media (max-width: 768px) {
    .level1-bar {
        padding: 6px 14px;
        height: 56px;
    }

    .site-name {
        font-size: 13px;
    }

    .level1-logo img {
        height: 32px;
    }

    .translate-wrap {
        display: none;
    }

    .level1-products {
        display: none !important;
    }

    /* hide product pills on mobile */
    .level1-auth,
    .level1-user {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .level2-bar {
        top: 56px;
    }

    .level3-bar {
        display: none;
    }

    /* Mobile drawer */
    .mobile-nav-drawer {
        display: none;
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 50, 112, 0.97);
        z-index: 1000;
        overflow-y: auto;
        flex-direction: column;

    }


    .mobile-nav-drawer.open {
        display: flex;
    }

    .mobile-nav-link {
        display: block;
        padding: 14px 20px;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-decoration: none;
        transition: background 0.2s;
    }

    .mobile-nav-link:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .mobile-auth-section {
        padding: 16px 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: auto;

    }

    .mobile-auth-section a {
        display: block;
    }

    .mobile-auth-section button {
        width: 100%;
        padding: 12px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .page-body {
        margin-top: 88px;
    }
}

/* Tablet (769–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .l3-nav-link {
        padding: 0 10px;
        font-size: 11px;
    }

    .site-name {
        font-size: 14px;
    }

    .btn-subscribe-nav {
        padding: 7px 12px;
        font-size: 10px;
    }
}

@media (min-width: 769px) {
    .mobile-nav-drawer {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* ── TaxLaw-AI Header Banner ── */
.taxai-header-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 760px;
    height: 40px;
    background: linear-gradient(90deg, #0d2e6b 0%, #0f4b9e 50%, #0a3577 100%);
    border-radius: 6px;
    border: 1px solid rgba(99, 163, 255, 0.35);
    padding: 0 10px 0 8px;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

.taxai-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(0, 120, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.taxai-hb-icon {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}

.taxai-hb-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
}

.taxai-hb-title {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.taxai-hb-title em {
    font-style: normal;
    color: #63a3ff;
}

.taxai-hb-tagline {
    font-size: 11px;
    font-weight: 400;
    color: rgba(180, 210, 255, 0.85);
}

.taxai-hb-sub {
    font-size: 11px;
    color: rgb(180, 210, 255);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taxai-hb-pills {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.taxai-hb-pills span {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #c8deff;
    border-radius: 20px;
    padding: 2px 7px;
    white-space: nowrap;
}


/* Hide on mobile (keep hamburger clean) */
@media (max-width: 768px) {
    .taxai-header-banner {
        display: none;
    }
}

/* ── TaxLaw-AI Banner Highlighter + Blink ── */
.taxai-header-banner {
    position: relative;
    animation: bannerGlowBlink 2s ease-in-out infinite;
}

/* Animated border glow */
@keyframes bannerGlowBlink {

    0%,
    100% {
        border-color: rgba(99, 163, 255, 0.35);
        box-shadow: 0 0 0px transparent;
    }

    50% {
        border-color: rgba(74, 158, 255, 0.9);
        box-shadow: 0 0 10px rgba(74, 158, 255, 0.45), 0 0 20px rgba(74, 158, 255, 0.2);
    }
}

/* Scanning highlight sweep */
.taxai-header-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    border-radius: 6px;
    animation: bannerSweep 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bannerSweep {
    0% {
        left: -60%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}

/* CTA button blink */
.taxai-hb-cta {
    animation: ctaBlink 2s ease-in-out infinite;
}

@keyframes ctaBlink {

    0%,
    100% {
        background: #28a745;
        box-shadow: 0 0 0px transparent;
    }

    50% {
        background: #3d8fff;
        box-shadow: 0 0 8px rgba(26, 122, 255, 0.7);
    }
}

/* Robot icon pulse */
.taxai-hb-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        background: rgba(255, 255, 255, 0.12);
        box-shadow: none;
    }

    50% {
        background: rgba(74, 158, 255, 0.25);
        box-shadow: 0 0 8px rgba(74, 158, 255, 0.5);
    }
}

/* AI text color blink */
.taxai-hb-title em {
    animation: aiTextBlink 2s ease-in-out infinite;
}

@keyframes aiTextBlink {

    0%,
    100% {
        color: #63a3ff;
    }

    50% {
        color: #a8d0ff;
        text-shadow: 0 0 8px rgba(99, 163, 255, 0.8);
    }
}

.taxai-hb-cta::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    animation: ctaRingBlink 1.6s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        background: #1a7aff;
        box-shadow: 0 0 0px transparent;
        transform: scale(1);
    }

    50% {
        background: #4dabff;
        box-shadow: 0 0 10px rgba(26, 122, 255, 0.9), 0 0 20px rgba(74, 171, 255, 0.4);
        transform: scale(1.04);
    }
}

@keyframes ctaSweep {
    0% {
        left: -75%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

@keyframes ctaRingBlink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.taxai-header-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    max-width: 620px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    border: 1.5px solid rgba(80, 160, 255, 0.5);
    padding: 0 16px 0 12px;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(80, 160, 255, 0.1), 0 4px 24px rgba(10, 40, 120, 0.4);
}

.taxai-bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.taxai-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(4, 10, 30, 0.82) 0%, rgba(4, 10, 30, 0.5) 40%, rgba(4, 10, 30, 0.72) 100%);
}

.taxai-sweep {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.06) 50%, transparent 75%);
    animation: taxaiSweep 4s linear infinite;
}

@keyframes taxaiSweep {
    0% {
        transform: translateX(-100%)
    }

    100% {
        transform: translateX(200%)
    }
}

.taxai-hb-icon {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(40, 110, 255, 0.22);
    border: 1px solid rgba(100, 170, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: taxaiIconPulse 2.5s ease-in-out infinite;
}

.taxai-hb-icon i {
    font-size: 18px;
    color: #7ec8ff;
}

@keyframes taxaiIconPulse {

    0%,
    100% {
        box-shadow: none;
        border-color: rgba(100, 170, 255, 0.4)
    }

    50% {
        box-shadow: 0 0 16px rgba(50, 140, 255, 0.7);
        border-color: rgba(120, 190, 255, 0.9)
    }
}

.taxai-hb-text {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.taxai-hb-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.taxai-hb-name {
    font-size: 15px;
    font-weight: 700;
    color: #eef4ff;
    letter-spacing: 0.4px;
    line-height: 1;
}

.taxai-hb-name em {
    font-style: normal;
    color: #5ab3ff;
    animation: taxaiAI 2.5s ease-in-out infinite;
}

@keyframes taxaiAI {

    0%,
    100% {
        color: #5ab3ff;
        text-shadow: none
    }

    50% {
        color: #9dd5ff;
        text-shadow: 0 0 10px rgba(90, 180, 255, 0.8)
    }
}

.taxai-hb-pill {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #90c8ff;
    background: rgba(40, 110, 255, 0.2);
    border: 1px solid rgba(80, 160, 255, 0.5);
    border-radius: 20px;
    padding: 2px 8px;
    animation: taxaiPill 2.5s ease-in-out infinite;
}

@keyframes taxaiPill {

    0%,
    100% {
        border-color: rgba(80, 160, 255, 0.4)
    }

    50% {
        border-color: rgba(80, 160, 255, 1);
        box-shadow: 0 0 7px rgba(60, 140, 255, 0.6)
    }
}

.taxai-hb-sub {
    font-size: 12px;
    color: rgba(160, 205, 255, 0.75);
    line-height: 1;
}

.taxai-hb-cta {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    background: #1660ef;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    padding: 4px 10px;
    white-space: nowrap;
    border: 1px solid rgba(130, 190, 255, 0.5);
    letter-spacing: 0.3px;
    animation: taxaiCTA 2s ease-in-out infinite;
}

@keyframes taxaiCTA {

    0%,
    100% {
        background: #023aa9;
        box-shadow: none
    }

    50% {
        background: #2878ff;
        box-shadow: 0 0 18px rgba(38, 120, 255, 0.75)
    }
}

@media (max-width: 768px) {
    .taxai-header-banner {
        display: none;
    }
}