/* Estilos para Formación Cyber - Theme Cyber Futurista */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Roboto+Mono:wght@300;400;500;600;700&display=swap');

:root {
    --neon-cyan: #00ffff;
    --neon-magenta: #ff00ff;
    --neon-green: #00ff00;
    --neon-yellow: #ffff00;
    --neon-red: #ff003c;
    --dark-bg: #000000;
    --darker-bg: #0a0a0a;
    --dark-purple: #0f0824;
    --medium-purple: #1a103a;
    --light-purple: #2a1b5a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-purple) 50%, var(--darker-bg) 100%);
    color: white;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    /* Títulos estáticos sin animación */
    animation: none !important;
    transform: none !important;
}


/* Cyber Cursor */
.cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
    mix-blend-mode: screen;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--neon-magenta);
    box-shadow: 0 0 10px var(--neon-magenta);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    mix-blend-mode: screen;
}

/* Shield Particles - Reemplaza las partículas circulares */
.shield-particle {
    position: absolute;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 1;
    animation: shieldFloat 8s ease-in-out infinite;
    opacity: 0.7;
}

.shield-particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--neon-cyan);
    clip-path: polygon(50% 0%, 0% 38%, 0% 100%, 100% 100%, 100% 38%);
    box-shadow: 
        0 0 10px currentColor,
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: shieldGlow 3s ease-in-out infinite alternate;
}

.shield-particle.green::before {
    background: var(--neon-green);
}

.shield-particle.magenta::before {
    background: var(--neon-magenta);
}

.shield-particle.yellow::before {
    background: var(--neon-yellow);
}

/* Security Icon Particles */
.security-icon {
    position: absolute;
    width: 25px;
    height: 25px;
    pointer-events: none;
    z-index: 1;
    animation: securityFloat 10s linear infinite;
    opacity: 0.6;
    font-size: 20px;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px currentColor;
}

/* Lock Icon */
.lock-icon::before {
    content: '🔒';
    filter: hue-rotate(180deg) brightness(2);
}

/* Key Icon */
.key-icon::before {
    content: '🔑';
    filter: hue-rotate(120deg) brightness(1.5);
}

/* Warning Icon */
.warning-icon::before {
    content: '⚠️';
    filter: hue-rotate(60deg) brightness(1.5);
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(26, 16, 58, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px 0 rgba(0, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.glass-card:hover {
    border: 1px solid var(--neon-cyan);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-8px) scale(1.02);
}

/* Neon Text */
.gradient-text {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-magenta) 50%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.neon-text {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor;
}

.text-cyan { color: var(--neon-cyan); }
.text-magenta { color: var(--neon-magenta); }
.text-green { color: var(--neon-green); }
.text-yellow { color: var(--neon-yellow); }
.text-red { color: var(--neon-red); }

/* Animations */
@keyframes shieldFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-30px) translateX(15px) rotate(5deg); 
    }
    50% { 
        transform: translateY(-10px) translateX(-20px) rotate(-3deg); 
    }
    75% { 
        transform: translateY(-25px) translateX(10px) rotate(2deg); 
    }
}

@keyframes shieldGlow {
    0% { 
        filter: brightness(1) drop-shadow(0 0 5px currentColor); 
    }
    100% { 
        filter: brightness(1.3) drop-shadow(0 0 15px currentColor); 
    }
}

@keyframes securityFloat {
    0% {
        transform: translateX(-50px) translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(100vw + 50px)) translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1;
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.8;
    }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); 
    }
    50% { 
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.6); 
    }
}

@keyframes neonGlow {
    0%, 100% { 
        text-shadow: 0 0 5px currentColor, 0 0 10px currentColor; 
    }
    50% { 
        text-shadow: 0 0 15px currentColor, 0 0 25px currentColor; 
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
    0% { 
        filter: blur(5px); 
        opacity: 0.7; 
    }
    50% { 
        filter: blur(8px); 
        opacity: 1; 
    }
    100% { 
        filter: blur(5px); 
        opacity: 0.7; 
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-purple) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--neon-cyan);
    animation: rotate 1.5s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-3d:hover {
    transform: rotateY(15deg) rotateX(10deg) translateZ(20px);
}

/* Highlighted Plan */
.highlighted-plan {
    transform: scale(1.05);
    border: 2px solid var(--neon-magenta);
    box-shadow: 
        0 0 40px rgba(255, 0, 255, 0.4),
        inset 0 0 30px rgba(255, 0, 255, 0.1);
    position: relative;
    z-index: 2;
}

.highlighted-plan::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-magenta), var(--neon-cyan));
    z-index: -1;
    border-radius: inherit;
    animation: borderGlow 3s linear infinite;
}

/* Static Elements - Sin animación de flotado */
.static-element {
    animation: none !important;
    transform: none !important;
}

/* Wave Background */
.wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 255, 0.1) 50%, rgba(0, 255, 255, 0.05) 100%);
    z-index: -1;
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>');
    mask-size: cover;
    mask-repeat: no-repeat;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-magenta) 100%);
    color: black;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: var(--neon-cyan);
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

/* Form Elements */
.form-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(26, 16, 58, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-family: 'Roboto Mono', monospace;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    background: rgba(26, 16, 58, 0.9);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--neon-cyan);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* Header Styles */
#header {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(10, 5, 24, 0.9) !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .glass-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(26, 16, 58, 0.9);
    }
    
    .cursor, .cursor-follower {
        display: none;
    }
    
    body {
        cursor: default;
    }
    
    .highlighted-plan {
        transform: scale(1);
    }
    
    .card-3d:hover {
        transform: none;
    }
    
    #mobile-nav {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .shield-particle,
    .security-icon {
        display: none;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.neon-glow {
    animation: neonGlow 1.5s ease-in-out infinite alternate;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-purple);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-magenta) 100%);
    border-radius: 6px;
    border: 2px solid var(--dark-purple);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--neon-magenta) 0%, var(--neon-cyan) 100%);
}

/* Selection Styles */
::selection {
    background: var(--neon-cyan);
    color: black;
}

::-moz-selection {
    background: var(--neon-cyan);
    color: black;
}

/* Shield Protection Effect */
.shield-protection {
    position: relative;
}

.shield-protection::before {
    content: '🛡️';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
    filter: hue-rotate(180deg) brightness(2);
    animation: shieldGlow 2s ease-in-out infinite alternate;
    z-index: 5;
}