/* =================================================================
   🔥 CRM UP SALES AI - ARCHIVO DE ESTILOS PREMIUM (MODO OSCURO TECH)
   ================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Fondo maestro tecnológico profundo */
body.tech-theme {
    background-color: #020617; /* Azul/Negro del espacio profundo */
    color: #f8fafc;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Capa de malla cibernética sutil de fondo */
/* Capa de malla cibernética y LÍNEAS TECNOLÓGICAS */
/* --- LÍNEAS TECNOLÓGICAS (100% CSS PURO, SIN IMÁGENES EXTERNAS) --- */
.tech-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Cuadrícula tecnológica: líneas principales y secundarias */
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.25) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.25) 2px, transparent 2px),
        linear-gradient(rgba(0, 242, 254, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.08) 1px, transparent 1px);
    
    /* Tamaños de la cuadrícula (100px para la grande, 20px para la chica) */
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
    
    /* Máscara de degradado: fuerte en el centro (detrás de las tarjetas), invisible en los bordes */
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 80%);
    
    pointer-events: none;
    z-index: 0;
}

/* Cabecera */
.header {
    text-align: center;
    padding: 40px 20px 10px;
    position: relative;
    z-index: 1;
}

.logo h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.cyan-text {
    color: #00f2fe; /* Cian eléctrico característico */
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
}

.tagline {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 5px;
}

/* Contenedor Principal */
.pricing-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.pricing-header p {
    color: #94a3b8;
    font-size: 1.05rem;
}

/* Estructura del Swiper Slider */
.swiper {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 60px;
}

/* --- ESTILO HOLOGRÁFICO DE LAS TARJETAS (COMPACTAS) --- */
.tech-card {
    background: rgba(15, 23, 42, 0.65); /* Cristal oscuro semi-transparente */
    -webkit-backdrop-filter: blur(12px); /* Para Safari y iOS (Evita error en editor) */
    backdrop-filter: blur(12px); /* Para Chrome, Edge, etc. */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px 20px 80px; /* Tarjetas más compactas */
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efecto de resplandor interno al pasar el mouse */
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.1);
}

.tech-card h3 {
    text-align: center;
    font-size: 1rem; /* Título ajustado */
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.price {
    text-align: center;
    font-size: 2.8rem; /* Precio compacto */
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.price span:first-child {
    font-size: 1.2rem;
    vertical-align: super;
    margin-right: 2px;
    color: #00f2fe;
}

.period {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 400;
    letter-spacing: 0px;
}

/* --- CONFIGURACIÓN DE LA TARJETA GROW (MÁS POPULAR) --- */
.tech-card.highlighted {
    border: 2px solid #00f2fe;
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
}

.badge-tech {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00f2fe, #0d6efd);
    color: #020617;
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* --- CARACTERÍSTICAS Y ELEMENTOS --- */
.features {
    list-style: none;
    flex-grow: 1;
}

.features li {
    font-size: 0.85rem; /* Textos de lista más finos */
    color: #cbd5e1;
    margin-bottom: 8px; /* Listas más juntas */
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
}

.cyan-check {
    color: #00f2fe;
    font-weight: 800;
    margin-right: 10px;
    font-size: 1rem;
}

.connect-subtitle {
    font-size: 0.8rem;
    color: #00f2fe;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    background: rgba(0, 242, 254, 0.08);
    padding: 5px;
    border-radius: 6px;
}

.extra-feature {
    font-size: 0.75rem;
    color: #64748b;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 10px;
    display: block !important;
    line-height: 1.4;
}

.danger-tech {
    color: #f87171 !important; /* Rojo suave tecnológico */
}

/* --- BOTONES CON EFECTO DE MOVIMIENTO / PULSO --- */
.btn-comprar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 10px; /* Botón ajustado */
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Botón Tecnológico Normal (Bordes brillantes) */
.btn-tech {
    background: transparent;
    border: 1px solid #00f2fe;
    color: #00f2fe;
    box-shadow: inset 0 0 8px rgba(0, 242, 254, 0.1);
}

.btn-tech:hover {
    background: rgba(0, 242, 254, 0.1);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    transform: translateX(-50%) scale(1.02);
}

/* Botón Tecnológico Sólido Destacado (Con animación de movimiento de brillo) */
.btn-tech-primary {
    background: linear-gradient(135deg, #00f2fe, #0d6efd);
    border: none;
    color: #020617;
}

.btn-tech-primary:hover {
    transform: translateX(-50%) scale(1.03);
    filter: brightness(1.1);
}

/* Animación de Pulso de Brillo ("Botón que se mueve solo") */
.pulse-glow {
    animation: techPulse 2s infinite alternate;
}

@keyframes techPulse {
    0% {
        box-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
    }
    100% {
        box-shadow: 0 0 22px rgba(0, 242, 254, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
    }
}

/* Paginación del Slider */
.tech-pagination .swiper-pagination-bullet {
    background: #64748b;
}
.tech-pagination .swiper-pagination-bullet-active {
    background: #00f2fe !important;
    box-shadow: 0 0 10px #00f2fe;
}

/* Pie de página */
.tech-footer {
    text-align: center;
    padding: 30px 20px;
    color: #475569;
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 40px;
}

.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
    margin: 0 5px;
    transition: 0.2s;
}

.footer-legal-links a:hover {
    color: #00f2fe;
}


/* --- CONTROL DE TAMAÑO PARA EL EFECTO 3D COVERFLOW --- */
.swiper-slide {
    width: 400px !important; /* Aquí limitamos el ancho para que no sea gigante */
    height: auto !important; 
}

.tech-card {
    height: 100%;
}
/* --- ROBOT DE FONDO (ALINEADO A LA DERECHA) --- */
body.tech-theme::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Tu imagen del robot: */
    background-image: url('img/robot_connect.png'); 
    background-repeat: no-repeat;
    
    /* AQUÍ ESTÁ LA MAGIA: 
       90% = Pegado a la derecha (si quieres izquierda usa 10%)
       50% = Centrado verticalmente */
    background-position: 160% 50%; 
    
    background-size: 150vh; /* Tamaño del robot */
    opacity: 10; /* Transparencia */
    z-index: -1; 
    pointer-events: none; 
}