/* ========================================
   CYBERGUARD - ESTILOS COMPLETOS RESPONSIVOS
   ======================================== */

:root {
    --primary-cyan: #00ffff;
    --primary-magenta: #ff00ff;
    --primary-blue: #0066ff;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --header-bg: rgba(5, 8, 20, 0.95);
    --glass-border: rgba(0, 255, 255, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --shadow-glow: 0 0 20px rgba(0, 255, 255, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 70px;
    --mobile-header-height: 65px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f3a 50%, var(--darker-bg) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 16px;
}

/* ========================================
   HEADER - RESPONSIVO
   ======================================== */

.cyber-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo-container {
    position: relative;
    flex-shrink: 0;
}

.cyber-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    border-radius: 10px;
    animation: floatIcon 3s ease-in-out infinite;
}

.logo-icon i {
    font-size: 22px;
    color: var(--darker-bg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.55rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    opacity: 0.6;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Navegación - Mobile First */
.cyber-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background: rgba(5, 8, 20, 0.98);
    backdrop-filter: blur(20px);
    transition: left 0.3s ease-in-out;
    z-index: 999;
    border-right: 1px solid var(--glass-border);
    overflow-y: auto;
}

.cyber-nav.active {
    left: 0;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 20px;
    gap: 8px;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-item a i {
    width: 24px;
    font-size: 1.1rem;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.1);
}

.nav-indicator {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.search-btn, .admin-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--primary-cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.admin-btn span {
    display: none;
}

.search-btn:hover, .admin-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.05);
}

.system-status {
    display: none;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-cyan);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 255, 255, 0.1);
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta));
    transition: width 0.1s ease-out;
}

/* ========================================
   HERO INTERACTIVA - RESPONSIVA
   ======================================== */

.hero-interactive {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 40px) 20px 60px;
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 14, 39, 0.3) 0%, rgba(5, 8, 20, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
}

.hero-badge i {
    color: var(--primary-cyan);
    font-size: 0.8rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.title-gradient {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5)); }
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
    padding: 0 10px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-stat {
    text-align: center;
    min-width: 70px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-name {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline {
    padding: 11px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    color: #000;
}

.btn-primary.glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 255, 0.5); }
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.btn-outline {
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-outline:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s linear infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 85%; animation-delay: 2s; width: 3px; height: 3px; }
.particle:nth-child(3) { top: 80%; left: 15%; animation-delay: 4s; }
.particle:nth-child(4) { top: 30%; left: 80%; animation-delay: 1s; width: 1px; height: 1px; }
.particle:nth-child(5) { top: 70%; left: 50%; animation-delay: 3s; width: 2px; height: 2px; }
.particle:nth-child(6) { top: 90%; left: 70%; animation-delay: 5s; width: 3px; height: 3px; }

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: none;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 7px;
    background: var(--primary-cyan);
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   ACERCA DE NOSOTROS - RESPONSIVO
   ======================================== */

.about-section {
    padding: 50px 20px;
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 255, 0.05), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.section-badge i {
    color: var(--primary-cyan);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding: 0 10px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    padding: 0 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-text {
    margin-bottom: 30px;
}

.about-text h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text h3 i {
    color: var(--primary-cyan);
    font-size: 1.2rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.about-cards {
    display: grid;
    gap: 16px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-cyan);
    margin-bottom: 12px;
}

.value-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Timeline - Responsive */
.timeline-section {
    margin-top: 40px;
}

.timeline-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-cyan), var(--primary-magenta));
}

.timeline-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    position: relative;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    width: 12px;
    height: 12px;
    background: var(--primary-cyan);
    border-radius: 50%;
    top: 5px;
}

.timeline-date {
    padding: 5px 0;
    font-weight: 700;
    color: var(--primary-cyan);
    font-size: 0.9rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    margin-top: 8px;
}

.timeline-content h4 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* CTA */
.about-cta {
    margin-top: 50px;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 20px;
    text-align: center;
}

.cta-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-secondary {
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: scale(1.05);
}

/* ========================================
   SECCIÓN VISUAL CON IMAGEN - RESPONSIVA
   ======================================== */

