:root {
    --bg-dark: #0f172a; 
    --bg-card: #1e293b; 
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --text-main: #ffffff; 
    --text-body: #e2e8f0; 
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1); 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.noise-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03; pointer-events: none; z-index: 50;
}

.glass-nav {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-link { color: var(--text-muted) !important; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; margin: 0 5px;}
.nav-link:hover { color: var(--text-main) !important; }

/* Logo blanc forcé */
.logo-icon {
    width: 36px; height: 36px; 
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    color: #ffffff;
    font-size: 1.1rem;
}

.btn-login-nav {
    background: rgba(255, 255, 255, 0.05); color: white;
    border: 1px solid var(--border-color); border-radius: 100px;
    padding: 8px 24px; font-size: 0.9rem; font-weight: 600; transition: all 0.3s;
    text-decoration: none;
}
.btn-login-nav:hover { background: white; color: var(--bg-dark); transform: translateY(-2px); }

.hero-section {
    padding: 200px 0 60px 0;
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}

.mesh-gradient {
    position: absolute; top: -20%; left: 10%; width: 80%; height: 80%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.25), transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 50%);
    filter: blur(100px); z-index: 0; pointer-events: none;
}

.badge-premium {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.3);
    color: #c7d2fe; padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px; height: 8px; background: #818cf8;
    border-radius: 50%; box-shadow: 0 0 10px #818cf8;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0% { opacity: 1; box-shadow: 0 0 10px #818cf8; } 50% { opacity: 0.4; box-shadow: 0 0 2px #818cf8; } 100% { opacity: 1; box-shadow: 0 0 10px #818cf8;} }

.hero-title { color: var(--text-main); font-size: clamp(3rem, 5vw, 5rem); font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-bottom: 24px; }
.text-gradient {
    background: linear-gradient(to right, #a5b4fc, #d8b4fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 650px; line-height: 1.7; }

.btn-primary-custom {
    background: var(--primary); color: white; border: none; text-decoration: none;
    padding: 16px 36px; border-radius: 100px; font-weight: 600; font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4); transition: all 0.3s;
}
.btn-primary-custom:hover { background: var(--primary-hover); transform: translateY(-3px); color: white; box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6); }

.btn-outline-custom {
    background: rgba(255,255,255,0.03); color: white; border: 1px solid var(--border-color); text-decoration: none;
    padding: 16px 36px; border-radius: 100px; font-weight: 600; font-size: 1.1rem; transition: all 0.3s;
}
.btn-outline-custom:hover { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.3); transform: translateY(-3px); }

/* ==========================================================================
   HYPER REALISTIC DASHBOARD MOCKUP
   ========================================================================== */
.dashboard-preview {
    margin-top: 70px; width: 100%; 
    max-width: 1050px; /* Un peu plus large pour respirer */
    height: 580px; /* Plus haut pour éviter de couper le contenu */
    background: #f8fafc; 
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.2);
    position: relative; overflow: hidden; animation: float 6s ease-in-out infinite;
}

