/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #e5e7eb;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #374151;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-cube {
    width: 40px;
    height: 40px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 10s infinite linear;
}

.cube-face {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border: 2px solid #0e7490;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: white;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.cube-face:hover {
    background: linear-gradient(135deg, #06b6d4, #ef4444);
    border-color: #dc2626;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    transform: scale(1.05);
}

.cube-face.front { transform: rotateY(0deg) translateZ(20px); }
.cube-face.back { transform: rotateY(180deg) translateZ(20px); }
.cube-face.right { transform: rotateY(90deg) translateZ(20px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(20px); }
.cube-face.top { transform: rotateX(90deg) translateZ(20px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(20px); }

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* CORRECTIONS MOBILE DIRECTES */
@media screen and (max-width: 768px) {
    /* RALENTIR LE LOGO MX */
    .logo-cube {
        animation: rotateCube 15s linear infinite !important;
        width: 25px !important;
        height: 25px !important;
        transform: scale(0.6) !important;
    }
    
    .cube-face {
        width: 25px !important;
        height: 25px !important;
        font-size: 0.7rem !important;
    }
    
    /* RÉDUIRE DRASTIQUEMENT TOUTES LES TAILLES */
    .hero {
        padding: 4rem 0.5rem 2rem !important;
        font-size: 14px !important;
    }
    
    .hero h1 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-features {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .feature-highlight-item {
        padding: 0.8rem !important;
        font-size: 0.7rem !important;
        min-height: 60px !important;
    }
    
    .btn {
        max-width: 250px !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.8rem !important;
    }
    
    /* APP PREVIEW BEAUCOUP PLUS PETIT */
    .app-preview-3d {
        transform: scale(0.6) !important;
        max-width: 280px !important;
        margin: 1rem auto !important;
    }
    
    /* OFF SYSTEMS COMPACTS */
    .systems-deactivation {
        padding: 2rem 0.5rem !important;
    }
    
    .systems-flow {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .system-unit {
        min-height: 120px !important;
        padding: 1rem 0.8rem !important;
    }
    
    .system-name {
        font-size: 0.9rem !important;
    }
    
    .system-description {
        font-size: 0.7rem !important;
    }
    
    /* DEMO SECTION RÉDUITE */
    .demo-section {
        padding: 2rem 0.5rem !important;
    }
    
    .trading-chart {
        max-width: 250px !important;
        height: 150px !important;
        padding: 0.5rem !important;
    }
    
    .database-core {
        width: 150px !important;
        height: 150px !important;
    }
    
    /* RALENTIR TOUTES LES ANIMATIONS */
    * {
        animation-duration: 3s !important;
        transition-duration: 0.5s !important;
    }
    
    /* DÉSACTIVER LES ANIMATIONS LOURDES */
    .particles-container,
    .floating-elements,
    .hologram-container {
        display: none !important;
    }
    
    /* TEXTES PLUS PETITS */
    h2 {
        font-size: 1.2rem !important;
    }
    
    h3 {
        font-size: 1rem !important;
    }
    
    p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
}

/* CORRECTIONS POUR TRÈS PETITS ÉCRANS */
@media screen and (max-width: 480px) {
    /* LOGO ENCORE PLUS LENT ET PETIT */
    .logo-cube {
        animation: rotateCube 20s linear infinite !important;
        width: 20px !important;
        height: 20px !important;
        transform: scale(0.5) !important;
    }
    
    .cube-face {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.6rem !important;
    }
    
    .logo-text {
        font-size: 0.9rem !important;
    }
    
    /* HERO ULTRA COMPACT */
    .hero {
        padding: 3rem 0.3rem 1.5rem !important;
    }
    
    .hero h1 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.7rem !important;
        margin-bottom: 1rem !important;
    }
    
    .feature-highlight-item {
        padding: 0.6rem !important;
        font-size: 0.6rem !important;
        min-height: 50px !important;
    }
    
    .btn {
        max-width: 200px !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.7rem !important;
    }
    
    /* APP PREVIEW MINI */
    .app-preview-3d {
        transform: scale(0.4) !important;
        max-width: 200px !important;
        margin: 0.5rem auto !important;
    }
    
    /* SYSTEMS ULTRA COMPACTS */
    .system-unit {
        min-height: 100px !important;
        padding: 0.8rem 0.5rem !important;
    }
    
    .system-name {
        font-size: 0.8rem !important;
    }
    
    .system-description {
        font-size: 0.6rem !important;
    }
    
    /* CHARTS MINI */
    .trading-chart {
        max-width: 180px !important;
        height: 120px !important;
        padding: 0.3rem !important;
    }
    
    .database-core {
        width: 100px !important;
        height: 100px !important;
    }
    
    /* TEXTES MINI */
    h2 {
        font-size: 1rem !important;
    }
    
    h3 {
        font-size: 0.9rem !important;
    }
    
    p {
        font-size: 0.7rem !important;
    }
    
    /* SECTIONS ULTRA COMPACTES */
    .systems-deactivation,
    .demo-section,
    .server-files,
    .contact {
        padding: 1.5rem 0.3rem !important;
    }
    
    .systems-flow {
        max-width: 250px !important;
        gap: 0.8rem !important;
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e5e7eb;
    text-shadow: 0 0 10px rgba(156, 163, 175, 0.3);
}

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

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #e5e7eb;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6b7280;
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(107, 114, 128, 0.3);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Particles System */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #6b7280, #9ca3af);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
    box-shadow: 0 0 10px rgba(107, 114, 128, 0.3);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 19s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 21s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 23s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 16s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; animation-duration: 24s; }
.particle:nth-child(10) { left: 95%; animation-delay: 3.5s; animation-duration: 20s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

/* Hero Badge */
.hero-badge {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    z-index: 3;
}

.badge-text {
    background: linear-gradient(135deg, #374151, #6b7280);
    color: #e5e7eb;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    display: inline-block;
    border: 1px solid #9ca3af;
}

.badge-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #374151, #6b7280);
    border-radius: 25px;
    filter: blur(8px);
    opacity: 0.5;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(0, 0, 0, 0.3));
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.2), transparent);
    transition: left 0.6s ease;
}

.feature-highlight-item:hover::before {
    left: 100%;
}

.feature-highlight-item:hover {
    transform: translateY(-3px);
    border-color: rgba(220, 38, 38, 0.6);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.feature-icon-3d {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
    transform-style: preserve-3d;
    animation: iconFloat 3s ease-in-out infinite;
    border: 1px solid #ef4444;
}

.icon-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 12px;
    filter: blur(8px);
    opacity: 0.3;
    z-index: -1;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-5px) rotateX(10deg); }
}

