:root {
    --mvm-accent: #0B5CFF;
    --mvm-dark: #061A40;
    --mvm-white: #ffffff;
    --mvm-muted: #64748b;
    --mvm-border: rgba(15, 23, 42, .10);
    --mvm-shadow: 0 28px 80px rgba(2, 8, 23, .20);
}

.mvm-shell, .mvm-shell * { box-sizing: border-box; }
.mvm-shell { z-index: 9996; width: 100%; position: relative; }
.mvm-sticky { position: sticky; top: 0; z-index: 9995; }

/* ============================================ */
/* TRUST STRIP */
/* ============================================ */
.mvm-trust-strip {
    background: linear-gradient(90deg, var(--mvm-dark), #0b2b66);
    color: rgba(255,255,255,.88);
    font-size: 13px;
    min-height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 8px 16px;
    flex-wrap: wrap;
}
.mvm-trust-strip a { color: #fff; font-weight: 800; text-decoration: underline; }

/* ============================================ */
/* MAIN WRAPPER */
/* ============================================ */
.mvm-wrap {
    width: 100%;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--mvm-border);
}

.mvm-inner {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 82px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* ============================================ */
/* BRANDING */
/* ============================================ */
.mvm-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--mvm-dark);
    text-decoration: none;
    white-space: nowrap;
}

.mvm-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--mvm-dark), var(--mvm-accent));
    color: #fff;
    font-weight: 950;
    font-size: 20px;
    box-shadow: 0 14px 30px rgba(11, 92, 255, .25);
}

.mvm-brand-copy { display: grid; line-height: 1.05; }
.mvm-brand-copy strong { font-weight: 950; letter-spacing: .08em; font-size: 16px; }
.mvm-brand-copy small { color: var(--mvm-muted); font-size: 11px; font-weight: 700; margin-top: 4px; }

/* ============================================ */
/* DESKTOP MENU */
/* ============================================ */
.mvm-desktop-menu { flex: 1; }
.mvm-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 3px;
}
.mvm-menu > li { position: static; }
.mvm-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 0 13px;
    text-decoration: none;
    color: var(--mvm-dark);
    font-weight: 800;
    font-size: 14px;
    border-radius: 16px;
    transition: all 0.2s ease;
}
.mvm-menu > li:hover > a,
.mvm-menu > li:focus-within > a,
.mvm-menu > li.mvm-open > a {
    color: var(--mvm-accent);
    background: rgba(11, 92, 255, .08);
}
.mvm-has-children > a::after { content: "⌄"; margin-left: 7px; font-size: 13px; transition: transform 0.2s; }
.mvm-has-children.mvm-open > a::after { transform: rotate(180deg); }

/* ============================================ */
/* MEGA PANEL */
/* ============================================ */
.mvm-mega-panel {
    position: absolute;
    left: 50%;
    top: calc(100% + 18px);
    transform: translateX(-50%) translateY(12px);
    width: min(1180px, calc(100vw - 40px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 10000;
}
.mvm-has-children:hover > .mvm-mega-panel,
.mvm-has-children:focus-within > .mvm-mega-panel,
.mvm-has-children.mvm-open > .mvm-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Admin bar offset */
.admin-bar .mvm-mega-panel { top: calc(100% + 50px); }

.mvm-mega-grid {
    display: grid;
    grid-template-columns: 1.05fr 2.05fr .9fr;
    gap: 22px;
    padding: 26px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--mvm-border);
    box-shadow: var(--mvm-shadow);
    max-height: 70vh;
    overflow-y: auto;
}

/* Panel Style Variations */
.mvm-panel-glass .mvm-mega-grid {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(22px);
}
.mvm-panel-corporate .mvm-mega-grid {
    border-radius: 12px;
    box-shadow: 0 16px 50px rgba(2, 8, 23, .14);
}

/* Mega Intro Section */
.mvm-kicker {
    color: var(--mvm-accent);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: .14em;
}
.mvm-mega-intro h3 {
    margin: 10px 0;
    color: var(--mvm-dark);
    font-size: clamp(22px, 2vw, 30px);
}
.mvm-mega-intro p,
.mvm-mega-card p {
    color: var(--mvm-muted);
    line-height: 1.62;
    margin: 0;
}
.mvm-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.mvm-mini-stats span {
    background: rgba(11, 92, 255, .08);
    color: var(--mvm-accent);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 850;
}

/* Mega Sub Menu */
.mvm-sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 14px;
}
.mvm-sub-menu li { break-inside: avoid; margin-bottom: 9px; }
.mvm-sub-menu a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    min-height: 72px;
    border-radius: 18px;
    color: var(--mvm-dark);
    text-decoration: none;
    font-weight: 800;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.mvm-sub-menu a:hover,
