/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-orange: #00BFFF;
    --primary-blue: #00BFFF;
    --dark-bg: #1a1a1a;
    --medium-bg: #2d2d2d;
    --text-light: #e0e0e0;
    --text-white: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    background: linear-gradient(90deg, var(--primary-blue) 0%, #00BFFF 100%);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00BFFF;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu .nav-link {
    padding: 0.8rem 1.5rem;
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-menu .nav-link:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-blue);
}

.dropdown-menu .nav-link.active {
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

/* Grille subtile harmonisée avec le cube */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 170, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 170, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
    animation: gridPulse 8s ease-in-out infinite;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 100, 200, 0.05) 30%, 
        rgba(0, 0, 0, 0.8) 70%, 
        #000000 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 50, 100, 0.3) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
    z-index: 2;
}

/* Floating 3D Elements - Harmonisés avec le cube */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.3) 0%, rgba(0, 170, 255, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0.6;
    animation: float3D 12s ease-in-out infinite;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
}

.hero::after {
    content: '';
    position: absolute;
    top: 70%;
    right: 20%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 100, 200, 0.4) 0%, rgba(0, 100, 200, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0.5;
    animation: float3D 10s ease-in-out infinite reverse;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0, 100, 200, 0.3);
}

/* Particle System */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.4) 0%, rgba(0, 170, 255, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s linear infinite;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.2);
}

.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { width: 7px; height: 7px; left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { width: 3px; height: 3px; left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { width: 5px; height: 5px; left: 80%; animation-delay: 14s; }
.particle:nth-child(9) { width: 4px; height: 4px; left: 90%; animation-delay: 16s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateZ(0px) rotateX(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) translateZ(200px) rotateX(360deg);
        opacity: 0;
    }
}

@keyframes float3D {
    0%, 100% { 
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
    }
    25% { 
        transform: translate3d(20px, -30px, 50px) rotateX(90deg) rotateY(45deg);
    }
    50% { 
        transform: translate3d(-10px, -60px, 100px) rotateX(180deg) rotateY(90deg);
    }
    75% { 
        transform: translate3d(-30px, -20px, 50px) rotateX(270deg) rotateY(135deg);
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding-top: 120px;
    transform-style: preserve-3d;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-20px) rotateX(2deg); }
}

.hero-logo {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem auto;
}

/* Cube central - SUPPRIMÉ POUR ÉVITER LES CONFLITS AVEC LE CUBE 3D */

/* Roues binaires concentriques */
.binary-wheel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 191, 255, 0.3);
    animation: wheelRotate 6s linear infinite;
    overflow: hidden;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.05) 0%, transparent 70%);
}

/* Roue 1 - la plus petite */
.binary-wheel:nth-child(1) {
    width: 80px;
    height: 80px;
    z-index: 10;
}

/* Roue 2 */
.binary-wheel:nth-child(2) {
    width: 100px;
    height: 100px;
    z-index: 9;
}

/* Roue 3 */
.binary-wheel:nth-child(3) {
    width: 120px;
    height: 120px;
    z-index: 8;
}

/* Roue 4 */
.binary-wheel:nth-child(4) {
    width: 140px;
    height: 140px;
    z-index: 7;
}

/* Roue 5 */
.binary-wheel:nth-child(5) {
    width: 160px;
    height: 160px;
    z-index: 6;
}

/* Roue 6 */
.binary-wheel:nth-child(6) {
    width: 180px;
    height: 180px;
    z-index: 5;
}

/* Roue 7 - la plus grande */
.binary-wheel:nth-child(7) {
    width: 200px;
    height: 200px;
    z-index: 4;
}

