/**
 * STYLE ULTRA MODERNE POUR PLATEFORME PHARMACEUTIQUE
 * Design basé sur Yasmine Academy - Adapté pour LTR (Français)
 * Palette: Bleu Royal (#1F4E79), Or (#C9A13B), Vert Menthe (#A7C7A9)
 */

/* ============================================
   VARIABLES CSS ULTRA MODERNES
   Palette Professionnelle Académique
   ============================================ */
:root {
    /* Palette de couleurs personnalisée - Design Yasmine */
    --primary: #1F4E79;           /* Bleu royal - Logos, titres */
    --primary-dark: #163a5f;      /* Bleu royal foncé */
    --primary-light: #2d6ba8;     /* Bleu royal clair */
    --secondary: #C9A13B;         /* Or doux - Accents */
    --secondary-dark: #a68530;    /* Or foncé */
    --secondary-light: #d4b05f;   /* Or clair */
    --accent: #A7C7A9;            /* Vert menthe doux */
    --accent-dark: #8ab58d;       /* Vert menthe foncé */
    
    /* Couleurs fonctionnelles */
    --danger: #dc3545;
    --warning: #ffc107;
    --success: #28a745;
    --info: #17a2b8;
    
    /* Couleurs de texte */
    --text-primary: #1F4E79;      /* Bleu royal pour le texte principal */
    --text-secondary: #5a6c7d;    /* Gris-bleu pour texte secondaire */
    --text-light: #8794a1;        /* Gris clair pour texte léger */
    --text-white: #FFFFFF;
    --text-gold: #C9A13B;         /* Or pour les accents de texte */
    
    /* Backgrounds */
    --bg-primary: #FFFFFF;        /* Blanc pur */
    --bg-secondary: #F3F3F3;      /* Gris clair */
    --bg-dark: #1F4E79;          /* Bleu royal */
    --bg-gradient: linear-gradient(135deg, #1F4E79 0%, #2d6ba8 100%);
    --bg-gradient-gold: linear-gradient(135deg, #C9A13B 0%, #d4b05f 100%);
    --bg-gradient-accent: linear-gradient(135deg, #1F4E79 0%, #A7C7A9 100%);
    --bg-gradient-elegant: linear-gradient(135deg, #1F4E79 0%, #C9A13B 50%, #A7C7A9 100%);
    
    /* Borders */
    --border-color: #dce1e6;
    --border-light: #F3F3F3;
    --border-gold: #C9A13B;
    --border-primary: #1F4E79;
    
    /* Shadows - Profondeur élégante */
    --shadow-sm: 0 1px 3px 0 rgba(31, 78, 121, 0.08);
    --shadow: 0 4px 12px -2px rgba(31, 78, 121, 0.12);
    --shadow-md: 0 8px 20px -4px rgba(31, 78, 121, 0.15);
    --shadow-lg: 0 16px 32px -8px rgba(31, 78, 121, 0.18);
    --shadow-xl: 0 24px 48px -12px rgba(31, 78, 121, 0.22);
    --shadow-2xl: 0 32px 64px -16px rgba(31, 78, 121, 0.25);
    --shadow-gold: 0 8px 24px -4px rgba(201, 161, 59, 0.3);
    --shadow-glow: 0 0 40px rgba(201, 161, 59, 0.4);
    
    /* Radius - Moderne et élégant */
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-2xl: 2.5rem;
    --radius-full: 9999px;
    
    /* Transitions fluides */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Espacements harmonieux */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
    --spacing-2xl: 5rem;
    
    /* Typography - Poppins pour LTR */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Bootstrap 5.3.3 Compatibility */
    --bs-primary: #1F4E79;
    --bs-primary-rgb: 31, 78, 121;
    --bs-secondary: #C9A13B;
    --bs-secondary-rgb: 201, 161, 59;
    --bs-success: #28a745;
    --bs-success-rgb: 40, 167, 69;
    --bs-info: #17a2b8;
    --bs-info-rgb: 23, 162, 184;
    --bs-warning: #ffc107;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger: #dc3545;
    --bs-danger-rgb: 220, 53, 69;
    --bs-body-color: #1F4E79;
    --bs-body-color-rgb: 31, 78, 121;
    --bs-body-bg: #FFFFFF;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-body-font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --bs-border-color: #dce1e6;
    --bs-border-radius: 0.75rem;
    --bs-border-radius-sm: 0.5rem;
    --bs-border-radius-lg: 1.25rem;
    --bs-border-radius-xl: 1.75rem;
    --bs-box-shadow-sm: 0 1px 3px 0 rgba(31, 78, 121, 0.08);
    --bs-box-shadow: 0 4px 12px -2px rgba(31, 78, 121, 0.12);
    --bs-box-shadow-lg: 0 16px 32px -8px rgba(31, 78, 121, 0.18);
    --bs-box-shadow-xl: 0 24px 48px -12px rgba(31, 78, 121, 0.22);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    direction: ltr;
    text-align: left;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body:not(.dashboard-body) {
    padding-top: 80px !important;
}

@media (max-width: 991.98px) {
    body:not(.dashboard-body) {
        padding-top: 75px !important;
    }
}

body.dashboard-body {
    padding-top: 0 !important;
}

body:not(.dashboard-body) > main {
    position: relative;
}

body:not(.dashboard-body) > main > *:first-child {
    scroll-margin-top: 80px;
}

@media (max-width: 991.98px) {
    body:not(.dashboard-body) > main > *:first-child {
        scroll-margin-top: 75px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TYPOGRAPHY MODERNE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* ============================================
   HEADER ULTRA MODERNE AVEC EFFET GLASSMORPHISM
   ============================================ */
.navbar-premium,
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(31, 78, 121, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(31, 78, 121, 0.08);
    min-height: 75px;
    overflow: visible;
}

.navbar-premium::before,
.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(201, 161, 59, 0.05), 
        transparent);
    transition: left 3s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.navbar-premium:hover::before,
.main-header:hover::before {
    left: 100%;
}

.navbar-premium::after,
.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary) 20%,
        var(--secondary) 50%,
        var(--primary) 80%,
        transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.navbar-premium.scrolled::after,
.main-header.scrolled::after {
    opacity: 1;
}

.navbar-premium.scrolled,
.main-header.scrolled {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.99) 0%, 
        rgba(255, 255, 255, 0.97) 100%);
    box-shadow: 0 8px 32px rgba(31, 78, 121, 0.12), 
                0 0 0 1px rgba(31, 78, 121, 0.05);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    min-height: 65px;
}

.navbar-premium .container,
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
    position: relative;
    z-index: 2;
    transition: padding 0.4s ease;
    background: transparent;
}

.navbar-premium.scrolled .container,
.main-header.scrolled .header-container {
    padding: 0.75rem 2rem;
}

.branding,
.logo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    z-index: 2;
    flex-shrink: 0;
    margin-right: auto;
}

.branding::before,
.logo::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.1), 
        rgba(201, 161, 59, 0.1));
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.branding:hover::before,
.logo:hover::before {
    opacity: 1;
}

