/* ============================================ */
/* DISEÑO PROFESIONAL MEJORADO - HostingLab360 */
/* ============================================ */

/* Paleta de colores premium */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gold-gradient: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    --dark-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);

    /* Sistema de Spacing Consistente (8px grid) */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 2rem;
    /* 32px */
    --space-lg: 3rem;
    /* 48px */
    --space-xl: 4rem;
    /* 64px */
    --space-2xl: 5rem;
    /* 80px */
    --space-3xl: 6rem;
    /* 96px */
    --space-4xl: 8rem;
    /* 128px */

    /* Spacing para secciones */
    --section-padding: var(--space-2xl);
    /* 80px estándar */
    --section-padding-mobile: var(--space-xl);
    /* 64px mobile */
    --section-title-margin: var(--space-xl);
    /* 64px entre título y contenido */
    --section-title-margin-mobile: var(--space-md);
    /* 32px mobile */
}

/* Animaciones avanzadas */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.8);
    }
}

/* Hero mejorado con glassmorphism */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.92)),
        url(./imagenes/hero-original.webp) center / cover !important;
    overflow: hidden;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
    /* Hero height optimizado para mejor engagement */
    min-height: 85vh;
    /* Permite ver "peek" del contenido siguiente */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
}

/* Badge mejorado */
.badge.bg-warning {
    background: var(--gold-gradient) !important;
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
    /* box-shadow: 0 4px 15px rgba(247, 151, 30, 0.3); */
    /* animation: glow 2s ease-in-out infinite; */
}

/* Botones premium con efectos avanzados */
.btn-primary {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    border: none;
    /* box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3); */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Stats Card con glassmorphism premium */
.stats-card {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    animation: fadeInUp 0.8s ease-out;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4) !important;
}

.lab-item {
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}





.lab-item:hover::before {
    transform: scaleY(1);
}

/* Provider cards premium con efectos 3D */
.provider-card {
    background: linear-gradient(to bottom right, #ffffff, #f8fafc);
    border: 1px solid rgb(102 126 234 / 41%) !important;
    position: relative;
    overflow: visible !important;
    animation: fadeInUp 0.6s ease-out;
    will-change: transform;
    backface-visibility: hidden;
}



.provider-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
}

.provider-card .btn {
    transform-origin: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.provider-card:hover .btn-success {
    transform: scale(1.05);
    animation: pulse-scale 1s ease-in-out infinite;
}

@keyframes pulse-scale {

    0%,
    100% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(1.08);
    }
}

/* Corner badge mejorado */
.corner-badge {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 15px 0 16px 0 !important;
    font-size: 0.9rem !important;
    padding: 7px 24px !important;
    z-index: 10;
    font-weight: 700;
    color: #000000;
    border: none;
}

/* Logos con efectos hover */
.coupon-logo {
    transition: all 0.4s ease;
    filter: grayscale(0%);
}

.provider-card:hover .coupon-logo {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 8px 20px rgba(102, 126, 234, 0.3));
}

/* Estrellas mejoradas */
.stars {
    font-size: 1.2rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    animation: shimmer 3s linear infinite;
    background-size: 2000px 100%;
}

/* Botones de acción mejorados */
.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    border: none !important;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(56, 239, 125, 0.3);
}

.btn-success::after {
    content: '→';
    position: absolute;
    right: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.btn-success:hover::after {
    opacity: 1;
    right: 10px;
}

.btn-success:hover {
    background: linear-gradient(135deg, #0f8275 0%, #30d969 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(56, 239, 125, 0.4);
}

.btn-outline-primary {
    border: 1px solid rgb(102 126 234 / 41%) !important;
    color: #667eea !important;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

.btn-outline-primary:hover {
    color: white !important;
    border-color: #667eea !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Sección informativa mejorada */
#guia-hosting {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    position: relative;
    padding-bottom: 6rem !important;
}


#guia-hosting article {
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}





#guia-hosting h2 .bi {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
}

.rounded-3 {
    border-radius: var(--bs-border-radius-lg) !important;
    background: rgba(67, 97, 238, 0.05);
    /*border-left: 3px solid #4361ee00 !important;*/
    border: 1px solid rgba(67, 97, 238, 0.2);
}


#guia-hosting .bg-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid #e2e8f0;

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#guia-hosting .bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
}

#guia-hosting .bg-light:hover::before {
    left: 100%;
}

#guia-hosting .bg-light:hover {
    transform: translateX(8px) translateY(-4px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
    border-left-color: #764ba2 !important;
    border-color: rgba(102, 126, 234, 0.3);
}

