/**
 * Homepage — 公司简介右侧：工艺流程 HUD / 霓虹科技风示意（SVG + CSS）。
 */
.fusrock-about-media {
    position: relative;
    overflow: hidden;
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: clamp(16rem, 36vw, 22rem);
    background:
        radial-gradient(ellipse 115% 70% at 78% -5%, rgba(34, 211, 238, 0.16), transparent 42%),
        radial-gradient(ellipse 90% 55% at 8% 108%, rgba(139, 92, 246, 0.1), transparent 48%),
        linear-gradient(165deg, #020617 0%, #0e4f6e 46%, #020617 100%);
    box-shadow:
        inset 0 0 0 1px rgba(103, 232, 249, 0.22),
        inset 0 -20px 50px rgba(6, 182, 212, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    visibility: visible;
    opacity: 1;
}

.fdm-still {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

.fdm-still .index-about-hero-img,
.fdm-still .fusrock-index-about-img {
    width: 100%;
    height: 100%;
    min-height: 20rem;
    object-fit: cover;
    display: block;
}

.fusrock-fdm-flow {
    position: relative;
    z-index: 3;
    flex: 1 1 auto;
    width: 100%;
    min-height: 13rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: inherit;
    isolation: isolate;
    visibility: visible;
    opacity: 1;
}

.fdm-flow-bg {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    filter: blur(2px) saturate(1.2);
    transform: scale(1.06);
    pointer-events: none;
}

/* 数据栅格 HUD + 四角压暗（深色界面常用） */
.fdm-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 15px,
            rgba(103, 232, 249, 0.04) 15px,
            rgba(103, 232, 249, 0.04) 16px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 15px,
            rgba(99, 102, 241, 0.028) 15px,
            rgba(99, 102, 241, 0.028) 16px
        ),
        radial-gradient(ellipse 95% 80% at 50% 40%, transparent 42%, rgba(2, 6, 23, 0.62) 100%),
        linear-gradient(185deg, rgba(2, 6, 23, 0.35) 0%, transparent 22%, transparent 76%, rgba(2, 6, 23, 0.55) 100%);
    mask-image: radial-gradient(ellipse 92% 88% at 50% 48%, black 62%, transparent 100%);
}

.fdm-scan {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            transparent 46%,
            rgba(167, 139, 250, 0.05) 50%,
            transparent 54%
        ),
        linear-gradient(
            118deg,
            transparent 41%,
            rgba(103, 232, 249, 0.1) 50%,
            transparent 58%
        );
    background-size:
        100% 220%,
        240% 100%;
    animation: fdmScan 14s linear infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

.fdm-flow-chrome {
    position: relative;
    z-index: 6;
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    padding: clamp(8px, 2vw, 14px) clamp(10px, 2vw, 16px) 0;
}

.fdm-corner-tag {
    position: relative;
    overflow: hidden;
    padding: 0.26rem 0.62rem;
    border-radius: 999px;
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    color: rgba(236, 254, 255, 0.94);
    background: rgba(6, 78, 117, 0.35);
    border: 1px solid rgba(103, 232, 249, 0.5);
    box-shadow:
        0 0 18px rgba(34, 211, 238, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.fdm-corner-tag::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        106deg,
        transparent 38%,
        rgba(240, 249, 255, 0.28) 50%,
        transparent 62%
    );
    transform: translateX(-140%);
    animation: fdmTagSheen 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes fdmTagSheen {
    0%,
    65% {
        transform: translateX(-140%);
    }

    80% {
        transform: translateX(140%);
    }

    100% {
        transform: translateX(140%);
    }
}

.fdm-kicker {
    margin: 0;
    font-size: clamp(0.54rem, 0.98vw, 0.66rem);
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-variant-numeric: tabular-nums;
    color: rgba(165, 243, 252, 0.68);
}

.fdm-scene.fdm-process-scene {
    position: relative;
    z-index: 5;
    flex: 1 1 auto;
    min-height: 10rem;
    width: 100%;
    padding: 4px clamp(8px, 2vw, 14px) 2px;
    display: block;
}

.fdm-stage-badges {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
}

.fdm-badge {
    position: absolute;
    max-width: 48%;
    padding: 0.22rem 0.52rem 0.24rem;
    border-radius: 4px;
    font-size: clamp(0.5rem, 0.88vw, 0.64rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-variant-numeric: tabular-nums;
    color: rgba(224, 242, 254, 0.88);
    text-align: center;
    white-space: nowrap;
    opacity: 0.46;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.78), rgba(8, 47, 73, 0.45));
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow:
        0 0 16px rgba(6, 182, 212, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(2, 6, 23, 0.35);
}

.fdm-badge--mix {
    top: 5%;
    right: 10%;
    transform: scale(0.97);
    animation: fdmBadgeMixPulse 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.fdm-badge--extrude {
    top: 37%;
    left: 52%;
    transform: translate(-50%, 0) scale(0.97);
    animation: fdmBadgeCxPulse 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: -3s;
}

.fdm-badge--draw {
    bottom: 31%;
    left: 53%;
    transform: translate(-50%, 0) scale(0.97);
    animation: fdmBadgeCxPulse 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: -6s;
}

.fdm-badge--pack {
    bottom: 21%;
    left: 17%;
    transform: translate(-50%, 0) scale(0.97);
    animation: fdmBadgeCxPulse 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: -9s;
}

@keyframes fdmBadgeMixPulse {

    0%,
    100%,
    76% {
        opacity: 0.48;
        transform: scale(0.96);
        border-color: rgba(34, 211, 238, 0.3);
        box-shadow:
            0 0 12px rgba(6, 182, 212, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
        filter: saturate(0.85);
    }

    2.5%,
    14% {
        opacity: 1;
        transform: scale(1.06);
        color: rgba(236, 254, 255, 0.98);
        border-color: rgba(147, 197, 253, 0.85);
        background: linear-gradient(165deg, rgba(21, 51, 99, 0.88), rgba(8, 47, 73, 0.7));
        box-shadow:
            0 0 22px rgba(34, 211, 238, 0.45),
            0 0 40px rgba(139, 92, 246, 0.2),
            inset 0 0 12px rgba(103, 232, 249, 0.12);
        filter: saturate(1.15) brightness(1.06);
    }
}

@keyframes fdmBadgeCxPulse {

    0%,
    100%,
    76% {
        opacity: 0.5;
        transform: translate(-50%, 0) scale(0.96);
        border-color: rgba(34, 211, 238, 0.3);
        box-shadow:
            0 0 12px rgba(6, 182, 212, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
        filter: saturate(0.85);
    }

    2.5%,
    14% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1.06);
        color: rgba(236, 254, 255, 0.98);
        border-color: rgba(147, 197, 253, 0.85);
        background: linear-gradient(165deg, rgba(21, 51, 99, 0.88), rgba(8, 47, 73, 0.7));
        box-shadow:
            0 0 22px rgba(34, 211, 238, 0.45),
            0 0 40px rgba(139, 92, 246, 0.2),
            inset 0 0 12px rgba(103, 232, 249, 0.12);
        filter: saturate(1.15) brightness(1.06);
    }
}

.fdm-flow-svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 9.5rem;
    max-height: 14rem;
    overflow: visible;
}

.fdm-route-base {
    fill: none;
    stroke: rgba(56, 189, 248, 0.19);
    stroke-width: 4.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.12));
}