.branding:hover,
.logo:hover {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 4px 12px rgba(31, 78, 121, 0.2));
}

.branding img,
.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(201, 161, 59, 0.4));
    position: relative;
    z-index: 1;
}

.branding:hover img,
.logo:hover img {
    transform: rotate(8deg) scale(1.15);
    filter: drop-shadow(0 6px 20px rgba(201, 161, 59, 0.6));
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.02em;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.main-nav,
.navbar-nav-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a,
.nav-link-modern {
    position: relative;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.nav-links a::before,
.nav-link-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.08), 
        rgba(201, 161, 59, 0.08));
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a::after,
.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.nav-links a:hover::before,
.nav-link-modern:hover::before {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-link-modern:hover::after,
.nav-link-modern.active::after {
    transform: scaleX(1);
}

.nav-links a:hover,
.nav-link-modern:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-links a.active,
.nav-link-modern.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-links a.active::before,
.nav-link-modern.active::before {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.12), 
        rgba(201, 161, 59, 0.12));
}

/* Navbar Actions */
.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border-left: 2px solid;
    border-image: linear-gradient(180deg, 
        transparent, 
        rgba(31, 78, 121, 0.2), 
        transparent) 1;
    padding-left: 1.5rem;
    margin-left: 1.5rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.btn-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9), 
        rgba(255, 255, 255, 0.7));
    border: 2px solid transparent;
    background-clip: padding-box;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(31, 78, 121, 0.1);
}

.btn-nav::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-nav::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.1), 
        rgba(201, 161, 59, 0.1));
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.btn-nav i {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-nav:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(31, 78, 121, 0.3), 
                0 0 0 4px rgba(31, 78, 121, 0.1);
    border-color: transparent;
}

.btn-nav:hover::before {
    opacity: 1;
}

.btn-nav:hover::after {
    opacity: 1;
}

.btn-nav:hover i {
    transform: scale(1.2) rotate(10deg);
}

.btn-nav:active {
    transform: translateY(-1px) scale(1.02);
}

/* Session Indicator */
.session-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.08), 
        rgba(201, 161, 59, 0.08));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 78, 121, 0.15);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.session-indicator:hover {
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.12), 
        rgba(201, 161, 59, 0.12));
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.session-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.session-text {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.session-text strong {
    font-weight: 600;
    color: var(--primary);
}

.session-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.12), 
        rgba(22, 58, 95, 0.12));
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(31, 78, 121, 0.2);
    box-shadow: 0 2px 8px rgba(31, 78, 121, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.session-timer i {
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.session-timer:hover {
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.18), 
        rgba(22, 58, 95, 0.18));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 78, 121, 0.2);
}

.btn-nav-logout {
    background: linear-gradient(135deg, 
        rgba(220, 53, 69, 0.12), 
        rgba(200, 35, 51, 0.12));
    border-color: rgba(220, 53, 69, 0.3);
}

.btn-nav-logout:hover {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.4), 
                0 0 0 4px rgba(220, 53, 69, 0.15);
}

.btn-nav-register,
.btn-nav-login {
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.12), 
        rgba(201, 161, 59, 0.12));
    border-color: rgba(31, 78, 121, 0.3);
}

.btn-nav-register:hover,
.btn-nav-login:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
}

/* ============================================
   BUTTONS MODERNES
   ============================================ */
.btn,
.btn-premium,
.btn-premium-primary,
.btn-premium-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
    text-decoration: none;
}

.btn::before,
.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before,
.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover,
.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active,
.btn-premium:active {
    transform: translateY(0);
}

.btn-primary,
.btn-premium-primary {
    background: var(--bg-gradient-gold);
    color: #1F4E79;
    box-shadow: var(--shadow-gold);
    font-weight: 700;
}

.btn-primary:hover,
.btn-premium-primary:hover {
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    transform: translateY(-3px);
}

.btn-secondary,
.btn-premium-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.btn-secondary:hover,
.btn-premium-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-login-gold {
    background: var(--bg-gradient-gold);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(201, 161, 59, 0.3);
}

.btn-login-gold:hover {
    background: linear-gradient(135deg, #d4b05f, #e5c06f);
    box-shadow: 0 6px 20px rgba(201, 161, 59, 0.5);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ============================================
   SECTION CONTAINER
   ============================================ */
.section {
    padding: 6rem 2rem;
    position: relative;
    scroll-margin-top: 80px;
}

.section-light {
    background-color: var(--bg-primary);
}

.section-dark {
    background-color: var(--bg-secondary);
}

.section-hero-contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.02) 0%, 
        rgba(201, 161, 59, 0.02) 100%);
}

.section-muted {
    background-color: var(--bg-secondary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.625rem 1.75rem;
    background: linear-gradient(135deg, rgba(201, 161, 59, 0.1) 0%, rgba(167, 199, 169, 0.1) 100%);
    color: var(--secondary);
    border: 1px solid rgba(201, 161, 59, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(201, 161, 59, 0.15);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ============================================
   FEATURES GRID MODERNE
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: var(--bg-gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(-30%, -30%);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: translate(-30%, -30%) scale(2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    color: white;
    border-radius: var(--radius-xl);
    font-size: 2.25rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: var(--bg-gradient-gold);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.5;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ============================================
   CARDS PREMIUM
   ============================================ */
.card-premium,
.glass-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    border: 1px solid var(--border-light);
    position: relative;
    padding: 2.5rem;
}

.card-premium::before,
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.card-premium:hover,
.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--secondary);
}

.card-premium:hover::before,
.glass-card:hover::before {
    opacity: 1;
}

/* ============================================
   FORMS ULTRA MODERNES
   ============================================ */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background-color: var(--bg-primary);
    transition: var(--transition);
    direction: ltr;
    color: var(--text-primary);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(201, 161, 59, 0.1), var(--shadow-gold);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--secondary);
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-secondary);
    gap: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.dashboard-layout.sidebar-open {
    padding-left: 300px;
    transition: padding-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-sidebar {
    width: 320px;
    background: linear-gradient(180deg, #1F4E79 0%, #163a5f 100%);
    color: white;
    position: fixed;
    left: -100% !important;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(201, 161, 59, 0.1);
}

.dashboard-sidebar.active {
    left: 0 !important;
}

.sidebar-header {
    padding: 2.25rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #C9A13B, #d4b05f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 8px 24px rgba(201, 161, 59, 0.6), 0 0 60px rgba(201, 161, 59, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    transition: var(--transition);
    position: relative;
}

.sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 32px rgba(201, 161, 59, 0.7), 0 0 80px rgba(201, 161, 59, 0.4);
}

.sidebar-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.sidebar-menu {
    padding: 1.75rem 0;
}

.menu-section {
    margin-bottom: 2rem;
}

.menu-section-title {
    padding: 0 2rem;
    margin-bottom: 0.875rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 1.05rem;
    text-decoration: none;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 161, 59, 0.2), transparent);
    transition: left 0.5s ease;
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.menu-item.active {
    background-color: rgba(201, 161, 59, 0.15);
    color: white;
    border-left: 3px solid #C9A13B;
    box-shadow: inset 0 0 20px rgba(201, 161, 59, 0.1);
}