.feature-highlight-item span {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 3D Buttons */
.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.btn-3d:hover {
    transform: translateY(-3px) rotateX(10deg);
}

.btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 8px;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary .btn-glow {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8), rgba(185, 28, 28, 0.6));
}

.btn-secondary .btn-glow {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.6), rgba(185, 28, 28, 0.4));
}

.btn-3d:hover .btn-glow {
    opacity: 0.7;
}

/* Reflets magnifiques pour les boutons */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        rgba(220, 38, 38, 0.3),
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        rgba(220, 38, 38, 0.2),
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-secondary:hover::before {
    left: 100%;
}

/* Animation de pulsation rouge */
@keyframes redGlowPulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(220, 38, 38, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    50% { 
        box-shadow: 
            0 0 40px rgba(220, 38, 38, 0.6),
            0 0 80px rgba(220, 38, 38, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
}


/* 3D App Preview */
.app-preview-3d {
    position: relative;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.hologram-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hologram-ring {
    position: absolute;
    border: 2px solid rgba(156, 163, 175, 0.2);
    border-radius: 50%;
    animation: hologramSpin 10s linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-duration: 15s;
}

.ring-2 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    animation-duration: 20s;
    animation-direction: reverse;
}

.ring-3 {
    width: 500px;
    height: 500px;
    top: -250px;
    left: -250px;
    animation-duration: 25s;
}

@keyframes hologramSpin {
    0% { transform: rotate(0deg) rotateX(60deg); }
    100% { transform: rotate(360deg) rotateX(60deg); }
}

.app-window-3d {
    width: 600px;
    height: 400px;
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(55, 65, 81, 0.2),
        inset 0 1px 0 rgba(156, 163, 175, 0.1);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.app-window-3d:hover {
    transform: rotateY(-10deg) rotateX(5deg) scale(1.02);
}

.window-header {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #444;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control-red, .control-yellow, .control-green {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
}

.control-red {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.control-yellow {
    background: linear-gradient(135deg, #ffbd2e, #ff9500);
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}

.control-green {
    background: linear-gradient(135deg, #27ca3f, #30d158);
    box-shadow: 0 0 10px rgba(39, 202, 63, 0.5);
}

.window-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(39, 202, 63, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(39, 202, 63, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #27ca3f;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.status-indicator span {
    color: #27ca3f;
    font-size: 0.8rem;
    font-weight: 600;
}

.window-content-3d {
    display: flex;
    height: calc(100% - 60px);
}

.sidebar-3d {
    width: 200px;
    background: linear-gradient(180deg, #333, #2a2a2a);
    padding: 20px 0;
    border-right: 1px solid #444;
}

.sidebar-3d .sidebar-item {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-3d .sidebar-item.active {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.item-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-3d .sidebar-item.active .item-glow {
    opacity: 0.2;
}

.item-pulse {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: itemPulse 1.5s ease-in-out infinite;
}

@keyframes itemPulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.3); }
}

.main-content-3d {
    flex: 1;
    padding: 20px;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
}

.control-panel h3 {
    color: #dc2626;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.feature-grid-3d {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-card-3d {
    background: linear-gradient(135deg, #444, #333);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #555;
}

.feature-card-3d:hover {
    transform: translateY(-5px) rotateX(10deg);
    border-color: #dc2626;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.dpf-card .card-glow { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.egr-card .card-glow { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.adblue-card .card-glow { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.swirl-card .card-glow { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.tva-card .card-glow { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.lambda-card .card-glow { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.feature-card-3d:hover .card-glow {
    opacity: 0.3;
    filter: blur(10px);
}

.feature-card-3d i {
    font-size: 2rem;
    color: #06b6d4;
    margin-bottom: 10px;
    display: block;
}

.feature-card-3d span {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.status-active {
    background: rgba(39, 202, 63, 0.2);
    color: #27ca3f;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(39, 202, 63, 0.3);
}

.one-click-demo {
    text-align: center;
    margin-top: 30px;
}

.immo-off-btn {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    border: 2px solid #0e7490;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.immo-off-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
    border-color: #06b6d4;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

/* Cadenas numérique avec données binaires */
.lock-container {
    position: relative;
    z-index: 2;
}

.digital-lock {
    width: 40px;
    height: 40px;
    position: relative;
    animation: lockFloat 3s ease-in-out infinite;
}

@keyframes lockFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-3px) rotateY(180deg); }
}

.lock-body {
    width: 30px;
    height: 25px;
    background: linear-gradient(135deg, #374151, #6b7280);
    border-radius: 6px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #9ca3af;
    box-shadow: 
        0 0 10px rgba(59, 130, 246, 0.3),
        inset 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.lock-shackle {
    width: 20px;
    height: 15px;
    border: 3px solid #9ca3af;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    transition: all 0.5s ease;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.4);
}

.immo-off-btn:hover .lock-shackle {
    transform: translateX(-50%) translateX(8px) rotate(15deg);
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.binary-data {
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    z-index: 1;
}

.binary-line {
    font-family: 'Courier New', monospace;
    font-size: 4px;
    color: #9ca3af;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(156, 163, 175, 0.8);
    animation: binaryFlow 2s ease-in-out infinite;
    opacity: 0.8;
}

.binary-line:nth-child(1) { animation-delay: 0s; }
.binary-line:nth-child(2) { animation-delay: 0.5s; }
.binary-line:nth-child(3) { animation-delay: 1s; }
.binary-line:nth-child(4) { animation-delay: 1.5s; }

@keyframes binaryFlow {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); color: #ef4444; }
}

.lock-core {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    z-index: 2;
}

.core-ring {
    width: 100%;
    height: 100%;
    border: 1px solid #9ca3af;
    border-radius: 50%;
    position: absolute;
    animation: coreRingPulse 2s ease-in-out infinite;
}

@keyframes coreRingPulse {
    0%, 100% { 
        transform: scale(1); 
        border-color: #9ca3af;
        box-shadow: 0 0 5px rgba(156, 163, 175, 0.5);
    }
    50% { 
        transform: scale(1.3); 
        border-color: #3b82f6;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    }
}

.core-center {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #9ca3af, #6b7280);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: coreCenterGlow 1.5s ease-in-out infinite;
}

@keyframes coreCenterGlow {
    0%, 100% { 
        background: radial-gradient(circle, #9ca3af, #6b7280);
        box-shadow: 0 0 5px rgba(156, 163, 175, 0.8);
    }
    50% { 
        background: radial-gradient(circle, #3b82f6, #1e40af);
        box-shadow: 0 0 10px rgba(59, 130, 246, 1);
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.btn-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    animation: rippleEffect 2s ease-in-out infinite;
}

@keyframes rippleEffect {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.btn-energy {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 50px;
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
    animation: energyPulse 1.5s ease-in-out infinite;
}

@keyframes energyPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #06b6d4;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    animation: floatAround 20s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: 7s;
}

.icon-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 14s;
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(90deg); }
    50% { transform: translate(-20px, -40px) rotate(180deg); }
    75% { transform: translate(-40px, 20px) rotate(270deg); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    color: transparent;
    background: linear-gradient(135deg, 
        #94a3b8 0%, 
        #64748b 25%, 
        #475569 50%, 
        #334155 75%, 
        #1e293b 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1::before {
    content: 'MasterX';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        transparent 40%, 
        rgba(255, 255, 255, 0.9) 50%, 
        transparent 60%, 
        transparent 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bladeReflectionText 3s ease-in-out infinite;
}

@keyframes bladeReflectionText {
    0% { 
        background-position: -200% 0;
    }
    100% { 
        background-position: 200% 0;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: rgba(0, 0, 0, 0.1);
    color: white;
    border: 2px solid rgba(220, 38, 38, 0.6);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 1);
    box-shadow: 
        0 0 30px rgba(220, 38, 38, 0.6),
        0 0 60px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    background: rgba(220, 38, 38, 0.1);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.1);
    color: white;
    border: 2px solid rgba(220, 38, 38, 0.4);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 15px rgba(220, 38, 38, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 0.8);
    box-shadow: 
        0 0 25px rgba(220, 38, 38, 0.4),
        0 0 50px rgba(220, 38, 38, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25);
    background: rgba(220, 38, 38, 0.08);
    color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.app-preview {
    perspective: 1000px;
}

.app-window {
    width: 500px;
    height: 350px;
    background: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.app-window:hover {
    transform: rotateY(-10deg) rotateX(2deg);
}

.window-header {
    background: #1a1a1a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #333;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.window-controls span:nth-child(2) {
    background: #ffbd2e;
}

.window-controls span:nth-child(3) {
    background: #27ca3f;
}

.window-title {
    color: #ffffff;
    font-weight: 600;
}

.window-content {
    display: flex;
    height: calc(100% - 45px);
}

.sidebar {
    width: 200px;
    background: #333;
    padding: 20px 0;
}

.sidebar-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-item:hover,
.sidebar-item.active {
    background: #00bcd4;
    color: white;
}

.main-content {
    flex: 1;
    padding: 20px;
}

.main-content h3 {
    color: #00bcd4;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.feature-card {
    background: #444;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: #555;
    transform: translateY(-2px);
}

/* Demo Section */
.demo-section {
    padding: 100px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

/* Section Désactivation des Systèmes */
.systems-deactivation {
    margin: 4rem 0;
    padding: 3rem 0;
}

.deactivation-title {
    text-align: center;
    margin-bottom: 3rem;
}

.deactivation-title h3 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.deactivation-title p {
    color: #cccccc;
    font-size: 1.1rem;
}

.systems-flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .systems-flow {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .systems-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .systems-flow {
        grid-template-columns: 1fr;
    }
}

.system-unit {
    position: relative;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 180px;
    display: flex;
    align-items: center;
}

.system-unit:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 38, 38, 0.3);
}

.system-diagram {
    text-align: center;
    width: 100%;
}

.system-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.system-description {
    font-size: 0.75rem;
    color: #999999;
    margin-bottom: 0.8rem;
}

.system-visual {
    position: relative;
    height: 50px;
    margin: 0.6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-label {
    font-size: 0.7rem;
    color: #06b6d4;
    font-weight: 500;
    text-align: center;
    margin: 0.4rem 0 0.2rem 0;
    font-style: italic;
}

.system-status {
    font-size: 0.7rem;
    color: #10b981;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* Effet de désactivation (croix rouge) */
.deactivation-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.cross-out {
    position: relative;
    width: 40px;
    height: 40px;
}

.cross-out::before,
.cross-out::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    animation: crossAppear 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.8);
}

.cross-out::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.cross-out::after {
    transform: translate(-50%, -50%) rotate(-45deg);
    animation-delay: 0.1s;
}

/* Animation de la croix de désactivation */
@keyframes crossAppear {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.demo-section::before {
    display: none;
}

@keyframes techGridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(25px, 25px); }
}

.demo-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.demo-header h2 {
    font-size: 2.5rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e5e7eb, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-header p {
    font-size: 1.2rem;
    color: #6b7280;
}

.demo-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    position: relative;
    z-index: 2;
}

.demo-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: demoItemFadeIn 0.8s ease forwards;
}

.demo-item:nth-child(1) { animation-delay: 0.2s; }
.demo-item:nth-child(2) { animation-delay: 0.4s; }
.demo-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes demoItemFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-item.reverse {
    flex-direction: row-reverse;
}

.demo-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.demo-content {
    flex: 1;
    max-width: 500px;
}

.demo-content h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
}

.demo-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #dc2626, #ff4444);
    border-radius: 2px;
}

.demo-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* CALCUL HEXADÉCIMAL DANS LE VIDE */
.ecu-visualization {
    perspective: 1500px;
    transform-style: preserve-3d;
}

.hex-calculation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.hex-matrix {
    position: relative;
    width: 500px;
    height: 350px;
    transform-style: preserve-3d;
}

/* CHIFFRES HEXADÉCIMAUX FLOTTANTS */
.hex-stream {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hex-digit {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    color: #9ca3af;
    text-shadow: 0 0 8px rgba(156, 163, 175, 0.6);
    animation: hexFloatAway 8s ease-out infinite;
    opacity: 0;
}

.hex-digit:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.hex-digit:nth-child(2) { top: 15%; right: 10%; animation-delay: 0.4s; }
.hex-digit:nth-child(3) { top: 25%; left: 15%; animation-delay: 0.8s; }
.hex-digit:nth-child(4) { top: 35%; right: 5%; animation-delay: 1.2s; }
.hex-digit:nth-child(5) { top: 45%; left: 8%; animation-delay: 1.6s; }
.hex-digit:nth-child(6) { top: 55%; right: 15%; animation-delay: 2s; }
.hex-digit:nth-child(7) { top: 65%; left: 12%; animation-delay: 2.4s; }
.hex-digit:nth-child(8) { top: 75%; right: 8%; animation-delay: 2.8s; }
.hex-digit:nth-child(9) { top: 20%; left: 50%; animation-delay: 3.2s; }
.hex-digit:nth-child(10) { top: 40%; right: 50%; animation-delay: 3.6s; }
.hex-digit:nth-child(11) { top: 60%; left: 45%; animation-delay: 4s; }
.hex-digit:nth-child(12) { top: 80%; right: 45%; animation-delay: 4.4s; }
.hex-digit:nth-child(13) { top: 30%; left: 25%; animation-delay: 4.8s; }
.hex-digit:nth-child(14) { top: 50%; right: 25%; animation-delay: 5.2s; }
.hex-digit:nth-child(15) { top: 70%; left: 35%; animation-delay: 5.6s; }
.hex-digit:nth-child(16) { top: 85%; right: 35%; animation-delay: 6s; }
.hex-digit:nth-child(17) { top: 5%; left: 40%; animation-delay: 6.4s; }
.hex-digit:nth-child(18) { top: 90%; right: 40%; animation-delay: 6.8s; }
.hex-digit:nth-child(19) { top: 12%; left: 60%; animation-delay: 7.2s; }
.hex-digit:nth-child(20) { top: 88%; right: 60%; animation-delay: 7.6s; }

@keyframes hexFloatAway {
    0% { 
        opacity: 0;
        transform: translateZ(0px) scale(0.5);
        color: #9ca3af;
    }
    10% { 
        opacity: 1;
        transform: translateZ(50px) scale(1);
        color: #3b82f6;
        text-shadow: 0 0 15px rgba(59, 130, 246, 1);
    }
    70% { 
        opacity: 0.8;
        transform: translateZ(200px) scale(0.8);
        color: #6b7280;
    }
    100% { 
        opacity: 0;
        transform: translateZ(500px) scale(0.2) rotateX(90deg);
        color: #374151;
    }
}

/* ZONE DE CALCUL CENTRALE */
.calculation-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(55, 65, 81, 0.9));
    border: 2px solid #374151;
    border-radius: 15px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(59, 130, 246, 0.1);
    z-index: 10;
}

.calc-display {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 80px;
}

.calc-line {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #9ca3af;
    margin: 4px 0;
    opacity: 0;
    animation: calcLineAppear 0.8s ease-out forwards;
}

.calc-line:nth-child(1) { animation-delay: 1s; }
.calc-line:nth-child(2) { animation-delay: 1.5s; }
.calc-line:nth-child(3) { animation-delay: 2s; }
.calc-line:nth-child(4) { animation-delay: 2.5s; }
.calc-line:nth-child(5) { animation-delay: 3s; }

@keyframes calcLineAppear {
    0% { 
        opacity: 0;
        transform: translateX(-20px);
        color: #6b7280;
    }
    100% { 
        opacity: 1;
        transform: translateX(0px);
        color: #3b82f6;
        text-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
    }
}

.calc-result {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    color: #10b981;
    text-shadow: 0 0 15px rgba(16, 185, 129, 1);
    margin-top: 8px;
    opacity: 0;
    animation: resultGlow 1s ease-out 3.5s forwards;
}

@keyframes resultGlow {
    0% { 
        opacity: 0;
        transform: scale(0.8);
    }
    100% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

/* PROCESSEUR VIRTUEL */
.virtual-processor {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
}

.processor-core {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #3b82f6, #1e40af);
    border-radius: 6px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: processorPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
}

@keyframes processorPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 25px rgba(59, 130, 246, 1);
    }
}

.processing-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.proc-ring {
    position: absolute;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: procRingSpin 3s linear infinite;
}

.proc-ring.ring-1 {
    width: 40px;
    height: 40px;
    top: -20px;
    left: -20px;
}

.proc-ring.ring-2 {
    width: 50px;
    height: 50px;
    top: -25px;
    left: -25px;
    animation-direction: reverse;
    animation-duration: 4s;
}

.proc-ring.ring-3 {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    animation-duration: 5s;
}

@keyframes procRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RÉSULTAT FINAL */
.unlock-result {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 15;
}

.result-text {
    font-size: 24px;
    font-weight: bold;
    color: #e5e7eb;
    text-shadow: 0 0 10px rgba(229, 231, 235, 0.8);
    margin-bottom: 5px;
}

.result-status {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #ef4444;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: statusBlink 1s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* PARTICULES HEXADÉCIMALES */
.hex-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

.hex-particle {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    color: #6b7280;
    text-shadow: 0 0 10px rgba(107, 114, 128, 0.8);
    animation: particleDissolve 6s ease-out infinite;
}

.hex-particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.hex-particle:nth-child(2) { top: 30%; right: 20%; animation-delay: 0.8s; }
.hex-particle:nth-child(3) { bottom: 30%; left: 25%; animation-delay: 1.6s; }
.hex-particle:nth-child(4) { bottom: 40%; right: 25%; animation-delay: 2.4s; }
.hex-particle:nth-child(5) { top: 60%; left: 10%; animation-delay: 3.2s; }
.hex-particle:nth-child(6) { top: 70%; right: 10%; animation-delay: 4s; }
.hex-particle:nth-child(7) { bottom: 20%; left: 40%; animation-delay: 4.8s; }
.hex-particle:nth-child(8) { bottom: 10%; right: 40%; animation-delay: 5.6s; }

@keyframes particleDissolve {
    0% { 
        opacity: 0;
        transform: scale(0.5) translateY(0px);
        color: #6b7280;
    }
    20% { 
        opacity: 1;
        transform: scale(1.2) translateY(-20px);
        color: #3b82f6;
        text-shadow: 0 0 15px rgba(59, 130, 246, 1);
    }
    80% { 
        opacity: 0.6;
        transform: scale(0.8) translateY(-100px);
        color: #9ca3af;
    }
    100% { 
        opacity: 0;
        transform: scale(0.2) translateY(-200px);
        color: #374151;
    }
}


@keyframes dataFlow {
    0%, 100% { transform: scale(0.5); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 1; }
}

.demo-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(0, 0, 0, 0.3));
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Power Visualization avec touches rouges pour la puissance */
.power-visualization {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.power-mapping {
    width: 300px;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 
        0 0 30px rgba(239, 68, 68, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: mappingFloat 6s ease-in-out infinite;
}

@keyframes gaugeFloat {
    0%, 100% { transform: rotateX(20deg) translateY(0px); }
    50% { transform: rotateX(25deg) translateY(-10px); }
}

.gauge-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #374151 0deg 126deg,
        #6b7280 126deg 180deg,
        #3b82f6 180deg 234deg,
        #ef4444 234deg 288deg,
        #dc2626 288deg 360deg
    );
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

.gauge-bg::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border-radius: 50%;
}

.gauge-fill {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
}

.gauge-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from -90deg,
        #fca5a5 0deg,
        #f87171 20deg,
        #ef4444 40deg,
        #dc2626 60deg,
        #b91c1c 80deg,
        #991b1b 100deg,
        #7f1d1d 140deg,
        #450a0a 180deg,
        transparent 180deg
    );
    transform-origin: center;
    transform: rotate(0deg);
    animation: gaugeFill 4s ease-in-out infinite;
}

.gauge-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    transform-origin: left center;
    transform: rotate(0deg);
    animation: gaugeMask 4s ease-in-out infinite;
}

@keyframes gaugeFill {
    0% { 
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(0deg);
    }
}

@keyframes gaugeMask {
    0% { 
        transform: rotate(180deg);
    }
    100% { 
        transform: rotate(0deg);
    }
}

.gauge-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, #ef4444, #dc2626);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(-90deg);
    border-radius: 2px;
    animation: needleMove 4s ease-in-out infinite, needleGlow 4s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(239, 68, 68, 1);
}

@keyframes needleMove {
    0% { 
        transform: translate(-50%, -100%) rotate(-90deg);
        filter: hue-rotate(0deg) brightness(0.8);
    }
    100% { 
        transform: translate(-50%, -100%) rotate(90deg);
        filter: hue-rotate(-20deg) brightness(1.3);
    }
}

@keyframes needleGlow {
    0% { 
        box-shadow: 0 0 10px rgba(252, 165, 165, 0.8);
    }
    100% { 
        box-shadow: 0 0 25px rgba(69, 10, 10, 1.5);
    }
}

.gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.power-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ef4444;
    margin-bottom: 0.5rem;
    animation: powerValueChange 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
}

/* Graphique de trading */
.trading-chart {
    width: 300px;
    height: 220px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 
        0 0 30px rgba(239, 68, 68, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: chartFloat 6s ease-in-out infinite;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-title {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chart-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
    animation: valueGlow 3s ease-in-out infinite;
}

.chart-container {
    position: relative;
    height: 120px;
    width: 100%;
}

.chart-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.chart-bars {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2px;
}

.bar {
    width: 18px;
    background: linear-gradient(0deg, 
        #450a0a 0%,
        #b91c1c 30%,
        #dc2626 60%,
        #ef4444 80%,
        #f87171 100%);
    border-radius: 2px 2px 0 0;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.bar:nth-child(1) { animation: barGrow1 4s ease-in-out infinite; }
.bar:nth-child(2) { animation: barGrow2 4s ease-in-out infinite 0.2s; }
.bar:nth-child(3) { animation: barGrow3 4s ease-in-out infinite 0.4s; }
.bar:nth-child(4) { animation: barGrow4 4s ease-in-out infinite 0.6s; }
.bar:nth-child(5) { animation: barGrow5 4s ease-in-out infinite 0.8s; }
.bar:nth-child(6) { animation: barGrow6 4s ease-in-out infinite 1s; }
.bar:nth-child(7) { animation: barGrow7 4s ease-in-out infinite 1.2s; }
.bar:nth-child(8) { animation: barGrow8 4s ease-in-out infinite 1.4s; }
.bar:nth-child(9) { animation: barGrow9 4s ease-in-out infinite 1.6s; }
.bar:nth-child(10) { animation: barGrow10 4s ease-in-out infinite 1.8s; }
.bar:nth-child(11) { animation: barGrow11 4s ease-in-out infinite 2s; }
.bar:nth-child(12) { animation: barGrow12 4s ease-in-out infinite 2.2s; }

.chart-trend-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        transparent 0%, 
        transparent 20%, 
        rgba(239, 68, 68, 0.1) 50%, 
        rgba(239, 68, 68, 0.2) 80%, 
        rgba(239, 68, 68, 0.3) 100%);
    pointer-events: none;
    animation: trendGlow 6s ease-in-out infinite;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations des barres */
@keyframes barGrow1 {
    0% { height: 0%; }
    100% { height: 20%; }
}

@keyframes barGrow2 {
    0% { height: 0%; }
    100% { height: 35%; }
}

@keyframes barGrow3 {
    0% { height: 0%; }
    100% { height: 28%; }
}

@keyframes barGrow4 {
    0% { height: 0%; }
    100% { height: 45%; }
}

@keyframes barGrow5 {
    0% { height: 0%; }
    100% { height: 38%; }
}

@keyframes barGrow6 {
    0% { height: 0%; }
    100% { height: 55%; }
}

@keyframes barGrow7 {
    0% { height: 0%; }
    100% { height: 48%; }
}

@keyframes barGrow8 {
    0% { height: 0%; }
    100% { height: 65%; }
}

@keyframes barGrow9 {
    0% { height: 0%; }
    100% { height: 58%; }
}

@keyframes barGrow10 {
    0% { height: 0%; }
    100% { height: 75%; }
}

@keyframes barGrow11 {
    0% { height: 0%; }
    100% { height: 68%; }
}

@keyframes barGrow12 {
    0% { height: 0%; }
    100% { height: 80%; }
}

@keyframes trendGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes valueGlow {
    0%, 100% { 
        color: #ef4444; 
        text-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
    }
    50% { 
        color: #dc2626; 
        text-shadow: 0 0 15px rgba(220, 38, 38, 1);
    }
}

@keyframes chartFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-6px) rotateX(1deg); }
}


.power-label {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 600;
}

.stage-selector {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stage-option {
    padding: 8px 16px;
    background: linear-gradient(135deg, #333, #2a2a2a);
    border: 1px solid #555;
    border-radius: 20px;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.stage-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.2), transparent);
    transition: left 0.6s ease;
}

.stage-option:hover::before {
    left: 100%;
}

.stage-option.active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
    color: white;
    transform: scale(1.05);
}

/* Database Visualization */
.database-visualization {
    perspective: 1000px;
}

.database-core {
    width: 200px;
    height: 200px;
    position: relative;
    transform: rotateX(30deg) rotateY(30deg);
    animation: databaseRotate 8s ease-in-out infinite;
}

@keyframes databaseRotate {
    0%, 100% { transform: rotateX(30deg) rotateY(30deg); }
    50% { transform: rotateX(45deg) rotateY(-30deg); }
}

.data-layers {
    position: relative;
    width: 100%;
    height: 100%;
}

.layer {
    position: absolute;
    width: 100%;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
    animation: layerPulse 3s ease-in-out infinite;
}

.ori-layer {
    top: 0;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    animation-delay: 0s;
}

.tuning-layer {
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    animation-delay: 1s;
}

.video-layer {
    bottom: 0;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    animation-delay: 2s;
}

@keyframes layerPulse {
    0%, 100% { 
        opacity: 0.7; 
        transform: translateY(0) scale(1);
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% { 
        opacity: 1; 
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
    }
}

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.stream {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #dc2626, transparent);
    animation: streamFlow 2s ease-in-out infinite;
}

.stream-1 {
    left: 20%;
    animation-delay: 0s;
}

.stream-2 {
    left: 50%;
    animation-delay: 0.7s;
}

.stream-3 {
    right: 20%;
    animation-delay: 1.4s;
}

@keyframes streamFlow {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

.database-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(0, 0, 0, 0.3));
    color: #dc2626;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 0.6);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
}

/* Server Files Section */
.server-files {
    padding: 100px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.server-files::before {
    display: none;
}

.server-files h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #999999;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border-radius: 12px;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dc2626, transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 500;
}

.server-interface {
    background: #2d2d2d;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.server-header {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    padding: 1.5rem;
    border-bottom: 1px solid #444;
}

.server-controls {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 300px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-input::placeholder {
    color: #666666;
}

.search-btn {
    padding: 12px 16px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.filter-controls {
    display: flex;
    gap: 1rem;
}

.filter-select {
    padding: 12px 16px;
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #dc2626;
}

.filter-select option {
    background: #1a1a1a;
    color: #ffffff;
}

.filter-select:disabled {
    cursor: default !important;
    opacity: 1 !important;
    background: #1a1a1a !important;
    border-color: #444 !important;
    color: #ffffff !important;
}

.server-content {
    padding: 2rem;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #666666;
    transition: all 0.3s ease;
}

.file-item.ori-file::before {
    background: linear-gradient(180deg, #6b7280, #4b5563);
}

.file-item.tuning-file::before {
    background: linear-gradient(180deg, #dc2626, #b91c1c);
}

.file-item.video-file::before {
    background: linear-gradient(180deg, #7c3aed, #5b21b6);
}

.file-item.solution-file::before {
    background: linear-gradient(180deg, #059669, #047857);
}

.file-item:hover {
    transform: translateX(5px);
    border-color: #555;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.file-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ori-file .file-icon {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.tuning-file .file-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.video-file .file-icon {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: white;
}

.solution-file .file-icon {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999999;
    flex-wrap: wrap;
}

.file-meta span {
    background: #333;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.file-type {
    font-weight: 600;
}

.ori-file .file-type {
    background: #6b7280 !important;
    color: white;
}

.tuning-file .file-type {
    background: #dc2626 !important;
    color: white;
}

.video-file .file-type {
    background: #7c3aed !important;
    color: white;
}

.solution-file .file-type {
    background: #059669 !important;
    color: white;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #cccccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #444;
    color: #ffffff;
    transform: translateY(-2px);
}

.preview-btn:hover {
    background: #dc2626;
    color: white;
}

.download-btn:hover {
    background: #059669;
    color: white;
}

.server-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    background: #2d2d2d;
    color: #cccccc;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-btn:hover {
    background: #333;
    border-color: #555;
}

.page-btn.active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
    color: white;
}

.page-btn:disabled {
    cursor: default !important;
    opacity: 1 !important;
    background: #2d2d2d !important;
    border-color: #444 !important;
    color: #cccccc !important;
}

.page-btn.active:disabled {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border-color: #dc2626 !important;
    color: white !important;
    cursor: default !important;
    opacity: 1 !important;
}

.page-dots {
    color: #666666;
    margin: 0 0.5rem;
}

.server-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-highlight {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-highlight:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.feature-highlight:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.feature-highlight h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.feature-highlight p {
    color: #cccccc;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}


/* Pricing Section 4D */
.pricing {
    padding: 100px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    display: none;
}

@keyframes pricingGridFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 30px) rotate(360deg); }
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e5e7eb;
    background: linear-gradient(135deg, #e5e7eb, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Cartes de pricing 4D */
.pricing-card-4d {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    border: 2px solid #333;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    overflow: hidden;
    height: 580px;
    display: flex;
    flex-direction: column;
}

/* Carte premium avec plus de hauteur */
.premium-card {
    height: 650px;
}

.premium-card .features-list-4d {
    max-height: 350px;
}

.pricing-card-4d::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.pricing-card-4d:hover::before {
    opacity: 0.3;
}

.pricing-card-4d:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    border-color: #dc2626;
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.2);
}

.featured-4d {
    border-color: #dc2626;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
}

.featured-4d:hover {
    transform: scale(1.05) translateY(-15px) rotateX(5deg) rotateY(5deg);
}

/* Hologrammes pour les cartes */
.card-hologram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    display: none;
}

.hologram-ring-small {
    position: absolute;
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 50%;
    animation: hologramSpinSmall 15s linear infinite;
}

.hologram-ring-small.ring-1 {
    width: 150px;
    height: 150px;
    top: -75px;
    left: -75px;
    animation-duration: 20s;
}

.hologram-ring-small.ring-2 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.hologram-ring-small.ring-3 {
    width: 250px;
    height: 250px;
    top: -125px;
    left: -125px;
    animation-duration: 30s;
}

@keyframes hologramSpinSmall {
    0% { transform: rotate(0deg) rotateX(45deg); }
    100% { transform: rotate(360deg) rotateX(45deg); }
}

/* Badge featured 4D */
.featured-badge-4d {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    position: relative;
    overflow: hidden;
}

.badge-energy {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 25px;
    filter: blur(8px);
    opacity: 0.7;
    z-index: -1;
    animation: badgeEnergyPulse 2s ease-in-out infinite;
}

@keyframes badgeEnergyPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Icônes de plan 4D */
.plan-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #333, #2a2a2a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #dc2626;
    margin: 0 auto 0.8rem;
    position: relative;
    transform-style: preserve-3d;
    animation: iconFloat4D 4s ease-in-out infinite;
}

/* Titres des cartes de licences */
.pricing-card-4d h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    text-align: center;
    font-weight: 600;
}

.featured-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    animation: iconFloat4DFeatured 3s ease-in-out infinite;
}