#guia-hosting .bg-light .bi {
    transition: all 0.4s ease;
    font-size: 1rem !important;
}

#guia-hosting .bg-light:hover .bi {
    transform: scale(1.15) rotate(5deg);
}

#guia-hosting .bi-speedometer2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#guia-hosting .bi-graph-up-arrow {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#guia-hosting .bi-headset {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#guia-hosting .bi-shield-check {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#guia-hosting .bi-geo-alt {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#guia-hosting h6 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 8px;
}

#guia-hosting small {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Iconos mejorados */
#guia-hosting .bi {
    background: var(--primary-gradient);
    -webkit-background-clip: text;

    background-clip: text;
}

/* FAQ mejorado */
.faq-accordion .accordion-button {
    background: linear-gradient(to right, #ffffff, #f8fafc);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border-left-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.faq-accordion .accordion-button:hover {
    background: linear-gradient(to right, #f8fafc, #f0f4ff);
    border-left-color: #667eea;
}

.faq-accordion .accordion-body {
    background: #ffffff;
    border-left: 4px solid #e2e8f0;
    font-size: 0.98rem;
    line-height: 1.8;
}

/* Disclaimer mejorado */
.disclaimer {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.15);
    position: relative;
    overflow: hidden;
}

.disclaimer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
}

/* Footer mejorado */
footer {
    background: var(--dark-gradient) !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

footer a {
    position: relative;
    transition: all 0.3s ease;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

footer .bi {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

footer a:hover .bi {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 10px rgba(102, 126, 234, 0.5));
}

/* Navbar mejorado con glassmorphism */
.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2) !important;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(25px);
}

.navbar-brand {
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 15px rgba(102, 126, 234, 0.5));
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 80%;
}

/* Mejoras responsive */
@media (max-width: 768px) {

    /* Hero height mobile - muestra peek del contenido */
    .hero-section {
        min-height: 90vh;
        padding: var(--space-md) 0;
    }

    .hero-section::after {
        height: 60px;
    }

    .provider-card:hover {
        transform: translateY(-5px) scale(1);
    }

    .stats-card {
        margin-top: var(--space-md) !important;
    }

    /* Spacing mobile optimizado */
    section {
        padding: var(--space-section-mobile) 0 !important;
    }

    .section-header,
    .text-center.mb-5 {
        margin-bottom: var(--space-md) !important;
        margin-top: var(--space-md) !important;
    }
}

/* Animación de aparición escalonada para las cards */
.provider-card:nth-child(1) {
    animation-delay: 0.1s;
}

.provider-card:nth-child(2) {
    animation-delay: 0.2s;
}

.provider-card:nth-child(3) {
    animation-delay: 0.3s;
}

.provider-card:nth-child(4) {
    animation-delay: 0.4s;
}

.provider-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* Scroll suave y efectos de revelación */
html {
    scroll-behavior: smooth;
}

/* Efecto de brillo en elementos interactivos */
.btn,
.provider-card,
.stats-card {
    position: relative;
}

.btn::after,
.provider-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after,
.provider-card:active::after {
    width: 300px;
    height: 300px;
}

/* ===== SCROLL-TRIGGERED ANIMATIONS ===== */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RIPPLE EFFECT ===== */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    bottom: 30px;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 10000;
    transition: width 0.2s ease-out;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
}

/* ===== TOOLTIPS MEJORADOS ===== */
.tooltip-custom {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted rgba(67, 97, 238, 0.5);
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.tooltip-custom:hover {
    border-bottom-color: #4361ee;
}

.tooltip-custom::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    padding: 10px 14px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 300px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.tooltip-custom::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #0f172a;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.tooltip-custom:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tooltip-custom:hover::after {
    opacity: 1;
}