.visual-section {
    margin: 50px 0;
}

.visual-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.visual-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.visual-image {
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cyber-image {
    width: 100%;
    height: auto;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .cyber-image {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(255, 0, 255, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.image-wrapper:hover .glow-effect {
    opacity: 1;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(5, 8, 20, 0.8), transparent);
    z-index: 1;
}

.image-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    background: rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.image-badge i {
    color: var(--primary-cyan);
    font-size: 0.7rem;
}

.visual-content {
    z-index: 1;
}

.visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 30px;
    margin-bottom: 15px;
    font-size: 0.75rem;
}

.visual-badge i {
    color: var(--primary-cyan);
    font-size: 0.75rem;
}

.visual-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.visual-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.visual-features {
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.feature-item i {
    color: var(--primary-cyan);
    font-size: 0.9rem;
}

.visual-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    flex-wrap: wrap;
}

.visual-stat {
    text-align: center;
}

.visual-number {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 3px;
}

.visual-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ========================================
   MODAL DE BÚSQUEDA - RESPONSIVO
   ======================================== */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 15px;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    max-width: 650px;
    width: 100%;
    background: rgba(10, 14, 39, 0.98);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-header {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    background: rgba(0, 255, 255, 0.05);
    border-bottom: 1px solid var(--glass-border);
    gap: 12px;
}

.search-header i:first-child {
    color: var(--primary-cyan);
    font-size: 1rem;
}

.search-header input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.search-header input::placeholder {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.search-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-results-header {
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.results-count {
    color: var(--primary-cyan);
    font-weight: 600;
    background: rgba(0, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.results-list {
    padding: 10px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.result-item:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: var(--glass-border);
}

.result-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-icon i {
    font-size: 1.2rem;
    color: var(--primary-cyan);
}

.result-content {
    flex: 1;
}

.result-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.result-category {
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 12px;
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-cyan);
}

.result-category.servicio {
    background: rgba(255, 0, 255, 0.1);
    color: var(--primary-magenta);
}

.result-description {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.result-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.result-tag {
    font-size: 0.6rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    padding: 2px 6px;
    border-radius: 10px;
}

.result-arrow {
    display: none;
}

.search-tips {
    padding: 12px 18px;
    background: rgba(0, 255, 255, 0.03);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    border-radius: 0 0 20px 20px;
    flex-wrap: wrap;
}

.search-tips i {
    color: var(--primary-cyan);
}

/* No results */
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.no-results i {
    font-size: 2rem;
    color: var(--primary-cyan);
    margin-bottom: 12px;
    opacity: 0.5;
}

.no-results p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.no-results small {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Scrollbar */
.search-results::-webkit-scrollbar {
    width: 4px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 10px;
}

/* ========================================
   FOOTER - RESPONSIVO
   ======================================== */

.cyber-footer-simple {
    background: linear-gradient(180deg, rgba(5, 8, 20, 0.95) 0%, #050814 100%);
    border-top: 1px solid var(--glass-border);
    padding: 20px 16px;
    margin-top: 40px;
}

.footer-simple-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-simple-text {
    color: var(--text-secondary);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.footer-simple-text i {
    color: var(--primary-cyan);
    font-size: 0.7rem;
}

/* ========================================
   ANIMACIONES DE INICIALIZACIÓN
   ======================================== */

/* Preloader */
.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0e27;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: preloaderPulse 1s ease-in-out infinite;
}

.preloader-logo i {
    font-size: 32px;
    color: #0a0e27;
}

.preloader-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.preloader-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.preloader-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary-cyan);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.preloader-dots span:nth-child(1) { animation-delay: 0s; }
.preloader-dots span:nth-child(2) { animation-delay: 0.2s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 255, 255, 0.5); }
}

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
    40% { transform: scale(1.2); opacity: 1; }
}

.page-content {
    opacity: 0;
    animation: contentFadeIn 0.8s ease-out forwards;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animaciones secuenciales */
.hero-badge {
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-description {
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 0.6s ease-out 1s forwards;
    opacity: 0;
}

/* Animación para elementos About */
.about-section .section-badge {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.1s;
}

.about-section .section-title {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.about-section .section-subtitle {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

.value-card {
    opacity: 0;
    animation: cardReveal 0.5s ease-out forwards;
}

.value-card:nth-child(1) { animation-delay: 0.4s; }
.value-card:nth-child(2) { animation-delay: 0.5s; }
.value-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    opacity: 0;
    animation: timelineReveal 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.7s; }
.timeline-item:nth-child(2) { animation-delay: 0.8s; }
.timeline-item:nth-child(3) { animation-delay: 0.9s; }

@keyframes timelineReveal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about-cta {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 1s forwards;
}

/* ========================================
   TABLET (768px - 1024px)
   ======================================== */

@media (min-width: 768px) {
    .header-container {
        padding: 0 24px;
        height: 80px;
    }
    
    .logo-icon {
        width: 48px;
        height: 48px;
    }
    
    .logo-icon i {
        font-size: 28px;
    }
    
    .logo-main {
        font-size: 1.6rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-name {
        font-size: 0.8rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .visual-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 35px;
    }
    
    .visual-title {
        font-size: 1.8rem;
    }
    
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        flex-direction: row;
        justify-content: space-between;
        padding-left: 0;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row-reverse;
    }
    
    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
        top: 20px;
    }
    
    .timeline-date {
        width: 120px;
        padding: 10px;
        text-align: center;
    }
    
    .timeline-content {
        width: calc(50% - 70px);
        margin-top: 0;
    }
    
    .scroll-indicator span {
        display: block;
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .system-status {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 5px 12px;
        background: rgba(0, 255, 255, 0.05);
        border-radius: 30px;
        border: 1px solid var(--glass-border);
    }
    
    .status-text {
        font-size: 0.8rem;
        color: var(--text-secondary);
    }
    
    .admin-btn span {
        display: inline;
    }
    
    .admin-btn {
        width: auto;
        padding: 0 16px;
        gap: 8px;
    }
    
    .cyber-nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        border-right: none;
        overflow: visible;
    }
    
    .nav-menu {
        flex-direction: row;
        padding: 0;
        gap: 4px;
    }
    
    .nav-item a {
        padding: 8px 16px;
    }
    
    .nav-item a i {
        width: auto;
    }
    
    .nav-indicator {
        display: block;
    }
    
    .mobile-toggle {
        display: none;
    }
    
    .hero-interactive {
        padding: 100px 30px 80px;
    }
}

/* ========================================
   DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 50px;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .about-grid {
        gap: 50px;
    }
    
    .visual-container {
        gap: 50px;
        padding: 40px;
    }
    
    .visual-title {
        font-size: 2.2rem;
    }
    
    .result-arrow {
        display: flex;
        color: var(--primary-cyan);
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }
    
    .result-item:hover .result-arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   PANTALLAS MUY PEQUEÑAS (hasta 360px)
   ======================================== */

@media (max-width: 480px) {
    .header-container {
        padding: 0 12px;
        height: 60px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-icon i {
        font-size: 18px;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-sub {
        font-size: 0.45rem;
        letter-spacing: 1px;
    }
    
    .search-btn, .admin-btn {
        width: 32px;
        height: 32px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-name {
        font-size: 0.6rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        padding: 9px 18px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .visual-container {
        padding: 20px;
    }
    
    .visual-title {
        font-size: 1.3rem;
    }
    
    .visual-stats {
        gap: 15px;
    }
    
    .visual-number {
        font-size: 1.1rem;
    }
    
    .cta-content h3 {
        font-size: 1.1rem;
    }
    
    .search-modal {
        padding: 50px 12px;
    }
    
    .search-header {
        padding: 12px 15px;
    }
    
    .search-header input {
        font-size: 0.85rem;
    }
    
    .result-item {
        padding: 10px;
    }
    
    .result-icon {
        width: 35px;
        height: 35px;
    }
    
    .result-icon i {
        font-size: 1rem;
    }
}

/* Efecto de brillo en botones */
.btn-primary::before, .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.btn-primary, .btn-outline {
    position: relative;
    overflow: hidden;
}

@keyframes shimmer {
    0% { left: -100%; }
    20%, 100% { left: 100%; }
}