/*==========================================================
1. RESET & BASE
==========================================================*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    font-size: clamp(.92rem, 1.4vw, 1rem);
    line-height: 1.7;
    color: var(--mm-text);
    background: #ffffff;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--mm-dark);
}

p {
    margin: 0;
}

small {
    font-size: 80%;
}

hr {
    border: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
    user-select: none;
    -webkit-user-drag: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

input,
textarea,
select {
    font: inherit;
    outline: none;
    border: none;
    background: none;
    appearance: none;
}

textarea {
    resize: vertical;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

svg,
picture,
iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}


/*==========================================================
2. ACCESSIBILITY & UTILITIES
==========================================================*/

:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid rgba(90, 44, 160, .30);
    outline-offset: 3px;
    border-radius: 8px;
}

::selection,
::-moz-selection {
    background: var(--mm-primary);
    color: #ffffff;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f5f8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--mm-primary), var(--mm-accent));
    border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mm-primary);
}

/* Consolidated Base Transitions */
a,
button,
input,
textarea,
select,
img {
    transition: all .35s ease;
}

[hidden] {
    display: none !important;
}

.mm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.mm-menu-open,
body.mm-search-open {
    overflow: hidden;
    touch-action: none;
}

.mm-header,
.mm-mega-menu,
.mm-mobile-menu,
.mm-mobile-overlay,
.mm-search-popup,
.mm-btn {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/*==========================================================
3. TOP BAR
==========================================================*/

.mm-topbar {
    position: relative;
    z-index: 998;
    background: linear-gradient(90deg, #2B0B66, #5A2CA0);
    color: #ffffff;
    overflow: hidden;
}

.mm-topbar::before,
.mm-topbar::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.mm-topbar::before {
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, .05);
}

.mm-topbar::after {
    bottom: -70px;
    left: -70px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, .04);
}

.mm-topbar .container {
    position: relative;
    z-index: 2;
}

.mm-topbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    gap: 25px;
}

.mm-top-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.mm-top-left a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: clamp(.82rem, 1.2vw, .875rem);
    font-weight: 500;
}

.mm-top-left a:hover {
    color: #FFD54A;
}

.mm-top-left i {
    font-size: clamp(.82rem, 1.2vw, .875rem);
    color: #FFD54A;
}

.mm-top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mm-top-right span {
    font-size: clamp(.82rem, 1.2vw, .875rem);
    font-weight: 600;
    color: #ffffff;
}

.mm-top-right a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(10px);
}

.mm-top-right a:hover {
    background: #ffffff;
    color: var(--mm-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}


/*==========================================================
4. HEADER & DESKTOP NAVIGATION
==========================================================*/

.mm-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(90, 44, 160, .08);
}

.mm-header.scrolled {
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(43, 11, 102, .08);
    border-bottom: 1px solid rgba(90, 44, 160, .06);
}

.mm-header .container {
    position: relative;
}

.mm-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    gap: 30px;
}

.mm-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
}

.mm-logo img {
    width: auto;
    height: 68px;
}

.mm-header.scrolled .mm-logo img {
    height: 60px;
}

.mm-nav {
    margin-left: auto;
}

.mm-nav > ul {
    display: flex;
    align-items: center;
    gap: 34px;
}

.mm-nav > ul > li {
    position: relative;
}

.mm-nav > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 34px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(.88rem, 1.4vw, .9375rem);
    font-weight: 600;
    color: var(--mm-dark);
}

.mm-nav > ul > li > a i {
    font-size: 11px;
}

.mm-nav > ul > li:hover > a,
.mm-nav > ul > li > a.active,
.mm-has-mega.active > a {
    color: var(--mm-primary);
}

.mm-nav > ul > li:hover > a i,
.mm-has-mega.active > a i {
    transform: rotate(180deg);
}

.mm-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 24px;
    width: 0;
    height: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--mm-primary), var(--mm-accent));
    transition: width .35s ease;
}

.mm-nav > ul > li:hover > a::after,
.mm-nav > ul > li > a.active::after,
.mm-has-mega.active > a::after {
    width: 100%;
}


/*==========================================================
5. BUTTONS & CONTROLS
==========================================================*/

.mm-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.mm-search-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F6F4FC;
    color: var(--mm-primary);
    font-size: 18px;
}

.mm-search-btn:hover {
    background: linear-gradient(135deg, var(--mm-primary), var(--mm-accent));
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(90, 44, 160, .25);
}

