/**
 * Estilos Modernos - Sistema de Edición Visual NaweCorp
 * 
 * Complementa a Tailwind CSS con estilos específicos del tema
 * Compatible con el sistema de diseño de NaweCorp
 * 
 * @package NaweCorp_Landing
 * @version 3.0.0
 */

/* =============================================================================
   VARIABLES CSS ESPECÍFICAS
   ============================================================================= */

:root {
    /* Colores específicos de NaweCorp */
    --nawe-primary: #2563eb;
    --nawe-secondary: #06b6d4;
    --nawe-accent: #9333ea;
    
    /* Animaciones personalizadas */
    --blob-duration: 7s;
    --float-duration: 6s;
    --pulse-duration: 4s;
    
    /* Colores de IA */
    --ai-cyan: #00d4ff;
    --ai-purple: #7c3aed;
    --ai-pink: #ec4899;
    --ai-green: #10b981;
    
    /* Paleta de Colores de Texto Mejorada */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --text-white: #ffffff;
    --text-blue: #2d3748;
    
    /* Colores de texto para fondos oscuros */
    --text-on-dark: #f7fafc;
    --text-on-dark-secondary: #e2e8f0;
    --text-on-dark-muted: #cbd5e0;
    
    /* Colores de acento para texto */
    --text-accent-blue: #3182ce;
    --text-accent-cyan: #0987a0;
    --text-accent-purple: #805ad5;
    --text-accent-pink: #d53f8c;
    --text-accent-green: #38a169;
    
    /* Colores específicos para secciones */
    --text-hero-primary: #ffffff;
    --text-hero-secondary: #bee3f8;
    --text-hero-accent: #90cdf4;
    
    /* Gradientes de texto */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-ai: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #ec4899 100%);
}

/* =============================================================================
   CLASES DE UTILIDAD PARA COLORES DE TEXTO
   ============================================================================= */

/* Colores de texto principales */
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text-light) !important; }
.text-white { color: var(--text-white) !important; }

/* Colores de texto para fondos oscuros */
.text-on-dark { color: var(--text-on-dark) !important; }
.text-on-dark-secondary { color: var(--text-on-dark-secondary) !important; }
.text-on-dark-muted { color: var(--text-on-dark-muted) !important; }

/* Colores de acento */
.text-accent-blue { color: var(--text-accent-blue) !important; }
.text-accent-cyan { color: var(--text-accent-cyan) !important; }
.text-accent-purple { color: var(--text-accent-purple) !important; }
.text-accent-pink { color: var(--text-accent-pink) !important; }
.text-accent-green { color: var(--text-accent-green) !important; }

/* Gradientes de texto */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-ai {
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: aiTextFlow 6s ease-in-out infinite;
}

/* Efectos adicionales de texto */
.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-shadow-md {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-glow-cyan {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.text-glow-purple {
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.text-glow-white {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* =============================================================================
   LOADER DE SITIO WEB - TRANSICIÓN INICIAL
   ============================================================================= */

.site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.site-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.ai-brain-loader {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
}

.brain-core {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--ai-cyan), var(--ai-purple), var(--ai-pink));
    background-clip: padding-box;
    animation: brainPulse 2s ease-in-out infinite;
    position: relative;
}

.brain-core::before {
    content: '◉';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    animation: brainFloat 3s ease-in-out infinite;
    color: var(--ai-purple);
    text-shadow: 0 0 20px var(--ai-purple);
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ai-cyan);
    animation: neuralPulse 1.5s ease-in-out infinite;
}

.neural-node:nth-child(1) { top: 10%; left: 50%; animation-delay: 0s; }
.neural-node:nth-child(2) { top: 30%; left: 80%; animation-delay: 0.3s; }
.neural-node:nth-child(3) { top: 70%; left: 20%; animation-delay: 0.6s; }
.neural-node:nth-child(4) { top: 90%; left: 60%; animation-delay: 0.9s; }

.loading-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--ai-cyan), var(--ai-purple), var(--ai-pink), var(--ai-green));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease-in-out infinite, textGlow 2s ease-in-out infinite;
    margin-bottom: 1rem;
}

.loading-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    animation: fadeInOut 2s ease-in-out infinite;
}

/* =============================================================================
   ANIMACIONES DE IA INNOVADORAS
   ============================================================================= */

@keyframes brainPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% { 
        transform: scale(1.1) rotate(180deg);
        box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
    }
}

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

@keyframes neuralPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
        background: var(--ai-cyan);
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
        background: var(--ai-pink);
    }
}

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

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    50% { 
        text-shadow: 0 0 20px rgba(124, 58, 237, 0.8);
    }
}

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

