body {
    font-family: 'Inter', sans-serif;
    /* Estilo de fondo unificado con nebulosa animada */
    background-color: #0F1629;
    background-image: 
        radial-gradient(circle at 20% 70%, #AE2AC280 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, #AE2AC260 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, #AE2AC250 0%, transparent 50%);
    background-repeat: no-repeat;
    background-size: 150% 150%;
    animation: move-glow 15s ease-in-out infinite;
    position: relative;
    overflow-x: hidden; /* Prevenir scroll horizontal */
}

@keyframes move-glow {
    0% { background-position: 0% 50%, 100% 50%, 50% 100%; }
    50% { background-position: 100% 50%, 0% 50%, 50% 0%; }
    100% { background-position: 0% 50%, 100% 50%, 50% 100%; }
}

#pricing {
    position: relative;
    overflow: hidden;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.cta-button {
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.plan-card {
    transition: all 0.3s ease;
    border: 1px solid #30415d;
    background-color: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(5px);
    position: relative; /* Necesario para posicionar el ribbon */
    overflow: hidden;   /* Necesario para que el ribbon no se salga */
}
.plan-card:hover {
    transform: scale(1.03);
    border-color: #4f86f7;
}
.feature-icon {
    background-color: rgba(79, 134, 247, 0.1);
    color: #4f86f7;
}

/* Estilos para Popups */
.popup-container.hidden { display: none; }
.calendly-popup-content { height: 90vh; width: 90vw; max-width: 1000px; }

/* Estilos para el carrusel de reseñas */
.swiper-container { width: 100%; padding-top: 20px; padding-bottom: 50px; position: relative; overflow: hidden; }
.swiper-slide { height: auto; }
.swiper-pagination-bullet-active { background-color: #85B200 !important; }
.swiper-button-next, .swiper-button-prev { color: #85B200 !important; }
@media (max-width: 767px) { .swiper-button-next, .swiper-button-prev, .swiper-pagination { display: none !important; } }

/* ===== INICIO: ESTILOS LOGO ANIMADO CIRCULAR ===== */
.logo-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Centrar en su columna */
}
.isotype {
    width: 120px;
    height: 120px;
    position: absolute;
    z-index: 10;
}
.circular-text {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: spin 20s linear infinite;
}
.circular-text span {
    position: absolute;
    left: 50%;
    top: 0;
    transform-origin: 0 150px; /* Radio (mitad del .logo-container) */
    font-size: 1.1em;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}
.char-vtiendas {
    color: #85B200;
}
.char-default {
    color: #FFFFFF;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* ===== FIN: ESTILOS LOGO ANIMADO CIRCULAR ===== */

/* ===== INICIO: ESTILOS POPUP PROMOCIONAL 40% OFF ===== */
#promo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 22, 41, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#promo-popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.promo-popup-container {
    font-family: 'Poppins', sans-serif;
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

#promo-close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #FFF;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}
#promo-close-btn:hover {
    color: #ccc;
}

.promo-popup-col-left {
    background-color: #85B200;
    /* Imagen Móvil */
    background-image: url('https://www.vtiendas.cl/wp-content/uploads/2025/08/imagen-popup-3.webp');
    background-size: cover;
    background-position: center;
    min-height: 180px;
}

.promo-popup-col-right {
    background-color: #FFFFFF;
    padding: 30px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.promo-popup-col-right h2 {
    font-size: 22px;
    font-weight: 700;
    color: #85B200;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.promo-popup-col-right .subtitle {
    font-size: 14px;
    color: #555;
    margin: 0 0 20px 0;
}

.promo-popup-col-right .code-title {
    font-size: 15px;
    font-weight: 600;
    color: #0F1629;
    margin: 0 0 10px 0;
}

.promo-coupon-code {
    border: 2px dashed #85B200;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    color: #0F1629;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.promo-coupon-code:hover {
    background-color: #f5f5f5;
}

#promo-tooltip {
    visibility: hidden;
    background-color: #0F1629;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 12px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    margin-top: 5px;
}

#promo-tooltip.visible {
    visibility: visible;
    opacity: 1;
}

@media (min-width: 600px) {
    .promo-popup-container {
        flex-direction: row;
        width: 600px;
        max-width: 600px;
    }
    .promo-popup-col-left {
        flex-basis: 50%;
        min-height: auto;
        /* Imagen Desktop */
        background-image: url('https://www.vtiendas.cl/wp-content/uploads/2025/08/imagen-popup2.webp');
    }
    .promo-popup-col-right {
        flex-basis: 50%;
        padding: 35px;
    }
    .promo-popup-col-right h2 {
        font-size: 30px;
    }
    .promo-coupon-code {
        padding: 12px 25px;
        font-size: 22px;
    }
}
/* ===== FIN: ESTILOS POPUP PROMOCIONAL 40% OFF ===== */

/* ===== INICIO: ESTILOS RIBBON PLAN ANUAL ===== */
.ribbon-anual {
    position: absolute;
    top: 25px; /* Ajusta la posición vertical del ribbon */
    right: -35px; /* Ajusta la posición horizontal del ribbon (para que parte esté fuera) */
    transform: rotate(45deg); /* Inclina el ribbon 45 grados */
    background-color: #DC2626; /* Fondo rojo */
    color: white; /* Texto blanco */
    padding: 5px 40px; /* Espaciado interno del ribbon */
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Sutil sombra para darle relieve */
    z-index: 10; /* Asegura que esté por encima del contenido de la tarjeta */
    font-family: 'Poppins', sans-serif; /* Usamos Poppins para que coincida con otros elementos */
}
/* ===== FIN: ESTILOS RIBBON PLAN ANUAL ===== */