/* ============================================================
   MM NETWORK THEME - STYLES PRINCIPAUX
   Palette : Vert (#10b981) / Noir (#111827) / Blanc (#ffffff)
   ============================================================ */

:root {
    --mm-primary: #10b981;
    --mm-primary-dark: #059669;
    --mm-primary-light: #34d399;
    --mm-primary-50: #ecfdf5;
    --mm-black: #000000;
    --mm-gray-900: #111827;
    --mm-gray-800: #1f2937;
    --mm-gray-700: #374151;
    --mm-gray-600: #4b5563;
    --mm-gray-500: #6b7280;
    --mm-gray-400: #9ca3af;
    --mm-gray-300: #d1d5db;
    --mm-gray-200: #e5e7eb;
    --mm-gray-100: #f3f4f6;
    --mm-gray-50: #f9fafb;
    --mm-white: #ffffff;
    --mm-success: #10b981;
    --mm-warning: #f59e0b;
    --mm-danger: #ef4444;
    --mm-info: #3b82f6;
    --mm-radius-sm: 0.25rem;
    --mm-radius-md: 0.5rem;
    --mm-radius-lg: 0.75rem;
    --mm-radius-xl: 1rem;
    --mm-radius-full: 9999px;
    --mm-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --mm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --mm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --mm-transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--mm-gray-800);
    background-color: var(--mm-gray-50);
}

a { color: var(--mm-primary); text-decoration: none; transition: var(--mm-transition); }
a:hover { color: var(--mm-primary-dark); }

/* --- Layout Principal --- */
.mm-app-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.mm-layout-container { display: flex; flex: 1; margin-top: 70px; }

/* --- Header --- */
.mm-header {
    position: fixed; top: 0; left: 0; right: 0; height: 70px;
    background: var(--mm-white); border-bottom: 1px solid var(--mm-gray-200);
    z-index: 1000; box-shadow: var(--mm-shadow-sm);
}
.mm-header-content {
    max-width: 100%; height: 100%; padding: 0 1.5rem;
    display: flex; align-items: center; gap: 1.5rem;
}
.mm-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.25rem; font-weight: 700; color: var(--mm-gray-900);
}
.mm-logo i { color: var(--mm-primary); font-size: 1.75rem; }
.mm-header-search { flex: 1; max-width: 500px; position: relative; }
.mm-header-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--mm-gray-400); }
.mm-search-input {
    width: 100%; padding: 0.625rem 1rem 0.625rem 2.75rem;
    border: 1px solid var(--mm-gray-200); border-radius: var(--mm-radius-full);
    background: var(--mm-gray-50); font-size: 0.875rem;
}
.mm-search-input:focus { outline: none; border-color: var(--mm-primary); background: var(--mm-white); }

.mm-user-menu { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.mm-icon-btn {
    width: 40px; height: 40px; border-radius: var(--mm-radius-full);
    background: var(--mm-gray-50); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--mm-gray-700); position: relative; transition: var(--mm-transition);
}
.mm-icon-btn:hover { background: var(--mm-primary-50); color: var(--mm-primary); }
.mm-badge-dot {
    position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px;
    border-radius: var(--mm-radius-full); background: var(--mm-danger);
    color: var(--mm-white); font-size: 0.65rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; padding: 0 4px;
    border: 2px solid var(--mm-white);
}

