/* ===== HERO VPS ===== */
.vps-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 8% 80px;
    position: relative;
    overflow: hidden;
}

/* Glow decorativo */
.vps-hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(13,110,253,0.25),
        transparent 70%
    );
    top: -250px;
    left: -250px;
}

/* Contenido */
.vps-hero-content {
    max-width: 560px;
    z-index: 2;
    animation: fadeUp 1s ease forwards;
}

.vps-hero-content h1 {
    font-size: 52px;
    line-height: 1.1;
    color: #eaf0ff;
    margin-bottom: 20px;
}

.vps-hero-content h1 span {
    color: #0d6efd;
}

.vps-hero-content p {
    font-size: 17px;
    color: #a1adc4;
    margin-bottom: 30px;
}

/* Features */
.vps-features {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.vps-features li {
    color: #c7d2fe;
    margin-bottom: 10px;
    font-size: 15px;
}

/* Botones */
.vps-hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    padding: 12px 24px;
    background: linear-gradient(90deg, #0d6efd, #13189b);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(13,110,253,0.4);
}

.btn-primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(13,110,253,0.6);
}

.btn-secondary {
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #eaf0ff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

/* Imagen */
.vps-hero-image {
    max-width: 520px;
    z-index: 2;
    animation: fadeRight 1.2s ease forwards;
}

.vps-hero-image img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}

/* Responsive */
@media (max-width: 900px) {
    .vps-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .vps-hero-buttons {
        justify-content: center;
    }

    .vps-hero-image {
        margin-top: 50px;
        max-width: 360px;
    }
}


/* ===== VPS SELECTOR ===== */
.vps-selector {
    padding: 90px 8%;
}

/* Header */
.vps-selector-header {
    text-align: center;
    margin-bottom: 45px;
}

.vps-selector-header h2 {
    font-size: 38px;
    letter-spacing: 1px;
    color: #eaf0ff;
}

.vps-selector-header p {
    margin-top: 8px;
    color: #a1adc4;
    font-size: 14px;
}


/* ===== VPS SLIDER ===== */
.vps-slider {
    margin-bottom: 40px;
}

/* Base */
.vps-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #3c4553; /* fondo gris (se sobrescribe con JS) */
    outline: none;
    cursor: pointer;
}

/* Track WebKit (Chrome, Edge, Safari) */
.vps-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
}

/* Thumb WebKit */
.vps-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    margin-top: -3px; /* centra el thumb */
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0d6efd;
}

/* Firefox track */
.vps-slider input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: #3c4553;
}

/* Firefox progreso (relleno nativo) */
.vps-slider input[type="range"]::-moz-range-progress {
    height: 8px;
    border-radius: 999px;
    background: #0d6efd;
}

/* Firefox thumb */
.vps-slider input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0d6efd;
}

/* Focus */
.vps-slider input[type="range"]:focus-visible::-webkit-slider-thumb,
.vps-slider input[type="range"]:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(13,110,253,0.4);
}

/* Labels */
.vps-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #a1adc4;
}




/* Card */
.vps-card {
    display: flex;
    align-items: stretch;
    gap: 60px;
    padding: 40px 55px;
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(13,110,253,0.35), transparent 55%),
                radial-gradient(circle at bottom right, rgba(13,110,253,0.18), transparent 55%),
                rgba(4, 14, 40, 0.9);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.65);
}

/* Left */
.vps-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 260px;
}

.vps-badge {
    display: inline-block;
    margin-right: 6px;
    padding: 3px 8px;
    background: #0d6efd;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
}

.vps-name {
    font-size: 13px;
    color: #9aa4c7;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.vps-price {
    font-size: 40px;
    font-weight: 700;
    color: #0d8bff;
    display: block;
    margin: 8px 0 30px;
}

.vps-image {
    width: 170px;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.7));
}

/* Right */
.vps-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Specs grid */
.vps-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
    column-gap: 35px;
}

/* Cada spec */
.vps-spec {
    display: flex;
    flex-direction: column;
}

/* Título con icono */
.vps-spec-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #eaf0ff;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Icono */
.vps-spec-title img {
    width: 22px;
    height: 22px;
}

/* Descripción / valor */
.vps-spec-value {
    margin-left: 32px;
    color: #a1adc4;
    font-size: 13px;
}

/* Especial: ubicaciones y SO con varias imágenes */
.spec-multi-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Cada “pill” de SO/Ubicación */
.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: #a1adc4;
    font-size: 12px;
}

.spec-pill img {
    width: 18px;
    height: 18px;
}


/* Botón comprar */
.vps-buy {
    align-self: flex-end;
    margin-top: 35px;
}

/* Responsive */
@media (max-width: 1024px) {
    .vps-card {
        padding: 30px 25px;
        gap: 30px;
    }

    .vps-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .vps-card {
        flex-direction: column;
        text-align: left;
        padding: 25px 20px 30px;
    }

    .vps-left {
        max-width: 100%;
        align-items: flex-start;
    }

    .vps-image {
        margin-top: 10px;
    }

    .vps-specs {
        grid-template-columns: 1fr;
    }

    .vps-buy {
        align-self: center;
        width: 100%;
        text-align: center;
        margin-top: 25px;
    }
}


.vps-slider-labels span {
    transition: color 0.3s, text-shadow 0.3s;
}

.vps-slider-labels span.active {
    color: #0d6efd;
    text-shadow: 0 0 8px rgba(13,110,253,0.7);
    font-weight: 600;
}




.vps-cta {
    padding: 80px 8%;
    text-align: center;
}

.vps-cta h2 {
    color: #eaf0ff;
    font-size: 32px;
    margin-bottom: 10px;
}

.vps-cta p {
    color: #a1adc4;
    margin-bottom: 25px;
}