.mvm-featured-item > a {
    background: #fff;
    border-color: rgba(11, 92, 255, .24);
    color: var(--mvm-accent);
    box-shadow: 0 10px 26px rgba(2, 8, 23, .06);
}
.mvm-item-icon {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(11, 92, 255, .08);
    color: var(--mvm-accent);
    flex: 0 0 auto;
    font-size: 16px;
}
.mvm-link-copy { display: grid; gap: 5px; }
.mvm-link-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mvm-link-copy small {
    color: var(--mvm-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}
.mvm-badge {
    font-style: normal;
    font-size: 10px;
    padding: 4px 7px;
    border-radius: 999px;
    color: #fff;
    background: var(--mvm-accent);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Mega Card */
.mvm-mega-card {
    position: relative;
    overflow: hidden;
    padding: 21px;
    border-radius: 24px;
    color: #fff;
    background: radial-gradient(circle at top right, rgba(255,255,255,.22), transparent 30%), linear-gradient(145deg, var(--mvm-dark), var(--mvm-accent));
}
.mvm-card-label {
    display: inline-flex;
    margin-bottom: 14px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 850;
}
.mvm-mega-card strong { display: block; font-size: 20px; margin-bottom: 8px; }
.mvm-mega-card p { color: rgba(255,255,255,.84); margin-bottom: 18px; }
.mvm-mega-card a {
    display: inline-flex;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--mvm-dark);
    text-decoration: none;
    font-weight: 950;
}

/* ============================================ */
/* ACTIONS (Search & CTA) */
/* ============================================ */
.mvm-actions { display: inline-flex; align-items: center; gap: 10px; }
.mvm-search-toggle, .mvm-mobile-trigger, .mvm-mobile-close, .mvm-floating-burger { border: 0; cursor: pointer; }
.mvm-search-toggle {
    width: 43px;
    height: 43px;
    border-radius: 15px;
    background: #f1f5f9;
    color: var(--mvm-dark);
    font-size: 24px;
    transition: all 0.2s;
}
.mvm-search-toggle:hover {
    background: var(--mvm-accent);
    color: #fff;
}
.mvm-cta {
    background: var(--mvm-accent);
    color: #fff;
    text-decoration: none;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 950;
    box-shadow: 0 12px 25px rgba(11, 92, 255, .22);
    transition: all 0.2s;
}
.mvm-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(11, 92, 255, .35);
}

/* ============================================ */
/* SEARCH PANEL */
/* ============================================ */
.mvm-search-panel { 
    border-top: 1px solid var(--mvm-border); 
    padding: 16px; 
    background: #fff;
}
.mvm-search-panel form { max-width: 900px; margin: 0 auto; display: flex; gap: 10px; }
.mvm-search-panel input {
    flex: 1;
    border: 1px solid var(--mvm-border);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
}
.mvm-search-panel input:focus {
    outline: none;
    border-color: var(--mvm-accent);
}
.mvm-search-panel button {
    border: 0;
    border-radius: 14px;
    padding: 0 20px;
    background: var(--mvm-dark);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}
.mvm-search-panel button:hover {
    background: var(--mvm-accent);
}

/* ============================================ */
/* MOBILE TRIGGER */
/* ============================================ */
.mvm-mobile-trigger { 
    display: none; 
    width: 46px; 
    height: 46px; 
    border-radius: 16px; 
    background: var(--mvm-dark); 
    padding: 12px;
    transition: background 0.2s;
}
.mvm-mobile-trigger:hover { background: var(--mvm-accent); }
.mvm-mobile-trigger span, .mvm-floating-burger span { 
    display: block; 
    height: 2px; 
    background: #fff; 
    margin: 5px 0; 
    border-radius: 999px; 
}

/* ============================================ */
/* MOBILE DRAWER */
/* ============================================ */
.mvm-mobile-drawer {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 23, .58);
    backdrop-filter: blur(8px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: .22s ease;
}
.mvm-mobile-drawer.is-open { opacity: 1; visibility: visible; }
.mvm-mobile-panel {
    width: min(410px, 85vw);
    height: 100%;
    background: #fff;
    padding: 22px;
    transition: .25s ease;
    overflow-y: auto;
}
.mvm-mobile-left .mvm-mobile-panel { transform: translateX(-105%); }
.mvm-mobile-right .mvm-mobile-panel { margin-left: auto; transform: translateX(105%); }
.mvm-mobile-drawer.is-open .mvm-mobile-panel { transform: translateX(0); }