.menu-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.dashboard-main {
    flex: 1;
    margin-left: 0;
    padding: 0;
    width: 100%;
    max-width: none;
}

.dashboard-topbar {
    background: white;
    padding: 1.25rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    z-index: 999;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 161, 59, 0.1);
}

@media (min-width: 1025px) {
    .dashboard-topbar {
        padding: 1.25rem 2rem;
    }
    
    .dashboard-main {
        padding-top: 5rem;
    }
}

.sidebar-toggle,
#sidebarToggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 10001 !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--bg-gradient-gold) !important;
    border: 2px solid rgba(201, 161, 59, 0.3) !important;
    border-radius: var(--radius-full) !important;
    color: var(--primary) !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: var(--shadow-gold) !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition) !important;
}

.sidebar-toggle:hover,
#sidebarToggle:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: var(--shadow-glow) !important;
    border-color: rgba(201, 161, 59, 0.5) !important;
    background: linear-gradient(135deg, #d4b05f, #e5c06f) !important;
}

.sidebar-toggle:active,
#sidebarToggle:active {
    transform: translateY(0) scale(0.98) !important;
}

.dashboard-content {
    padding: 2.5rem;
    width: 100%;
    max-width: 100%;
}

.dashboard-content > header {
    margin-bottom: 1.5rem;
}

