/* ================================
   ESTILOS GAMER PARA NOSOTROS ZEROX
   ================================ */

/* Variables CSS para colores temáticos gamer */
:root {
    --neon-blue: #00ffff;
    --neon-purple: #8a2be2;
    --neon-pink: #ff1493;
    --neon-green: #39ff14;
    --neon-yellow: #ffff00;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(20, 20, 30, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --text-glow: 0 0 10px currentColor;
}

/* Estilos base mejorados */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('img/cursor_2.png'), auto;
}

a, button, .stat-item, .service-card, .benefit-card, .client-card, .brand-card {
    cursor: url('img/cursor_2.png'), pointer;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Efecto de partículas de fondo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 20, 147, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(138, 43, 226, 0.08) 1px, transparent 1px);
    background-size: 100px 100px, 60px 60px, 80px 80px;
    animation: particleFloat 15s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-30px) translateX(5px); }
}

/* Hero Section con efectos gamer */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(45deg, #0f3460, #16537e, #533a71);
    overflow: hidden;
    border-bottom: 3px solid var(--neon-blue);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(0, 255, 255, 0.1) 0%,
        transparent 25%,
        rgba(255, 20, 147, 0.1) 50%,
        transparent 75%,
        rgba(138, 43, 226, 0.1) 100%
    );
    animation: gradientScan 8s linear infinite;
}

@keyframes gradientScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink), var(--neon-yellow));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 1rem;
    text-shadow: 
        0 0 30px rgba(0, 245, 255, 0.5),
        0 0 60px rgba(0, 245, 255, 0.3);
    position: relative;
}

.hero-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    background-size: 200% 200%;
    animation: textScan 4s linear infinite;
    z-index: -1;
}

@keyframes textScan {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    animation: subtitleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtitleGlow {
    from { text-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 0 0 25px rgba(0, 255, 255, 0.8), 0 0 35px rgba(0, 255, 255, 0.4); }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border: 2px solid transparent;
    border-radius: 15px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--neon-blue), 
        var(--neon-purple), 
        var(--neon-pink), 
        var(--neon-green));
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover::before {
    opacity: 1;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 255, 255, 0.4),
        0 0 30px rgba(255, 20, 147, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1), 
        rgba(20, 20, 30, 0.9));
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 
        0 0 15px var(--neon-blue),
        0 0 30px var(--neon-blue);
    animation: numberGlow 2s ease-in-out infinite alternate;
}

@keyframes numberGlow {
    from { text-shadow: 0 0 15px var(--neon-blue), 0 0 30px var(--neon-blue); }
    to { text-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue), 0 0 60px var(--neon-blue); }
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #fff;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Animaciones flotantes mejoradas */
.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(0, 245, 255, 0.4);
    animation: floatGamer 8s ease-in-out infinite;
    filter: drop-shadow(0 0 10px currentColor);
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    color: var(--neon-blue);
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    color: var(--neon-pink);
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    color: var(--neon-green);
}

.floating-icon:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 6s;
    color: var(--neon-purple);
}

@keyframes floatGamer {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-30px) rotate(90deg) scale(1.2); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg) scale(1.1); 
        opacity: 1;
    }
    75% { 
        transform: translateY(-40px) rotate(270deg) scale(1.3); 
        opacity: 0.6;
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Secciones con efectos gamer */
.section-container {
    margin: 100px auto;
    padding: 0 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--neon-blue);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue);
    animation: titlePulse 3s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    from { 
        text-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue); 
        transform: scale(1);
    }
    to { 
        text-shadow: 0 0 30px var(--neon-blue), 0 0 60px var(--neon-blue), 0 0 90px var(--neon-blue); 
        transform: scale(1.02);
    }
}

.section-title i {
    color: var(--neon-pink);
    margin-right: 1rem;
    text-shadow: 0 0 20px var(--neon-pink);
    animation: iconSpin 4s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--neon-blue), 
        var(--neon-pink), 
        var(--neon-blue), 
        transparent);
    animation: lineGlow 2s ease-in-out infinite alternate;
}

@keyframes lineGlow {
    from { box-shadow: 0 0 10px var(--neon-blue); }
    to { box-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-pink); }
}

/* Tarjetas de Servicios con estilo gamer */
.service-card {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    background: var(--card-bg);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--neon-blue), 
        var(--neon-purple), 
        var(--neon-pink), 
        var(--neon-green));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 255, 255, 0.4),
        0 0 40px rgba(255, 20, 147, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) contrast(1.2);
    transition: all 0.4s ease;
}