.premium-icon {
    background: linear-gradient(135deg, #444, #333);
    color: #dc2626;
}

@keyframes iconFloat4D {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-8px) rotateY(180deg); }
}

@keyframes iconFloat4DFeatured {
    0%, 100% { transform: translateY(0px) rotateY(0deg) scale(1); }
    50% { transform: translateY(-10px) rotateY(180deg) scale(1.1); }
}

.icon-glow-pricing {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.5;
    z-index: -1;
    animation: iconGlowPulse 2s ease-in-out infinite;
}

@keyframes iconGlowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Prix avec effets 4D */
.price-container {
    position: relative;
    margin: 0.5rem 0;
    display: inline-block;
}

.price {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.currency {
    font-size: 1.8rem;
    color: #dc2626;
    font-weight: bold;
    align-self: flex-start;
    margin-top: 0.2rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    animation: priceGlow 3s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(220, 38, 38, 0.3); }
    50% { text-shadow: 0 0 30px rgba(220, 38, 38, 0.6); }
}

.period {
    font-size: 1.1rem;
    color: #999999;
    font-weight: 500;
}

.price-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    animation: priceGlowPulse 4s ease-in-out infinite;
    z-index: 1;
}

.featured-glow {
    background: radial-gradient(ellipse, rgba(220, 38, 38, 0.4) 0%, transparent 70%);
}

