/*
 * Services Page Styles - HERO DEVELOPMENT JOURNEY
 * Nuovo design con percorso di sviluppo da zero a progetto hero
 * 
 * IMPORTANTE: Per utilizzare correttamente questi stili:
 * 1. Aggiungi la classe 'service-page-content' al contenitore principale della pagina
 * 2. Aggiungi la classe 'service-page-section' a tutte le sezioni della pagina
 * 
 * Esempio HTML:
 * <div class="service-page-content">
 *   <section class="service-page-section">
 *     <h1>Titolo</h1>
 *     <p>Contenuto...</p>
 *     <ul><li>Lista...</li></ul>
 *   </section>
 * </div>
 * 
 * Questo previene interferenze con stili globali del sito.
 */

/* CSS Variables */
:root {
    --hero-gradient: linear-gradient(135deg, #0d1421 0%, #1a2332 50%, #0f1821 100%);
    --timeline-gradient: linear-gradient(90deg, transparent 0%, var(--st-primary) 50%, transparent 100%);
    --card-glow: 0 0 30px rgba(0, 255, 157, 0.2);
    --hero-glow: 0 0 50px rgba(0, 255, 157, 0.3);
}

/* ==========================================================================
   HERO SERVICES SECTION
   ========================================================================== */

.hero-services {
    background: var(--hero-gradient);
    min-height: 300px;/*60vh;*/
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Manteniamo basso per non sovrastare l'header */
}

.hero-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 157, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2; /* Relativo alla sezione hero, non globale */
}

.hero-content h1 {
    background: var(--st-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content .lead {
    color: var(--st-text-secondary);
    margin-bottom: 1rem;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--st-gradient-dark-card);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.tech-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--card-glow);
    border-color: var(--st-primary);
}

/* ==========================================================================
   HERO DEVELOPMENT JOURNEY SECTION
   ========================================================================== */

.hero-journey-section {
    background: var(--st-dark);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 157, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 157, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.journey-title {
    background: var(--st-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--hero-glow);
}

.journey-subtitle {
    color: var(--st-text-primary);
    line-height: 1.6;
}

.journey-intro {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    position: relative;
}

.journey-intro::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: var(--timeline-gradient);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

/* ==========================================================================
   DEVELOPMENT TIMELINE
   ========================================================================== */

.development-timeline {
    position: relative;
    margin-top: 3rem;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 80px; /* Inizia dal primo pallino */
    bottom: 80px; /* Finisce sull'ultimo pallino */
    width: 4px;
    background: linear-gradient(180deg, var(--st-primary) 0%, rgba(0, 255, 157, 0.6) 50%, var(--st-primary) 100%);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInTimeline 0.8s ease forwards;
    z-index: 5;
}

.timeline-item:first-child {
    margin-top: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 2rem;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1.0s; }

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #00ff9d !important;
    background: var(--st-gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(0, 255, 157, 0.4),
        0 0 60px rgba(0, 255, 157, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -3;
    animation: pulse-ring 2s ease-in-out infinite;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--st-dark);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.timeline-marker:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 
        0 0 40px rgba(0, 255, 157, 0.6),
        0 0 80px rgba(0, 255, 157, 0.3),
        inset 0 2px 15px rgba(255, 255, 255, 0.3);
}

.timeline-marker i {
    font-size: 1.6rem;
    color: var(--st-text-primary);
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.phase-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--st-text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 60px);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    padding-left: 2rem;
}

.timeline-card {
    background: var(--st-gradient-dark-card);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.1), transparent);
    transition: left 0.8s ease;
}

.timeline-card:hover::before {
    left: 100%;
}

.timeline-card:hover {
    transform: translateY(-10px);
    border-color: var(--st-primary);
    box-shadow: var(--card-glow);
}

.timeline-card.hero-card {
    border: 2px solid var(--st-primary);
    box-shadow: var(--hero-glow);
}

