.tc-ai-code-banner-wrap {
    width: 100%;
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.tc-ai-code-banner {
    position: relative;
    display: block;
    width: 100%;
    min-height: 74px;
    overflow: hidden;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(110deg, #111827 0%, #312e81 42%, #7c3aed 72%, #1e1b4b 100%);
    background-size: 220% 100%;
    animation: tcAiCodeGradient 9s ease-in-out infinite;
}

.tc-ai-code-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.14) 45%, transparent 70%);
    transform: translateX(-100%);
    animation: tcAiCodeShine 4.5s ease-in-out infinite;
    pointer-events: none;
}

.tc-ai-code-banner-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    min-height: 74px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tc-ai-code-banner-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.2);
    font-size: 21px;
    animation: tcAiCodeFloat 2.8s ease-in-out infinite;
}

.tc-ai-code-banner-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tc-ai-code-banner-text strong {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.tc-ai-code-banner-text span {
    font-size: 11px;
    opacity: .86;
    line-height: 1.7;
}

.tc-ai-code-banner-features {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-right: auto;
    white-space: nowrap;
}

.tc-ai-code-banner-features span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 10px;
}

.tc-ai-code-banner-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    border-radius: 12px;
    background: #fff;
    color: #4c1d95;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 7px 20px rgba(0,0,0,.15);
    transition: transform .2s ease, box-shadow .2s ease;
}

.tc-ai-code-banner:hover .tc-ai-code-banner-button {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.22);
}

.tc-ai-code-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(35px);
    pointer-events: none;
}

.tc-ai-code-glow-one {
    width: 160px;
    height: 160px;
    right: 18%;
    top: -100px;
    background: rgba(167,139,250,.28);
    animation: tcAiCodeGlowOne 6s ease-in-out infinite;
}

.tc-ai-code-glow-two {
    width: 130px;
    height: 130px;
    left: 12%;
    bottom: -90px;
    background: rgba(196,181,253,.2);
    animation: tcAiCodeGlowTwo 7s ease-in-out infinite;
}

@keyframes tcAiCodeGradient {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes tcAiCodeShine {
    0% { transform: translateX(-120%); }
    45%,100% { transform: translateX(120%); }
}

@keyframes tcAiCodeFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes tcAiCodeGlowOne {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(-40px,25px); }
}

@keyframes tcAiCodeGlowTwo {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(35px,-20px); }
}

@media (max-width: 1199.98px) {
    .tc-ai-code-banner-wrap {
        display: none;
    }
}

@media (max-width: 1100px) {
    .tc-ai-code-banner-features {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc-ai-code-banner,
    .tc-ai-code-banner::before,
    .tc-ai-code-banner-icon,
    .tc-ai-code-glow-one,
    .tc-ai-code-glow-two {
        animation: none;
    }
}
