:root {
    --primary-color: #00d2ff; /* Azul vibrante moderno */
    --secondary-color: #ff00c8; /* Rosa/Fucsia moderno */
    --accent-color: #7000ff; /* Morado eléctrico */
    --bg-light: #ffffff;
    --bg-soft: #f8f9fa;
    --text-main: #1a1a1a;
    --text-muted: #6c757d;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Exo 2', sans-serif;
    overflow: hidden;
    line-height: 1.6;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(255, 0, 200, 0.05), transparent);
}

.bg-pulse {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1), transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: bgExpand 2s ease-out forwards;
}

@keyframes bgExpand {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200vw; height: 200vw; opacity: 0; }
}

/* Eliminar efectos retro antiguos */
.synth-grid, .scanlines, .sun {
    display: none;
}

/* Tipografía 2026 */
.modern-text {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modern-title {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

.modern-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.italic-modern {
    font-family: 'Mr Dafoe', cursive;
    font-size: 2.5rem;
    color: var(--accent-color);
    display: inline-block;
}

/* Hero Section 2026 */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(255, 0, 200, 0.05), transparent);
}

.hero-logo {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    max-width: 500px;
}

.reveal-animation {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    animation: revealLogo 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* El float lo movemos al wrapper de atropos para evitar conflictos de transform */
.atropos-inner {
    animation: float 6s ease-in-out infinite 1.2s;
    overflow: visible !important;
}

/* Contenedor de revelación */
.logo-reveal-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.reveal-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shine 1.5s ease-in-out 0.5s;
    z-index: 2;
}

/* Partículas de fondo */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: opacity 0.5s ease;
}

.ripple-effect {
    position: fixed;
    border: 2px solid var(--primary-color);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: rippleAnim 1s ease-out forwards;
    z-index: 9999;
}

@keyframes rippleAnim {
    0% { width: 0; height: 0; opacity: 1; border-width: 4px; }
    100% { width: 500px; height: 500px; opacity: 0; border-width: 1px; }
}

.atropos {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.z-index-1 {
    z-index: 5;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: particleFly 4s infinite linear;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; width: 6px; height: 6px; }
.particle:nth-child(2) { left: 80%; top: 10%; animation-delay: 1s; background: var(--secondary-color); }
.particle:nth-child(3) { left: 40%; top: 80%; animation-delay: 2s; background: var(--accent-color); width: 8px; height: 8px; }
.particle:nth-child(4) { left: 90%; top: 70%; animation-delay: 1.5s; }
.particle:nth-child(5) { left: 20%; top: 60%; animation-delay: 2.5s; background: var(--secondary-color); }

@keyframes revealLogo {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes particleFly {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    20% { opacity: 0.4; }
    80% { opacity: 0.4; }
    100% { transform: translate(100px, -100px) scale(0); opacity: 0; }
}

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

/* Estilos Modernos 2026 */
.text-gradient-primary { 
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-modern {
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
}

/* Cards Modernas */
.card {
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.z-index-1 { z-index: 1; }

.service-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.nav-link {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main) !important;
    margin: 0 15px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 80%;
    }
    .italic-modern {
        font-size: 1.5rem;
    }
    .modern-text.display-3 {
        font-size: 2.5rem;
    }
}