/* Launch Steps Section Refonte */

.refonte-launch-steps {
    padding: 64px 64px;
    background-color: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    /* Ensure animations don't cause scrollbar jumps */
}

.launch-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.launch-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 500;
    color: var(--Dark-green, #003329);
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

.launch-title .highlight {
    color: #EC674E;
    /* Orange/Red color from design */
}

.launch-steps-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    width: 100%;
    align-items: flex-start;
}

.launch-step-card {
    flex: 1;
    border-radius: var(--Radius-radius-xl, 20px);
    background: var(--Gray, #EFF3F2);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Reset gap to handle specific margins */
    box-sizing: border-box;
    position: relative;

    /* Animation initial state */
    opacity: 0;
    transform: translateY(60px);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
}

.launch-step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered layout using margins */
.launch-step-card.step-1 {
    margin-top: 0;
}

.launch-step-card.step-2 {
    margin-top: 60px;
}

.launch-step-card.step-3 {
    margin-top: 120px;
}

.step-number {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 500;
    color: #EB5D47;
    line-height: 1;
    border-radius: 12px 0;
    background: var(--Gray, #EFF3F2);
    padding: 8px 12px;
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
}

.step-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 32px;
    z-index: 1;
}

.step-image img {
    width: 100%;
    height: 315px;
    display: block;
    object-fit: cover;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 400;
    color: #181D27;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.step-description {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.5;
    color: #475467;
    margin: 0;
}

.step-item-title {
    color: #181D27;
    font-weight: 500;
}

.step-items {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.5;
    color: #475467;
    padding-left: 20px;
    position: relative;
}

.step-item::before {
    content: "•";
    color: #EB5D47;
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
    top: 2px;
}

@media (max-width: 1024px) {
    .refonte-launch-steps {
        padding: 64px 24px;
    }

    .launch-steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .launch-step-card.step-1,
    .launch-step-card.step-2,
    .launch-step-card.step-3 {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .step-number {
        position: relative;
        top: 0;
        left: 0;
        display: inline-block;
        margin-bottom: 16px;
        background: transparent;
        padding: 0;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .refonte-launch-steps {
        padding: 48px 12px;
    }

    .launch-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .launch-step-card {
        padding: 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .step-number {
        font-size: 32px;
    }

    .step-image img {
        height: 180px;
        /* Reduce image height on mobile */
    }

    .step-title {
        font-size: 22px;
    }

    .step-description {
        font-size: 15px;
    }
}