/* =========================================
   LXN RESEARCH - ARCHITECTURE ZERO
   GLOBAL STYLESHEET (app.css)
   ========================================= */

/* --- RESET & BASE --- */
html, body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: -0.05em;
    margin-top: 0;
}

p {
    line-height: 1.6;
    color: #D1D5DB; /* Gris clair pour la lisibilité */
}

/* --- LINKS --- */
a {
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px solid #333333;
    transition: all 0.2s ease-in-out;
}

a:hover, a:focus {
    color: #FFD700; /* Jaune LXN */
    border-bottom: 1px solid #FFD700;
    outline: none;
}

/* --- FORMS & BUTTONS (BRUTALISM) --- */
button, input, select, textarea {
    font-family: inherit;
    background-color: #050505;
    color: #FFFFFF;
    border: 1px solid #333333;
    border-radius: 0; /* Aucun arrondi, jamais */
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

    button:hover {
        background-color: #FFD700;
        color: #000000;
        cursor: pointer;
        border-color: #FFD700;
    }

/* --- LEGAL PAGES (CGV, Confidentialité) --- */
.legal-page {
    background-color: #000000;
    color: #A0A0A0; /* Gris plus sombre pour le corps du texte légal */
}

.legal-page h1 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #1A1A1A;
    padding-bottom: 1rem;
}

.legal-page h2 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-page p {
    margin-bottom: 1.5rem;
}

.legal-page ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: square; /* Puces carrées pour le côté tech */
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-page li::marker {
    color: #FFD700; /* Puces en jaune LXN */
}

/* --- UTILITIES --- */
::selection {
    background-color: #FFD700;
    color: #000000;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #333333;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}

h1:focus,
.logo:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* =========================================
   TERMINAL PAGES (SUCCESS / CANCEL)
   ========================================= */
.terminal-container {
    max-width: 650px;
    margin: 6rem auto;
    padding: 3rem;
    background: #050505;
    border: 1px solid #1A1A1A;
    text-align: center;
}

.terminal-header {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

    .terminal-header.error {
        color: #888888;
    }

    .terminal-header.success {
        color: #FFD700;
    }
/* Jaune LXN pour le succès */

.terminal-text {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.terminal-box {
    background: #0A0A0A;
    border: 1px solid #111111;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    text-align: left;
}

    .terminal-box.highlight {
        border-color: #FFD700; /* Boîte de téléchargement encadrée d'or */
    }

.terminal-sub {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terminal-muted {
    color: #888888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-warning {
    color: #444444; /* Gris très sombre pour le mystère */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2rem;
}

.terminal-actions {
    margin-top: 3rem;
}

/* =========================================
   LEGAL PAGES STRUCTURE
   ========================================= */
.legal-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
}

.legal-update {
    color: #FFD700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 3rem;
}

/* =========================================
   TERMINAL FORMS
   ========================================= */
.terminal-form {
    text-align: left;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        color: #A0A0A0;
        font-size: 0.85rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 0.5rem;
    }

    .form-group input, .form-group textarea {
        width: 100%;
        background-color: #0A0A0A;
        border: 1px solid #333333;
        color: #FFFFFF;
        padding: 0.75rem 1rem;
        border-radius: 0;
        transition: all 0.2s ease;
    }

        .form-group input:focus, .form-group textarea:focus {
            border-color: #FFD700;
            outline: none;
            box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
        }