.mm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.mm-btn-primary {
    min-height: 52px;
    padding: 0 28px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--mm-primary), var(--mm-accent));
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(.88rem, 1.4vw, .9375rem);
    font-weight: 700;
    box-shadow: 0 18px 45px rgba(90, 44, 160, .22);
}

.mm-btn-primary:hover {
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(90, 44, 160, .30);
}

.mm-btn-primary:active {
    transform: scale(.97);
}

.mm-btn-outline {
    min-height: 52px;
    padding: 0 28px;
    border-radius: 60px;
    border: 2px solid var(--mm-primary);
    color: var(--mm-primary);
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(.88rem, 1.4vw, .9375rem);
    font-weight: 700;
}

.mm-btn-outline:hover {
    background: var(--mm-primary);
    color: #ffffff;
}

/* Hamburger Mobile Toggle */
.mm-mobile-toggle {
    position: relative;
    display: none;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #F7F5FD;
}

.mm-mobile-toggle:hover,
.mm-mobile-toggle.active {
    background: linear-gradient(135deg, var(--mm-primary), var(--mm-accent));
}

.mm-mobile-toggle span {
    position: absolute;
    width: 26px;
    height: 3px;
    border-radius: 10px;
    background: var(--mm-primary);
}

.mm-mobile-toggle:hover span,
.mm-mobile-toggle.active span {
    background: #ffffff;
}

.mm-mobile-toggle span:nth-child(1) { transform: translateY(-8px); }
.mm-mobile-toggle span:nth-child(2) { transform: translateY(0); }
.mm-mobile-toggle span:nth-child(3) { transform: translateY(8px); }

.mm-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg); }
.mm-mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.mm-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg); }


/*==========================================================
6. MEGA MENU
==========================================================*/

.mm-has-mega {
    position: relative;
    z-index: 10;
}

.mm-has-mega.active {
    z-index: 999;
}

.mm-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 1280px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(90, 44, 160, .08);
    box-shadow: 0 35px 90px rgba(43, 11, 102, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.mm-has-mega:hover > .mm-mega-menu,
.mm-has-mega.active > .mm-mega-menu,
.mm-has-mega:focus-within > .mm-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-35%) translateY(0);
    animation: mmMegaFade .35s ease;
}

.mm-mega-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-top: 1px solid rgba(90, 44, 160, .08);
    border-left: 1px solid rgba(90, 44, 160, .08);
    transform: translateX(-50%) rotate(45deg);
    z-index: 1;
}

.mm-mega-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 340px;
    gap: 40px;
    padding: 45px;
    align-items: flex-start;
}

.mm-mega-menu::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(90, 44, 160, .04);
}

.mm-mega-column {
    display: flex;
    flex-direction: column;
}

.mm-mega-column h4 {
    margin-bottom: 22px;
    padding-bottom: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--mm-primary);
    border-bottom: 2px solid rgba(90, 44, 160, .08);
}

.mm-mega-column a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    margin-bottom: 10px;
    border-radius: 16px;
    color: var(--mm-dark);
    font-size: clamp(.88rem, 1.4vw, .9375rem);
    font-weight: 500;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
}

.mm-mega-column a:last-child {
    margin-bottom: 0;
}

.mm-mega-column a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(90, 44, 160, .05), rgba(156, 31, 99, .05));
    opacity: 0;
    border-radius: 16px;
}

.mm-mega-column a:hover::before {
    opacity: 1;
}

.mm-mega-column a i {
    position: relative;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #F7F5FD;
    color: var(--mm-primary);
    font-size: 16px;
}

.mm-mega-column a span {
    position: relative;
    z-index: 2;
    flex: 1;
}

.mm-mega-column a:hover {
    color: var(--mm-primary);
    transform: translateX(8px);
}

.mm-mega-column a:hover i {
    background: linear-gradient(135deg, var(--mm-primary), var(--mm-accent));
    color: #ffffff;
    transform: rotate(-8deg) scale(1.08);
}

.mm-mega-column a::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    opacity: 0;
    color: var(--mm-primary);
}

.mm-mega-column a:hover::after {
    right: 16px;
    opacity: 1;
}

/* Stagger Animations */
.mm-has-mega:hover .mm-mega-column a,
.mm-has-mega.active .mm-mega-column a {
    opacity: 1;
    transform: translateY(0);
}

