/* IMPORT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

/* VARIABLES SYSTÈME */
:root {
    --bg-dark: #050505;
    --card-bg: #0f0f0f;
    --neon-green: #00ff41;
    --neon-purple: #bc13fe;
    --neon-blue: #00f3ff;
    --neon-gold: #ffd700;
    --neon-red: #ff4444;
    --text-white: #e0e0e0;
    --text-dim: #888;
    --border-dim: #333;
    --border-light: rgba(255,255,255,0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    min-height: 100vh;
}

.container { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* --- HEADER GLITCH --- */
header { text-align: center; padding: 60px 0 40px 0; }

@keyframes glitch {
    0%, 95% { transform: skew(0deg); opacity: 1; }
    96% { transform: skew(10deg); text-shadow: -2px 0 var(--neon-purple); }
    98% { transform: skew(-10deg); text-shadow: 2px 0 var(--neon-green); }
    100% { transform: skew(0deg); opacity: 1; }
}

h1 {
    font-family: 'Share Tech Mono', monospace;
    font-size: 3.5rem; color: #fff;
    text-transform: uppercase; letter-spacing: 4px;
    margin-bottom: 10px; text-shadow: 0 0 15px rgba(0,255,65,0.2);
    animation: glitch 5s infinite alternate-reverse;
}

.bio {
    font-family: 'Share Tech Mono', monospace; color: var(--text-dim);
    font-size: 1rem; max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* --- TITRES DE SECTION --- */
.section-title {
    font-family: 'Share Tech Mono', monospace;
    display: flex; align-items: center; gap: 15px; justify-content: center;
    color: var(--neon-blue); font-size: 1rem;
    margin: 60px 0 30px 0; text-transform: uppercase; letter-spacing: 3px;
}
.section-title::after, .section-title::before {
    content: ''; height: 1px; width: 50px; background: var(--border-dim);
    display: inline-block;
}

/* --- PROTOCOLE COMPACT --- */
.protocol-compact {
    background: #0a0a0a;
    border: 1px solid var(--border-dim);
    border-left: 4px solid var(--neon-green);
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0 50px 0;
    position: relative;
    overflow: hidden;
}
.protocol-header {
    font-family: 'Share Tech Mono', monospace;
    color: #fff; font-size: 1rem; letter-spacing: 2px;
    margin-bottom: 20px; border-bottom: 1px solid #222; padding-bottom: 10px;
}
.protocol-steps { display: flex; flex-direction: column; gap: 15px; }
.p-step { display: flex; align-items: flex-start; gap: 15px; }
.p-icon {
    min-width: 30px; height: 30px;
    background: rgba(0, 255, 65, 0.1); color: var(--neon-green);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; margin-top: 2px;
}
.p-text strong { color: #fff; font-size: 0.9rem; margin-bottom: 2px; font-family: 'Inter', sans-serif; }
.p-text span { color: #888; font-size: 0.8rem; line-height: 1.3; }

@media (min-width: 768px) {
    .protocol-steps { flex-direction: row; justify-content: space-between; }
    .p-step { flex: 1; }
}

/* --- REALITY CHECK / MINI WARNING (Celui qui manquait) --- */
.mini-warning, .reality-badge {
    margin-top: 20px; 
    padding: 15px; 
    border-top: 1px dashed #333;
    font-size: 0.75rem; 
    color: #666; 
    font-family: 'Share Tech Mono', monospace;
}
.mini-warning i, .reality-badge i { color: var(--neon-gold); margin-right: 5px; }
.mini-warning strong, .reality-badge strong { color: var(--neon-gold); }

/* --- CARTES PRODUITS & GRILLES --- */
.pricing-grid {
    display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start;
}
@media (min-width: 700px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.premium { grid-column: span 2; } 
}
@media (min-width: 1000px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-card.premium { grid-column: auto; }
}

.pricing-card {
    background: var(--card-bg); border: 1px solid var(--border-light);
    border-radius: 8px; overflow: hidden; position: relative;
    transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-3px); border-color: var(--neon-green);
    box-shadow: 0 10px 30px rgba(0,255,65,0.1);
}
.pricing-card.premium {
    border-color: var(--neon-purple);
    background: linear-gradient(180deg, rgba(188,19,254,0.05) 0%, var(--card-bg) 100%);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.1);
}
.pricing-card.premium:hover {
    box-shadow: 0 0 40px rgba(188, 19, 254, 0.2); border-color: #d560ff;
}

.tech-badge {
    position: absolute; top: 0; right: 0;
    background: var(--neon-purple); color: #fff;
    font-family: 'Share Tech Mono', monospace; font-size: 0.65rem; font-weight: bold;
    padding: 4px 10px; border-bottom-left-radius: 8px; z-index: 5;
}
.badge-gold { background: var(--neon-gold); color: #000; }

.card-top { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.card-header-content { display: flex; align-items: center; gap: 15px; }
.card-img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); }
.pack-name { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 4px; text-transform: uppercase; }
.pack-price { font-family: 'Share Tech Mono', monospace; font-size: 1.6rem; font-weight: bold; color: var(--neon-green); }
.card-body { padding: 20px; flex-grow: 1; }
.pack-features { list-style: none; padding: 0; }
.pack-features li { 
    margin-bottom: 10px; font-size: 0.85rem; color: #ccc; 
    display: flex; align-items: flex-start; gap: 10px; line-height: 1.3;
}
.card-footer { padding: 0 20px 20px 20px; margin-top: auto; }

/* BOUTONS */
.btn {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    width: 100%; padding: 12px 0; border-radius: 4px;
    font-family: 'Share Tech Mono', monospace; font-weight: bold; font-size: 0.9rem;
    text-decoration: none; text-transform: uppercase; letter-spacing: 1px;
    transition: 0.2s; cursor: pointer; border: none;
}
.btn-premium {
    background: var(--neon-purple); color: #fff; border: 1px solid var(--neon-purple);
    box-shadow: 0 4px 15px rgba(188, 19, 254, 0.2);
}
.btn-premium:hover { background: #d560ff; transform: scale(1.02); }
.btn-buy {
    background: transparent; color: var(--neon-green); border: 1px solid var(--neon-green);
}
.btn-buy:hover { background: var(--neon-green); color: #000; box-shadow: 0 0 15px rgba(0,255,65,0.3); }

/* --- BANNIERE SETUP --- */
/* --- BANNIÈRE SETUP EXPRESS (ANIMÉE & RESPONSIVE) --- */
.setup-banner {
    margin: 40px 0;
    border: 1px solid var(--neon-gold);
    /* Fond de base */
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, rgba(0,0,0,0) 100%);
    border-radius: 8px; 
    padding: 25px;
    position: relative; 
    overflow: hidden;
    
    /* Structure Flexible (Gardée) */
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    gap: 20px;

    /* --- AJOUTS POUR L'ANIMATION --- */
    /* Transition fluide pour le mouvement et la lumière */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    /* Lueur initiale discrète */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.05);
}

/* --- EFFET AU SURVOL (L'effet "Brillant/Bouge") --- */
.setup-banner:hover {
    /* Le bloc remonte légèrement */
    transform: translateY(-5px);
    /* L'ombre dorée s'intensifie (Effet Néon) */
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
    /* La bordure devient plus lumineuse */
    border-color: #ffe55e;
    /* Le fond s'éclaire un peu */
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(0,0,0,0) 100%);
}

/* --- ENFANTS (Inchangés) --- */
.setup-price-box { 
    flex: 1; 
    min-width: 200px; 
    text-align: center; 
    border-right: 1px dashed #333; 
    padding-right: 20px; 
}

.setup-content { 
    flex: 2; 
    min-width: 280px; 
}

.setup-action { 
    flex: 1; 
    min-width: 180px; 
    text-align: center; 
}

/* --- RESPONSIVE MOBILE (Gardé intact) --- */
@media (max-width: 768px) {
    .setup-banner { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }
    .setup-price-box { 
        border-right: none; 
        border-bottom: 1px dashed #333; 
        padding-right: 0; 
        padding-bottom: 15px; 
        width: 100%; 
    }
    /* On garde l'effet hover sur mobile, ou on peut le désactiver si besoin */
}

/* --- PARTENAIRES --- */
.partners-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px;
}
.partner-card {
    background: var(--card-bg); border: 1px solid var(--border-dim);
    padding: 15px; text-decoration: none; border-radius: 6px;
    display: flex; flex-direction: column; transition: 0.2s; min-height: 120px; position: relative;
}
.partner-card:hover { border-color: #555; background: #151515; }
.partner-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.partner-name { color: #fff; font-weight: bold; font-family: 'Share Tech Mono'; font-size: 1rem; }
.partner-desc { color: #888; font-size: 0.75rem; line-height: 1.4; }

footer { margin-top: 50px; text-align: center; font-size: 0.7rem; color: #444; padding-bottom: 20px; }

/* ========================================= */
/* === STYLES MODALE PREMIUM & UPLOAD === */
/* ========================================= */

.modal-overlay {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center; justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-card {
    background: #0a0a0a;
    width: 90%; max-width: 500px;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    padding: 0; 
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.95);
    border-radius: 12px;
}

/* Scrollbar Custom Modale */
.modal-card::-webkit-scrollbar { width: 6px; }
.modal-card::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.close-modal {
    position: absolute; top: 15px; right: 20px;
    font-size: 1.8rem; color: #666; cursor: pointer; transition: 0.3s;
    line-height: 1; z-index: 10;
}
.close-modal:hover { color: var(--neon-red); }

/* --- HACK POUR L'AUTOCOMPLÉTION (Supprime le fond bleu moche) --- */
.premium-input:-webkit-autofill,
.premium-input:-webkit-autofill:hover, 
.premium-input:-webkit-autofill:focus, 
.premium-input:-webkit-autofill:active  {
    /* On force une ombre intérieure sombre pour masquer le bleu */
    -webkit-box-shadow: 0 0 0 30px #151515 inset !important;
    /* On force la couleur du texte en blanc */
    -webkit-text-fill-color: #fff !important;
    /* On garde la transition fluide */
    transition: background-color 5000s ease-in-out 0s;
}
/* Inputs Premium Gold */
.premium-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #fff;
    padding: 12px;
    width: 100%;
    border-radius: 4px;
    font-family: inherit;
    margin-bottom: 15px;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.premium-input:focus {
    border-color: var(--neon-gold);
    background: rgba(255, 215, 0, 0.05);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

/* Zone Upload */
.upload-box {
    border: 2px dashed #444;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
}
.upload-box:hover, .upload-box.drag-over {
    border-color: var(--neon-gold);
    background: rgba(255, 215, 0, 0.02);
}

/* Bouton Gold */
.btn-gold {
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #000; border: none; padding: 15px; width: 100%;
    font-weight: bold; font-size: 1rem; cursor: pointer;
    border-radius: 4px; text-transform: uppercase; letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}
.btn-gold:disabled {
    background: #555; color: #888; cursor: not-allowed; transform: none; box-shadow: none;
}

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

/* Mobile Tweaks */
@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    .bio { font-size: 0.85rem; padding: 0 10px; }
    .modal-card { width: 95%; max-height: 95vh; }
    .setup-banner { flex-direction: column; }
}

/* --- LEAD MAGNET (PROTOCOLE ALPHA) --- */
.lead-magnet-banner {
    margin: 60px auto; 
    padding: 30px;
    border: 2px solid var(--neon-blue);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.08) 0%, rgba(0,0,0,0) 100%);
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.15);
}

.lm-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.6rem;
    color: var(--neon-blue);
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.lm-subtitle {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.lm-form-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.lm-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.lm-input:focus {
    border-color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.05);
    outline: none;
}

.lm-btn-download {
    background: var(--neon-blue);
    color: #000;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.3s;
}
.lm-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--neon-blue);
}

.lm-note {
    font-size: 0.75rem;
    color: #666;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .lm-form-group {
        flex-direction: column;
    }
    .lm-btn-download {
        width: 100%;
        margin-top: 10px;
    }
    .lm-title {
        font-size: 1.2rem;
    }
}