.card-header {
    background: rgba(0, 255, 157, 0.1);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
}

.card-header h3 {
    color: var(--st-text-primary);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

.approach-highlight {
    background: rgba(0, 255, 157, 0.15);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: var(--st-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.process-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--st-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.process-list i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.deliverables {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 3px solid var(--st-primary);
    color: var(--st-text-primary);
    font-size: 0.9rem;
}

.hero-deliverable {
    background: rgba(0, 255, 157, 0.1);
    border-left-color: var(--st-primary);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
}

/* Tech and Feature Previews */
.tech-stack-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-preview {
    background: var(--st-primary);
    color: var(--st-dark);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.ai-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.ai-feature {
    background: rgba(0, 255, 157, 0.2);
    color: var(--st-primary);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

/* Development Metrics */
.development-metrics {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    color: var(--st-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.metric-label {
    display: block;
    color: var(--st-text-secondary);
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

/* Hero Stats */
.hero-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 255, 157, 0.1);
    border-radius: 8px;
    color: var(--st-text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Results Preview */
.results-preview {
    background: var(--st-gradient-dark-card);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(15px);
}

.results-preview h3 {
    color: var(--st-text-primary);
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
    color: var(--st-text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.result-item:hover {
    background: rgba(0, 255, 157, 0.1);
    transform: translateY(-5px);
    color: var(--st-primary);
}

.result-item i {
    font-size: 1.5rem;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-section {
    background: rgba(0, 255, 157, 0.05);
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 255, 157, 0.2);
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
}

.stat-number {
    color: var(--st-primary);
    text-shadow: var(--st-shadow-glow);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--st-text-secondary);
    font-size: 0.8rem;
}
/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeInTimeline {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(0, 255, 157, 0.4),
            0 0 40px rgba(0, 255, 157, 0.2),
            inset 0 2px 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(0, 255, 157, 0.6),
            0 0 60px rgba(0, 255, 157, 0.3),
            inset 0 2px 15px rgba(255, 255, 255, 0.3);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.timeline-marker {
    animation: pulse 3s ease-in-out infinite;
}

/* ==========================================================================
   TIPOGRAFIA E LAYOUT MIGLIORATI 
   ========================================================================== */

/* Tipografia generale migliorata per service pages */
.service-page-content p:not(.process-card p):not(.approach-card p):not(.hero-content p) {
    font-size: 1.125rem !important; /* 18px */
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    color: var(--st-text-secondary);
    font-weight: 400;
}

/* Paragrafi nelle sezioni service page */
.service-page-content .container p,
.service-page-content .row p {
    font-size: 1.125rem !important; /* 18px */
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    color: var(--st-text-secondary);
}

/* Sezioni principali hero */
.hero-services p {
    font-size: 1.125rem !important; /* 18px */
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    color: var(--st-text-secondary);
    font-weight: 400;
}

/* Paragrafi specifici per contenuti di marketing nelle sezioni service page */
.service-page-content .service-content p,
.service-page-content .feature-content p,
.service-page-content .benefits-content p,
.service-content p,
.feature-content p,
.benefits-content p {
    font-size: 1.2rem !important; /* 19.2px */
    line-height: 1.8 !important;
    margin-bottom: 2rem !important;
    color: var(--st-text-secondary);
    font-weight: 400;
}

/* Liste migliorate per sezioni service page */
.service-page-content ul:not(.process-card ul):not(.nav-list):not(.breadcrumb) {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.service-page-content ul:not(.process-card 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);
}

.service-page-content ul:not(.process-card ul):not(.nav-list):not(.breadcrumb) li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: var(--st-primary);
    font-size: 1.2rem;
}

/* Liste specifiche per caratteristiche/vantaggi */
.benefits-list li::before {
    content: '✅';
}

.features-list li::before {
    content: '🎯';
}

.problems-list li::before {
    content: '❌';
    color: #ff6b6b;
}

.solutions-list li::before {
    content: '💡';
}

.success-list li::before {
    content: '🏆';
}

.testimonial-list li::before {
    content: '💬';
}

/* Miglioramenti per le sezioni service page */
.service-page-section {
    padding: 3rem 0 !important;
}

.service-page-section.stchannel-section {
    padding: 2.5rem 0 !important;
}

.service-page-section.main-intro-section {
    padding: 3rem 0 !important;
}

.service-page-content .container-fluid .service-page-section,
.service-page-content .container .service-page-section {
    margin-bottom: 2rem;
}

/* Titoli con spacing migliorato nelle service page */
.service-page-content h1, .service-page-content h2, .service-page-content h3, 
.service-page-content h4, .service-page-content h5, .service-page-content h6 {
    margin-bottom: 1.5rem !important;
    margin-top: 2rem !important;
}

.service-page-content h1:first-child,
.service-page-content h2:first-child,
.service-page-content h3:first-child {
    margin-top: 0 !important;
}

/* Miglioramenti per il contenuto dell'hero */
.hero-content {
    padding: 2rem 0;
}

.hero-content p {
    font-size: 1.25rem !important; /* 20px */
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    color: var(--st-text-secondary);
    opacity: 0.95;
}

/* Miglioramenti per le process cards */
.process-card {
    padding: 2rem;
    margin-bottom: 2rem !important;
}

.process-card p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
}

/* Approach cards migliorate */
.approach-card p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
}

/* Spacing tra elementi nelle service page */
.service-page-content .row + .row {
    margin-top: 2rem;
}

.service-page-content .col + .col {
    margin-top: 1rem;
}

/* Miglioramenti per contenuti in evidenza */
.highlight-box {
    background: var(--st-gradient-dark-card);
    border: 1px solid var(--st-primary);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--card-glow);
}

.highlight-box p {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    color: var(--st-text-primary);
    margin-bottom: 1rem !important;
}

.highlight-box h3 {
    color: var(--st-primary);
    margin-bottom: 1.5rem !important;
}

/* Stili per citazioni e testimonial */
blockquote {
    background: rgba(0, 255, 157, 0.05);
    border-left: 4px solid var(--st-primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
}

blockquote p {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    color: var(--st-text-primary);
    margin-bottom: 0.5rem !important;
}

.quote-author {
    text-align: right;
    color: var(--st-primary);
    font-weight: 600;
    margin-top: 1rem;
}

/* Call-to-action boxes */
.cta-box {
    background: var(--st-gradient-primary);
    color: var(--st-dark);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
    box-shadow: var(--st-shadow-primary);
}

.cta-box p {
    color: var(--st-dark) !important;
    font-size: 1.2rem !important;
    font-weight: 500;
    margin-bottom: 1.5rem !important;
}

.cta-box h3 {
    color: var(--st-dark);
    margin-bottom: 1rem !important;
}

/* Stili specifici per le classi SaintChannel */
.stchannel-cta-inline {
    display: inline-block;
    margin: 1rem 0;
}

.text-center {
    text-align: center;
}

/* Miglioramenti per elementi inline nelle service page */
.service-page-content strong {
    color: var(--st-primary);
    font-weight: 600;
}

.service-page-content em {
    color: var(--st-text-primary);
    font-style: italic;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .hero-services {
        min-height: 50vh;
        padding: 1.5rem 0;
    }
    
    .hero-journey-section {
        padding: 2rem 0;
    }
    
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline-container::before {
        left: 30px;
        top: 60px; /* Inizia dal primo pallino mobile */
        bottom: 60px; /* Finisce sull'ultimo pallino mobile */
        width: 3px;
        z-index: 1;
    }
    
    .timeline-item {
        z-index: 5;
    }
    
    .timeline-marker {
        left: 30px;
        width: 60px;
        height: 60px;
        transform: translateX(-50%);
        border: 3px solid var(--st-primary) !important;
        z-index: 100;
    }
    
    .timeline-marker::before {
        width: 80px;
        height: 80px;
    }
    
    .timeline-marker::after {
        width: 68px;
        height: 68px;
    }
    
    .timeline-marker i {
        font-size: 1.3rem;
    }
    
    .phase-number {
        font-size: 0.65rem;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        padding-left: 1rem !important;
        padding-right: 0 !important;
    }
    
    .timeline-card {
        margin-bottom: 2rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .development-metrics {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .metric {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .metric-value,
    .metric-label {
        display: inline;
    }
    
    .results-preview {
        padding: 1.5rem;
    }
    
    .result-item {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .result-item i {
        font-size: 1.2rem;
    }
    
    /* Miglioramenti tipografia mobile per service page */
    .service-page-content p:not(.process-card p):not(.approach-card p):not(.hero-content p),
    .service-page-section.stchannel-section p,
    .service-page-content .container p,
    .service-page-content .row p,
    .hero-services p {
        font-size: 1rem !important; /* 16px su mobile */
        line-height: 1.6 !important;
        margin-bottom: 1.25rem !important;
    }
    
    .service-page-content .service-content p,
    .service-page-content .feature-content p,
    .service-page-content .benefits-content p,
    .service-content p,
    .feature-content p,
    .benefits-content p {
        font-size: 1.1rem !important; /* 17.6px su mobile */
        line-height: 1.7 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-content p {
        font-size: 1.125rem !important; /* 18px su mobile */
        line-height: 1.6 !important;
        margin-bottom: 1.25rem !important;
    }
    
    .service-page-content ul:not(.process-card 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-page-section {
        padding: 2rem 0 !important;
    }
    
    .service-page-section.stchannel-section {
        padding: 1.5rem 0 !important;
    }
    
    section.main-intro-section {
        padding: 2rem 0 !important;
    }
    
    .process-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem !important;
    }
    
    .service-page-content h1, .service-page-content h2, .service-page-content h3, 
    .service-page-content h4, .service-page-content h5, .service-page-content h6 {
        margin-bottom: 1.25rem !important;
        margin-top: 1.5rem !important;
    }
}

/* ==========================================================================
   TECH STACK SECTION - ENHANCED
   ========================================================================== */

.tech-stack-section {
    background: linear-gradient(135deg, var(--st-dark) 0%, #1a1a2e 100%);
    padding: 3rem 0;
    position: relative;
}

.tech-stack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 157, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.tech-category {
    background: var(--st-gradient-dark-card);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--st-shadow-md);
    border: 1px solid rgba(0, 255, 157, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-glow);
    border-color: var(--st-primary);
}

.tech-category h3 {
    color: var(--st-text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-badge {
    background: var(--st-dark-surface);
    color: var(--st-text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid rgba(0, 255, 157, 0.2);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--st-primary);
    color: var(--st-dark);
    transform: translateY(-2px);
    box-shadow: var(--st-shadow-primary);
}

.tech-badge.premium {
    background: var(--st-gradient-primary);
    color: var(--st-dark);
    font-weight: 600;
    border-color: var(--st-primary);
}

.tech-philosophy {
    background: var(--st-gradient-dark-card);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.philosophy-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    background: rgba(0, 255, 157, 0.1);
    transform: translateX(5px);
}

.philosophy-item i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.philosophy-item span {
    color: var(--st-text-primary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Process and Contact sections */
.process-section {
    padding: 3rem 0;
    background: var(--st-dark-surface);
}

.process-card {
    background: var(--st-gradient-dark-card);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--st-shadow-md);
    border: 1px solid rgba(0, 255, 157, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--st-shadow-primary-lg);
    border-color: var(--st-primary);
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--st-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-dark);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: var(--st-shadow-glow);
}

.process-card h3 {
    color: var(--st-text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.process-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--st-text-secondary);
}

.process-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--st-primary);
    font-weight: bold;
}

.contact-section {
    background: var(--st-dark-surface);
    padding: 3rem 0;
}

.contact-switch-wrapper {
    background: var(--st-gradient-dark-card);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--st-shadow-md);
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 157, 0.1);
}

/* Compact spacing overrides per service page */
.service-page-section {
    margin-bottom: 0 !important;
}

.hero-content h1 {
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.hero-content p {
    margin-bottom: 1rem !important;
}

.services-grid-container {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.btn {
    padding: 0.5rem 1rem !important;
    margin: 0.25rem !important;
}

/*.contact-buttons-section .contact-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    text-decoration: none;
    border-radius: 1rem;
    background: var(--st-dark-card);
    color: var(--st-text-secondary);
    box-shadow: var(--st-shadow-sm);
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.contact-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--st-shadow-primary);
    color: var(--st-primary);
    text-decoration: none;
    border-color: var(--st-primary);
}

.contact-action-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}*/

/* ==========================================================================
   RESPONSIVE DESIGN - COMPATTO
   ========================================================================== */

@media (max-width: 768px) {
    .hero-services {
        min-height: 50vh;
        padding: 1.5rem 0;
    }
    
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stats-section {
        padding: 1.5rem 0;
    }
    
    .services-section,
    .process-section,
    .tech-stack-section,
    .contact-section {
        padding: 2rem 0;
    }
    
    .process-card,
    .tech-category {
        padding: 1rem;
    }
    
    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   ANIMATIONS - NEON EFFECTS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 5px var(--st-primary), 0 0 10px var(--st-primary), 0 0 15px var(--st-primary);
    }
    50% {
        text-shadow: 0 0 10px var(--st-primary), 0 0 20px var(--st-primary), 0 0 30px var(--st-primary);
    }
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    animation: neonGlow 2s ease-in-out infinite;
}

/* ==========================================================================
   GLOBAL OVERRIDES - DARK THEME
   ========================================================================== */

.text-muted {
    color: var(--st-text-secondary) !important;
}

.bg-light {
    background-color: var(--st-dark-surface) !important;
}

/* Testi principali */
h1, h2, h3, h4, h5, h6 {
    color: var(--st-text-primary) !important;
}

/*
p, span, div {
    color: var(--st-text-secondary);
}*/

.lead {
    color: var(--st-text-accent) !important;
}

/* ==========================================================================
   SPACING OPTIMIZATION - REMOVE WHITE SPACE
   ========================================================================== */

/* Riduci margini generali */
.service-page-content .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.service-page-content .row {
    margin-left: -0.5rem !important;
    margin-right: -0.5rem !important;
}

.service-page-content .col, .service-page-content [class*="col-"] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* Riduci spacing tra sezioni service page */
.service-page-section {
    margin-bottom: 0 !important;
}

/* Hero content compatto */
.hero-content h1 {
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.hero-content p {
    margin-bottom: 1rem !important;
}

/* Services grid compatto */
.services-grid-container {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/* Process cards compatte */
.process-card {
    margin-bottom: 1rem !important;
}

/* Tech categories compatte */
.tech-category {
    margin-bottom: 1rem !important;
}

/* Contact section compatta */
.contact-switch-wrapper {
    margin-bottom: 1rem !important;
}

/* Bottoni compatti */
.btn {
    padding: 0.5rem 1rem !important;
    margin: 0.25rem !important;
}

/* Stats compatte */
.stat-item {
    padding: 0.75rem !important;
}

.stat-number {
    font-size: 1.5rem !important;
    margin-bottom: 0.25rem !important;
}

.stat-label {
    font-size: 0.8rem !important;
}

/* ==========================================================================
   UNIQUE APPROACH SECTION - MARKETING EXPERTISE
   ========================================================================== */

.unique-approach-section {
    background: var(--st-dark);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.unique-approach-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 157, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.approach-highlight {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    backdrop-filter: blur(10px);
}

.approach-card {
    background: var(--st-gradient-dark-card);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.1), transparent);
    transition: left 0.6s ease;
}

.approach-card:hover::before {
    left: 100%;
}

.approach-card:hover {
    transform: translateY(-10px);
    border-color: var(--st-primary);
    box-shadow: var(--st-shadow-primary-lg);
}

.approach-icon {
    width: 60px;
    height: 60px;
    background: var(--st-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--st-shadow-glow);
}

.approach-icon i {
    font-size: 1.5rem;
    color: var(--st-dark);
}

.approach-card:hover .approach-icon {
    transform: rotate(360deg) scale(1.1);
}

.approach-card h3 {
    color: var(--st-text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.skill-badge {
    background: rgba(0, 255, 157, 0.15);
    color: var(--st-primary);
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 157, 0.3);
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: var(--st-primary);
    color: var(--st-dark);
    transform: scale(1.05);
}

.approach-card p {
    color: var(--st-text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.approach-card strong {
    color: var(--st-primary);
}

/* Tech Stack Section Enhanced */
.tech-stack-section {
    background: linear-gradient(135deg, var(--st-dark) 0%, #1a1a2e 100%);
    padding: 3rem 0;
    position: relative;
}

.tech-stack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 157, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.tech-badge.premium {
    background: var(--st-gradient-primary);
    color: var(--st-dark);
    font-weight: 600;
    border-color: var(--st-primary);
}

.tech-philosophy {
    background: var(--st-gradient-dark-card);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.philosophy-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    background: rgba(0, 255, 157, 0.1);
    transform: translateX(5px);
}

.philosophy-item i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.philosophy-item span {
    color: var(--st-text-primary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .unique-approach-section {
        padding: 2rem 0;
    }
    
    .approach-card {
        padding: 1rem;
    }
    
    .approach-icon {
        width: 50px;
        height: 50px;
    }
    
    .approach-icon i {
        font-size: 1.2rem;
    }
    
    .tech-philosophy {
        padding: 1.5rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .philosophy-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.6rem;
    }
    
    .skills-badges {
        gap: 0.3rem;
    }
    
    .skill-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
}

/* ==========================================================================
   VIDEO PRESENTATION SECTION
   ========================================================================== */

.video-presentation-container {
    position: relative;
    z-index: 2; /* Relativo alla sezione hero, non globale */
}

.video-box {
    background: rgba(26, 35, 50, 0.9);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid rgba(0, 255, 157, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 255, 157, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.video-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 157, 0.05) 0%, transparent 50%, rgba(0, 255, 157, 0.05) 100%);
    pointer-events: none;
}

.video-placeholder {
    position: relative;
    z-index: 1;
}

.video-content h4 {
    background: var(--st-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.video-cta {
    position: relative;
    z-index: 1;
}

.video-cta .btn {
    box-shadow: 
        0 4px 20px rgba(0, 255, 157, 0.3),
        0 0 30px rgba(0, 255, 157, 0.2);
    border: 1px solid rgba(0, 255, 157, 0.4);
}

.video-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(0, 255, 157, 0.4),
        0 0 40px rgba(0, 255, 157, 0.3);
}

/* Icona del pulsante CTA più scura */
.video-cta .btn i {
    color: rgba(0, 0, 0, 0.8) !important;
    text-shadow: none;
}

.video-cta .btn:hover i {
    color: rgba(0, 0, 0, 0.9) !important;
}

/* Responsive adjustments for video */
@media (max-width: 768px) {
    .video-box {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .video-embed {
        height: 200px;
    }
    
    .hero-buttons-left {
        margin-bottom: 2rem;
    }
    
    .hero-content {
        text-align: center !important;
    }
    
    .hero-buttons-left {
        justify-content: center !important;
    }
}