/* =================================
   STILI PAGINA PRICING (MODERN)
   ================================= */

body {
    background-color: #f8f9fa; /* Sfondo grigio leggero per far risaltare le card */
}

.pricing-header {
    text-align: center;
    margin: 50px 0;
    padding: 0 20px;
}

.pricing-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 800;
}

.pricing-header p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
    align-items: start; /* Allinea le card in alto */
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- CARD BASE --- */
.pricing-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* --- CARD VIP (FEATURED) --- */
.pricing-card.featured {
    border: 2px solid #667eea;
    transform: scale(1.02); /* Leggermente più grande */
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

/* Badge Consigliato */
.pricing-card .featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- TYPOGRAPHY --- */
.pricing-card h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
}

.pricing-card.featured h2 {
    color: #667eea;
}

.pricing-card .price {
    font-size: 56px;
    font-weight: 800;
    color: #333;
    margin-bottom: 5px;
    line-height: 1;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 500;
    color: #999;
    display: block;
    margin-top: 5px;
}

.pricing-card .sub-price {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    background: #f8f9fa;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
}

/* --- LISTA CARATTERISTICHE --- */
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #555;
}

.pricing-card .icon-box {
    width: 24px;
    margin-right: 10px;
    text-align: center;
    display: inline-block;
}

.pricing-card .check { color: #28a745; font-weight: bold; }
.pricing-card .cross { color: #dc3545; opacity: 0.5; }
.pricing-card li strong { color: #333; }

/* --- PULSANTI --- */
.btn-block {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-secondary {
    background-color: #f1f3f5;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e9ecef;
    color: #000;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

/* --- MESSAGGI DI STATO --- */
.already-vip {
    font-weight: 600;
    color: #155724;
    background-color: #d4edda;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
}

.login-msg {
    font-size: 14px;
    color: #666;
}

.login-msg a {
    color: #667eea;
    text-decoration: underline;
}