/* ========================================
   URGENCY BANNER - MOBILE OPTIMIZED
======================================== */

/* Optimisations performances générales */
@media (max-width: 1024px) {
    .urgency-banner {
        backdrop-filter: none;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    }
}
.urgency-banner {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 12px 0;
    position: relative;
    z-index: 1001;
    border-bottom: 2px solid var(--primary-color);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    will-change: transform;
}

.urgency-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.urgency-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    font-size: 1rem;
}

.urgency-icon {
    font-size: 1.25rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.urgency-date {
    color: var(--accent-color);
    font-weight: 600;
    background: rgba(34, 211, 238, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.urgency-countdown {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-light);
    font-size: 0.9rem;
}

.urgency-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    margin: 0 4px;
}

.urgency-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.urgency-banner.hidden {
    display: none;
}

.urgency-highlight {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
    animation: urgencyBlink 1.5s infinite;
}

@keyframes urgencyBlink {
    0%, 50% { opacity: 1; }
    75% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* ========================================
   URGENCY BADGES ON PRICING CARDS
======================================== */
.urgency-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    animation: urgencyShake 2s infinite;
}

.urgency-badge.starter {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
}

.urgency-badge.professional {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.urgency-badge.enterprise {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
}

@keyframes urgencyShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* Payment Info */
.payment-info {
    text-align: center;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Scarcity Indicators */
.scarcity-indicator {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #92400e;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    animation: scarcityPulse 2s infinite;
    border: 2px solid #fcd34d;
}

.scarcity-icon {
    margin-right: 4px;
    font-size: 1rem;
}

@keyframes scarcityPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 8px rgba(251, 191, 36, 0);
    }
}

/* ========================================
   FLOATING OFFER BANNER
======================================== */
.floating-offer {
    position: fixed;
    top: 100px;
    right: 20px;
    max-width: 350px;
    width: 350px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: floatingGlow 3s ease-in-out infinite;
}

.floating-offer.show {
    transform: translateX(0);
    opacity: 1;
}

.floating-offer.hide {
    transform: translateX(100%) scale(0.8);
    opacity: 0;
}

@keyframes floatingGlow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 20px 5px rgba(124, 58, 237, 0.2);
    }
}

