/* --- VARIABLES --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-grey: #111111;
    --bg-card: #1c1c1c;
    --text-white: #ffffff;
    --text-grey: #a0a0a0;
    --accent: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --accent-glow: rgba(59, 130, 246, 0.4);
    --green-accent: #10b981;
    --nav-text: #e5e7eb;
}

/* --- BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-dark); color: var(--text-white); line-height: 1.6; overflow-x: hidden; }

h1, h2, h3, h4 { font-weight: 800; margin-bottom: 15px; color: #fff; }
h1 { font-size: 3.2rem; line-height: 1.1; }
h2 { font-size: 2.5rem; }
p { color: var(--text-grey); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-header { margin-bottom: 60px; }
.subtitle { font-size: 1.1rem; opacity: 0.8; }
.section-dark { padding: 100px 0; background: var(--bg-dark); }
.section-grey { padding: 100px 0; background: var(--bg-grey); }
.gradient-text, .gradient-icon { background: var(--accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dot { color: #3b82f6; }

/* --- NAVIGATION --- */
nav { position: fixed; top: 0; width: 100%; height: 80px; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); z-index: 1000; display: flex; align-items: center; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.6rem; font-weight: 900; letter-spacing: -1px; }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--nav-text); font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: #fff; }
.btn-nav, .btn-primary { background: var(--accent); color: #fff !important; padding: 10px 24px; border-radius: 50px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; display: inline-block; transition: 0.3s; }
.btn-primary { padding: 16px 40px; font-size: 1.1rem; box-shadow: 0 5px 20px var(--accent-glow); }
.btn-primary:hover, .btn-nav:hover { transform: translateY(-3px); box-shadow: 0 10px 30px var(--accent-glow); }
.btn-block { width: 100%; text-align: center; }

/* --- HERO --- */
.hero { padding-top: 160px; padding-bottom: 100px; min-height: 90vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); padding: 6px 16px; border-radius: 20px; font-weight: 700; display: inline-block; margin-bottom: 25px; }
.hero-sub { font-size: 1.15rem; margin-bottom: 30px; max-width: 500px; line-height: 1.7; }
.hero-cta { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero-rating i { color: #fbbf24; }
.video-wrapper { position: relative; padding-bottom: 56.25%; background: #000; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); overflow: hidden; }
.video-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #151515; color: #555; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; font-size: 1.5rem; cursor: pointer; }

/* --- CLASH --- */
.clash-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: stretch; }
.clash-card { padding: 40px; border-radius: 25px; height: 100%; display: flex; flex-direction: column; }
.pain { background: rgba(255, 69, 69, 0.03); border: 1px solid rgba(255, 69, 69, 0.1); }
.icon-red { color: #ef4444; margin-right: 10px; }
.gain { background: linear-gradient(145deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.1)); border: 1px solid rgba(16, 185, 129, 0.3); box-shadow: 0 0 40px rgba(16, 185, 129, 0.05); }
.icon-green { color: var(--green-accent); margin-right: 10px; }
.clash-card h3 { text-align: center; margin-bottom: 30px; font-size: 1.4rem; }
.clash-list { list-style: none; }
.clash-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; font-size: 1rem; }
.icon-box { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-box.red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.icon-box.green { background: rgba(16, 185, 129, 0.1); color: var(--green-accent); }
.vs-badge { background: #222; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; border: 4px solid var(--bg-grey); z-index: 2; align-self: center; font-size: 1.2rem; color: #fff; }

/* --- FEATURES --- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--bg-card); padding: 40px 30px; border-radius: 20px; text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.feature-card:hover { transform: translateY(-10px); border-color: #3b82f6; }
.feature-card i { font-size: 3rem; margin-bottom: 25px; display: block; }

/* --- AVIS --- */
.overflow-hidden { overflow: hidden; }
.marquee-container { width: 100%; position: relative; }
.marquee-track { display: flex; gap: 30px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.review-card { background: var(--bg-card); padding: 30px; border-radius: 15px; width: 350px; border: 1px solid rgba(255,255,255,0.05); flex-shrink: 0; }
.stars { color: #fbbf24; margin-bottom: 15px; }

/* --- MODULES --- */
.modules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.module-card { display: flex; align-items: center; gap: 25px; background: var(--bg-card); padding: 30px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.module-card:hover { border-color: #8b5cf6; background: rgba(26, 26, 26, 0.8); }
.module-num { font-size: 2.5rem; font-weight: 900; color: rgba(255,255,255,0.05); line-height: 1; }

/* --- PRIX --- */
.price-card { background: var(--bg-card); max-width: 500px; margin: 0 auto; padding: 60px 40px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.1); position: relative; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.popular-tag { position: absolute; top: 20px; right: 20px; background: var(--accent); padding: 6px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 800; }
.price { margin: 30px 0 -10px 0; display: flex; justify-content: center; align-items: baseline; gap: 15px; }
.old-price { text-decoration: line-through; color: #ff3b3b; font-size: 1.5rem; font-weight: 700; opacity: 0.8; }
.current-price { font-size: 4rem; font-weight: 900; background: var(--accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5)); }
.price-details { margin-bottom: 20px; color: #a0a0a0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.price-features { margin-bottom: 40px; text-align: left; }
.price-features li { margin-bottom: 18px; display: flex; gap: 15px; align-items: center; }

/* --- GARANTIE --- */
.guarantee-title { margin-bottom: 40px; color: #fff; font-size: 2rem; }
.guarantee-box { display: flex; align-items: center; gap: 40px; max-width: 900px; margin: 0 auto; background: rgba(59, 130, 246, 0.05); padding: 40px; border-radius: 20px; border: 1px solid rgba(59, 130, 246, 0.2); }
.big-icon { font-size: 4rem; }

/* --- TIMELINE --- */
.relative-container { position: relative; }
.timeline-carousel-wrapper { overflow-x: auto; padding-bottom: 30px; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; scroll-behavior: smooth; }
.timeline-carousel-wrapper::-webkit-scrollbar { display: none; }
.timeline-track { display: flex; gap: 0; min-width: 100%; padding: 0 20px; }
.timeline-step { min-width: 300px; flex-shrink: 0; position: relative; padding: 40px 30px; background: var(--bg-card); margin-right: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; scroll-snap-align: center; }
.big-number { position: absolute; top: -20px; right: -10px; font-size: 8rem; font-weight: 900; color: rgba(255,255,255,0.03); pointer-events: none; }
.connecting-line { position: absolute; top: 50%; right: -40px; width: 40px; height: 2px; background: #333; z-index: 2; }
.timeline-step:last-child { margin-right: 0; }
.timeline-step:last-child .connecting-line { display: none; }
.arrow-btn { position: absolute; top: 60%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid #333; background: #1a1a1a; color: #fff; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.arrow-btn:hover { background: var(--accent); border-color: transparent; }
.left-arrow { left: -60px; }
.right-arrow { right: -60px; }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.faq-item { background: var(--bg-card); border-radius: 30px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: 0.3s; }
.faq-question { padding: 25px 35px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.1rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: rgba(0,0,0,0.2); }
.answer-content { padding: 30px 35px 30px 35px; color: #ccc; }

/* --- CTA --- */
.section-cta { background: linear-gradient(to bottom, var(--bg-grey), #000); padding: 120px 0; }
.cta-sub { font-size: 1.3rem; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-large { padding: 20px 60px; font-size: 1.3rem; }

/* --- FOOTER & CONTACT --- */
.footer-spaced { background: #000; padding: 80px 0 30px; border-top: 1px solid #222; }
.footer-content { display: grid; grid-template-columns: 1.2fr 0.8fr 1.5fr; gap: 40px; margin-bottom: 60px; align-items: start; }

.socials { display: flex; gap: 20px; margin-top: 25px; font-size: 1.3rem; }
.socials a { color: #888; }

.footer-links { display: flex; flex-direction: column; gap: 15px; }
.footer-links a { text-decoration: none; color: #888; transition: 0.3s; }
.footer-links a:hover { color: #fff; }

.payment-icons { display: flex; gap: 10px; align-items: center; font-size: 2.2rem; color: #ccc; flex-wrap: wrap; }
.copyright { text-align: center; color: #444; font-size: 0.9rem; border-top: 1px solid #111; padding-top: 30px; }

/* Style du formulaire de contact */
.footer-contact form { display: flex; flex-direction: column; gap: 15px; }
.footer-contact input, .footer-contact textarea { width: 100%; padding: 12px 15px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: #fff; font-family: 'Inter', sans-serif; font-size: 0.95rem; transition: 0.3s; }
.footer-contact input:focus, .footer-contact textarea:focus { outline: none; border-color: #3b82f6; background: rgba(255, 255, 255, 0.1); }
.footer-contact textarea { resize: vertical; min-height: 80px; }
.btn-submit { background: var(--accent); color: white; border: none; padding: 10px 25px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s; align-self: flex-start; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5); }

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; } .delay-200 { transition-delay: 0.2s; } .delay-300 { transition-delay: 0.3s; }

/* --- LOADER --- */
#loader { position: fixed; inset: 0; background: #000; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s; }
.loader-logo { font-size: 2rem; font-weight: 800; margin-bottom: 20px; text-align: center; }
.loading-bar { width: 100px; height: 3px; background: #222; margin: 0 auto; position: relative; overflow: hidden; }
.loading-bar::after { content:''; position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--accent); animation: load 1s ease-in-out forwards; }
@keyframes load { to { width: 100%; } }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero-grid, .features-grid, .modules-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-video { order: -1; margin-bottom: 40px; }
    .nav-links { display: none; }
    .guarantee-box { flex-direction: column; text-align: center; }
    .clash-grid { display: flex; flex-direction: column; }
    .vs-badge { transform: rotate(90deg); margin: 20px 0; }
    .left-arrow, .right-arrow { display: none; }
    .footer-contact form { max-width: 400px; margin: 0 auto; }
    .btn-submit { width: 100%; }
}

/* --- MODALS (POP-UPS) --- */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); align-items: center; justify-content: center; }
.modal-content { background-color: var(--bg-card); margin: auto; padding: 30px; border: 1px solid rgba(255, 255, 255, 0.1); width: 90%; max-width: 800px; border-radius: 20px; position: relative; max-height: 80vh; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.modal-header h3 { font-size: 1.5rem; margin-bottom: 0; color: #fff; }
.close-modal { color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.3s; line-height: 1; }
.close-modal:hover { color: var(--text-white); transform: scale(1.1); }
.modal-body { overflow-y: auto; padding-right: 10px; line-height: 1.8; color: var(--text-grey); text-align: justify; }
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 4px; }
.modal-body::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.modal-body::-webkit-scrollbar-thumb:hover { background: #555; }

/* --- DASHBOARD ANIMÉ (HERO) --- */
.stats-dashboard {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* En-tête */
.dashboard-header { display: flex; justify-content: space-between; margin-bottom: 30px; align-items: center; }
.dashboard-title { font-weight: 700; color: #fff; }
.live-indicator { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: #10b981; font-weight: 600; background: rgba(16, 185, 129, 0.1); padding: 5px 12px; border-radius: 20px; }
.blink { width: 8px; height: 8px; background: #10b981; border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* Grille des stats */
.stats-grid { display: flex; flex-direction: column; gap: 20px; }
.stat-item { display: flex; align-items: center; gap: 15px; padding: 15px; background: rgba(255,255,255,0.03); border-radius: 12px; transition: 0.3s; border: 1px solid transparent; }
.stat-item:hover { background: rgba(255,255,255,0.05); transform: translateX(5px); border-color: rgba(255,255,255,0.1); }
.stat-item.highlight { background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent); border-left: 2px solid #3b82f6; }

/* Icônes */
.stat-icon { width: 45px; height: 45px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.icon-blue { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.icon-purple { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; }
.icon-green { background: rgba(16, 185, 129, 0.2); color: #10b981; }

/* Textes */
.stat-info { display: flex; flex-direction: column; }
.stat-label { font-size: 0.85rem; color: #a0a0a0; margin-bottom: 2px; }
.stat-item h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0; line-height: 1.2; }

/* Graphique décoratif */
.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 25px; opacity: 0.7; }
.chart-bar { flex: 1; background: #333; border-radius: 4px 4px 0 0; transition: 0.3s; }
.chart-bar.active { background: var(--accent); box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }