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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #eee;
    line-height: 1.6;
}

header {
    background: rgba(15, 15, 30, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #eee;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 2rem;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badges img {
    height: 40px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.2);
}

.sections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    gap: 2rem;
}

.section-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    -webkit-backdrop-filter: blur(10);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.section-card h2 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.section-card h3 {
    color: #7b2ff7;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-card ul {
    list-style: none;
    padding-left: 1rem;
}

.section-card li {
    padding: 0.3rem 0;
    color: #ccc;
}

.section-card li:before {
    content: "▸ ";
    color: #00d4ff;
    font-weight: bold;
}

.placeholder {
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    padding: 2rem;
    text-align: center;
    color: #888;
    font-style: italic;
    border-radius: 5px;
    margin-top: 1rem;
}

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

footer {
    background: rgba(15, 15, 30, 0.95);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    color: #888;
}

.team {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.team-member {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.stat-list {
    text-align: left;
    margin-top: 1rem;
}

.footer-link-container {
    margin-top: 1rem;
}

.footer-link {
    color:  #00d4ff;
}

.code-block{
    background: rgba(0,0,0, 0.3); 
    padding: 1rem; 
    border-radius: 5px; 
    overflow-x: auto;
}
#preformatted-code2{
    background: rgba(0,0,0,0.3); 
    padding: 1rem; 
    border-radius: 5px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav {
        flex-direction: column;
    }
}

.image-presentation-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.presentation-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.presentation-image:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .image-presentation-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Styles for installer download page */
#stable-installers .installer-version + .installer-version {
    margin-top: 1rem;
}

.installer-version {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    border-left: 4px solid #555;
    transition: all 0.3s ease;
}

/* --- COULEURS DES STATUTS --- */

/* STABLE = VERT */
.installer-version[data-status="stable"] {
    border-left-color: #2ecc71; 
}

/* NIGHTLY (Dernière version Dev) = VIOLET (Thème Raykesh) */
.installer-version[data-status="nightly"] {
    border-left-color: #7b2ff7;
    background: linear-gradient(90deg, rgba(123, 47, 247, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 0 15px rgba(123, 47, 247, 0.15); /* Petit effet néon */
}

/* UNSTABLE / DEV (Historique) = CYAN (Thème Raykesh) */
.installer-version[data-status="unstable"] {
    border-left-color: #00d4ff;
}

/* PRERELEASE (GitHub Pré-release) = CYAN aussi */
.installer-version[data-status="prerelease"] {
    border-left-color: #00d4ff;
    border-left-style: groove;
}

.installer-version[data-status="archived"] {
    border-left-color: #95a5a6;
    opacity: 0.7;
}

.installer-version span {
    font-weight: bold;
    color: #eee;
}

#dev-installers-list {
    list-style: none;
    padding: 0;
}

#dev-installers-list li + li {
    margin-top: 1rem;
}

.btn.disabled {
    pointer-events: none;
    background: #555;
    opacity: 0.5;
}

/* Color labels for executable types */
.installer-version .label-onefolder { color: #ff6b6b; }
.installer-version .label-onefile-cli { color: #feca57; }
.installer-version .label-onefolder-nocli { color: #1dd1a1; }

.details-section {
    margin-top: 2rem;
    background: rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 1.5rem;
}
.details-section summary {
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2rem;
    color: #00d4ff;
}
.details-section pre {
    background: rgba(0,0,0, 0.3); 
    padding: 1rem; 
    border-radius: 5px; 
    overflow-x: auto;
    margin-top: 1rem;
}