.fdm-route-flow {
    fill: none;
    stroke: url(#fdmWireNeon);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 0.08 0.14;
    stroke-dashoffset: 0;
    animation: fdmRouteDash 2.05s linear infinite;
    filter:
        drop-shadow(0 0 4px rgba(240, 249, 255, 0.65))
        drop-shadow(0 0 14px rgba(34, 211, 238, 0.75))
        drop-shadow(0 0 26px rgba(6, 182, 212, 0.35));
}

.fdm-route-glow {
    fill: none;
    stroke: rgba(147, 197, 253, 0.35);
    stroke-width: 7.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.55;
    stroke-dasharray: 0.1 0.2;
    stroke-dashoffset: 0;
    animation: fdmRouteGlow 2.05s linear infinite;
}

@keyframes fdmRouteDash {
    to {
        stroke-dashoffset: -0.22;
    }
}

@keyframes fdmRouteGlow {
    to {
        stroke-dashoffset: -0.18;
    }
}

.fdm-svg-pellet {
    fill: #67e8f9;
    filter: drop-shadow(0 0 4px rgba(103, 232, 249, 0.85));
}

.fdm-pellet-drop {
    animation: fdmPelletDrop 2.05s cubic-bezier(0.33, 0, 0.67, 1) infinite;
}

.fdm-pellet-drop.p2 {
    animation-delay: 0.36s;
}

.fdm-pellet-drop.p3 {
    animation-delay: 0.72s;
}

@keyframes fdmPelletDrop {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    55% {
        opacity: 0.62;
    }

    100% {
        transform: translate(0.6px, 30px);
        opacity: 0;
    }
}

.fdm-svg-barrel-glow {
    animation: fdmBarrelHum 2.4s ease-in-out infinite;
}

@keyframes fdmBarrelHum {

    0%,
    100% {
        fill: #475569;
        filter: drop-shadow(0 0 2px rgba(103, 232, 249, 0.25));
    }

    50% {
        fill: #5d6d82;
        filter:
            drop-shadow(0 0 12px rgba(34, 211, 238, 0.55))
            drop-shadow(0 0 5px rgba(165, 243, 252, 0.45));
    }
}

.fdm-svg-rollers .r-top {
    transform-origin: center;
    transform-box: fill-box;
    animation: fdmRollerSqueeze 0.48s ease-in-out infinite alternate;
}

.fdm-svg-rollers .r-bot {
    transform-origin: center;
    transform-box: fill-box;
    animation: fdmRollerSqueeze 0.48s ease-in-out infinite alternate-reverse;
}

@keyframes fdmRollerSqueeze {
    from {
        transform: scaleY(0.86);
        filter: drop-shadow(0 0 2px rgba(34, 211, 238, 0.35));
    }

    to {
        transform: scaleY(1.14);
        filter: drop-shadow(0 0 6px rgba(103, 232, 249, 0.55));
    }
}

.fdm-svg-spool-disk {
    transform-origin: center;
    transform-box: fill-box;
    animation: fdmSvgSpool 9s linear infinite;
}

@keyframes fdmSvgSpool {
    to {
        transform: rotate(-360deg);
    }
}

.fdm-svg-convey .sp1 {
    animation: fdmConvBelt 2.8s linear infinite;
}

.fdm-svg-convey .sp2 {
    animation: fdmConvBelt 2.8s linear infinite;
    animation-delay: -0.92s;
}

.fdm-svg-convey .sp3 {
    animation: fdmConvBelt 2.8s linear infinite;
    animation-delay: -1.85s;
}

@keyframes fdmConvBelt {
    0% {
        opacity: 0.35;
        fill: #64748b;
        transform: translate(0, 0);
    }

    40% {
        opacity: 1;
        fill: #a5f3fc;
        filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.6));
    }

    100% {
        opacity: 0.3;
        fill: #64748b;
        transform: translate(-16px, 0);
    }
}