/* Animación de matriz de código AI */
@keyframes matrixCode {
    0% { 
        transform: translateY(-100vh);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh);
        opacity: 0;
    }
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.matrix-column {
    position: absolute;
    top: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--ai-cyan);
    white-space: nowrap;
    animation: matrixCode 8s linear infinite;
}

/* Animación de partículas AI */
@keyframes aiParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

.ai-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--ai-cyan);
    border-radius: 50%;
    animation: aiParticle 6s linear infinite;
}

/* Efecto de circuit board */
@keyframes circuitPulse {
    0%, 100% { 
        opacity: 0.3;
        stroke-dashoffset: 100;
    }
    50% { 
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

.circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.circuit-line {
    stroke: var(--ai-cyan);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 10;
    animation: circuitPulse 4s ease-in-out infinite;
}

/* =============================================================================
   EFECTOS DE IA EN HERO SECTION
   ============================================================================= */

.ai-innovation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Cerebro AI flotante */
.floating-ai-brain {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    opacity: 0.6;
    animation: brainMegaFloat 12s ease-in-out infinite;
}

.ai-brain-glow {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--ai-cyan) 0%, var(--ai-purple) 50%, transparent 70%);
    border-radius: 50%;
    animation: brainGlow 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

@keyframes brainMegaFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% { 
        transform: translate(-10px, -15px) rotate(2deg) scale(1.02);
    }
    50% { 
        transform: translate(10px, -20px) rotate(-2deg) scale(0.98);
    }
    75% { 
        transform: translate(-5px, -10px) rotate(1deg) scale(1.01);
    }
}

@keyframes brainGlow {
    0%, 100% { 
        filter: brightness(1) contrast(1);
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    }
    50% { 
        filter: brightness(1.5) contrast(1.2);
        box-shadow: 0 0 60px rgba(124, 58, 237, 0.8);
    }
}

/* Código binario cayendo */
.binary-rain {
    position: absolute;
    top: -10px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    color: var(--ai-cyan);
    animation: binaryFall linear infinite;
    opacity: 0.7;
}

@keyframes binaryFall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Conexiones neurales */
.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neural-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ai-cyan), transparent);
    animation: neuralFlow 4s ease-in-out infinite;
}

@keyframes neuralFlow {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        width: 200px;
        opacity: 1;
    }
    100% {
        width: 0;
        opacity: 0;
    }
}

/* Hologramas AI */
.ai-hologram {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    border: 2px solid var(--ai-cyan);
    border-radius: 10px;
    animation: hologramFloat 10s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.ai-hologram::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--ai-cyan), var(--ai-purple), var(--ai-pink));
    border-radius: 15px;
    z-index: -1;
    animation: hologramGlow 2s ease-in-out infinite;
}

@keyframes hologramFloat {
    0%, 100% { 
        transform: translateY(0) rotateY(0deg);
    }
    50% { 
        transform: translateY(-10px) rotateY(90deg);
    }
}

@keyframes hologramGlow {
    0%, 100% { 
        opacity: 0.3;
    }
    50% { 
        opacity: 0.8;
    }
}

/* Partículas AI inteligentes */
.smart-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--ai-cyan);
    border-radius: 50%;
    animation: smartParticleMove 10s linear infinite;
}

.smart-particle::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid var(--ai-purple);
    border-radius: 50%;
    animation: particleGlow 1.5s ease-in-out infinite;
}

@keyframes smartParticleMove {
    0% { 
        transform: translate(0, 100vh) scale(0);
    }
    10% {
        transform: scale(1);
    }
    50% {
        transform: translate(50px, 50vh) scale(1.2);
    }
    90% {
        transform: scale(1);
    }
    100% { 
        transform: translate(100px, -100vh) scale(0);
    }
}

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

/* Texto con efecto de máquina de escribir AI */
.ai-typewriter {
    border-right: 3px solid var(--ai-cyan);
    animation: typewriterBlink 1s step-end infinite;
}

@keyframes typewriterBlink {
    0%, 50% { border-color: var(--ai-cyan); }
    51%, 100% { border-color: transparent; }
}

/* Ondas de energía AI */
.energy-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.energy-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--ai-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: energyWaveExpand 4s ease-out infinite;
}

.energy-wave:nth-child(2) { animation-delay: 1s; }
.energy-wave:nth-child(3) { animation-delay: 2s; }
.energy-wave:nth-child(4) { animation-delay: 3s; }

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