.dashboard-content > header h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-content > header p.text-uppercase {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.dashboard-content > header p:not(.text-uppercase) {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 1rem;
}

.stats-grid,
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2rem;
    width: 100%;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: var(--bg-gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(-30%, -30%);
    transition: var(--transition);
}

.stat-card:hover::before {
    transform: translate(-30%, -30%) scale(2);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.stat-card .label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.stat-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

.stat-card small {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ============================================
   PHARMACY BADGE FLOATING & CHAT WINDOW
   ============================================ */
.pharmacy-badge-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: var(--bg-gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    z-index: 9999;
    transition: var(--transition);
}

.pharmacy-badge-floating:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.pharmacy-badge-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pharmacy-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    top: auto;
    right: 2rem;
    left: auto;
    width: 400px;
    max-width: calc(100vw - 4rem);
    max-height: calc(100vh - 120px);
    min-height: 400px;
    height: auto;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    display: none;
    flex-direction: column;
    z-index: 9998;
    overflow: hidden;
    box-sizing: border-box;
}

@media (max-height: 700px) {
    .chat-window {
        bottom: 90px;
        max-height: calc(100vh - 110px);
        min-height: 300px;
    }
}

@media (max-height: 600px) {
    .chat-window {
        bottom: 85px;
        max-height: calc(100vh - 100px);
        min-height: 250px;
    }
}

@media (min-width: 1400px) {
    .chat-window {
        width: 450px;
        max-width: calc(100vw - 4rem);
    }
}

.chat-window.active {
    display: flex;
}

.chat-header {
    padding: 1.5rem;
    background: var(--bg-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-close:hover {
    transform: rotate(90deg);
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-footer {
    display: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .dropdown-menu {
        min-width: 250px;
    }
}

/* ============================================
   NAVBAR TOGGLER MODERN (Hamburger)
   ============================================ */
.navbar-toggler-modern {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9), 
        rgba(255, 255, 255, 0.7));
    border: 2px solid rgba(31, 78, 121, 0.1);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(31, 78, 121, 0.1);
}


.navbar-toggler-modern span {
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.navbar-toggler-modern:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(31, 78, 121, 0.2);
}

.navbar-toggler-modern:hover span {
    background: white;
}

.navbar-toggler-modern[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggler-modern[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.navbar-toggler-modern[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 991.98px) {
    .navbar-toggler-modern {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    
    /* Masquer le menu Bootstrap en mobile pour utiliser le menu custom */
    .navbar-collapse {
        display: none !important;
    }
    
    .main-nav,
    .navbar-nav-modern {
        position: static;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-left: 0;
        align-items: stretch;
    }
    
    .main-nav.active,
    .navbar-nav-modern.active {
        position: static;
    }
    
    .nav-links,
    .navbar-nav-modern {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-links a,
    .nav-link-modern {
        flex-direction: row;
        width: 100%;
        padding: 1rem 1.5rem;
        color: var(--text-primary);
        border-bottom: 1px solid var(--border-light);
        margin: 0;
        border-radius: 0;
        text-align: left;
        justify-content: flex-start;
    }
    
    .nav-links a::after,
    .nav-link-modern::after {
        display: none;
    }
    
    .nav-links a::before,
    .nav-link-modern::before {
        background: linear-gradient(135deg, 
            rgba(31, 78, 121, 0.08), 
            rgba(201, 161, 59, 0.08));
        border-radius: 0;
    }
    
    .nav-links a:hover,
    .nav-links a.active,
    .nav-link-modern:hover,
    .nav-link-modern.active {
        background: linear-gradient(135deg, 
            rgba(31, 78, 121, 0.1), 
            rgba(201, 161, 59, 0.1));
        color: var(--primary);
        transform: translateX(-4px);
        border-left: 3px solid var(--secondary);
    }
    
    .nav-actions {
        border-left: none;
        border-top: 2px solid var(--border-light);
        padding-left: 0;
        padding-top: 1.5rem;
        padding-right: 1.5rem;
        padding-bottom: 0;
        margin-left: 0;
        margin-top: 1.5rem;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
}

/* Overlay pour le menu mobile - Masqué (backdrop supprimé) */
.mobile-menu-overlay,
#mobile-menu-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: transparent !important;
}

/* Styles pour le menu custom mobile-sidebar */
#mobile-menu-sidebar,
.mobile-menu-sidebar {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 350px;
    max-width: 85vw;
    height: calc(100vh - 75px);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
    gap: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(31, 78, 121, 0.1);
}

#mobile-menu-sidebar .navbar-nav-modern,
.mobile-menu-sidebar .navbar-nav-modern {
    position: static;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-left: 0;
    align-items: stretch;
}

#mobile-menu-sidebar .nav-link-modern,
.mobile-menu-sidebar .nav-link-modern {
    flex-direction: row;
    width: 100%;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    margin: 0;
    border-radius: 0;
    text-align: left;
    justify-content: flex-start;
}

#mobile-menu-sidebar .nav-link-modern::after,
.mobile-menu-sidebar .nav-link-modern::after {
    display: none;
}

#mobile-menu-sidebar .nav-link-modern:hover,
#mobile-menu-sidebar .nav-link-modern.active,
.mobile-menu-sidebar .nav-link-modern:hover,
.mobile-menu-sidebar .nav-link-modern.active {
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.1), 
        rgba(201, 161, 59, 0.1));
    color: var(--primary);
    transform: translateX(-4px);
    border-left: 3px solid var(--secondary);
}

#mobile-menu-sidebar .nav-actions,
.mobile-menu-sidebar .nav-actions {
    border-left: none;
    border-top: 2px solid var(--border-light);
    padding-left: 0;
    padding-top: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 0;
    margin-left: 0;
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 768px) {
    #mobile-menu-sidebar,
    .mobile-menu-sidebar {
        top: 75px;
        height: calc(100vh - 75px);
        width: 320px;
        max-width: 85vw;
    }
    
    #mobile-menu-sidebar .nav-link-modern,
    .mobile-menu-sidebar .nav-link-modern {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    #mobile-menu-sidebar,
    .mobile-menu-sidebar {
        width: 300px;
        max-width: 90vw;
        padding: 1.5rem 0;
    }
    
    #mobile-menu-sidebar .nav-link-modern,
    .mobile-menu-sidebar .nav-link-modern {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    #mobile-menu-sidebar .nav-actions,
    .mobile-menu-sidebar .nav-actions {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        top: 75px;
        height: calc(100vh - 75px);
        width: 320px;
        max-width: 85vw;
    }
    
    .nav-links a,
    .nav-link-modern {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .session-indicator {
        width: calc(100% - 4rem);
        margin: 0 2rem;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-collapse {
        width: 300px;
        max-width: 90vw;
        padding: 1.5rem 0;
    }
    
    .nav-links a,
    .nav-link-modern {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-actions {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ============================================
   SCROLL EFFECT FOR HEADER
   ============================================ */
@supports (backdrop-filter: blur(10px)) {
    .navbar-premium,
    .main-header {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.85) 0%, 
            rgba(255, 255, 255, 0.80) 50%,
            rgba(255, 255, 255, 0.85) 100%);
    }
    
    .navbar-premium.scrolled,
    .main-header.scrolled {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(255, 255, 255, 0.92) 100%);
    }
}

/* Animation for navbar on page load */
@keyframes slideDownHeader {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-premium,
.main-header {
    animation: slideDownHeader 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Staggered animation for nav items */
.nav-link-modern,
.nav-links a {
    animation: fadeInUp 0.6s ease-out backwards;
}

.nav-link-modern:nth-child(1),
.nav-links a:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-link-modern:nth-child(2),
.nav-links a:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-link-modern:nth-child(3),
.nav-links a:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-link-modern:nth-child(4),
.nav-links a:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-actions {
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

@media (max-width: 480px) {
    .header-container,
    .navbar-premium .container {
        padding: 0.875rem 1rem;
    }
    
    .branding,
    .logo {
        font-size: 1.375rem;
        gap: 0.75rem;
    }
    
    .branding img,
    .logo img {
        height: 50px;
        max-width: 140px;
    }
    
    .navbar-premium,
    .main-header {
        min-height: 65px;
    }
    
    .navbar-premium.scrolled,
    .main-header.scrolled {
        min-height: 60px;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.75rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 1rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .pharmacy-badge-floating {
        width: 60px;
        height: 60px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .pharmacy-badge-icon {
        width: 40px;
        height: 40px;
    }
    
    .chat-window {
        right: 1rem;
        bottom: 90px;
        width: calc(100vw - 2rem);
        max-width: 450px;
        max-height: calc(100vh - 120px);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-white { color: white !important; }
.text-muted { color: var(--text-light) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-white { background-color: white !important; }
.bg-gold { background: var(--bg-gradient-gold) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }
.shadow-2xl { box-shadow: var(--shadow-2xl) !important; }
.shadow-gold { box-shadow: var(--shadow-gold) !important; }

.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded { border-radius: var(--radius) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.p-1 { padding: 0.5rem !important; }
.p-2 { padding: 1rem !important; }
.p-3 { padding: 1.5rem !important; }
.p-4 { padding: 2rem !important; }
.p-5 { padding: 3rem !important; }

.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.gap-1 { gap: 0.5rem !important; }
.gap-2 { gap: 1rem !important; }
.gap-3 { gap: 1.5rem !important; }
.gap-4 { gap: 2rem !important; }

.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }

/* Bootstrap compatibility */
body.dashboard-body .modal-backdrop {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ============================================
   HERO SLIDER SECTION - ULTRA MODERNE
   ============================================ */
.hero-slider-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
    background: #000000;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 0;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    pointer-events: auto;
}

.hero-slide-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.15);
    will-change: transform;
}

.hero-slide.active .hero-slide-background {
    transform: scale(1);
    animation: zoomOut 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes zoomOut {
    from {
        transform: scale(1.15);
    }
    to {
        transform: scale(1);
    }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.hero-slide-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, 
        rgba(201, 161, 59, 0.15) 0%, 
        transparent 50%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 3rem 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-slide.active .hero-slide-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.95) 50%,
        rgba(201, 161, 59, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-slide-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation Buttons */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.hero-slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-slider-nav.prev {
    left: 2rem;
}

.hero-slider-nav.next {
    right: 2rem;
}

.hero-slider-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
}

.hero-slider-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slider-dot:hover::before {
    opacity: 1;
}

.hero-slider-dot.active {
    background: var(--secondary);
    border-color: var(--secondary);
    width: 32px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 20px rgba(201, 161, 59, 0.6);
}

.hero-slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   PRICING DECK & CARDS
   ============================================ */
.pricing-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pricing-card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: var(--bg-gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(-30%, -30%);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.pricing-card:hover::before {
    transform: translate(-30%, -30%) scale(2);
}

.pricing-card.featured {
    background: white;
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
    opacity: 0.1;
}

.pricing-card.featured:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 900;
    margin-top: 1rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
    transition: transform 0.3s ease;
    line-height: 1;
}

.pricing-card:hover .pricing-price {
    transform: none;
}

.pricing-price small {
    font-size: 0.4em;
    font-weight: 500;
    opacity: 0.7;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    color: var(--text-secondary);
}

.pricing-card li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    transition: transform 0.2s ease, padding-left 0.2s ease;
}

.pricing-card:hover li {
    padding-left: 0;
}

/* ============================================
   SECTION HEADING
   ============================================ */
.section-heading {
    margin-bottom: 3rem;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--bg-gradient);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.section-heading.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-heading:not(.text-center)::after {
    left: 0;
    transform: none;
}

.section-heading:hover::after {
    opacity: 1;
    width: 120px;
}

.section-heading small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    position: relative;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(31, 78, 121, 0.1), rgba(201, 161, 59, 0.1));
    border-radius: var(--radius-full);
    border: 1px solid rgba(31, 78, 121, 0.2);
}

.section-heading small i {
    font-size: 0.875rem;
}

.section-heading h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin: 0 0 1.25rem 0;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    position: relative;
}

.section-heading p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   BADGE SOFT
   ============================================ */
.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(31, 78, 121, 0.1), rgba(201, 161, 59, 0.1));
    border: 1px solid rgba(31, 78, 121, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.badge-soft:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section,
.trust-section {
    padding: 4rem 0;
}

.partners-marquee,
.pharmacies-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.partners-track,
.pharmacies-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-item,
.pharmacy-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.875rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100px;
    min-width: 200px;
    margin-right: 1.5rem;
}

.partner-item:hover,
.pharmacy-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%) brightness(0.95);
    transition: var(--transition);
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.pharmacy-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

/* ============================================
   FEATURE GRID
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CHAT WINDOW COMPLET
   ============================================ */
.chat-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    padding: 8px;
}

.chat-header-info h6 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.chat-header-info small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.chat-welcome {
    text-align: center;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.chat-welcome p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-welcome p:first-child {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0;
}

.chat-welcome p.text-muted {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.chat-welcome p:last-child {
    margin-bottom: 0;
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.chat-input-group {
    display: flex;
    gap: 0.75rem;
}

.chat-input,
.chat-textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.chat-input:focus,
.chat-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.chat-textarea {
    resize: vertical;
    min-height: 80px;
}

.chat-send-btn {
    width: 100%;
    margin-top: 0.5rem;
}

.pharmacy-badge-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* ============================================
   BOOTSTRAP COMPONENTS OVERRIDES
   ============================================ */
.card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--bg-secondary);
}

.table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-color);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background: rgba(31, 78, 121, 0.05);
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    border-left: 4px solid;
}

.alert-primary {
    color: var(--primary);
    background-color: rgba(31, 78, 121, 0.1);
    border-color: var(--primary);
}

.alert-success {
    color: var(--success);
    background-color: rgba(40, 167, 69, 0.1);
    border-color: var(--success);
}

.alert-danger {
    color: var(--danger);
    background-color: rgba(220, 53, 69, 0.1);
    border-color: var(--danger);
}

.alert-warning {
    color: var(--warning);
    background-color: rgba(255, 193, 7, 0.1);
    border-color: var(--warning);
}

.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.badge:hover {
    transform: scale(1.05);
}

.badge-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.badge-success {
    background-color: var(--success);
    color: #ffffff;
}

.badge-danger {
    background-color: var(--danger);
    color: #ffffff;
}

.pagination {
    gap: 0.5rem;
}

.page-link {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.page-link:hover {
    background-color: rgba(31, 78, 121, 0.05);
    border-color: rgba(31, 78, 121, 0.12);
    transform: translateY(-1px);
    color: var(--text-primary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 500;
    padding: 1rem 1.25rem;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(31, 78, 121, 0.1);
}

.list-group-item {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: var(--transition);
}

.list-group-item:hover {
    background-color: rgba(31, 78, 121, 0.05);
    border-color: rgba(31, 78, 121, 0.12);
    transform: translateX(4px);
}

.list-group-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* ============================================
   Skeleton & Reveal
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(31, 78, 121, 0.05) 0%, 
        rgba(31, 78, 121, 0.1) 50%, 
        rgba(31, 78, 121, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-animate] {
    animation: fadeInUp 0.6s ease-out backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   ADDITIONAL UTILITIES
   ============================================ */
.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.ms-2 {
    margin-left: 0.5rem !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.position-fixed {
    position: fixed !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.overflow-auto {
    overflow: auto !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.flex-column {
    flex-direction: column !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-auto {
    margin-top: auto !important;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: rgba(31, 78, 121, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(31, 78, 121, 0.3);
}

/* Focus visible amélioré */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Images responsive */
img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Liens avec animation */
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.branding) {
    position: relative;
    transition: color 0.2s ease;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.branding)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.branding):hover::after {
    width: 100%;
}

/* Overflow fixes */
.container,
.container-fluid {
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-height: none !important;
    max-width: 100vw !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

section,
.section {
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Additional responsive */
@media (max-width: 991.98px) {
    .hero-slider-section {
        min-height: 500px;
    }
    
    .hero-slider-wrapper {
        height: 500px;
    }
    
    .hero-slide-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-slide-title {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 2rem;
        padding-bottom: 0.4rem;
        line-height: 1.25;
    }
    
    .hero-slide-description {
        font-size: clamp(1rem, 2vw, 1.125rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-slider-nav {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .hero-slider-nav.prev {
        left: 1rem;
    }
    
    .hero-slider-nav.next {
        right: 1rem;
    }
    
    .hero-slider-dots {
        bottom: 1.5rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    
    .hero-slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-slider-dot.active {
        width: 24px;
    }
}

@media (max-width: 576px) {
    .hero-slider-section {
        min-height: 400px;
    }
    
    .hero-slider-wrapper {
        height: 400px;
    }
    
    .hero-slide-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-slide-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 1.75rem;
        padding-bottom: 0.35rem;
        line-height: 1.3;
    }
    
    .hero-slide-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-slider-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        opacity: 0.7;
    }
    
    .hero-slider-nav.prev {
        left: 0.5rem;
    }
    
    .hero-slider-nav.next {
        right: 0.5rem;
    }
    
    .hero-slider-dots {
        bottom: 1rem;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }
    
    .hero-slider-dot {
        width: 6px;
        height: 6px;
        border-width: 1.5px;
    }
    
    .hero-slider-dot.active {
        width: 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-deck {
        grid-template-columns: 1fr;
        overflow: hidden !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        width: 100%;
        max-width: 100%;
    }
    
    .pricing-section {
        overflow: hidden !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        width: 100%;
        max-width: 100%;
    }
    
    .pricing-section .container,
    .pricing-section .container .row {
        overflow: hidden !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .chat-window {
        right: 1.5rem;
        bottom: 95px;
        top: auto;
        width: calc(100vw - 3rem);
        max-width: 500px;
        max-height: calc(100vh - 130px);
        min-height: 350px;
    }
    
    .chat-header {
        padding: 1.25rem;
        flex-shrink: 0;
    }
    
    .chat-body {
        padding: 1.25rem;
        flex: 1;
        overflow-y: auto;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .chat-welcome {
        padding: 0;
        margin: 0;
    }
    
    .chat-welcome p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .chat-welcome p:first-child {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) and (max-height: 700px) {
    .chat-window {
        bottom: 90px;
        max-height: calc(100vh - 120px);
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .chat-window {
        right: 1rem;
        left: 1rem;
        bottom: 90px;
        top: auto;
        width: calc(100vw - 2rem);
        max-width: 100%;
        max-height: calc(100vh - 120px);
        min-height: 300px;
    }
    
    .pharmacy-badge-floating {
        right: 1rem !important;
        bottom: 1rem !important;
    }
}

@media (max-width: 768px) and (max-height: 650px) {
    .chat-window {
        bottom: 85px;
        top: 80px;
        max-height: calc(100vh - 165px);
        min-height: 200px;
    }
}

@media (max-width: 576px) {
    .chat-window {
        right: 15px;
        left: 15px;
        bottom: 95px;
        top: auto;
        width: calc(100vw - 30px);
        max-width: 100%;
        max-height: calc(100vh - 120px);
        min-height: 250px;
        border-radius: var(--radius-lg);
    }
    
    .chat-input-group {
        flex-direction: column;
    }
    
    .pharmacy-badge-floating {
        right: 15px !important;
        bottom: 15px !important;
        width: 56px;
        height: 56px;
    }
    
    .pharmacy-badge-icon {
        width: 40px;
        height: 40px;
    }
    
    .pharmacy-badge-icon img {
        width: 32px;
        height: 32px;
    }
    
    .chat-header {
        padding: 1rem;
        flex-shrink: 0;
    }
    
    .chat-body {
        padding: 1rem;
        flex: 1;
        overflow-y: auto;
        min-height: 80px;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .chat-welcome {
        padding: 0;
        margin: 0;
    }
    
    .chat-welcome p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .chat-welcome p:first-child {
        font-size: 0.95rem;
    }
    
    .hero-slider-section {
        margin-top: 0;
    }
}

@media (max-width: 576px) and (max-height: 600px) {
    .chat-window {
        bottom: 80px;
        top: 75px;
        max-height: calc(100vh - 155px);
        min-height: 200px;
    }
}

@media (max-width: 576px) and (max-height: 500px) {
    .chat-window {
        bottom: 75px;
        top: 70px;
        max-height: calc(100vh - 145px);
        min-height: 150px;
    }
    
    .chat-header {
        padding: 0.75rem;
    }
    
    .chat-body {
        padding: 0.75rem;
        min-height: 70px;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .chat-welcome {
        padding: 0;
        margin: 0;
    }
    
    .chat-welcome p {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .chat-welcome p:first-child {
        font-size: 0.9rem;
    }
}

/* Bootstrap grid utilities */
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.gy-4 {
    --bs-gutter-y: 1.5rem;
}

.gy-5 {
    --bs-gutter-y: 3rem;
}

@media (min-width: 1200px) {
    .align-items-xxl-center {
        align-items: center !important;
    }
    
    .flex-xxl-row {
        flex-direction: row !important;
    }
}

@media (min-width: 992px) {
    .align-items-lg-center {
        align-items: center !important;
    }
}

/* ============================================
   SIDEBAR PREMIUM POUR DASHBOARD
   ============================================ */
.sidebar-premium {
    padding: 2.5rem 1.75rem;
    border-right: 1px solid rgba(201, 161, 59, 0.1);
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: fixed;
    left: -300px;
    top: 0;
    bottom: 0;
    width: 300px;
    min-height: 100vh;
    color: white;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar-premium.show {
    left: 0;
}

.sidebar-premium .sidebar-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    padding: 0.75rem;
    background: var(--bg-gradient-gold);
    border: 3px solid rgba(201, 161, 59, 0.3);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(201, 161, 59, 0.4), 0 0 40px rgba(201, 161, 59, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sidebar-premium .sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.05);
}

.sidebar-premium .sidebar-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(201, 161, 59, 0.5), 0 0 60px rgba(201, 161, 59, 0.3);
    border-color: rgba(201, 161, 59, 0.5);
}

.sidebar-premium .btn-outline-light {
    background: var(--bg-gradient-gold);
    border: 3px solid rgba(201, 161, 59, 0.3);
    color: var(--primary);
    border-radius: var(--radius-full);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(201, 161, 59, 0.3), 0 0 30px rgba(201, 161, 59, 0.15);
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sidebar-premium .btn-outline-light:hover {
    background: var(--bg-gradient-gold);
    border-color: rgba(201, 161, 59, 0.5);
    color: var(--primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(201, 161, 59, 0.4), 0 0 40px rgba(201, 161, 59, 0.2);
}

.sidebar-premium > div:has(h5) {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-premium > div:has(h5) h5 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.sidebar-premium > div:has(h5) p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.sidebar-nav {
    display: grid;
    gap: 0.75rem;
}

.sidebar-nav a {
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 0;
    background: var(--secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s ease;
}

.sidebar-nav a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(201, 161, 59, 0.15);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.sidebar-nav a > * {
    position: relative;
    z-index: 1;
}

.sidebar-nav a:hover::after {
    opacity: 1;
}

.sidebar-nav a:hover::before,
.sidebar-nav a.active::before {
    transform: translateY(-50%) scaleY(1);
    height: 60%;
}

.sidebar-nav a:hover {
    color: white;
    transform: translateX(4px);
}

.sidebar-nav a.active {
    color: white;
    font-weight: 600;
    background: rgba(201, 161, 59, 0.2);
}

.sidebar-nav a.active::after {
    opacity: 1;
}

.sidebar-nav a i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
}

/* ============================================
   TABLE PREMIUM
   ============================================ */
.table-premium {
    width: 100%;
    min-width: 1000px;
    border-collapse: separate;
    border-spacing: 0 0.875rem;
    background: transparent;
}

.table-premium thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 1rem 1.125rem 0.75rem;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-premium tbody tr {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.table-premium tbody tr:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px) translateX(2px);
    border-color: var(--primary);
}

.table-premium tbody td {
    padding: 1rem 1.125rem;
    vertical-align: middle;
}

/* ============================================
   FORM PREMIUM
   ============================================ */
.form-premium {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.form-premium label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ============================================
   METRIC CARD
   ============================================ */
.metric-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.metric-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.metric-card h4 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
    color: var(--primary);
    font-weight: 800;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-step {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    transition: var(--transition);
    display: flex;
    gap: 1.125rem;
    align-items: center;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bg-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step:hover::before {
    transform: scaleY(1);
}

.timeline-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
}

.timeline-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-gold);
}

.timeline-step:hover .step-number::before {
    animation: rotate 1s linear infinite;
}

.timeline-step h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
}

.timeline-step p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   GLASS CARD SUBTLE
   ============================================ */
.glass-card-subtle {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ============================================
   TUNNEL HEADER & EXCHANGE CARDS
   ============================================ */
.tunnel-header {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.tunnel-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
}

.exchange-summary-card {
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.exchange-summary-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.chat-container {
    height: 500px;
    overflow-y: auto;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    max-width: 70%;
    transition: var(--transition);
}

.message.own {
    background: var(--bg-gradient);
    color: white;
    margin-left: auto;
    text-align: right;
    box-shadow: var(--shadow-sm);
}

.message.other {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.message-header {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

/* ============================================
   INPUT GROUP IMPROVEMENTS
   ============================================ */
.glass-card .input-group-sm .form-control,
.glass-card .input-group-sm .form-select {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    font-size: 0.875rem;
}

.glass-card .input-group-sm .form-control:focus,
.glass-card .input-group-sm .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
    outline: none;
}

.glass-card .input-group-text {
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-secondary);
}

.glass-card .input-group-sm .form-control.border-start-0,
.glass-card .input-group-sm .form-select.border-start-0 {
    border-left: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.glass-card .input-group-text i {
    font-size: 0.9rem;
    color: var(--primary);
}

.glass-card label.small {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.glass-card .bg-light {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

/* ============================================
   PLATFORM METRICS
   ============================================ */
.platform-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.5rem 0 0 0;
}

/* ============================================
   HERO BADGE & PREVIEW
   ============================================ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(31, 78, 121, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-preview {
    position: relative;
    margin-top: -1.25rem;
}

/* ============================================
   SECTIONS SPECIFIQUES
   ============================================ */
.partners-section {
    padding: 4rem 0;
}

.pricing-section {
    padding: 4rem 0;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Pricing Section Container - No scroll */
.pricing-section .container {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pricing-section .container .row {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.features-section {
    padding: 4rem 0;
}

/* ============================================
   MODAL IMPROVEMENTS
   ============================================ */
.modal {
    z-index: 9999 !important;
    position: fixed !important;
}

.modal.show {
    pointer-events: none !important;
}

.modal.show .modal-dialog {
    pointer-events: auto !important;
}

.modal-dialog {
    z-index: 10000 !important;
    position: relative !important;
    pointer-events: auto !important;
}

.modal-content {
    z-index: 10001 !important;
    position: relative !important;
    pointer-events: auto !important;
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
}

/* ============================================
   LOGO PREVIEW WRAPPER
   ============================================ */
.logo-preview-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.logo-preview-wrapper:hover {
    border-color: var(--primary);
    background: rgba(31, 78, 121, 0.05);
}

/* ============================================
   TAB CONTENT
   ============================================ */
.tab-content {
    padding-top: 1.5rem;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

/* ============================================
   NAV TABS PREMIUM
   ============================================ */
.nav-tabs-premium {
    border-bottom: 2px solid var(--border-color);
}

.nav-tabs-premium .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-tabs-premium .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tabs-premium .nav-link:hover,
.nav-tabs-premium .nav-link.active {
    color: var(--primary);
}

.nav-tabs-premium .nav-link:hover::before,
.nav-tabs-premium .nav-link.active::before {
    transform: scaleX(1);
}

/* ============================================
   STAT CARD (Duplicate removed - using definition above)
   ============================================ */

/* ============================================
   RESPONSIVE DASHBOARD
   ============================================ */
@media (max-width: 991.98px) {
    .dashboard-layout {
        flex-direction: column;
    }
    
    .sidebar-premium {
        width: 320px;
        max-width: 85vw;
    }
    
    .dashboard-content {
        padding: 1rem;
        padding-top: 4.375rem;
    }
    
    .table-premium {
        min-width: auto;
        font-size: 0.875rem;
    }
    
    .table-premium thead th,
    .table-premium tbody td {
        padding: 0.75rem 0.5rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    .sidebar-premium,
    .dashboard-topbar,
    .btn,
    .nav-tabs-premium {
        display: none !important;
    }
}

.print-only {
    display: none;
}

/* ============================================
   DASHBOARD BODY STYLES
   ============================================ */
.dashboard-body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* ============================================
   BACKGROUND UTILITIES
   ============================================ */
.bg-dark-subtle {
    background-color: rgba(31, 78, 121, 0.05) !important;
}

.bg-light-subtle {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================================
   BORDER RADIUS UTILITIES
   ============================================ */
.rounded-4 {
    border-radius: var(--radius-xl) !important;
}

.rounded-5 {
    border-radius: var(--radius-2xl) !important;
}

/* ============================================
   DASHBOARD SPECIFIC IMPROVEMENTS
   ============================================ */
.dashboard-content .glass-card {
    margin-bottom: 0;
}

.dashboard-content .glass-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.dashboard-content .glass-card .badge-soft {
    margin-bottom: 0;
}

.dashboard-content .progress-stat {
    margin-bottom: 1.5rem;
}

.dashboard-content .progress-stat p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.dashboard-content .progress-stat strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.dashboard-content .mini-card {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.dashboard-content .mini-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.dashboard-content .mini-card h4 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0;
}

/* ============================================
   FORM SELECT & INPUT IMPROVEMENTS
   ============================================ */
.form-select {
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231F4E79' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.form-select:disabled {
    background-color: var(--bg-secondary);
    opacity: 0.65;
    cursor: not-allowed;
}

/* ============================================
   BUTTON VARIATIONS
   ============================================ */
.btn-outline-light {
    border-color: var(--border-color);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: rgba(31, 78, 121, 0.05);
    border-color: rgba(31, 78, 121, 0.12);
    color: var(--primary);
}

.btn-danger {
    background-color: var(--danger);
    border-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-warning {
    background-color: var(--warning);
    border-color: var(--warning);
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-info {
    background-color: var(--info);
    border-color: var(--info);
    color: white;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   DROPDOWN IMPROVEMENTS
   ============================================ */
.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    background: var(--bg-primary);
    min-width: 200px;
}

.dropdown-item {
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: rgba(31, 78, 121, 0.1);
    color: var(--primary);
}

.dropdown-item.active {
    background-color: var(--bg-gradient);
    color: white;
}

.dropdown-divider {
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress {
    height: 0.75rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: var(--bg-gradient);
    transition: width 0.6s ease;
    border-radius: var(--radius-full);
}

.progress-bar.bg-success {
    background: linear-gradient(135deg, var(--success), #20c997) !important;
}

.progress-bar.bg-danger {
    background: linear-gradient(135deg, var(--danger), #e83e8c) !important;
}

.progress-bar.bg-warning {
    background: linear-gradient(135deg, var(--warning), #fd7e14) !important;
}

/* ============================================
   SPINNER & LOADING
   ============================================ */
.spinner-border {
    width: 2rem;
    height: 2rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.spinner-grow {
    width: 2rem;
    height: 2rem;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    animation: spinner-grow 0.75s linear infinite;
}

@keyframes spinner-grow {
    0% {
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   TOOLTIP IMPROVEMENTS
   ============================================ */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    max-width: 200px;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--primary);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--primary);
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--primary);
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--primary);
}

/* ============================================
   POPOVER IMPROVEMENTS
   ============================================ */
.popover {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: var(--bg-primary);
}

.popover-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--primary);
}

.popover-body {
    padding: 1rem;
    color: var(--text-primary);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
}

.toast-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--primary);
}

.toast-body {
    padding: 1rem;
    color: var(--text-primary);
}

/* ============================================
   OFF CANVAS
   ============================================ */
.offcanvas {
    background-color: var(--bg-primary);
    border-left: 1px solid var(--border-color);
}

.offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.offcanvas-title {
    font-weight: 600;
    color: var(--primary);
}

.offcanvas-body {
    padding: 1.5rem;
}

/* ============================================
   ENHANCED FOCUS STATES
   ============================================ */
.form-control:focus,
.form-select:focus,
.btn:focus,
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.25);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ============================================
   SMOOTH SCROLL BEHAVIOR
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   IMAGE LAZY LOADING
   ============================================ */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ============================================
   SELECTION STYLES
   ============================================ */
::selection {
    background-color: rgba(31, 78, 121, 0.2);
    color: var(--primary);
}

::-moz-selection {
    background-color: rgba(31, 78, 121, 0.2);
    color: var(--primary);
}

/* ============================================
   FOOTER SIMPLE, FLUIDE ET ULTRA MODERNE
   ============================================ */
.footer-premium {
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    color: var(--text-primary);
    width: 100%;
    max-width: 100%;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--secondary) 50%,
        transparent);
    opacity: 0.4;
}

.footer-premium .container {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    overflow-y: visible;
    max-width: 100%;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

/* Footer Row - No scroll */
.footer-premium .container .row {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Footer Branding */
.footer-premium .branding {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.footer-premium .branding img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(201, 161, 59, 0.3));
    transition: all 0.3s ease;
}

.footer-premium .branding:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(201, 161, 59, 0.4));
}

.footer-premium .branding h5 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, 
        var(--primary), 
        var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-premium .branding p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* Footer Sections */
.footer-premium h6 {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-premium h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    border-radius: var(--radius-full);
}

.footer-premium p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-premium p:hover {
    color: var(--text-primary);
}

/* Footer Links */
.footer-premium a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-premium a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.footer-premium a:hover {
    color: var(--primary);
}

.footer-premium a:hover::after {
    width: 100%;
}

/* Social Links */
.footer-premium .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-premium .social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.125rem;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.footer-premium .social-links a::after {
    display: none;
}

.footer-premium .social-links a:hover {
    background: var(--bg-gradient-gold);
    border-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(201, 161, 59, 0.3);
}

/* Footer Copyright */
.footer-premium > .container > div:last-child {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 1rem 2rem;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.footer-premium small {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: normal;
    line-height: 1.5;
    display: inline-flex;
    align-items: baseline;
    vertical-align: baseline;
    flex-shrink: 1;
    min-width: 0;
    word-wrap: break-word;
}

.footer-premium small:hover {
    color: var(--text-primary);
}

.footer-premium small.d-inline-flex {
    display: inline-flex !important;
    align-items: baseline !important;
}

.footer-premium small a {
    color: var(--text-light);
    font-weight: 400;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-premium small a:hover {
    color: var(--text-primary);
}

/* Beating Heart Animation */
.beating-heart {
    color: #ef4444;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-premium {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }
    
    .footer-premium .branding {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-premium .branding img {
        height: 50px;
    }
    
    .footer-premium .branding h5 {
        font-size: 1.375rem;
    }
    
    .footer-premium h6 {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-premium > .container > div:last-child {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: baseline !important;
        gap: 1rem;
        overflow: hidden !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        width: 100%;
        max-width: 100%;
    }
    
    @media (max-width: 480px) {
        .footer-premium > .container > div:last-child {
            flex-direction: column;
            justify-content: center;
            text-align: center;
            gap: 0.75rem;
            overflow: hidden !important;
            overflow-x: hidden !important;
            overflow-y: hidden !important;
            width: 100%;
            max-width: 100%;
        }
        
        .footer-premium > .container > div:last-child small:first-child,
        .footer-premium > .container > div:last-child small:last-child {
            margin-left: auto;
            margin-right: auto;
        }
    }
    
    .footer-premium .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-premium {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-premium .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}