.premium-glow {
    background: radial-gradient(ellipse, rgba(220, 38, 38, 0.3) 0%, transparent 70%);
}

@keyframes priceGlowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* Économies 4D */
.savings-4d {
    position: relative;
    margin: 0.5rem 0;
    display: inline-block;
}

/* Économies en or à côté du prix */
.savings-gold {
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
    opacity: 0.8;
}

.savings-gold small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
}

/* Badge Ultimate holographique */
.ultimate-badge {
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 8px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: holographicShift 3s ease-in-out infinite;
    position: relative;
}

.ultimate-badge::before {
    content: 'Ultimate';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #ffffff, #cccccc, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holographicGlow 2s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes holographicGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.05); }
}

.savings-text {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.savings-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4caf50, #45a049);
    border-radius: 20px;
    filter: blur(8px);
    opacity: 0.6;
    z-index: 1;
    animation: savingsGlowPulse 2s ease-in-out infinite;
}

@keyframes savingsGlowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Showcase des fonctionnalités 4D */
.features-showcase {
    margin: 2rem 0;
}

.feature-preview {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.featured-preview {
    border-color: #dc2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.1);
}

.premium-preview {
    border-color: #666;
}

.preview-screen {
    background: #0a0a0a;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
}

.screen-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-demo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 6px;
    color: #cccccc;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-demo.active {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(220, 38, 38, 0.1));
    color: #dc2626;
    transform: translateX(5px);
}

