/* ================= HERO ULTRA 2026 ================= */

section.hero-2026 {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #01080b;
    /* Más oscuro para resaltar el neón */
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

/* Malla de Perspectiva 3D */
.grid-perspective {
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: -50%;
    background-image:
        linear-gradient(rgba(39, 154, 148, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 154, 148, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: top;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

/* Orbes de luz corregidos */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    z-index: 2;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: #56c2ce;
    top: -20%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #56c2ce;
    bottom: -10%;
    right: -10%;
}

/* Contenido */
.hero-content {
    z-index: 10;
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 100px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.tag-pulse {
    width: 8px;
    height: 8px;
    background: #60e2ff;
    border-radius: 50%;
    box-shadow: 0 0 12px #60e2ff;
    animation: pulseTag 2s infinite;
}

@keyframes pulseTag {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

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

/* Títulos */
.hero-2026 h1 {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 800;
    line-height: .8;
    letter-spacing: -3px;
    margin-bottom: 25px;
    color: #edfdfe;
}

.text-reveal {
    background: linear-gradient(90deg, #fff, #4bb8b3, #60e3ff, #fff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textFlow 8s linear infinite;
}

@keyframes textFlow {
    to {
        background-position: 300% center;
    }
}

.hero-2026 p {
    font-size: 1.2rem;
    color: #cbe2ed;
    line-height: 1;
    margin-bottom: 50px;
}

/* Botones Ultra */
/* ================= CORRECCIÓN DE BOTONES (NO TOCA EL FONDO) ================= */

.hero-actions-group {
    display: flex;
    flex-direction: row;
    /* Asegura que estén uno al lado del otro */
    flex-wrap: wrap;
    /* Si no caben (en móvil), bajan ordenadamente sin encimarse */
    justify-content: center;
    /* Centrado perfecto horizontal */
    align-items: center;
    /* Centrado perfecto vertical */
    gap: 20px;
    /* Espacio real y constante entre ellos */
    margin-top: 20px;
    width: 100%;
}

.btn-hero-main,
.btn-hero-ghost {
    display: inline-flex;
    /* Para que respeten el padding y el ancho */
    align-items: center;
    justify-content: center;
    min-width: 220px;
    /* Ancho uniforme para que se vean simétricos */
    height: 64px;
    /* Altura fija para alineación vertical perfecta */
    padding: 0 40px;
    /* Espaciado interno horizontal */
    border-radius: 14px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    /* Evita que el texto dentro del botón se rompa */
}

/* Estilo específico Main */
.btn-hero-main {
    background: #56c2ce !important;
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-main:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(39, 154, 148, 0.3);
}

/* Estilo específico Ghost */
.btn-hero-ghost {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #60e2ff !important;
    color: #ffffff !important;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #bdeaf4 !important;
    transform: translateY(-5px);
}

/* Ajuste para pantallas pequeñas (Móviles) */
@media (max-width: 480px) {

    .btn-hero-main,
    .btn-hero-ghost {
        width: 100%;
        /* En celulares muy chicos, ocupan todo el ancho */
        min-width: unset;
    }
}

/* Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-text {
    font-size: 0.7rem;
    color: #d1f8ff;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.scroll-bar {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #279a94, transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}