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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #050507;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    -webkit-text-size-adjust: 100%;
}

/* --- BACKGROUNDS --- */
#blockchain-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

.metal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* --- NAVIGATION --- */
nav {
    background: rgba(10, 10, 12, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: 1px; color: #fff; font-size: 0.8rem; }
.nav-links { display: flex; align-items: center; gap: 0.8rem; }
.nav-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }

/* --- HERO SECTION --- */
header { padding: 4rem 1rem 2rem; text-align: center; position: relative; z-index: 10; }
.hero-container { width: 100%; max-width: 800px; margin: 0 auto; }
.hero-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 8vw, 4rem);
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    max-width: 100%;
}
.main-title { 
    font-family: 'Montserrat', sans-serif; 
    font-size: clamp(1.2rem, 5vw, 2.5rem); 
    color: #fff; 
    line-height: 1.2; 
    margin: 1rem 0; 
}
.main-title span { color: rgba(255,255,255,0.3); display: block; }
.hero-subtitle { font-size: 0.85rem; color: rgba(255,255,255,0.4); max-width: 500px; margin: 0 auto; }

/* --- GRID SYSTEM --- */
.solutions-grid {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.panel {
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
    backdrop-filter: blur(10px);
    position: relative;
}

/* --- DESKTOP ENHANCEMENTS --- */
@media (min-width: 768px) {
    .solutions-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .panel { margin-bottom: 0; padding: 2.5rem 2rem; }
}

@media (min-width: 1100px) {
    .solutions-grid { grid-template-columns: repeat(6, 1fr); }
    .solutions-grid section:nth-child(1),
    .solutions-grid section:nth-child(2),
    .solutions-grid section:nth-child(3) { grid-column: span 2; }
    .solutions-grid section:nth-child(4) { grid-column: 2 / 4; }
    .solutions-grid section:nth-child(5) { grid-column: 4 / 6; }
    .hero-logo-text { letter-spacing: 0.12em; }
}

/* --- ELEMENTS STYLING --- */
.icon-box { 
    width: 16px; /* Réduction massive demandée */
    height: 16px; 
    margin-bottom: 1rem; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box svg { width: 100%; height: 100%; filter: drop-shadow(0 0 5px currentColor); }

.platinum-icon { color: #e5e4e2; }
.titanium-icon { color: #a0a0a0; }
.cobalt-icon { color: #4d79ff; }
.kcore-icon { color: #ff4d4d; }
.darkilio-icon { color: #8c52ff; }

.v-tag { font-family: 'Fira Code', monospace; font-size: 0.6rem; color: rgba(255,255,255,0.3); margin-bottom: 0.5rem; display: block; }
h2 { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; color: #fff; margin-bottom: 1rem; }
.summary { font-size: 0.95rem; color: #fff; margin-bottom: 1rem; font-weight: 600; }
.description { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 2rem; font-weight: 300; }

/* FEATURE GRID */
.feature-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 1.2rem; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    padding-top: 1.5rem; 
}
.f-item h5 { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.8); margin-bottom: 0.2rem; }
.f-item p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* --- BUTTONS --- */
.btn {
    display: block; width: 100%; padding: 0.8rem; border-radius: 4px;
    text-align: center; text-decoration: none; font-weight: 700;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
}
.btn-kcore { background: #ff4d4d; color: #fff; }
.btn-darkilio { background: #8c52ff; color: #fff; }
.btn-enter { background: #4d79ff; color: #fff; }
.btn-primus { border: 1px solid #a0a0a0; color: #a0a0a0; }
.btn-after { background: #e5e4e2; color: #000; }

/* NODE STATUS */
.node-status { position: absolute; top: 1rem; right: 1rem; font-family: 'Fira Code', monospace; font-size: 0.5rem; color: rgba(255,255,255,0.2); display: flex; align-items: center; gap: 5px; }
.node-status .dot { width: 5px; height: 5px; background: #64ffda; border-radius: 50%; }

/* ONION COPY */
.onion-copy-container {
    margin-top: 1rem; background: rgba(0,0,0,0.4); padding: 0.6rem;
    border-radius: 4px; display: flex; align-items: center; justify-content: space-between;
}
#onion-link { font-family: 'Fira Code', monospace; font-size: 0.55rem; color: rgba(255,255,255,0.3); word-break: break-all; }
#copy-btn { background: none; border: none; color: rgba(255,255,255,0.2); cursor: pointer; }

/* I18N */
#lang-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; padding: 0.4rem 0.6rem; border-radius: 4px; display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 0.7rem; }
.lang-options { position: absolute; top: 100%; right: 0; background: #0a0a0c; border: 1px solid rgba(255, 255, 255, 0.1); width: 140px; display: none; z-index: 1000; }
.lang-options.active { display: block; }
.flag-icon { width: 16px; height: 11px; }

/* FOOTER */
footer { padding: 3rem 1rem; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.05); }
footer p { font-size: 0.7rem; color: rgba(255,255,255,0.3); }
