section.nx-global-hero {
    position: relative !important;
    isolation: isolate;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: none !important;
    min-height: 380px !important;
    height: auto !important;
    padding: 36px 24px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background:
        radial-gradient(ellipse at 85% 20%,
        #20558a 0%, transparent 55%),
        linear-gradient(115deg,#06152b,#102f56)
        !important;
    color: #fff !important;
    text-align: center !important;
    overflow: hidden;
}

.nx-global-hero::before {
    content: none !important;
}

.nx-global-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,transparent,#62b9ff,transparent
    );
    pointer-events: none;
}

.nx-global-hero .nx-ai-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.nx-global-hero .nx-ai-network {
    display: block;
    width: 100%;
    height: 100%;
    opacity: .8;
}

.nx-global-hero .nx-ai-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -100px;
    top: -200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,#398eff40,transparent 70%
    );
    animation: nxGlow 9s ease-in-out infinite alternate;
}

@keyframes nxGlow {
    from { transform: translateX(0); }
    to { transform: translateX(-160px); }
}

.nx-global-hero > :not(.nx-ai-background) {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.nx-global-hero .hero-inner,
.nx-global-hero .premium-hero-layout,
.nx-global-hero .nx-course-split,
.nx-global-hero .premium-hero-main {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}

.nx-global-hero h1 {
    color: #fff !important;
    font-size: clamp(30px,4vw,48px) !important;
    font-weight: 800 !important;
    font-style: normal !important;
    line-height: 1.15 !important;
    letter-spacing: -1px !important;
    text-align: center !important;
    margin: 12px auto 14px !important;
}

.nx-global-hero h1 span {
    color: #91cfff !important;
}

.nx-global-hero p {
    color: #d1e2f5 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    max-width: 780px !important;
    margin: 0 auto 18px !important;
    text-align: center !important;
}

.nx-global-hero .hero-badge,
.nx-global-hero .nx-course-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 15px !important;
    margin: 0 auto 8px !important;
    border: 1px solid #ffffff40 !important;
    border-radius: 30px !important;
    background: #ffffff0c !important;
    color: #b9ddff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
}

.nx-global-hero .nx-course-art {
    display: none !important;
}

.nx-global-hero .nx-course-copy {
    text-align: center !important;
}

.nx-global-hero form {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px !important;
    width: 100% !important;
    max-width: 850px !important;
    min-height: 56px;
    box-sizing: border-box;
    margin: 18px auto !important;
    padding: 6px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px #0003;
}

.nx-global-hero form input:not([type=hidden]),
.nx-global-hero form select {
    color: #172b45 !important;
    background: #fff !important;
    min-width: 0;
    font-size: 14px !important;
}

.nx-global-hero form > div {
    min-width: 0;
    flex: 1 1 150px;
}

.nx-global-hero form button[type=submit],
.nx-global-hero .nx-explore-btn {
    background: #df2935 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 7px !important;
    min-height: 42px;
    padding: 11px 22px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: background .2s ease;
}

.nx-global-hero form button[type=submit]:hover,
.nx-global-hero .nx-explore-btn:hover {
    background: #bc1e2a !important;
}

.nx-global-hero .popular-skills,
.nx-global-hero .hero-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px !important;
    margin: 12px auto 0 !important;
}

.nx-global-hero .popular-skills a {
    color: #fff !important;
    border: 1px solid #ffffff40 !important;
    background: #ffffff0b !important;
    border-radius: 30px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
}

.nx-global-hero .premium-hero-features {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px auto 0 !important;
}

.nx-global-hero .hero-feature {
    flex: 0 1 auto;
}

.nx-global-hero a:focus-visible,
.nx-global-hero button:focus-visible,
.nx-global-hero input:focus-visible,
.nx-global-hero select:focus-visible {
    outline: 3px solid #83caff;
    outline-offset: 3px;
}

@media (min-width: 769px) and (max-width: 1024px) {
    section.nx-global-hero {
        min-height: 400px !important;
    }
}

@media (max-width: 768px) {
    section.nx-global-hero {
        min-height: 420px !important;
        padding: 30px 16px !important;
    }

    .nx-global-hero h1 {
        font-size: 32px !important;
        letter-spacing: -.5px !important;
    }

    .nx-global-hero p {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .nx-global-hero form {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .nx-global-hero form > div {
        flex: 0 1 auto;
        width: 100%;
    }

    .nx-global-hero form button[type=submit] {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nx-global-hero .nx-ai-glow {
        animation: none !important;
    }
}
