@media(min-width: 1401px) {
    #header-menu-contain {
        display: none !important;
    }
}

@media(max-width: 1400px) {
    .headerInner {
        display: none !important;
    }
}

.headerInner {
    position: relative;
}

/* =========================
BASE MENU
========================= */

.menuWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 500;
}

.menuItem {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.menuItem svg {
    width: 15px;
    height: 15px;
    transform: rotate(0deg) scale(1);
    transition: .25s ease;
}

.menuItem:hover svg {
    transform: rotate(180deg) scale(1.25);
}

.menuItem svg path {
    transition: .25s ease;
}

.menuItem:hover svg path {
    stroke: #7E73FF;
}

.menuLink {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #23253A;
    text-decoration: none;
    transition: .25s ease;
    text-transform: uppercase;
    height: 50px;
    cursor: pointer;
}

.secretPage {
    opacity: 0.25;
}

.secretPage:hover {
    opacity: 1;
}

.menuLink:hover {
    color: #7E73FF;
}

/* =========================
MEGA MENU WRAPPER
========================= */

.megaMenuPortal {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    max-width: calc(100vw - 40px);
    z-index: 999;
}

.megaMenuWrapper {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .25s ease;
}

.megaMenuWrapper.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================
GRID CONTAINER
========================= */

.megaMenuGrid {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(126, 115, 255, .12);
    border-radius: 32px;
    padding: 32px;
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 25px;
    box-shadow:
        0 30px 90px rgba(126, 115, 255, .10),
        0 10px 30px rgba(0, 0, 0, .04),
        inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* =========================
LEFT BANNER
========================= */

.megaMenuBanner {
    background:
        linear-gradient(180deg,
            rgba(126, 115, 255, .06),
            rgba(110, 168, 255, .08));

    border-radius: 28px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(126, 115, 255, .10);
}

.bannerTitle {
    font-size: 36px;
    line-height: 1.25em;
    font-weight: 800;
    text-transform: uppercase;
    color: #23253A;
    margin-bottom: 22px;
}

.bannerTitle span {
    display: block;

    background: linear-gradient(90.45deg, #6AA9FF 2.87%, #7E73FF 51.04%, #CA66F1 98.99%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sep {
    width: 56px;
    height: 4px;
    border-radius: 20px;
    background: linear-gradient(90.45deg, #6AA9FF 2.87%, #7E73FF 51.04%, #CA66F1 98.99%);
    margin-bottom: 22px;
    box-shadow: 0 6px 18px rgba(126, 115, 255, .25);
}

.bannerDesc {
    color: #687088;
    font-size: 15.5px;
    line-height: 1.5em;
    max-width: 240px;
    margin-bottom: auto;
}

.bannerPhotoWrapper {
    position: relative;
}

.bannerPhotoWrapper:before {
    content: "";
    position: absolute;
    top: 50px;
    left: auto;
    right: 50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(90.45deg, #6AA9FF 2.87%, #7E73FF 51.04%, #CA66F1 98.99%);
}

.bannerPhoto {
    width: 100%;
    height: 100%;
    margin-top: 26px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(126, 115, 255, .15));
}

.bannerButton {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(126, 115, 255, .25);
    background: #7E73FF;
    transition: .3s ease;
    backdrop-filter: blur(10px);
    font-size: 16px;
    text-transform: uppercase;
}

.bannerButton:hover {
    box-shadow: 0 12px 30px rgba(126, 115, 255, .25);
    background: rgba(255, 255, 255, .75);
    color: #7E73FF;
}

/* =========================
SERVICES GRID
========================= */

.megaMenuServices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.serviceCard {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border-radius: 24px;
    text-decoration: none;
    border: 1px solid rgba(126, 115, 255, .08);
    transition: .3s ease;
    overflow: hidden;
}

.serviceCard::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1200px 300px at 20% 0%,
            rgba(126, 115, 255, .10),
            transparent 60%);
    opacity: 0;
    transition: .3s ease;
}

.serviceCard:hover {
    transform: translateY(-6px);
    border-color: rgba(126, 115, 255, .22);
    box-shadow:
        0 20px 45px rgba(126, 115, 255, .12);
}

.serviceCard:hover::before {
    opacity: 1;
}

.iconWrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 10px;
}

.iconWrapper:before {
    content: "";
    position: absolute;
    top: auto;
    left: auto;
    bottom: 50%;
    right: 50%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(90.45deg, #6AA9FF 2.87%, #7E73FF 51.04%, #CA66F1 98.99%);
    opacity: 0.25;
    transform: translate(50%, 50%);
}

.icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 999;
}

.serviceIcon {
    position: relative;
    z-index: 2;
    margin-bottom: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
}

/* FIX TYPO */
.serviceTitle {
    position: relative;
    z-index: 2;
    font-size: 18px;
    line-height: 1.25em;
    font-weight: 700;
    color: #23253A;
    margin-bottom: 14px;
    display: block;
    background: linear-gradient(90.45deg, #6AA9FF 2.87%, #7E73FF 51.04%, #CA66F1 98.99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.serviceDesc {
    position: relative;
    z-index: 2;
    color: #727C93;
    font-size: 15px;
    line-height: 1.5em;
}

.serviceArrow {
    transition: .3s ease;
    transform: translate(0, 0) rotate(0deg) scale(1);
}

.serviceCard:hover .serviceArrow {
    transform: translate(0, -5px) rotate(-45deg) scale(1.2);
}

/* =========================
ACTIVE STATE
========================= */

.menuItem:hover>.menuLink {
    color: #7E73FF;
}

/* soft glow underline reinforcement */
.menuItem:hover>.menuLink::after {
    box-shadow: 0 6px 18px rgba(126, 115, 255, .25);
}