/* La barre système Mac */
.dashboard-preview::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 40px;
    background: #ffffff; border-bottom: 1px solid #e2e8f0; z-index: 10;
}
.mac-dots { position: absolute; top: 15px; left: 20px; display: flex; gap: 8px; z-index: 15; }
.mac-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mac-dots span:nth-child(1) { background: #ef4444; }
.mac-dots span:nth-child(2) { background: #eab308; }
.mac-dots span:nth-child(3) { background: #22c55e; }

/* Conteneur App */
.mockup-app { font-family: 'Inter', sans-serif; padding-top: 40px; }

/* Fausse Sidebar (Gauche) */
.mockup-sidebar { width: 230px; background: #ffffff; border-right: 1px solid #e2e8f0; padding: 25px 20px; }
.mockup-logo-icon { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), #8b5cf6); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.mockup-label { font-size: 10px; font-weight: 800; color: #94a3b8; margin-bottom: 12px; letter-spacing: 0.5px; margin-left: 5px; }
.mockup-menu-item { font-size: 12px; color: #475569; padding: 8px 12px; margin-bottom: 2px; border-radius: 8px; display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: default; }
.mockup-menu-item.active { background: #e0e7ff; color: #4f46e5; font-weight: 700; }

/* Faux Contenu Principal (Droite) */
.mockup-main { padding: 30px 40px; position: relative; background: #f8fafc; }
.mockup-user-btn { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: #1e293b; display: flex; align-items: center; gap: 8px; box-shadow: 0 1px 2px rgba(0,0,0,0.05);}
.mockup-hero { background: linear-gradient(135deg, #475569 0%, #1e293b 100%); border-radius: 16px; padding: 25px 30px; color: white; position: relative; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1); }
.mockup-hero-bg { position: absolute; right: 20px; bottom: -30px; font-size: 110px; opacity: 0.15; transform: rotate(-15deg); pointer-events: none; }

/* Ajustement pour que les gros chiffres ne soient pas coupés */
.mockup-hero-number { font-size: 28px; font-weight: 800; line-height: 1; }
.mockup-stat-text { font-size: 10px; opacity: 0.7; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px;}

/* Fausses barres de recherche */
.mockup-searchbar { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 10px 20px; font-size: 12px; color: #94a3b8; width: 280px; display: flex; align-items: center; gap: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }

/* Fausses Cartes Objets */
.mockup-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; height: 100%; position: relative; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); display: flex; flex-direction: column;}
.mockup-card-img { height: 120px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: #cbd5e1; font-size: 45px; border-bottom: 1px solid #f1f5f9; }
.mockup-card-body { padding: 18px; flex-grow: 1;}
.mockup-card-title { font-size: 13px; font-weight: 700; color: #1e293b; margin-bottom: 12px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;}

/* Badges "En stock" et "Prêté" parfaits */
.mockup-badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 12px; font-size: 9px; font-weight: 800; text-transform: uppercase; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.mockup-badge.stock { background: #d1fae5; color: #059669; border: 1px solid #a7f3d0;}
.mockup-badge.pret { background: #fef3c7; color: #d97706; border: 1px solid #fde68a;}

/* Tags (Outils, Pièce) */
.mockup-card-tag { background: #f1f5f9; border-radius: 8px; padding: 6px 10px; font-size: 10px; color: #475569; font-weight: 500; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }

/* Faux bouton Ajouter (Flottant) */
.mockup-fab { position: absolute; bottom: 35px; right: 35px; width: 55px; height: 55px; background: linear-gradient(135deg, var(--primary), #8b5cf6); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(99,102,241,0.5); font-size: 22px; cursor: pointer;}

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

/* Sections Générales */
.section-title { color: var(--text-main); font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 15px; }

/* Cartes Fonctionnalités */
.feature-card.large-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(30,41,59,0.3) 100%);
    border: 1px solid var(--border-color); padding: 40px;
    border-radius: 24px; height: 100%; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden;
}

.feature-card.large-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 50%);
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
}

.feature-card.large-card:hover { 
    border-color: rgba(165, 180, 252, 0.4); 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.feature-card.large-card:hover::after { opacity: 1; }

.feature-icon-wrapper {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}
.feature-icon-wrapper.primary { color: #818cf8; background: rgba(129, 140, 248, 0.1); border-color: rgba(129, 140, 248, 0.2); }
.feature-icon-wrapper.success { color: #34d399; background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.2); }
.feature-icon-wrapper.warning { color: #fbbf24; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.2); }
.feature-icon-wrapper.info { color: #38bdf8; background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.2); }

.feature-card h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.feature-card p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin: 0; }

/* Section Fonctionnement (Cercles) */
.step-circle {
    width: 80px; height: 80px; 
    background: var(--bg-dark); 
    border: 3px solid var(--primary);
    color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 800;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

/* Cartes Témoignages (Avis) */
.bg-black { background-color: #0b1120; }
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 24px;
    height: 100%;
    display: flex; flex-direction: column;
    transition: transform 0.3s ease;
}
.testimonial-card:hover { transform: scale(1.02); border-color: rgba(255,255,255,0.2); }
.review-text { font-size: 1.1rem; color: var(--text-body); line-height: 1.7; flex-grow: 1; font-weight: 400; font-style: italic; }
.avatar {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Section Call To Action (CTA) */
.cta-box {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(30,41,59,0.5) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.max-w-700 { max-width: 700px; }