
.main-wrapper {
    width: 100%;
    overflow-x: hidden; 
    position: relative;
    display: flex;
    flex-direction: column;
}
:root {
    --bg-color: #0d0015;
    --purple-main: #3b0a45;
    --neon-pink: #ff007f;
    --neon-cyan: #00f3ff;
    --text-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* OBLIGATORIO: Corta el excedente horizontal */
    margin: 0;
    padding: 0;
    
    /* FONT AND COLORS */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

/* FONDO */
.blur-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.sphere-1 {
    width: 300px;
    height: 300px;
    background: var(--purple-main);
    top: -50px;
    left: -100px;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: #1a0b2e;
    bottom: 0;
    right: -100px;
    opacity: 0.8;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    width: 100%;
    height: 80px;
    z-index: 100;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.nav-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.3));
}

.brand-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.dot { color: var(--neon-pink); }

.socials-nav a {
    color: white;
    margin-left: 20px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.socials-nav a:hover { color: var(--neon-cyan); }

/* HERO SECTION  */
.hero-container {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-wrap: wrap; 
    padding: 0 5%;
    align-items: center; 
    position: relative;
    overflow: hidden;
}

.content-side {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
    z-index: 10;
}

.subtitle {
    color: var(--neon-cyan);
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

h1 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 3rem; 
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(to right, #fff, #a259ff);
    -webkit-background-clip: text;
    background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.description {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.5;
    font-size: 1rem;
}

/* BOTONES  */
.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(90deg, var(--neon-pink), #b000ff);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(176, 0, 255, 0.3);
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(176, 0, 255, 0.5); }

/*Botones GLASS*/
.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

/* ESTADISTICAS */
.stats-row {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.stat-item h3 { font-size: 1.5rem;}
.stat-item p { font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 1px; }

/* COLUMNA DERECHA (VISUAL) */
.visual-side {
    flex: 1;
    min-width: 300px;
    height: auto;
    min-height: 500px; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--neon-cyan), var(--purple-main));
    filter: blur(70px);
    position: absolute;
    opacity: 0.3;
    z-index: 0;
    animation: pulse 6s infinite;
}

.planet-img {
    position: absolute;
    width: 200px;
    top: 10%;
    right: 15%;
    z-index: 1; 
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(88, 28, 135, 0.5));
    animation: floatPlanet 12s ease-in-out infinite alternate;
}

.main-rocket {
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 2; 
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    animation: floatRocket 6s ease-in-out infinite;
}

/* TARJETAS FLOTANTES */
.glass-pill {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 25px;
    gap: 10px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    font-weight: 500;
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    cursor: default;
    z-index: 5;
}

.glass-pill.floating {
    position: absolute;
    animation: floatCard 6s ease-in-out infinite;
}

/* Posiciones DESKTOP */
.pos-1 { top: 20%; left: 12%; animation-delay: 0s; }
.pos-2 { top: 20%; right: 0%; animation-delay: 1.5s; }
.pos-3 { bottom: 25%; left: 5%; animation-delay: 0.5s; }
.pos-4 { bottom: 25%; right: 20%; animation-delay: 2s; }

.glass-pill i { 
    color: white; 
}

/* SECCIÓN EQUIPO */
.team-section {
    padding: 1rem 5%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.team-section h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    font-weight: 800; 
    font-size: 2.5rem;
    text-transform: uppercase;
    
    color: #ffffff; 
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    margin-bottom: 6.5rem;
    letter-spacing: 1px; 
}

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.team-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-pink);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.2);
}

.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--neon-cyan);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo i { font-size: 2.5rem; color: rgba(255, 255, 255, 0.5); }

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ffffff; 
}


.role {
    font-size: 0.85rem;
    color: #ffffff;      
    opacity: 0.8;        
    font-weight: 300;
    letter-spacing: 1px;
}

/* Botón LinkedIn (Blanco) */
.team-social {
    margin-top: 15px;
    font-size: 1.8rem;
    color: #ffffff;
    transition: 0.3s ease;
    display: inline-flex;
}

.team-social:hover {
    color: #0077b5; /* Azul LinkedIn al pasar el mouse */
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(0, 119, 181, 0.6));
}

/* LINKS SECTION */
.links-section {
    padding: 4rem 5%;
    text-align: center;
    background: rgba(0,0,0,0.2);
}

.links-section h2 { margin-bottom: 2.5rem; letter-spacing: 4px; font-size: 1.5rem; color: var(--neon-cyan); }

.grid-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.grid-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.grid-card i { font-size: 2rem; margin-bottom: 15px; color: var(--neon-cyan); transition: 0.3s; }
.grid-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-8px); border-color: var(--neon-pink); box-shadow: 0 10px 30px rgba(255, 0, 127, 0.2); }
.grid-card:hover i { color: var(--neon-pink); transform: scale(1.1); }

/* ANIMACIONES */
@keyframes floatRocket { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes floatPlanet { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-15px) rotate(5deg); } }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.1); opacity: 0.5; } }
@keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }

/* FONDO ESTELAR */
.stars-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden;
}
.star {
    position: absolute; background: white; border-radius: 50%; opacity: 0.8; box-shadow: 0 0 4px rgba(255, 255, 255, 0.8); animation: twinkle infinite ease-in-out;
}

/*  RESPONSIVE (CELULAR) */
@media (max-width: 900px) {
    .navbar { padding: 1rem 5%; }
    
    /* CONTENEDOR PRINCIPAL */
    .hero-container { 
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 4rem;
        flex-direction: column-reverse; 
        text-align: center;
        width: 100%;      
    }
    
    /* TITULOS CHICOS (Evita que se CORTE) */
    h1 { font-size: 2.2rem; }

    /* OPORTUNIDADES DESTACADAS (FIX) */
    .opportunities-section h2 {
        
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        font-weight: 900; 
        
        
        font-size: 1.8rem;       
        line-height: 1.1;
        
        
        padding: 0;       
        margin-bottom: 2rem;
        width: 100%;
        
        
        word-wrap: break-word; 
    }

    .opportunities-section h2 span.gradient-text {
        display: block;       
        font-size: 2.2rem; 
        margin-top: 5px;    
    }

    /* ARREGLO DE LOS LINKS (REDES) AL FINAL */
    .grid-links {
        
        grid-template-columns: 1fr 1fr; 
        gap: 10px; 
    }

    .grid-card {
        padding: 1.5rem 1rem; 
    }
    
    /* Control de ESFERAS */
    .sphere-1, .sphere-2 {
        opacity: 0.4;       
        transform: scale(0.7);
    }
    
    .content-side { padding-right: 0; margin-top: 2rem; }
    .stats-row { justify-content: center; }
    .cta-group { justify-content: center; }
    
    .visual-side { 
        width: 100%; 
        min-height: 400px;
    }
    
    .main-rocket { width: 65%; max-width: 280px; }
    .planet-img { width: 150px; top: 0; right: 10%; }
    
    /* Tarjetas FLOTANTES */
    .glass-pill.floating {
        display: flex; 
        padding: 8px 12px; 
        font-size: 0.8rem;
        border-radius: 15px;
        max-width: 45%; 
        white-space: nowrap; 
        justify-content: center;
    }

    /* Reubicamos las POSICIONES para pantallas chicas */
    .pos-1 { top: 10%; left: 5%; }       /* Arriba Izq */
    .pos-2 { top: 5%; right: 2%; }      /* Arriba Der */
    .pos-3 { bottom: 10%; left: 2%; }   /* Abajo Izq */
    .pos-4 { bottom: 25%; right: 5%; }   /* Abajo Der */

    /* Deja solo el TOUCH */
    .scrolling-wrapper {
        scrollbar-width: none; /* Firefox */
    }
    .scrolling-wrapper::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Edge */
    }
    /* Scrollbar INVISIBLE en móvil */
    .scrolling-wrapper { scrollbar-width: none; }
    .scrolling-wrapper::-webkit-scrollbar { display: none; }
}

/* SECCIÓN OPORTUNIDADES (SLIDERS) */
.opportunities-section {
    width: 100%;
    overflow: hidden; 
    padding: 2rem 0 1rem 0;
    position: relative;
}

.opportunities-section h2 {
    text-align: center;
    font-family: 'Orbitron', sans-serif; 
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding: 0 5%;
}

.slider-container {
    margin-bottom: 3rem;
    padding-left: 5%;
    width: 100%;
}

.slider-container h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* RIEL (Forzamos Horizontalidad) */
.scrolling-wrapper {
    display: flex !important;           /* OBLIGATORIO */
    flex-direction: row !important;     /* OBLIGATORIO */
    flex-wrap: nowrap !important;       /* PROHIBIDO APILARSE */
    overflow-x: auto !important;
    gap: 20px;
    padding: 10px 5%; 
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/*  ESTILO SCROLLBAR PERSONALIZADO (Escritorio) */

/* El ancho/alto de la barra */
.scrolling-wrapper::-webkit-scrollbar {
    height: 8px; /* Altura sutil */
}

/* El fondo de la barra -> TRANSPARENTE */
.scrolling-wrapper::-webkit-scrollbar-track {
    background: transparent; 
    margin: 0 20px; 
}

/* La barra en sí (el THUMB) -> REDONDEADA Y GLASS */
.scrolling-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15); 
    border-radius: 50px; 
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Al pasar el mouse por encima de la barra */
.scrolling-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3); 
    cursor: pointer;
}

/* LA TARJETA INDIVIDUAL */
.opp-card {
    flex: 0 0 auto !important; /* NO APLASTARSE */
    width: 280px !important;   /* ANCHO FIJO */
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-right: 5px;
    
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
}

.opp-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #00f3ff;
}

.logo-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fallback-icon {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    display: none;
}

.opp-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.opp-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: white;
}

.opp-info span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.arrow-icon {
    color: var(--neon-pink);
    opacity: 0.7;
    transition: 0.3s;
}

.opp-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(3px);
}