/* Importar fuentes para la identidad visual */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,500&display=swap');

/* No usaremos @font-face ya que da problemas, usaremos solo fuentes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&display=swap');

/* Main colors as specified */
:root {
    /* Colores principales de la marca */
    --primary-color: #1c164a; /* Color primario - fondos, botones importantes */
    --secondary-color: #8fb5e0; /* Color secundario - acentos, hover, bordes suaves */
    --base-color: #ffffff; /* Color base - fondos claros, textos sobre fondo oscuro */
    
    /* Variaciones del color primario para interacciones */
    --primary-light: #252073; /* Variante más clara para hover */
    --primary-dark: #15113a; /* Variante más oscura para bordes activos */
    
    /* Variaciones del color secundario para efectos */
    --secondary-light: #a5c4e9; /* Variante más clara para hover */
    --secondary-trans: rgba(143, 181, 224, 0.5); /* Versión transparente para efectos */
    
    /* Variables derivadas para consistencia */
    --background-color: var(--primary-color);
    --button-bg: var(--primary-color);
    --button-text: var(--base-color);
    --text-color: var(--base-color);
    --accent-color: var(--secondary-color);
    --slide-transition: 0.2s;
    
    /* Variables de sombras para consistencia */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 6px 18px rgba(0, 0, 0, 0.25);
    --shadow-accent: 0 4px 12px rgba(143, 181, 224, 0.3);
}

html, body {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 25%, #3a2194 50%, var(--primary-light) 75%, var(--primary-color) 100%);
    background-attachment: fixed;
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: var(--text-color);
    font-family: 'Montserrat', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw; /* Limitar ancho al viewport */
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Estilo global para prevenir scroll horizontal */
*, *::before, *::after {
    max-width: 100%;
    box-sizing: border-box;
}

body {
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
}

.container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto; /* Centrar horizontalmente */
    padding: 0 0 20px 0;
    box-sizing: border-box;
}

.logo {
    max-height: 80px;
    max-width: 100%;
}

/* Typeform style */
.typeform-wrapper {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden; /* Para que los elementos internos respeten los bordes redondeados */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--secondary-trans);
    margin-bottom: 30px;
    width: 100%;
    /*flex-grow: 1;*/
    contain: paint; /* Mejorar el rendimiento y asegurar que los bordes redondeados se respeten */
}

#visa-form {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.typeform-slide {
    position: absolute;
    top: 6px; /* Dejar espacio para la barra de progreso más fina */
    left: 0;
    width: 100%;
    min-height: 350px; /* Altura mínima */
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--slide-transition), transform var(--slide-transition);
    transform: translateY(20px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    overflow: visible;
    contain: content; /* Mejorar rendimiento y prevenir scroll fantasma */
    z-index: 1; /* Asegurar visibilidad correcta */
}

/* Estilos para slides inactivos que no deben ocupar espacio */
.typeform-slide:not(.active) {
    height: auto;
    width: 100%;
    overflow: hidden;
    visibility: hidden;
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.typeform-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    height: auto; /* Permitir que crezca con el contenido */
    width: 100%; /* Restaurar ancho completo */
    overflow: visible;
    contain: layout style; /* Mejorar rendimiento */
    padding: 20px; /* Restaurar padding */
}

.slide-content {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: visible;
    position: relative; /* Para posicionamiento del botón de retroceso */
}

.slide-navigation {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 40px;
}

.slide-navigation .btn-primary {
    min-width: 130px;
    padding: 12px 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-navigation .btn-primary i {
    margin-left: 8px;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.slide-navigation .btn-primary:hover i {
    transform: translateX(3px);
}

.slide-navigation button {
    min-width: 120px;
}

/* Hide check slides */
.check-slide {
    display: none !important;
}

/* Progress bar */
.progress-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 10px 10px 0 0;
}

.progress-indicator:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 10px 10px 0 0;
}

.progress-indicator .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    width: 0;
    box-shadow: 0 0 8px var(--secondary-color);
    position: relative;
    border-radius: 10px 0 0 0; /* Borde redondeado en la esquina superior izquierda */
    transition: width 0.6s ease-out;
}

/* Custom animation for loading progress bar */
#loading-progress {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    animation: gradient-shift 2s ease infinite;
    animation-play-state: running !important;
    animation-delay: 0s !important;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Input styling */
h1, h2, h3 {
    color: var(--text-color);
    margin-bottom: 30px;
    font-family: 'Raleway', 'Nunito', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    margin-top: 10px;
    padding-top: 15px;
}

.form-floating, .phone-input-container {
    margin-bottom: 30px;
    width: 100%;
    flex-grow: 1;
}

.form-control, .form-select {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 16px;
    padding: 15px;
    height: auto;
    transition: all 0.25s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-control:focus, .form-select:focus {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 10px);
    padding: 0.9rem 1rem;
    padding-top: 1.8rem;
}

.form-floating > label {
    padding: 1rem;
    padding-top: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem);
}

/* Radio and checkbox options */
.radio-options, .checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding: 5px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Estilo para opciones cuando hay error de validación */
.radio-options.error, .checkbox-options.error {
    background-color: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.15);
    animation: pulse-error 1.5s ease-in-out;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 8px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
}

/* Estilo para contenedor con error pero sin estilo para cada opción individual */
.radio-options.error {
    /* Solo aplicar el estilo al contenedor */
    background-color: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.15);
}