.mm-has-mega:hover .mm-mega-column a:nth-child(2), .mm-has-mega.active .mm-mega-column a:nth-child(2) { transition-delay: .05s; }
.mm-has-mega:hover .mm-mega-column a:nth-child(3), .mm-has-mega.active .mm-mega-column a:nth-child(3) { transition-delay: .10s; }
.mm-has-mega:hover .mm-mega-column a:nth-child(4), .mm-has-mega.active .mm-mega-column a:nth-child(4) { transition-delay: .15s; }
.mm-has-mega:hover .mm-mega-column a:nth-child(5), .mm-has-mega.active .mm-mega-column a:nth-child(5) { transition-delay: .20s; }
.mm-has-mega:hover .mm-mega-column a:nth-child(6), .mm-has-mega.active .mm-mega-column a:nth-child(6) { transition-delay: .25s; }
.mm-has-mega:hover .mm-mega-column a:nth-child(7), .mm-has-mega.active .mm-mega-column a:nth-child(7) { transition-delay: .30s; }

.mm-has-mega.active .mm-mega-column,
.mm-has-mega:hover .mm-mega-column {
    animation: mmMegaColumn .45s ease;
}

/* Mega Menu Highlight Card */
.mm-mega-highlight {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, #2B0B66 0%, #5A2CA0 50%, #9C1F63 100%);
    color: #ffffff;
    box-shadow: 0 25px 70px rgba(43, 11, 102, .18);
}

.mm-has-mega.active .mm-mega-highlight,
.mm-has-mega:hover .mm-mega-highlight {
    animation: mmMegaHighlight .5s ease;
}

.mm-mega-highlight::before,
.mm-mega-highlight::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.mm-mega-highlight::before {
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, .08);
}

.mm-mega-highlight::after {
    left: -70px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, .05);
}

.mm-mega-highlight > * {
    position: relative;
    z-index: 2;
}

.mm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 8px 18px;
    margin-bottom: 22px;
    border-radius: 40px;
    background: #ffffff;
    color: var(--mm-primary);
    font-size: clamp(.7rem, 1.1vw, .75rem);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mm-mega-highlight h3 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(1.4rem, 2.8vw, 1.875rem);
    line-height: 1.3;
    font-weight: 800;
}

.mm-mega-highlight p {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .90);
    font-size: clamp(.88rem, 1.4vw, .9375rem);
    line-height: 1.9;
}

.mm-mega-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 34px;
}

.mm-mega-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: clamp(.88rem, 1.4vw, .9375rem);
    font-weight: 500;
}

.mm-mega-features li i {
    color: #8DFFB2;
    font-size: 16px;
}

.mm-mega-highlight .mm-btn {
    width: max-content;
    min-width: 210px;
}

.mm-mega-highlight .mm-btn-primary {
    background: #ffffff;
    color: var(--mm-primary);
    box-shadow: none;
}

.mm-mega-highlight .mm-btn-primary:hover {
    background: #F7F5FD;
    color: var(--mm-accent);
    transform: translateY(-4px);
}

.mm-mega-highlight:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 90px rgba(43, 11, 102, .22);
}


/*==========================================================
7. MOBILE DRAWER & OVERLAY
==========================================================*/

.mm-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 9998;
}

.mm-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mm-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), opacity .30s ease, visibility .30s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .15);
    z-index: 9999;
    overflow: hidden;
}

.mm-mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    box-shadow: -25px 0 80px rgba(43, 11, 102, .20);
}

.mm-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    min-height: 86px;
    border-bottom: 1px solid rgba(90, 44, 160, .08);
    background: #ffffff;
    flex-shrink: 0;
}

@supports(padding: max(0px)) {
    .mm-mobile-header {
        padding-top: max(20px, env(safe-area-inset-top));
    }
}

.mm-mobile-logo {
    display: flex;
    align-items: center;
}

.mm-mobile-logo img {
    height: 58px;
    width: auto;
}

.mm-mobile-close {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #F7F5FD;
    color: var(--mm-primary);
    font-size: 20px;
}

.mm-mobile-close:hover {
    background: linear-gradient(135deg, var(--mm-primary), var(--mm-accent));
    color: #ffffff;
    transform: rotate(90deg);
}

.mm-mobile-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 22px 24px;
    background: #ffffff;
    scrollbar-width: thin;
    scrollbar-color: var(--mm-primary) #f5f5f5;
}

.mm-mobile-body::-webkit-scrollbar {
    width: 6px;
}

.mm-mobile-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.mm-mobile-body::-webkit-scrollbar-thumb {
    background: var(--mm-primary);
    border-radius: 30px;
}

