html {
    scroll-behavior: smooth;
}

.section {
    padding: 8rem 2rem 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 0, 70, 0.9), rgba(10, 0, 30, 0.95));
    border-radius: 24px;
    margin: 6rem auto;
    max-width: 1150px;
    box-shadow: 0 16px 50px rgba(123,92,255,0.18);
    position: relative;
    z-index: 1;
}

#vps-ryzen-info {
    margin-top: 12rem;
}

.section h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 6px 28px rgba(123,92,255,0.25);
}

.section p {
    font-size: 1.1rem;
    color: #d4ccff;
    opacity: 0.92;
    margin-bottom: 2.8rem;
    max-width: 720px;
    margin-inline: auto;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background: radial-gradient(circle at top left, rgba(139,92,246,0.18), rgba(59,130,246,0.1));
    border: 1px solid rgba(159,129,255,0.2);
    border-radius: 20px;
    padding: 2.6rem 2rem 3.6rem 2rem;
    flex: 1 1 280px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 12px 36px rgba(123,92,255,0.14);
    transition: transform 0.36s cubic-bezier(.2,.9,.2,1), box-shadow 0.36s, background 0.36s;
    position: relative;
    overflow: visible;
    z-index: 3;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 18px 48px rgba(123,92,255,0.26);
    background: linear-gradient(135deg, rgba(123,92,255,0.25), rgba(59,130,246,0.14));
    z-index: 4;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 160%;
    height: 200%;
    transform: rotate(25deg);
    transition: all 0.4s ease;
    pointer-events: none;
}

.pricing-card:hover::before {
    top: -30%;
    left: -20%;
    transform: rotate(0deg) scale(1.05);
}

.pricing-card h3 {
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #b299ff;
    margin-bottom: 1.8rem;
    text-shadow: 0 3px 12px rgba(159,129,255,0.3);
}

.price span {
    font-size: 0.9rem;
    color: #cfc6ff;
    opacity: 0.85;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem auto;
    text-align: left;
    color: #e6e0ff;
    line-height: 1.6;
    opacity: 0.96;
    position: relative;
    width: auto;
    max-width: 100%;
}

.features li {
    margin: 0.45rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border-left: 3px solid rgba(159,129,255,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.features li:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(123,92,255,0.25);
}

.features i {
    color: #a48aff;
    min-width: 18px;
}

.pricing-card .btn-primary {
    display: inline-block;
    margin-top: 1.4rem;
    position: relative;
    z-index: 5;
}

.pricing-grid .pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pricing-grid .pricing-card.active {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.highlight {
    border: 2px solid #ff6600;
    background: linear-gradient(135deg, rgba(40,10,0,0.9), rgba(80,20,0,0.95));
    box-shadow: 0 0 30px rgba(255,102,0,0.35);
    transform: scale(1.06);
    position: relative;
    z-index: 5;
}

.pricing-card.highlight::after {
    content: "PIÙ POPOLARE";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff6600, #ff914d);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255,102,0,0.4);
}

.pricing-card.highlight h3 {
    color: #ff914d;
    text-shadow: 0 0 12px rgba(255,102,0,0.6);
}

.pricing-card.highlight .price {
    color: #ffb366;
    text-shadow: 0 4px 16px rgba(255,102,0,0.4);
}

.pricing-card.highlight .btn-primary {
    background-color: #ff6600;
    border-color: #ff6600;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,102,0,0.3);
}

.pricing-card.highlight .btn-primary:hover {
    background-color: #e65c00;
    box-shadow: 0 6px 20px rgba(255,102,0,0.45);
}

@media (max-width: 900px) {
    .section {
        padding: 6rem 1.4rem;
        margin-top: 7rem;
    }
    .pricing-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .pricing-card {
        max-width: 96%;
        padding: 4rem 1.6rem 4.5rem 1.6rem;
        border-radius: 18px;
    }
    .price {
        font-size: 1.9rem;
    }
    .pricing-card .btn-primary {
        width: 100%;
        max-width: 340px;
        padding: 1rem;
        margin-top: 1.8rem;
        font-size: 1rem;
        z-index: 6;
    }
    .features li {
        font-size: 0.95rem;
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 500px) {
    .section h2 {
        font-size: 2rem;
    }
    .section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .pricing-card {
        padding: 2.2rem 3rem 4.5rem 3rem;
        border-radius: 14px;
    }
    .price {
        font-size: 1.7rem;
    }
    .pricing-card .btn-primary {
        max-width: 90%;
        margin-top: 2rem;
    }
    .features {
        width: 100%;
    }
    .features li {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        word-break: break-word;
    }
}

#ryzen-extra {
    padding: 80px 10%;
    background: linear-gradient(135deg, #0a0a0a, #141414);
    color: #fff;
    text-align: center;
}

#ryzen-extra .content {
    max-width: 1200px;
    margin: 0 auto;
}

#ryzen-extra h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

#ryzen-extra .accent {
    color: #ff6600;
}

#ryzen-extra p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 40px;
}

#ryzen-extra .benefits-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

#ryzen-extra .benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

#ryzen-extra .benefits li {
    position: relative;
    padding: 1rem 1.2rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,102,0,0.25);
    border-left: 4px solid #ff6600;
    border-radius: 12px;
    color: #e6e6e6;
    box-shadow: 0 6px 20px rgba(255,102,0,0.05);
    transition: all 0.3s ease;
}

#ryzen-extra .benefits li:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(255,102,0,0.25);
    border-color: rgba(255,102,0,0.6);
}

#ryzen-extra .benefits strong {
    color: #fff;
    display: block;
    font-weight: 600;
}

#ryzen-extra .cta-center {
    margin-top: 20px;
}

#ryzen-extra .btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid #ff6600;
    color: #ff6600;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#ryzen-extra .btn-secondary:hover {
    background: #ff6600;
    color: #fff;
}

@media (max-width: 992px) {
    #ryzen-extra {
        padding: 60px 5%;
    }
    #ryzen-extra .benefits-grid {
        flex-direction: column;
        gap: 2rem;
    }
    #ryzen-extra .benefits {
        flex: 1 1 100%;
    }
}

@media (max-width: 600px) {
    #ryzen-extra h2 {
        font-size: 2rem;
    }
    #ryzen-extra p {
        font-size: 1rem;
    }
    #ryzen-extra .btn-secondary {
        padding: 10px 22px;
        font-size: 0.95rem;
    }
}
