/* Importar fuentes ultra premium */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;700;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Variables CSS Ultra Avanzadas */
:root {
    /* Colores Neón y Cyberpunk */
    --neon-cyan: #00ffff;
    --neon-purple: #8a2be2;
    --neon-pink: #ff1493;
    --electric-blue: #007fff;
    --cosmic-purple: #4b0082;
    --neon-green: #39ff14;
    --plasma-orange: #ff6600;
    --dark-void: #0a0a0a;
    --space-black: #000000;
    --deep-space: #0d1117;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Gradientes Ultra Premium */
    --cyber-gradient: linear-gradient(135deg, #00ffff 0%, #8a2be2 50%, #ff1493 100%);
    --plasma-gradient: linear-gradient(45deg, #ff6600 0%, #ff1493 50%, #8a2be2 100%);
    --space-gradient: linear-gradient(180deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    --hologram-gradient: linear-gradient(45deg, rgba(0,255,255,0.3) 0%, rgba(138,43,226,0.3) 50%, rgba(255,20,147,0.3) 100%);
    
    /* Efectos de Brillo */
    --glow-cyan: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan), 0 0 60px var(--neon-cyan);
    --glow-purple: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple), 0 0 60px var(--neon-purple);
    --glow-pink: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink), 0 0 60px var(--neon-pink);
    --glow-multi: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-purple), 0 0 30px var(--neon-pink);
    
    /* Fuentes */
    --font-cyber: 'Orbitron', monospace;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Espaciado */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Transiciones Ultra Suaves */
    --transition-lightning: 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-epic: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-bounce: 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset Ultra Avanzado */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

/* Configuración Base Ultra */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--space-black);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Efecto de Partículas Animadas de Fondo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 20, 147, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(0, 127, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 90%, rgba(255, 102, 0, 0.06) 0%, transparent 50%);
    animation: cosmicDrift 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -2;
}

@keyframes cosmicDrift {
    0% { 
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    33% { 
        transform: translateX(-20px) translateY(-30px) rotate(120deg);
        opacity: 1;
    }
    66% { 
        transform: translateX(20px) translateY(20px) rotate(240deg);
        opacity: 0.8;
    }
    100% { 
        transform: translateX(0) translateY(0) rotate(360deg);
        opacity: 0.9;
    }
}

/* Partículas Flotantes Dinámicas */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255, 20, 147, 0.02) 2px, rgba(255, 20, 147, 0.02) 4px);
    animation: matrixRain 15s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes matrixRain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Header Ultra Épico */
header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--space-gradient);
    overflow: hidden;
}

/* Efecto Holográfico del Header */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hologram-gradient);
    animation: hologramFlicker 4s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes hologramFlicker {
    0% { 
        opacity: 0.1;
        transform: scale(1) rotate(0deg);
    }
    25% { 
        opacity: 0.3;
        transform: scale(1.02) rotate(1deg);
    }
    75% { 
        opacity: 0.2;
        transform: scale(0.98) rotate(-1deg);
    }
    100% { 
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
    }
}

/* Líneas de Energía Animadas */
header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 48%, rgba(0, 255, 255, 0.8) 49%, rgba(0, 255, 255, 0.8) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(255, 20, 147, 0.6) 49%, rgba(255, 20, 147, 0.6) 51%, transparent 52%);
    animation: energyPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes energyPulse {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: var(--space-4xl);
    transform: perspective(1000px) rotateX(0deg);
    animation: headerFloat 6s ease-in-out infinite alternate;
}

@keyframes headerFloat {
    0% { 
        transform: perspective(1000px) rotateX(0deg) translateY(0px);
    }
    100% { 
        transform: perspective(1000px) rotateX(2deg) translateY(-20px);
    }
}

/* Título Ultra Cyberpunk */
header h1 {
    font-family: var(--font-cyber);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    margin-bottom: var(--space-lg);
    background: var(--cyber-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.9;
    animation: titleGlitch 5s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(var(--glow-cyan));
}

@keyframes titleGlitch {
    0%, 96%, 100% { 
        transform: translate(0);
        filter: drop-shadow(var(--glow-cyan));
    }
    2% { 
        transform: translate(2px, -2px);
        filter: drop-shadow(var(--glow-pink));
    }
    4% { 
        transform: translate(-2px, 2px);
        filter: drop-shadow(var(--glow-purple));
    }
    6% { 
        transform: translate(0);
        filter: drop-shadow(var(--glow-multi));
    }
}

/* Glitch Effect Overlay */
header h1::before,
header h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--plasma-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header h1::before {
    animation: glitch1 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

header h1::after {
    animation: glitch2 3s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
    0%, 90%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -1px); }
    20% { transform: translate(2px, 1px); }
}

