/* Sezione Agitazione del Problema - Le Verità Incontrovertibili */
.agitazione-section {
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.agitazione-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.agitazione-header {
    text-align: center;
    margin-bottom: 4rem;
}

.agitazione-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    /* Brand blu dominante con leggero accent arancione */
    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;
    /* Shadow più sobria */
    filter: drop-shadow(0 2px 4px rgba(50, 127, 168, 0.3));
}

.agitazione-subtitle {
    font-size: 1.2rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.verita-grid {
    display: flex;                    
    flex-wrap: wrap;                  
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;          
}

.verita-card {
    flex: 0 1 350px;                 
    max-width: 400px;                
    /* Glassmorphism professionale */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(50, 127, 168, 0.2);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(16px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
    /* Stato iniziale per l'animazione di entrata */
    opacity: 0;
    transform: translateY(30px);
}

/* Classe per attivare l'animazione delle card */
.verita-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.verita-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    /* Solo blu brand per il bordo hover */
    background: linear-gradient(135deg, rgba(50, 127, 168, 0.6), rgba(50, 127, 168, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.verita-card:hover::before {
    opacity: 1;
}

.verita-card:hover {
    /*transform: translateY(-8px) scale(1.01);*/
    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);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(50, 127, 168, 0.4);
}

/* Hover specifici per tipo di card */
.verita-card.morte-card:hover::before {
    background: linear-gradient(135deg, rgba(255, 75, 51, 0.4), rgba(50, 127, 168, 0.3));
}

.verita-card.costo-card:hover::before {
    background: linear-gradient(135deg, rgba(242, 169, 59, 0.4), rgba(50, 127, 168, 0.3));
}

.verita-card.sottovalutazione-card:hover::before,
.verita-card.ricadute-card:hover::before,
.verita-card.produttivita-card:hover::before {
    background: linear-gradient(135deg, rgba(50, 127, 168, 0.6), rgba(50, 127, 168, 0.3));
}

/* Statistiche con brand blu dominante */
.verita-stat {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    /* Brand blu come colore principale */
    color: #327fa8;
    line-height: 1.1;
    /* Stato iniziale */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    /* Subtle glow effect */
    text-shadow: 0 0 20px rgba(50, 127, 168, 0.3);
}

/* Classe per attivare l'animazione del contatore */
.verita-stat.animate-counter {
    opacity: 1;
    transform: translateY(0);
}

/* Varianti colore per diverse card */
.morte-card .verita-stat {
    color: #FF4B33;
    text-shadow: 0 0 20px rgba(255, 75, 51, 0.3);
}

.costo-card .verita-stat {
    color: #F2A93B;
    text-shadow: 0 0 20px rgba(242, 169, 59, 0.3);
}

.verita-highlight {
    color: #F2A93B; /* Arancione brand per highlight */
    font-weight: 700;
}

.verita-description {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.verita-details {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    padding-top: 1rem;
    border-top: 1px solid rgba(50, 127, 168, 0.2);
}

.verita-details strong {
    color: #F2A93B; /* Arancione brand per enfasi */
    font-weight: 600;
}

/* Progress Bar professionale */
.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    height: 100%;
    /* Gradient sobrio brand-aligned */
    background: linear-gradient(90deg, #327fa8 0%, #F2A93B 100%);
    border-radius: 4px;
    /* Stato iniziale */
    width: 0%;
    transition: width 2s ease-in-out;
}

/* Classe per attivare l'animazione della progress bar */
.progress-bar.animate-progress {
    width: 100%;
}

/* CTA professionale */
.agitazione-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, 
        rgba(50, 127, 168, 0.12) 0%, 
        rgba(50, 127, 168, 0.08) 50%,
        rgba(242, 169, 59, 0.08) 100%);
    border: 1px solid rgba(50, 127, 168, 0.2);
    border-radius: 20px;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    /* Stato iniziale */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Classe per attivare l'animazione del CTA */
.agitazione-cta.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.agitazione-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(50, 127, 168, 0.15) 50%,
        transparent 100%);
}

/* Classe per attivare l'effetto shimmer */
.agitazione-cta.animate-shimmer::before {
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-message {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    background: linear-gradient(135deg, #F2A93B 0%, #ff6b5a 70%, #FF4B33 95%);
    /* Testo con brand blu dominante 
    background: linear-gradient(135deg, #327fa8 0%, #4a9bc7 70%, #F2A93B 100%);*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

/* Fonti */
.agitazione-sources {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(50, 127, 168, 0.2);
}

.sources-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .agitazione-section {
        padding: 2rem 1rem;
    }
    
    .verita-grid {
        gap: 1.5rem;
    }
    
    .verita-card {
        padding: 1.5rem;
    }
    
    .agitazione-cta {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .verita-grid {
        gap: 1rem;
    }
    
    .verita-card {
        padding: 1.2rem;
    }
    
    .verita-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}