.process-section {
    text-align: center;
    padding: 4rem 2rem;
    background: #fafbfc;
    --process-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-section.process-ready .process-header > * {
    opacity: 0;
    transform: translateY(25px);
    filter: blur(6px);
}

.process-section.process-animate .process-header > * {
    animation: processHeaderReveal 0.75s var(--process-ease) forwards;
}

.process-section.process-animate .process-header > *:nth-child(2) {
    animation-delay: 0.12s;
}

@keyframes processHeaderReveal {
    0% {
        opacity: 0;
        transform: translateY(25px);
        filter: blur(6px);
    }
    60% {
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.process-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #1a2340;
}

.process-header p {
    font-size: 1.15rem;
    color: #555;
}

/* Timeline Container */
.process-timeline {
    position: relative;
    padding-left: 100px;
    text-align: left;
}

/* Timeline Line (static background) */
.timeline-line {
    position: absolute;
    left: 40px;
    width: 3px;
    background: #e2e8f0;
    border-radius: 2px;
    /* Top and height will be set dynamically by JavaScript */
}

/* Timeline Progress (animated) */
.timeline-progress {
    position: absolute;
    left: 40px;
    width: 3px;
    height: 0%;
    background: linear-gradient(180deg, #5b8cc9 0%, #f5a623 100%);
    border-radius: 2px;
    transition: height 0.3s ease-out;
    box-shadow: 0 0 15px rgba(91, 140, 201, 0.5);
    /* Top and max-height will be set dynamically by JavaScript */
}

/* Process Steps */
.process-step {
    position: relative;
    margin-bottom: 5rem;
}

.process-section.process-ready .process-step {
    opacity: 0;
    transform: translateX(-30px);
}

.process-section.process-animate .process-step {
    animation: processStepSlide 0.8s var(--process-ease) forwards;
    animation-delay: var(--process-delay, 0ms);
}

@keyframes processStepSlide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Step Circle */
.step-circle {
    position: absolute;
    left: -60px;
    top: 0;
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.process-step.active .step-circle {
    background: linear-gradient(135deg, #5b8cc9 0%, #f5a623 100%);
    border-color: #f5a623;
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
    transform: scale(1.1);
}

/* Step Icon */
.step-icon {
    font-size: 2rem;
    color: #cbd5e1;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step.active .step-icon {
    color: white;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Step Number */
.step-number {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
    font-family: "Krona One", sans-serif;
    transition: color 0.5s ease;
}

.process-step.active .step-number {
    color: #f5a623;
}

/* Step Content */
.step-content {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0.35rem;
    background: linear-gradient(90deg, #5b8cc9 0%, #f5a623 100%);
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 0 0 1rem 0;
}

.process-step.active .step-content::before {
    width: 6rem;
}

.process-step.active .step-content {
    box-shadow: 0 12px 35px rgba(91, 140, 201, 0.15);
    transform: translateY(-5px);
}

.step-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2340;
    margin-bottom: 1rem;
    margin-top: 0;
}

.step-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a6b7d;
    margin-bottom: 1.5rem;
}

/* Deliverables */
.step-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.deliverable-pill {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    color: #5b8cc9;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.deliverable-pill:hover {
    background: linear-gradient(135deg, #5b8cc9 0%, #4a7bb5 100%);
    color: white;
    border-color: #5b8cc9;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(91, 140, 201, 0.3);
}

.process-step.active .deliverable-pill {
    background: linear-gradient(135deg, #fff9e6 0%, #fff4cc 100%);
    color: #f5a623;
    border-color: #f5a623;
}

.process-step.active .deliverable-pill:hover {
    background: linear-gradient(135deg, #f5a623 0%, #e89614 100%);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .process-section {
        padding: 2.5rem 1rem;
    }

    .process-header {
        margin-bottom: 3rem;
    }

    .process-header h2 {
        font-size: 1.5rem;
    }

    .process-header p {
        font-size: 1rem;
    }

    .process-timeline {
        padding-left: 70px;
    }

    .timeline-line {
        left: 30px;
        width: 2px;
        /* Top and height will be set dynamically by JavaScript */
    }

    .timeline-progress {
        left: 30px;
        width: 2px;
        /* Top and max-height will be set dynamically by JavaScript */
    }

    .step-circle {
        left: -50px;
        width: 60px;
        height: 60px;
    }

    .step-icon {
        font-size: 1.5rem;
    }

    .step-number {
        font-size: 0.75rem;
        bottom: -25px;
    }

    .step-content {
        padding: 1.5rem 1.25rem;
    }

    .step-content h3 {
        font-size: 1.35rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .deliverable-pill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .process-step {
        margin-bottom: 3.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-section.process-ready .process-header > *,
    .process-section.process-ready .process-step,
    .process-section.process-animate .process-header > *,
    .process-section.process-animate .process-step {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