/* Tooltip responsive mobile */
@media (max-width: 768px) {
    .tooltip-custom::before {
        max-width: 200px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
*:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link:focus {
    top: 0;
    z-index: 10001;
}

/* ===== MICRO-INTERACCIONES PREMIUM ===== */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    animation: btn-wobble 0.5s ease;
}

@keyframes btn-wobble {

    0%,
    100% {
        transform: translateY(-2px) rotate(0deg);
    }

    25% {
        transform: translateY(-4px) rotate(1deg);
    }

    75% {
        transform: translateY(-4px) rotate(-1deg);
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* GPU Acceleration */
.provider-card,
.stats-card,
.btn,
.hero-section {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ============================================ */
/* TIMELINE EDUCATIVO - GU�A DE HOSTING */
/* ============================================ */

/* Container principal del timeline */
.hosting-timeline {
    position: relative;
    padding-left: 0;

    margin: 0 auto;
}

/* L�nea vertical del timeline (solo desktop) */
@media (min-width: 768px) {
    .hosting-timeline::before {
        content: '';
        position: absolute;
        left: 40px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(to bottom,
                rgba(67, 97, 238, 0.3) 0%,
                rgba(67, 97, 238, 0.6) 50%,
                rgba(67, 97, 238, 0.3) 100%);
    }
}

/* Item del timeline */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Icono del timeline */
.timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-icon i {
    font-size: 2.5rem;
    color: white;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Contenido del timeline */
.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(67, 97, 238, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(67, 97, 238, 0.3);
}

/* CALLOUT ARGENTINA */
.callout-argentina {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #fbbf2429;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.15);
}

.callout-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.callout-content h5 {
    color: #92400e;
    font-size: 1.1rem;
}

.callout-content p {
    color: #78350f;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FEATURE CARDS */
.feature-card {
    background: linear-gradient(to bottom right, #ffffff, #f8fafc);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(67, 97, 238, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.feature-card h5 {
    font-size: 1rem;
    color: #1e293b;
}

/* MAPA DE LATENCIA */
.latency-map {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(67, 97, 238, 0.2);
}

.latency-comparison {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.latency-item {
    display: grid;
    grid-template-columns: 60px 150px 1fr 200px;
    align-items: center;
    gap: 1rem;
}

.latency-flag {
    font-size: 2rem;
    text-align: center;
}

.latency-item h6 {
    margin: 0;
    font-size: 0.95rem;
}

.latency-bar {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.latency-value {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.latency-excellent .latency-bar {
    background: linear-gradient(90deg, #10b981, #059669);
}

.latency-good .latency-bar {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.latency-local .latency-bar {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.latency-slow .latency-bar {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.seo-impact-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;

    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #4361ee;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

/* TIPOS DE HOSTING */
.hosting-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hosting-type-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hosting-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.hosting-type-header {
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.hosting-type-header i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hosting-type-header h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.hosting-type-body {
    padding: 1.5rem;
}

/*  DECISION TREE */
.decision-tree {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.decision-box {
    background: linear-gradient(to right, #ffffff, #f8fafc);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.decision-box:hover {
    border-left-color: #764ba2;
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.decision-box h6 {
    color: #4361ee;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* ERRORES COMUNES */
.errors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.error-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #fecaca;
    transition: all 0.3s ease;
}

.error-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
}

.error-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.error-card h6 {
    color: #991b1b;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* MOBILE */
@media (max-width: 767px) {
    .hosting-timeline {
        padding-left: 0;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
        margin-bottom: 26px;
    }

    .callout-icon {
        display: none;
    }

    .timeline-icon i {
        font-size: 2rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content:hover {
        transform: translateX(0);
    }

    .callout-argentina {
        flex-direction: column;
        text-align: center;
    }

    .feature-card {
        text-align: center;
    }

    .latency-item {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto auto;
    }

    .latency-bar {
        grid-row: 2 / 3;
        grid-column: 1 / 3;
        width: 100% !important;
    }

    .hosting-types-grid {
        grid-template-columns: 1fr;
    }

    .errors-grid {
        grid-template-columns: 1fr;
    }
}

/* ANIMACIONES */
@keyframes fadeInTimeline {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: fadeInTimeline 0.6s ease-out;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* ============================================ */
/* CASOS DE USO - USE CASE CARDS */
/* ============================================ */
.use-case-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(67, 97, 238, 0.3);
}

.use-case-icon {
    font-size: 2.5rem;
}

.use-case-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    borderradius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.traffic-low {
    background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
    color: #1e40af;
}

.traffic-medium {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    color: #78350f;
}

.traffic-high {
    background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
    color: #991b1b;
}

.use-case-body {
    margin-top: 1rem;
}

.requirements-box {
    background: linear-gradient(to right, #f8fafc, #e0e7ff);
    padding: 1rem;
    border-radius: 12px;
    border-left: 3px solid #667eea;
}

.recommendation-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.provider-mini-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.price-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #4361ee 0%, #673de6 100%);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
}

.price-best {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.spec-item {
    background: #f1f5f9;
    padding: 0.25rem 0.625rem;
    border-radius: 8px;
    white-space: nowrap;
}

.why-recommendation {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

.alternative-provider {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #cbd5e1;
}

/* Mobile */
@media (max-width: 767px) {
    .use-case-card {
        padding: 1.5rem;
    }

    .use-case-icon {
        font-size: 2rem;
    }

    .provider-mini-logo {
        width: 50px;
        height: 50px;
    }

    .specs-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .spec-item {
        width: 100%;
    }
}