@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

        :root {
            /* Palette violet pastel moderne */
            --primary: #a68dd2;
            --primary-hover: #8f76c7;
            --primary-light: #a78bfa;
            --primary-ultralight: #f3f0ff;
            
            --secondary: #7ea3ff;
            --secondary-light: #f472b6;
            
            --accent: #06b6d4;
            --accent-light: #22d3ee;
            
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            
            /* Backgrounds */
            --bg-primary: #fefefe;
            --bg-secondary: #f8fafc;
            --bg-tertiary: #ffffff;
            --bg-card: #ffffff;
            
            /* Text colors */
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-tertiary: #94a3b8;
            --text-white: #ffffff;
            
            /* Borders */
            --border-light: #e2e8f0;
            --border-medium: #cbd5e1;
            --border-strong: #94a3b8;
            
            /* Shadows */
            --shadow-sm: 0 1px 2px 0 rgba(139, 92, 246, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(139, 92, 246, 0.1), 0 2px 4px -1px rgba(139, 92, 246, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(139, 92, 246, 0.1), 0 4px 6px -2px rgba(139, 92, 246, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(139, 92, 246, 0.1), 0 10px 10px -5px rgba(139, 92, 246, 0.04);
            --shadow-hover: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
            
            /* Gradients */
            --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
            --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
            --gradient-hover: linear-gradient(135deg, var(--primary-hover) 0%, #d946ef 100%);
            --gradient-bg: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
        }

        html.dark {
            --primary: #bb86fc;
            --primary-hover: #9b6fe7;
            --primary-light: #c4b5fd;
            --primary-ultralight: #1e1b24;
            
            --secondary: #f472b6;
            --secondary-light: #ec4899;
            
            --bg-primary: #1e1b24;
            --bg-secondary: #1a1a35;
            --bg-tertiary: #252547;
            --bg-card: #2a2733;
            
            --text-primary: #f1f5f9;
            --text-secondary: #cbd5e1;
            --text-tertiary: #94a3b8;
            
            --border-light: #334155;
            --border-medium: #475569;
            --border-strong: #64748b;
            
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
            --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            
            --gradient-card: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
            --gradient-bg: linear-gradient(135deg, #1e1b24 0%, #2a2733 100%);
        }

        /* ===== BASE STYLES ===== */
        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            margin: 0;
            padding: 0;

            background: var(--gradient-bg);
            color: var(--text-primary);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        /* ===== HERO SECTION ===== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 1rem;
            position: relative;
            background: var(--gradient-bg);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 20%, rgba(166, 141, 210, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(126, 163, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
            pointer-events: none;
        }

        .hero-content {
            text-align: center;
            max-width: 1000px;
            z-index: 2;
            position: relative;
        }

        .hero-title {
            font-size: clamp(3rem, 8vw, 5.5rem);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            background: var(--gradient-hero);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.04em;
            animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
        }

        .hero-subtitle {
            font-size: clamp(1.2rem, 3vw, 1.5rem);
            color: var(--text-secondary);
            margin-bottom: 3rem;
            font-weight: 500;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
        }

        .hero-cta {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 4rem;
            animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
        }

        .cta-primary, .cta-secondary {
            padding: 18px 36px;
            border-radius: 16px;
            font-size: 1.1rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            letter-spacing: -0.01em;
            min-width: 200px;
            justify-content: center;
        }

        .cta-primary {
            background: var(--gradient-primary);
            color: var(--text-white);
            box-shadow: var(--shadow-lg);
            border: none;
        }

        .cta-primary::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-hover);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .cta-primary:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: var(--shadow-hover);
        }

        .cta-primary:hover::before {
            opacity: 1;
        }

        .cta-primary > * {
            position: relative;
            z-index: 1;
        }

        .cta-secondary {
            background: var(--bg-card);
            color: var(--text-primary);
            border: 2px solid var(--border-light);
            box-shadow: var(--shadow-md);
        }

        .cta-secondary:hover {
            transform: translateY(-4px) scale(1.02);
            border-color: var(--primary);
            color: var(--primary);
            box-shadow: var(--shadow-hover);
        }

        /* ===== FLOATING CARDS ===== */
        .floating-cards {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .floating-card {
            position: absolute;
            width: 80px;
            height: 50px;
            background: var(--gradient-card);
            border-radius: 8px;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            animation: float 6s ease-in-out infinite;
        }

        .floating-card:nth-child(1) {
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-card:nth-child(2) {
            top: 30%;
            right: 15%;
            animation-delay: 2s;
        }

        .floating-card:nth-child(3) {
            bottom: 30%;
            left: 8%;
            animation-delay: 4s;
        }

        .floating-card:nth-child(4) {
            bottom: 20%;
            right: 12%;
            animation-delay: 1s;
        }

        /* ===== FEATURES SECTION ===== */
        .features {
            padding: 6rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .features-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .features-title {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.03em;
        }

        .features-subtitle {
            font-size: 1.3rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .feature-card {
            background: var(--gradient-card);
            border: 1px solid var(--border-light);
            border-radius: 24px;
            padding: 2.5rem;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            display: block;
        }

        .feature-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .feature-description {
            color: var(--text-secondary);
            line-height: 1.6;
            font-size: 1rem;
        }

        /* ===== STATS SECTION ===== */
        .stats {
            background: var(--gradient-primary);
            color: var(--text-white);
            padding: 4rem 2rem;
            margin: 4rem 0;
            position: relative;
        }

        .stats::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
            pointer-events: none;
        }

        .stats-content {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            position: relative;
            z-index: 2;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 900;
            margin-bottom: 0.5rem;
            line-height: 1;
        }

        .stat-label {
            font-size: 1.1rem;
            opacity: 0.95;
            font-weight: 600;
        }

        /* ===== CTA SECTION ===== */
        .final-cta {
            padding: 6rem 2rem;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .final-cta-title {
            font-size: clamp(2.5rem, 5vw, 3rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.02em;
        }

        .final-cta-description {
            font-size: 1.2rem;
            color: var(--text-secondary);
            margin-bottom: 3rem;
            line-height: 1.6;
        }

        .final-cta-button {
            background: var(--gradient-primary);
            color: var(--text-white);
            padding: 20px 50px;
            border-radius: 18px;
            font-size: 1.2rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            gap: 12px;
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
            letter-spacing: -0.01em;
        }

        .final-cta-button::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-hover);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .final-cta-button:hover {
            transform: translateY(-4px) scale(1.05);
            box-shadow: var(--shadow-hover);
        }

        .final-cta-button:hover::before {
            opacity: 1;
        }

        .final-cta-button > * {
            position: relative;
            z-index: 1;
        }

        /* ===== FOOTER ===== */
        footer {
            background: var(--bg-card);
            border-top: 1px solid var(--border-light);
            padding: 2rem;
            text-align: center;
            color: var(--text-secondary);
            margin-top: 4rem;
        }

        /* ===== ANIMATIONS ===== */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(60px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            33% {
                transform: translateY(-10px) rotate(2deg);
            }
            66% {
                transform: translateY(5px) rotate(-1deg);
            }
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Animations on scroll */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .animate-on-scroll.in-view {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== POPUP D'INSTALLATION ===== */
        .install-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(30, 27, 36, 0.8);
            backdrop-filter: blur(8px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            animation: fadeIn 0.4s ease-out;
        }

        .install-popup-content {
            background: var(--gradient-card);
            border: 1px solid var(--border-light);
            border-radius: 24px;
            padding: 2rem;
            max-width: 420px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: var(--shadow-xl);
            animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .install-popup-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-secondary);
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .install-popup-close:hover {
            background-color: var(--bg-secondary);
            color: var(--text-primary);
            transform: scale(1.1);
        }

        .install-popup-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .install-popup-icon {
            width: 72px;
            height: 72px;
            margin-bottom: 1rem;
            border-radius: 16px;
            box-shadow: var(--shadow-lg);
        }

        .install-popup-header h3 {
            margin: 0;
            font-size: 1.8rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
        }

        .install-popup-content p {
            text-align: center;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-size: 1rem;
        }

        .install-popup-benefits {
            margin-bottom: 2rem;
        }

        .benefit {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            padding: 1rem;
            background: var(--bg-secondary);
            border-radius: 12px;
            border: 1px solid var(--border-light);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .benefit:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .benefit-icon {
            font-size: 1.5rem;
            margin-right: 1rem;
            width: 32px;
            text-align: center;
        }

        .install-popup-buttons {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .install-btn {
            background: var(--gradient-primary);
            color: var(--text-white);
            border: none;
            padding: 16px 24px;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
        }

        .install-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-hover);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .install-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        .install-btn:hover::before {
            opacity: 1;
        }

        .install-btn > * {
            position: relative;
            z-index: 1;
        }

        .remind-btn, .never-btn {
            background: transparent;
            border: 1px solid var(--border-medium);
            color: var(--text-secondary);
            padding: 12px 24px;
            border-radius: 10px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .remind-btn:hover, .never-btn:hover {
            background: var(--bg-secondary);
            color: var(--text-primary);
            border-color: var(--primary);
            transform: translateY(-1px);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from {
                transform: translateY(40px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* ===== RESPONSIVE DESIGN ===== */
        @media (max-width: 1024px) {
            .features-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
            
            .floating-cards {
                display: none;
            }
        }

        @media (max-width: 768px) {
            body{
                padding-top:120px;
            }
            .hero {
                padding: 1.5rem 1rem;
            }
            
            .hero-cta {
                flex-direction: column;
                align-items: center;
            }
            
            .cta-primary, .cta-secondary {
                width: 100%;
                max-width: 300px;
            }
            
            .features {
                padding: 4rem 1rem;
            }
            
            .features-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .feature-card {
                padding: 2rem;
            }
            
            .stats {
                padding: 3rem 1rem;
            }
            
            .stats-content {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }
        }

        @media (max-width: 480px) {
            body{
                padding-top:120px;
            }
            .install-popup-content {
                padding: 1.5rem;
                margin: 1rem;
            }
            
            .install-popup-header h3 {
                font-size: 1.5rem;
            }
            
            .install-popup-icon {
                width: 56px;
                height: 56px;
            }
            
            .stats-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .feature-card {
                padding: 1.5rem;
            }
        }

        /* ===== PRÉFÉRENCES UTILISATEUR ===== */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            
            .floating-card {
                animation: none;
            }
        }