/* --- Sidebar --- */
.mm-sidebar {
    width: 260px; background: var(--mm-white); border-right: 1px solid var(--mm-gray-200);
    height: calc(100vh - 70px); position: fixed; top: 70px; left: 0;
    overflow-y: auto; display: flex; flex-direction: column; z-index: 100;
    transition: var(--mm-transition);
}
.mm-sidebar-header { padding: 1.5rem; border-bottom: 1px solid var(--mm-gray-100); }
.mm-sidebar-profile { display: flex; align-items: center; gap: 0.75rem; }
.mm-sidebar-avatar {
    width: 42px; height: 42px; border-radius: var(--mm-radius-full);
    background: linear-gradient(135deg, var(--mm-primary) 0%, var(--mm-primary-dark) 100%);
    color: var(--mm-white); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.mm-sidebar-name { font-weight: 600; font-size: 0.9rem; color: var(--mm-gray-900); }
.mm-sidebar-role { font-size: 0.75rem; color: var(--mm-primary); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.mm-nav-section { margin-bottom: 1rem; }
.mm-nav-section-title {
    padding: 0.5rem 1.5rem; font-size: 0.7rem; font-weight: 700;
    color: var(--mm-gray-500); text-transform: uppercase; letter-spacing: 0.1em;
}
.mm-nav-list { list-style: none; padding: 0; margin: 0; }
.mm-nav-item { margin: 2px 0.5rem; }
.mm-nav-link {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem;
    color: var(--mm-gray-700); font-size: 0.875rem; font-weight: 500;
    border-radius: var(--mm-radius-md); transition: all 0.15s ease; text-decoration: none;
}
.mm-nav-link:hover { background: var(--mm-primary-50); color: var(--mm-primary); }
.mm-nav-link i:first-child { width: 20px; text-align: center; font-size: 1rem; }
.mm-nav-label { flex: 1; }
.mm-nav-item-active > .mm-nav-link { background: var(--mm-primary); color: var(--mm-white); font-weight: 600; }
.mm-nav-item-active > .mm-nav-link:hover { background: var(--mm-primary-dark); color: var(--mm-white); }
/* ============================================================
   SOUS-MENUS DE LA SIDEBAR (ACCORDÉON)
   ============================================================ */

/* Conteneur du sous-menu (fermé par défaut) */
.mm-nav-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: var(--mm-gray-50);
    border-radius: var(--mm-radius-md);
    transition: max-height 0.35s ease-out, opacity 0.3s ease-out, margin 0.3s ease;
}

/* État ouvert du sous-menu */
.mm-nav-has-children.open .mm-nav-submenu {
    max-height: 500px; /* Valeur suffisamment grande pour contenir les éléments */
    opacity: 1;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Rotation du chevron quand le menu est ouvert */
.mm-nav-has-children.open .mm-nav-arrow {
    transform: rotate(180deg);
    color: var(--mm-primary);
}

/* Style des liens du sous-menu */
.mm-nav-subitem a {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem 0.6rem 3.5rem; /* Indentation pour montrer la hiérarchie */
    color: var(--mm-gray-600);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: var(--mm-transition);
    position: relative;
}

/* Petit point décoratif avant le texte du sous-menu */
.mm-nav-subitem a::before {
    content: '';
    position: absolute;
    left: 2.25rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mm-gray-400);
    transition: var(--mm-transition);
}

/* Hover et état actif des sous-éléments */
.mm-nav-subitem a:hover,
.mm-nav-subitem a.active {
    color: var(--mm-primary);
    border-left-color: var(--mm-primary);
    background: var(--mm-white);
    font-weight: 600;
}

.mm-nav-subitem a:hover::before,
.mm-nav-subitem a.active::before {
    background: var(--mm-primary);
}
/* --- Contenu Principal --- */
.mm-main-content {
    flex: 1; margin-left: 260px; padding: 1.5rem;
    min-height: calc(100vh - 70px); background: var(--mm-gray-50);
}
.mm-page-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 3px solid var(--mm-primary);
    flex-wrap: wrap; gap: 1rem;
}
.mm-page-title { font-size: 1.75rem; font-weight: 700; color: var(--mm-gray-900); margin: 0; }
.mm-breadcrumbs { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.85rem; }
.mm-breadcrumb-item { color: var(--mm-gray-500); text-decoration: none; display: flex; align-items: center; gap: 4px; }
.mm-breadcrumb-current { color: var(--mm-gray-900); font-weight: 600; }

/* --- Cartes et Stats --- */
.mm-card {
    background: var(--mm-white); border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-md); padding: 1.5rem; margin-bottom: 1.5rem;
    border: 1px solid var(--mm-gray-200);
}
.mm-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 2px solid var(--mm-gray-100);
}
.mm-card-title { font-size: 1.25rem; font-weight: 700; color: var(--mm-gray-900); display: flex; align-items: center; gap: 0.5rem; }
.mm-card-title i { color: var(--mm-primary); }