/* =============================================================================
   ANIMACIONES PERSONALIZADAS ORIGINALES
   ============================================================================= */

@keyframes blob {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1); 
    }
    33% { 
        transform: translate(30px, -50px) scale(1.1); 
    }
    66% { 
        transform: translate(-20px, 20px) scale(0.9); 
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

@keyframes pulse-slow {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* =============================================================================
   CLASES DE ANIMACIÓN
   ============================================================================= */

.animate-blob {
    animation: blob var(--blob-duration) infinite;
}

.animate-float {
    animation: float var(--float-duration) ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-slow var(--pulse-duration) ease-in-out infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Delays para animaciones escalonadas */
.animation-delay-100 { animation-delay: 100ms; }
.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-300 { animation-delay: 300ms; }
.animation-delay-400 { animation-delay: 400ms; }
.animation-delay-500 { animation-delay: 500ms; }
.animation-delay-1000 { animation-delay: 1000ms; }
.animation-delay-1500 { animation-delay: 1500ms; }
.animation-delay-2000 { animation-delay: 2000ms; }
.animation-delay-3000 { animation-delay: 3000ms; }
.animation-delay-4000 { animation-delay: 4000ms; }

/* =============================================================================
   EFECTOS VISUALES MODERNOS
   ============================================================================= */

/* Glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Gradientes avanzados */
.gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-border {
    position: relative;
    background: white;
    border-radius: 1rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, #06b6d4, #2563eb, #9333ea);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

/* Efectos de hover avanzados */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* =============================================================================
   COMPONENTES ESPECÍFICOS DE NAWECORP
   ============================================================================= */

/* Header moderno */
.modern-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Cards de productos */
.product-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(37, 99, 235, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

/* Badges modernos */
.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: #1e40af;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Botones modernos */
.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-btn:hover::before {
    opacity: 1;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Formularios modernos */
.modern-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(156, 163, 175, 0.3);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.modern-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: white;
}

.modern-input::placeholder {
    color: rgba(107, 114, 128, 0.7);
}

/* =============================================================================
   EFECTOS DE SCROLL
   ============================================================================= */

.parallax-element {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================================================
   RESPONSIVE Y ACCESIBILIDAD
   ============================================================================= */

/* Modo de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .animate-blob,
    .animate-float,
    .animate-pulse-slow,
    .animate-gradient {
        animation: none;
    }
    
    .hover-lift:hover {
        transform: none;
    }
}

/* Responsive para tablets */
@media (max-width: 768px) {
    .product-card {
        padding: 1.5rem;
    }
    
    .modern-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .modern-input {
        padding: 0.875rem 1rem;
    }
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .product-card {
        padding: 1rem;
    }
    
    .modern-btn {
        width: 100%;
        justify-content: center;
    }
    
    .glass-effect,
    .glass-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* =============================================================================
   UTILIDADES ESPECÍFICAS
   ============================================================================= */

/* Textos */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Bordes */
.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #06b6d4, #2563eb, #9333ea) border-box;
}

/* Espaciado personalizado */
.space-y-24 > * + * {
    margin-top: 6rem;
}

.space-y-32 > * + * {
    margin-top: 8rem;
}

/* Estados de carga */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Animación de entrada del contenido principal */
.content-reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: contentReveal 1.2s ease-out 4.2s forwards;
}

@keyframes contentReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efecto de aparición escalonada para elementos */
.stagger-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerReveal 0.8s ease-out forwards;
}

.stagger-reveal:nth-child(1) { animation-delay: 4.5s; }
.stagger-reveal:nth-child(2) { animation-delay: 4.7s; }
.stagger-reveal:nth-child(3) { animation-delay: 4.9s; }
.stagger-reveal:nth-child(4) { animation-delay: 5.1s; }

@keyframes staggerReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efectos especiales para texto AI - Versión sutil */
.ai-text-effect {
    background: linear-gradient(45deg, var(--ai-cyan), var(--ai-purple), var(--ai-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: aiTextFlow 6s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes aiTextFlow {
    0%, 100% { 
        background-position: 0% 50%; 
        filter: brightness(1);
    }
    50% { 
        background-position: 100% 50%; 
        filter: brightness(1.1);
    }
}

/* =============================================================================
   MODO OSCURO (PREPARADO PARA FUTURAS VERSIONES)
   ============================================================================= */

@media (prefers-color-scheme: dark) {
    /* Variables para modo oscuro */
    .glass-effect {
        background: rgba(17, 24, 39, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .glass-card {
        background: rgba(31, 41, 55, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}