/* --- BASE Y TIPOGRAFÍA --- */
html, body {
    margin: 0;
    padding: 0;
    background-color: transparent; /* TRANSPARENTE para que se vean los puntitos */
    color: #c9d1d9;
    font-family: system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: rgba(88, 166, 255, 0.3);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0d1117; 
}
::-webkit-scrollbar-thumb {
    background: #30363d; 
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #58a6ff; 
}

/* --- FONDO 3D --- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: #0d1117; /* EL COLOR OSCURO AHORA VIVE ACÁ, ATRÁS DE TODO */
}

/* --- NAVEGACIÓN --- */
.glass-nav {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #30363d;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.navbar-brand img {
    height: 28px !important;
    width: auto !important;
    max-height: 28px !important;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* --- TARJETAS (CARDS) --- */
.card-custom {
    background-color: rgba(22, 27, 34, 0.9);
    border: 1px solid #30363d;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    border-color: #58a6ff;
    box-shadow: 0 10px 30px rgba(88, 166, 255, 0.15);
}

/* --- ANIMACIONES REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- BOTÓN WHATSAPP FLOTANTE --- */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    z-index: 9999;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: white;
    animation: none;
}

/* --- FOOTER --- */
footer {
    background-color: #010409;
    border-top: 1px solid #30363d;
}