.mm-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.mm-stat-card {
    background: var(--mm-white); border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-md); padding: 1.5rem;
    border-left: 4px solid var(--mm-primary); transition: var(--mm-transition);
}
.mm-stat-card:hover { transform: translateY(-2px); box-shadow: var(--mm-shadow-lg); }
.mm-stat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.mm-stat-label { font-size: 0.8rem; font-weight: 600; color: var(--mm-gray-600); text-transform: uppercase; letter-spacing: 0.05em; }
.mm-stat-icon {
    width: 48px; height: 48px; border-radius: var(--mm-radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; background: var(--mm-primary-50); color: var(--mm-primary);
}
.mm-stat-value { font-size: 2rem; font-weight: 700; color: var(--mm-gray-900); margin-bottom: 0.25rem; }
.mm-stat-change { font-size: 0.875rem; color: var(--mm-gray-500); }

/* --- Tableaux --- */
.mm-table-container { overflow-x: auto; background: var(--mm-white); border-radius: var(--mm-radius-lg); box-shadow: var(--mm-shadow-md); border: 1px solid var(--mm-gray-200); }
.mm-table { width: 100%; border-collapse: collapse; }
.mm-table thead { background: var(--mm-gray-900); color: var(--mm-white); }
.mm-table th { padding: 1rem; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.mm-table td { padding: 1rem; font-size: 0.875rem; color: var(--mm-gray-700); border-bottom: 1px solid var(--mm-gray-100); vertical-align: middle; }
.mm-table tbody tr:hover { background: var(--mm-primary-50); }

/* --- Badges & Alertes --- */
.mm-badge {
    display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.75rem;
    font-size: 0.7rem; font-weight: 700; border-radius: var(--mm-radius-full);
    text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}
.mm-badge-success { background: rgba(16, 185, 129, 0.15); color: var(--mm-success); }
.mm-badge-warning { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.mm-badge-danger { background: rgba(239, 68, 68, 0.15); color: var(--mm-danger); }
.mm-badge-info { background: rgba(59, 130, 246, 0.15); color: var(--mm-info); }
.mm-badge-secondary { background: var(--mm-gray-100); color: var(--mm-gray-700); }

.mm-alert {
    padding: 1rem; border-radius: var(--mm-radius-md); margin-bottom: 1rem;
    border-left: 4px solid; display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem;
}
.mm-alert i { font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }
.mm-alert-success { background: rgba(16, 185, 129, 0.1); border-color: var(--mm-success); color: #065f46; }
.mm-alert-warning { background: rgba(245, 158, 11, 0.1); border-color: var(--mm-warning); color: #92400e; }
.mm-alert-danger { background: rgba(239, 68, 68, 0.1); border-color: var(--mm-danger); color: #991b1b; }
.mm-alert-info { background: rgba(59, 130, 246, 0.1); border-color: var(--mm-info); color: #1e40af; }

/* --- Boutons --- */
.mm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 600;
    border: none; border-radius: var(--mm-radius-md); cursor: pointer;
    transition: var(--mm-transition); text-decoration: none; font-family: inherit;
}
.mm-btn:hover { transform: translateY(-1px); box-shadow: var(--mm-shadow-md); }
.mm-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.mm-btn-primary { background: var(--mm-primary); color: var(--mm-white); }
.mm-btn-primary:hover { background: var(--mm-primary-dark); color: var(--mm-white); }
.mm-btn-secondary { background: var(--mm-gray-800); color: var(--mm-white); }
.mm-btn-secondary:hover { background: var(--mm-gray-900); color: var(--mm-white); }
.mm-btn-success { background: var(--mm-success); color: var(--mm-white); }
.mm-btn-danger { background: var(--mm-danger); color: var(--mm-white); }
.mm-btn-outline { background: transparent; border: 2px solid var(--mm-primary); color: var(--mm-primary); }
.mm-btn-outline:hover { background: var(--mm-primary); color: var(--mm-white); }
.mm-btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; }

/* --- Mobile Menu & Overlay --- */
.mm-mobile-header { display: none; }
.mm-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); z-index: 1500;
    opacity: 0; visibility: hidden; transition: var(--mm-transition);
}
.mm-overlay.active { opacity: 1; visibility: visible; }

.mm-mobile-menu {
    position: fixed; top: 0; left: -100%; width: 85%; max-width: 320px; height: 100vh;
    background: var(--mm-white); z-index: 2000; transition: left 0.3s ease;
    display: flex; flex-direction: column; box-shadow: var(--mm-shadow-xl);
}
.mm-mobile-menu.active { left: 0; }
.mm-mobile-menu-header {
    padding: 1.5rem; background: linear-gradient(135deg, var(--mm-gray-900) 0%, var(--mm-black) 100%);
    color: var(--mm-white); display: flex; justify-content: space-between; align-items: center;
}
.mm-mobile-close {
    background: rgba(255, 255, 255, 0.1); border: none; width: 36px; height: 36px;
    border-radius: var(--mm-radius-full); color: var(--mm-white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.mm-mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mm-mobile-nav-item { margin: 2px 0.5rem; }
.mm-mobile-nav-link {
    display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1rem;
    color: var(--mm-gray-700); text-decoration: none; border-radius: var(--mm-radius-md);
    font-size: 0.95rem; font-weight: 500; transition: all 0.15s ease;
}
.mm-mobile-nav-link:hover { background: var(--mm-primary-50); color: var(--mm-primary); }
.mm-mobile-menu-footer { padding: 1rem; border-top: 1px solid var(--mm-gray-200); }
.mm-mobile-logout {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem; background: var(--mm-danger); color: var(--mm-white);
    text-decoration: none; border-radius: var(--mm-radius-md); font-weight: 600; margin-bottom: 0.5rem;
}

/* --- Footer --- */
.mm-footer {
    background: linear-gradient(135deg, var(--mm-gray-900) 0%, var(--mm-black) 100%);
    color: var(--mm-gray-400); padding: 1.5rem 0; margin-top: auto; border-top: 3px solid var(--mm-primary);
}
.mm-footer-content {
    max-width: 1400px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.mm-footer-left { display: flex; align-items: center; gap: 0.5rem; }
.mm-footer-logo { color: var(--mm-primary); font-size: 1.5rem; }
.mm-footer-brand { color: var(--mm-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

/* --- Utilitaires --- */
.mm-hidden { display: none !important; }
.mm-text-center { text-align: center; }
.mm-text-muted { color: var(--mm-gray-500); }
.mm-d-flex { display: flex; }
.mm-gap-2 { gap: 0.5rem; }
.mm-mt-2 { margin-top: 0.5rem; }
.mm-mt-3 { margin-top: 1rem; }
.mm-p-4 { padding: 1.5rem; }
/* ============================================================
   COMPOSANTS MANQUANTS : ONGLETS, MODALES, FORMULAIRES
   ============================================================ */

/* --- Conteneur principal --- */
.mm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0; /* Le padding est déjà géré par .mm-main-content */
}

/* --- Onglets (Tabs) --- */
.mm-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--mm-gray-200);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2px;
}

.mm-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mm-gray-600);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--mm-transition);
    white-space: nowrap;
    font-family: inherit;
}

.mm-tab:hover {
    color: var(--mm-primary);
    background: var(--mm-primary-50);
    border-radius: var(--mm-radius-md) var(--mm-radius-md) 0 0;
}

.mm-tab.active {
    color: var(--mm-primary);
    border-bottom-color: var(--mm-primary);
}

.mm-tab-content {
    display: none;
    animation: mm-fadeIn 0.3s ease;
}

.mm-tab-content.active {
    display: block;
}

/* --- Modales (Modals) --- */
.mm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--mm-transition);
    padding: 1rem;
}