.floating-offer-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.floating-offer-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.floating-offer-badge {
    background: var(--gradient-secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    animation: badgePulse 2s infinite;
}

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

.floating-offer-main {
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
}

.floating-code {
    background: rgba(34, 211, 238, 0.2);
    color: var(--accent-color);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.floating-timer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
}

.floating-offer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.floating-btn-claim {
    background: var(--gradient-secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.floating-btn-claim:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.floating-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

/* Responsive pour le floating banner */
@media (max-width: 768px) {
    .floating-offer {
        position: fixed !important;
        top: 50% !important;
        right: 10px !important;
        left: auto !important;
        transform: translateY(-50%) !important;
        max-width: 180px !important;
        width: 180px !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    }
    
    .floating-offer.show {
        transform: translateY(-50%) !important;
    }
    
    .floating-offer.hide {
        transform: translateY(-50%) translateX(100%) !important;
        opacity: 0 !important;
    }
    
    .floating-offer-content {
        padding: 6px 8px !important;
        gap: 4px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .floating-offer-text {
        gap: 4px !important;
        text-align: center !important;
        flex: none !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .floating-offer-badge {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
        align-self: center !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }
    
    .floating-offer-main {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
    }
    
    .floating-timer {
        font-size: 0.7rem !important;
        text-align: center !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }
    
    .floating-offer-actions {
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    .floating-btn-claim {
        padding: 6px 12px !important;
        font-size: 0.7rem !important;
        border-radius: 12px !important;
        min-height: 32px !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }
    
    .floating-close {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.75rem !important;
        position: absolute !important;
        top: 4px !important;
        right: 4px !important;
    }
}

@media (max-width: 480px) {
    .floating-offer {
        top: 50% !important;
        right: 8px !important;
        left: auto !important;
        transform: translateY(-50%) !important;
        max-width: 160px !important;
        width: 160px !important;
        border-radius: 6px !important;
    }
    
    .floating-offer.show {
        transform: translateY(-50%) !important;
    }
    
    .floating-offer.hide {
        transform: translateY(-50%) translateX(100%) !important;
        opacity: 0 !important;
    }
    
    .floating-offer-content {
        padding: 5px 6px !important;
        gap: 3px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .floating-offer-text {
        flex: none !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
    }
    
    .floating-offer-badge {
        font-size: 0.55rem !important;
        padding: 2px 5px !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
        align-self: center !important;
    }
    
    .floating-offer-main {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
    }
    
    .floating-timer {
        font-size: 0.65rem !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    .floating-offer-actions {
        width: 100% !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    
    .floating-btn-claim {
        padding: 5px 10px !important;
        font-size: 0.65rem !important;
        min-height: 28px !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }
    
    .floating-close {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.7rem !important;
        top: 3px !important;
        right: 3px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ========================================
   RESET & VARIABLES
======================================== */
:root {
    /* Couleurs principales */
    --primary-color: #7c3aed; /* Violet plus vibrant */
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary-color: #db2777; /* Rose/Magenta */
    --accent-color: #22d3ee; /* Cyan/Bleu clair */
    
    /* Couleurs neutres */
    --text-dark: #0f172a; /* Noir plus profond */
    --text-medium: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f7f8fc;
    --bg-gray: #eef2f7;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    --gradient-accent: linear-gradient(135deg, #ec4899 0%, #22d3ee 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px -10px var(--primary-color);

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem; /* Plus arrondi */
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
}

/* ========================================
   DARK MODE STYLES (ORIGINAL SYSTEM)
======================================== */
body.dark-mode {
    --primary-color: #a78bfa;
    --primary-dark: #c084fc;
    --primary-light: #d8b4fe;
    --secondary-color: #f472b6;
    --accent-color: #67e8f9;
    --text-dark: #f8fafc;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --bg-white: #1e293b;
    --bg-light: #0f172a;
    --bg-gray: #334155;
    --shadow-glow: 0 0 40px -10px var(--primary-light);
}

/* Theme Toggle Button (Original Style) */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    position: relative;
    width: 40px;
    height: 40px;
    transition: color var(--transition-base);
}

.theme-toggle:hover {
    color: var(--primary-color);
}

.theme-toggle svg {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease;
}

.theme-toggle .sun-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.theme-toggle .moon-icon {
    transform: scale(0) rotate(90deg);
    opacity: 0;
}

body.dark-mode .theme-toggle .sun-icon {
    transform: scale(0) rotate(-90deg);
    opacity: 0;
}

body.dark-mode .theme-toggle .moon-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

/* ========================================
   DARK MODE VARIABLES
======================================== */
body.dark-mode {
    --primary-color: #a78bfa;
    --primary-dark: #c084fc;
    --primary-light: #d8b4fe;
    --secondary-color: #f472b6;
    --accent-color: #67e8f9;
    
    --text-dark: #f8fafc;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --bg-white: #1e293b;
    --bg-light: #0f172a;
    --bg-gray: #334155;
    
    --shadow-glow: 0 0 40px -10px var(--primary-light);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prévention des débordements horizontaux */
*, *::before, *::after {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Éviter les débordements de texte */
h1, h2, h3, h4, h5, h6, p, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7; /* Amélioration de la lisibilité */
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-base), color var(--transition-base);
    /* Amélioration des performances sur mobile */
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    transition: color var(--transition-base);
}

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

p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    transition: color var(--transition-base);
}

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

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    /* Éviter les débordements */
    overflow: hidden;
}

@keyframes animated-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text {
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: animated-gradient 5s ease infinite;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(219, 39, 119, 0.1) 100%);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: color var(--transition-base), background var(--transition-base);
}

body.dark-mode .section-badge {
    border-color: rgba(167, 139, 250, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 44px; /* Taille tactile minimum */
    -webkit-tap-highlight-color: transparent; /* Supprime le highlight sur mobile */
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #a855f7 0%, #e11d48 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

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

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn-icon {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.btn-nav {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
    padding: 0.5rem 1.25rem;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px -5px var(--primary-color);
}

body.dark-mode .btn-nav:hover {
    color: #fff;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-navbar, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: var(--bg-white);
    border-bottom: 1px solid var(--bg-gray);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    transition: padding var(--transition-base);
}

.navbar.scrolled .nav-wrapper {
    padding: 0.75rem 0;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

.nav-menu a:not(.btn-nav):hover {
    color: var(--primary-color);
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-menu a:not(.btn-nav):hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    position: relative;
    width: 40px;
    height: 40px;
    transition: color var(--transition-base);
}

.theme-toggle:hover {
    color: var(--primary-color);
}

.theme-toggle svg {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease;
}

.theme-toggle .sun-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.theme-toggle .moon-icon {
    transform: scale(0) rotate(90deg);
    opacity: 0;
}

body.dark-mode .theme-toggle .sun-icon {
    transform: scale(0) rotate(-90deg);
    opacity: 0;
}

body.dark-mode .theme-toggle .moon-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* ========================================
   HERO SECTION
======================================== */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero {
    padding: 10rem 0 6rem;
    background-color: var(--bg-light);
    position: relative;
}

@keyframes aurora {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top left, rgba(124, 58, 237, 0.15), transparent 50%),
                radial-gradient(ellipse at top right, rgba(219, 39, 119, 0.15), transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(34, 211, 238, 0.15), transparent 50%);
    background-size: 300% 300%;
    animation: aurora 15s ease infinite;
    z-index: 0;
    transition: opacity var(--transition-base);
}

body.dark-mode .hero::before {
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(219, 39, 119, 0.1) 100%);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    display: grid; /* Use grid to stack children */
    align-items: center;
    min-height: 2.2em; /* Fallback height */
}

.hero-title .title-line {
    grid-area: 1 / 1; /* Place all spans in the same cell */
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-title .title-line.active {
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

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

.hero-visual {
    display: none !important;
}

.hero-image-wrapper {
    position: relative;
    animation: float 8s ease-in-out infinite;
    transform-style: preserve-3d;
    z-index: 1;
    margin: 0 auto; /* Centre au lieu de margin fixes */
    max-width: 500px; /* Largeur maximale définie */
    width: 100%;
}

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

.browser-mockup {
    width: 100%;
    max-width: 500px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--bg-gray);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.browser-header {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--bg-gray);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

body.dark-mode .browser-header {
    border-bottom-color: #475569;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}
body.dark-mode .browser-dot {
    background: #475569;
}

.browser-dot:first-child { background: #ef4444; }
.browser-dot:nth-child(2) { background: #f59e0b; }
.browser-dot:nth-child(3) { background: #10b981; }

.browser-content {
    padding: 2rem;
    background: var(--bg-white);
    transition: background-color var(--transition-base);
}

.mockup-header {
    height: 20px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    transition: background-color var(--transition-base);
}

.mockup-text {
    height: 12px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    transition: background-color var(--transition-base);
}

.mockup-text.short {
    width: 60%;
}

.mockup-button {
    height: 36px;
    width: 120px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-sm);
    margin-top: 1.5rem;
}

.floating-card {
    display: none !important;
}

body.dark-mode .floating-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255,255,255,0.1);
}

.card-1 {
    top: 10%;
    left: 0;
    animation: float 8s ease-in-out infinite 1s;
}

.card-2 {
    bottom: 20%;
    right: 0;
    animation: float 7s ease-in-out infinite reverse;
}

.card-icon {
    font-size: 1.75rem;
}

/* ========================================
   BENEFITS SECTION
======================================== */
.benefits {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
    transition: background-color var(--transition-base);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 2.5rem 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-gray);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px -5px var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

.benefit-list {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
}

.benefit-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

/* ========================================
   PORTFOLIO SECTION
======================================== */
.portfolio {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
    transition: background-color var(--transition-base);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    transform-style: preserve-3d;
}

.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
    max-width: 450px; /* Définit une largeur maximale pour l'élément unique */
    width: 100%;
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-2xl);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-image {
    position: relative;
    height: 280px;
    background: var(--bg-gray);
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.portfolio-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
}

.portfolio-tag {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}



.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.portfolio-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--bg-gray);
    padding-top: 1rem;
    transition: border-color var(--transition-base);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.stat-item strong {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1em;
}

/* ========================================
   PROCESS SECTION
======================================== */
.process {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
    transition: background-color var(--transition-base);
}

.process-timeline {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--bg-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
    transition: background-color var(--transition-base);
}

.timeline-progress {
    position: absolute;
    width: 4px;
    background: var(--gradient-secondary);
    top: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 2;
    height: 0; /* Initially 0, will be animated by JS */
    transition: height 0.3s linear;
}

.process-step {
    padding: 2rem 1.5rem;
    position: relative;
    width: 45%;
    z-index: 3;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 55%;
    text-align: left;
}

.step-number {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 4px var(--primary-color);
    transition: border-color var(--transition-base);
}

.process-step:nth-child(odd) .step-number {
    right: -30px;
}

.process-step:nth-child(even) .step-number {
    left: -30px;
}

.step-content {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.process-step:hover .step-content {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.step-content h3 {
    margin-bottom: 1rem;
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.detail-item {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
    transition: background-color var(--transition-base);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border-top: 4px solid;
    border-image: var(--gradient-secondary) 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.star {
    color: #facc15; /* Jaune plus vif */
    font-size: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    padding-left: 2rem;
}

.testimonial-text::before {
    content: '“';
    position: absolute;
    left: -0.5rem;
    top: -1.5rem;
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.5;
    font-family: 'Georgia', serif;
    transition: color var(--transition-base);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

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

/* ========================================
   PRICING SECTION
======================================== */
.pricing {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
    transition: background-color var(--transition-base);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    border: 2px solid transparent;
    transform-style: preserve-3d;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(124, 58, 237, 0.02) 100%);
}

.pricing-card.popular:hover {
    transform: translateY(-10px) scale(1.07);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.pricing-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

.pricing-price {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.price-old {
    display: block;
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.price-current {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: animated-gradient 5s ease infinite;
    margin-bottom: 0.5rem;
}

.price-period {
    color: var(--text-medium);
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    font-size: 0.9rem;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--bg-gray);
    transition: color var(--transition-base), border-color var(--transition-base);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
    width: 20px;
    height: 20px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.pricing-card:hover .pricing-features li {
    color: var(--text-dark);
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.pricing-card.popular .pricing-btn {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular .pricing-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Amélioration de l'ergonomie tactile globale */
@media (max-width: 768px) {
    .btn, .pricing-btn, .floating-btn-claim {
        min-height: 48px; /* Taille tactile améliorée */
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: var(--radius-lg);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation; /* Évite le délai de tap */
    }
    
    /* Boutons de pricing plus grands sur mobile */
    .pricing-btn {
        min-height: 52px;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    /* Espacement tactile entre éléments interactifs */
    .nav-menu a,
    .social-links a,
    .footer-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Boutons d'action flottants */
    .urgency-close,
    .floating-close,
    .theme-toggle,
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Feedback tactile pour tous les boutons */
    .btn:active,
    .pricing-btn:active,
    .floating-btn-claim:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }
    
    /* Amélioration des liens tactiles */
    a, button {
        -webkit-tap-highlight-color: rgba(124, 58, 237, 0.1);
        tap-highlight-color: rgba(124, 58, 237, 0.1);
    }
}

/* ========================================
   FINAL CTA SECTION
======================================== */
.final-cta {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
    transition: background-color var(--transition-base);
}

.cta-card {
    background: var(--text-dark);
    border-radius: var(--radius-xl);
    padding: 4rem;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-dark) 0%, transparent 70%);
    animation: pulse 10s infinite ease-in-out;
    opacity: 0.5;
}

body.dark-mode .cta-card::before {
    opacity: 0.2;
}

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

.cta-title {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.95); /* Rendu plus clair pour une meilleure visibilité */
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

body.dark-mode .cta-subtitle {
    color: var(--text-medium);
}

.offer-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--bg-white);
    font-weight: 500; /* Police légèrement plus épaisse */
}

body.dark-mode .highlight-item {
    color: var(--text-medium);
}

.highlight-item svg {
    flex-shrink: 0;
    color: var(--accent-color);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form-group {
    display: flex;
    gap: 1.5rem;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-gray); /* Fond solide pour une visibilité maximale */
    border: 1px solid rgba(255, 255, 255, 0.5); /* Bordure plus visible */
    border-radius: var(--radius-md);
    color: var(--bg-white);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
    min-height: 44px; /* Taille tactile minimum */
    -webkit-appearance: none; /* Supprime le style par défaut iOS */
    -moz-appearance: none; /* Supprime le style par défaut Firefox */
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7); /* Texte d'exemple plus clair */
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 15px -5px var(--primary-light);
}

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

.cta-form button {
    width: 100%;
}

.cta-visual {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.success-badge {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

body.dark-mode .success-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.success-badge.secondary {
    transform: translateX(0);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .badge-text {
    color: var(--text-light);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: var(--spacing-xl) 0 0;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-medium);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--bg-gray);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px) scale(1.1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-medium);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-medium);
}

.footer-contact svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--bg-gray);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-light);
}

.footer-legal a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

/* ========================================
   LANGUAGE SWITCHER
======================================== */
#language-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
}

#lang-btn {
    background: var(--gradient-secondary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

#lang-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   CURSOR
======================================== */
.cursor, .cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(8);
    background-color: rgba(124, 58, 237, 0.2);
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-out;
}

.cursor-follower.hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }
}

/* ========================================
   ANIMATIONS
======================================== */
.benefit-card, .portfolio-item, .process-step, .pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.benefit-card.animate-in,
.portfolio-item.animate-in,
.process-step.animate-in,
.pricing-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN & MOBILE FIXES
======================================== */

@media (max-width: 1024px) {
    /* --- Menu --- */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }
    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }
    .nav-menu.active li {
        opacity: 0;
        animation: fadeIn 0.5s forwards;
    }
    .nav-menu.active li:nth-child(1) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.5s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.6s; }

    /* --- Layout --- */
    .hero-content, .cta-card, .footer-content {
        grid-template-columns: 1fr;
    }
    .hero-visual { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
}

@media (max-width: 768px) {
    /* --- Urgency Banner --- */
    .urgency-banner {
        padding: 8px 0; /* Reduce padding */
    }
    .urgency-text {
        flex-direction: row; /* Keep it in a row but wrap */
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.8rem; /* Reduce font size */
        text-align: center;
    }
    .urgency-content {
        justify-content: center;
    }
    .urgency-close {
        display: none; /* Hide close button to save space */
    }
    .urgency-separator { display: none; }

    /* --- Floating Offer Pop-up --- */
    .floating-offer {
        bottom: 70px; /* Position above language switcher */
        top: auto;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        transform: translateY(200%);
        transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }
    .floating-offer.show {
        transform: translateY(0);
    }
    .floating-offer-content {
        padding: 12px; /* Reduce padding */
        gap: 8px;
    }
    .floating-offer-main {
        font-size: 0.8rem; /* Reduce font size */
    }
    .floating-timer {
        font-size: 0.7rem; /* Reduce font size */
    }
    .floating-btn-claim {
        padding: 6px 10px; /* Make button smaller */
        font-size: 0.75rem;
    }

    /* --- Language Switcher --- */
    #language-switcher {
        display: block;
        position: fixed;
        bottom: 15px;
        left: 15px;
        z-index: 1000;
    }
    #lang-btn {
        width: 45px; /* Make button smaller */
        height: 45px;
    }

    /* --- Process Section --- */
    .process-timeline::after { left: 30px; }
    .process-step {
        width: 100%;
        padding-left: 60px;
        text-align: left;
    }
    .process-step:nth-child(odd), .process-step:nth-child(even) {
        left: 0;
    }
    .step-number { left: 5px; }
    .process-step:nth-child(odd) .step-number, .process-step:nth-child(even) .step-number {
        left: 5px;
    }
}

/* Keyframes pour les animations */
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(0.95); opacity: 0.5; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}