.process-demo {
    position: relative;
    width: 100%;
    height: clamp(345px, 37.8vw, 560px);
    overflow: hidden;
    isolation: isolate;
    background-image: url("../../images/about/about-process-bg.png");
    background-position: center 56%;
    background-size: cover;
    color: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    opacity: 0;
    transition: opacity 800ms ease;
    --process-red: #f0444f;
    --process-navy: #0d2338;
    --process-progress: 0%;
}

.process-demo button,
.process-demo h1,
.process-demo h2,
.process-demo p {
    margin: 0;
    font: inherit;
}

.process-demo button {
    border: 0;
}

.process-demo.is-loaded {
    opacity: 1;
}

.process-demo__shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 38, 65, .64) 0%, rgba(4, 26, 48, .78) 100%),
        rgba(5, 31, 55, .28);
}

.process-demo__inner {
    width: min(89.6%, 1200px);
    height: 100%;
    margin: 0 auto;
    padding-top: clamp(75px, 8.3vw, 120px);
}

.process-demo__header h2 {
    color: #fff;
    font-size: clamp(24px, 2.63vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.04em;
    text-shadow: 0 2px 12px rgba(0, 18, 35, .28);
}

.process-demo__header p {
    margin-top: clamp(8px, .95vw, 13px);
    color: rgba(255, 255, 255, .9);
    font-size: clamp(12px, 1.21vw, 15px);
    line-height: 1.55;
}

.process-demo__track {
    position: relative;
    margin-top: clamp(16px, 2.1vw, 30px);
    background: rgba(5, 30, 53, .48);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.process-demo__steps {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.process-demo__line {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: var(--process-progress);
    height: 3px;
    background: var(--process-red);
    box-shadow: 0 0 12px rgba(240, 68, 79, .7);
    pointer-events: none;
    transition: width 500ms ease;
}

.process-demo__step {
    position: relative;
    display: flex;
    min-width: 0;
    height: clamp(70px, 7.77vw, 108px);
    padding: clamp(13px, 1.55vw, 22px) clamp(13px, 1.55vw, 21px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, .15);
    outline: 0;
    background: rgba(8, 35, 59, .36);
    color: rgba(255, 255, 255, .72);
    text-align: left;
    cursor: pointer;
    opacity: 0;
    transform: translateY(18px);
    transition:
        color 350ms ease,
        background-color 350ms ease,
        box-shadow 350ms ease,
        transform 350ms ease,
        opacity 500ms ease;
    transition-delay: var(--entry-delay, 0ms);
}

.process-demo__step:last-child {
    border-right: 0;
}

.process-demo.is-loaded .process-demo__step {
    opacity: 1;
    transform: translateY(0);
}

.process-demo__step-number {
    display: block;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(18px, 1.97vw, 25px);
    font-weight: 700;
    line-height: 1;
    transition: color 350ms ease;
}

.process-demo__step-title {
    display: block;
    max-width: 100%;
    margin-top: clamp(7px, .78vw, 11px);
    overflow: hidden;
    font-size: clamp(11px, 1.2vw, 15px);
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.process-demo__step.is-active {
    z-index: 4;
    background: #fff;
    box-shadow: 0 12px 30px rgba(2, 19, 36, .24);
    color: var(--process-navy);
    transform: translateY(0);
    transition-delay: 0ms;
}

.process-demo__step.is-active .process-demo__step-number {
    color: var(--process-red);
}

.process-demo__step:focus-visible {
    z-index: 5;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .72);
}

.process-demo__detail {
    position: relative;
    max-width: min(720px, 76%);
    margin-top: clamp(23px, 2.63vw, 37px);
    padding-left: clamp(14px, 1.55vw, 21px);
}

.process-demo__detail::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--process-red);
    content: "";
}

.process-demo__detail h2 {
    color: #fff;
    font-size: clamp(17px, 1.86vw, 24px);
    font-weight: 600;
    line-height: 1.25;
}

.process-demo__detail p {
    margin-top: clamp(7px, .85vw, 11px);
    color: rgba(255, 255, 255, .76);
    font-size: clamp(11px, 1.2vw, 15px);
    line-height: 1.7;
}

.process-demo__detail.is-changing {
    animation: process-detail-in 500ms ease both;
}

@keyframes process-detail-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (hover: hover) and (pointer: fine) {
    .process-demo__step:hover {
        z-index: 3;
        box-shadow: 0 12px 28px rgba(2, 19, 36, .22);
        transform: scale(1.05);
        transition-delay: 0ms;
    }

    .process-demo__step:not(.is-active):hover {
        background: rgba(15, 49, 77, .74);
        color: #fff;
    }
}

@media (max-width: 767px) {
    .process-demo {
        height: auto;
        min-height: 100vh;
        background-position: 58% center;
    }

    .process-demo__shade {
        background: rgba(5, 29, 52, .84);
    }

    .process-demo__inner {
        width: calc(100% - 32px);
        height: auto;
        padding: 54px 0 48px;
    }

    .process-demo__header h2 {
        font-size: 28px;
        letter-spacing: 0;
    }

    .process-demo__header p {
        max-width: 340px;
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.7;
    }

    .process-demo__track {
        margin-top: 28px;
        background: transparent;
        box-shadow: none;
    }

    .process-demo__steps {
        display: grid;
        gap: 9px;
        grid-template-columns: 1fr;
    }

    .process-demo__line {
        top: 0;
        bottom: auto;
        left: 0;
        width: 3px;
        height: var(--process-progress);
        transition: height 500ms ease;
    }

    .process-demo__step {
        height: 72px;
        padding: 13px 18px 13px 21px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        border: 1px solid rgba(255, 255, 255, .13);
        background: rgba(8, 35, 59, .58);
    }

    .process-demo__step-number {
        width: 46px;
        flex: 0 0 46px;
        font-size: 20px;
    }

    .process-demo__step-title {
        margin: 0;
        font-size: 15px;
        white-space: normal;
    }

    .process-demo__step.is-active {
        transform: none;
    }

    .process-demo__detail {
        max-width: none;
        margin-top: 27px;
        padding-left: 17px;
    }

    .process-demo__detail h2 {
        font-size: 19px;
    }

    .process-demo__detail p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.75;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-demo,
    .process-demo__line,
    .process-demo__step {
        transition-duration: 1ms;
        transition-delay: 0ms;
    }

    .process-demo__detail.is-changing {
        animation-duration: 1ms;
    }
}