/* Asegurar que los inputs y opciones individuales mantengan su estilo normal */
.radio-options.error .radio-option, 
.checkbox-options.error .checkbox-option,
.radio-options.error .form-check-input, 
.checkbox-options.error .form-check-input,
.radio-options.error .form-check-input:checked, 
.checkbox-options.error .form-check-input:checked {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mantener el estilo original solo para los elementos seleccionados */
.radio-options.error .form-check-input:checked, 
.checkbox-options.error .form-check-input:checked {
    background-color: #1c164a;
    border-color: var(--accent-color);
}

.radio-option:hover, .checkbox-option:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Clase para opción seleccionada con efecto visual para auto-avance */
.radio-option.selected-option {
    background-color: rgba(143, 181, 224, 0.2);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
}

/* Clase para select seleccionado con auto-avance */
select.selected-option {
    border-color: var(--accent-color);
    box-shadow: 0 0 12px rgba(143, 181, 224, 0.4);
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
}

/* Estilos para el desvanecimiento del botón Continuar */
.next-slide.fading {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.radio-option label, .checkbox-option label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.radio-label, .checkbox-label {
    margin-left: 15px;
    font-size: 18px;
    color: var(--text-color);
    cursor: pointer;
    pointer-events: none;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #1c164a;
    border-color: var(--accent-color);
}

/* Estilos comunes para mensajes de error */
.error-message-base {
    color: rgba(255, 59, 48, 0.9);
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 15px;
    display: none;
    transition: all 0.3s ease;
    border-left: 3px solid rgba(255, 59, 48, 0.8);
    background: rgba(255, 59, 48, 0.08);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 10px rgba(255, 59, 48, 0.1);
    font-weight: 500;
    line-height: 1.4;
}

.error-message-base.visible {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* Se eliminó la clase options-error-msg para mantener coherencia visual */

/* Mensaje de error para campos de texto */
.field-error-msg {
    color: rgba(255, 59, 48, 0.9);
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 15px;
    display: none;
    transition: all 0.3s ease;
    border-left: 3px solid rgba(255, 59, 48, 0.8);
    background: rgba(255, 59, 48, 0.08);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 10px rgba(255, 59, 48, 0.1);
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    width: auto;
}

.field-error-msg.visible {
    display: block;
    animation: fadeInUp 0.4s ease;
    margin-top: 12px; /* Asegurar espacio entre el campo y el mensaje */
    clear: both; /* Evitar que flote junto a otros elementos */
}

/* Mensaje de error específico para radio buttons */
.radio-error-msg.visible {
    display: block !important;
    animation: fadeInUp 0.4s ease;
    margin-top: 10px !important;
    position: relative !important;
    z-index: 1;
}

/* Toast de error - Reemplazo para alerts */
.error-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.9) 0%, rgba(255, 0, 0, 0.75) 100%);
    color: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 5px 25px rgba(255, 59, 48, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    max-width: 350px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid rgba(255, 0, 0, 0.9);
}

.error-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.error-icon {
    margin-right: 15px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.error-content {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .error-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        padding: 12px 15px;
    }
    
    .error-icon {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .error-content {
        font-size: 0.85rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-error {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 59, 48, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    }
}

/* Button styling */
.btn {
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

/* Botón de regresar con flecha */
.back-btn {
    position: absolute;
    top: -10px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    line-height: 1;
}

.back-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}

.back-btn i {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.btn-primary {
    background: var(--primary-color);
    border: 1px solid var(--secondary-trans);
    color: var(--base-color);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--primary-light);
    color: var(--base-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--button-bg);
    color: var(--text-color);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--button-bg);
    color: var(--text-color);
    transform: translateY(-2px);
}

/* Results styling */
.progress {
    height: 30px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.progress-bar {
    background: linear-gradient(90deg, #4caf50, #2e7d32);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    line-height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

#results-slide {
    min-height: 500px; /* Mayor altura mínima para resultados */
}

#results-slide .slide-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-bottom: 40px; /* Espacio adicional al final */
}

/* Encabezado compacto de resultados */
.results-header-compact {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    margin-bottom: 15px;
    background: linear-gradient(160deg, rgba(28, 22, 74, 0.5) 0%, rgba(28, 22, 74, 0.4) 100%);
    border-radius: 12px;
    border-left: 4px solid #ffb74d; /* Mantenemos la coherencia con el icono */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transform: translateZ(0); /* Para mejorar rendering */
}

.results-icon {
    font-size: 1.8rem;
    color: #ffb74d; /* Tono dorado más atractivo */
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.15) 0%, rgba(255, 152, 0, 0.25) 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.4);
    position: relative;
}

.results-icon:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 183, 77, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.results-info {
    flex: 1;
}

.results-title {
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Destacamos el nombre del solicitante */
.results-title span {
    font-weight: 700;
    color: #fff;
    border-bottom: 1px dotted rgba(255, 183, 77, 0.6);
    padding-bottom: 1px;
    text-shadow: 0 0 10px rgba(255, 183, 77, 0.4);
}

/* Estilo para el contenedor principal de resultados */
.evaluation-container {
    padding: 0 10px 20px;
}

/* Resumen de la evaluación */
.evaluation-summary {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Tabs de navegación */
.results-tabs {
    margin-bottom: 20px;
    background: rgba(28, 22, 74, 0.4);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: var(--shadow-sm);
}

.tab-navigation {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Para Firefox */
}

.tab-navigation::-webkit-scrollbar {
    display: none; /* Para Chrome, Safari y Opera */
}

.tab-item {
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.tab-item.active {
    transform: translateY(-3px);
}

.tab-button {
    padding: 12px 5px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 3px solid transparent;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 10;
}

.tab-button:hover {
    color: var(--secondary-color);
    outline: none;
    transform: translateY(-2px);
}

.tab-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.tab-button i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Estilos por defecto para tab activo */
.tab-button.active {
    border-bottom-width: 3px;
    border-bottom-style: solid;
}

/* Colores específicos para cada tab */
#positives-tab.active, .tab-item.active #positives-tab {
    color: #4caf50; /* Verde */
    border-bottom-color: #4caf50;
    box-shadow: 0 5px 15px -8px rgba(76, 175, 80, 0.5);
}

#risks-tab.active, .tab-item.active #risks-tab {
    color: #ff9800; /* Amarillo/Naranja */
    border-bottom-color: #ff9800;
    box-shadow: 0 5px 15px -8px rgba(255, 152, 0, 0.5);
}

#recommendations-tab.active, .tab-item.active #recommendations-tab {
    color: #2196f3; /* Azul */
    border-bottom-color: #2196f3;
    box-shadow: 0 5px 15px -8px rgba(33, 150, 243, 0.5);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.tab-pane.active {
    display: block;
}

#positive-tab-content.active {
    background: linear-gradient(160deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.03) 100%);
    border-left: 3px solid rgba(76, 175, 80, 0.5);
}

#risks-tab-content.active {
    background: linear-gradient(160deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 152, 0, 0.03) 100%);
    border-left: 3px solid rgba(255, 152, 0, 0.5);
}

#recommendations-tab-content.active {
    background: linear-gradient(160deg, rgba(33, 150, 243, 0.08) 0%, rgba(33, 150, 243, 0.03) 100%);
    border-left: 3px solid rgba(33, 150, 243, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Listas de resultados */
.result-list {
    list-style-type: disc;
    padding: 0 0 0 25px;
    margin: 0;
}

.result-list li {
    margin-bottom: 15px;
    padding-left: 5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.result-list li:last-child {
    margin-bottom: 0;
}

/* Colores personalizados para cada lista */
#positive-factors-list li::marker {
    color: rgba(76, 175, 80, 0.9); /* Verde */
}

#risk-factors-list li::marker {
    color: rgba(255, 152, 0, 0.9); /* Amarillo/Naranja */
}

#recommendations-list li::marker {
    color: rgba(33, 150, 243, 0.9); /* Azul */
}

/* Alertas críticas */
.critical-alerts {
    margin-top: 20px;
    background-color: rgba(220, 53, 69, 0.15);
    border-radius: 10px;
    padding: 15px;
    border-left: 3px solid #dc3545;
}

.critical-alerts-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.critical-alerts-header i {
    color: #dc3545;
    font-size: 1.2rem;
    margin-right: 10px;
}

.critical-alerts-header h5 {
    margin: 0;
    color: #dc3545;
    font-size: 1rem;
}

.critical-list {
    list-style-type: disc;
    padding-left: 25px;
    margin: 0;
}

.critical-list li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Veredicto final */
.verdict-container {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 18px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.verdict-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.verdict-header i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 12px;
}

.verdict-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

#final-verdict {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 25px;
}

/* Estilos modernos para TGV Benefits - Colores coherentes con la página */
.tgv-benefits-section, .tgv-benefits {
    padding: 60px 0;
    background: linear-gradient(135deg, #1c164a 0%, #252073 25%, #3a2194 50%, #252073 75%, #1c164a 100%);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.tgv-benefits-section {
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(143, 181, 224, 0.3);
}

.tgv-benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8fb5e0, #ffd700, #8fb5e0);
    z-index: 1;
}

.tgv-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    position: relative;
    text-align: center;
}

