/* =========================================
   ESTILOS PREMIUM: LOCALIZACIÓN Y MONITOREO
   ========================================= */

/* Hero Section */
.monitoreo-hero {
    background: #0e1828;
    background: linear-gradient(135deg, rgba(14, 24, 40, 0.95) 0%, rgba(0, 114, 206, 0.8) 100%), url('../images/fondo-mapa.jpg') center/cover no-repeat;
    min-height: 65vh;
    padding-top: 10px;
    padding-bottom: 80px;
}

.glow-hero {
    position: absolute;
    top: -10%; left: -5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 114, 206, 0.5) 0%, rgba(0, 114, 206, 0) 70%);
    filter: blur(80px);
    z-index: 0;
}

.hero-title { text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.floating-hero { animation: floatHero 6s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)); }

@keyframes floatHero {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.promo-strip { background-color: #f8fafc; }

/* Carrusel Oscuro Premium */
.vehiculos-section {
    background-color: #0e1828;
}

.glow-blue-right {
    position: absolute; top: -10%; right: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 114, 206, 0.3) 0%, transparent 70%);
    filter: blur(60px); z-index: 0;
}

.glow-orange-left {
    position: absolute; bottom: -10%; left: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.2) 0%, transparent 70%);
    filter: blur(60px); z-index: 0;
}

.swiperVehiculos {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px;
}

.vehiculo-slide {
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.vehiculo-slide img {
    width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

.swiper-slide-active.vehiculo-slide {
    background: rgba(255, 255, 255, 0.1);
    border-color: #0072ce;
    box-shadow: 0 15px 40px rgba(0, 114, 206, 0.3);
    transform: scale(1.15);
}

.swiper-slide-active.vehiculo-slide img { transform: scale(1.1); }
.swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.swiper-pagination-bullet-active { background: #ff6f00; width: 25px; border-radius: 10px; }


/* =========================================
   ESCENA DE RASTREO ANIMADA (SISTEMA SEYPRO)
   ========================================= */
.tracking-container {
    min-height: 450px;
    display: flex;
    align-items: flex-end; /* <-- AQUÍ ESTÁ LA MAGIA: Ambos se apoyan en el mismo suelo */
    justify-content: flex-start;
    position: relative;
    padding-bottom: 20px; /* Un poco de aire abajo */
}

/* 1. El Celular (Fondo, a la derecha, anclado a la base) */
.tracking-phone {
    opacity: 0;
    position: absolute;
    right: 0;
    bottom: 20px; /* Pegado a la misma línea base inferior */
    max-height: 420px;
    z-index: 1 !important;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.25));
    transform: translateY(50px);
}

/* 2. El Auto (Enfrente, a la izquierda, llantas en la misma base) */
.tracking-car {
    opacity: 0;
    position: relative;
    width: 100%;
    max-width: 580px;
    left: -20px;
    z-index: 2 !important;
    filter: drop-shadow(0 20px 35px rgba(0,0,0,0.4));
    transform: translateX(-150px);
}

/* 3. Señal GPS (Flotando sobre el techo del auto) */
.gps-signal-effect {
    position: absolute;
    top: 35%; /* Alineado al techo del vehículo */
    left: 40%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 3 !important;
}

.signal-pin {
    position: relative;
    z-index: 4;
    animation: bouncePin 2s infinite ease-in-out;
    filter: drop-shadow(0 5px 10px rgba(255, 111, 0, 0.4));
}

.signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid #ff6f00;
    border-radius: 50%;
    animation: gpsPulse 2s infinite;
}

.signal-ring:nth-child(2) {
    animation-delay: 1s;
}

/* Disparadores Mágicos (IntersectionObserver) */
.is-visible .tracking-car {
    animation: slideInCar 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.is-visible .tracking-phone {
    animation: fadeInPhone 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.8s;
}

.is-visible .gps-signal-effect {
    animation: fadeInGps 0.5s forwards 1.4s;
}

/* Keyframes de la Escena */
@keyframes slideInCar {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInPhone {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInGps {
    to { opacity: 1; }
}

@keyframes bouncePin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes gpsPulse {
    0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}


/* =========================================
   TARJETAS CARACTERÍSTICAS
   ========================================= */
.feature-card-modern {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    box-shadow: 0 25px 45px rgba(0, 114, 206, 0.15);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.icon-box {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

@keyframes pulse { 0% {transform: scale(1);} 50% {transform: scale(1.1);} 100% {transform: scale(1);} }
@keyframes shake { 0%, 100% {transform: rotate(0deg);} 25% {transform: rotate(10deg);} 75% {transform: rotate(-10deg);} }
@keyframes spin { 100% {transform: rotate(360deg);} }
@keyframes bounce { 0%, 100% {transform: translateY(0);} 50% {transform: translateY(-10px);} }

.feature-card-modern:hover .icon-pulse { animation: pulse 1s infinite; }
.feature-card-modern:hover .icon-shake { animation: shake 0.5s infinite; }
.feature-card-modern:hover .icon-spin { animation: spin 2s linear infinite; }
.feature-card-modern:hover .icon-bounce { animation: bounce 1s infinite; }


/* =========================================
   ANIMACIÓN DEL CARRITO DE COMPRAS (ZUMBIDO CONSTANTE)
   ========================================= */
.cart-buzz {
    animation: zumbidoCart 2.5s infinite cubic-bezier(0.36, 0.07, 0.19, 0.97);
    transform-origin: bottom center;
}

@keyframes zumbidoCart {
    0%, 100% { transform: scale(1) rotate(0deg); }
    10% { transform: scale(1.1) rotate(-12deg); }
    20% { transform: scale(1.1) rotate(12deg); }
    30% { transform: scale(1.1) rotate(-12deg); }
    40% { transform: scale(1.1) rotate(12deg); }
    50% { transform: scale(1) rotate(0deg); }
}

/* Planes */
.pricing-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}
.pricing-header { border-radius: 16px 16px 0 0; }
.bg-seypro-dark { background-color: #0e1828 !important; }

.pricing-list li { margin-bottom: 1.2rem; color: #475569; font-size: 0.95rem; }
.pricing-list i { font-size: 1.1rem; margin-right: 10px; }

.ribbon {
    position: absolute; top: 20px; right: -35px;
    padding: 5px 40px; font-size: 0.75rem; font-weight: bold;
    text-transform: uppercase; transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.title-divider { width: 80px; height: 4px; border-radius: 2px; }