.feature-demo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #dc2626;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-demo.active::before {
    opacity: 1;
}

.feature-demo i {
    font-size: 1.1rem;
    color: #dc2626;
}

/* Liste des fonctionnalités 4D */
.features-list-4d {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
    max-height: 280px;
    padding-right: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
    align-content: start;
}

.features-list-4d::-webkit-scrollbar {
    width: 6px;
}

.features-list-4d::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.features-list-4d::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 3px;
}

.features-list-4d::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.features-list-4d li {
    padding: 0.3rem 0.4rem;
    color: #cccccc;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    min-height: 2.2rem;
}

.features-list-4d li:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    transform: scale(1.02);
}

.features-list-4d i {
    color: #4caf50;
    font-size: 0.8rem;
    width: 12px;
    text-align: center;
    animation: checkPulse 2s ease-in-out infinite;
    flex-shrink: 0;
    margin-top: 1px;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Boutons 4D */
.btn-4d {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    margin-top: 1rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-4d:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.4);
}

.featured-btn {
    background: linear-gradient(135deg, #dc2626, #ff4444);
    animation: featuredBtnPulse 3s ease-in-out infinite;
}

@keyframes featuredBtnPulse {
    0%, 100% { box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 15px 35px rgba(220, 38, 38, 0.5); }
}

.premium-btn {
    background: linear-gradient(135deg, #666, #444);
    color: #dc2626;
}

.premium-btn:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle-4d {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleMove4D 3s ease-in-out infinite;
}

.particle-4d:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-4d:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

.particle-4d:nth-child(3) {
    bottom: 30%;
    left: 60%;
    animation-delay: 2s;
}

.particle-4d:nth-child(4) {
    top: 40%;
    left: 80%;
    animation-delay: 1.5s;
}

@keyframes particleMove4D {
    0%, 100% { transform: translate(0, 0) scale(0.5); opacity: 0.3; }
    50% { transform: translate(10px, -10px) scale(1.2); opacity: 1; }
}

.btn-glow-4d {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50px;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-4d:hover .btn-glow-4d {
    opacity: 0.7;
}

/* Hex Comparator Section */
.hex-comparator-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    position: relative;
    overflow: hidden;
}

.hex-comparator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hex-comparator-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.hex-comparator-header h2 {
    font-size: 3rem;
    background: linear-gradient(45deg, #ff0000, #ff6666, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

.hex-comparator-header p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hex-comparator-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.hex-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hex-feature {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hex-feature:hover {
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.hex-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.hex-feature h3 {
    color: #ff6666;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.hex-feature p {
    color: #cccccc;
    line-height: 1.6;
}

.hex-editor-container {
    background: #0d1117;
    border: 2px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', monospace;
}

.hex-editor-header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hex-editor-tabs {
    display: flex;
    gap: 0.5rem;
}

.hex-tab {
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b949e;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hex-tab.active {
    background: #0d1117;
    color: #f0f6fc;
    border-color: #ff0000;
}

.hex-tab i {
    font-size: 0.8rem;
}

.hex-editor-tools {
    display: flex;
    gap: 0.5rem;
}

.hex-tool {
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    color: #8b949e;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hex-tool.active,
.hex-tool:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

.hex-editor-content {
    display: flex;
    background: #0d1117;
    font-size: 0.85rem;
    line-height: 1.4;
}

.hex-address-column {
    background: #161b22;
    border-right: 1px solid #30363d;
    padding: 1rem 0.8rem;
    color: #6e7681;
    min-width: 80px;
}

.hex-address {
    margin-bottom: 0.2rem;
    font-weight: bold;
}

.hex-data-column {
    flex: 1;
    padding: 1rem;
    overflow-x: auto;
}

.hex-line {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.2rem;
    flex-wrap: wrap;
}

.hex-byte {
    color: #f0f6fc;
    background: rgba(33, 38, 45, 0.5);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 20px;
    text-align: center;
}

.hex-byte:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hex-byte.modified {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    animation: hexPulse 2s infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

@keyframes hexPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hex-ascii-column {
    background: #161b22;
    border-left: 1px solid #30363d;
    padding: 1rem 0.8rem;
    color: #8b949e;
    min-width: 150px;
    font-size: 0.8rem;
}

.hex-ascii {
    margin-bottom: 0.2rem;
    font-family: 'Courier New', monospace;
}

.hex-comparison-stats {
    background: #161b22;
    border-top: 1px solid #30363d;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.hex-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.hex-stat-label {
    color: #8b949e;
    font-size: 0.8rem;
}

.hex-stat-value {
    color: #ff0000;
    font-weight: bold;
    font-size: 1.1rem;
}

.hex-comparison-legend {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    font-size: 0.9rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-color.modified {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.legend-color.original {
    background: rgba(33, 38, 45, 0.8);
    border: 1px solid #30363d;
}

/* Responsive */
@media (max-width: 1024px) {
    .hex-comparator-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hex-comparator-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hex-editor-content {
        flex-direction: column;
    }
    
    .hex-address-column,
    .hex-ascii-column {
        display: none;
    }
    
    .hex-comparison-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hex-comparator-header h2 {
        font-size: 2rem;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #222222;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #cccccc;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #2d2d2d;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00bcd4;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999999;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00bcd4;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999999;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #2d2d2d;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #999999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ffffff;
}

.modal h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal h3 {
    color: #00bcd4;
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

#orderDetails {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #333;
}

#orderForm input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
}

#orderForm input:focus {
    outline: none;
    border-color: #00bcd4;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-methods label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.payment-methods label:hover {
    border-color: #00bcd4;
}

.payment-methods input[type="radio"] {
    margin: 0;
    width: auto;
}

.payment-methods i {
    font-size: 1.2rem;
    color: #00bcd4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .app-window {
        width: 100%;
        max-width: 400px;
        height: 280px;
        transform: none;
        margin-top: 2rem;
    }
    
    .server-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .control-group {
        min-width: auto;
        width: 100%;
    }
    
    .filter-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-select {
        flex: 1;
    }
    
    .file-grid {
        grid-template-columns: 1fr;
    }
    
    .file-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .file-meta {
        justify-content: center;
    }
    
    .server-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .server-features {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Header mobile */
    .header {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1000;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: #ffffff;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hero mobile */
    .hero {
        padding: 4rem 1rem 2rem;
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .feature-highlight-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* App preview mobile */
    .app-preview-3d {
        width: 100%;
        max-width: 350px;
        margin: 2rem auto;
    }
    
    .app-window-3d {
        transform: rotateX(0deg) rotateY(0deg);
    }
    
    /* OFF Systems mobile */
    .systems-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .system-unit {
        height: 160px;
        padding: 0.8rem;
    }
    
    .system-name {
        font-size: 1rem;
    }
    
    .system-description {
        font-size: 0.7rem;
    }
    
    /* Demo section mobile */
    .demo-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-item {
        padding: 1.5rem;
    }
    
    .trading-chart {
        width: 100%;
        max-width: 280px;
        height: 200px;
        padding: 15px;
    }
    
    .chart-bars {
        gap: 1px;
    }
    
    .bar {
        width: 15px;
    }
    
    /* Database visualization mobile */
    .database-visualization {
        padding: 1rem;
    }
    
    .database-core {
        width: 200px;
        height: 200px;
    }
    
    /* Server Files mobile */
    .server-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .file-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .file-item {
        padding: 1rem;
    }
    
    /* Contact mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    /* Modal mobile */
    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
        max-width: 400px;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .payment-method {
        width: 100%;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.8rem;
    }
    
    /* Touch optimizations */
    .btn, .nav-menu a, .file-item, .stage-option {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Reduce animations on mobile for performance */
    .particles-container {
        display: none;
    }
    
    .floating-elements {
        display: none;
    }
    
    /* Improve text readability */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item,
.pricing-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ef4444;
    border-radius: 4px;
}

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

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Disable hover effects on mobile */
    .btn:hover,
    .feature-card-3d:hover,
    .file-item:hover,
    .pricing-card:hover {
        transform: none;
    }
    
    /* Optimize animations for mobile */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* Improve touch targets */
    .hamburger {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Better mobile typography */
    .hero h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
    }
    
    /* Mobile-first grid layouts */
    .systems-flow {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Better mobile forms */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Tablet optimizations */
@media (min-width: 481px) and (max-width: 768px) {
    .systems-flow {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .server-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large mobile optimizations */
@media (min-width: 376px) and (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .trading-chart {
        max-width: 320px;
    }
    
    .systems-flow {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small mobile optimizations */
@media (max-width: 375px) {
    .hero {
        padding: 3rem 0.5rem 2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .trading-chart {
        max-width: 260px;
        height: 180px;
    }
    
    .system-unit {
        height: 140px;
        padding: 0.6rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
}

/* CORRECTIONS MOBILE URGENTES */
@media screen and (max-width: 768px) {
    /* Force mobile spacing */
    * {
        box-sizing: border-box !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Header fixe */
    .header {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: rgba(0, 0, 0, 0.95) !important;
        padding: 0.5rem 0 !important;
    }
    
    /* Hero avec plus d'espace */
    .hero {
        padding: 6rem 1rem 3rem !important;
        margin-top: 0 !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem !important;
    }
    
    /* Features en colonne */
    .hero-features {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin: 2rem 0 !important;
    }
    
    .feature-highlight-item {
        padding: 1rem !important;
        font-size: 0.8rem !important;
        text-align: center !important;
    }
    
    /* Boutons empilés */
    .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .btn {
        width: 90% !important;
        max-width: 280px !important;
        padding: 1rem !important;
        font-size: 0.9rem !important;
    }
    
    /* App preview réduit */
    .app-preview-3d {
        width: 90% !important;
        max-width: 300px !important;
        margin: 2rem auto !important;
        transform: scale(0.8) !important;
    }
    
    /* OFF Systems en colonne */
    .systems-deactivation {
        padding: 3rem 1rem !important;
    }
    
    .systems-flow {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    
    .system-unit {
        height: auto !important;
        min-height: 160px !important;
        padding: 1.5rem 1rem !important;
        text-align: center !important;
    }
    
    .system-name {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .system-description {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Demo section */
    .demo-section {
        padding: 3rem 1rem !important;
    }
    
    .demo-showcase {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .demo-item {
        padding: 1.5rem 1rem !important;
        text-align: center !important;
    }
    
    /* Trading chart mobile */
    .trading-chart {
        width: 100% !important;
        max-width: 280px !important;
        height: 180px !important;
        margin: 0 auto !important;
    }
    
    /* Database */
    .database-core {
        width: 180px !important;
        height: 180px !important;
        margin: 0 auto !important;
    }
    
    /* Server Files */
    .server-files {
        padding: 3rem 1rem !important;
    }
    
    .server-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .stat-item {
        padding: 1.5rem 1rem !important;
        text-align: center !important;
    }
    
    .file-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .file-item {
        padding: 1rem !important;
    }
    
    /* Contact */
    .contact {
        padding: 3rem 1rem !important;
    }
    
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 1rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2rem !important;
    }
    
    /* Désactiver animations lourdes */
    .particles-container,
    .floating-elements,
    .hologram-container {
        display: none !important;
    }
    
    /* Améliorer la lisibilité */
    p, span, div {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.8rem !important;
    }
}