.mm-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mm-mobile-nav > li {
    border-bottom: 1px solid rgba(90, 44, 160, .08);
    opacity: 0;
    transform: translateY(15px);
}

.mm-mobile-nav > li:last-child {
    border-bottom: none;
}

.mm-mobile-nav > li > a,
.mm-mobile-dropdown-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    color: var(--mm-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(.92rem, 1.5vw, 1rem);
    font-weight: 600;
    text-align: left;
}

.mm-mobile-nav > li > a:hover,
.mm-mobile-nav > li > a.active,
.mm-mobile-dropdown-btn:hover,
.mm-mobile-dropdown.active > .mm-mobile-dropdown-btn {
    color: var(--mm-primary);
}

.mm-mobile-nav > li > a.active {
    font-weight: 700;
}

.mm-mobile-dropdown-btn i {
    font-size: 14px;
    transition: transform .35s ease;
}

.mm-mobile-dropdown.active .mm-mobile-dropdown-btn i {
    transform: rotate(180deg);
}

.mm-mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease;
    padding-left: 16px;
}

.mm-mobile-dropdown.active .mm-mobile-submenu {
    max-height: 900px;
    padding-bottom: 12px;
}

.mm-mobile-submenu li {
    margin-bottom: 6px;
}

.mm-mobile-submenu li:last-child {
    margin-bottom: 0;
}

.mm-mobile-submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #555;
    font-size: clamp(.85rem, 1.3vw, .9375rem);
    font-weight: 500;
}

.mm-mobile-submenu a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mm-primary);
    flex-shrink: 0;
}

.mm-mobile-submenu a:hover,
.mm-mobile-submenu a.active {
    background: #F7F5FD;
    color: var(--mm-primary);
    transform: translateX(6px);
}

.mm-mobile-dropdown.active {
    padding-bottom: 6px;
}

.mm-mobile-footer {
    margin-top: 35px;
    padding-top: 28px;
    border-top: 1px solid rgba(90, 44, 160, .08);
}

.mm-mobile-footer > a {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: #555;
    font-size: clamp(.85rem, 1.3vw, .9375rem);
    font-weight: 500;
}

.mm-mobile-footer > a:last-of-type {
    margin-bottom: 25px;
}

.mm-mobile-footer > a i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #F7F5FD;
    color: var(--mm-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.mm-mobile-footer > a:hover {
    color: var(--mm-primary);
}

.mm-mobile-footer > a:hover i {
    background: linear-gradient(135deg, var(--mm-primary), var(--mm-accent));
    color: #ffffff;
    transform: translateY(-3px);
}

.mm-mobile-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 30px 0;
}

.mm-mobile-social a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F7F5FD;
    color: var(--mm-primary);
    font-size: 18px;
}

.mm-mobile-social a:hover {
    background: linear-gradient(135deg, var(--mm-primary), var(--mm-accent));
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(90, 44, 160, .25);
}

.mm-mobile-btn {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: clamp(.88rem, 1.4vw, .9375rem);
    font-weight: 700;
    margin-top: 10px;
}

.mm-mobile-copy {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(90, 44, 160, .08);
    text-align: center;
    color: #888;
    font-size: clamp(.75rem, 1.1vw, .8125rem);
    line-height: 1.8;
}

/* Mobile Drawer Stagger Transitions */
.mm-mobile-header,
.mm-mobile-nav,
.mm-mobile-footer {
    opacity: 0;
    transform: translateX(25px);
    transition: opacity .35s ease, transform .35s ease;
}

.mm-mobile-menu.active .mm-mobile-header,
.mm-mobile-menu.active .mm-mobile-nav,
.mm-mobile-menu.active .mm-mobile-footer {
    opacity: 1;
    transform: translateX(0);
}

.mm-mobile-menu.active .mm-mobile-header { transition-delay: .10s; }
.mm-mobile-menu.active .mm-mobile-nav { transition-delay: .18s; }
.mm-mobile-menu.active .mm-mobile-footer { transition-delay: .28s; }

.mm-mobile-menu.active .mm-mobile-nav > li {
    opacity: 1;
    transform: translateY(0);
}

