/* ===== SEZIONE PRICING SEMPLIFICATA ===== */

.pricing-section {
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== HEADER PRICING ===== */
.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #327fa8 0%, #4a9bc7 70%, #F2A93B 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 2px 4px rgba(50, 127, 168, 0.3));
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== PIANO PRICING UNICO ===== */
.pricing-plan-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.pricing-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(50, 127, 168, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 500px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.32),
        0 0 24px rgba(50, 127, 168, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(50, 127, 168, 0.4);
}

.pricing-main {
    border-color: rgba(50, 127, 168, 0.4);
    background: linear-gradient(135deg, 
        rgba(50, 127, 168, 0.15) 0%, 
        rgba(50, 127, 168, 0.08) 100%);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF4B33, #F2A93B);
    color: white;
    padding: 0.6rem 2.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 75, 51, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-plan-price {
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.pricing-current {
    color: #10B981;
}

.pricing-plan-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.pricing-plan-vip {
    color: #F2A93B;
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
}

/* ===== FEATURES ===== */
.pricing-card-body {
    margin-bottom: 2.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.pricing-feature i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.pricing-feature-included span {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-feature strong {
    color: #F2A93B;
    font-weight: 700;
}

/* ===== CTA PRINCIPALE ===== */
.pricing-cta-wrapper {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #327fa8, #4a9bc7);
    color: white;
    border: none;
    box-shadow: 
        0 10px 30px rgba(50, 127, 168, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-cta-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.pricing-cta-main:hover::before {
    left: 100%;
}

.pricing-cta-main:hover {
    background: linear-gradient(135deg, #FF4B33, #F2A93B);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(255, 75, 51, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.pricing-cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-style: italic;
}

/* ===== CTA ALTERNATIVA ===== */
.pricing-alternative {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-alternative p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.pricing-link {
    color: #327fa8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.pricing-link:hover {
    color: #F2A93B;
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 768px) {
    .pricing-section {
        padding: 3rem 1rem;
    }
    
    .pricing-card {
        padding: 2rem;
        max-width: 100%;
    }
    
    .pricing-cta-main {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .pricing-amount {
        font-size: 3rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .pricing-section {
        padding: 2rem 0.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-cta-main {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .pricing-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1.2rem;
        max-width: calc(100% - 2rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        left: 1rem;
        right: 1rem;
        transform: none;
        text-align: center;
        position: relative;
    }
    
    .pricing-amount {
        font-size: 2.5rem;
    }
    
    .pricing-feature {
        font-size: 0.95rem;
    }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    .pricing-card,
    .pricing-cta-main,
    .pricing-badge {
        transition: none !important;
    }
    
    .pricing-card:hover {
        transform: none !important;
    }
}

/* Focus states professionali */
.pricing-cta-main:focus {
    outline: 3px solid #327fa8;
    outline-offset: 3px;
}