.mm-modal.active {
    opacity: 1;
    visibility: visible;
}

.mm-modal-content {
    background: var(--mm-white);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-xl);
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: var(--mm-transition);
}

.mm-modal.active .mm-modal-content {
    transform: scale(1);
}

.mm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--mm-gray-200);
    background: var(--mm-gray-50);
    border-radius: var(--mm-radius-lg) var(--mm-radius-lg) 0 0;
}

.mm-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mm-gray-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mm-modal-title i {
    color: var(--mm-primary);
}

.mm-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--mm-gray-400);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mm-radius-full);
    transition: var(--mm-transition);
}

.mm-modal-close:hover {
    background: var(--mm-gray-200);
    color: var(--mm-danger);
}

.mm-modal-body {
    padding: 1.5rem;
}

.mm-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--mm-gray-200);
    background: var(--mm-gray-50);
    border-radius: 0 0 var(--mm-radius-lg) var(--mm-radius-lg);
}

/* --- Formulaires --- */
.mm-form-group {
    margin-bottom: 1.25rem;
}

.mm-form-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mm-gray-700);
}

.mm-form-label .required {
    color: var(--mm-danger);
}

.mm-form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
    font-family: inherit;
    border: 1.5px solid var(--mm-gray-300);
    border-radius: var(--mm-radius-md);
    background: var(--mm-white);
    color: var(--mm-gray-800);
    transition: var(--mm-transition);
}

