:root {
    --bg-main: #020204;
    --neon-cyan: #00f2ff;
    --neon-orange: #ff6600;
    --neon-purple: #bc13fe;
    --text-white: #fff;
    --text-gray: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-main); color: var(--text-white); font-family: 'Outfit', sans-serif; overflow-x: hidden; }

/* Fondo */
.space-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -2;
    background: radial-gradient(circle at 50% 100%, #1a0a00 0%, #000 70%);
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
}

/* Navegación */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; 
    height: 140px; 
    position: fixed; width: 100%; top: 0; z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95), transparent);
}
.logo-box { flex-shrink: 0; height: 100%; display: flex; align-items: center; }

/* LOGO */
.main-logo { 
    height: 120px !important; width: auto; 
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.4)); transition: 0.3s;
}
.main-logo:hover { transform: scale(1.05); }

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: #ccc; font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: white; text-shadow: 0 0 10px white; }

.btn-aula {
    border: 2px solid var(--neon-orange); color: var(--neon-orange); padding: 10px 30px;
    border-radius: 50px; font-family: 'Rajdhani'; font-weight: 700; transition: 0.3s;
    background: rgba(0,0,0,0.5);
}
.btn-aula:hover { background: var(--neon-orange); color: #000; box-shadow: 0 0 30px var(--neon-orange); }

/* --- HERO SPLIT --- */
.hero-split {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 100vh; padding: 0 8%; padding-top: 120px; position: relative;
}

/* IZQUIERDA */
.hero-text { width: 50%; padding-right: 40px; z-index: 2; }

.status-badge {
    color: var(--neon-cyan); font-family: 'Rajdhani'; font-weight: 700; letter-spacing: 2px;
    font-size: 0.9rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.status-light { width: 8px; height: 8px; background: var(--neon-cyan); border-radius: 50%; box-shadow: 0 0 10px var(--neon-cyan); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Título Ajustado para el texto más largo */
.hero-title {
    font-family: 'Rajdhani'; 
    font-size: 4.5rem; /* Reducido un poco para que quepa bien */
    line-height: 1; 
    margin-bottom: 30px; 
    font-weight: 900; 
    text-transform: uppercase;
    color: white; 
}

.hero-desc { font-size: 1.1rem; color: #aaa; margin-bottom: 40px; line-height: 1.6; max-width: 600px; }

.hero-actions { display: flex; align-items: center; gap: 40px; }

.btn-main {
    background: var(--neon-orange); color: white; padding: 15px 40px;
    text-decoration: none; font-weight: 800; font-family: 'Rajdhani'; 
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: 0.3s;
}
.btn-main:hover { transform: translateX(5px); box-shadow: 0 0 40px var(--neon-orange); background: white; color: var(--neon-orange); }

.stats-box { display: flex; gap: 30px; border-left: 1px solid #333; padding-left: 30px; }
.stat strong { display: block; font-size: 1.2rem; font-family: 'Rajdhani'; color: white; }
.stat span { font-size: 0.7rem; color: #666; letter-spacing: 1px; }

/* DERECHA: IMAGEN (Tamaño Controlado) */
.hero-visual { 
    width: 50%; height: auto; position: relative; 
    display: flex; align-items: center; justify-content: center;
    perspective: 1000px; padding: 20px;
}

.holo-frame {
    width: 100%; max-width: 600px; height: 450px; 
    position: relative; transform-style: preserve-3d; transition: transform 0.1s;
}

.holo-img { 
    width: 100%; height: 100%; object-fit: cover; 
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.1); 
    border: 1px solid rgba(0, 242, 255, 0.2); 
    mix-blend-mode: normal; 
}

.holo-glow {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 242, 255, 0.1) 100%);
    border-radius: 15px; pointer-events: none;
}

.corner-tech::before, .corner-tech::after {
    content: ''; position: absolute; width: 30px; height: 30px;
    border: 2px solid var(--neon-cyan); border-radius: 2px;
}
.corner-tech::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.corner-tech::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }


/* --- SERVICIOS (CENTRADO) --- */
.services-section { padding: 100px 8%; position: relative; z-index: 2; }

/* Centrado del encabezado */
.section-head { 
    margin-bottom: 60px; 
    text-align: center; /* Centra el texto */
    display: flex; flex-direction: column; align-items: center; /* Centra la caja */
}

.sub-tag { 
    color: var(--neon-cyan); font-weight: 700; letter-spacing: 3px; font-size: 0.8rem; 
    text-transform: uppercase; display: inline-block;
}

.section-head h2 { font-family: 'Rajdhani'; font-size: 3rem; color: white; margin-top: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card-tech {
    background: #0a0a0a; border: 1px solid rgba(255,255,255,0.1);
    padding: 40px; border-radius: 15px; transition: 0.2s;
    transform-style: preserve-3d; perspective: 1000px;
    display: flex; flex-direction: column; align-items: flex-start;
}
.card-tech:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.icon-box { font-size: 2.5rem; margin-bottom: 20px; transform: translateZ(20px); }
.cyan { color: var(--neon-cyan); filter: drop-shadow(0 0 10px var(--neon-cyan)); }
.orange { color: var(--neon-orange); filter: drop-shadow(0 0 10px var(--neon-orange)); }
.purple { color: var(--neon-purple); filter: drop-shadow(0 0 10px var(--neon-purple)); }

.card-tech h3 { font-size: 1.5rem; margin-bottom: 15px; color: white; transform: translateZ(15px); }
.card-tech p { color: #888; font-size: 0.95rem; margin-bottom: 30px; transform: translateZ(10px); }
.card-tech a { font-size: 0.8rem; font-weight: 700; text-decoration: none; letter-spacing: 1px; transform: translateZ(20px); display: inline-block; }

.link-cyan { color: var(--neon-cyan); }
.link-orange { color: var(--neon-orange); }
.link-purple { color: var(--neon-purple); }

footer { text-align: center; padding: 40px; color: #444; border-top: 1px solid #111; font-size: 0.8rem; background: #000; }

/* Mobile */
@media (max-width: 1024px) {
    .hero-split { flex-direction: column; text-align: center; height: auto; padding-top: 160px; padding-bottom: 60px; }
    .hero-text { width: 100%; padding: 0; margin-bottom: 50px; display: flex; flex-direction: column; align-items: center; }
    .hero-visual { width: 100%; }
    .holo-frame { height: 300px; max-width: 100%; } 
    .stats-box { border: none; padding: 0; }
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
}