/* =========================================
   CONFIGURACIÓN GENERAL Y VARIABLES
   ========================================= */
:root {
    --bg-dark: #0a0a0b;        /* Negro suave mate */
    --accent-blue: #0052ff;    /* Azul eléctrico corporativo */
    --text-main: #ffffff;
    --text-dim: #a1a1a6;       /* Gris claro para textos secundarios */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

/* =========================================
   HEADER / NAVBAR PREMIUM (AJUSTE GRANDE)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px; /* Altura aumentada para mayor impacto */
    display: flex;
    align-items: center;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 9999;
    transition: var(--transition);
}

.header-container {
    width: 96%; /* Aprovecha casi todo el ancho de la pantalla */
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Título RS WEB a la izquierda y con Estilo */
.logo-area {
    display: flex;
    align-items: center;
    margin-left: -10px; /* Pegado al borde izquierdo */
}

.logo-text {
    font-size: 32px; /* Tamaño grande */
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(45deg, var(--accent-blue), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(0, 82, 255, 0.4);
    letter-spacing: 2px;
}

/* --- NAVEGACIÓN --- */
.nav-links {
    display: flex;
    gap: 60px; /* Separación amplia para llenar el espacio */
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 16px; /* Letra más grande */
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.nav-item:hover {
    color: var(--text-main);
}

/* --- SOLUCIÓN AL DESPLEGABLE (CORREGIDO PARA NAVBAR 100PX) --- */
.dropdown {
    position: relative;
    /* Aumentamos el área de detección hacia abajo */
    padding-bottom: 40px; 
    margin-bottom: -40px;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    /* Bajamos el menú para que no tape el enlace, pero que esté cerca */
    top: 80%; 
    left: 50%;
    transform: translateX(-50%);
    background: #161617;
    min-width: 260px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

/* El puente invisible ahora es más grande para cubrir el hueco de la navbar de 100px */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -45px; 
    left: 0;
    width: 100%;
    height: 45px;
    background: transparent;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-dim);
    padding: 14px 28px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: var(--glass-bg);
    color: var(--accent-blue);
    padding-left: 35px;
}
/* =========================================
   BOTONES DE ACCIÓN (TAMAÑO EXTRA)
   ========================================= */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 40px;
}

.login-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 17px;
    font-weight: 600;
    transition: opacity 0.3s;
}

/* Botón Azul Grande */
.cta-button {
    background: var(--accent-blue);
    color: white;
    padding: 18px 45px; /* Botón muy grande y profesional */
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 82, 255, 0.5);
}

/* =========================================
   ANIMACIONES
   ========================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 1100px) {
    .nav-links { gap: 30px; }
    .logo-text { font-size: 24px; }
}
/* =========================================
   SECCIÓN HERO PREMIUM
   ========================================= */
.hero {
    height: 100vh; /* Ocupa toda la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px; /* Espacio para que el header no lo tape */
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

/* Título Gigante e Impactante */
.hero-title {
    font-size: clamp(40px, 6vw, 85px); /* Se ajusta solo al tamaño de pantalla */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-main);
    letter-spacing: -2px;
}

.highlight {
    background: linear-gradient(45deg, var(--accent-blue), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtítulo elegante */
.hero-subtitle {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 45px auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Botones del Hero */
.hero-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

/* Reemplaza tus secciones de botones con este código unificado */

.cta-button-hero {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 20px 50px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    /* EL BRILLO AZUL QUE SOLICITASTE */
    box-shadow: 0 0 20px rgba(0, 82, 255, 0.6); 
}

.cta-button-hero:hover {
    transform: translateY(-5px);
    /* EL BRILLO SE INTENSIFICA AL PASAR EL RATÓN */
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.8);
}

/* Ajuste específico para que el botón del Navbar no sea tan gigantesco pero mantenga el estilo */
.navbar .cta-button-hero {
    padding: 14px 35px;
    font-size: 16px;
}

/* Elimina o comenta el antiguo .cta-button para evitar conflictos */

.btn-secundario {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-secundario:hover {
    border-bottom: 2px solid var(--accent-blue);
}

/* Efecto de luz ambiental en el fondo */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.15) 0%, rgba(10, 10, 11, 0) 70%);
    z-index: 1;
    pointer-events: none;
}
 
/* Estilo de las partículas */
.particle {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue); /* Usamos tu azul corporativo */
    border-radius: 50%;
    pointer-events: none; /* Para que no estorben al hacer clic */
    z-index: 99999;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: fadeAndScale 0.6s ease-out forwards; /* Dura menos de 1s */
}

@keyframes fadeAndScale {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* =========================================
   SECCIÓN CTA CON RECTÁNGULO Y SOMBRA
   ========================================= */
.final-cta {
    padding: 140px 0;
    background-color: var(--bg-dark); /* Asegúrate de que el fondo sea el negro mate */
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-box-premium {
    width: 90%;
    max-width: 1300px;
    /* Un gris casi negro para que se note la diferencia con el fondo */
    background: #111112; 
    padding: 100px 40px;
    border-radius: 24px;
    text-align: center;
    
    /* ESTA ES LA SOMBRA QUE HACE QUE SOBRESALGA */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 
                0 0 20px rgba(0, 82, 255, 0.05); 
    
    /* Borde muy fino para dar definición */
    border: 1px solid rgba(255, 255, 255, 0.03); 
}

.cta-title-wide {
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 25px;
}

.blue-solid {
    color: var(--accent-blue); /* Tu azul eléctrico sólido */
    display: inline-block;
}

.cta-text-wide {
    font-size: 20px;
    color: var(--text-dim);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.cta-note-detail {
    font-size: 15px;
    color: var(--text-dim);
    margin-top: 15px;
    opacity: 0.8;
}

/* Estilo para que el botón se vea imponente dentro del rectángulo */
.cta-box-premium .cta-button {
    padding: 20px 60px;
    font-size: 18px;
    border-radius: 50px;
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box-premium .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 82, 255, 0.4);
}