.mm-form-control:focus {
    outline: none;
    border-color: var(--mm-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.mm-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2310b981' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.mm-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* --- Utilitaires manquants --- */
.mm-mb-3 { margin-bottom: 1rem; }
.mm-justify-between { justify-content: space-between; }
.mm-hidden { display: none !important; }

/* --- Animation --- */
@keyframes mm-fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .mm-sidebar { left: -100%; box-shadow: var(--mm-shadow-xl); }
    .mm-sidebar.active { left: 0; }
    .mm-main-content { margin-left: 0; }
    .mm-mobile-header {
        display: flex; align-items: center; justify-content: space-between;
        padding: 1rem; background: var(--mm-white); border-bottom: 1px solid var(--mm-gray-200);
        margin: -1.5rem; margin-bottom: 1.5rem;
    }
    .mm-header-search { display: none; }
    .mm-hamburger {
        background: transparent; border: none; width: 40px; height: 40px;
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        gap: 5px; cursor: pointer;
    }
    .mm-hamburger-line { width: 24px; height: 2px; background: var(--mm-gray-800); border-radius: 2px; }
    .mm-mobile-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--mm-gray-900); }
    .mm-mobile-logo i { color: var(--mm-primary); font-size: 1.25rem; }
}

@media (max-width: 576px) {
    .mm-header { height: 60px; }
    .mm-layout-container { margin-top: 60px; }
    .mm-sidebar { top: 60px; height: calc(100vh - 60px); }
    .mm-main-content { padding: 1rem; }
    .mm-stats-grid { grid-template-columns: 1fr; }
    .mm-footer-content { flex-direction: column; text-align: center; }
}

/* ============================================================
   MENU UTILISATEUR PROFESSIONNEL (Header)
   ============================================================ */
.mm-user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.mm-user-dropdown {
    position: relative;
}

/* Déclencheur du dropdown */
.mm-user-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.375rem 0.75rem 0.375rem 0.375rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--mm-radius-full);
    cursor: pointer;
    transition: var(--mm-transition);
}

.mm-user-trigger:hover,
.mm-user-dropdown.active .mm-user-trigger {
    background: var(--mm-gray-50);
    border-color: var(--mm-gray-200);
}

/* Avatar */
.mm-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--mm-radius-full);
    background: linear-gradient(135deg, var(--mm-primary) 0%, var(--mm-primary-dark) 100%);
    color: var(--mm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

/* --- NOUVEAU STYLE mm-user-info --- */
.mm-user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 0.75rem;
    border-left: 2px solid var(--mm-gray-200);
    min-width: 0; /* Permet au texte de se tronquer proprement si trop long */
}

