/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    min-height: 100vh;
    background: #020205;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado del sitio cuando se muestra el formulario */
body.form-visible .contenido-principal-web {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    pointer-events: none;
}

.contenido-principal-web {
    transition: opacity 0.4s ease, visibility 0.3s, transform 0.4s;
    position: relative;
    z-index: 10;
}

/* ANIMACIÓN INICIAL */
body.azul {
    background: #000000;
}

body.final {
    background: #020205;
}

.cuadro {
    position: fixed;
    top: -30px;
    left: 50%;
    width: 24px;
    height: 24px;
    background: #00ffe5;
    border-radius: 6px;
    z-index: 2000;
    pointer-events: none;
    box-shadow: 0 0 15px cyan;
    animation: caidaGiro 3.2s cubic-bezier(0.45, 0.05, 0.2, 0.98) forwards;
}

@keyframes caidaGiro {
    0% {
        top: -30px;
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    40% {
        top: 40%;
        transform: rotate(360deg) scale(1.1);
    }

    55% {
        top: 50%;
        transform: rotate(800deg) scale(1.3);
    }

    70% {
        top: 50%;
        transform: rotate(1400deg) scale(18);
        opacity: 0.95;
    }

    100% {
        top: 50%;
        transform: rotate(2000deg) scale(150);
        opacity: 0;
    }
}

.letras {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 14px;
    z-index: 1500;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.letras.visible {
    opacity: 1;
    visibility: visible;
}

.letra {
    font-size: 5rem;
    font-weight: 800;
    font-family: cursive;
    background: linear-gradient(135deg, #00ffcc, #3c6eff, #b000ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 35px #00ccff;
    display: inline-block;
    opacity: 0;
    transform: translate(var(--dx, -150px), var(--dy, -40px)) scale(0.2) rotate(25deg);
    filter: blur(18px);
    transition: all 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.letra.centro {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) rotate(0deg) !important;
    filter: blur(0) !important;
}

.letras.explode .letra {
    animation: growFade 0.95s cubic-bezier(0.3, 1.2, 0.5, 1) forwards;
}

@keyframes growFade {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
        filter: blur(0);
    }

    45% {
        transform: scale(2.6) translateY(-25px);
        opacity: 0.9;
    }

    100% {
        transform: scale(7.5) translateY(-70px);
        opacity: 0;
        visibility: hidden;
    }
}

.fondo {
    opacity: 1;
    animation: 9s fondo forwards;
}

@keyframes fondo {
    0% {
        opacity: 0;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* FORMULARIO OVERLAY (Oculto por defecto) */
.formulario-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.formulario-overlay.active {
    visibility: visible;
    opacity: 1;
}

.bxl-facebook {
    color: blue;
}

/* FONDO ESPACIAL */
.night {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #0a0a2a 0%, #020205 100%);
    z-index: -2;
}

.deep-space {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: nebulaPulse 15s ease-in-out infinite alternate;
}

.nebula-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #8a2be2, transparent);
    top: -10%;
    left: -10%;
}

.nebula-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #00d2ff, transparent);
    bottom: -10%;
    right: -10%;
}

.nebula-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ff007f, transparent);
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
}

@keyframes nebulaPulse {
    from {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    to {
        transform: scale(1.1) translate(20px, 20px);
        opacity: 0.5;
    }
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 5px white;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Barra de Navegación */
.barra-navegacion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #00e5ff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #00e5ff;
}

.menu-enlaces {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.menu-enlaces a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
}

.menu-enlaces a:hover,
.menu-enlaces a.active {
    color: #00e5ff;
}

.menu-enlaces a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00e5ff;
    box-shadow: 0 0 10px #00e5ff;
}

.btn-nav-reg {
    background: #00d2ff;
    color: #000;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.btn-nav-reg:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
}

.glow-text {
    color: #000;
}

/* Contenedor Principal */
.contenedor-principal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* SECCION HERO */
.seccion-hero {
    text-align: center;
}

.titulo-glowing {
    font-family: 'Orbitron', sans-serif;
    font-size: 7rem;
    color: #fff;
    text-transform: lowercase;
    text-shadow: 0 0 30px #00d2ff, 0 0 60px rgba(0, 210, 255, 0.5);
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.subtitulo-gradient {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 5px;
    background: linear-gradient(90deg, #9d00ff, #00e5ff, #9d00ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    to {
        background-position: 200% center;
    }
}

.descripcion-hero {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
}

.botones-hero {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn-cta-primary {
    background: linear-gradient(90deg, #00d2ff, #3a7bd5);
    color: #fff;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}

.btn-cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.6);
}

.btn-cta-secondary {
    background: rgba(0, 0, 0, 0.5);
    color: #00e5ff;
    border: 2px solid #00e5ff;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s;
}

.btn-cta-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    transform: scale(1.05);
}

.disclaimer-hero {
    font-size: 0.9rem;
    color: #666;
}

/* SECCION CARACTERISTICAS */
.seccion-features {
    padding: 4rem 0;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card-feature {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: 0.3s;
}

.card-feature:hover {
    transform: translateY(-10px);
    background: rgba(15, 15, 30, 0.8);
    border-color: rgba(0, 229, 255, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature-purple .icon-wrapper {
    background: rgba(157, 0, 255, 0.15);
    color: #9d00ff;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
}

.feature-blue .icon-wrapper {
    background: rgba(0, 210, 255, 0.15);
    color: #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.feature-green .icon-wrapper {
    background: rgba(0, 255, 127, 0.15);
    color: #00ff7f;
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.3);
}

.feature-red .icon-wrapper {
    background: rgba(255, 0, 79, 0.15);
    color: #ff004f;
    box-shadow: 0 0 15px rgba(255, 0, 79, 0.3);
}

.text-wrapper h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.text-wrapper p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.5;
}


.divider-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.divider-preview::before,
.divider-preview::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
}

.divider-preview span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: #00e5ff;
}

.grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card-preview {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 229, 255, 0.2);
    position: relative;
    aspect-ratio: 16/9;
}

.card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.card-preview:hover img {
    transform: scale(1.1);
}

/* Footer */
.footer-redes {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    margin-top: 2rem;
    background: #00000087;
}

.botones-redes {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.btn-red {
    color: #00e5ff;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border: 2px solid #00e5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.btn-red:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
    transform: scale(1.1);
}

.footer-redes p {
    color: #00ff00;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Animaciones */
.animacion-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.animacion-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .titulo-glowing {
        font-size: 4rem;
    }

    .barra-navegacion {
        padding: 1rem 5%;
    }

    .menu-enlaces {
        display: none;
    }

    .botones-hero {
        flex-direction: column;
    }
}

.download {
    color: #00ffff;
    background: #131413;
    box-shadow: 3px inset #00e5ff;
}