/**
 * Service Landing Pages - CSS specifico per pagine servizi
 * Per template service-landing.php e shortcode sistema
 */

/* ===================== LAYOUT GENERALE ===================== */
.service-landing {
    background: var(--bs-dark);
    color: var(--bs-light);
    min-height: 100vh;
}

.service-landing .container {
    max-width: 1200px;
}

/* ===================== SPACING & TYPOGRAPHY ===================== */
.service-landing h1,
.service-landing h2,
.service-landing h3 {
    font-weight: 600;
    line-height: 1.2;
}

.service-landing .lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ===================== TIPOGRAFIA MIGLIORATA ===================== */
/* Paragrafi principali migliorati - Priorità massima */
.service-landing p,
.service-landing-page p,
body .service-landing p {
    font-size: 1.125rem !important; /* 18px */
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    color: var(--st-text-secondary, #e0e0e0) !important;
    font-weight: 400 !important;
}

/* Paragrafi nei container - Forza massima */
.service-landing .container p,
.service-landing .row p,
.service-landing-page .container p,
.service-landing-page .row p,
body .service-landing .container p,
body .service-landing .row p {
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    color: var(--st-text-secondary, #e0e0e0) !important;
}

/* Paragrafi con classe text-light - Override Bootstrap */
.service-landing p.text-light,
.service-landing-page p.text-light,
body .service-landing p.text-light {
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
}

/* Paragrafi per contenuti marketing */
.service-landing .service-content p,
.service-landing .feature-content p,
.service-landing .benefits-content p {
    font-size: 1.2rem !important; /* 19.2px */
    line-height: 1.8 !important;
    margin-bottom: 2rem !important;
    font-weight: 400;
}

/* Stili specifici per sezioni stchannel */
.stchannel-section p,
.stchannel-section .container p,
.stchannel-section .row p {
    font-size: 1.125rem !important; /* 18px */
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    color: var(--st-text-secondary, #e0e0e0) !important;
}

/* Override Bootstrap text-light class */
.stchannel-section p.text-light,
.service-landing p.text-light,
.text-light.mb-3 {
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    color: var(--st-text-secondary, #e0e0e0) !important;
}

/* Liste migliorate */
.service-landing ul:not(.nav-list):not(.breadcrumb) {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.service-landing ul:not(.nav-list):not(.breadcrumb) li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    color: var(--st-text-secondary, #e0e0e0);
}

.service-landing ul:not(.nav-list):not(.breadcrumb) li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: var(--st-primary, #00ff9d);
    font-size: 1.2rem;
}

/* Liste specifiche per caratteristiche/vantaggi */
.service-landing .benefits-list li::before {
    content: '✅';
}

.service-landing .features-list li::before {
    content: '🎯';
}

.service-landing .problems-list li::before {
    content: '❌';
    color: #ff6b6b;
}

.service-landing .solutions-list li::before {
    content: '💡';
}

/* Titoli con spacing migliorato */
.service-landing h1, 
.service-landing h2, 
.service-landing h3, 
.service-landing h4, 
.service-landing h5, 
.service-landing h6 {
    margin-bottom: 1.5rem !important;
    margin-top: 2rem !important;
}

.service-landing h1:first-child,
.service-landing h2:first-child,
.service-landing h3:first-child {
    margin-top: 0 !important;
}

/* Spacing tra elementi */
.service-landing .row + .row {
    margin-top: 2rem;
}

/* Elementi in evidenza */
.service-landing strong {
    color: var(--st-primary, #00ff9d);
    font-weight: 600;
}

.service-landing em {
    color: var(--st-text-primary, #ffffff);
    font-style: italic;
}

/* ===================== HERO SECTIONS ===================== */
.stchannel-hero {
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-gradient {
    background: var(--st-gradient-secondary);
}

.hero-solid {
    background: var(--st-secondary);
}

.hero-title {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    opacity: 0.9;
}

/* ===================== CTA BUTTONS ===================== */
.stchannel-cta-inline {
    margin: 2rem 0;
}

.chat-cta-btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.chat-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ===================== CTA SECTIONS ===================== */
.stchannel-cta-section {
    position: relative;
    margin: 4rem 0;
}

.cta-section-gradient {
    background: linear-gradient(45deg, 
        var(--stchannel-primary), 
        var(--stchannel-secondary));
}

.cta-section-solid {
    background: var(--stchannel-primary);
}

.cta-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===================== FEATURES ===================== */
.stchannel-features {
    padding: 4rem 0;
}

.features-title {
    font-weight: 700;
    color: var(--stchannel-primary);
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--stchannel-primary);
}

.feature-icon {
    color: var(--stchannel-primary);
    text-align: center;
}

.feature-title {
    color: var(--bs-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-content {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* ===================== STATS ===================== */
.stchannel-stats {
    position: relative;
}

.stats-gradient {
    background: var(--st-gradient-secondary);
}

.stats-default {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-item {
    padding: 1.5rem;
}

.stat-icon {
    color: var(--st-secondary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-light);
    line-height: 1;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===================== TESTIMONIALS ===================== */
.stchannel-testimonial {
    padding: 4rem 0;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.testimonial-avatar {
    border: 3px solid var(--stchannel-primary);
}

.testimonial-rating {
    font-size: 1.2rem;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.125rem;
    color: var(--bs-light);
}

.testimonial-name {
    color: var(--stchannel-primary);
    font-weight: 600;
}

.testimonial-company {
    color: rgba(255,255,255,0.7);
}

/* ===================== FAQ ===================== */
.stchannel-faq {
    padding: 4rem 0;
}

.faq-title {
    color: var(--stchannel-primary);
    font-weight: 700;
    margin-bottom: 3rem;
}

.accordion-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.5rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
}

.accordion-button {
    background: transparent;
    color: var(--bs-light);
    border: none;
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--stchannel-primary);
    color: white;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background: rgba(0,0,0,0.2);
    color: rgba(255,255,255,0.9);
    padding: 1.5rem;
    line-height: 1.6;
}

/* ===================== COMPARE TABLES ===================== */
.stchannel-compare {
    padding: 4rem 0;
}

.compare-title {
    color: var(--stchannel-primary);
    font-weight: 700;
    margin-bottom: 2rem;
}

.compare-table-wrapper {
    background: rgba(255,255,255,0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.compare-table-wrapper .markdown-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.compare-table-wrapper .markdown-table thead th {
    background: linear-gradient(180deg, rgba(0,255,170,0.12), rgba(0,255,170,0) 90%), rgba(255,255,255,0.05);
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    border-right: 1px solid rgba(255,255,255,0.08);
}

.compare-table-wrapper .markdown-table thead th:last-child {
    border-right: none;
}

.compare-table-wrapper .markdown-table tbody td {
    text-align: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.06);
    vertical-align: middle;
}

.compare-table-wrapper .markdown-table tbody td:last-child {
    border-right: none;
}

.compare-table-wrapper .markdown-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table-wrapper .markdown-table tbody tr:nth-child(odd) td {
    background: rgba(255,255,255,0.02);
}

.compare-table-wrapper .markdown-table tbody tr:hover td {
    background: rgba(0,255,170,0.06);
}

.compare-table-wrapper .markdown-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
}

.table-compare {
    margin-bottom: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    overflow: hidden;
    color: rgba(255,255,255,0.9);
}

.table-compare th {
    background: linear-gradient(180deg, rgba(0,255,170,0.12), rgba(0,255,170,0) 90%), rgba(255,255,255,0.05);
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    border-right: 1px solid rgba(255,255,255,0.08);
}

.table-compare th:last-child {
    border-right: none;
}

.table-compare td {
    text-align: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.06);
    vertical-align: middle;
}

.table-compare td:last-child {
    border-right: none;
}

.table-compare tr:last-child td {
    border-bottom: none;
}

.table-compare tbody tr:nth-child(odd) td {
    background: rgba(255,255,255,0.02);
}

.table-compare tbody tr:hover td {
    background: rgba(0,255,170,0.06);
}

.table-compare td:first-child {
    text-align: left;
    font-weight: 600;
}

.compare-note {
    color: rgba(255,255,255,0.7);
    font-style: italic;
    text-align: center;
}

/* ===================== BADGES ===================== */
.stchannel-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================== BADGES SYSTEM RINNOVATO ===================== */
/* 🎯 Badge moderni con effetti neon come da design */

.stchannel-badge,
.badge,
.badge-primary,
.badge-secondary,
.badge-success,
.badge-accent,
.badge-warning,
.badge-info {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0.5rem;
}

/* Badge Primary - Verde Neon (24/7 ATTIVA) */
.badge-primary {
    border-color: #00ff9d;
    color: #00ff9d;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.8);
    box-shadow: 
        0 0 20px rgba(0, 255, 157, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

.badge-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 157, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-primary:hover::before {
    opacity: 1;
}

.badge-primary:hover {
    transform: translateY(-2px);
    border-color: #00ffaa;
    color: #00ffaa;
    box-shadow: 
        0 0 30px rgba(0, 255, 157, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Badge Secondary - Blu Intenso (MEMORIA INFINITA) */
.badge-secondary {
    border-color: #00bfff;
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
    box-shadow: 
        0 0 20px rgba(0, 191, 255, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

.badge-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 191, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-secondary:hover::before {
    opacity: 1;
}

.badge-secondary:hover {
    transform: translateY(-2px);
    border-color: #00d4ff;
    color: #00d4ff;
    box-shadow: 
        0 0 30px rgba(0, 191, 255, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Badge Info - Azzurro (PERSONALITÀ UNICA) */
.badge-info {
    border-color: #40e0d0;
    color: #40e0d0;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.8);
    box-shadow: 
        0 0 20px rgba(64, 224, 208, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

.badge-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(64, 224, 208, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-info:hover::before {
    opacity: 1;
}

.badge-info:hover {
    transform: translateY(-2px);
    border-color: #4dfff0;
    color: #4dfff0;
    box-shadow: 
        0 0 30px rgba(64, 224, 208, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Badge Warning - Viola/Rosa (WHATSAPP AUTOMATICO) */
.badge-warning {
    border-color: #a855f7;
    color: #a855f7;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
    box-shadow: 
        0 0 20px rgba(168, 85, 247, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

.badge-warning::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-warning:hover::before {
    opacity: 1;
}

.badge-warning:hover {
    transform: translateY(-2px);
    border-color: #b366f9;
    color: #b366f9;
    box-shadow: 
        0 0 30px rgba(168, 85, 247, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Badge Success - Verde Standard */
.badge-success {
    border-color: #22c55e;
    color: #22c55e;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
    box-shadow: 
        0 0 20px rgba(34, 197, 94, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

.badge-success:hover {
    transform: translateY(-2px);
    border-color: #16a34a;
    color: #16a34a;
    box-shadow: 
        0 0 30px rgba(34, 197, 94, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Badge Accent - Neon Special */
.badge-accent {
    border-color: #fbbf24;
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
    box-shadow: 
        0 0 20px rgba(251, 191, 36, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

.badge-accent:hover {
    transform: translateY(-2px);
    border-color: #f59e0b;
    color: #f59e0b;
    box-shadow: 
        0 0 30px rgba(251, 191, 36, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Icone nei badge */
.badge i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
    filter: drop-shadow(0 0 6px currentColor);
    flex-shrink: 0;
}

/* Badge responsive - icone più piccole su mobile */
@media (max-width: 768px) {
    .badge i {
        font-size: 1.1rem;
        margin-right: 0.4rem;
    }
}

/* Badge con icone specifiche per il design */
.badge-zero-popup {
    border-color: #00ff9d;
    color: #00ff9d;
}

.badge-memoria-infinita {
    border-color: #00bfff;
    color: #00bfff;
}

.badge-personalita-unica {
    border-color: #40e0d0;
    color: #40e0d0;
}

.badge-whatsapp-automatico {
    border-color: #a855f7;
    color: #a855f7;
}

.badge-attiva-247 {
    border-color: #00ff9d;
    color: #00ff9d;
}

/* Animazione pulsante per badge speciali */
@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(0, 255, 157, 0.3),
            0 4px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(0, 255, 157, 0.5),
            0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

.badge-featured {
    animation: badge-pulse 2s ease-in-out infinite;
}

/* ===================== BADGE LAYOUT & DISPOSITION ===================== */
/* Container per centrare i badge */
.badges-container,
.service-landing p:has(.badge),
.service-landing div:has(.badge),
.stchannel-section p:has(.badge) {
    text-align: center;
    margin: 1rem 0;
    line-height: 1.2;
}

/* Fix per badge containers consecutivi - rimuove spacing extra */
.badges-container + .badges-container {
    margin-top: -0.5rem;
}

/* Disposizione intelligente dei badge */
.badge-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

/* Forza centratura anche quando sono in paragrafi */
.service-landing p .badge,
.stchannel-section p .badge {
    margin: 0.5rem 0.25rem;
}

/* Badge group unificato per containers multipli */
.service-landing .badges-container,
.stchannel-section .badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

/* Badge container responsive */
@media (max-width: 768px) {
    .badges-container,
    .service-landing p:has(.badge),
    .badge-group {
        gap: 0.5rem;
        margin: 0.75rem 0;
    }
    
    .badges-container + .badges-container {
        margin-top: -0.25rem;
    }
    
    .badge,
    .badge-primary,
    .badge-secondary,
    .badge-success,
    .badge-accent,
    .badge-warning,
    .badge-info {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        margin: 0.25rem;
    }
}

/* Service Tags specific styling */
.service-tags,
.service-tags .badge {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.service-tags .badge {
    margin: 0.5rem 0.25rem;
    display: inline-flex;
    align-items: center;
}

.service-featured-badge .badge {
    animation: badge-pulse 2s infinite;
}

/* Badge wrapper per shortcode system */
.shortcode-badges,
.badge-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
    text-align: center;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .stchannel-hero {
        min-height: 50vh;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    /* Miglioramenti tipografia mobile */
    .service-landing p,
    .service-landing .container p,
    .service-landing .row p {
        font-size: 1rem !important; /* 16px su mobile */
        line-height: 1.6 !important;
        margin-bottom: 1.25rem !important;
    }
    
    .service-landing .service-content p,
    .service-landing .feature-content p,
    .service-landing .benefits-content p {
        font-size: 1.1rem !important; /* 17.6px su mobile */
        line-height: 1.7 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .service-landing ul:not(.nav-list):not(.breadcrumb) li {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0.75rem;
        padding-left: 1.5rem;
    }
    
    .service-landing h1, 
    .service-landing h2, 
    .service-landing h3, 
    .service-landing h4, 
    .service-landing h5, 
    .service-landing h6 {
        margin-bottom: 1.25rem !important;
        margin-top: 1.5rem !important;
    }
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-landing [class*="stchannel-"] {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================== UTILITIES ===================== */
.text-white-75 {
    color: rgba(255,255,255,0.75) !important;
}

.min-vh-50 {
    min-height: 50vh !important;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* ===================== ELEMENTI SPECIALI LANDING ===================== */
/* Highlight boxes per contenuti in evidenza */
.service-landing .highlight-box {
    background: linear-gradient(135deg, 
        rgba(0, 255, 157, 0.1) 0%, 
        rgba(0, 204, 125, 0.05) 100%);
    border: 1px solid var(--st-primary, #00ff9d);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 255, 157, 0.1);
}

.service-landing .highlight-box p {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    color: var(--st-text-primary, #ffffff);
    margin-bottom: 1rem !important;
}

/* Citazioni e testimonial */
.service-landing blockquote {
    background: rgba(0, 255, 157, 0.05);
    border-left: 4px solid var(--st-primary, #00ff9d);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
}

.service-landing blockquote p {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    color: var(--st-text-primary, #ffffff);
    margin-bottom: 0.5rem !important;
}

.service-landing .quote-author {
    text-align: right;
    color: var(--st-primary, #00ff9d);
    font-weight: 600;
    margin-top: 1rem;
}

/* ===================== OVERRIDE FINALE - PRIORITÀ MASSIMA ===================== */
/* Tipografia pulita e leggibile */
html body .service-landing-page p,
html body .stchannel-section p,
html body [class*="stchannel"] p {
    font-size: 1.25rem !important; /* Solo font-size importante */
    line-height: 1.5; /* Meno spazio tra le righe */
    margin-bottom: 1rem; /* Meno spazio sotto */
    color: #e8e8e8;
}

/* Override Bootstrap text-light */
html body .text-light.mb-3,
html body .stchannel-section .text-light,
html body .service-landing .text-light {
    font-size: 1.25rem !important; /* Solo questo importante */
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #e8e8e8;
}

/* Strong text più pulito */
html body .stchannel-section p strong,
html body .service-landing p strong {
    color: #00ff9d;
    font-weight: 600;
}

/* Liste più compatte */
html body .stchannel-section li,
html body .service-landing li {
    font-size: 1.2rem !important; /* Solo font-size */
    line-height: 1.5;
    margin-bottom: 0.8rem;
    color: #e8e8e8;
}

/* Titoli con gerarchia e spacing */
html body .stchannel-section h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

html body .stchannel-section h3 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

html body .stchannel-section h4 {
    font-size: 1.3rem;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

html body .stchannel-section h2:first-child,
html body .stchannel-section h3:first-child,
html body .stchannel-section h4:first-child {
    margin-top: 0;
}

/* Liste con elementi separati */
html body .stchannel-section ul li {
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

html body .stchannel-section ul li:last-child {
    border-bottom: none;
}

/* Hero subtitle più chiaro e leggibile - selettori specifici */
.stchannel-hero .hero-gradient .hero-subtitle,
.hero-gradient .stchannel-hero .hero-subtitle,
body .stchannel-hero .hero-subtitle {
    color: #ffffff !important; /* Bianco puro senza important */
    opacity: 1; /* Rimuove trasparenza senza important */
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Variante per hero con gradiente - selettore più specifico */
body .hero-gradient .hero-subtitle,
.service-landing .hero-gradient .hero-subtitle {
    color: #f8f9fa !important; /* Bianco leggermente più caldo */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    opacity: 1;
}

/* ===================== PRINT STYLES ===================== */
@media print {
    .stchannel-hero,
    .stchannel-cta-section,
    .chat-cta-btn {
        display: none !important;
    }
    
    .service-landing {
        background: white !important;
        color: black !important;
    }
}

/* ===================== UNIFIED BADGE SYSTEM ===================== */
/* 🎯 Regola CSS unica per standardizzare TUTTI i badge del sito */
.badge,
.badge-primary,
.badge-secondary,
.badge-success,
.badge-accent,
.badge-warning,
.badge-info,
.badge-light,
.badge-dark,
span[class*="badge"],
span[class*="bg-primary"],
span[class*="bg-secondary"],
span[class*="bg-success"],
span[class*="bg-warning"],
span[class*="bg-info"],
span[class*="bg-light"],
span[class*="bg-dark"] {
    /* Reset completo stili Bootstrap + formato unificato */
    background: rgba(var(--st-primary-rgb), 0.12) !important;
    border: 1px solid rgba(var(--st-primary-rgb), 0.25) !important;
    color: var(--st-primary-light) !important;
    backdrop-filter: blur(6px) !important;
    border-radius: 999px !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    margin: 0.25rem !important;
    text-decoration: none !important;
}

/* Varianti specifiche - sovrascrivono la regola base */
.badge-secondary,
span[class*="bg-secondary"] {
    background: rgba(var(--st-secondary-rgb), 0.12) !important;
    border: 1px solid rgba(var(--st-secondary-rgb), 0.25) !important;
    color: var(--st-secondary-light) !important;
}

.badge-success,
span[class*="bg-success"] {
    background: rgba(80, 200, 120, 0.12) !important;
    border: 1px solid rgba(80, 200, 120, 0.25) !important;
    color: #50c878 !important;
}

.badge-accent,
.badge-warning,
span[class*="bg-warning"] {
    background: rgba(0, 255, 65, 0.12) !important;
    border: 1px solid rgba(0, 255, 65, 0.25) !important;
    color: var(--st-green-neon) !important;
}

.badge-info,
span[class*="bg-info"] {
    background: rgba(13, 202, 240, 0.12) !important;
    border: 1px solid rgba(13, 202, 240, 0.25) !important;
    color: #0dcaf0 !important;
}

/* Hover effects universali */
.badge:hover,
.badge-primary:hover,
.badge-secondary:hover,
.badge-success:hover,
.badge-accent:hover,
.badge-warning:hover,
.badge-info:hover,
span[class*="badge"]:hover,
span[class*="bg-"]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* 🔥 Override specifico per tag negli header */
.service-content .badge,
.hero-content .badge,
.service-sidebar .badge,
.breadcrumb .badge {
    /* Assicura che anche questi seguano le regole */
    all: unset !important;
    background: rgba(var(--st-primary-rgb), 0.12) !important;
    border: 1px solid rgba(var(--st-primary-rgb), 0.25) !important;
    color: var(--st-primary-light) !important;
    backdrop-filter: blur(6px) !important;
    border-radius: 999px !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    margin: 0.25rem !important;
}


/* ===================== MULTIMEDIA CARDS SYSTEM ===================== */
/* 🎬 Card fighe per video, immagini, documenti, demo come quella nello screenshot */

.multimedia-section {
    padding: 60px 0;
    background: var(--st-dark);
}

.multimedia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.multimedia-card {
    background: var(--st-gradient-dark-card);
    border: 1px solid rgba(var(--st-primary-rgb), 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.multimedia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--st-gradient-primary-soft);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.multimedia-card:hover::before {
    opacity: 1;
}

.multimedia-card:hover {
    transform: translateY(-8px);
    border-color: var(--st-primary);
    box-shadow: 0 20px 40px rgba(var(--st-primary-rgb), 0.3);
}

/* Icona multimedia centrale */
.multimedia-icon {
    width: 80px;
    height: 80px;
    background: var(--st-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.multimedia-card:hover .multimedia-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(var(--st-primary-rgb), 0.6);
}

.multimedia-icon i {
    font-size: 2rem;
    color: var(--st-black);
}

/* Contenuto card */
.multimedia-content {
    position: relative;
    z-index: 2;
}

.multimedia-title {
    color: var(--st-text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.multimedia-card:hover .multimedia-title {
    color: var(--st-primary-light);
}

.multimedia-description {
    color: var(--st-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.multimedia-card:hover .multimedia-description {
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Button nelle card */
.multimedia-cta {
    background: var(--st-primary);
    color: var(--st-black);
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.multimedia-cta:hover {
    background: var(--st-primary-light);
    color: var(--st-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--st-primary-rgb), 0.4);
}

.multimedia-cta i {
    font-size: 0.8rem;
}

/* Varianti per tipo di multimedia */
.multimedia-card.video-card .multimedia-icon {
    background: linear-gradient(135deg, #00ff9d, #00d4aa);
}

.multimedia-card.image-card .multimedia-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.multimedia-card.document-card .multimedia-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.multimedia-card.demo-card .multimedia-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.multimedia-card.portfolio-card .multimedia-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

/* Responsive */
@media (max-width: 768px) {
    .multimedia-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .multimedia-card {
        min-height: 240px;
        padding: 1.5rem;
    }
    
    .multimedia-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .multimedia-icon i {
        font-size: 1.5rem;
    }
    
    .multimedia-title {
        font-size: 1.1rem;
    }
}

/* Media container inside card */
.multimedia-media {
    width: 100%;
    position: relative;
    z-index: 2;
}
.multimedia-media iframe,
.multimedia-media img {
    border-radius: 12px;
    display: block;
}

/* ===================== TABLES (DARK THEME) ===================== */
.service-landing .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    margin: 1rem 0 2rem;
}
.service-landing .table-scroll > table { margin: 0; border: 0; border-radius: 0; }

/* Tabelle markdown generiche */
.service-landing .markdown-table table,
.service-landing table:not(.table-compare) {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    overflow: hidden;
    margin: 1rem 0 2rem;
    color: rgba(255,255,255,0.9);
}

.service-landing .markdown-table table thead th,
.service-landing .markdown-table table tr:first-child th,
.service-landing table:not(.table-compare) thead th,
.service-landing table:not(.table-compare) tr:first-child th {
    background: linear-gradient(180deg, rgba(0,255,170,0.08), rgba(0,255,170,0) 90%), rgba(255,255,255,0.03);
    color: #fff;
    font-weight: 600;
    padding: 12px 14px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    border-right: 1px solid rgba(255,255,255,0.08);
}

.service-landing .markdown-table table thead th:last-child,
.service-landing .markdown-table table tr:first-child th:last-child,
.service-landing table:not(.table-compare) thead th:last-child,
.service-landing table:not(.table-compare) tr:first-child th:last-child {
    border-right: none;
}

.service-landing .markdown-table table tbody td,
.service-landing .markdown-table table td,
.service-landing table:not(.table-compare) tbody td,
.service-landing table:not(.table-compare) td {
    padding: 12px 14px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.service-landing .markdown-table table tbody td:last-child,
.service-landing .markdown-table table td:last-child,
.service-landing table:not(.table-compare) tbody td:last-child,
.service-landing table:not(.table-compare) td:last-child {
    border-right: none;
}

.service-landing .markdown-table table tbody td:first-child,
.service-landing .markdown-table table td:first-child,
.service-landing table:not(.table-compare) tbody td:first-child,
.service-landing table:not(.table-compare) td:first-child {
    text-align: left;
    font-weight: 600;
    padding-left: 18px;
}

.service-landing .markdown-table table tbody tr:last-child td,
.service-landing .markdown-table table tr:last-child td,
.service-landing table:not(.table-compare) tbody tr:last-child td,
.service-landing table:not(.table-compare) tr:last-child td { 
    border-bottom: 0; 
}

.service-landing .markdown-table table tbody tr:nth-child(odd) td,
.service-landing table:not(.table-compare) tbody tr:nth-child(odd) td { 
    background: rgba(255,255,255,0.02); 
}

.service-landing .markdown-table table tbody tr:hover td,
.service-landing table:not(.table-compare) tbody tr:hover td { 
    background: rgba(0,255,170,0.06); 
}

/* ===================== URGENT STYLE SECTION ===================== */
.urgent-style {
    background: linear-gradient(135deg, 
        rgba(220,53,69,0.95) 0%, 
        rgba(231,76,60,0.85) 25%, 
        rgba(255,71,87,0.9) 50%, 
        rgba(231,76,60,0.85) 75%, 
        rgba(220,53,69,0.95) 100%) !important;
    border: 2px solid #ff4757;
    border-radius: 12px;
    padding: .8rem 1.2rem 1rem;
    margin: 1.5rem auto 2rem;
    max-width: 900px;
    position: relative;
    box-shadow: 
        0 4px 20px rgba(220,53,69,.4), 
        0 8px 40px rgba(220,53,69,.2),
        inset 0 1px 2px rgba(255,255,255,.1);
    z-index: 10;
    overflow: visible;
    backdrop-filter: blur(3px) saturate(1.2);
    -webkit-font-smoothing: antialiased;
    animation: urgent-spectacle 4s ease-in-out infinite, urgent-border-dance 3s linear infinite;
    transform-style: preserve-3d;
}

/* Effetto neon sotto SPETTACOLARE */
.urgent-style::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 98%;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(255,71,87,0) 0%, 
        #ff4757 5%, 
        #ff6b6b 20%, 
        #ffeb3b 50%, 
        #ff6b6b 80%, 
        #ff4757 95%, 
        rgba(255,71,87,0) 100%);
    border-radius: 4px;
    z-index: 12;
    box-shadow: 
        0 0 10px rgba(255,71,87,.8), 
        0 0 20px rgba(255,107,107,.6),
        0 0 30px rgba(255,235,59,.4);
    animation: urgent-rainbow-flow 2s linear infinite;
    pointer-events: none;
}

.urgent-style p {
    color: #ffffff !important; /* Testo completamente bianco */
    font-weight: 700 !important;
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    letter-spacing: .3px;
    position: relative;
    z-index: 15;
    text-shadow: 
        0 0 8px rgba(0,0,0,.8), 
        0 2px 4px rgba(0,0,0,.6),
        0 0 15px rgba(255,255,255,.15);
    animation: text-glow-pulse 3s ease-in-out infinite;
}

/* Icona warning con effetto speciale */
.urgent-style p strong:first-child {
    color: #ffeb3b;
    text-shadow: 
        0 0 10px rgba(255,235,59,.8), 
        0 0 20px rgba(255,193,7,.6),
        0 2px 4px rgba(0,0,0,.7);
    animation: warning-flash 2s ease-in-out infinite;
}

.urgent-style .row p {
    color: #f8f9fa !important; /* Bianco puro */
}

/* Prima parola (se marcata in strong) evidenziata ma senza contrasto estraneo */
.urgent-style p strong:first-child {
    color: #fff;
    text-shadow: 0 0 6px rgba(255,200,180,.4), 0 0 14px rgba(255,120,90,.35);
}

@keyframes urgent-underline-glow {
    0%,100% { box-shadow: 0 0 5px rgba(255,120,95,.55), 0 0 12px rgba(255,110,90,.28); filter: brightness(1); }
    50% { box-shadow: 0 0 9px rgba(255,140,110,.85), 0 0 20px rgba(255,120,95,.55); filter: brightness(1.08); }
}

/* ANIMAZIONI SPETTACOLARI */
@keyframes urgent-spectacle {
    0% { 
        transform: perspective(1000px) rotateX(0deg) scale(1);
        background: linear-gradient(135deg, rgba(220,53,69,0.95) 0%, rgba(231,76,60,0.85) 50%, rgba(220,53,69,0.95) 100%);
    }
    25% { 
        transform: perspective(1000px) rotateX(1deg) scale(1.005);
        background: linear-gradient(135deg, rgba(255,71,87,0.9) 0%, rgba(255,107,107,0.8) 50%, rgba(255,71,87,0.9) 100%);
    }
    50% { 
        transform: perspective(1000px) rotateX(0deg) scale(1.01);
        background: linear-gradient(135deg, rgba(231,76,60,0.9) 0%, rgba(255,71,87,0.85) 50%, rgba(231,76,60,0.9) 100%);
    }
    75% { 
        transform: perspective(1000px) rotateX(-1deg) scale(1.005);
        background: linear-gradient(135deg, rgba(255,107,107,0.85) 0%, rgba(220,53,69,0.9) 50%, rgba(255,107,107,0.85) 100%);
    }
    100% { 
        transform: perspective(1000px) rotateX(0deg) scale(1);
        background: linear-gradient(135deg, rgba(220,53,69,0.95) 0%, rgba(231,76,60,0.85) 50%, rgba(220,53,69,0.95) 100%);
    }
}

@keyframes urgent-border-dance {
    0% { border-color: #ff4757; box-shadow: 0 4px 20px rgba(255,71,87,.4), 0 8px 40px rgba(255,71,87,.2), inset 0 1px 2px rgba(255,255,255,.1); }
    25% { border-color: #ff6b6b; box-shadow: 0 4px 20px rgba(255,107,107,.5), 0 8px 40px rgba(255,107,107,.3), inset 0 1px 2px rgba(255,255,255,.15); }
    50% { border-color: #ffeb3b; box-shadow: 0 4px 20px rgba(255,235,59,.6), 0 8px 40px rgba(255,235,59,.4), inset 0 1px 2px rgba(255,255,255,.2); }
    75% { border-color: #ff6b6b; box-shadow: 0 4px 20px rgba(255,107,107,.5), 0 8px 40px rgba(255,107,107,.3), inset 0 1px 2px rgba(255,255,255,.15); }
    100% { border-color: #ff4757; box-shadow: 0 4px 20px rgba(255,71,87,.4), 0 8px 40px rgba(255,71,87,.2), inset 0 1px 2px rgba(255,255,255,.1); }
}

@keyframes urgent-rainbow-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes text-glow-pulse {
    0%, 100% { 
        text-shadow: 0 0 8px rgba(0,0,0,.8), 0 2px 4px rgba(0,0,0,.6), 0 0 15px rgba(255,255,255,.15); 
    }
    50% { 
        text-shadow: 0 0 12px rgba(0,0,0,.9), 0 2px 6px rgba(0,0,0,.7), 0 0 25px rgba(255,255,255,.25); 
    }
}

@keyframes warning-flash {
    0%, 100% { 
        color: #ffeb3b; 
        text-shadow: 0 0 10px rgba(255,235,59,.8), 0 0 20px rgba(255,193,7,.6), 0 2px 4px rgba(0,0,0,.7); 
    }
    50% { 
        color: #ffc107; 
        text-shadow: 0 0 15px rgba(255,193,7,1), 0 0 30px rgba(255,152,0,.8), 0 2px 6px rgba(0,0,0,.8); 
    }
}

/* Rimuovo integrazione AOS per semplificare */

@keyframes urgent-border-pulse {
    0% { 
        border-color: #dc3545;
        transform: scale(1);
    }
    50% { 
        border-color: #e74c3c;
        transform: scale(1.02);
    }
    100% { 
        border-color: #dc3545;
        transform: scale(1);
    }
}

@keyframes urgent-glow {
    0% { 
        box-shadow: 0 2px 8px rgba(220,53,69,.15), inset 0 1px 1px rgba(255,255,255,.05);
    }
    50% { 
        box-shadow: 0 4px 15px rgba(220,53,69,.3), inset 0 1px 1px rgba(255,255,255,.08), 0 0 0 1px rgba(220,53,69,.2);
    }
    100% { 
        box-shadow: 0 2px 8px rgba(220,53,69,.15), inset 0 1px 1px rgba(255,255,255,.05);
    }
}

@keyframes urgent-border-gradient {
    0% { 
        border-color: #dc3545;
        box-shadow: 0 2px 8px rgba(220,53,69,.15), inset 0 1px 1px rgba(255,255,255,.05);
    }
    50% { 
        border-color: #c82333;
        box-shadow: 0 2px 8px rgba(200,35,51,.25), inset 0 1px 1px rgba(255,255,255,.08);
    }
    100% { 
        border-color: #dc3545;
        box-shadow: 0 2px 8px rgba(220,53,69,.15), inset 0 1px 1px rgba(255,255,255,.05);
    }
}

@keyframes urgent-underline-pulse {
    0% { 
        box-shadow: 0 0 4px rgba(220,53,69,.3), 0 0 8px rgba(220,53,69,.15);
        background: linear-gradient(90deg, rgba(220,53,69,0) 0%, #dc3545 20%, #e74c3c 50%, #dc3545 80%, rgba(220,53,69,0) 100%);
    }
    50% { 
        box-shadow: 0 0 10px rgba(220,53,69,.6), 0 0 20px rgba(220,53,69,.3);
        background: linear-gradient(90deg, rgba(220,53,69,0) 0%, #e74c3c 15%, #ff4757 50%, #e74c3c 85%, rgba(220,53,69,0) 100%);
    }
    100% { 
        box-shadow: 0 0 4px rgba(220,53,69,.3), 0 0 8px rgba(220,53,69,.15);
        background: linear-gradient(90deg, rgba(220,53,69,0) 0%, #dc3545 20%, #e74c3c 50%, #dc3545 80%, rgba(220,53,69,0) 100%);
    }
}

@keyframes urgent-underline-glow {
    0%,100% { box-shadow: 0 0 5px rgba(220,53,69,.4), 0 0 12px rgba(220,53,69,.2); filter: brightness(1); }
    50% { box-shadow: 0 0 8px rgba(220,53,69,.7), 0 0 16px rgba(220,53,69,.4); filter: brightness(1.1); }
}

@keyframes pulse-urgent {
    0% { 
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
        transform: scale(1.01);
    }
    100% { 
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
        transform: scale(1);
    }
}

@keyframes neon-glow-urgent {
    0% { 
        opacity: 0.8;
        box-shadow: 
            0 0 8px rgba(255, 107, 107, 0.7),
            0 0 16px rgba(255, 107, 107, 0.5),
            0 0 24px rgba(255, 107, 107, 0.3);
    }
    50% { 
        opacity: 1;
        box-shadow: 
            0 0 12px rgba(255, 107, 107, 0.9),
            0 0 20px rgba(255, 107, 107, 0.7),
            0 0 28px rgba(255, 107, 107, 0.5);
    }
    100% { 
        opacity: 0.8;
        box-shadow: 
            0 0 8px rgba(255, 107, 107, 0.7),
            0 0 16px rgba(255, 107, 107, 0.5),
            0 0 24px rgba(255, 107, 107, 0.3);
    }
}

/* ===================== BADGE IMPROVEMENTS ===================== */
/* Stili generali per badge con effetto neon sotto */
.stchannel-badge,
[class*="badge"] {
    position: relative;
    display: inline-block;
    margin: 0.5rem;
}

/* Effetto neon sotto per tutti i badge */
.stchannel-badge::after,
[class*="badge"]::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 3px;
    border-radius: 1.5px;
    animation: badge-neon-glow 2s infinite;
}

/* Badge Success - Verde */
.badge-success::after {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    box-shadow: 
        0 0 8px rgba(39, 174, 96, 0.6),
        0 0 16px rgba(39, 174, 96, 0.4);
}

/* Badge Primary - Blu */
.badge-primary::after {
    background: linear-gradient(90deg, #3498db, #2980b9);
    box-shadow: 
        0 0 8px rgba(52, 152, 219, 0.6),
        0 0 16px rgba(52, 152, 219, 0.4);
}

/* Badge Warning - Giallo/Arancione */
.badge-warning::after {
    background: linear-gradient(90deg, #f39c12, #e67e22);
    box-shadow: 
        0 0 8px rgba(243, 156, 18, 0.6),
        0 0 16px rgba(243, 156, 18, 0.4);
}

/* Badge Info - Azzurro */
.badge-info::after {
    background: linear-gradient(90deg, #1abc9c, #16a085);
    box-shadow: 
        0 0 8px rgba(26, 188, 156, 0.6),
        0 0 16px rgba(26, 188, 156, 0.4);
}

@keyframes badge-neon-glow {
    0%, 100% { 
        opacity: 0.7;
        transform: translateX(-50%) scaleX(1);
    }
    50% { 
        opacity: 1;
        transform: translateX(-50%) scaleX(1.05);
    }
}

/* Testo badge con colore adatto al contrasto */
.badge-success { color: #fff !important; }
.badge-primary { color: #fff !important; }
.badge-warning { color: #2c3e50 !important; } /* Scuro per contrasto su giallo */
.badge-info { color: #fff !important; }

/* ===================== LIST SHORTCODE ===================== */
.stchannel-list {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    position: relative;
}

.stchannel-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.05) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
}

.list-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #00ffcc;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

/* Layout Cards */
.list-cards .list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.list-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.1), transparent);
    transition: left 0.5s ease;
}

.list-card:hover::before {
    left: 100%;
}

.list-card:hover {
    transform: translateY(-5px);
    border-color: #00ffcc;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
}

.list-icon {
    font-size: 2.5rem;
    color: #00ffcc;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.6);
}

.list-card .list-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.8rem;
    display: block;
}

.list-card .list-description {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

/* Layout Styled (ex List) */
.list-styled .list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-styled .list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #00ffcc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.list-styled .list-item:hover {
    background: rgba(0, 255, 204, 0.1);
    transform: translateX(5px);
}

.list-styled .list-item .list-name {
    font-weight: 600;
    color: #00ffcc;
    min-width: 140px;
    flex-shrink: 0;
}

.list-styled .list-item .list-description {
    color: #e0e0e0;
    line-height: 1.5;
}

/* Layout Simple - elenco puntato classico */
.list-simple .list-container {
    margin-top: 1.5rem;
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.list-simple .list-item {
    display: block; /* forza layout a blocchi (no flex ereditato) */
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    background: transparent;
    border: none;
    transition: none;
}

/* Pallino neon personalizzato */
.list-simple .list-item::before,
.service-landing .stchannel-list.list-simple .list-item::before,
.stchannel-features .feature-content .stchannel-list.list-simple .list-item::before {
    content: '●' !important; /* sovrascrive eventuali ✓ globali */
    color: #00ffcc !important;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 0.35rem;
    text-shadow: 0 0 8px #00ffcc;
}

.list-simple .list-item:hover {
    background: transparent;
    border-left-color: transparent;
    transform: none;
    padding-left: 1.5rem;
}

.list-simple .list-item .list-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    display: block; /* il testo scorre sotto il nome */
    margin-bottom: 0.25rem;
    min-width: auto;
    flex-shrink: none;
}

.list-simple .list-item .list-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
    display: block;
    margin-left: 0;
}

/* === LAYOUT CHECKED - Lista con checkmarks === */
.stchannel-list.list-checked .list-container {
    margin-top: 1.5rem;
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.stchannel-list.list-checked .list-item {
    display: block;
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    background: transparent;
    border: none;
    transition: none;
}

/* Checkmark neon per checked */
.stchannel-list.list-checked .list-item::before {
    content: '\f00c';  /* FontAwesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #00ffcc;
    font-size: 0.9rem;
    position: absolute;
    left: 0;
    top: 0.2rem;
    text-shadow: 0 0 10px #00ffcc;
}

.stchannel-list.list-checked .list-item .list-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.stchannel-list.list-checked .list-item .list-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
    display: block;
    margin-left: 0;
}

/* === LAYOUT CON background="none" - Liste senza contenitore === */
.list-naked-container,
.list-checked-container {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
    background: transparent;
    border: none;
    box-shadow: none;
}

.list-naked-container .list-item,
.list-checked-container .list-item {
    display: block;
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    background: transparent;
    border: none;
    transition: none;
}

/* Pallino neon per naked (background="none" con qualsiasi stile tranne checked) */
.list-naked-container .list-item::before {
    content: '●';
    color: #00ffcc;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 0.35rem;
    text-shadow: 0 0 8px #00ffcc;
}

/* Checkmark neon per checked con background="none" */
.list-checked-container .list-item::before {
    content: '\f00c';  /* FontAwesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #00ffcc;
    font-size: 0.9rem;
    position: absolute;
    left: 0;
    top: 0.2rem;
    text-shadow: 0 0 10px #00ffcc;
}

.list-naked-container .list-item .list-name,
.list-checked-container .list-item .list-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.list-naked-container .list-item .list-description,
.list-checked-container .list-item .list-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
    display: block;
    margin-left: 0;
}

/* Titolo per liste senza background */
.list-naked-container + h3.list-title,
.list-checked-container + h3.list-title,
h3.list-title + .list-naked-container,
h3.list-title + .list-checked-container {
    color: #00ffcc;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .stchannel-list {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .list-cards .list-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .list-card {
        padding: 1.25rem;
    }
    
    .list-title {
        font-size: 1.5rem;
    }
    
    .list-styled .list-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .list-styled .list-item .list-name {
        min-width: auto;
    }
    
    /* Responsive per layout simple */
    .list-simple .list-container {
        padding-left: 0;
    }
    
    .list-simple .list-item {
        margin-bottom: 0.75rem;
        padding-left: 1.25rem;
    }
    
    .list-simple .list-item::before,
    .service-landing .stchannel-list.list-simple .list-item::before,
    .stchannel-features .feature-content .stchannel-list.list-simple .list-item::before {
        left: 0;
        font-size: 0.75rem;
        top: 0.2rem;
    }
    
    .list-simple .list-item .list-name {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }
    
    .list-simple .list-item .list-description {
        font-size: 0.9rem;
    }
    
    /* Responsive per layout checked */
    .stchannel-list.list-checked .list-item {
        margin-bottom: 0.75rem;
        padding-left: 1.25rem;
    }
    
    .stchannel-list.list-checked .list-item::before {
        font-size: 0.9rem;
        top: 0.1rem;
    }
    
    .stchannel-list.list-checked .list-item .list-name {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }
    
    .stchannel-list.list-checked .list-item .list-description {
        font-size: 0.9rem;
    }
    
    /* Responsive per layout con background="none" */
    .list-naked-container .list-item,
    .list-checked-container .list-item {
        margin-bottom: 0.5rem;
        padding-left: 1.25rem;
    }
    
    .list-naked-container .list-item::before {
        font-size: 0.75rem;
        top: 0.2rem;
    }
    
    .list-checked-container .list-item::before {
        font-size: 0.9rem;
        top: 0.1rem;
    }
    
    .list-naked-container .list-item .list-name,
    .list-checked-container .list-item .list-name {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }
    
    .list-naked-container .list-item .list-description,
    .list-checked-container .list-item .list-description {
        font-size: 0.9rem;
    }
}