.mm-user-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mm-gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.mm-user-role {
    font-size: 0.7rem;
    color: var(--mm-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
    margin-top: 2px;
}

/* Chevron animé */
.mm-dropdown-arrow {
    font-size: 0.7rem;
    color: var(--mm-gray-500);
    transition: transform 0.3s ease, color 0.3s ease;
    margin-left: 0.25rem;
}

.mm-user-dropdown.active .mm-dropdown-arrow {
    transform: rotate(180deg);
    color: var(--mm-primary);
}

/* Menu déroulant */
.mm-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--mm-white);
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    padding: 0.5rem;
    z-index: 1000;
}

/* État actif du menu (déclenché par JS) */
.mm-user-dropdown.active .mm-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Éléments du menu */
.mm-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    color: var(--mm-gray-700);
    text-decoration: none;
    border-radius: var(--mm-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--mm-transition);
}

.mm-dropdown-item:hover {
    background: var(--mm-primary-50);
    color: var(--mm-primary);
}

.mm-dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.mm-dropdown-divider {
    height: 1px;
    background: var(--mm-gray-100);
    margin: 0.5rem 0;
}

.mm-dropdown-danger {
    color: var(--mm-danger);
}

.mm-dropdown-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--mm-danger);
}

/* ============================================================
   PAGE DE CONNEXION PROFESSIONNELLE (SPLIT SCREEN)
   ============================================================ */
.mm-auth-split-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: var(--mm-white);
}

/* --- Partie Gauche : Branding --- */
.mm-auth-branding {
    flex: 1;
    background: linear-gradient(135deg, var(--mm-gray-900) 0%, #0a0f1c 100%);
    color: var(--mm-white);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Motif subtil en arrière-plan */
.mm-auth-branding::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.mm-auth-branding-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.mm-logo-large {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--mm-white);
}

.mm-logo-large i {
    color: var(--mm-primary);
    font-size: 2rem;
}

.mm-auth-branding h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--mm-white);
}

.mm-auth-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--mm-gray-400);
    margin-bottom: 3rem;
}

.mm-auth-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mm-auth-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--mm-gray-300);
}

.mm-auth-feature i {
    color: var(--mm-primary);
    font-size: 1.25rem;
}

.mm-auth-branding-footer {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    color: var(--mm-gray-500);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.mm-auth-branding-footer strong {
    color: var(--mm-primary);
}

/* --- Partie Droite : Formulaire --- */
.mm-auth-form-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--mm-white);
}

.mm-auth-form-container {
    width: 100%;
    max-width: 420px;
    animation: mm-fadeIn 0.5s ease-out;
}

.mm-auth-header {
    margin-bottom: 2rem;
}

.mm-auth-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mm-gray-900);
    margin-bottom: 0.5rem;
}

/* Inputs plus grands et plus clairs */
.mm-form-control-lg {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1.5px solid var(--mm-gray-300);
}

.mm-form-control-lg:focus {
    border-color: var(--mm-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* Lien mot de passe oublié */
.mm-forgot-password-link {
    font-size: 0.85rem;
    color: var(--mm-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--mm-transition);
}

.mm-forgot-password-link:hover {
    color: var(--mm-primary-dark);
    text-decoration: underline;
}

/* Checkbox personnalisée */
.mm-checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--mm-gray-700);
    user-select: none;
}

.mm-checkbox-container input {
    display: none;
}

.mm-checkbox-checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--mm-gray-300);
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: var(--mm-transition);
}

.mm-checkbox-container input:checked + .mm-checkbox-checkmark {
    background: var(--mm-primary);
    border-color: var(--mm-primary);
}

.mm-checkbox-container input:checked + .mm-checkbox-checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mm-auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid var(--mm-gray-100);
    padding-top: 1.5rem;
}

/* --- Responsive Mobile --- */
@media (max-width: 900px) {
    .mm-auth-branding {
        display: none; /* On cache la partie gauche sur mobile pour se concentrer sur le formulaire */
    }
    
    .mm-auth-form-wrapper {
        padding: 1.5rem;
    }
    
    .mm-auth-header h2 {
        font-size: 1.5rem;
    }
}

/* ============================================================
   AMÉLIORATIONS UX PAGE DE CONNEXION
   ============================================================ */

