/* --- CONTENEDOR PRINCIPAL Y FONDO --- */
.cta-ultra-split {
    background-color: #062831;
    background: radial-gradient(circle at 50% 20%, #083744 0%, #062831 60%, #03151a 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* --- Malla 3D Perspectiva --- */
.cta-ultra-split .grid-perspective {
    position: absolute;
    width: 200%;
    height: 120%;
    top: -10%;
    left: -50%;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(60deg);
    transform-origin: top;
    animation: gridMove 25s linear infinite;
    z-index: 1;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.8) 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.8) 70%, transparent 100%);
}

/* --- Orbe Ambiental --- */
.cta-ultra-split .glow-orb {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
}

/* Animación del movimiento de la red */
@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 60px;
    }
}

/* --- LAYOUT ELEVADO SOBRE EL FONDO --- */
.grid-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    /* Mantiene el contenido por encima de la malla 3D */
}

/* DIAGRAMA MASIVO */
.massive-network {
    width: 110%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(39, 154, 148, 0.3));
}

.core-node {
    animation: corePulse 3s infinite ease-in-out;
}

@keyframes corePulse {

    0%,
    100% {
        r: 40;
        filter: drop-shadow(0 0 10px #279a94);
    }

    50% {
        r: 45;
        filter: drop-shadow(0 0 30px #279a94);
    }
}

/* TARJETA CTA ULTRA MODERNA */
.cta-card-premium {
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, rgba(39, 154, 148, 0.5), transparent);
    border-radius: 40px;
}

.card-inner {
    background: #051d26;
    padding: 60px 45px;
    border-radius: 38px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.cta-title {
    font-size: 35px;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    margin-block: 25px;
}

.cta-subtitle {
    font-size: 16px;
    color: #fff;
    font-weight: 100;
    line-height: 1.4;
    margin-bottom: 25px;
}

.cta-badge {
    background: linear-gradient(90deg, #60e3ff, #7be6e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient {
    background: linear-gradient(90deg, #60e3ff, #7be0db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BOTON PREMIUM */
.btn-ultra {
    background: #fff;
    color: #051d26;
    padding: 10px 30px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-ultra:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(96, 227, 255, 0.4);
    background: #51cee0;
}

.btn-arrow {
    width: 20px;
    transition: transform 0.3s ease;
}

.btn-ultra:hover .btn-arrow {
    transform: translateX(8px);
}

.cta-footer-tags {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    color: rgb(255, 255, 255);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsivo */
@media (max-width: 992px) {
    .grid-wrapper {
        grid-template-columns: 1fr;
    }

    .massive-network {
        width: 100%;
    }
}