.process-timeline {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
    position: relative;
    max-width: 100%;
    width: 80%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.align-left {
    justify-content: flex-start;
    text-align: left;
}

.timeline-item.align-right {
    justify-content: flex-end;
    text-align: right;
    margin-left: auto;
}

.timeline-icon {
    flex-shrink: 0;
    top: -24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
            rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
            rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.align-right .timeline-icon {
    top: -24px;
    left: -24px;
}

.timeline-icon svg {
    width: 20px;
    height: 20px;
}

.timeline-content {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    width: 100%;
    background-color: var(--color-background);
    box-shadow:
            rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
            rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(195, 27, 38, 0.15);
    box-shadow:
            rgba(195, 27, 38, 0) 0px 0px 0px 0px,
            rgba(195, 27, 38, 0) 0px 0px 0px 0px,
            rgba(195, 27, 38, 0) 0px 0px 0px 0px,
            rgba(195, 27, 38, 0) 0px 0px 0px 0px,
            rgba(195, 27, 38, 0.1) 0px 1px 3px 0px,
            rgba(195, 27, 38, 0.1) 0px 1px 2px -1px;
    transform: scale(1.02);
}

.timeline-item:hover .timeline-icon {
    border-color: rgba(195, 27, 38, 0.15);
    box-shadow:
            rgba(195, 27, 38, 0.15) 0px 10px 20px,
            rgba(195, 27, 38, 0.1) 0px 4px 6px;
    transform: scale(1.1);
}

.timeline-item.align-left:hover .timeline-icon {
    left: 12px;
}

.timeline-item.align-right:hover .timeline-icon {
    left: -12px;
}

.timeline-item:hover .timeline-content p {
    color: var(--color-foreground);
}

.timeline-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.timeline-header .h5 {
    margin: 0;
}

.timeline-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, oklab(0.524653 0.179994 0.0848948 / 0.2) 0%, rgba(0, 0, 0, 0) 100%);
}

.timeline-item.align-right {
    flex-direction: row-reverse;
}

.timeline-item.align-right .timeline-line {
    background: linear-gradient(to left, oklab(0.524653 0.179994 0.0848948 / 0.2) 0%, rgba(0, 0, 0, 0) 100%);
}

.timeframe-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    max-width: 448px;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.timeframe-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.timeframe-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.timeframe-card .h3 {
    margin: 0;
}

.section-hero .timeframe-card .h3 {
    color: var(--color-foreground);
}