@keyframes glitch2 {
    0%, 90%, 100% { transform: translate(0); }
    30% { transform: translate(1px, -2px); }
    60% { transform: translate(-1px, 2px); }
}

header p {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: var(--space-4xl);
    opacity: 0.9;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: textShimmer 4s ease-in-out infinite alternate;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

@keyframes textShimmer {
    0% { 
        opacity: 0.7; 
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }
    100% { 
        opacity: 1; 
        text-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
    }
}

/* Botones Ultra Futuristas */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) var(--space-3xl);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    transition: all var(--transition-epic);
    overflow: hidden;
    margin: var(--space-sm);
    min-width: 220px;
    border: 2px solid;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-cyber);
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}

/* Efecto de Escaneo */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left var(--transition-epic);
}

.btn:hover::before {
    left: 100%;
}

/* Líneas de Energía en los Botones */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 45%, currentColor 49%, currentColor 51%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, currentColor 49%, currentColor 51%, transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.btn:hover::after {
    opacity: 0.1;
}

.btn-primary {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 
        inset 0 0 20px rgba(0, 255, 255, 0.1),
        0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 
        inset 0 0 40px rgba(0, 255, 255, 0.2),
        var(--glow-cyan);
    transform: translateY(-5px) scale(1.05);
}

.btn-secondary {
    color: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 
        inset 0 0 20px rgba(255, 20, 147, 0.1),
        0 0 20px rgba(255, 20, 147, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 20, 147, 0.1);
    box-shadow: 
        inset 0 0 40px rgba(255, 20, 147, 0.2),
        var(--glow-pink);
    transform: translateY(-5px) scale(1.05);
}

/* Secciones con Efectos 3D */
section {
    position: relative;
    padding: var(--space-4xl) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    transform: perspective(1000px) rotateX(0deg);
}

/* Sección de Descripción Ultra */
#descripcion {
    text-align: center;
    padding: 10rem 2rem;
    background: var(--space-gradient);
    position: relative;
    overflow: hidden;
}

/* Efecto de Ondas de Energía */
#descripcion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 255, 255, 0.03) 30deg, transparent 60deg),
        repeating-conic-gradient(from 45deg at 50% 50%, transparent 0deg, rgba(255, 20, 147, 0.02) 30deg, transparent 60deg);
    animation: energyWaves 10s linear infinite;
}

@keyframes energyWaves {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.1); }
}

#descripcion h2 {
    position: relative;
    font-family: var(--font-cyber);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    background: var(--plasma-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: headerPulse 3s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes headerPulse {
    0% { 
        filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.6));
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 40px rgba(255, 20, 147, 0.8));
        transform: scale(1.02);
    }
}

#descripcion p {
    position: relative;
    font-size: clamp(1.125rem, 2.5vw, 1.2rem);
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
    z-index: 2;
    animation: textFloat 4s ease-in-out infinite alternate;
}

@keyframes textFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* Características con Efectos Holográficos */
#caracteristicas {
    padding: 10rem 2rem;
    position: relative;
    background: linear-gradient(180deg, var(--deep-space) 0%, var(--space-black) 100%);
}

#caracteristicas h2 {
    font-family: var(--font-cyber);
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-4xl);
    background: var(--cyber-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleScan 5s ease-in-out infinite;
}

@keyframes titleScan {
    0%, 100% { 
        filter: drop-shadow(var(--glow-cyan));
    }
    33% { 
        filter: drop-shadow(var(--glow-purple));
    }
    66% { 
        filter: drop-shadow(var(--glow-pink));
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
}

.feature-item {
    position: relative;
    padding: var(--space-3xl);
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: all var(--transition-epic);
    overflow: hidden;
    clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

/* Efecto de Holograma en las Características */
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hologram-gradient);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    transition: left var(--transition-epic);
}

.feature-item:hover::before {
    opacity: 0.3;
    animation: hologramFlicker 2s ease-in-out infinite;
}

.feature-item:hover::after {
    left: 100%;
}

.feature-item:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-20px) scale(1.05);
    box-shadow: 
        var(--glow-multi),
        0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--neon-cyan);
}

