:root {
    /* 🎨 Palette Signature - Bold & Memorable */
    --primary: #5b4cff;           /* Electric Indigo - Plus saturé, plus distinctif */
    --primary-dark: #4338ca;      /* Deep Indigo */
    --primary-light: #818cf8;     /* Light Indigo */
    --primary-ultra-light: #eef2ff;
    
    --secondary: #a855f7;         /* Vivid Purple - Plus pop */
    --secondary-dark: #9333ea;
    --secondary-light: #c084fc;
    
    --accent: #00d4ff;            /* Electric Cyan - Très distinctif */
    --accent-vibrant: #ff6b35;    /* Coral vif - Actions importantes */
    
    --success: #00c896;           /* Turquoise success */
    --warning: #ffb800;           /* Gold warning */
    --danger: #ff4757;            /* Coral red */
    
    /* Dark Mode Colors */
    --dark: #0a0a1a;              /* Deep space - Plus profond */
    --dark-soft: #141428;
    --dark-lighter: #1e1e3f;
    
    /* Neutrals - Plus de contraste */
    --surface: #ffffff;
    --background: #fafbff;        /* Légère teinte bleutée */
    --background-dark: #f0f2ff;
    --text-main: #0a0a1a;
    --text-secondary: #4a4a68;
    --text-muted: #6b6b8a;
    --border: #e4e6f0;
    --border-light: #f0f2ff;
    
    /* Gradients - Élégants et sobres */
    --gradient-primary: linear-gradient(135deg, #5b4cff 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #5b4cff 100%);
    --gradient-dark: linear-gradient(135deg, #141428 0%, #0a0a1a 100%);
    --gradient-glow: linear-gradient(135deg, rgba(91, 76, 255, 0.06) 0%, rgba(124, 58, 237, 0.06) 100%);
    --gradient-shine: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    --gradient-hero: linear-gradient(135deg, #5b4cff 0%, #a855f7 50%, #00d4ff 100%); /* 3 couleurs réservé au hero uniquement */
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;            /* Légèrement réduit pour plus de netteté */
    --radius-full: 9999px;
    
    /* Shadows - COLORÉES et signature */
    --shadow-xs: 0 1px 2px 0 rgba(91, 76, 255, 0.05);
    --shadow-sm: 0 2px 8px -2px rgba(91, 76, 255, 0.12);
    --shadow-md: 0 4px 16px -4px rgba(91, 76, 255, 0.15);
    --shadow-lg: 0 8px 24px -6px rgba(91, 76, 255, 0.2);
    --shadow-xl: 0 16px 40px -8px rgba(91, 76, 255, 0.25);
    --shadow-2xl: 0 24px 60px -12px rgba(91, 76, 255, 0.35);
    --shadow-glow: 0 0 30px rgba(91, 76, 255, 0.4), 0 0 60px rgba(168, 85, 247, 0.2);
    --shadow-glow-lg: 0 0 50px rgba(91, 76, 255, 0.5), 0 0 100px rgba(0, 212, 255, 0.3);
    
    /* Transitions - Plus fluides */
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 200ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Utilitaires */
.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Force toutes les sections à ne pas dépasser */
section {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-smooth);
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    text-transform: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(91, 76, 255, 0.4), 0 0 0 0 rgba(91, 76, 255, 0);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(91, 76, 255, 0.5), 0 0 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    transition-duration: 100ms;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Header & Nav - Glassmorphism Effect */
.main-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-menu-btn, .mobile-menu {
    display: none;
}

.logo-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    line-height: 1;
}

.logo-link {
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.powered-by {
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.powered-by:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-link:hover {
    color: var(--primary);
}

/* Hero Section - Immersive & Bold */
.hero-section {
    padding: 160px 0 100px;
    text-align: center;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91, 76, 255, 0.2), transparent),
        radial-gradient(ellipse 50% 30% at 80% 20%, rgba(168, 85, 247, 0.15), transparent),
        radial-gradient(ellipse 40% 30% at 20% 60%, rgba(0, 212, 255, 0.1), transparent),
        var(--background);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(91, 76, 255, 0.03) 60deg, transparent 120deg);
    animation: hero-rotate 30s linear infinite;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-glow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 28px;
    letter-spacing: -3px;
}

.hero-title span {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--gradient-primary);
    opacity: 0.25;
    border-radius: var(--radius-full);
    filter: blur(10px);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.2; transform: scaleX(0.95); }
    50% { opacity: 0.35; transform: scaleX(1.05); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Features Grid */
.features-section {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(91, 76, 255, 0.35);
    transition: all var(--transition-bounce);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    transition: opacity var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 16px 32px rgba(91, 76, 255, 0.45);
}

.feature-card:hover .feature-icon::after {
    opacity: 0.5;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-desc {
    color: var(--text-muted);
}

/* Footer - Gradient Moderne */
.main-footer {
    background: var(--gradient-dark);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-brand h3 {
    margin: 0 0 16px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
}

.footer-col h4 {
    margin: 0 0 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    /* FORCE GLOBAL WIDTH CONSTRAINTS */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    /* Global & Layout */
    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100vw;
    }

    .hero-section {
        padding: 120px 0 60px;
        overflow-x: hidden;
    }

    /* Dashboard Mockup Mobile Fix */
    .hero-section > .container > div:last-child {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-section > .container > div:last-child > div {
        height: 300px !important;
        border-radius: 12px !important;
        margin: 0 !important;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Typography */
    .hero-title { 
        font-size: 2.25rem; 
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Header & Nav */
    .desktop-nav {
        display: none;
    }

    /* Mobile Menu Button Fix */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1100; /* Au-dessus de tout */
        margin-left: auto; /* Pousse le bouton à droite */
        margin-right: -10px; /* Compense le padding du bouton */
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--dark);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    /* Mobile Menu Overlay Fix - Radical */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        padding: 100px 24px 40px; /* Espace en haut pour ne pas cacher sous le header */
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 1050; /* Juste sous le bouton menu (1100) */
        border-top: none;
        overflow-y: auto;
        display: block; /* Force display block */
    }

    .mobile-menu.active {
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    /* Bouton menu toujours visible et au-dessus */
    .mobile-menu-btn {
        position: relative;
        z-index: 1100; /* Au-dessus du menu ouvert */
    }
    
    /* Force Menu Visibility when Active */
    body.menu-open {
        overflow: hidden;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--dark);
        text-decoration: none;
        padding: 8px 0;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Grids -> Stack */
    .features-grid,
    .stats-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Pricing Grid - Force 1 column */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    /* Problem Grid Specific Fix */
    .problem-grid {
        display: flex !important;
        flex-direction: column;
        gap: 40px;
    }

    /* Hero Actions */
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Stats - Mobile Responsive */
    .stats-section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 16px;
    }
    
    .stat-item h3 {
        font-size: 2rem !important;
    }
    
    .stat-item p {
        font-size: 0.9rem !important;
    }

    /* Problem Section */
    .problem-section {
        padding: 60px 0;
    }
    
    .problem-grid {
        gap: 40px;
    }
    
    .problem-content h2 {
        font-size: 1.5rem !important;
    }
    
    .problem-content {
        text-align: left;
    }
    
    .problem-list li {
        padding: 12px 0;
        font-size: 0.95rem;
    }
    
    /* CTA Sections Mobile */
    .cta-primary {
        padding: 60px 0 !important;
    }
    
    .cta-primary h2,
    .cta-content h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }
    
    .cta-primary p,
    .cta-content p {
        font-size: 1rem !important;
    }
    
    /* Inline CTA sections */
    section[style*="padding: 60px"] h2,
    section[style*="padding: 80px"] h2 {
        font-size: 1.5rem !important;
    }
    
    section[style*="padding: 60px"] p,
    section[style*="padding: 80px"] p {
        font-size: 1rem !important;
    }
    
    /* Features Section Mobile */
    .features-section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-icon {
        font-size: 2rem !important;
    }
    
    .feature-title {
        font-size: 1.1rem !important;
    }
    
    .feature-desc {
        font-size: 0.9rem !important;
    }

    /* Pricing */
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 32px 20px;
    }

    .pricing-card.featured {
        transform: none !important;
        scale: 1 !important;
    }

    .pricing-price {
        font-size: 2.5rem !important;
    }

    .pricing-features {
        font-size: 0.9rem;
    }

    /* Auth Pages */
    section[style*="min-height"] {
        padding: 20px 16px !important;
        align-items: flex-start !important;
        padding-top: 100px !important;
    }
    
    section[style*="min-height"] > .container {
        width: 100%;
    }
    
    section[style*="min-height"] .container > div {
        max-width: 100% !important;
    }
    
    section[style*="min-height"] .container > div > div {
        padding: 24px !important;
    }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        gap: 20px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
}

/* Stats Section - Premium Gradient */
.stats-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 60% 40% at 10% 50%, rgba(91, 76, 255, 0.3), transparent),
        radial-gradient(ellipse 50% 50% at 90% 20%, rgba(0, 212, 255, 0.2), transparent),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(168, 85, 247, 0.2), transparent);
    animation: stats-glow 10s ease-in-out infinite alternate;
}

@keyframes stats-glow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
    z-index: 1;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-smooth);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 8px;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(91, 76, 255, 0.3));
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.7;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Problem/Solution Section */
.problem-section {
    padding: 100px 0;
    background: var(--dark);
    color: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.problem-list li:before {
    content: "✗";
    color: #ef4444;
    font-weight: bold;
    font-size: 1.2rem;
}

.solution-list li:before {
    content: "✓";
    color: var(--primary);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: visible;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.pricing-card > * {
    position: relative;
    z-index: 1;
}

.pricing-card.featured {
    background: var(--gradient-dark);
    color: white;
    border: 2px solid rgba(91, 76, 255, 0.5);
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    position: relative;
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.4;
    filter: blur(25px);
}

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

.pricing-card:not(.featured):hover::before {
    opacity: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-lg);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

.pricing-price span {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card.featured .pricing-price span {
    color: rgba(255,255,255,0.7);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-main);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.author-info p {
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Sections Premium */
.cta-primary {
    background: var(--gradient-primary);
    padding: 120px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

/* ============================================
   CTA SECTIONS - Responsive Classes
   ============================================ */

/* CTA Section Light (white background) */
.cta-section-light {
    padding: 60px 0;
    background: white;
    text-align: center;
}

/* CTA Section Gradient */
.cta-section-gradient {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
    color: white;
}

/* CTA Titles */
.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.cta-title-light {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-title-large {
    font-size: 2.75rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

/* CTA Subtitles */
.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtitle-light {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtitle-large {
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 40px;
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Note */
.cta-note {
    margin-top: 24px;
    font-size: 0.9rem;
    opacity: 0.85;
    color: inherit;
}

/* Hero Note */
.hero-note {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Hero Image */
.hero-image-container {
    margin-top: 60px;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
    border: 3px solid rgba(99, 102, 241, 0.2);
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */

.btn-lg {
    padding: 16px 32px !important;
    font-size: 1.05rem !important;
}

.btn-xl {
    padding: 18px 40px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.btn-white {
    background: white !important;
    color: var(--primary) !important;
    font-weight: 700;
}

.btn-white:hover {
    background: var(--background) !important;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    font-weight: 600;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.btn-block {
    width: 100%;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Description */
.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-desc-light {
    opacity: 0.8;
    margin-bottom: 24px;
}

/* ============================================
   MOBILE RESPONSIVE - CTA & New Classes
   ============================================ */

@media (max-width: 768px) {
    /* CTA Sections Mobile */
    .cta-section-light,
    .cta-section-gradient {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-title-light {
        font-size: 1.5rem;
    }
    
    .cta-title-large {
        font-size: 1.75rem !important;
    }
    
    .cta-subtitle,
    .cta-subtitle-light {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .cta-subtitle-large {
        font-size: 1rem !important;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .btn-lg {
        padding: 14px 24px !important;
        font-size: 1rem !important;
    }
    
    .btn-xl {
        padding: 16px 32px !important;
        font-size: 1.05rem !important;
    }
    
    .cta-note {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .hero-note {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    /* Hero image responsive */
    .hero-image-container {
        margin-top: 40px;
    }
    
    .hero-image {
        border-radius: 12px;
        border-width: 2px;
    }
    
    /* Section subtitle mobile */
    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Pricing desc mobile */
    .pricing-desc,
    .pricing-desc-light {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .cta-title-large {
        font-size: 2.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   🎯 UTILITY CLASSES - Global Responsive System
   Use these classes across all pages for consistency
   ============================================ */

/* ----------------------------------------
   📐 GRID SYSTEM - Responsive
   ---------------------------------------- */
.grid {
    display: grid;
    gap: 20px;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Auto-fit grids */
.grid-auto-sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-auto-md { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-auto-lg { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }

/* Gap variants */
.gap-xs { gap: 8px; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }
.gap-xl { gap: 48px; }

/* ----------------------------------------
   📦 FLEXBOX UTILITIES
   ---------------------------------------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.flex-start { align-items: flex-start; }
.flex-end { align-items: flex-end; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* ----------------------------------------
   📝 TYPOGRAPHY UTILITIES
   ---------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }
.text-4xl { font-size: 2.5rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-white { color: white; }
.text-dark { color: var(--dark); }

/* Text overflow */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-break {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.text-nowrap { white-space: nowrap; }

/* ----------------------------------------
   📏 SPACING UTILITIES
   ---------------------------------------- */
/* Margin */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 40px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 40px; }

/* Padding */
.p-0 { padding: 0; }
.p-sm { padding: 12px; }
.p-md { padding: 20px; }
.p-lg { padding: 32px; }
.p-xl { padding: 48px; }
.px-sm { padding-left: 12px; padding-right: 12px; }
.px-md { padding-left: 20px; padding-right: 20px; }
.py-sm { padding-top: 12px; padding-bottom: 12px; }
.py-md { padding-top: 20px; padding-bottom: 20px; }
.py-lg { padding-top: 32px; padding-bottom: 32px; }

/* ----------------------------------------
   🎨 CARD COMPONENT - Reusable
   ---------------------------------------- */
.card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: visible;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

.card:hover {
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(91, 76, 255, 0.1);
    transform: translateY(-6px);
    border-color: rgba(91, 76, 255, 0.15);
}

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

/* Card glow effect on hover */
.card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-smooth);
    filter: blur(12px);
}

.card:hover::after {
    opacity: 0.15;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-flat {
    box-shadow: none;
    border: 1px solid var(--border);
}

.card-flat:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

.card-header {
    margin-top: -24px;
    margin-bottom: 20px;
    margin-left: -24px;
    margin-right: -24px;
    padding: 20px 24px;
    width: calc(100% + 48px);
    max-width: none;
    background: var(--gradient-glow);
    border-bottom: 1px solid var(--border-light);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-body {
    position: relative;
    z-index: 1;
}

.card-footer {
    margin: 20px -24px -24px;
    padding: 16px 24px;
    background: var(--background);
    border-top: 1px solid var(--border-light);
}

/* ----------------------------------------
   🔘 BADGE COMPONENT
   ---------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.badge-neutral {
    background: var(--background-dark);
    color: var(--text-secondary);
}

/* ----------------------------------------
   📋 LIST UTILITIES
   ---------------------------------------- */
.list-none {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-divided > li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.list-divided > li:last-child {
    border-bottom: none;
}

/* ----------------------------------------
   👁️ VISIBILITY UTILITIES
   ---------------------------------------- */
.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* ----------------------------------------
   📱 RESPONSIVE UTILITIES
   Mobile-first approach
   ---------------------------------------- */
@media (max-width: 768px) {
    /* Grid responsive */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .md\:grid-2 { grid-template-columns: repeat(2, 1fr); }
    
    /* Flex responsive */
    .flex-col-mobile { flex-direction: column !important; }
    .flex-col-reverse-mobile { flex-direction: column-reverse !important; }
    
    /* Gap responsive */
    .gap-sm-mobile { gap: 12px !important; }
    .gap-md-mobile { gap: 16px !important; }
    
    /* Text responsive */
    .text-center-mobile { text-align: center !important; }
    .text-left-mobile { text-align: left !important; }
    
    .text-sm-mobile { font-size: 0.875rem !important; }
    .text-base-mobile { font-size: 1rem !important; }
    .text-lg-mobile { font-size: 1.125rem !important; }
    
    /* Spacing responsive */
    .p-sm-mobile { padding: 16px !important; }
    .p-md-mobile { padding: 20px !important; }
    .px-sm-mobile { padding-left: 16px !important; padding-right: 16px !important; }
    .py-sm-mobile { padding-top: 16px !important; padding-bottom: 16px !important; }
    
    .mt-sm-mobile { margin-top: 12px !important; }
    .mt-md-mobile { margin-top: 20px !important; }
    .mb-sm-mobile { margin-bottom: 12px !important; }
    .mb-md-mobile { margin-bottom: 20px !important; }
    
    /* Width responsive */
    .w-full-mobile { width: 100% !important; }
    
    /* Visibility responsive */
    .hide-mobile { display: none !important; }
    .show-mobile { display: block !important; }
    .show-flex-mobile { display: flex !important; }
    
    /* Button responsive */
    .btn-block-mobile { 
        width: 100% !important;
        display: block !important;
    }
    
    /* Card responsive */
    .card {
        padding: 20px;
    }
    
    .card-header {
        margin-top: -20px;
        margin-bottom: 16px;
        margin-left: -20px;
        margin-right: -20px;
        padding: 16px 20px;
        width: calc(100% + 40px);
        max-width: none !important;
    }
    
    .card-footer {
        margin: 16px -20px -20px;
        padding: 12px 20px;
    }
}

/* Desktop only utilities */
@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
    .show-desktop { display: block !important; }
    .show-flex-desktop { display: flex !important; }
}

/* Tablet breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hide-tablet { display: none !important; }
}

/* ----------------------------------------
   🧩 SECTION LAYOUTS
   ---------------------------------------- */
.section {
    padding: 80px 0;
}

.section-sm {
    padding: 40px 0;
}

.section-lg {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-sm {
        padding: 30px 0;
    }
    
    .section-lg {
        padding: 70px 0;
    }
}

/* Page container */
.page-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 32px 20px;
}

@media (max-width: 768px) {
    .page-container {
        padding: 20px 16px;
    }
}

/* ----------------------------------------
   📊 STAT/METRIC COMPONENT
   ---------------------------------------- */
.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-value-sm {
    font-size: 1.1rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* ----------------------------------------
   🔗 LINK UTILITIES
   ---------------------------------------- */
.link {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.link-muted {
    color: var(--text-muted);
}

.link-muted:hover {
    color: var(--primary);
}

/* ----------------------------------------
   ⚡ QUICK ACTIONS COMPONENT
   ---------------------------------------- */
.quick-action-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.quick-action-item:hover {
    background: var(--gradient-glow);
    color: var(--primary);
    padding-left: 16px;
}

.quick-action-item i {
    width: 18px;
    text-align: center;
    color: var(--primary);
}

/* ----------------------------------------
   📐 WIDTH/HEIGHT UTILITIES
   ---------------------------------------- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-sm { max-width: 400px; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 800px; }
.max-w-xl { max-width: 1000px; }
.min-w-0 { min-width: 0; }

.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* ----------------------------------------
   🎭 ANIMATION UTILITIES
   ---------------------------------------- */
.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out;
}

.animate-slide-down {
    animation: slideDown 0.3s ease-out;
}

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

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

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

/* ----------------------------------------
   🔲 BORDER UTILITIES
   ---------------------------------------- */
.border { border: 1px solid var(--border); }
.border-light { border: 1px solid var(--border-light); }
.border-primary { border: 2px solid var(--primary); }
.border-none { border: none; }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }

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

/* ----------------------------------------
   🌫️ SHADOW UTILITIES
   ---------------------------------------- */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-glow { box-shadow: var(--shadow-glow); }

/* ----------------------------------------
   🎨 BACKGROUND UTILITIES
   ---------------------------------------- */
.bg-white { background: white; }
.bg-surface { background: var(--surface); }
.bg-background { background: var(--background); }
.bg-dark { background: var(--dark); }
.bg-primary { background: var(--primary); }
.bg-gradient { background: var(--gradient-primary); }
.bg-gradient-dark { background: var(--gradient-dark); }
.bg-glow { background: var(--gradient-glow); }

/* ----------------------------------------
   🖱️ CURSOR UTILITIES
   ---------------------------------------- */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* ----------------------------------------
   📍 POSITION UTILITIES
   ---------------------------------------- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; top: 0; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* ============================================
   🪟 MODAL COMPONENT
   ============================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 500px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Modal sizes */
.modal-sm { max-width: 400px; }
.modal-md { max-width: 500px; }
.modal-lg { max-width: 700px; }
.modal-xl { max-width: 900px; }
.modal-full { max-width: calc(100vw - 48px); }

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    font-size: 1.5rem;
    line-height: 1;
}

.modal-close:hover {
    background: var(--background-dark);
    color: var(--text-main);
}

/* Modal Body */
.modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    background: var(--background);
}

/* Modal variants */
.modal-danger .modal-header {
    background: rgba(239, 68, 68, 0.1);
    border-bottom-color: rgba(239, 68, 68, 0.2);
}

.modal-danger .modal-title {
    color: var(--danger);
}

.modal-success .modal-header {
    background: rgba(16, 185, 129, 0.1);
    border-bottom-color: rgba(16, 185, 129, 0.2);
}

.modal-success .modal-title {
    color: var(--success);
}

/* Centered modal content */
.modal-centered .modal-body {
    text-align: center;
    padding: 32px 24px;
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.modal-icon-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.modal-icon-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.modal-icon-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.modal-icon-info {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* Mobile modal */
@media (max-width: 768px) {
    .modal {
        max-width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 20px;
        max-height: calc(100vh - 180px);
    }
    
    .modal-footer {
        padding: 12px 20px;
        flex-direction: column-reverse;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    /* Bottom sheet style on mobile for small modals */
    .modal-sheet {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateY(100%);
        max-width: 100%;
        width: 100%;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    
    .modal-sheet.active {
        transform: translateY(0);
    }
}

/* ============================================
   📝 FORM COMPONENTS - Global
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: var(--text-main);
    transition: all var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
    background: var(--background-dark);
    cursor: not-allowed;
    color: var(--text-muted);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-help {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}

.form-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 6px;
}

.form-input.is-error,
.form-select.is-error {
    border-color: var(--danger);
}

.form-input.is-success,
.form-select.is-success {
    border-color: var(--success);
}

/* Checkbox & Radio */
.form-checkbox,
.form-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}

.form-checkbox input,
.form-radio input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ============================================
   🔔 ALERT COMPONENT
   ============================================ */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #065f46;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #92400e;
}

.alert-info {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-dark);
}

/* ============================================
   ⏳ LOADING COMPONENTS
   ============================================ */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

.spinner-lg {
    width: 40px;
    height: 40px;
    border-width: 4px;
}

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

/* Loading overlay */
.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, var(--background-dark) 25%, var(--background) 50%, var(--background-dark) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-title {
    height: 1.5em;
    width: 60%;
    margin-bottom: 1em;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    height: 200px;
}

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

/* ============================================
   📭 EMPTY STATE COMPONENT
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.empty-state-desc {
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* ============================================
   👤 AVATAR COMPONENT
   ============================================ */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    background: var(--gradient-primary);
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-xs { width: 24px; height: 24px; font-size: 0.7rem; }
.avatar-sm { width: 32px; height: 32px; font-size: 0.85rem; }
.avatar-md { width: 48px; height: 48px; font-size: 1.1rem; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.5rem; }
.avatar-xl { width: 96px; height: 96px; font-size: 2rem; }

.avatar-group {
    display: flex;
}

.avatar-group .avatar {
    margin-left: -12px;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.avatar-group .avatar:first-child {
    margin-left: 0;
}

/* ============================================
   ➖ DIVIDER COMPONENT
   ============================================ */
.divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.divider-light {
    background: var(--border-light);
}

.divider-vertical {
    width: 1px;
    height: 100%;
    margin: 0 16px;
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ============================================
   💬 TOOLTIPS
   ============================================ */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before,
.tooltip::after {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    pointer-events: none;
}

/* Bulle du tooltip */
.tooltip::before {
    content: attr(data-tooltip);
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 8px 12px;
    background: var(--dark);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Flèche du tooltip - désactivée pour design épuré */
.tooltip::after {
    display: none;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Tooltip positions */
.tooltip-bottom::before {
    bottom: auto;
    top: calc(100% + 6px);
    transform: translateX(-50%) translateY(-4px);
}

.tooltip-bottom:hover::before {
    transform: translateX(-50%) translateY(0);
}

.tooltip-left::before {
    bottom: auto;
    left: auto;
    right: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
}

.tooltip-left:hover::before {
    transform: translateY(-50%) translateX(0);
}

.tooltip-right::before {
    bottom: auto;
    left: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
}

.tooltip-right:hover::before {
    transform: translateY(-50%) translateX(0);
}

/* Fix tooltip on buttons - disable shine effect, reset tooltip positioning */
.btn.tooltip {
    overflow: visible;
}

/* Reset the shine effect pseudo-element for tooltip buttons */
.btn.tooltip::before {
    /* Override shine effect with tooltip content */
    content: attr(data-tooltip);
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(100% + 6px);
    width: auto;
    height: auto;
    background: var(--dark);
    color: white;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 101;
}

.btn.tooltip::after {
    display: none;
}

.btn.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   🖼️ MEDIA COMPONENTS - Images, Videos, Galleries
   ============================================ */

/* --- Aspect Ratio Containers --- */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-photo { aspect-ratio: 4 / 3; }
.aspect-portrait { aspect-ratio: 3 / 4; }
.aspect-cinema { aspect-ratio: 21 / 9; }

/* --- Image Styles --- */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.img-rounded {
    border-radius: var(--radius-lg);
}

.img-circle {
    border-radius: 50%;
}

/* Image with hover zoom */
.img-zoom {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.img-zoom img {
    transition: transform var(--transition-smooth);
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* --- Figure with Caption --- */
.figure {
    margin: 0;
    position: relative;
}

.figure-img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
}

.figure-caption {
    padding: 12px 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

/* --- Media Object (image + text) --- */
.media {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.media-img {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.media-img-lg {
    width: 96px;
    height: 96px;
}

.media-body {
    flex: 1;
    min-width: 0;
}

/* --- Gallery Grid --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.08);
}

/* Gallery overlay on hover */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background var(--transition-smooth);
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

/* Gallery with different layouts */
.gallery-masonry {
    columns: 3;
    column-gap: 16px;
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    aspect-ratio: auto;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .gallery-masonry {
        columns: 2;
    }
}

/* --- Video Container --- */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video thumbnail with play button */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-smooth);
}

.video-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--primary);
    margin-left: 4px;
}

.video-thumbnail:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* --- Lightbox (Image/Video Modal) --- */
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    cursor: zoom-out;
}

.lightbox-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.lightbox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 9999;
    max-width: 90vw;
    max-height: 90vh;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.lightbox img,
.lightbox video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
}

.lightbox-backdrop.active ~ .lightbox-close,
.lightbox.active ~ .lightbox-close {
    opacity: 1;
    visibility: visible;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Lightbox navigation arrows */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
}

.lightbox.active ~ .lightbox-nav {
    opacity: 1;
    visibility: visible;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Lightbox caption */
.lightbox-caption {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    text-align: center;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-full);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    max-width: 80%;
}

.lightbox.active ~ .lightbox-caption {
    opacity: 1;
    visibility: visible;
}

/* --- Image Overlay --- */
.img-overlay {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.img-overlay img {
    width: 100%;
    display: block;
    transition: transform var(--transition-smooth);
}

.img-overlay-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.img-overlay:hover .img-overlay-content {
    opacity: 1;
}

.img-overlay:hover img {
    transform: scale(1.05);
}

/* Overlay always visible variant */
.img-overlay-visible .img-overlay-content {
    opacity: 1;
}

/* --- Carousel/Slider --- */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.carousel-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* Carousel dots */
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* --- File Preview --- */
.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.file-preview-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* File type colors */
.file-preview-icon-pdf { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.file-preview-icon-image { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.file-preview-icon-video { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.file-preview-icon-audio { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.file-preview-icon-excel { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.file-preview-icon-word { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.file-preview-icon-zip { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }
.file-preview-icon-code { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

/* ========================================
   WORKFLOW / STEPPER COMPONENT
======================================== */

/* Container */
.workflow {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.workflow-horizontal {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
}

/* Step */
.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding-bottom: 32px;
}

.workflow-horizontal .workflow-step {
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding-bottom: 0;
    text-align: center;
}

/* Connector line - Vertical */
.workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 44px;
    width: 2px;
    height: calc(100% - 44px);
    background: var(--border);
    transition: background 0.3s ease;
}

.workflow-step.step-done:not(:last-child)::after,
.workflow-step.step-completed:not(:last-child)::after {
    background: var(--success);
}

.workflow-step.step-error:not(:last-child)::after {
    background: var(--danger);
}

/* Connector line - Horizontal */
.workflow-horizontal .workflow-step:not(:last-child)::after {
    left: calc(50% + 24px);
    top: 20px;
    width: calc(100% - 48px);
    height: 2px;
}

/* Step indicator */
.workflow-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    background: var(--surface);
    border: 2px solid var(--border);
    color: var(--text-muted);
}

/* Pulse animation for active step */
@keyframes workflow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}

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

/* Status: Pending (default) */
.step-pending .workflow-indicator {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-muted);
}

/* Status: Waiting */
.step-waiting .workflow-indicator {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #f59e0b;
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.step-waiting .workflow-indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.5);
    animation: workflow-spin 1.5s linear infinite;
}

/* Status: In Progress */
.step-progress .workflow-indicator,
.step-active .workflow-indicator {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    animation: workflow-pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

/* Status: Done/Completed */
.step-done .workflow-indicator,
.step-completed .workflow-indicator {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #059669;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Status: Error */
.step-error .workflow-indicator {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #dc2626;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Status: Skipped */
.step-skipped .workflow-indicator {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-muted);
    opacity: 0.5;
}

/* Step content */
.workflow-content {
    flex: 1;
    padding-top: 2px;
}

.workflow-horizontal .workflow-content {
    padding-top: 12px;
}

.workflow-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.step-pending .workflow-title {
    color: var(--text-muted);
}

.step-done .workflow-title,
.step-completed .workflow-title {
    color: var(--success);
}

.step-error .workflow-title {
    color: var(--danger);
}

.workflow-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.workflow-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.workflow-meta i {
    margin-right: 4px;
    opacity: 0.7;
}

.workflow-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workflow-badge-pending { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.workflow-badge-waiting { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.workflow-badge-progress { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
.workflow-badge-done { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.workflow-badge-error { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

/* Size variants */
.workflow-sm .workflow-step { gap: 12px; padding-bottom: 24px; }
.workflow-sm .workflow-indicator { width: 32px; height: 32px; font-size: 0.8rem; }
.workflow-sm .workflow-step:not(:last-child)::after { left: 15px; top: 36px; height: calc(100% - 36px); }
.workflow-sm .workflow-title { font-size: 0.9rem; }
.workflow-sm .workflow-description { font-size: 0.8rem; }

.workflow-lg .workflow-step { gap: 20px; padding-bottom: 40px; }
.workflow-lg .workflow-indicator { width: 52px; height: 52px; font-size: 1.1rem; }
.workflow-lg .workflow-step:not(:last-child)::after { left: 25px; top: 56px; height: calc(100% - 56px); }
.workflow-lg .workflow-title { font-size: 1.1rem; }

/* Card variant */
.workflow-cards .workflow-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 12px;
}

.workflow-cards .workflow-step:not(:last-child)::after {
    display: none;
}

.workflow-cards .workflow-step::before {
    content: '';
    position: absolute;
    left: 39px;
    bottom: -12px;
    width: 2px;
    height: 12px;
    background: var(--border);
}

.workflow-cards .workflow-step:last-child::before {
    display: none;
}

.workflow-cards .step-done::before,
.workflow-cards .step-completed::before {
    background: var(--success);
}

/* Timeline variant */
.workflow-timeline .workflow-step {
    padding-left: 24px;
}

.workflow-timeline .workflow-indicator {
    width: 16px;
    height: 16px;
    border-width: 3px;
}

.workflow-timeline .workflow-step:not(:last-child)::after {
    left: 31px;
    top: 20px;
    height: calc(100% - 20px);
}

.workflow-timeline .step-done .workflow-indicator,
.workflow-timeline .step-completed .workflow-indicator {
    background: var(--success);
    border-color: var(--success);
}

.workflow-timeline .step-progress .workflow-indicator,
.workflow-timeline .step-active .workflow-indicator {
    background: var(--primary);
    border-color: var(--primary);
    animation: workflow-pulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .workflow-horizontal {
        flex-direction: column;
    }
    
    .workflow-horizontal .workflow-step {
        flex-direction: row;
        text-align: left;
        padding-bottom: 32px;
    }
    
    .workflow-horizontal .workflow-step:not(:last-child)::after {
        left: 20px;
        top: 44px;
        width: 2px;
        height: calc(100% - 44px);
    }
    
    .workflow-horizontal .workflow-content {
        padding-top: 2px;
    }
}

/* ========================================
   WORKFLOW SHOWCASE - VERSION PREMIUM
======================================== */

.workflow-showcase {
    display: flex;
    gap: 0;
    position: relative;
    padding: 20px 0;
}

.workflow-showcase::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 60px;
    right: 60px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 0;
}

/* Progress line */
.workflow-showcase .workflow-progress {
    position: absolute;
    top: 50%;
    left: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.5s ease;
}

.workflow-showcase-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Card */
.workflow-showcase-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 0;
    width: 100%;
    max-width: 280px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.workflow-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border);
    transition: background 0.3s ease;
}

.workflow-showcase-step.step-done .workflow-showcase-card::before {
    background: var(--success);
}

.workflow-showcase-step.step-progress .workflow-showcase-card::before,
.workflow-showcase-step.step-active .workflow-showcase-card::before {
    background: var(--gradient-primary);
}

.workflow-showcase-step.step-waiting .workflow-showcase-card::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.workflow-showcase-step.step-error .workflow-showcase-card::before {
    background: var(--danger);
}

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

.workflow-showcase-step.step-progress .workflow-showcase-card,
.workflow-showcase-step.step-active .workflow-showcase-card {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

/* Image */
.workflow-showcase-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

/* Node/Indicator */
.workflow-showcase-node {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface);
    border: 4px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -28px auto 0;
    position: relative;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
    color: var(--text-muted);
}

.workflow-showcase-step.step-done .workflow-showcase-node {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #059669;
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.workflow-showcase-step.step-progress .workflow-showcase-node,
.workflow-showcase-step.step-active .workflow-showcase-node {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    animation: workflow-pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    transform: scale(1.1);
}

.workflow-showcase-step.step-waiting .workflow-showcase-node {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #f59e0b;
    color: white;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.workflow-showcase-step.step-error .workflow-showcase-node {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #dc2626;
    color: white;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

/* Content */
.workflow-showcase-content {
    padding: 20px;
    text-align: center;
}

.workflow-showcase-step-num {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.workflow-showcase-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.workflow-showcase-step.step-done .workflow-showcase-title {
    color: var(--success);
}

.workflow-showcase-step.step-progress .workflow-showcase-title,
.workflow-showcase-step.step-active .workflow-showcase-title {
    color: var(--primary);
}

.workflow-showcase-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.workflow-showcase-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.workflow-showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.workflow-showcase-tag-pending {
    background: var(--surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.workflow-showcase-tag-waiting {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.workflow-showcase-tag-progress {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.workflow-showcase-tag-done {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.workflow-showcase-tag-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Avatar group in card */
.workflow-showcase-avatars {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.workflow-showcase-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    margin-left: -8px;
    object-fit: cover;
}

.workflow-showcase-avatars img:first-child {
    margin-left: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .workflow-showcase {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .workflow-showcase::before {
        top: 60px;
        bottom: 60px;
        left: 50%;
        right: auto;
        width: 4px;
        height: auto;
        transform: translateX(-50%);
    }
    
    .workflow-showcase .workflow-progress {
        top: 60px;
        left: 50%;
        width: 4px !important;
        transform: translateX(-50%);
    }
    
    .workflow-showcase-step {
        width: 100%;
        max-width: 400px;
    }
    
    .workflow-showcase-card {
        max-width: 100%;
    }
}

/* ========================================
   TABLES
======================================== */

.table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table th {
    background: var(--background);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table td {
    color: var(--text-muted);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Hover effect */
.table-hover tbody tr {
    transition: background 0.2s ease;
}

.table-hover tbody tr:hover {
    background: var(--background);
}

/* Striped */
.table-striped tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

/* Bordered */
.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border);
}

/* Compact */
.table-sm th,
.table-sm td {
    padding: 8px 12px;
    font-size: 0.85rem;
}

/* Sortable headers */
.table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.table th.sortable:hover {
    background: var(--surface);
}

.table th.sortable::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-light);
    opacity: 0.3;
    transition: all 0.2s ease;
}

.table th.sortable:hover::after {
    opacity: 0.6;
}

.table th.sortable.sort-asc::after {
    border-top: none;
    border-bottom: 5px solid var(--primary);
    opacity: 1;
}

.table th.sortable.sort-desc::after {
    border-top: 5px solid var(--primary);
    opacity: 1;
}

/* Row status */
.table tr.row-success { background: rgba(16, 185, 129, 0.08); }
.table tr.row-warning { background: rgba(245, 158, 11, 0.08); }
.table tr.row-danger { background: rgba(239, 68, 68, 0.08); }
.table tr.row-info { background: rgba(99, 102, 241, 0.08); }

/* Cell actions */
.table-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.table-actions .btn {
    padding: 6px 10px;
    font-size: 0.8rem;
}

/* Checkbox column */
.table th.col-checkbox,
.table td.col-checkbox {
    width: 40px;
    text-align: center;
}

/* Avatar in table */
.table-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.table-avatar-info {
    display: flex;
    flex-direction: column;
}

.table-avatar-name {
    font-weight: 600;
    color: var(--text);
}

.table-avatar-email {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-top: 1px solid var(--border);
    background: var(--background);
    flex-wrap: wrap;
    gap: 12px;
}

.pagination-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--background);
    border-color: var(--primary-light);
    color: var(--primary);
}

.pagination-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: var(--text-light);
}

/* Per page selector */
.pagination-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pagination-per-page select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text);
    font-size: 0.85rem;
}

/* ========================================
   TABS
======================================== */

.tabs {
    width: 100%;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border);
    gap: 0;
    overflow-x: auto;
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--text);
    background: var(--background);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.2s ease;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    background: var(--primary);
}

/* Tab with icon */
.tab-btn i {
    margin-right: 8px;
}

/* Tab badge */
.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 8px;
    background: var(--background);
    color: var(--text-muted);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tab-btn.active .tab-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* Tab content */
.tabs-content {
    padding: 20px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: tabFadeIn 0.3s ease;
}

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

/* Tabs variants */

/* Pills style */
.tabs-pills .tabs-nav {
    border-bottom: none;
    gap: 8px;
    padding: 4px;
    background: var(--background);
    border-radius: var(--radius-lg);
    width: fit-content;
}

.tabs-pills .tab-btn {
    border-radius: var(--radius-md);
    padding: 10px 16px;
}

.tabs-pills .tab-btn::after {
    display: none;
}

.tabs-pills .tab-btn.active {
    background: var(--surface);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Boxed style */
.tabs-boxed .tabs-nav {
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--background);
}

.tabs-boxed .tab-btn {
    border-right: 1px solid var(--border);
}

.tabs-boxed .tab-btn:last-child {
    border-right: none;
}

.tabs-boxed .tab-btn::after {
    display: none;
}

.tabs-boxed .tab-btn.active {
    background: var(--surface);
    color: var(--primary);
}

.tabs-boxed .tabs-content {
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 20px;
    background: var(--surface);
}

/* Vertical tabs */
.tabs-vertical {
    display: flex;
    gap: 0;
}

.tabs-vertical .tabs-nav {
    flex-direction: column;
    border-bottom: none;
    border-right: 2px solid var(--border);
    min-width: 180px;
}

.tabs-vertical .tab-btn {
    text-align: left;
    border-radius: 0;
}

.tabs-vertical .tab-btn::after {
    bottom: auto;
    left: auto;
    right: -2px;
    top: 0;
    width: 2px;
    height: 100%;
}

.tabs-vertical .tabs-content {
    flex: 1;
    padding: 0 0 0 20px;
}

/* Full width tabs */
.tabs-full .tabs-nav {
    width: 100%;
}

.tabs-full .tab-btn {
    flex: 1;
    text-align: center;
}

/* ========================================
   BREADCRUMBS
======================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: var(--background);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text);
    font-weight: 500;
    pointer-events: none;
}

.breadcrumb-item i {
    margin-right: 6px;
    font-size: 0.85em;
}

.breadcrumb-separator {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Breadcrumb with icons */
.breadcrumb-icon .breadcrumb-separator {
    display: none;
}

.breadcrumb-icon .breadcrumb-item::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    margin-left: 12px;
    color: var(--text-light);
}

.breadcrumb-icon .breadcrumb-item:last-child::after {
    display: none;
}

/* ========================================
   DROPDOWN / MENU
======================================== */

.dropdown {
    position: relative;
    display: inline-block;
    z-index: 100;
}

.dropdown.active {
    z-index: 1001;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 8px 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.dropdown-menu-right {
    left: auto;
    right: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: var(--background);
    color: var(--primary);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.15s ease;
}

.dropdown-item:hover i {
    color: var(--primary);
}

.dropdown-item-danger {
    color: var(--danger);
}

.dropdown-item-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.dropdown-item-danger i {
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    margin: 8px 0;
    background: var(--border);
}

.dropdown-header {
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

/* ========================================
   ACCORDION
======================================== */

.accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: var(--surface);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s ease;
}

.accordion-header:hover {
    background: var(--background);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--background);
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-icon {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 16px 20px;
    color: var(--text-muted);
    line-height: 1.6;
    background: var(--background);
}

/* Accordion flush (no borders) */
.accordion-flush {
    border: none;
    border-radius: 0;
}

.accordion-flush .accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-flush .accordion-header {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
}

.accordion-flush .accordion-body {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
}

/* ========================================
   PROGRESS BARS
======================================== */

.progress {
    height: 8px;
    background: var(--background);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Colors */
.progress-bar-success { background: linear-gradient(90deg, #10b981, #059669); }
.progress-bar-warning { background: linear-gradient(90deg, #f59e0b, #d97706); }
.progress-bar-danger { background: linear-gradient(90deg, #ef4444, #dc2626); }
.progress-bar-info { background: linear-gradient(90deg, #06b6d4, #0891b2); }

/* Sizes */
.progress-sm { height: 4px; }
.progress-lg { height: 12px; }
.progress-xl { height: 20px; }

/* With label */
.progress-xl .progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

/* Striped */
.progress-striped .progress-bar {
    background-color: var(--primary);
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
}

/* Animated */
.progress-animated .progress-bar {
    animation: progressStripes 1s linear infinite;
}

@keyframes progressStripes {
    from { background-position: 1rem 0; }
    to { background-position: 0 0; }
}

/* Indeterminate */
.progress-indeterminate .progress-bar {
    width: 30% !important;
    animation: progressIndeterminate 1.5s ease-in-out infinite;
}

@keyframes progressIndeterminate {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* Progress with label outside */
.progress-labeled {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-labeled .progress {
    flex: 1;
}

.progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    min-width: 45px;
    text-align: right;
}

/* Circular progress */
.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-circle svg {
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.progress-circle-bar {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease;
}

.progress-circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.progress-circle-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* ========================================
   TOAST / SNACKBAR
======================================== */

.toast-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
}

.toast-container.top-right { top: 20px; right: 20px; }
.toast-container.top-left { top: 20px; left: 20px; }
.toast-container.top-center { top: 20px; left: 50%; transform: translateX(-50%); }
.toast-container.bottom-right { bottom: 20px; right: 20px; }
.toast-container.bottom-left { bottom: 20px; left: 20px; }
.toast-container.bottom-center { bottom: 20px; left: 50%; transform: translateX(-50%); }

.toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 300px;
    max-width: 420px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-bottom: 12px;
    pointer-events: auto;
    animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.toast-out {
    animation: toastOut 0.2s ease forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.toast-success .toast-icon { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.toast-error .toast-icon { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.toast-warning .toast-icon { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.toast-info .toast-icon { background: rgba(99, 102, 241, 0.1); color: var(--primary); }

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    margin: -4px -4px -4px 0;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.toast-close:hover {
    background: var(--background);
    color: var(--text);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ========================================
   TOGGLE / SWITCH
======================================== */

.toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: relative;
    width: 48px;
    height: 26px;
    background: var(--border);
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-input:checked + .toggle-slider {
    background: var(--gradient-primary);
}

.toggle-input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.toggle-input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.toggle-input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Toggle with label */
.toggle-label {
    margin-left: 12px;
    font-size: 0.9rem;
    color: var(--text);
    user-select: none;
}

/* Toggle sizes */
.toggle-sm .toggle-slider {
    width: 36px;
    height: 20px;
}

.toggle-sm .toggle-slider::before {
    width: 14px;
    height: 14px;
}

.toggle-sm .toggle-input:checked + .toggle-slider::before {
    transform: translateX(16px);
}

.toggle-lg .toggle-slider {
    width: 60px;
    height: 32px;
}

.toggle-lg .toggle-slider::before {
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
}

.toggle-lg .toggle-input:checked + .toggle-slider::before {
    transform: translateX(28px);
}

/* Toggle with icons */
.toggle-icons .toggle-slider::after {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.toggle-icons .toggle-input:checked + .toggle-slider::after {
    content: '\f00c';
    right: auto;
    left: 8px;
}

/* ========================================
   SKELETON LOADERS
======================================== */

.skeleton {
    background: linear-gradient(90deg, var(--background) 25%, var(--surface) 50%, var(--background) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

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

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-title {
    height: 1.5em;
    width: 40%;
    margin-bottom: 1em;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-avatar-sm { width: 32px; height: 32px; }
.skeleton-avatar-lg { width: 64px; height: 64px; }

.skeleton-image {
    width: 100%;
    height: 200px;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    border-radius: var(--radius-md);
}

/* Skeleton card */
.skeleton-card {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.skeleton-card-image {
    height: 160px;
    margin: -20px -20px 16px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ========================================
   TAGS / CHIPS
======================================== */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.8rem;
    color: var(--text);
    transition: all 0.2s ease;
}

.tag:hover {
    border-color: var(--primary-light);
    background: rgba(99, 102, 241, 0.05);
}

.tag i {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 2px;
    margin-right: -4px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.65rem;
}

.tag-remove:hover {
    background: var(--danger);
    color: white;
}

/* Tag colors */
.tag-primary { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.3); color: var(--primary); }
.tag-success { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); color: var(--success); }
.tag-warning { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3); color: #d97706; }
.tag-danger { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.3); color: var(--danger); }

/* Tag sizes */
.tag-sm { padding: 2px 8px; font-size: 0.7rem; }
.tag-lg { padding: 6px 14px; font-size: 0.9rem; }

/* Tags container */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ========================================
   RATING / STARS
======================================== */

.rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.rating-star {
    color: var(--border);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rating-star.active,
.rating-star.filled {
    color: #fbbf24;
}

.rating-star:hover {
    transform: scale(1.2);
}

.rating:hover .rating-star {
    color: #fbbf24;
}

.rating:hover .rating-star:hover ~ .rating-star {
    color: var(--border);
}

/* Rating readonly */
.rating-readonly .rating-star {
    cursor: default;
}

.rating-readonly .rating-star:hover {
    transform: none;
}

/* Rating with value */
.rating-value {
    margin-left: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.rating-count {
    margin-left: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Rating sizes */
.rating-sm .rating-star { font-size: 0.9rem; }
.rating-lg .rating-star { font-size: 1.75rem; }

/* ========================================
   SEARCH BAR
======================================== */

.search {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    transition: all 0.15s ease;
}

.search-input:not(:placeholder-shown) + .search-icon + .search-clear,
.search-clear.visible {
    opacity: 1;
}

.search-clear:hover {
    background: var(--border);
    color: var(--text);
}

/* Search with button */
.search-with-btn {
    display: flex;
    gap: 8px;
}

.search-with-btn .search {
    flex: 1;
    max-width: none;
}

/* Search expanded */
.search-expandable {
    width: 44px;
    transition: width 0.3s ease;
}

.search-expandable:focus-within {
    width: 300px;
}

.search-expandable .search-input {
    padding-right: 12px;
}

/* Search results dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.search-result-item:hover {
    background: var(--background);
}

.search-result-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.file-preview-info {
    flex: 1;
    min-width: 0;
}

.file-preview-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-size {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Image preview thumbnail */
.file-preview-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

@media (max-width: 768px) {
    .lightbox img,
    .lightbox video {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .lightbox-close,
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
}

/* ============================================
   🎯 FOCUS & ACCESSIBILITY
   ============================================ */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   🖱️ SELECTION & SCROLLBAR
   ============================================ */
::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-main);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ============================================
   🖨️ PRINT STYLES
   ============================================ */
@media print {
    .main-header,
    .main-footer,
    .btn,
    .mobile-menu-btn,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        text-decoration: underline;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   🎨 ADDITIONAL BUTTON VARIANTS
   ============================================ */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--background-dark);
}

.btn-icon {
    padding: 12px;
    min-width: auto;
}

.btn-icon-sm {
    padding: 8px;
}

/* Button with icon */
.btn i,
.btn svg {
    margin-right: 8px;
}

.btn-icon i,
.btn-icon svg {
    margin: 0;
}

/* Button loading state */
.btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.is-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

/* ============================================
   📱 MOBILE FORM RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .empty-state {
        padding: 40px 16px;
    }
    
    .empty-state-icon {
        font-size: 3rem;
    }
    
    .avatar-lg { width: 56px; height: 56px; }
    .avatar-xl { width: 80px; height: 80px; }
}

/* Améliorations du header - Logo géré par composant */