/* Mobile Drawer Header */
.mvm-mobile-head { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: var(--mvm-dark); 
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mvm-border);
}
.mvm-mobile-head strong { display: block; font-size: 18px; }
.mvm-mobile-head small { color: var(--mvm-muted); font-weight: 700; }
.mvm-mobile-close { 
    width: 42px; 
    height: 42px; 
    border-radius: 14px; 
    background: #f1f5f9; 
    color: var(--mvm-dark); 
    font-size: 28px;
    transition: background 0.2s;
}
.mvm-mobile-close:hover { background: #e2e8f0; }

/* Mobile Search */
.mvm-mobile-search input {
    width: 100%;
    border: 1px solid var(--mvm-border);
    border-radius: 16px;
    padding: 13px 14px;
    margin-bottom: 16px;
    font-size: 16px;
}
.mvm-mobile-search input:focus {
    outline: none;
    border-color: var(--mvm-accent);
}

/* Mobile Menu */
.mvm-mobile-menu, .mvm-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mvm-mobile-menu li { position: relative; border-bottom: 1px solid var(--mvm-border); }
.mvm-mobile-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 8px;
    color: var(--mvm-dark);
    text-decoration: none;
    font-weight: 850;
    gap: 10px;
}
.mvm-mobile-menu .mvm-mobile-icon {
    font-size: 18px;
    min-width: 28px;
}
.mvm-mobile-menu .mvm-mobile-badge {
    background: var(--mvm-accent);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 8px;
}
.mvm-mobile-menu .mvm-mobile-desc {
    display: block;
    font-size: 11px;
    color: var(--mvm-muted);
    font-weight: normal;
    margin-top: 4px;
}
.mvm-mobile-menu ul {
    display: none;
    background: #f8fafc;
    border-radius: 14px;
    margin: 8px 0;
    padding: 5px 0 5px 20px;
}
.mvm-mobile-menu li.is-expanded > ul { display: block; }
.mvm-mobile-menu ul a { padding-left: 24px; color: var(--mvm-muted); font-weight: 750; }
.mvm-mobile-menu .menu-item-has-children > a::after { 
    content: "+"; 
    color: var(--mvm-accent); 
    font-weight: 950;
    font-size: 16px;
}
.mvm-mobile-menu .menu-item-has-children.is-expanded > a::after { content: "−"; }

/* Mobile CTA */
.mvm-mobile-cta {
    display: block;
    margin-top: 22px;
    text-align: center;
    padding: 15px 18px;
    border-radius: 18px;
    background: var(--mvm-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    transition: all 0.2s;
}
.mvm-mobile-cta:hover {
    transform: translateY(-2px);
    background: #003366;
}

/* ============================================ */
/* FLOATING BURGER */
/* ============================================ */
.mvm-floating-burger {
    display: none;
    position: fixed;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--mvm-dark), var(--mvm-accent));
    z-index: 99997;
    box-shadow: 0 20px 45px rgba(2, 8, 23, .28);
    padding: 15px;
    transition: all 0.2s;
}
.mvm-floating-burger:hover {
    transform: scale(1.05);
}
.mvm-float-right { right: 18px; }
.mvm-float-left { left: 18px; }

/* ============================================ */
/* RESPONSIVE BREAKPOINTS */
/* ============================================ */
@media (max-width: 992px) {
    .mvm-desktop-menu, .mvm-actions { display: none; }
    .mvm-inner { min-height: 72px; justify-content: space-between; }
    .mvm-mobile-trigger, .mvm-floating-burger { display: block; }
    .mvm-trust-strip { display: none; }
}

@media (max-width: 768px) {
    .mvm-inner { padding: 0 14px; }
    .mvm-brand-mark { width: 40px; height: 40px; border-radius: 14px; font-size: 18px; }
    .mvm-brand-copy small { display: none; }
    .mvm-floating-burger { width: 50px; height: 50px; padding: 12px; bottom: 80px; }
}

@media (max-width: 640px) {
    .mvm-mega-grid {
        grid-template-columns: 1fr;
        max-height: 80vh;
    }
    .mvm-sub-menu {
        columns: 1;
    }
    .mvm-mini-stats {
        display: none;
    }
}