/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #0a0508;
    --neon-red: #8A0D00;
    --neon-light: #ff3b22;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Le fond d'écran sombre avec un effet de grille high-tech */
body {
    background-image: linear-gradient(rgba(20, 0, 0, 0.85), rgba(17, 0, 0, 0.85)), url(1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 99vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- HEADER FLOTTANT (GLASSMORPHISM) --- */
.glass-header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1888px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(20, 10, 12, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(138, 13, 0, 0.3);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.unknown-text {
    color: #ffffff;
    position: relative;
}

.logo .pink {
    color: var(--neon-light);
    text-shadow: 0 0 10px var(--neon-red);
}

nav {
    display: flex;
    gap: 15px;
}

nav .nav-btn {
    text-decoration: none;
    color: var(--text-main);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

nav .nav-btn .arrow {
    font-size: 10px;
    opacity: 0.5;
    transition: 0.3s;
}

nav .nav-btn:hover {
    color: var(--text-main);
    background: rgba(138, 13, 0, 0.15);
    border: 1px solid rgba(138, 13, 0, 0.5);
    box-shadow: 0 0 15px rgba(138, 13, 0, 0.3);
}

nav .nav-btn:hover .arrow {
    opacity: 1;
    transform: translate(2px, -2px);
    display: inline-block;
}

/* --- CONTENU PRINCIPAL --- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px 20px;
}

.glow-text {
    font-family: 'Sigmar One', sans-serif;
    font-size: clamp(31px, 22vw, 21px);
    font-weight: 200;
    letter-spacing: 3px;
    color: hsl(0, 100%, 11%);
    text-shadow: 
        0 0 5px #faf7f7, 
        0 0 15px var(--neon-light), 
        0 0 30px var(--neon-red), 
        0 0 60px var(--neon-red);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--neon-light);
    margin-bottom: 50px;
    text-transform: uppercase;
}

.floating-effect {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.image-container img {
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(138, 13, 0, 0.2);
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- BOUTON NÉON PREMIUM --- */
.neon-btn {
    font-family: 'Sigmar One', sans-serif;
    background: linear-gradient(135deg, #1a0000 0%, #360500 100%);
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 18px 45px;
    border: 1px solid var(--neon-light);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(138, 13, 0, 0.6), inset 0 0 10px rgba(255, 59, 34, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,59,34,0.2) 10%, transparent 40%);
    opacity: 0;
    transition: 0.4s;
}

.neon-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 15px 35px rgba(138, 13, 0, 0.8), inset 0 0 20px rgba(255, 59, 34, 0.4);
    border-color: #fff;
}

.neon-btn:hover::before {
    opacity: 1;
}

/* ========================================= */
/* --- DESIGN DES FENÊTRES MODALES ---       */
/* ========================================= */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(10, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, #140a0c 0%, #0a0508 100%);
    border: 1px solid rgba(138, 13, 0, 0.6);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 999px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(138, 13, 0, 0.3);
    position: relative;
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 15px; 
    right: 20px;
    font-size: 24px;
    color: #a0a0a0;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    color: #fff;
}

.modal-content h2 {
    font-family: 'Inter', serif;
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-main);
}

.price-tag {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.price-tag .highlight-price {
    color: #ff3b22;
    font-weight: bold;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pay-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pay-title {
    font-family: 'Astra', sans-serif;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pay-title i {
    font-size: 20px; 
    color: #ff3b22; 
}

.pay-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #888;
    margin-top: 5px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.pay-btn:hover {
    background: rgba(138, 13, 0, 0.2);
    border-color: #ff3b22;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(138, 13, 0, 0.4);
}

.pay-btn:hover .pay-subtext {
    color: #ccc; 
}

/* ========================================= */
/* --- DESIGN DE LA FENÊTRE TUTORIEL (2 COLONNES PROPRE) --- */
/* ========================================= */

.tutorial-content {
    max-width: 4000px;
    width: 77%;
}

/* Organisation en grille : Vidéo et Texte étirés à la même hauteur exacte */
.tutorial-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    align-items: stretch;
    margin: 20px 0;
}

/* Style du conteneur de la vidéo - Version clean sans double cadre rouge */
.video-container {
    position: relative;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tutorial-footer {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.small-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 768px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
}

/* Boîte d'instructions - Version clean et moderne */
.info-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 28px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--neon-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.info-header i {
    font-size: 16px;
}

.info-header h3 {
    margin: 0;
    font-family: 'Sigmar One', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.step-num {
    background: rgba(255, 59, 34, 0.1);
    color: var(--neon-light);
    font-family: 'Sigmar One', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 8px;
    border: 1px solid rgba(255, 59, 34, 0.2);
    margin-top: 2px;
}

.steps-list strong {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
    font-family: 'Inter', sans-serif;
}

.steps-list p {
    color: #999;
    font-size: 14px;
    margin: 0;
    line-height: 1.45;
}

/* --- SÉLECTEUR DE LANGUE PERSONNALISÉ & DESIGN --- */
.custom-lang-selector {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 59, 34, 0.3);
    padding: 6px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-current:hover {
    border-color: rgba(255, 59, 34, 0.8);
    box-shadow: 0 0 10px rgba(255, 59, 34, 0.2);
}

.lang-current .flag {
    font-size: 16px;
}

.arrow-icon {
    font-size: 10px;
    color: #a0a0a0;
    transition: transform 0.3s ease;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 59, 34, 0.3);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    overflow: hidden;
    display: none;
    flex-direction: column;
    min-width: 140px;
    z-index: 1000;
}

.lang-dropdown-menu.show {
    display: flex;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #fafafa;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
}

.lang-option:hover {
    background: rgba(255, 59, 34, 0.2);
    color: #fff;
}

.lang-option .flag {
    font-size: 16px;
}