/* ==========================================================================
   WOWZ LANDING PAGE - THEME NOIR & VERT NÉON (FUTURISTE / SCI-FI / GAMING)
   ========================================================================== */

/* Importation des polices premium depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Inter:wght@300;400;600;700&display=swap');

/* Variables de thème (Design System) */
:root {
    --bg-dark: #05070a;
    --bg-main: #090d12;
    --bg-card: rgba(11, 17, 26, 0.75);
    
    /* Palette Vert Néon & Noir */
    --neon-green: #39ff14;
    --neon-green-glow: rgba(57, 255, 20, 0.4);
    --neon-green-dim: rgba(57, 255, 20, 0.15);
    --border-green: rgba(57, 255, 20, 0.2);
    --border-green-hover: rgba(57, 255, 20, 0.8);
    
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Réinitialisation de base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Barre de défilement stylisée */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-green-glow);
}
::-webkit-scrollbar-thumb:hover {
    background: #73ff5c;
}

/* Arrière-plan magique et effets d'ambiance */
body {
    position: relative;
    background: radial-gradient(circle at 50% -20%, #0d2113 0%, var(--bg-main) 70%);
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* En-tête / Navigation */
header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(57, 255, 20, 0.08);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-light);
    text-shadow: 0 0 12px rgba(57, 255, 20, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green-glow);
}

.status-badge {
    background: var(--neon-green-dim);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.15);
}

/* Hero Section */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px var(--neon-green-glow);
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 50%, var(--neon-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 750px;
    margin-bottom: 2.5rem;
}

/* Bouton de Téléchargement Principal */
.btn-download-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #2ae00f 0%, #158007 100%);
    color: #030502;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none;
    padding: 1.2rem 2.8rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(57, 255, 20, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(57, 255, 20, 0.5), 
                0 0 20px rgba(57, 255, 20, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #39ff14 0%, #20b00a 100%);
}

.btn-download:active {
    transform: translateY(-1px);
}

.btn-download svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

.btn-download:hover svg {
    transform: translateY(2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    border: 1px solid var(--border-green);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.btn-secondary:hover {
    background: var(--neon-green-dim);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green-glow);
    color: #fff;
}

.download-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.download-info span {
    color: var(--neon-green);
    font-weight: 600;
}

/* Grille de Fonctionnalités */
.features {
    padding: 4rem 0;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--neon-green);
    margin: 0.75rem auto 0;
    box-shadow: 0 0 12px var(--neon-green);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-green);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-green-hover);
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.1), 
                0 0 15px rgba(57, 255, 20, 0.05);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--neon-green-dim);
    border: 1px solid var(--neon-green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--neon-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.15);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.feature-list {
    margin-top: 1rem;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.feature-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--neon-green);
}

/* Slash Commands Panel */
.commands-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-green);
    border-radius: 8px;
    padding: 2.5rem;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.command-item {
    background: rgba(5, 7, 10, 0.6);
    border: 1px solid rgba(57, 255, 20, 0.15);
    border-radius: 6px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.command-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-green);
}

.command-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Guide d'installation et Sécurité */
.guide-security {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
    align-items: start;
}

@media (max-width: 768px) {
    .guide-security {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2.5rem;
}

.panel h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    color: var(--text-light);
    border-left: 3px solid var(--neon-green);
    padding-left: 0.75rem;
    letter-spacing: 0.5px;
}

.steps {
    list-style: none;
}

.steps li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.steps li::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--neon-green-dim);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.steps li strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.25rem;
}

.steps li code {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(57, 255, 20, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--neon-green);
}

.security-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.security-icon {
    color: var(--neon-green);
    flex-shrink: 0;
}

.security-icon svg {
    width: 24px;
    height: 24px;
}

.security-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.security-text p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Section Historique des Versions */
.changelog {
    background: var(--bg-card);
    border: 1px solid var(--border-green);
    border-radius: 8px;
    padding: 2.5rem;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.changelog-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(57, 255, 20, 0.1);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .changelog-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

.changelog-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.changelog-version {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.version-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-green);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.version-badge-latest {
    font-size: 0.65rem;
    background: var(--neon-green);
    color: #000;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
}

.version-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.changelog-details {
    flex-grow: 1;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.changelog-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-light);
    border: 1px solid rgba(57, 255, 20, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.changelog-link:hover {
    color: #000;
    background: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green-glow);
}

/* Pied de page */
footer {
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.disclaimer {
    font-size: 0.72rem;
    color: #475569;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.5;
}