/* Chiffres binaires sur le périmètre des cercles */
.binary-object {
    position: absolute;
    width: 8px;
    height: 8px;
    color: rgba(0, 191, 255, 0.9);
    font-family: 'Courier New', monospace;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    line-height: 8px;
    text-shadow: 0 0 6px rgba(0, 191, 255, 0.8);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Positionnement des chiffres sur le périmètre de chaque roue */
.binary-wheel:nth-child(1) .binary-object {
    animation: orbit1 8s linear infinite;
}

/* Délais optimisés pour le premier disque (31 chiffres) */
.binary-wheel:nth-child(1) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(1) .binary-object:nth-child(2) { animation-delay: 0.26s; }
.binary-wheel:nth-child(1) .binary-object:nth-child(3) { animation-delay: 0.52s; }
.binary-wheel:nth-child(1) .binary-object:nth-child(4) { animation-delay: 0.78s; }
.binary-wheel:nth-child(1) .binary-object:nth-child(5) { animation-delay: 1.04s; }
.binary-wheel:nth-child(1) .binary-object:nth-child(6) { animation-delay: 1.30s; }
.binary-wheel:nth-child(1) .binary-object:nth-child(7) { animation-delay: 1.56s; }
.binary-wheel:nth-child(1) .binary-object:nth-child(8) { animation-delay: 1.82s; }

.binary-wheel:nth-child(2) .binary-object {
    animation: orbit2 10s linear infinite;
}

/* Délais optimisés pour le deuxième disque (39 chiffres) */
.binary-wheel:nth-child(2) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(2) .binary-object:nth-child(2) { animation-delay: 0.26s; }
.binary-wheel:nth-child(2) .binary-object:nth-child(3) { animation-delay: 0.52s; }
.binary-wheel:nth-child(2) .binary-object:nth-child(4) { animation-delay: 0.78s; }
.binary-wheel:nth-child(2) .binary-object:nth-child(5) { animation-delay: 1.04s; }
.binary-wheel:nth-child(2) .binary-object:nth-child(6) { animation-delay: 1.30s; }
.binary-wheel:nth-child(2) .binary-object:nth-child(7) { animation-delay: 1.56s; }
.binary-wheel:nth-child(2) .binary-object:nth-child(8) { animation-delay: 1.82s; }

.binary-wheel:nth-child(3) .binary-object {
    animation: orbit3 12s linear infinite;
}

.binary-wheel:nth-child(3) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(2) { animation-delay: 0.13s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(3) { animation-delay: 0.26s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(4) { animation-delay: 0.39s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(5) { animation-delay: 0.52s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(6) { animation-delay: 0.65s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(7) { animation-delay: 0.78s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(8) { animation-delay: 0.91s; }

.binary-wheel:nth-child(4) .binary-object {
    animation: orbit4 14s linear infinite;
}

.binary-wheel:nth-child(4) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(2) { animation-delay: 0.13s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(3) { animation-delay: 0.26s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(4) { animation-delay: 0.39s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(5) { animation-delay: 0.52s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(6) { animation-delay: 0.65s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(7) { animation-delay: 0.78s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(8) { animation-delay: 0.91s; }

.binary-wheel:nth-child(5) .binary-object {
    animation: orbit5 16s linear infinite;
}

.binary-wheel:nth-child(5) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(2) { animation-delay: 0.13s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(3) { animation-delay: 0.26s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(4) { animation-delay: 0.39s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(5) { animation-delay: 0.52s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(6) { animation-delay: 0.65s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(7) { animation-delay: 0.78s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(8) { animation-delay: 0.91s; }

.binary-wheel:nth-child(6) .binary-object {
    animation: orbit6 18s linear infinite;
}

.binary-wheel:nth-child(6) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(2) { animation-delay: 0.13s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(3) { animation-delay: 0.26s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(4) { animation-delay: 0.39s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(5) { animation-delay: 0.52s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(6) { animation-delay: 0.65s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(7) { animation-delay: 0.78s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(8) { animation-delay: 0.91s; }

.binary-wheel:nth-child(7) .binary-object {
    animation: orbit7 20s linear infinite;
}

.binary-wheel:nth-child(7) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(2) { animation-delay: 0.13s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(3) { animation-delay: 0.26s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(4) { animation-delay: 0.39s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(5) { animation-delay: 0.52s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(6) { animation-delay: 0.65s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(7) { animation-delay: 0.78s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(8) { animation-delay: 0.91s; }

.binary-wheel:nth-child(2) .binary-object:nth-child(1) { 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    animation: binaryWalk2 5s linear infinite;
    animation-delay: 0s;
}
.binary-wheel:nth-child(2) .binary-object:nth-child(2) { 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    animation: binaryWalk2 5s linear infinite;
    animation-delay: 0.625s;
}
.binary-wheel:nth-child(2) .binary-object:nth-child(3) { 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    animation: binaryWalk2 5s linear infinite;
    animation-delay: 1.25s;
}
.binary-wheel:nth-child(2) .binary-object:nth-child(4) { 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    animation: binaryWalk2 5s linear infinite;
    animation-delay: 1.875s;
}
.binary-wheel:nth-child(2) .binary-object:nth-child(5) { 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    animation: binaryWalk2 5s linear infinite;
    animation-delay: 2.5s;
}
.binary-wheel:nth-child(2) .binary-object:nth-child(6) { 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    animation: binaryWalk2 5s linear infinite;
    animation-delay: 3.125s;
}
.binary-wheel:nth-child(2) .binary-object:nth-child(7) { 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    animation: binaryWalk2 5s linear infinite;
    animation-delay: 3.75s;
}
.binary-wheel:nth-child(2) .binary-object:nth-child(8) { 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    animation: binaryWalk2 5s linear infinite;
    animation-delay: 4.375s;
}

/* Animations simplifiées pour toutes les roues */
.binary-wheel:nth-child(3) .binary-object { animation: binaryWalk3 6s linear infinite; }
.binary-wheel:nth-child(4) .binary-object { animation: binaryWalk4 7s linear infinite; }
.binary-wheel:nth-child(5) .binary-object { animation: binaryWalk5 8s linear infinite; }
.binary-wheel:nth-child(6) .binary-object { animation: binaryWalk6 9s linear infinite; }
.binary-wheel:nth-child(7) .binary-object { animation: binaryWalk7 10s linear infinite; }

/* Délais échelonnés pour les roues 3-7 */
.binary-wheel:nth-child(3) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(2) { animation-delay: 0.75s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(3) { animation-delay: 1.5s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(4) { animation-delay: 2.25s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(5) { animation-delay: 3s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(6) { animation-delay: 3.75s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(7) { animation-delay: 4.5s; }
.binary-wheel:nth-child(3) .binary-object:nth-child(8) { animation-delay: 5.25s; }

.binary-wheel:nth-child(4) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(2) { animation-delay: 0.875s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(3) { animation-delay: 1.75s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(4) { animation-delay: 2.625s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(5) { animation-delay: 3.5s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(6) { animation-delay: 4.375s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(7) { animation-delay: 5.25s; }
.binary-wheel:nth-child(4) .binary-object:nth-child(8) { animation-delay: 6.125s; }

.binary-wheel:nth-child(5) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(2) { animation-delay: 1s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(3) { animation-delay: 2s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(4) { animation-delay: 3s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(5) { animation-delay: 4s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(6) { animation-delay: 5s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(7) { animation-delay: 6s; }
.binary-wheel:nth-child(5) .binary-object:nth-child(8) { animation-delay: 7s; }

.binary-wheel:nth-child(6) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(2) { animation-delay: 1.125s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(3) { animation-delay: 2.25s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(4) { animation-delay: 3.375s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(5) { animation-delay: 4.5s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(6) { animation-delay: 5.625s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(7) { animation-delay: 6.75s; }
.binary-wheel:nth-child(6) .binary-object:nth-child(8) { animation-delay: 7.875s; }

.binary-wheel:nth-child(7) .binary-object:nth-child(1) { animation-delay: 0s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(2) { animation-delay: 1.25s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(3) { animation-delay: 2.5s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(4) { animation-delay: 3.75s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(5) { animation-delay: 5s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(6) { animation-delay: 6.25s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(7) { animation-delay: 7.5s; }
.binary-wheel:nth-child(7) .binary-object:nth-child(8) { animation-delay: 8.75s; }

.logo-slogan {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.8);
    animation: sloganGlow 3s ease-in-out infinite;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 1px;
}

.hero-logo img::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary-blue), #00BFFF);
    border-radius: 50%;
    opacity: 0.1;
    animation: logoGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes cubeRotate {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    25% { transform: rotateX(15deg) rotateY(90deg) rotateZ(5deg); }
    50% { transform: rotateX(30deg) rotateY(180deg) rotateZ(0deg); }
    75% { transform: rotateX(15deg) rotateY(270deg) rotateZ(-5deg); }
    100% { transform: rotateX(0deg) rotateY(360deg) rotateZ(0deg); }
}

@keyframes cubeFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-15px) rotateX(10deg); }
}

@keyframes cubeShimmer {
    0%, 100% { opacity: 0.3; transform: translateX(-100%); }
    50% { opacity: 0.8; transform: translateX(100%); }
}

@keyframes wheelRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes orbit1 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(40px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(40px) rotate(-360deg); }
}

@keyframes orbit2 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes orbit3 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(60px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(60px) rotate(-360deg); }
}

@keyframes orbit4 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(70px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(70px) rotate(-360deg); }
}

@keyframes orbit5 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(80px) rotate(-360deg); }
}

@keyframes orbit6 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(90px) rotate(-360deg); }
}

@keyframes orbit7 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(-360deg); }
}

@keyframes binaryWalk2 {
    0% { transform: translate(-50%, -50%) translateX(25px) rotate(0deg); }
    25% { transform: translate(-50%, -50%) translateX(0px) translateY(-25px) rotate(90deg); }
    50% { transform: translate(-50%, -50%) translateX(-25px) translateY(0px) rotate(180deg); }
    75% { transform: translate(-50%, -50%) translateX(0px) translateY(25px) rotate(270deg); }
    100% { transform: translate(-50%, -50%) translateX(25px) translateY(0px) rotate(360deg); }
}

@keyframes binaryWalk3 {
    0% { transform: translate(-50%, -50%) translateX(30px) rotate(0deg); }
    25% { transform: translate(-50%, -50%) translateX(0px) translateY(-30px) rotate(90deg); }
    50% { transform: translate(-50%, -50%) translateX(-30px) translateY(0px) rotate(180deg); }
    75% { transform: translate(-50%, -50%) translateX(0px) translateY(30px) rotate(270deg); }
    100% { transform: translate(-50%, -50%) translateX(30px) translateY(0px) rotate(360deg); }
}

@keyframes binaryWalk4 {
    0% { transform: translate(-50%, -50%) translateX(35px) rotate(0deg); }
    25% { transform: translate(-50%, -50%) translateX(0px) translateY(-35px) rotate(90deg); }
    50% { transform: translate(-50%, -50%) translateX(-35px) translateY(0px) rotate(180deg); }
    75% { transform: translate(-50%, -50%) translateX(0px) translateY(35px) rotate(270deg); }
    100% { transform: translate(-50%, -50%) translateX(35px) translateY(0px) rotate(360deg); }
}

@keyframes binaryWalk5 {
    0% { transform: translate(-50%, -50%) translateX(40px) rotate(0deg); }
    25% { transform: translate(-50%, -50%) translateX(0px) translateY(-40px) rotate(90deg); }
    50% { transform: translate(-50%, -50%) translateX(-40px) translateY(0px) rotate(180deg); }
    75% { transform: translate(-50%, -50%) translateX(0px) translateY(40px) rotate(270deg); }
    100% { transform: translate(-50%, -50%) translateX(40px) translateY(0px) rotate(360deg); }
}

@keyframes binaryWalk6 {
    0% { transform: translate(-50%, -50%) translateX(45px) rotate(0deg); }
    25% { transform: translate(-50%, -50%) translateX(0px) translateY(-45px) rotate(90deg); }
    50% { transform: translate(-50%, -50%) translateX(-45px) translateY(0px) rotate(180deg); }
    75% { transform: translate(-50%, -50%) translateX(0px) translateY(45px) rotate(270deg); }
    100% { transform: translate(-50%, -50%) translateX(45px) translateY(0px) rotate(360deg); }
}

@keyframes binaryWalk7 {
    0% { transform: translate(-50%, -50%) translateX(50px) rotate(0deg); }
    25% { transform: translate(-50%, -50%) translateX(0px) translateY(-50px) rotate(90deg); }
    50% { transform: translate(-50%, -50%) translateX(-50px) translateY(0px) rotate(180deg); }
    75% { transform: translate(-50%, -50%) translateX(0px) translateY(50px) rotate(270deg); }
    100% { transform: translate(-50%, -50%) translateX(50px) translateY(0px) rotate(360deg); }
}

@keyframes processingFlash {
    0%, 90% { opacity: 0; transform: scale(0.8); }
    95% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.8); }
}

@keyframes cubePulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

@keyframes sloganGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 191, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 191, 255, 0.8), 0 0 30px rgba(0, 191, 255, 0.4); }
}

@keyframes logoGlow {
    0%, 100% { 
        opacity: 0.1;
        transform: scale(1) rotateZ(0deg);
    }
    50% { 
        opacity: 0.3;
        transform: scale(1.2) rotateZ(180deg);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform-style: preserve-3d;
    animation: titleGlow 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

@keyframes titleGlow {
    0%, 100% { 
        transform: translateZ(0px) rotateX(0deg);
        filter: brightness(1);
    }
    50% { 
        transform: translateZ(20px) rotateX(2deg);
        filter: brightness(1.1);
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #00BFFF 100%);
    color: #ffffff;
    transform: translateY(-5px) rotateX(10deg) scale(1.05);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4), 
                0 0 20px rgba(0, 191, 255, 0.3);
}

.btn-play {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-play:hover {
    background: #ffffff;
    color: #1a1a1a;
    transform: scale(1.1);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
    perspective: 2000px;
    transform-style: preserve-3d;
}

/* Floating 3D Elements for Services */
.services::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.15;
    animation: float3D 12s ease-in-out infinite;
    z-index: 1;
    filter: blur(2px);
}

.services::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 8%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    border-radius: 40px;
    opacity: 0.12;
    animation: float3D 9s ease-in-out infinite reverse;
    z-index: 1;
    filter: blur(2px);
}

/* Additional 3D Elements */
.services-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) translateZ(-100px);
    animation: rotate3D 15s linear infinite;
    z-index: 0;
}

.services-grid::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 20%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.08;
    animation: float3D 10s ease-in-out infinite;
    z-index: 0;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    transform-style: preserve-3d;
    perspective: 1500px;
}

.service-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: cardFloat 8s ease-in-out infinite;
    opacity: 0;
    transform: translateY(50px) rotateX(20deg);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }
.service-card:nth-child(4) { animation-delay: 0.7s; }
.service-card:nth-child(5) { animation-delay: 0.9s; }
.service-card:nth-child(6) { animation-delay: 1.1s; }

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

@keyframes cardFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    25% { 
        transform: translateY(-10px) rotateX(2deg) rotateY(1deg);
    }
    50% { 
        transform: translateY(-5px) rotateX(0deg) rotateY(0deg);
    }
    75% { 
        transform: translateY(-15px) rotateX(-1deg) rotateY(-1deg);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: rotate3D 6s linear infinite;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) translateZ(20px);
    transition: all 0.6s ease;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-30px) rotateX(15deg) rotateY(10deg) scale(1.08);
    box-shadow: 0 40px 80px rgba(0, 191, 255, 0.6), 
                0 0 60px rgba(0, 191, 255, 0.4),
                0 0 100px rgba(255, 255, 255, 0.2);
    animation-play-state: paused;
    background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 50%, #2a2a2a 100%);
}

.service-card:hover::before {
    opacity: 1;
    animation-duration: 2s;
}

.service-card:hover::after {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulse3D 1s ease-in-out infinite;
}

@keyframes pulse3D {
    0%, 100% { 
        transform: translate(-50%, -50%) translateZ(20px) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) translateZ(40px) scale(1.2);
        opacity: 0.6;
    }
}

.service-icon {
    color: var(--primary-blue);
    margin: 0 auto 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 3;
    animation: iconFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.5));
    font-size: 4rem;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, rgba(0, 191, 255, 0.2) 100%);
    border-radius: 20px;
    border: 2px solid rgba(0, 191, 255, 0.3);
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg);
    }
    50% { 
        transform: translateY(-2px) rotateX(2deg);
    }
}

@keyframes iconSpin {
    0% {
        transform: scale(1.2) rotateY(0deg);
    }
    50% {
        transform: scale(1.3) rotateY(180deg);
    }
    100% {
        transform: scale(1.2) rotateY(360deg);
    }
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) rotateX(20deg) scale(1.3) translateZ(30px);
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.8)) 
            drop-shadow(0 0 40px rgba(0, 191, 255, 0.6))
            drop-shadow(0 0 60px rgba(0, 191, 255, 0.4));
    animation: iconSpin 4s ease-in-out infinite;
    color: var(--primary-blue);
}

.service-card:hover .service-icon::before {
    opacity: 0.8;
    animation: logoGlow 3s ease-in-out infinite;
}

.service-card:hover .service-icon::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes iconSpin {
    0% { transform: rotateY(0deg) rotateX(0deg) scale(1.3) translateZ(30px); }
    25% { transform: rotateY(90deg) rotateX(10deg) scale(1.4) translateZ(40px); }
    50% { transform: rotateY(180deg) rotateX(0deg) scale(1.3) translateZ(30px); }
    75% { transform: rotateY(270deg) rotateX(-10deg) scale(1.4) translateZ(40px); }
    100% { transform: rotateY(360deg) rotateX(0deg) scale(1.3) translateZ(30px); }
}

/* 3D Logo Effects */
.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary-blue), #00BFFF, var(--primary-blue));
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
    animation: logoGlow 6s ease-in-out infinite;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -2;
    animation: logoPulse 8s ease-in-out infinite;
}

/* 3D Logo Animations */
@keyframes logoGlow {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes logoPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.6s ease;
}

.service-card:hover .service-title {
    transform: translateZ(20px) scale(1.05);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.service-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 0.95;
    line-height: 1.7;
    position: relative;
    z-index: 3;
    transition: all 0.6s ease;
}

.service-card:hover .service-description {
    transform: translateZ(15px);
    opacity: 1;
}

.btn-service {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    position: relative;
    z-index: 3;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-service:hover::before {
    left: 100%;
}

.btn-service:hover {
    background: #ffffff;
    color: var(--primary-blue);
    transform: translateY(-5px) translateZ(20px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

/* Floating 3D Elements for About */
.about::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.08;
    animation: float3D 11s ease-in-out infinite;
    z-index: 1;
    filter: blur(1px);
}

.about::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 12%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    border-radius: 25px;
    opacity: 0.1;
    animation: float3D 7s ease-in-out infinite reverse;
    z-index: 1;
    filter: blur(1px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    line-height: 1.7;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #00BFFF;
    color: var(--primary-blue);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #00BFFF 100%);
    color: #ffffff;
    transform: translateY(-2px);
    border-color: transparent;
}

.team-img {
    width: 60%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* 3D Effects for all CTA sections */
.cta::before,
.final-cta::before,
.services-cta::before,
.couteau-cta::before,
.software-cta::before,
.network-cta::before,
.mobile-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-blue), transparent, #00BFFF, transparent);
    animation: rotate3D 8s linear infinite;
    opacity: 0.1;
    z-index: 0;
}

.cta::after,
.final-cta::after,
.services-cta::after,
.couteau-cta::after,
.software-cta::after,
.network-cta::after,
.mobile-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-blue), #00BFFF);
    border-radius: 50%;
    transform: translate(-50%, -50%) translateZ(50px);
    animation: float3D 6s ease-in-out infinite;
    opacity: 0.2;
    z-index: 0;
}

.cta-title,
.final-cta-title,
.services-cta .cta-title,
.couteau-cta .cta-title,
.software-cta .cta-title,
.network-cta .cta-title,
.mobile-cta .cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: #2d2d2d;
}

.products-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.products-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.products-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.products-features {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.check-icon {
    color: #00BFFF;
    flex-shrink: 0;
    margin-top: 2px;
}

.products-conclusion {
    font-size: 1rem;
    color: #e0e0e0;
    font-style: italic;
}

.product-img {
    width: 70%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block;
}

/* Final CTA */
.final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.final-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.btn-cta {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: var(--primary-blue);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
}

.btn-cta:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

/* About Page Styles */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 100, 200, 0.05) 30%, 
        rgba(0, 0, 0, 0.8) 70%, 
        #000000 100%);
    z-index: 1;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.6) 100%);
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding-top: 100px;
}

.about-logo-img {
    height: 240px;
    width: auto;
    margin-bottom: 2rem;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
}

.about-hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-play-large {
    background: #00BFFF;
    border: none;
    color: #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.btn-play-large:hover {
    background: #ffffff;
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* Vision Section */
.vision-section {
    padding: 6rem 0;
    background: #2d2d2d;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-badge {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.vision-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.3;
}

.vision-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.vision-description {
    color: #e0e0e0;
    line-height: 1.7;
}

.vision-description p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.vision-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


/* Engagement Section */
.engagement-section {
    padding: 6rem 0;
    background: #1a1a1a;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.engagement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/color.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.engagement-section .container {
    position: relative;
    z-index: 2;
}

.engagement-badge {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.engagement-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
}

/* Expertise Section */
.expertise-section {
    padding: 6rem 0;
    background: #2d2d2d;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.3;
}

.expertise-description {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.expertise-description p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn-cta-large {
    background: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
}

.btn-cta-large:hover {
    background: transparent;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.expertise-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Services Page Styles */
.services-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.services-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 100, 200, 0.05) 30%, 
        rgba(0, 0, 0, 0.8) 70%, 
        #000000 100%);
    z-index: 1;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.6) 100%);
    z-index: 2;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    padding-top: 100px;
}

.services-logo-img {
    height: 200px;
    width: auto;
    margin-bottom: 2rem;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
    background: #2d2d2d;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-badge {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.section-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
}

/* Services Grid */
.services-grid-section {
    padding: 5rem 0;
    background: #1a1a1a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-card-large {
    background: #2d2d2d;
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.service-card-large:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.service-icon-large {
    color: var(--primary-blue);
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-service-detail {
    background: transparent;
    border: 2px solid #00BFFF;
    color: var(--primary-blue);
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
}

.btn-service-detail:hover {
    background: #00BFFF;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Products Showcase */
.products-showcase {
    padding: 6rem 0;
    background: #2d2d2d;
}

.products-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.products-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.products-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    line-height: 1.7;
}

.products-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 0.95rem;
}

.check-icon {
    color: #00BFFF;
    flex-shrink: 0;
}

.products-images {
    width: 100%;
}

.product-showcase {
    position: relative;
}

.product-main-image {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-main-img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary-blue);
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.thumbnail:hover .thumbnail-img {
    transform: scale(1.1);
}

/* Services CTA */
.services-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-cta-primary {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: var(--primary-blue);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
}

.btn-cta-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
}

.btn-cta-secondary:hover {
    background: #ffffff;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Contact Page Styles */
.contact-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 100, 200, 0.05) 30%, 
        rgba(0, 0, 0, 0.8) 70%, 
        #000000 100%);
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.6) 100%);
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    padding-top: 100px;
}

.contact-logo-img {
    height: 200px;
    width: auto;
    margin-bottom: 2rem;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-stat {
    text-align: center;
}

.contact-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-stat-label {
    font-size: 0.9rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #2d2d2d;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.3;
}

.contact-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-text p {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    background: #2d2d2d;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    border: 2px solid var(--primary-blue);
    color: #ffffff;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #00BFFF, var(--primary-blue));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Software Development Page Styles */
.software-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

/* Couteau Suisse Page Styles */
.couteau-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.couteau-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 100, 200, 0.05) 30%, 
        rgba(0, 0, 0, 0.8) 70%, 
        #000000 100%);
    z-index: 1;
}

.couteau-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.couteau-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding-top: 100px;
}

.couteau-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.solutions-overview {
    padding: 80px 0;
    background: #1a1a1a;
    color: #ffffff;
}

.solutions-grid-section {
    padding: 80px 0;
    background: #2d2d2d;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.solution-card {
    background: #3a3a3a;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #4a4a4a;
    color: #ffffff;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solution-image {
    text-align: center;
    margin-bottom: 30px;
}

.solution-img {
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-img {
    max-width: 120px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
}

.solution-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.solution-features {
    list-style: none;
    padding: 0;
}

.solution-features li {
    padding: 8px 0;
    color: #cccccc;
    position: relative;
    padding-left: 20px;
}

.solution-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.integration-section {
    padding: 80px 0;
    background: #1a1a1a;
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.integration-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.integration-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.integration-benefits {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    width: 50px;
    text-align: center;
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.benefit-item p {
    color: #cccccc;
    margin: 0;
}

.integration-image {
    text-align: center;
}

.integration-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.couteau-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #ffffff;
    color: var(--primary-blue);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-cta-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background: transparent;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-cta-secondary:hover {
    background: #ffffff;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Responsive Design for Couteau Suisse */
@media (max-width: 768px) {
    .couteau-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .solution-card {
        padding: 30px;
    }
    
    .integration-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .integration-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Touches bleues subtiles pour harmoniser avec le logo */
.section-badge {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
}

.service-card:hover {
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.2);
}

.hero-stats .stat-number {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 191, 255, 0.1);
    transform: translateY(-2px);
}

.social-link:hover::before {
    transform: scale(1.2) rotateY(10deg);
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.6));
    animation: iconSpin 2s ease-in-out infinite;
}

.contact-icon {
    color: var(--primary-blue);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
}

.btn-directions {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
}

.contact-stat-number {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thumbnail.active {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.service-number {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-icon-large {
    color: var(--primary-blue);
}

.service-card-large:hover {
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.2);
}

.showcase-title strong {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-icon {
    color: var(--primary-blue);
}

.feature-card:hover {
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.2);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-item:hover {
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.2);
}

.gallery-thumbnail.active {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.growth-number {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.software-cta {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
}

.software-cta .btn-cta-primary {
    background: #ffffff;
    color: var(--primary-blue);
}

.software-cta .btn-cta-secondary:hover {
    background: #ffffff;
    color: var(--primary-blue);
}

/* Couteau Suisse touches bleues */
.solution-card:hover {
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.2);
}

.solution-features li::before {
    color: var(--primary-blue);
}

.benefit-item i {
    color: var(--primary-blue);
}

.couteau-cta {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
}

.couteau-cta .btn-cta-primary {
    background: #ffffff;
    color: var(--primary-blue);
}

.couteau-cta .btn-cta-secondary:hover {
    background: #ffffff;
    color: var(--primary-blue);
}

/* Network & Vidéosurveillance Page Styles */
.network-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.network-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 100, 200, 0.05) 30%, 
        rgba(0, 0, 0, 0.8) 70%, 
        #000000 100%);
    z-index: 1;
}

.network-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.network-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding-top: 100px;
}

.network-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.process-section {
    padding: 80px 0;
    background: #1a1a1a;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-item {
    background: #3a3a3a;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #4a4a4a;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.2);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.step-description {
    color: #cccccc;
    line-height: 1.6;
}

.benefits-section {
    padding: 80px 0;
    background: #2d2d2d;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.benefits-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    width: 50px;
    text-align: center;
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.benefit-item p {
    color: #cccccc;
    margin: 0;
}

.benefits-image {
    text-align: center;
}

.benefits-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.network-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #ffffff;
    color: var(--primary-blue);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-cta-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background: transparent;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-cta-secondary:hover {
    background: #ffffff;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Responsive Design for Network & Vidéosurveillance */
@media (max-width: 768px) {
    .network-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .step-item {
        padding: 30px 20px;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 26, 0.98);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    display: none;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu .nav-link {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 0.85rem;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu .nav-link:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-blue);
}

.dropdown-menu .nav-link:hover::after {
    display: none;
}

.dropdown-menu .nav-link.active {
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary-blue);
}

/* Mobile dropdown menu */
@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(45, 45, 45, 0.95);
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .dropdown-menu .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu .nav-link:last-child {
        border-bottom: none;
    }
}

/* Développement Mobile Page Styles */
.mobile-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.mobile-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 100, 200, 0.05) 30%, 
        rgba(0, 0, 0, 0.8) 70%, 
        #000000 100%);
    z-index: 1;
}

.mobile-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.mobile-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding-top: 100px;
}

.mobile-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.mobile-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.mobile-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.mobile-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.mobile-cta .cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.mobile-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-cta .btn-cta-primary {
    background: #ffffff;
    color: var(--primary-blue);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.mobile-cta .btn-cta-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-cta .btn-cta-secondary {
    background: transparent;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.mobile-cta .btn-cta-secondary:hover {
    background: #ffffff;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Responsive Design for Mobile Development */
@media (max-width: 768px) {
    .mobile-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .mobile-cta .cta-title {
        font-size: 2rem;
    }
    
    .mobile-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-cta .btn-cta-primary,
    .mobile-cta .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

.software-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 100, 200, 0.05) 30%, 
        rgba(0, 0, 0, 0.8) 70%, 
        #000000 100%);
    z-index: 1;
}

.software-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.6) 100%);
    z-index: 2;
}

.software-hero .hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    padding-top: 100px;
}

.software-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.software-hero .hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.software-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

/* Fix header on software development page */
body:has(.software-hero) .header {
    background: rgba(26, 26, 26, 0.95) !important;
    z-index: 1000;
}

body:has(.software-hero) .header .logo-img {
    height: 40px !important;
    width: auto;
    transition: all 0.3s ease;
}

body:has(.software-hero) .header .nav {
    display: flex;
    align-items: center;
}

body:has(.software-hero) .header .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.software-hero .stat-item {
    text-align: center;
}

.software-hero .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.software-hero .stat-label {
    font-size: 0.9rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Software Showcase */
.software-showcase {
    padding: 6rem 0;
    background: #2d2d2d;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.3;
}

.showcase-title strong {
    color: var(--primary-blue);
}

.showcase-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.showcase-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.main-software-img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

/* Software Features */
.software-features {
    padding: 6rem 0;
    background: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #2d2d2d;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-description {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Development Process */
.development-process {
    padding: 6rem 0;
    background: #2d2d2d;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.step-description {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Software Gallery */
.software-gallery {
    padding: 6rem 0;
    background: #1a1a1a;
}

.gallery-container {
    margin-top: 3rem;
}

.gallery-main {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-main-img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumbnail {
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    opacity: 0.7;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--primary-blue);
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Technologies Section */
.technologies-section {
    padding: 6rem 0;
    background: #2d2d2d;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.tech-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    font-weight: 500;
}

.tech-feature i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.tech-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-img {
    width: 100%;
    height: auto;
}

/* User Experience */
.user-experience {
    padding: 6rem 0;
    background: #1a1a1a;
}

.ux-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ux-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ux-img {
    width: 100%;
    height: auto;
}

.ux-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.ux-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.ux-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ux-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ux-benefit i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.ux-benefit h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.ux-benefit p {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Growth Section */
.growth-section {
    padding: 6rem 0;
    background: #2d2d2d;
    text-align: center;
}

.growth-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.growth-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.growth-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.growth-stat {
    text-align: center;
}

.growth-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.growth-label {
    font-size: 1rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Software CTA */
.software-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.software-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.software-cta .cta-description {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.software-cta .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.software-cta .btn-cta-primary {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: var(--primary-blue);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.software-cta .btn-cta-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.software-cta .btn-cta-secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.software-cta .btn-cta-secondary:hover {
    background: #ffffff;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    height: 400px;
    position: relative;
    background: #1a1a1a;
}

.map-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.map-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.map-info p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-directions {
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    border: 2px solid var(--primary-blue);
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
}

.btn-directions:hover {
    background: transparent;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-top: 1px solid rgba(0, 191, 255, 0.2);
}


.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-titles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section:first-child {
    align-items: flex-start;
}

.footer-section:last-child {
    align-items: flex-end;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

.footer-links a:hover {
    color: var(--primary-blue);
    background: rgba(0, 191, 255, 0.1);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.contact-info p {
    color: #e0e0e0;
    margin: 0;
    font-size: 1rem;
    text-align: right;
}


.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #e0e0e0;
    margin: 0;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    height: 1.5rem;
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 191, 255, 0.3));
}

.social-link[href*="linkedin"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300BFFF'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
    animation: iconFloat 3s ease-in-out infinite;
}

.social-link[href*="youtube"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300BFFF'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
    animation: iconFloat 3s ease-in-out infinite 0.5s;
}


.social-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 191, 255, 0.1);
    transform: translateY(-2px);
}

.social-link:hover::before {
    transform: scale(1.2) rotateY(10deg);
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.6));
    animation: iconSpin 2s ease-in-out infinite;
}

.contact-info p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.contact-location {
    font-weight: 600;
    color: #ffffff !important;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    color: var(--primary-blue);
}

/* Responsive Design for Central 3D Elements */
@media (max-width: 768px) {
    .central-3d-title {
        font-size: 2rem;
    }
    
    .central-3d-description {
        font-size: 1rem;
    }
    
    .central-3d-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .central-3d-stat {
        animation-delay: 0s !important;
    }
    
    .central-3d-element {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    /* Responsive for Service Cards */
    .service-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .service-card:hover {
        transform: translateY(-15px) rotateX(10deg) rotateY(5deg) scale(1.03);
    }
    
    .service-icon {
        margin: 0 auto 1.5rem auto;
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
    
    .service-icon::after {
        width: 100px;
        height: 100px;
    }
    
    .service-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-service {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        padding: 2rem;
        z-index: 999;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 1rem 0;
        display: block;
        color: #ffffff;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }
    
    .nav-link:hover {
        color: var(--primary-blue);
    }
    
    /* About page responsive */
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-description {
        font-size: 1.1rem;
    }
    
    .vision-content,
    .expertise-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-title,
    .expertise-title {
        font-size: 2rem;
    }
    
    .engagement-title {
        font-size: 2rem;
    }
    
    .color-separation {
        height: 150px;
    }
    
    /* Services page responsive */
    .services-hero-title {
        font-size: 2.5rem;
    }
    
    .services-hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Contact page responsive */
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .map-section {
        height: 300px;
    }
}
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-content,
    .products-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(26, 26, 26, 0.9);
        margin-top: 1rem;
        border-radius: 5px;
    }
    
    .software-hero .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .services-title,
    .about-title,
    .products-title {
        font-size: 1.8rem;
    }
    
    .cta-title,
    .final-cta-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3D Scroll Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translate3d(-100px, 0, -100px) rotateY(-45deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateY(0deg);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translate3d(100px, 0, -100px) rotateY(45deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateY(0deg);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translate3d(0, 100px, -100px) rotateX(45deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0deg);
    }
}

@keyframes scaleIn3D {
    from {
        opacity: 0;
        transform: scale3d(0.5, 0.5, 0.5) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1) rotateX(0deg);
    }
}

.service-card,
.about-content,
.products-content {
    animation: fadeInUp 0.6s ease-out;
}

/* 3D Animation Classes */
.animate-3d-left {
    opacity: 0;
    transform: translate3d(-100px, 0, -100px) rotateY(-45deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-3d-right {
    opacity: 0;
    transform: translate3d(100px, 0, -100px) rotateY(45deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-3d-bottom {
    opacity: 0;
    transform: translate3d(0, 100px, -100px) rotateX(45deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-3d-scale {
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5) rotateX(90deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-3d-left.animate-in,
.animate-3d-right.animate-in,
.animate-3d-bottom.animate-in,
.animate-3d-scale.animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
}

/* 3D Central Elements for Pages */
.central-3d-element {
    position: relative;
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(0, 191, 255, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    overflow: hidden;
}

.central-3d-element::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-blue), transparent, #00BFFF, transparent);
    animation: rotate3D 8s linear infinite;
    opacity: 0.1;
    z-index: 0;
}

.central-3d-element::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-blue), #00BFFF);
    border-radius: 50%;
    transform: translate(-50%, -50%) translateZ(50px);
    animation: float3D 6s ease-in-out infinite;
    opacity: 0.2;
    z-index: 1;
}

.central-3d-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.central-3d-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

.central-3d-description {
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.central-3d-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.central-3d-stat {
    text-align: center;
    transform-style: preserve-3d;
    animation: statFloat 4s ease-in-out infinite;
}

.central-3d-stat:nth-child(2) {
    animation-delay: 1s;
}

.central-3d-stat:nth-child(3) {
    animation-delay: 2s;
}

@keyframes statFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(5deg); }
}

.central-3d-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.central-3d-stat-label {
    font-size: 0.9rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Loading States */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Loading Animations */
.loading-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-3d.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-3d {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3D 2s linear infinite;
}

.loader-3d::before,
.loader-3d::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-blue);
    border-right: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin3D 1.5s linear infinite;
}

.loader-3d::before {
    animation-delay: 0s;
}

.loader-3d::after {
    animation-delay: 0.75s;
    transform: scale(0.7);
}

@keyframes rotate3D {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

@keyframes spin3D {
    0% { transform: rotate(0deg) translateZ(0px); }
    100% { transform: rotate(360deg) translateZ(50px); }
}

.loading-text {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse3D 2s ease-in-out infinite;
}

@keyframes pulse3D {
    0%, 100% { 
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Styles pour les binaires flottants */
.binary-wanderer {
    position: absolute;
    color: #00aaff;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 0 0 15px #00aaff, 0 0 30px rgba(0, 170, 255, 0.5);
    animation: binary-wander 8s ease-in-out infinite;
    z-index: 2;
    opacity: 0.8;
    transition: all 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    pointer-events: none;
}

.binary-wanderer:hover {
    opacity: 1;
    text-shadow: 0 0 20px #00aaff, 0 0 40px rgba(0, 170, 255, 0.8);
    transform: scale(1.2);
}

@keyframes binary-wander {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-15px, -60px) scale(0.9);
        opacity: 1;
    }
    75% {
        transform: translate(30px, -40px) scale(1.05);
        opacity: 0.7;
    }
}

/* Position du cube pour les autres pages (20% plus bas que index.html) */
.about-hero .cube-container,
.contact-hero .cube-container,
.services-hero .cube-container,
.couteau-hero .cube-container,
.software-hero .cube-container,
.mobile-hero .cube-container,
.network-hero .cube-container {
    margin-top: 84px; /* 70px + 20% = 84px */
}

/* Alternative: utiliser la classe hero pour toutes les pages sauf index */
.hero:not(.index-hero) .cube-container {
    margin-top: 84px; /* 70px + 20% = 84px */
}

/* Vitesse de rotation du cube sur mobile */
@media (max-width: 768px) {
    .cube {
        animation-duration: 10s !important; /* 2x plus rapide sur mobile */
    }
}

/* Styles du cube 3D pour toutes les pages (identiques à index.html) */
.cube {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: rotate3D 20s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #000;
    border: none;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    line-height: 1;
    color: #00aaff;
    text-shadow: 0 0 5px #00aaff;
    will-change: transform;
}

.cube-face.front { 
    transform: rotateY(0deg) translateZ(150px);
    background: linear-gradient(45deg, #000 0%, #001133 50%, #000 100%);
    z-index: 8;
}
.cube-face.back { 
    transform: rotateY(180deg) translateZ(150px);
    background: linear-gradient(45deg, #000 0%, #001133 50%, #000 100%);
    z-index: 2;
}
.cube-face.right { 
    transform: rotateY(90deg) translateZ(150px);
    background: linear-gradient(45deg, #000 0%, #001133 50%, #000 100%);
    z-index: 6;
}
.cube-face.left { 
    transform: rotateY(-90deg) translateZ(150px);
    background: linear-gradient(45deg, #000 0%, #001133 50%, #000 100%);
    z-index: 4;
}
.cube-face.top { 
    transform: rotateX(90deg) translateZ(150px);
    background: linear-gradient(45deg, #000 0%, #001133 50%, #000 100%);
    z-index: 7;
}
.cube-face.bottom { 
    transform: rotateX(-90deg) translateZ(150px);
    background: linear-gradient(45deg, #000 0%, #001133 50%, #000 100%);
    z-index: 3;
}

/* Code binaire sur les faces */
.binary-face-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    animation: binary-scroll 10s linear infinite;
}

@keyframes binary-scroll {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

.binary-line {
    display: block;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    opacity: 0.7;
    font-weight: bold;
}

.binary-line:nth-child(odd) {
    opacity: 1;
    text-shadow: 0 0 15px #00aaff, 0 0 25px #00aaff;
    color: #00aaff;
}

.binary-line:nth-child(even) {
    opacity: 0.8;
    text-shadow: 0 0 8px #00aaff;
    color: #0088cc;
}

.binary-line:nth-child(3n) {
    opacity: 0.9;
    text-shadow: 0 0 12px #00aaff, 0 0 20px #00aaff;
    color: #00aaff;
}

.binary-line:nth-child(5n) {
    opacity: 0.6;
    text-shadow: 0 0 6px #00aaff;
    color: #006699;
}

@keyframes rotate3D {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}