.tgv-logo {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 12px;
    padding: 8px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.tgv-logo:hover {
    transform: scale(1.05);
}

.tgv-logo img {
    max-width: 100%;
    max-height: 100%;
}

.tgv-title {
    flex: 1;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.tgv-title h3 {
    margin: 0 0 5px 0;
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    color: white;
}

.highlight-text {
    background: linear-gradient(90deg, #ffd700, #ff9800);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

.user-name-highlight {
    font-weight: 700;
    color: #ffd700;
    border-bottom: 2px dotted rgba(255, 215, 0, 0.5);
    padding-bottom: 2px;
}

.greeting-animation {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.premium-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
}

.premium-badge {
    background: linear-gradient(45deg, #f5515f, #9f041b);
    color: white;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pulse-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.guarantee-badge {
    background: linear-gradient(45deg, #4caf50, #2e7d32);
    color: white;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tgv-title p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.tgv-main-benefit {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 25px;
    margin: 0 auto 30px;
    max-width: 800px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-header {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.benefit-tag {
    background: linear-gradient(45deg, #ffd700, #ff9800);
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.main-benefit-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

.success-rate {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 20px auto 0;
    max-width: 400px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-rate-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
    margin-right: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.percent-sign {
    font-size: 1.8rem;
    vertical-align: super;
}

.success-rate-text {
    font-size: 1.1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.main-benefit-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.premium-badge i {
    margin-right: 5px;
}

/* Tabs de TGV */
.tgv-tabs-container {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.solution-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tgv-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 5px;
}

.tgv-tab {
    flex: 1;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.tgv-tab:hover, .tgv-tab:focus {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    text-align: center;
}

.tgv-tab i {
    display: inline-block;
    font-size: 1.2rem;
    margin-right: 8px;
    vertical-align: middle;
}

.tgv-tab.active {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: #ffd700;
    border-bottom-color: #ffd700;
    box-shadow: 0 -2px 10px rgba(255, 215, 0, 0.2);
}

.tgv-tab-content {
    padding: 20px 5px 5px 5px;
}

.tgv-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tgv-tab-pane.active {
    display: block;
}

.feature-list {
    padding-left: 20px;
    margin: 0 0 20px 0;
    list-style-type: disc;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 5px;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.premium-list {
    padding-left: 5px !important;
    list-style-type: none !important;
}

.premium-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1.05rem;
}

.premium-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #4caf50;
    font-weight: bold;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-badge {
    display: flex;
    align-items: center;
    background: rgba(40, 167, 69, 0.15);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 10px;
}

.success-badge i {
    color: #4caf50;
    margin-right: 10px;
    font-size: 1.1rem;
}

.glow-badge {
    background: linear-gradient(45deg, rgba(76, 175, 80, 0.2), rgba(46, 125, 50, 0.4));
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    }
    to {
        box-shadow: 0 4px 25px rgba(76, 175, 80, 0.7);
    }
}

.highlight-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.benefit-description {
    margin-bottom: 20px;
}

.testimonial-mini {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.testimonial-quote i {
    position: absolute;
    left: 0;
    top: 0;
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 10px;
}

.testimonial-stars {
    color: #ffd700;
    letter-spacing: 2px;
}

.testimonial-name {
    font-size: 0.9rem;
    opacity: 0.8;
}
/*    font-size: 1.1rem;*/
/*}*/

/* WhatsApp contact */
.action-container {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
}

.action-header {
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    padding: 10px;
    text-align: center;
}

.timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-offer {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.offer-content {
    text-align: center;
}

.offer-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.offer-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.offer-subtitle {
    margin-top: 5px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.offer-expires {
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.expiry-text {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.countdown {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.whatsapp-contact {
    text-align: center;
    background: linear-gradient(160deg, #075e54, #128c7e);
    padding: 30px 20px;
    position: relative;
}

.whatsapp-contact h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.whatsapp-button:hover {
    background-color: #18ac4f;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
}

.pulse-button {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    }
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.trust-badge {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badge i {
    color: #25D366;
    font-size: 1.1rem;
}
/*    color: white;*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);*/
/*}*/

.whatsapp-button i {
    margin-right: 5px;
}

.response-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.response-time i {
    margin-right: 5px;
}
/*    margin-bottom: 20px;*/
/*    box-shadow: var(--shadow-sm);*/
/*    border: 1px solid var(--secondary-trans);*/
/*}*/

#weaknesses-list li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

/* Textarea height adjustments */
textarea.form-control {
    min-height: 120px;
}

/* Media queries for responsiveness */
/* Header y footer más compactos */
header {
    padding: 15px 0 !important;
}

header h1 {
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 5px;
}

header .lead {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
}

/* Footer fijo */
footer {
    position: relative;
    width: 100%;
    background: transparent; /* Fondo transparente para respetar el gradiente */
    padding: 15px 0;
    margin-top: auto !important; /* Empuja al footer al final del contenedor */
    margin-bottom: 0 !important;
    font-size: 0.9rem;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0; /* Evita que el footer se contraiga */
    /* Añadir efecto de vidrio esmerilado */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.footer-link:hover {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px 15px 15px; /* Reducimos el padding inferior */
        width: 100%;
        overflow: visible;
        /*min-height: 100%;*/
        display: flex;
        flex-direction: column;
    }
    
    .back-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        top: -5px;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        margin-top: 8px;
        padding-top: 10px;
    }
    
    header {
        padding: 10px 0 !important;
    }
    
    h1 {
        font-size: 1.5rem;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    header .lead {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    /* Estos estilos están reemplazados por los definidos más arriba */
    
    .slide-content {
        padding: 10px 0;
        min-height: 0;
        height: auto;
    }
    
    .slide-navigation {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        margin-top: 20px;
    }
    
    .slide-navigation button {
        width: 100%;
    }
    
    .slide-navigation .btn-primary {
        min-width: 0;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .radio-options, .checkbox-options {
        gap: 10px;
    }
    
    .radio-option, .checkbox-option {
        padding: 12px 15px;
    }
    
    .radio-label, .checkbox-label {
        font-size: 16px;
    }
    
    .typeform-wrapper {
        height: auto; /* Altura automática en lugar de max-height */
        min-height: 400px; /* Altura mínima para móviles */
        overflow: visible;
        max-height: none;
    }
    
    footer {
        position: relative;
        padding: 10px 0;
        font-size: 0.8rem;
        margin-top: auto !important;
        z-index: 10;
        width: 100%;
        background: transparent;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-divider {
        display: none;
    }
}

/* Option select color fix */
option {
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Intl Tel Input customization */
/*.phone-input-container {*/
/*    margin-bottom: 20px;*/
/*}*/

.iti {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.iti-flag-container {
    height: 100%;
}

.iti-selected-flag, .iti__selected-flag {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px 0 0 8px;
    height: 100%;
}

.iti-country-list, .iti__country-list {
    background-color: var(--background-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-height: 60vh !important;
    width: 85% !important;
    max-width: 300px;
    margin: 0 !important;
    z-index: 9999 !important;
}

/* Estilos para el selector de países */
.iti__country:first-child {
    border-top: none !important;
}

.iti-country, .iti__country {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.iti-country:hover, .iti__country:hover,
.iti-country.active, .iti__country.iti__active {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Fondo oscuro semi-transparente para el selector de países */
.iti__country-list-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 9998 !important;
    display: block !important;
    touch-action: none !important; /* Evita desplazamiento táctil en el fondo */
}

/* Mejoras específicas para iOS y Android */
@supports (-webkit-touch-callout: none) {
    /* Estilos específicos para iOS */
    .iti-country-list, .iti__country-list {
        max-width: 90% !important;
        border-radius: 12px !important; /* Estilo iOS */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
    }
    
    .iti-country, .iti__country {
        padding: 16px 20px !important; /* Altura touch iOS */
    }
}

.iti input {
    height: calc(3.5rem + 10px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
    padding-left: 52px !important; /* Espacio para la bandera y el código */
    padding-top: 0.3rem; /* Alinear el texto verticalmente */
}

/* Eliminar el padding-left que agregaba intl-tel-input */
.iti--allow-dropdown input, 
.iti--allow-dropdown input[type=text], 
.iti--allow-dropdown input[type=tel], 
.iti--separate-dial-code input, 
.iti--separate-dial-code input[type=text], 
.iti--separate-dial-code input[type=tel] {
    padding-right: 6px;
    padding-left: 52px !important;
}

.phone-input-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.phone-validation-msg {
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.phone-validation-msg.valid {
    color: #4caf50;
}

.phone-validation-msg.error {
    color: #f44336;
}

/* Estilos para input de teléfono válido/inválido */
input.valid-phone {
    border-color: #4caf50 !important;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25) !important;
}

input.is-invalid {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25) !important;
}

/* Hack para forzar teclado numérico en iOS */
.numeric-focus {
    font-size: 16px !important; /* Evita zoom en iOS */
}

/* Ajuste para placeholder de teléfono */
.iti input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Estilos para campos con error */
.form-control.is-invalid, .form-select.is-invalid {
    border-color: rgba(255, 59, 48, 0.8) !important;
    box-shadow: 0 0 15px rgba(255, 59, 48, 0.2) !important;
}

/* Establece background específico para form-control con error */
.form-control.is-invalid {
    background: linear-gradient(160deg, rgba(255, 59, 48, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* Corregir el background-image para selects en error state */
.form-select.is-invalid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    background-color: rgba(255, 59, 48, 0.05) !important;
}

/* Estilos para la lista de países y propósitos */
/* Estilo específico para cuando hay problemas de scroll */
/* Estilos específicos para el slide de países */
/* La configuración para todos los contenedores de listas está unificada */

.countries-container, .purposes-container, .visas-container {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 8px;
    padding: 15px;
    min-height: 80px;
    max-height: 250px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Para mejor desplazamiento en iOS */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    z-index: 2; /* Asegura que el contenedor esté por encima de otros elementos */
}

.empty-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.country-item, .purpose-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.country-item:hover, .purpose-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.country-info, .purpose-info {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.country-info span.country-name, .purpose-info span.purpose-name {
    font-weight: 500;
    margin-right: 8px;
}

.country-info span.country-time {
    opacity: 0.8;
}

.country-actions, .purpose-actions {
    display: flex;
    gap: 5px;
}

.country-actions button, .purpose-actions button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.5s ease;
    line-height: 1;
    font-size: 1.1rem;
}

.country-actions button:hover, .purpose-actions button:hover {
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.country-actions button.delete-btn:hover, .purpose-actions button.delete-btn:hover {
    color: #ff5252;
}

.country-actions button.edit-btn:hover, .purpose-actions button.edit-btn:hover {
    color: #64b5f6;
}

/* Estados de edición */
.country-item.editing, .purpose-item.editing {
    background-color: rgba(143, 181, 224, 0.3);
    border: 1px solid var(--accent-color);
}

/* Mensajes de validación */
.countries-validation-msg, .purposes-validation-msg, .visas-validation-msg {
    font-size: 14px;
    margin-top: 12px;
    color: rgba(255, 59, 48, 0.9);
    min-height: 20px;
    transition: all 0.3s ease;
    display: none;
    padding: 8px 15px;
    border-left: 3px solid rgba(255, 59, 48, 0.8);
    background: rgba(255, 59, 48, 0.08);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 10px rgba(255, 59, 48, 0.1);
    font-weight: 500;
    line-height: 1.4;
}

/* Clase para mostrar mensajes de validación */
.countries-validation-msg.visible,
.purposes-validation-msg.visible,
.visas-validation-msg.visible {
    display: block !important;
    width: 100%;
    animation: fadeInUp 0.4s ease;
}

/* Estilo de error para contenedores de países, propósitos y visas */
.countries-container.error, .purposes-container.error, .visas-container.error, .purpose-options-container.error {
    background-color: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.15);
    animation: pulse-error 1.5s ease-in-out;
}

/* Estilos para opciones de propósito de viaje */
.purpose-options-container {
    margin-bottom: 20px;
}

.purpose-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    height: 100%;
    min-height: 90px;
}

.purpose-option:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.purpose-option.selected {
    background-color: rgba(143, 181, 224, 0.25);
    border: 1px solid var(--accent-color);
    box-shadow: var(--shadow-accent);
}

.purpose-option i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.purpose-option.selected i {
    color: var(--primary-color);
}

.purpose-option span {
    font-size: 0.95rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.purpose-item i {
    margin-right: 8px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Prevenir scroll innecesario */
.active .slide-content {
    height: auto;
    min-height: 0;
}

/* Fix específico para iOS */
@supports (-webkit-touch-callout: none) {
    html, body {
        height: -webkit-fill-available;
    }
    body {
        min-height: -webkit-fill-available;
    }
    .container {
        min-height: -webkit-fill-available;
    }
    #visa-form {
        position: static;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

}

body {
    position: relative;
    width: 100%;
    height: 100%;
}


/* Estilos para la página de bienvenida */
.welcome-content {
    max-width: 800px;
    width: 100%;
    padding: 20px 0 30px 0; /* Añadimos padding vertical */
    text-align: center;
    height: auto !important; /* Forzar altura automática */
    overflow-x: hidden; /* Evitar scroll horizontal */
    box-sizing: border-box; /* Asegurar que padding no cause overflow */
    margin-left: auto;
    margin-right: auto;
}

/* Estilos específicos para el slide de intro */
#intro-slide {
    overflow-x: hidden;
    height: auto !important;
    min-height: 100%;
    max-width: 100%;
}

#intro-slide.active {
    overflow-x: hidden;
    height: auto !important;
    max-width: 100%;
}

.welcome-header {
    margin-bottom: 25px;
    position: relative;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.badge-container {
    margin-bottom: 15px;
    overflow: visible;
    position: relative;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: shimmer 3s ease-in-out infinite;
    margin: 15px 0;
    position: relative;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden; /* Keep overflow hidden for the shine effect */
    z-index: 1;
}

.ai-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

.ai-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.9;
    z-index: -1;
    filter: blur(10px);
}

.ai-badge i {
    font-size: 1.1rem;
    animation: sparkle 2s ease-in-out infinite;
    color: #ffd700;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.6));
}

@keyframes shimmer {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.02);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(5deg);
    }
    50% {
        transform: scale(1.2) rotate(-5deg);
    }
    75% {
        transform: scale(1.1) rotate(3deg);
    }
}

.ai-badge-wrapper {
    text-align: center;
    position: relative;
    padding: 20px 40px;
    overflow: visible;
}

.ai-badge-description {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

/* Prevent AI badge from looking like a button on mobile */
@media (max-width: 768px) {
    .ai-badge {
        padding: 8px 20px;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .ai-badge:hover {
        transform: none;
        cursor: default;
    }
    
    .ai-badge-description {
        font-size: 0.8rem;
    }
}

/* Add floating particles effect */
.ai-badge-wrapper::before,
.ai-badge-wrapper::after {
    content: '✨';
    position: absolute;
    font-size: 1rem;
    animation: float 4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.ai-badge-wrapper::before {
    top: 5px;
    left: 20px;
    animation-delay: 0s;
}

.ai-badge-wrapper::after {
    top: 10px;
    right: 20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(-5px) rotate(30deg) scale(1);
    }
    50% {
        transform: translateY(-15px) rotate(180deg) scale(1.1);
        opacity: 1;
    }
    90% {
        opacity: 1;
        transform: translateY(-5px) rotate(330deg) scale(1);
    }
}

.title-main {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    background: linear-gradient(90deg, var(--base-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-family: 'Raleway', 'Nunito', sans-serif;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Highlights */
.highlights-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.highlight-box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    width: calc(33.33% - 14px);
    min-width: 200px;
    transition: transform 0.25s ease, background-color 0.25s ease;
    border: 1px solid var(--secondary-trans);
    box-shadow: var(--shadow-sm);
}

.highlight-box:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-text {
    text-align: left;
}

.highlight-text h4 {
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: white;
}

.highlight-text p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
}

/* Testimoniales */
.testimonials-container {
    margin-bottom: 30px;
    padding: 0 15px;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.testimonial-carousel {
    position: relative;
    min-height: 170px;
    margin-bottom: 15px;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(30px);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--secondary-trans);
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.rating {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
}

.author {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Call to Action */
.action-container {
    margin-top: 15px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.users-count {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.counter {
    font-weight: 700;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
}

.counter-update {
    color: #4caf50;
    transform: scale(1.05);
}

.btn-lg {
    padding: 13px 28px;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: all 0.25s ease;
    border-radius: 8px;
    background: var(--primary-color);
    border: 1px solid var(--secondary-trans);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    white-space: normal; /* Permitir múltiples líneas */
    word-wrap: break-word; /* Asegurar que el texto se ajuste */
    max-width: 100%; /* Asegurar que no se salga del contenedor */
    position: relative;
    z-index: 1;
    color: var(--base-color);
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-light);
    border-color: var(--secondary-color);
}

/* Estilo para el botón de acción principal */
.btn-primary.pulsate {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.btn-primary.pulsate:hover {
    box-shadow: 0 0 15px var(--secondary-color);
}

/* Animación suave de pulsación */
.pulsate {
    animation: subtlePulse 2s infinite;
}

@keyframes subtlePulse {
    0% { box-shadow: 0 0 0 0 var(--secondary-trans); }
    70% { box-shadow: 0 0 10px 5px rgba(143, 181, 224, 0.2); }
    100% { box-shadow: 0 0 0 0 rgba(143, 181, 224, 0); }
}

.guarantee {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animaciones */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(143, 181, 224, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(143, 181, 224, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(143, 181, 224, 0);
    }
}

.pulsate {
    animation: pulsate 1.5s infinite alternate;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Ajustes responsivos para la página de bienvenida */
@media (max-width: 768px) {
    .title-main {
        font-size: 1.7rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .highlights-container {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-box {
        width: 100%;
        max-width: 300px;
    }
    
    .testimonial {
        padding: 15px;
    }
    
    .quote {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        width: 100%;
        padding: 10px 15px;
        font-size: 0.95rem; /* Reducir tamaño de fuente */
        line-height: 1.3; /* Mejor espaciado de línea */
    }
    
    /* Específicamente para el botón de evaluar perfil */
    .pulsate.btn-lg {
        padding: 8px 10px;
        font-size: 0.9rem;
        white-space: normal;
        width: calc(100% - 20px); /* Reducir ancho ligeramente */
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Icono más pequeño */
    .pulsate.btn-lg i {
        font-size: 0.85rem;
    }
    
    /* Ajuste para toast en mobile - versión más discreta */
    .toast-container {
        bottom: 10px;
        right: 10px;
        left: auto;
        max-width: 230px; /* Reducimos el ancho máximo */
    }
    
    /* Estilo específico para toast en móviles */
    .toast-mobile {
        padding: 8px 10px; /* Padding reducido */
        opacity: 0.85; /* Más transparente */
        font-size: 0.9em; /* Texto más pequeño */
        transform: translateX(110%); /* Entra desde más cerca */
        max-width: 230px; /* Ancho máximo más pequeño */
        border-radius: 6px; /* Bordes más suaves */
    }
    
    .toast-mobile .toast-icon {
        width: 24px; /* Icono más pequeño */
        height: 24px;
        margin-right: 8px;
        font-size: 0.8rem;
    }
    
    .toast-mobile .toast-title {
        font-size: 0.8rem;
    }
    
    .toast-mobile .toast-message {
        font-size: 0.75rem;
    }
    
    .toast-mobile .toast-score {
        font-size: 0.75rem;
        padding: 1px 4px;
    }
}

/* Estilos específicos para pantallas grandes */
@media (min-height: 900px) {
    .welcome-content {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .highlights-container {
        margin: 40px 0;
    }
    
    .testimonials-container {
        margin: 40px 0;
    }
    
    .action-container {
        margin-top: 40px;
    }
}

/* Estilos para notificaciones toast */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.toast {
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    color: var(--base-color);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(4px);
    border-left: 3px solid var(--secondary-color);
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    background-color: var(--primary-color);
    color: var(--base-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 3px;
    color: var(--secondary-color);
}

.toast-message {
    font-size: 0.85rem;
    opacity: 0.9;
}

.toast-score {
    background-color: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-block;
    margin-left: 5px;
}

/* Estilos para el disclaimer de privacidad */
.privacy-badge {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    border-left: 3px solid var(--secondary-color);
    transition: all 0.25s ease;
}

.privacy-badge:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-left-color: var(--secondary-color);
}

/* Versión más pequeña del badge para otros slides */
.privacy-badge-small {
    padding: 8px 12px;
    margin: 5px 0 15px 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-left-width: 2px;
}

.privacy-badge-small:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.privacy-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.privacy-badge-small .privacy-icon {
    font-size: 1rem;
    margin-right: 10px;
}

.privacy-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

.privacy-badge-small .privacy-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Estilos para el botón de retroceso superior */
.back-button {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.back-button i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .privacy-badge {
        padding: 10px 12px;
        margin: 10px 0 15px 0;
    }
    
    .privacy-icon {
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .privacy-text {
        font-size: 0.8rem;
    }
    
    /* Ajustes para botón de retroceso en móviles */
    .back-button {
        width: 36px;
        height: 36px;
        top: 0;
    }
    
    .back-button i {
        font-size: 1rem;
    }
}

/* Animation for entry and exit */
.slide-enter {
    opacity: 0;
    transform: translateY(20px);
}

.slide-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--slide-transition), transform var(--slide-transition);
}

.slide-exit {
    opacity: 1;
    transform: translateY(0);
}

.slide-exit-active {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity var(--slide-transition), transform var(--slide-transition);
}
/* Estilos para la barra de resultado */
#score-bar {
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 1s ease;
    will-change: width, background-color;
}

/* Estilos para la animación de la barra de progreso */
.progress-animated {
    background-size: 200% 200%;
    animation: progress-gradient-shift 2s ease infinite;
}

/* Estilos para el hero de resultados con skyline */
.results-hero-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.skyline-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.skyline-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: fadeInOut 30s infinite;
    pointer-events: none;
    z-index: 0;
}

.skyline-slide:nth-child(1) {
    animation-delay: 0s;
}

.skyline-slide:nth-child(2) {
    animation-delay: 5s;
}

.skyline-slide:nth-child(3) {
    animation-delay: 10s;
}

.skyline-slide:nth-child(4) {
    animation-delay: 15s;
}

.skyline-slide:nth-child(5) {
    animation-delay: 20s;
}

.skyline-slide:nth-child(6) {
    animation-delay: 25s;
}

@keyframes fadeInOut {
    0%, 16%, 100% { opacity: 0; }
    4%, 12% { opacity: 0.8; }
}

.skyline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--primary-dark) 0%, rgba(28, 22, 74, 0.7) 50%, rgba(28, 22, 74, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Nueva estructura del bloque de resultados para mobile */
.mobile-results-header {
    padding: 20px 15px;
    text-align: center;
    margin-bottom: 15px;
}

.results-title-container {
    margin-bottom: 15px;
}

.results-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--base-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.results-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.probability-card {
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    min-height: 350px; /* Altura aumentada para mostrar todo el contenido */
}

.skyline-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.skyline-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: fadeInOut 30s infinite;
    pointer-events: none;
    z-index: 0;
}

.skyline-slide:nth-child(1) {
    animation-delay: 0s;
}

.skyline-slide:nth-child(2) {
    animation-delay: 5s;
}

.skyline-slide:nth-child(3) {
    animation-delay: 10s;
}

.skyline-slide:nth-child(4) {
    animation-delay: 15s;
}

.skyline-slide:nth-child(5) {
    animation-delay: 20s;
}

.skyline-slide:nth-child(6) {
    animation-delay: 25s;
}

.skyline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--primary-dark) 0%, rgba(28, 22, 74, 0.7) 50%, rgba(28, 22, 74, 0.8) 100%);
    z-index: 1;
}

.probability-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Distribuir contenido para evitar solapamientos */
    position: relative;
    z-index: 2;
    padding: 20px 20px 25px; /* Más padding en la parte inferior */
    height: 100%;
    background: rgba(28, 22, 74, 0.3); /* Más opacidad para mejor contraste */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    pointer-events: auto;
}

.probability-message {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px; /* Espacio al final para asegurar que el botón sea visible */
    width: 100%; /* Asegurar que ocupa todo el ancho disponible */
}

.message-content {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    background: rgba(255, 152, 0, 0.15);
    border-radius: 30px;
    display: inline-block;
}

.message-action {
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 5px;
    position: relative;
    z-index: 10; /* Asegurar que el botón esté por encima de otros elementos */
}

.btn-action {
    display: inline-block;
    background: linear-gradient(90deg, #ffb74d, #ff9800); /* Cambiamos el color a dorado para coherencia visual */
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    position: relative;
    z-index: 10; /* Asegurar que esté por encima de otros elementos */
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-action i {
    margin-left: 5px;
}

.probability-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 30%;
    position: relative;
    z-index: 5; /* Higher than skyline elements */
}

.probability-circle {
    width: 150px;
    height: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    z-index: 6; /* Higher than probability-display */
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.progress-ring-circle-bg {
    opacity: 0.5;
}

.progress-ring-circle {
    transition: stroke-dashoffset 1.5s ease-in-out;
    transform-origin: center;
    stroke-width: 10px; /* Thicker stroke for better visibility */
}

.probability-content {
    position: relative;
    z-index: 7; /* Higher than probability-circle */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    background-color: rgba(28, 22, 74, 0.7);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.probability-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: white;
    text-shadow: 0 0 10px rgba(143, 181, 224, 0.8), 0 2px 10px rgba(0,0,0,0.4);
    position: relative;
    z-index: 8; /* Highest value to ensure visibility */
}

.probability-symbol {
    font-size: 1.5rem;
    position: relative;
    z-index: 8; /* Match the value of probability-value */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: -15px;
    margin-left: 5px;
    z-index: 5;
}

.probability-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text {
    flex: 0 0 65%;
    text-align: left;
    padding-left: 20px;
}

.hero-message {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.cta-preview {
    margin-top: 20px;
}

.btn-hero-action {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-action:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
}

.btn-hero-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-hero-action:hover:before {
    transform: translateX(100%);
    transition: all 0.8s ease;
}

.btn-hero-action i {
    margin-left: 8px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Responsive adaptations */
@media (max-width: 768px) {
    .results-header-compact {
        padding: 8px 12px;
    }
    
    .results-icon {
        font-size: 1.5rem;
        margin-right: 10px;
    }
    
    .results-title {
        font-size: 1.1rem;
    }
    
    .results-hero-container {
        height: 400px;
    }
    
    .hero-content {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .probability-display {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding-left: 0;
    }
    
    .probability-circle {
        width: 120px;
        height: 120px;
    }
    
    .skyline-background {
        opacity: 0.9;
    }
    
    .skyline-slide {
        background-position: center 20%;
    }
    
    .probability-content {
        width: 100px;
        height: 100px;
    }
    
    .probability-value {
        font-size: 2.5rem;
    }
    
    .probability-symbol {
        font-size: 1.2rem;
        margin-top: -10px;
    }
    
    .probability-label {
        font-size: 1rem;
    }
    
    .hero-message {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .progress-ring {
        width: 120px;
        height: 120px;
    }
    
    .progress-ring-circle, .progress-ring-circle-bg {
        r: 50;
        cx: 60;
        cy: 60;
    }
}

@keyframes progress-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Estilos para la sección de resultados mejorada */
.results-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(90deg, var(--base-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.personal-result-badge {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.personal-result-badge i {
    color: var(--secondary-color);
}

.verdict-container {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.verdict-container:hover {
    transform: translateY(-5px);
}

/* Estilos para la sección de beneficios personalizada */
.personal-greeting {
    text-align: center;
    padding: 15px 0;
}

.welcome-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.welcome-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Spotlight card */
.spotlight-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.spotlight-header {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 20px;
    display: flex;
    align-items: center;
}

.spotlight-icon {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.3rem;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.spotlight-title {
    color: var(--base-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.spotlight-body {
    padding: 25px;
    position: relative;
}

.spotlight-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.spotlight-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 10px;
}

.spotlight-badge span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Feature cards */
.feature-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    color: white;
}

.feature-header.bg-success {
    background: linear-gradient(90deg, #4caf50, #2e7d32);
}

.feature-header.bg-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.feature-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.1rem;
}

.feature-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-body {
    padding: 20px;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
}

.feature-list li:before {
    content: '✓';
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

.feature-highlight {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-highlight i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Testimonial banner */
.testimonial-banner {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 10px;
    padding: 25px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
}

.testimonial-quote {
    position: relative;
    padding-left: 40px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-quote i {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    font-style: normal;
}

/* Call to action premium */
.call-to-action-premium {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.call-to-action-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.call-to-action-premium h4 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.call-to-action-premium p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.action-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.action-badge i {
    margin-right: 5px;
}

/* Responsive ajustments */
@media (max-width: 768px) {
    .results-title {
        font-size: 1.8rem;
    }
    
    .personal-result-badge {
        font-size: 1rem;
    }
    
    .welcome-name {
        font-size: 1.6rem;
    }
    
    .welcome-message {
        font-size: 1rem;
    }
    
    .spotlight-header {
        padding: 15px;
    }
    
    .spotlight-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .spotlight-title {
        font-size: 1.2rem;
    }
    
    .spotlight-body {
        padding: 15px;
    }
    
    .spotlight-text {
        font-size: 1rem;
    }
    
    .feature-header {
        padding: 12px 15px;
    }
    
    .feature-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .feature-header h4 {
        font-size: 1rem;
    }
    
    .testimonial-quote p {
        font-size: 1rem;
    }
    
    .call-to-action-premium h4 {
        font-size: 1.3rem;
    }
    
    .call-to-action-premium p {
        font-size: 1rem;
    }
}

/* American Flag Theming */
.usa-button {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    border: 2px solid #1E40AF;
    position: relative;
    overflow: hidden;
    color: white !important;
}

.usa-button::before {
    content: '⭐';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
    animation: twinkle 3s ease-in-out infinite;
}

.usa-button::after {
    content: '⭐';
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
    animation: twinkle 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.usa-button:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}


/* Stars and stripes accent */
.patriotic-accent {
    position: relative;
}

.patriotic-accent::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #DC2626 0%, #3B82F6 50%, #DC2626 100%);
    opacity: 0.7;
}

/* American themed headers */
.usa-header {
    color: #1E40AF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* USA flag emoji animation */
.flag-wave {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

/* Evaluation Button - Complete Refactor */
.cta-section {
    position: relative;
    margin: 20px 0;
}

/* Arrow Pointer */
.cta-arrow-pointer {
    text-align: center;
    margin-bottom: 10px;
}

.arrow-icon {
    font-size: 1.5rem;
    display: inline-block;
    animation: arrow-bounce 1.5s ease-in-out infinite;
    color: #FFD700;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

/* Main Button Styles */
.evaluation-btn {
    position: relative;
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    border: none;
    border-radius: 10px;
    padding: 0;
    overflow: visible;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

/* Button Content Container */
.evaluation-btn__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    gap: 8px;
    width: 100%;
}

/* Icon Styles */
.evaluation-btn__icon {
    font-size: 1.4rem;
    color: #FFD700;
    margin-bottom: 6px;
    animation: icon-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.4));
}

/* Text Container */
.evaluation-btn__text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

/* Primary Text */
.evaluation-btn__primary {
    font-weight: 700;
    font-size: 1.05rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: center;
}

/* Flag */
.evaluation-btn__flag {
    font-size: 1.2rem;
    animation: flag-swing 2s ease-in-out infinite;
    display: inline-block;
}

/* Subtext */
.evaluation-btn__subtext {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-align: center;
    margin-top: 4px;
}

/* Badge */
.evaluation-btn__badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #DC2626;
    color: white;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: bold;
    border-radius: 4px;
    transform: rotate(8deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: badge-pulse 2s ease-in-out infinite;
}

/* Hover Effects - Subtle for mobile */
.evaluation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

/* Active State */
.evaluation-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.3);
}

/* Animations */
@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

@keyframes flag-swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes badge-pulse {
    0%, 100% { transform: rotate(8deg) scale(1); }
    50% { transform: rotate(8deg) scale(1.05); }
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .cta-arrow-pointer {
        margin-bottom: 15px;
    }
    
    .arrow-icon {
        font-size: 2rem;
    }
    
    .evaluation-btn {
        width: auto;
        min-width: 320px;
        padding: 0;
    }
    
    .evaluation-btn__content {
        flex-direction: row;
        padding: 18px 35px;
        gap: 12px;
        align-items: center;
    }
    
    .evaluation-btn__icon {
        font-size: 1.6rem;
        margin-bottom: 0;
        margin-right: 5px;
    }
    
    .evaluation-btn__text {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
    
    .evaluation-btn__primary {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }
    
    .evaluation-btn__flag {
        font-size: 1.4rem;
    }
    
    .evaluation-btn__subtext {
        font-size: 0.9rem;
        margin-left: 15px;
        margin-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        padding-left: 15px;
    }
    
    .evaluation-btn__badge {
        top: -10px;
        right: -10px;
        padding: 3px 10px;
        font-size: 0.7rem;
    }
    
    /* Enhanced hover effects for desktop */
    .evaluation-btn:hover {
        transform: translateY(-3px) scale(1.02);
    }
    
    .evaluation-btn:hover .evaluation-btn__icon {
        animation: icon-spin 0.6s ease;
    }
}

@keyframes icon-spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes wave {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Results Button Styles */
.results-btn {
    position: relative;
    width: 85%;
    max-width: 320px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #2a4fbf, #1a3a8f);
    border: 3px solid #4169e1;
    border-radius: 16px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 20px rgba(33, 150, 243, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 -4px 0 rgba(0, 0, 0, 0.2);
    animation: resultsShimmer 3s ease-in-out infinite;
    transform: translateY(0);
    margin: 0 auto;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ffd700, #4169e1, #ffd700);
    background-size: 400% 400%;
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    animation: resultsGradientFlow 3s ease-in-out infinite;
}

.results-btn:hover::before {
    opacity: 1;
}

.results-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #1a3a8f, #0f2d6f);
    box-shadow: 
        0 12px 30px rgba(33, 150, 243, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.3),
        inset 0 -4px 0 rgba(0, 0, 0, 0.3);
}

.results-btn:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 4px 15px rgba(33, 150, 243, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.results-btn__badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #32cd32, #228b22);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(50, 205, 50, 0.4);
    animation: resultsBounce 2s ease-in-out infinite;
    z-index: 2;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.results-btn__content {
    position: relative;
    z-index: 1;
}

.results-btn__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.results-btn__text {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.results-btn__text i {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-size: 1.3rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

.results-btn__arrow-wrapper {
    position: relative;
    width: 40px;
    height: 30px;
    margin-left: 15px;
}

.results-btn__arrow-base {
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 4px;
    background: #ffd700;
    transform: translateY(-50%);
    animation: resultsArrowPulse 1.5s ease-in-out infinite;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.results-btn__arrow-pointer {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #ffd700;
    animation: resultsArrowMove 1.5s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.results-btn__subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.results-btn__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.results-btn__particles .particle {
    position: absolute;
    color: #ffd700;
    font-size: 12px;
    opacity: 0.8;
    text-shadow: 0 0 10px currentColor;
}

.results-btn__particles .particle--star {
    top: -25px;
    left: 10%;
    animation: resultsFloat 6s ease-in-out infinite;
}

.results-btn__particles .particle--circle {
    top: -20px;
    right: 20%;
    animation: resultsFloat 8s ease-in-out infinite 1s;
    color: #4169e1;
}

.results-btn__particles .particle--diamond {
    bottom: -20px;
    left: 25%;
    animation: resultsFloat 7s ease-in-out infinite 0.5s;
}

.results-btn__particles .particle--triangle {
    bottom: -25px;
    right: 15%;
    animation: resultsFloat 9s ease-in-out infinite 1.5s;
    color: #32cd32;
}

/* Results Button Animations */
@keyframes resultsShimmer {
    0%, 100% {
        background: linear-gradient(135deg, #2a4fbf, #1a3a8f);
    }
    50% {
        background: linear-gradient(135deg, #1a3a8f, #2a4fbf);
    }
}

@keyframes resultsGradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes resultsBounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-5px) scale(1.05);
    }
    75% {
        transform: translateY(3px) scale(0.95);
    }
}

@keyframes resultsArrowPulse {
    0%, 100% {
        transform: translateY(-50%) scaleX(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scaleX(1.3);
        opacity: 0.8;
    }
}

@keyframes resultsArrowMove {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(8px);
    }
}

@keyframes resultsFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-30px) translateX(10px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-50px) translateX(-5px) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-25px) translateX(15px) rotate(270deg);
        opacity: 1;
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.7;
    }
}

/* Mobile Optimizations for Results Button */
@media (max-width: 768px) {
    .results-btn {
        width: 90%;
        max-width: 300px;
        padding: 16px 35px;
        font-size: 1.05rem;
    }

    .results-btn__badge {
        right: 10px;
        top: -8px;
        font-size: 0.7rem;
        padding: 3px 12px;
    }

    .results-btn__text {
        font-size: 1rem;
    }

    .results-btn__subtitle {
        font-size: 0.8rem;
    }

    .results-btn__arrow-wrapper {
        width: 35px;
        height: 25px;
        margin-left: 10px;
    }

    .results-btn__particles .particle {
        font-size: 10px;
    }
}

/* Dark theme support for results button */
@media (prefers-color-scheme: dark) {
    .results-btn {
        border-color: #5c7cfa;
    }

    .results-btn__badge {
        background: linear-gradient(135deg, #40c057, #2f9e44);
    }
}

/* Estilos para sección How It Works */
.tgv-how {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0;
    position: relative;
}

.tgv-how .row {
    margin: 0 !important;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

/* Arreglo global para rows con problemas de centrado */
.row.justify-content-center {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}

/* Arreglo específico para rows con margen superior */
.row.mt-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Arreglo específico para carousel-inner */
.carousel-inner .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 1rem;
}

/* TGV Suite - Oculto por defecto */
.tgv-suite {
    display: none;
}

/* Mostrar TGV Suite solo en resultados */
.result-displayed .tgv-suite {
    display: block;
}

/* Arreglo para containers dentro de secciones */
.tgv-suite .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.tgv-how h2 {
    color: #1c164a;
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.step-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(143, 181, 224, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #8fb5e0, #5a92c9);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-card:hover::before {
    opacity: 0.1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1c164a, #252073);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
    box-shadow: 0 5px 15px rgba(28, 22, 74, 0.3);
}

.step-card h4 {
    color: #1c164a;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Estilos mejorados para el carrusel de expertos */
.tgv-experts {
    background: #f8f9fa;
    padding: 80px 0;
}

.tgv-experts h2 {
    color: #1c164a;
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.tgv-experts .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#expertsCarousel {
    max-width: 900px;
    margin: 0 auto;
}

#expertsCarousel .carousel-inner {
    padding: 0 20px;
}

#expertsCarousel .row {
    margin: 0;
}

.tgv-experts .col-md-6 {
    padding: 0 15px;
    display: flex;
    justify-content: center;
}

.advisor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: auto;
    margin: 10px auto;
    border: 1px solid rgba(143, 181, 224, 0.2);
    max-width: 350px;
}

.advisor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.advisor-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

/* Desktop - mostrar 2 tarjetas */
@media (min-width: 768px) {
    .tgv-experts .col-md-6 {
        max-width: 50%;
    }
    
    .advisor-card {
        max-width: 400px;
    }
}

/* Mobile - mostrar 1 tarjeta */
@media (max-width: 767px) {
    .advisor-card {
        max-width: 100%;
        height: auto;
    }
    
    .advisor-card img {
        aspect-ratio: 3/4;
        height: auto;
    }
}

/* Rediseño del CTA de WhatsApp */
.tgv-cta {
    background: linear-gradient(135deg, #1c164a 0%, #252073 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.tgv-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top center, rgba(143, 181, 224, 0.1) 0%, transparent 70%);
}

.wave-bg {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    transform: rotate(180deg);
}

.wave-bg svg {
    width: 100%;
    height: 60px;
}

.wave-bg .shape-fill {
    fill: #f8f9fa;
}

.tgv-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tgv-cta .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-btn:hover::before {
    width: 300px;
    height: 300px;
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
    justify-content: center;
    margin: 5px;
}

/* Ajuste específico para row con trust-badges */
.tgv-cta .row.justify-content-center {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-badge i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .tgv-how {
        padding: 40px 0;
    }
    
    .tgv-how h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .step-card {
        margin-bottom: 20px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .tgv-experts {
        padding: 50px 0;
    }
    
    #expertsCarousel {
        max-width: 100%;
    }
    
    #expertsCarousel .carousel-inner {
        padding: 0 10px;
    }
    
    .tgv-experts .col-12 {
        padding: 0;
        display: flex;
        justify-content: center;
    }
    
    .advisor-card {
        margin: 5px auto;
        max-width: 90%;
    }
    
    .advisor-card img {
        aspect-ratio: 3/4;
    }
    
    .tgv-cta {
        padding: 60px 0;
    }
    
    .tgv-cta h2 {
        font-size: 1.8rem;
    }
    
    .tgv-cta .lead {
        font-size: 1.1rem;
    }
    
    .whatsapp-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .trust-badge {
        font-size: 0.85rem;
        padding: 8px 15px;
        margin-bottom: 10px;
        min-width: 90%;
        max-width: 280px;
    }
    
    .tgv-cta .row.justify-content-center {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        min-height: 60vh;
    }
    
    .tgv-benefits-section {
        padding: 25px 15px;
        margin-top: 20px;
    }
    
    .tgv-header {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .tgv-logo {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
    }
    
    .tgv-title {
        width: 100%;
        text-align: center;
    }
    
    .tgv-title h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .premium-badges {
        gap: 8px;
        justify-content: center;
    }
    
    .premium-badge, .guarantee-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .main-benefit-text {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .tgv-main-benefit {
        margin: 0 auto 20px;
        text-align: center;
    }
}

/* Estilos específicos para tgv-benefits hero strip */
.tgv-benefits .container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.tgv-benefits .hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.tgv-benefits .row {
    justify-content: center;
    min-height: 100%;
    margin: 0 !important;
    width: 100%;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.tgv-benefits .col-lg-7,
.tgv-benefits .col-lg-5 {
    text-align: center;
    align-self: center;
    padding: 15px;
}

.tgv-benefits .text-lg-start {
    text-align: center !important;
}

.tgv-benefits .hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    text-align: center;
}

.tgv-benefits .highlight {
    color: #ffd700;
    font-weight: 800;
}

.tgv-benefits .hero-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tgv-benefits .badge-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.tgv-benefits .success-widget {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 300px;
    margin: 0 auto;
}

.tgv-benefits .success-counter {
    font-size: 4rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tgv-benefits .success-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tgv-benefits .justify-content-lg-start {
    justify-content: center !important;
}

.tgv-benefits img {
    margin: 0 auto;
    display: block;
}

/* Mobile optimizations for tgv-benefits */
@media (max-width: 768px) {
    .tgv-benefits {
        padding: 40px 15px;
    }
    
    .tgv-benefits .hero-title {
        font-size: 1.8rem;
    }
    
    .tgv-benefits .hero-tagline {
        font-size: 1rem;
    }
    
    .tgv-benefits .success-widget {
        margin-top: 30px;
    }
    
    .tgv-benefits .success-counter {
        font-size: 3rem;
    }
    
    .tgv-benefits img {
        margin: 0 auto;
        display: block;
    }
}

/* Estilos para botones de resultados */
.btn-gradient {
    background: linear-gradient(135deg, #1c164a, #252073);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #252073, #3a2194);
}

.btn-secondary.btn-gradient {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(143, 181, 224, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary.btn-gradient:hover {
    background: linear-gradient(135deg, rgba(143, 181, 224, 0.2), rgba(143, 181, 224, 0.1));
    border-color: #8fb5e0;
}

/* Dropdown mejorado */
.dropdown-menu {
    background: rgba(28, 22, 74, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(143, 181, 224, 0.3);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background: rgba(143, 181, 224, 0.2);
    color: white;
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 1.2rem;
}

/* Modal de enlace copiado mejorado */
.link-copied-modal {
    background: linear-gradient(135deg, #1c164a 0%, #252073 100%);
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.link-copied-modal .modal-header {
    background: transparent;
    padding: 20px;
}

.link-copied-modal .modal-body {
    color: white;
}

.success-animation i {
    font-size: 4rem;
    color: #28a745;
    animation: successPulse 1s ease-in-out infinite;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.link-copied-modal .modal-title {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
}

.share-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.share-benefits {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.benefit-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item i {
    font-size: 1.5rem;
    color: #8fb5e0;
    flex-shrink: 0;
}

#modalProbability {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-modal-close {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

}