:root {
    --main-color: #ff9900;
    --bg-black: #0a0a0a;
    --card-bg: #111111;
    --border-orange: #ff9900;
    --success-green: #00ff66;
    --bordeaux-border: #680000;
    --bordeaux-bg: rgba(128, 0, 0, 0.15);
}

body {
    margin: 0; padding: 0;
    background-color: var(--bg-black);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.grid-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background-image: linear-gradient(to right, rgba(255,255,255, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* HEADER */
header { text-align: center; padding: 80px 20px 40px; }
.main-title { font-size: 3.5rem; font-weight: 900; margin-bottom: 25px; line-height: 1; }
.main-title span { color: var(--main-color); }

.header-info { display: flex; justify-content: center; margin-bottom: 50px; }
.tg-link-neon { 
    color: #00d2ff; text-decoration: none; display: flex; align-items: center; gap: 10px; 
    font-weight: 700; padding: 12px 25px; border-radius: 50px; 
    border: 1px solid rgba(0, 210, 255, 0.3); transition: 0.3s ease;
}
.tg-link-neon:hover { transform: scale(1.05); background: rgba(0, 210, 255, 0.05); }

/* TAILLE DU LOGO TELEGRAM DANS LE HEADER */
.tg-logo-small { width: 22px; height: 22px; }

/* BOUTONS : ZOOM FLUIDE */
.btn-exodus {
    display: inline-flex; align-items: center; justify-content: center;
    width: 320px; height: 62px; border-radius: 12px; background: #000; 
    border: 1px solid var(--border-orange); color: #fff; 
    font-family: 'Inter', sans-serif; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
}
.btn-exodus:hover { transform: scale(1.07); box-shadow: 0 0 25px rgba(255, 153, 0, 0.3); border-color: #fff; }
.btn-exodus:active { transform: scale(0.95); }
.btn-success-neon { border-color: var(--success-green) !important; color: var(--success-green) !important; box-shadow: 0 0 25px rgba(0, 255, 102, 0.4) !important; }

/* PRÉREQUIS */
.prerequis-section { border: 1px solid #333 !important; background: #141414 !important; }
.title-prerequis { font-size: 2rem; font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 30px; border-bottom: 3px solid #ff0000; display: inline-block; padding-bottom: 5px; }
.prerequis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pre-item-static { background: #0a0a0a; border: 1px solid #1a1a1a; padding: 25px 15px; border-radius: 12px; }
.pre-icon { font-size: 2.2rem; margin-bottom: 12px; }
.pre-title { font-weight: 800; color: var(--main-color); text-transform: uppercase; font-size: 0.85rem; }
.pre-description { font-size: 0.8rem; color: #888; line-height: 1.5; margin-top: 8px; }

/* EBOOK STYLING */
.ebook-container { margin: 30px 0; display: flex; justify-content: center; }
.ebook-cover {
    width: 160px; height: 220px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border: 2px solid var(--main-color); border-radius: 8px;
    position: relative; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 15px 35px rgba(255, 153, 0, 0.2);
}
.ebook-tag { position: absolute; top: 12px; right: -12px; background: var(--main-color); color: black; font-size: 0.7rem; font-weight: 900; padding: 5px 10px; border-radius: 4px; }
.ebook-title { color: white; font-size: 1.2rem; font-weight: 900; text-align: center; line-height: 1.2; }

/* LAYOUT */
.container { max-width: 850px; margin: 0 auto; padding: 0 20px 80px; }
.card-exodus { background: var(--card-bg); border: 1px solid #1a1a1a; padding: 45px; border-radius: 15px; margin-bottom: 40px; position: relative; text-align: center; }
.step-badge { position: absolute; top: 15px; right: 25px; color: #353535; font-weight: 900; font-size: 4rem; pointer-events: none; }
.media-container { background: #000; border: 1px solid #1a1a1a; border-radius: 15px; overflow: hidden; margin: 25px auto; max-width: 700px; }
video { width: 100%; display: block; }
.links-row { display: flex; gap: 20px; margin: 30px 0; justify-content: center; }
.btn-logo-img { width: 22px; height: 22px; margin-right: 12px; }
.info-bubble { background: #0c0c0c; border: 1px solid #151515; padding: 20px; border-radius: 12px; margin: 20px auto; width: 90%; }
.bubble-text { font-size: 0.9rem; color: #808080; line-height: 1.6; }
.warning-text { color: var(--main-color); font-weight: bold; margin-bottom: 15px; display: block; }

/* SCRIPT BOX */
.script-box { background: #000; border: 1px solid #1a1a1a; border-radius: 12px; overflow: hidden; margin-top: 25px; text-align: left; }
.script-header { background: #1a1a1a; padding: 15px 20px; display: flex; align-items: center; position: relative; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.filename { color: #555; font-size: 0.8rem; position: absolute; left: 50%; transform: translateX(-50%); }
pre { padding: 30px; max-height: 300px; overflow-y: auto; margin: 0; background: #030303; color: #333; font-family: 'Fira Code', monospace; font-size: 0.85rem; }

/* FOOTER */
.legal-footer-wrapper { text-align: center; padding: 60px 20px; }
.legal-trigger { background: transparent; border: 2px solid #500000; color: #d8d8d8; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-size: 0.7rem; }
.legal-typewriter { color: #ff4d4d; font-size: 0.75rem; max-width: 600px; margin: 20px auto; display: none; border: 1px solid var(--bordeaux-border); padding: 20px; background: var(--bordeaux-bg); border-radius: 8px; }
.footer-copyright { color: #888888; font-size: 0.65rem; margin-top: 30px; letter-spacing: 1px; }

@media (max-width: 768px) { .prerequis-grid { grid-template-columns: 1fr; } .btn-exodus { width: 100%; } .links-row { flex-direction: column; } }