.innovation-timeline {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f8ff 100%);
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 50px;
}

.timeline-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.timeline-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.timeline-line {
    display: none;
}

.timeline-item {
    position: relative;
    opacity: 0;
    animation: slideInTimeline 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }

.timeline-marker {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    border: 3px solid white;
    margin: 0 auto 15px;
}

.chatgpt-marker {
    background: linear-gradient(135deg, #ff6b6b, #feca57) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4) !important;
    animation: pulse-special 2s infinite;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 2px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chatgpt-content {
    background: linear-gradient(135deg, #fff5f5, #fef2f2) !important;
    border: 2px solid #ff6b6b !important;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.15);
    border-color: var(--primary-color);
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.timeline-content p {
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.timeline-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pre-chatgpt {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 3px 12px rgba(40, 167, 69, 0.3);
}

.chatgpt-launch {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;
    box-shadow: 0 3px 12px rgba(255, 107, 107, 0.3);
    animation: glow 2s infinite alternate;
}

.post-chatgpt {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
    color: white;
    box-shadow: 0 3px 12px rgba(23, 162, 184, 0.3);
}

.current {
    background: linear-gradient(135deg, #fd7e14, #e83e8c);
    color: white;
    box-shadow: 0 3px 12px rgba(253, 126, 20, 0.3);
}

.timeline-video {
    margin: 10px 0;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255, 0, 0, 0.3);
    font-size: 0.85rem;
}

.video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    color: white;
    text-decoration: none;
}

.timeline-footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: #e2241c;
    border-radius: 15px;
    color: white;
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.3);
}

.expertise-highlight h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.expertise-highlight p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
}

/* Animazioni Timeline */
@keyframes slideInTimeline {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-special {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 3px 12px rgba(255, 107, 107, 0.3);
    }
    to {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }
}