.feature-item i {
    position: relative;
    font-size: 4rem;
    color: var(--neon-cyan);
    margin-bottom: var(--space-lg);
    display: block;
    animation: iconPulse 3s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes iconPulse {
    0% { 
        color: var(--neon-cyan);
        filter: drop-shadow(var(--glow-cyan));
        transform: scale(1);
    }
    50% { 
        color: var(--neon-purple);
        filter: drop-shadow(var(--glow-purple));
        transform: scale(1.1);
    }
    100% { 
        color: var(--neon-pink);
        filter: drop-shadow(var(--glow-pink));
        transform: scale(1);
    }
}

.feature-item h3 {
    position: relative;
    font-family: var(--font-cyber);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.feature-item p {
    position: relative;
    opacity: 0.8;
    line-height: 1.7;
    z-index: 2;
}

/* Sección de Imágenes Ultra Futurista */
#imagenes {
    padding: 10rem 2rem;
    background: var(--space-gradient);
    position: relative;
    overflow: hidden;
}

/* Efecto de Matriz Digital */
#imagenes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.02) 2px, rgba(0, 255, 255, 0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 20, 147, 0.02) 2px, rgba(255, 20, 147, 0.02) 4px);
    animation: digitalMatrix 20s linear infinite;
}

@keyframes digitalMatrix {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

#imagenes h2 {
    position: relative;
    font-family: var(--font-cyber);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-4xl);
    background: var(--cyber-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
}

.app-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
    position: relative;
    z-index: 2;
}

.image-container {
    position: relative;
    overflow: hidden;
    background: var(--glass-white);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-epic);
    transform: perspective(1000px) rotateX(0deg);
}

/* Efecto de Exploración 3D */
.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cyber-gradient);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 1;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--neon-cyan), transparent);
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
    transition: all var(--transition-epic);
    z-index: 1;
}

.image-container:hover::before {
    opacity: 0.1;
}

.image-container:hover::after {
    opacity: 0.3;
    animation: scannerRotate 2s linear infinite;
}

@keyframes scannerRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.image-container:hover {
    transform: perspective(1000px) rotateX(15deg) rotateY(-15deg) translateY(-30px) scale(1.1);
    box-shadow: 
        var(--glow-multi),
        0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--neon-cyan);
}

.image-container img {
    width: 90%;
    object-fit: cover;
    transition: transform var(--transition-epic);
    position: relative;
    z-index: 0;
}

.image-container:hover img {
    transform: scale(1.2) rotate(2deg);
    filter: brightness(1.2) contrast(1.1);
}

/* Sección de Descarga Ultra Épica */
#descargar {
    padding: 10rem 2rem;
    text-align: center;
    background: var(--plasma-gradient);
    position: relative;
    overflow: hidden;
}

/* Efecto de Explosión de Energía */
#descargar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle, rgba(0, 255, 255, 0.05) 20%, transparent 60%),
        radial-gradient(circle, rgba(255, 20, 147, 0.05) 40%, transparent 80%);
    transform: translate(-50%, -50%);
    animation: energyExplosion 8s ease-in-out infinite;
}

@keyframes energyExplosion {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

#descargar h2 {
    position: relative;
    font-family: var(--font-cyber);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    margin-bottom: var(--space-xl);
    color: white;
    text-shadow: var(--glow-multi);
    z-index: 2;
    animation: finalGlow 4s ease-in-out infinite alternate;
}

@keyframes finalGlow {
    0% { 
        text-shadow: var(--glow-cyan);
        transform: scale(1);
    }
    33% { 
        text-shadow: var(--glow-purple);
        transform: scale(1.05);
    }
    66% { 
        text-shadow: var(--glow-pink);
        transform: scale(0.98);
    }
    100% { 
        text-shadow: var(--glow-multi);
        transform: scale(1.02);
    }
}

#descargar p {
    position: relative;
    font-size: 1.5rem;
    margin-bottom: var(--space-3xl);
    opacity: 0.9;
    z-index: 2;
    animation: textPulse 3s ease-in-out infinite alternate;
}

@keyframes textPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Footer Ultra Futurista */
footer {
    background: var(--space-black);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    border-top: 1px solid var(--neon-cyan);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyber-gradient);
    animation: borderScan 3s linear infinite;
}

@keyframes borderScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

footer p {
    opacity: 0.7;
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
}

/* Modal Ultra Avanzado */
.message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    color: white;
    padding: var(--space-3xl);
    border-radius: 0;
    z-index: 9999;
    text-align: center;
    box-shadow: 
        var(--glow-multi),
        0 0 100px rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-cyan);
    opacity: 0;
    transition: all var(--transition-epic);
    max-width: 500px;
    width: 90%;
    clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%);
    position: relative;
    overflow: hidden;
}