/* Wrapper pour le champ mot de passe avec icône */
.mm-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.mm-password-wrapper .mm-form-control {
    padding-right: 3rem; /* Espace pour le bouton œil */
}

.mm-toggle-password {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--mm-gray-500);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.mm-toggle-password:hover {
    color: var(--mm-primary);
}

/* Bouton retour pour le formulaire de récupération */
.mm-btn-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--mm-radius-full);
    background: var(--mm-gray-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mm-gray-600);
    transition: var(--mm-transition);
}

.mm-btn-back:hover {
    background: var(--mm-primary-50);
    color: var(--mm-primary);
    transform: translateX(-3px);
}

/* ============================================================
   INDICATEUR D'ÉTAT DE CAISSE
   ============================================================ */

.mm-cash-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--mm-radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.mm-cash-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mm-cash-status-open {
    background: rgba(16, 185, 129, 0.1);
    color: var(--mm-success);
}

.mm-cash-status-open .mm-cash-status-dot {
    background: var(--mm-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: mm-pulse 2s infinite;
}

.mm-cash-status-closed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--mm-danger);
}

.mm-cash-status-closed .mm-cash-status-dot {
    background: var(--mm-danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.mm-cash-status-time {
    margin-left: auto;
    font-size: 0.75rem;
    opacity: 0.8;
}

.mm-cash-status-action {
    margin-left: auto;
    color: var(--mm-danger);
    text-decoration: none;
    font-weight: 700;
    transition: var(--mm-transition);
}

.mm-cash-status-action:hover {
    color: var(--mm-danger-dark, #b91c1c);
    text-decoration: underline;
}

/* Animation pulse pour le point vert */
@keyframes mm-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* ============================================================
   BANDEAU D'ALERTE CAISSE FERMÉE
   ============================================================ */

.mm-cash-alert {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 2px solid #f59e0b;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.mm-cash-alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.mm-cash-alert-content i {
    color: #f59e0b;
    font-size: 1.25rem;
}

.mm-cash-alert-text {
    color: #92400e;
    font-size: 0.9rem;
}

.mm-cash-alert-text strong {
    color: #78350f;
}

.mm-cash-alert-close {
    background: transparent;
    border: none;
    color: #92400e;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--mm-radius-full);
    transition: var(--mm-transition);
}

.mm-cash-alert-close:hover {
    background: rgba(146, 64, 14, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .mm-cash-alert {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    
    .mm-cash-alert .mm-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mm-cash-alert-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* ============================================================
   FRONT PAGE STYLES
   ============================================================ */

.mm-front-page {
    background: var(--mm-white);
}

/* Hero Section */
.mm-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.mm-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.mm-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--mm-white);
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mm-gray-700);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mm-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--mm-gray-900);
    margin-bottom: 1.5rem;
}

.mm-gradient-text {
    background: linear-gradient(135deg, var(--mm-primary) 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mm-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--mm-gray-600);
    margin-bottom: 2rem;
}

.mm-hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.mm-hero-stats {
    display: flex;
    gap: 3rem;
}

.mm-hero-stat {
    text-align: left;
}

.mm-hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mm-primary);
    margin-bottom: 0.25rem;
}

.mm-hero-stat-label {
    font-size: 0.875rem;
    color: var(--mm-gray-600);
    font-weight: 500;
}

/* Hero Mockup */
.mm-hero-visual {
    position: relative;
}

.mm-hero-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.mm-mockup-window {
    background: var(--mm-white);
    border-radius: var(--mm-radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid var(--mm-gray-200);
}

.mm-mockup-header {
    background: var(--mm-gray-100);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--mm-gray-200);
}

.mm-mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mm-mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--mm-gray-300);
}

.mm-mockup-dots span:first-child {
    background: #ef4444;
}

.mm-mockup-dots span:nth-child(2) {
    background: #f59e0b;
}

.mm-mockup-dots span:nth-child(3) {
    background: #10b981;
}

.mm-mockup-content {
    display: grid;
    grid-template-columns: 80px 1fr;
    min-height: 300px;
}

.mm-mockup-sidebar {
    background: var(--mm-gray-50);
    padding: 1rem 0.5rem;
    border-right: 1px solid var(--mm-gray-200);
}

