.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top, rgba(130, 70, 255, 0.4), transparent 70%),
    radial-gradient(circle at bottom, rgba(50, 0, 100, 0.6), transparent 70%);
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 6px 30px rgba(123,92,255,0.12);
}

.hero-content p {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 2rem;
    max-width: 620px;
    margin-inline: auto;
}

.section {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(10, 0, 25, 0.25);
    border-radius: 20px;
    margin: 3rem auto;
    max-width: 1080px;
    box-shadow: 0 12px 40px rgba(123,92,255,0.12);
}

.half-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 6rem 3rem;
}

.ryzen-bg {
    background: radial-gradient(circle at right, rgba(100, 0, 140, 0.34), transparent 70%);
}

.xeon-bg {
    background: radial-gradient(circle at left, rgba(0, 60, 160, 0.28), transparent 70%);
}

.content {
    flex: 1 1 420px;
    max-width: 540px;
    z-index: 2;
}

.image-container {
    flex: 1 1 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    z-index: 1;
}

.vps-img {
    max-width: 420px;
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(140, 82, 255, 0.55));
    transition: transform 0.6s ease, filter 0.35s ease;
    transform: rotateY(6deg);
}

.vps-img:hover {
    transform: rotateY(0deg) scale(1.05);
    filter: drop-shadow(0 0 42px rgba(150, 100, 255, 0.85));
}

.benefits.detailed {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 100%;
    overflow: visible;
}

.benefits.detailed li {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    line-height: 1.5;
    transition: transform 300ms, box-shadow 300ms;
    position: relative;
    overflow: hidden;
    border-left: 4px solid rgba(159,129,255,0.08);
}

.benefits.detailed li:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 22px rgba(123,92,255,0.22);
}

#contatti .btn-primary {
    display: inline-block;
    margin-top: 1.6rem;
    position: relative;
    z-index: 1;
}

/* -------------------------- */
/*       NUOVE CARDS          */
/* -------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.card {
    background: linear-gradient(145deg, rgba(25, 20, 40, 0.8), rgba(35, 25, 65, 0.75));
    border: 1px solid rgba(150, 100, 255, 0.15);
    border-radius: 18px;
    padding: 2.2rem 1.8rem;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 8px 26px rgba(123,92,255,0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 160%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(130,70,255,0.18), transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
    z-index: 0;
}

.card:hover::before {
    transform: scale(1);
}

.card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 16px 40px rgba(130,70,255,0.25);
    background: linear-gradient(145deg, rgba(30, 20, 60, 0.95), rgba(40, 30, 75, 0.9));
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.6rem;
    z-index: 1;
    position: relative;
}

.card p {
    font-size: 0.95rem;
    color: #d6ccff;
    opacity: 0.9;
    line-height: 1.6;
    z-index: 1;
    position: relative;
}

.card .button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.card .button:hover {
    background: linear-gradient(135deg, #9d4edd, #6d28d9);
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .half-section {
        flex-direction: column-reverse;
        text-align: center;
        padding: 3.5rem 1.2rem;
    }

    .vps-img {
        max-width: 320px;
    }

    .btn-secondary {
        min-width: 85%;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        max-width: 90%;
    }
}