.fdm-svg-loop {
    animation: fdmLoopPulse 3.8s ease-in-out infinite;
    transform-origin: 102px 34px;
    transform-box: fill-box;
    stroke: rgba(167, 139, 250, 0.55) !important;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.25));
}

@keyframes fdmLoopPulse {

    0%,
    100% {
        opacity: 0.25;
        stroke-dashoffset: 0;
    }

    50% {
        opacity: 0.78;
        stroke-dashoffset: 4;
    }
}

.fdm-steps {
    position: relative;
    z-index: 6;
    flex: 0 0 auto;
    margin: 0;
    padding: clamp(9px, 2vw, 11px) clamp(10px, 2vw, 14px);
    padding-inline-start: clamp(10px, 2vw, 14px);
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.32rem;
    font-size: clamp(0.55rem, 1.02vw, 0.7rem);
    line-height: 1.38;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.78), rgba(15, 23, 42, 0.72));
    border-top: 1px solid rgba(103, 232, 249, 0.18);
    box-shadow:
        0 -8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .fdm-steps {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

.fdm-steps li {
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    text-align: center;
    padding: 0.12rem 0;
    border-radius: 10px;
    color: rgba(224, 242, 254, 0.86);
    animation: fdmStepPulse 12s ease-in-out infinite;
}

.fdm-steps li:nth-child(1) {
    animation-delay: 0s;
}

.fdm-steps li:nth-child(2) {
    animation-delay: -3s;
}

.fdm-steps li:nth-child(3) {
    animation-delay: -6s;
}

.fdm-steps li:nth-child(4) {
    animation-delay: -9s;
}

@keyframes fdmStepPulse {

    0%,
    78%,
    100% {
        opacity: 0.72;
        background: transparent;
        box-shadow: none;
    }

    2.5%,
    13% {
        opacity: 1;
        background: rgba(103, 232, 249, 0.06);
        box-shadow:
            inset 0 0 0 1px rgba(147, 197, 253, 0.2),
            0 0 16px rgba(34, 211, 238, 0.12);
    }
}

.fdm-steps li span {
    display: inline-flex;
    width: 1.36rem;
    height: 1.36rem;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.64rem;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    color: rgba(236, 254, 255, 0.95);
    border: 1px solid rgba(103, 232, 249, 0.45);
    background:
        radial-gradient(circle at 30% 18%, rgba(103, 232, 249, 0.35), transparent 55%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 47, 73, 0.75));
    box-shadow:
        0 0 12px rgba(34, 211, 238, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    margin-bottom: 2px;
}

.fdm-steps li em {
    font-style: normal;
    font-weight: 720;
    letter-spacing: 0.06em;
    color: rgba(224, 242, 254, 0.9);
}

@keyframes fdmScan {
    0% {
        background-position:
            0 0,
            -40% 0;
    }

    100% {
        background-position:
            0 18%,
            140% 0;
    }
}

/* 公司简介栅格右侧：flex 传高 */
.index-about .index-about-right {
    display: flex;
    flex-direction: column;
}

.index-about .index-about-right > .pic.index-about-pic.fusrock-about-media {
    flex: 1 1 auto;
    width: 100%;
}

.index-about .index-about-right > .img {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: clamp(16rem, 46vw, 24rem);
    border-radius: inherit;
}

.index-about .index-about-right > .img .pic.fusrock-about-media {
    flex: 1 1 auto;
    width: 100%;
}

@media (max-width: 760px) {
    .fdm-flow-bg {
        opacity: 0.052;
        filter: blur(1px);
    }

    .fdm-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.45rem;
        column-gap: 0.35rem;
    }

    .fdm-kicker {
        width: 100%;
        opacity: 0.92;
        letter-spacing: 0.1em;
    }

    .fdm-badge {
        font-size: 0.48rem;
        max-width: 58%;
        letter-spacing: 0.06em;
    }

    .fdm-badge--extrude {
        top: 34%;
    }

    .fdm-badge--draw {
        bottom: 28%;
    }

    .fdm-badge--pack {
        left: 22%;
    }

    .fdm-flow-svg {
        min-height: 8.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .fusrock-fdm-flow,
    .fusrock-fdm-flow * {
        animation: none !important;
        transition: none !important;
    }

    .fdm-corner-tag::after {
        animation: none !important;
        transform: none !important;
    }

    .fdm-route-flow,
    .fdm-route-glow {
        stroke-dasharray: 0;
        stroke-dashoffset: 0;
    }

    .fdm-route-flow {
        stroke: rgba(236, 254, 255, 0.88);
        filter: none;
    }

    .fdm-badge,
    .fdm-steps li {
        opacity: 1;
        filter: none;
    }

    .fdm-steps li span {
        box-shadow: none;
    }

    .fdm-badge--mix {
        transform: scale(1);
    }

    .fdm-badge--extrude,
    .fdm-badge--draw,
    .fdm-badge--pack {
        transform: translate(-50%, 0) scale(1);
    }

    .fdm-scan {
        mix-blend-mode: normal;
    }
}