.mm-mockup-logo {
    width: 40px;
    height: 40px;
    background: var(--mm-primary);
    border-radius: var(--mm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.mm-mockup-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mm-mockup-nav-item {
    height: 8px;
    background: var(--mm-gray-200);
    border-radius: 4px;
}

.mm-mockup-nav-item.active {
    background: var(--mm-primary);
}

.mm-mockup-main {
    padding: 1.5rem;
}

.mm-mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mm-mockup-card {
    height: 80px;
    background: linear-gradient(135deg, var(--mm-gray-100) 0%, var(--mm-gray-50) 100%);
    border-radius: var(--mm-radius-md);
    border: 1px solid var(--mm-gray-200);
}

.mm-mockup-chart {
    height: 120px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: var(--mm-radius-md);
    border: 1px solid var(--mm-gray-200);
}

/* Section Headers */
.mm-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mm-section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--mm-primary-50);
    color: var(--mm-primary);
    border-radius: var(--mm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mm-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mm-gray-900);
    margin-bottom: 1rem;
}

.mm-section-description {
    font-size: 1.125rem;
    color: var(--mm-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.mm-features {
    padding: 6rem 0;
    background: var(--mm-white);
}

.mm-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mm-feature-card {
    padding: 2rem;
    background: var(--mm-white);
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-xl);
    transition: var(--mm-transition);
}

.mm-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--mm-primary);
}

.mm-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--mm-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.mm-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mm-gray-900);
    margin-bottom: 0.75rem;
}

.mm-feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--mm-gray-600);
}

/* How It Works Section */
.mm-how-it-works {
    padding: 6rem 0;
    background: var(--mm-gray-50);
}

.mm-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.mm-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.mm-step-number {
    width: 60px;
    height: 60px;
    background: var(--mm-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.mm-step-content {
    padding: 0 1rem;
}

.mm-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mm-gray-900);
    margin-bottom: 0.75rem;
}

.mm-step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--mm-gray-600);
}

.mm-step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--mm-primary) 0%, var(--mm-gray-300) 100%);
    margin-top: 30px;
}

/* Testimonials Section */
.mm-testimonials {
    padding: 6rem 0;
    background: var(--mm-white);
}

.mm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mm-testimonial-card {
    padding: 2rem;
    background: var(--mm-white);
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-xl);
    transition: var(--mm-transition);
}

.mm-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mm-testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.mm-testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mm-gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.mm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mm-testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--mm-primary) 0%, #06b6d4 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.mm-testimonial-name {
    font-weight: 700;
    color: var(--mm-gray-900);
    margin-bottom: 0.25rem;
}

.mm-testimonial-role {
    font-size: 0.875rem;
    color: var(--mm-gray-600);
}

/* CTA Section */
.mm-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--mm-primary) 0%, #06b6d4 100%);
}

.mm-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.mm-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.mm-cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.mm-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.mm-btn-white {
    background: white;
    color: var(--mm-primary);
}

.mm-btn-white:hover {
    background: var(--mm-gray-100);
    transform: translateY(-2px);
}

.mm-btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.mm-btn-outline-white:hover {
    background: white;
    color: var(--mm-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .mm-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mm-hero-title {
        font-size: 2.5rem;
    }
    
    .mm-features-grid,
    .mm-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mm-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .mm-step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
        background: linear-gradient(180deg, var(--mm-primary) 0%, var(--mm-gray-300) 100%);
    }
}

@media (max-width: 768px) {
    .mm-hero {
        padding: 4rem 0 3rem;
    }
    
    .mm-hero-title {
        font-size: 2rem;
    }
    
    .mm-hero-description {
        font-size: 1rem;
    }
    
    .mm-hero-actions {
        flex-direction: column;
    }
    
    .mm-hero-stats {
        gap: 2rem;
    }
    
    .mm-section-title,
    .mm-cta-title {
        font-size: 2rem;
    }
    
    .mm-features-grid,
    .mm-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .mm-cta-actions {
        flex-direction: column;
    }
}