/* --- 1. CONFIGURACIÓN GENERAL --- */
body {
    background: #050506;
    color: #e0e6ed;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; 
    overflow-y: auto;
}

/* --- 2. NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo { font-weight: 700; font-size: 1.4rem; color: #fff; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 20px; }
.nav-menu a { text-decoration: none; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; transition: 0.3s; }
.nav-menu a:hover { color: #00d2ff; }

.status-indicator {
    background: rgba(0, 255, 157, 0.1); color: #00ff9d; padding: 5px 12px;
    border-radius: 20px; font-size: 0.75rem; display: flex; align-items: center; gap: 8px;
}
.status-indicator span {
    width: 8px; height: 8px; background: #00ff9d; border-radius: 50%;
    box-shadow: 0 0 10px #00ff9d; animation: pulse 2s infinite;
}

/* --- 3. TARJETA Y CONTENIDO --- */
.glass-card {
    margin-top: 120px;
    margin-bottom: 50px;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px; 
    padding: 50px 40px; 
    text-align: center;
    width: 380px; 
    z-index: 10;
}

#main-logo { width: 120px; height: auto; margin-bottom: 25px; filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.4)); }
h1 { font-size: 2.2em; margin-bottom: 5px; color: #fff; }
.tagline { color: #8899a6; margin-bottom: 35px; }

.features-list { text-align: left; margin-bottom: 40px; }
.feature-item { display: flex; align-items: center; margin-bottom: 15px; gap: 15px; }
.feature-item p { margin: 0; color: #ced4da; }

.btn-primary {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #fff; border: none; padding: 16px 30px; border-radius: 12px;
    font-weight: 600; cursor: pointer; transition: 0.4s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4); }

/* --- 4. FONDO Y PIE --- */
.background-cloud {
    position: fixed;
    width: 600px; /* La hacemos un poco más grande para que cubra mejor */
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.2), transparent 70%);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    
    /* CENTRADO INICIAL ABSOLUTO */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    
    transition: transform 0.1s ease-out; /* Suavidad en el movimiento */
}


.site-footer {
    width: 100%; text-align: center; font-size: 0.8rem; color: rgba(255, 255, 255, 0.4);
    padding: 30px 0; margin-top: auto; position: relative; z-index: 5;
}
.footer-links a { color: rgba(0, 210, 255, 0.6); text-decoration: none; margin: 0 10px; }

/* --- 5. CHAT WIDGET (Diseño base para PC) --- */
.chat-widget {
    position: fixed; bottom: 30px; left: 30px; z-index: 3000; cursor: pointer;
}

.chat-bubble {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4);
}

.chat-icon-pro { font-size: 30px; color: white; }
.chat-text { display: none; }

.chat-window {
    position: absolute; bottom: 75px; left: 0; width: 260px;
    background: rgba(15, 15, 20, 0.95); backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 15px;
    display: none; flex-direction: column; overflow: hidden;
}

.chat-header { background: #3a7bd5; padding: 12px; text-align: center; font-weight: bold; }
.chat-body { padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.chat-body button { 
    background: rgba(255,255,255,0.1); border: none; color: white; 
    padding: 10px; border-radius: 8px; cursor: pointer; 
}

/* --- 6. ANIMACIONES --- */
@keyframes move { from { transform: translate(-50%, -50%); } to { transform: translate(50%, 50%); } }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* --- 7. AJUSTES PARA MÓVIL (Responsivo) --- */
@media (max-width: 480px) {
    .navbar { height: 55px; }
    .nav-logo { font-size: 1.1rem; }
    .nav-menu { gap: 10px; }
    .nav-menu a { font-size: 0.75rem; }
    .status-indicator { display: none; }

    .glass-card { width: 90%; margin-top: 90px; padding: 30px 20px; }
    
    /* El Chat salta a la derecha en celular */
    .chat-widget { left: auto !important; right: 20px; bottom: 20px; }
    .chat-window { left: auto; right: 0; }
}