/* Texto neón */
.neon-text {
    color: white;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(236, 116, 252, 0.5),
        0 0 40px rgba(236, 116, 252, 0.4),
        0 0 80px rgba(236, 116, 252, 0.3),
        0 0 90px rgba(236, 116, 252, 0.2),
        0 0 100px rgba(236, 116, 252, 0.1),
        0 0 150px rgba(236, 116, 252, 0.05);
}

/* Glitch sutil */
.glitch { position: relative; letter-spacing: 1px; }
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.6;
}
.glitch::before { left: 1px; text-shadow: -1px 0 #00fffc; animation: glitch-anim-1 5s infinite linear alternate-reverse; }
.glitch::after  { left: -1px; text-shadow: 1px 0 #fc00ff; animation: glitch-anim-2 4s infinite linear alternate-reverse; }

/* Letras flotantes */
.floating-letters { display: inline-block; position: relative; }
.floating-letters:nth-child(odd)  { animation: float-up-down 3s ease-in-out infinite; }
.floating-letters:nth-child(even) { animation: float-up-down 2.5s ease-in-out infinite reverse; }
.floating-letters:nth-child(3n)   { animation-duration: 3.5s; }
.floating-letters:nth-child(3n+1) { animation-duration: 4s; }

@keyframes float-up-down { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-5px);} }
@keyframes glitch-anim-1 {
    0%,95%{clip-path:inset(100% 0 0 0);} 10%,15%{clip-path:inset(40% 0 58% 0);} 20%,25%{clip-path:inset(62% 0 37% 0);} 30%,35%{clip-path:inset(14% 0 83% 0);} 40%,45%{clip-path:inset(56% 0 43% 0);} 50%,55%{clip-path:inset(7% 0 91% 0);} }
@keyframes glitch-anim-2 {
    0%,95%{clip-path:inset(0 0 100% 0);} 15%,20%{clip-path:inset(60% 0 25% 0);} 25%,30%{clip-path:inset(34% 0 63% 0);} 35%,40%{clip-path:inset(87% 0 10% 0);} 45%,50%{clip-path:inset(23% 0 75% 0);} }

/* Estilos para el hero section mejorado */
.hero-section {
    padding: 2rem 0;
}

.hero-title-container h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description p {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-image-container {
    animation: fadeInRight 1s ease-out 0.5s both;
}

/* Botón secundario con efecto glass */
.glass-button-secondary {
    background: rgba(139, 92, 246, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-section .grid {
        gap: 3rem;
    }
    
    .hero-title-container h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions a {
        min-width: auto;
        width: 100%;
    }
    
    .hero-title-container h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle p {
        font-size: 1.25rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
}

.glass-button-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