.message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hologram-gradient);
    opacity: 0.2;
    animation: hologramFlicker 3s ease-in-out infinite;
}

.message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Animaciones Ultra Avanzadas */
@keyframes quantumFlicker {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
    }
    25% { 
        opacity: 0.8; 
        transform: scale(1.02) rotate(1deg);
    }
    50% { 
        opacity: 0.9; 
        transform: scale(0.98) rotate(-1deg);
    }
    75% { 
        opacity: 0.85; 
        transform: scale(1.01) rotate(0.5deg);
    }
}

@keyframes dataStream {
    0% { 
        transform: translateY(0) scaleY(1);
        opacity: 0;
    }
    10% { 
        opacity: 1;
    }
    90% { 
        opacity: 1;
    }
    100% { 
        transform: translateY(-100vh) scaleY(0);
        opacity: 0;
    }
}

@keyframes neuralNetwork {
    0% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
    100% { 
        background-position: 0% 50%;
    }
}

/* Efectos de Partículas Cuánticas */
.quantum-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.quantum-particles::before,
.quantum-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 30px var(--neon-cyan);
    animation: particleFloat 15s linear infinite;
}

.quantum-particles::before {
    top: 10%;
    left: 20%;
    animation-delay: -5s;
}

.quantum-particles::after {
    top: 70%;
    left: 80%;
    animation-delay: -10s;
    background: var(--neon-pink);
    box-shadow: 
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink),
        0 0 30px var(--neon-pink);
}

@keyframes particleFloat {
    0% { 
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% { 
        opacity: 1;
        transform: translateY(90vh) translateX(20px) scale(1);
    }
    90% { 
        opacity: 1;
        transform: translateY(-10vh) translateX(-20px) scale(1);
    }
    100% { 
        transform: translateY(-20vh) translateX(0) scale(0);
        opacity: 0;
    }
}

/* Efectos de Scroll Ultra Suaves */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* Animaciones de Entrada Épicas */
.fade-in-up {
    opacity: 0;
    transform: translateY(60px) rotateX(30deg);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px) rotateY(30deg);
    animation: fadeInLeft 1s ease-out forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px) rotateY(-30deg);
    animation: fadeInRight 1s ease-out forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

/* Delays para animaciones escalonadas */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Media Queries Ultra Responsivas */
@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: var(--space-2xl);
    }
    
    .app-images {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 1rem;
        --space-2xl: 1.5rem;
        --space-3xl: 2rem;
        --space-4xl: 3rem;
    }
    
    section {
        padding: var(--space-3xl) var(--space-md);
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .app-images {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .btn {
        min-width: auto;
        width: 100%;
        margin: var(--space-sm) 0;
        padding: var(--space-md) var(--space-xl);
    }
    
    .feature-item {
        padding: var(--space-2xl);
        clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
    }
    
    .image-container {
        clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
    }
    
    header h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    #descripcion, #caracteristicas, #imagenes, #descargar {
        padding: 6rem 1rem;
    }
}

@media (max-width: 480px) {
    header {
        min-height: 80vh;
    }
    
    .header-content {
        padding: var(--space-2xl);
    }
    
    section {
        padding: var(--space-2xl) var(--space-sm);
    }
    
    .feature-item {
        padding: var(--space-xl);
        clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    }
    
    .btn {
        font-size: 1rem;
        padding: var(--space-md) var(--space-lg);
        clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    }
}

/* Efectos para dispositivos con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modo oscuro ultra */
@media (prefers-color-scheme: dark) {
    :root {
        --neon-cyan: #00ffff;
        --neon-purple: #9d4edd;
        --neon-pink: #ff006e;
        --electric-blue: #0077ff;
    }
}

/* Efectos especiales para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2) {
    .btn,
    .feature-item,
    .image-container {
        border-width: 0.5px;
    }
}

/* Optimizaciones para rendimiento */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Contenedor de efectos especiales */
.special-effects {
    position: relative;
    overflow: hidden;
}

.special-effects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.01) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 20, 147, 0.01) 50%, transparent 70%);
    animation: specialGlow 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes specialGlow {
    0% { 
        opacity: 0.3; 
        transform: scale(1) rotate(0deg);
    }
    100% { 
        opacity: 0.7; 
        transform: scale(1.1) rotate(180deg);
    }
}