.service-card:hover .service-bg {
    transform: scale(1.1);
    filter: brightness(0.9) contrast(1.4) saturate(1.3);
}

.service-content {
    position: relative;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(22, 83, 126, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.service-card:hover .service-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.2) 0%, 
        rgba(255, 20, 147, 0.3) 50%,
        rgba(138, 43, 226, 0.2) 100%);
}

.service-icon img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.6));
    margin-bottom: 1.5rem;
    z-index: 3;
    position: relative;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon img {
    filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.9)) 
            brightness(1.3) 
            contrast(1.2);
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    z-index: 3;
    position: relative;
    text-shadow: 0 0 15px var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card:hover .service-title {
    color: var(--neon-pink);
    text-shadow: 0 0 20px var(--neon-pink);
}

.service-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    z-index: 3;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Tarjetas de Beneficios con estilo gamer */
.benefit-card {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--neon-green), 
        var(--neon-blue), 
        var(--neon-pink), 
        var(--neon-purple));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover::before {
    opacity: 1;
    animation: borderPulse 2s ease-in-out infinite;
}

.benefit-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 255, 255, 0.4),
        0 0 40px rgba(255, 20, 147, 0.3);
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1), 
        rgba(255, 0, 255, 0.05));
}

.benefit-icon {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 15px var(--neon-green));
}

.benefit-card:hover .benefit-icon {
    color: var(--neon-pink);
    transform: scale(1.2) rotate(10deg);
    text-shadow: 0 0 30px var(--neon-pink);
    filter: drop-shadow(0 0 25px var(--neon-pink));
}

.benefit-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.benefit-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(57, 255, 20, 0.3);
}

/* Carruseles con efectos gamer */
.carousel-container {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.02));
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 50px rgba(0, 0, 0, 0.2);
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 255, 255, 0.05) 50%,
        transparent 70%
    );
    animation: scanLine 4s linear infinite;
    pointer-events: none;
}

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
    margin: auto 0;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    transform: scale(1.2);
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(255, 20, 147, 0.6);
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

/* Tarjetas de Clientes con estilo gamer */
.client-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--neon-blue);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.client-card:hover {
    transform: scale(1.08) rotate(2deg);
    border-color: var(--neon-pink);
    box-shadow: 
        0 15px 40px rgba(0, 255, 255, 0.4),
        0 0 30px rgba(255, 20, 147, 0.6);
}

.client-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: all 0.4s ease;
}

.client-card:hover .client-image {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.3) saturate(1.2);
}

.client-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 1rem;
    color: var(--neon-blue);
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-blue);
    border-top: 1px solid var(--neon-blue);
}

.no-clients {
    text-align: center;
    padding: 3rem;
    color: var(--neon-blue);
    font-size: 1.2rem;
    text-shadow: 0 0 15px var(--neon-blue);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid var(--neon-blue);
}

/* Tarjetas de Marcas con estilo gamer */
.brand-card {
    background: var(--card-bg);
    border: 2px solid var(--neon-purple);
    border-radius: 15px;

    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
     height: 220px; /* Aumenté de 180px a 220px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(138, 43, 226, 0.3);
}

.brand-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(138, 43, 226, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.4s ease;
    opacity: 0;
}

.brand-card:hover::before {
    opacity: 1;
    animation: brandScan 2s linear infinite;
}

@keyframes brandScan {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.brand-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--neon-blue);
    box-shadow: 
        0 20px 40px rgba(138, 43, 226, 0.4),
        0 0 30px rgba(0, 255, 255, 0.6);
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1), 
        var(--card-bg));
}

.brand-logo {
    max-width: 150px; /* Aumenté de 100px a 150px */
    max-height: 300px; /* Aumenté de 250px a 300px */
    width: auto; /* Añadí esto para mantener proporciones */
    height: auto; /* Añadí esto para mantener proporciones */
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0.9);
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
}

.brand-card:hover .brand-logo {
    filter: brightness(1.3) 
            drop-shadow(0 0 25px rgba(0, 255, 255, 0.6))
            contrast(1.2);
    transform: scale(1.15);
}

.brand-name {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: var(--neon-blue);
    margin: 0;
    font-weight: 600;
    text-shadow: 0 0 10px var(--neon-blue);
    z-index: 2;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design mejorado */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
        margin: 0 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }