.timeline-section {
    position: relative;
    padding: 120px 0;
    background: transparent;
    z-index: 5;
    overflow: hidden;
}

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: rgba(39, 159, 245, 0.2);
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    display: flex;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    padding-right: calc(50% + 45px);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 45px);
}

/* Animação de entrada dos itens */
.timeline-item .timeline-content {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 20px rgba(39, 159, 245, 0.4);
    border: 3px solid var(--bg-secondary);
    transition: transform var(--transition-base);
}

.timeline-item:hover .timeline-step {
    transform: translate(-50%, -50%) scale(1.1);
}

.timeline-item.is-visible .timeline-content {
    opacity: 1;
    transform: scale(1);
}

.timeline-content {
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(15, 20, 25, 0.3);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all var(--transition-base);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(39, 159, 245, 0.3);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Barra de progresso animada */
.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

.progress-bar {
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(39, 159, 245, 0.5);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}