.mm-mobile-menu.active .mm-mobile-nav > li:nth-child(1) { transition-delay: .05s; }
.mm-mobile-menu.active .mm-mobile-nav > li:nth-child(2) { transition-delay: .08s; }
.mm-mobile-menu.active .mm-mobile-nav > li:nth-child(3) { transition-delay: .11s; }
.mm-mobile-menu.active .mm-mobile-nav > li:nth-child(4) { transition-delay: .14s; }
.mm-mobile-menu.active .mm-mobile-nav > li:nth-child(5) { transition-delay: .17s; }
.mm-mobile-menu.active .mm-mobile-nav > li:nth-child(6) { transition-delay: .20s; }
.mm-mobile-menu.active .mm-mobile-nav > li:nth-child(7) { transition-delay: .23s; }
.mm-mobile-menu.active .mm-mobile-nav > li:nth-child(8) { transition-delay: .26s; }
.mm-mobile-menu.active .mm-mobile-nav > li:nth-child(9) { transition-delay: .29s; }


/*==========================================================
8. SEARCH POPUP
==========================================================*/

.mm-search-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(16, 18, 35, .75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99999;
}

.mm-search-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mm-search-box {
    position: relative;
    width: 100%;
    max-width: 820px;
    padding: 55px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 40px 100px rgba(43, 11, 102, .20);
    transform: translateY(30px) scale(.96);
    overflow: hidden;
}

.mm-search-popup.active .mm-search-box {
    transform: translateY(0) scale(1);
}

.mm-search-box::before,
.mm-search-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.mm-search-box::before {
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    background: rgba(90, 44, 160, .05);
}

.mm-search-box::after {
    left: -80px;
    bottom: -80px;
    width: 180px;
    height: 180px;
    background: rgba(156, 31, 99, .05);
}

.mm-search-box > * {
    position: relative;
    z-index: 2;
}

.mm-search-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F7F5FD;
    color: var(--mm-primary);
    font-size: 18px;
}

.mm-search-close:hover {
    background: linear-gradient(135deg, var(--mm-primary), var(--mm-accent));
    color: #ffffff;
    transform: rotate(90deg);
}

.mm-search-tag {
    display: inline-block;
    padding: 8px 18px;
    margin-bottom: 18px;
    border-radius: 30px;
    background: #F7F5FD;
    color: var(--mm-primary);
    font-size: clamp(.75rem, 1.1vw, .8125rem);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mm-search-box h2 {
    margin-bottom: 18px;
    font-size: clamp(1.6rem, 3.8vw, 2.375rem);
    font-weight: 800;
    line-height: 1.25;
}

.mm-search-box p {
    margin-bottom: 35px;
    color: #666;
    font-size: clamp(.88rem, 1.4vw, 1rem);
    line-height: 1.8;
}

.mm-search-form {
    margin-bottom: 35px;
}

.mm-search-input {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 12px 12px 25px;
    border: 2px solid rgba(90, 44, 160, .10);
    border-radius: 70px;
    background: #ffffff;
}

.mm-search-input:focus-within {
    border-color: var(--mm-primary);
    box-shadow: 0 12px 35px rgba(90, 44, 160, .10);
}

.mm-search-input i {
    color: var(--mm-primary);
    font-size: 20px;
}

.mm-search-input input {
    flex: 1;
    font-size: clamp(.88rem, 1.4vw, 1rem);
    color: #333;
}

.mm-search-input input::placeholder {
    color: #999;
}

.mm-search-input .mm-btn {
    min-width: 150px;
    height: 56px;
}

.mm-search-popular {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mm-search-popular span {
    font-size: clamp(.85rem, 1.3vw, .9375rem);
    font-weight: 700;
    color: #333;
    margin-right: 5px;
}

.mm-search-popular a {
    padding: 10px 18px;
    border-radius: 30px;
    background: #F7F5FD;
    color: #666;
    font-size: clamp(.82rem, 1.2vw, .875rem);
    font-weight: 600;
}

.mm-search-popular a:hover {
    background: linear-gradient(135deg, var(--mm-primary), var(--mm-accent));
    color: #ffffff;
}


/*==========================================================
9. GLOBAL ANIMATIONS
==========================================================*/

.mm-fade-up { animation: mmFadeUp .7s ease forwards; }
.mm-fade-down { animation: mmFadeDown .7s ease forwards; }
.mm-fade-left { animation: mmFadeLeft .7s ease forwards; }
.mm-fade-right { animation: mmFadeRight .7s ease forwards; }

.mm-hover-up {
    transition: transform .35s ease, box-shadow .35s ease;
}

.mm-hover-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(43, 11, 102, .12);
}

.mm-loading {
    pointer-events: none;
    opacity: .65;
}

.mm-loading * {
    cursor: wait !important;
}
