/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Estilos personalizados */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --neutral: #1f2937;
    --neon-blue: #00f3ff;
    --neon-purple: #9d00ff;
    --dark-bg: #0a0a0a;
    --header-height: 80px;
}

/* Ajustes de scroll suave */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

/* Ajustes de tipografía */
body {
    font-family: 'Rajdhani', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    color: #fff;
    min-height: 100vh;
}

/* Efectos de texto futurista */
.hero-title {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(120deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(120deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: blur(8px);
}

/* Ajustes de navegación */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.8) !important;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    padding: 1rem 0;
}

.navbar-toggler {
    border-color: rgba(0, 243, 255, 0.2) !important;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 243, 255, 0.2) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 243, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease !important;
}

.nav-link:hover {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        border: 1px solid rgba(0, 243, 255, 0.1);
    }

    .nav-link {
        text-align: center;
        padding: 0.75rem !important;
        border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    }

    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

/* Tarjetas de servicios */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.service-card i {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Botones futuristas */
.btn-futuristic {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-futuristic:hover::before {
    left: 100%;
}

/* Animaciones de scroll */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Efectos de parallax */
.parallax {
    will-change: transform;
    transform: translateY(0);
}

/* Grid futurista */
.grid-futuristic {
    position: relative;
}

.grid-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

/* Sección hero con efecto de gradiente animado */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 243, 255, 0.1) 0%,
        rgba(157, 0, 255, 0.1) 100%);
    animation: gradientAnimation 15s ease infinite;
    z-index: -1;
}

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

/* Estilos para la sección Nosotros */
.text-neon-blue {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* Estadísticas con efecto hover */
.stats-card {
    transition: all 0.3s ease-in-out;
}

.stats-card:hover .text-4xl {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.stats-card .text-4xl {
    transition: all 0.3s ease-in-out;
}

/* Menú móvil */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    z-index: 40;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.25rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-blue);
}

.menu-btn {
    position: relative;
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-btn .bar {
    display: block;
    width: 100%;
    height: 2px;
    margin: 6px 0;
    background: white;
    transition: all 0.3s ease;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .scroll-animate {
        transform: translateY(20px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

.parallax img {
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

.parallax img {
    filter: brightness(125%);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}
