/* ============================================================
   Technology 页面
   ============================================================ */
.technology-main {
    background: #fff;
}

/* ---------- 第一屏 banner ---------- */
.first {
    position: relative;
    width: 19.2rem;
    max-width: 100%;
    height: 6rem;
    margin: 0 auto;
    background: url("../assets/images/Technology/first-bg.png") no-repeat center center / cover;
    display: flex;
    align-items: flex-end;
}

.first__content {
    padding: 0 0 0.8rem 3.1rem;
    color: #fff;
}

.first__title {
    font-size: 0.48rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.16rem;
}

.first__desc {
    width: 4.7rem;
    font-size: 0.14rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* ---------- 第二屏 R&D & Core Technologies ---------- */
.second {
    position: relative;
    width: 19.2rem;
    max-width: 100%;
    height: 6rem;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.second__inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 1rem 3.1rem 0;
    /* 整体飞入动画：整块内容从下方一次飞入到位 */
    transform: translateY(1.5rem);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.second__text {
    display: flex;
    flex-direction: column;
    margin-right: 1.25rem;
    max-width: 5.2rem;
}

.second__eyebrow {
    color: #999;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 0.8rem;
}

.second__title {
    color: #333;
    font-family: Gabarito;
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0.1rem;
}

.second__quote {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.16rem;
}

.second__quote-icon {
    width: 0.44rem;
    height: 0.44rem;
    display: block;
}

.second__desc {
    color: #666;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.second__media {
    width: 6.5rem;
    height: 3.9rem;
}

.second__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 入场动画触发态 */
.second.is-visible .second__inner {
    transform: translateY(0);
}

/* 图片悬浮动效 */
.second.is-visible .second__img {
    animation: second-float 4s ease-in-out infinite;
}

@keyframes second-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.1rem);
    }
}

/* 无 JS 时内容归位 */
html:not(.js) .second__inner {
    transform: none;
}

/* ---------- 第三屏 Research Foundation ---------- */
.third {
    position: relative;
    width: 19.2rem;
    max-width: 100%;
    height: 5.25rem;
    margin: 0 auto;
    padding-top: 1rem;
    background: url("../assets/images/Technology/third-img1.png") no-repeat center center / cover;
    overflow: hidden;
}

.third__inner {
    width: 100%;
    text-align: center;
    padding: 0 2rem;
}

.third__title {
    color: #333;
    font-family: Gabarito;
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 0.2rem;
    transform: translateY(0.28rem);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.third__desc {
    color: #666;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 0.45rem;
    transform: translateY(0.24rem);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.third__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform: translateY(0.32rem);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.third__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.third__icon {
    position: relative;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease, transform 0.35s ease;
}

.third__icon img {
    width: 0.6rem;
    height: 0.6rem;
    display: block;
    transition: transform 0.35s ease;
}

.third__label {
    display: block;
    margin-top: 0.18rem;
    color: #333;
    font-family: Gabarito;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: color 0.35s ease;
}

.third__arrow {
    flex: 0 0 auto;
    width: 0.29rem;
    height: 0.19rem;
    margin: 0 0.28rem;
    margin-bottom: 0.32rem;
    opacity: 0.55;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.third__arrow img {
    width: 100%;
    height: 100%;
    display: block;
}

/* 选中态：蓝色渐变 */
.third__step.is-active .third__icon {
    background: radial-gradient(circle at 30% 30%, #3db1ff 0%, #0078ff 50%, #005fcc 100%);
    transform: scale(1.08);
    box-shadow: 0 0 0.18rem 0.06rem rgba(0, 120, 255, 0.35);
}

.third__step.is-active .third__icon img {
    transform: scale(1.05);
}

.third__step.is-active .third__label {
    color: transparent;
    background-image: linear-gradient(90deg, #3db1ff 0%, #0078ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

.third__step.is-active+.third__arrow,
.third__arrow:has(+ .third__step.is-active) {
    opacity: 1;
}

/* 悬浮动效 */
.third__step:hover .third__icon {
    transform: scale(1.1);
}

.third__step.is-active:hover .third__icon {
    transform: scale(1.12);
}

.third__step:hover .third__label {
    color: transparent;
    background-image: linear-gradient(90deg, #3db1ff 0%, #0078ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 图标脉冲动画 */
@keyframes third-icon-pulse {

    0%,
    100% {
        box-shadow: 0 0 0.18rem 0.06rem rgba(0, 120, 255, 0.35);
    }

    50% {
        box-shadow: 0 0 0.28rem 0.1rem rgba(0, 120, 255, 0.22);
    }
}

.third__step.is-active .third__icon {
    animation: third-icon-pulse 2s ease-in-out infinite;
}

/* 入场动画触发态 */
.third.is-visible .third__title,
.third.is-visible .third__desc {
    transform: translateY(0);
}

.third.is-visible .third__steps {
    transform: translateY(0);
}

/* 步骤依次入场 */
.third.is-visible .third__step,
.third.is-visible .third__arrow {
    opacity: 0;
    animation: third-step-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.third.is-visible .third__step:nth-child(1) {
    animation-delay: 0.35s;
}

.third.is-visible .third__arrow:nth-child(2) {
    animation-delay: 0.45s;
}

.third.is-visible .third__step:nth-child(3) {
    animation-delay: 0.55s;
}

.third.is-visible .third__arrow:nth-child(4) {
    animation-delay: 0.65s;
}

.third.is-visible .third__step:nth-child(5) {
    animation-delay: 0.75s;
}

.third.is-visible .third__arrow:nth-child(6) {
    animation-delay: 0.85s;
}

.third.is-visible .third__step:nth-child(7) {
    animation-delay: 0.95s;
}

.third.is-visible .third__arrow:nth-child(8) {
    animation-delay: 1.05s;
}

.third.is-visible .third__step:nth-child(9) {
    animation-delay: 1.15s;
}

@keyframes third-step-in {
    0% {
        opacity: 0;
        transform: translateY(0.2rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 无 JS 时内容归位 */
html:not(.js) .third__title,
html:not(.js) .third__desc,
html:not(.js) .third__steps,
html:not(.js) .third__step,
html:not(.js) .third__arrow {
    transform: none;
    opacity: 1;
    animation: none;
}

/* ---------- 第四屏 Four In-House Laboratories ---------- */
.fourth {
    position: relative;
    width: 19.2rem;
    max-width: 100%;
    height: 12.32rem;
    margin: 0 auto;
    padding: 1rem 3.1rem 0;
    background: #fff;
    overflow: hidden;
}

.fourth__inner {
    width: 100%;
    height: 100%;
    text-align: center;
}

.fourth__title {
    color: #333;
    font-family: Gabarito;
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 0.6rem;
    opacity: 0;
    transform: translateY(0.28rem);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.fourth__grid {
    display: grid;
    grid-template-columns: repeat(2, 6.2rem);
    gap: 0.6rem;
    justify-content: center;
}

.fourth__card {
    text-align: center;
    opacity: 0;
    transform: translateY(0.4rem);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.fourth__media {
    position: relative;
    width: 6.2rem;
    height: 3.4rem;
    border-radius: 0.08rem;
    overflow: hidden;
    box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.fourth__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.fourth__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fourth__card-title {
    color: #333;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin: 0.2rem 0 0.1rem;
    background: linear-gradient(90deg, #1a1a1a 0%, #1a1a1a 50%, #005fcc 50%, #0078ff 75%, #3db1ff 100%);
    background-size: 200% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.4s ease;
}

.fourth__card-desc {
    color: #666;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/* 悬浮动效 */
.fourth__card:hover .fourth__media {
    transform: translateY(-0.08rem);
    box-shadow: 0 0.12rem 0.3rem rgba(0, 0, 0, 0.15);
}

.fourth__card:hover .fourth__media::after {
    opacity: 1;
}

.fourth__card:hover .fourth__img {
    transform: scale(1.06);
}

.fourth__card:hover .fourth__card-title {
    background-position: 100% 0;
}

/* 入场动画 */
.fourth.is-visible .fourth__title {
    opacity: 1;
    transform: translateY(0);
}

.fourth.is-visible .fourth__card {
    opacity: 1;
    transform: translateY(0);
}

.fourth.is-visible .fourth__card:nth-child(1) {
    transition-delay: 0.1s;
}

.fourth.is-visible .fourth__card:nth-child(2) {
    transition-delay: 0.2s;
}

.fourth.is-visible .fourth__card:nth-child(3) {
    transition-delay: 0.3s;
}

.fourth.is-visible .fourth__card:nth-child(4) {
    transition-delay: 0.4s;
}

/* 无 JS 时内容归位 */
html:not(.js) .fourth__title,
html:not(.js) .fourth__card {
    opacity: 1;
    transform: none;
}

/* ---------- 第五屏 Core Technologies ---------- */
.fifth {
    position: relative;
    width: 19.2rem;
    max-width: 100%;
    height: 9.26rem;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.fifth__inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 背景图：居中显示 */
.fifth__bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 4.08rem;
    height: 5.99rem;
    background: url("../assets/images/Technology/fifth-img1.webp") no-repeat center center / contain;
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fifth__center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 4.08rem;
    opacity: 0;
    transform: translateY(0.4rem);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fifth__title {
    color: #333;
    font-family: Gabarito;
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0.1rem;
}

.fifth__subtitle {
    color: #666;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 0.15rem;
}

.fifth__icon {
    width: 0.42851rem;
    height: 0.42599rem;
    display: block;
    margin-bottom: 0.15rem;
}

.fifth__item {
    position: absolute;
    width: 4.5rem;
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fifth__num {
    display: block;
    color: #999;
    font-family: Gabarito;
    font-size: 0.14rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0.08rem;
}

.fifth__name {
    color: #333;
    font-family: Gabarito;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 0.08rem;
}

.fifth__desc {
    color: #666;
    font-family: Gabarito;
    font-size: 0.14rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/* 左右项定位：距中间图片 82px */
.fifth__item--01 {
    right: calc(50% + 2.04rem + 0.82rem);
    top: 1.25rem;
    text-align: right;
    transform: translateX(-0.3rem);
}

.fifth__item--02 {
    left: calc(50% + 2.04rem + 0.82rem);
    top: 1.25rem;
    text-align: left;
    transform: translateX(0.3rem);
}

.fifth__item--03 {
    right: calc(50% + 2.04rem + 0.82rem);
    top: 4.43rem;
    text-align: right;
    transform: translateX(-0.3rem);
}

.fifth__item--04 {
    left: calc(50% + 2.04rem + 0.82rem);
    top: 4.43rem;
    text-align: left;
    transform: translateX(0.3rem);
}

.fifth__item--05 {
    left: 50%;
    bottom: 0.4rem;
    transform: translate(-50%, 0.3rem);
    text-align: center;
    width: 6rem;
}

/* 入场动画触发态 */
.fifth.is-visible .fifth__bg {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.fifth.is-visible .fifth__center {
    opacity: 1;
    transform: translateY(0);
}

.fifth.is-visible .fifth__item--01,
.fifth.is-visible .fifth__item--02,
.fifth.is-visible .fifth__item--03,
.fifth.is-visible .fifth__item--04 {
    opacity: 1;
    transform: translateX(0);
}

.fifth.is-visible .fifth__item--05 {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* 入场延迟 */
.fifth.is-visible .fifth__center {
    transition-delay: 0.1s;
}

.fifth.is-visible .fifth__item--01 {
    transition-delay: 0.2s;
}

.fifth.is-visible .fifth__item--02 {
    transition-delay: 0.3s;
}

.fifth.is-visible .fifth__item--03 {
    transition-delay: 0.4s;
}

.fifth.is-visible .fifth__item--04 {
    transition-delay: 0.5s;
}

.fifth.is-visible .fifth__item--05 {
    transition-delay: 0.6s;
}

/* 无 JS 时内容归位 */
html:not(.js) .fifth__bg {
    opacity: 1;
    transform: translate(-50%, -50%);
}

html:not(.js) .fifth__center {
    opacity: 1;
    transform: none;
}

html:not(.js) .fifth__item--01,
html:not(.js) .fifth__item--02,
html:not(.js) .fifth__item--03,
html:not(.js) .fifth__item--04 {
    opacity: 1;
    transform: translateX(0);
}

html:not(.js) .fifth__item--05 {
    opacity: 1;
    transform: translateX(-50%);
}

/* ---------- 第六屏 System-Level Engineering & Contact ---------- */
.sixth {
    position: relative;
    /* width: 8.7rem; */
    max-width: 100%;
    height: 6.31rem;
    margin: 0 auto;
    padding: 0 0.6rem;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sixth__inner {
    display: flex;
    gap: 0.2rem;
    width: 100%;
    align-items: stretch;
}

.sixth__card {
    position: relative;
    flex: 1;
    width: 8.7rem;
    height: 4.61rem;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    /* 入场动画初始状态：下移 + 淡入 */
    opacity: 0;
    transform: translateY(0.4rem);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sixth.is-visible .sixth__card {
    opacity: 1;
    transform: translateY(0);
}

/* 第二张卡片略微延迟，呈现节奏感 */
.sixth.is-visible .sixth__card--contact {
    transition-delay: 0.18s;
}

/* 卡片暗色底图（不依赖外部资源，纯 CSS 渐变模拟暗色摄影质感） */
.sixth__card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: black;
}

/* .sixth__card--engineering .sixth__card-bg {
    background:
        radial-gradient(ellipse at 75% 65%, rgba(40, 70, 110, 0.55) 0%, rgba(0, 0, 0, 0) 60%),
        radial-gradient(ellipse at 15% 20%, rgba(70, 90, 120, 0.35) 0%, rgba(0, 0, 0, 0) 55%),
        linear-gradient(135deg, #0a1018 0%, #131a24 45%, #0c1119 100%);
}

.sixth__card--contact .sixth__card-bg {
    background:
        radial-gradient(ellipse at 30% 70%, rgba(50, 80, 130, 0.5) 0%, rgba(0, 0, 0, 0) 55%),
        radial-gradient(ellipse at 85% 25%, rgba(90, 110, 140, 0.3) 0%, rgba(0, 0, 0, 0) 60%),
        linear-gradient(135deg, #0b121c 0%, #141d29 50%, #0a0f17 100%);
} */

/* 深色蒙层，提升文字可读性 */
.sixth__card-mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(0, 0, 0, 0.65) 100%);
    transition: background 0.5s ease;
}

.sixth__card:hover .sixth__card-mask {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0.55) 100%);
}

/* 卡片内容容器 */
.sixth__card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.66rem 0 0 0.95rem;
    box-sizing: border-box;
}

.sixth__card-title {
    color: #FFF;
    font-family: Gabarito;
    font-size: 0.36rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0.1rem;
}

.sixth__card-subtitle {
    color: #999;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 0.15rem;
}

.sixth__card-desc {
    color: #CCC;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 0.7rem;
}

.sixth__card--contact .sixth__card-desc {
    margin-top: 0.04rem;
}

/* 按钮通用样式：默认白色描边 + 白字 + 透明背景 */
.sixth__btn {
    position: absolute;
    left: 0.95rem;
    bottom: 0.88rem;
    width: max-content;
    padding: 0.14rem 0.24rem;
    border-radius: 999px;
    color: #FFF;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* 悬浮时：蓝色渐变背景 */
.sixth__btn:hover {
    background: linear-gradient(135deg, #2f9bff 0%, #1f8eff 50%, #0f7eef 100%);
    color: #FFF;
    border-color: transparent;
    transform: translateY(-0.02rem);
    box-shadow: 0 0.08rem 0.2rem rgba(31, 142, 255, 0.5);
}

.sixth__btn:active {
    transform: translateY(0);
    box-shadow: 0 0.02rem 0.08rem rgba(31, 142, 255, 0.35);
}

/* 无 JS 时内容归位 */
html:not(.js) .sixth__card {
    opacity: 1;
    transform: none;
}

/* ============================================================
   H5 移动端适配（data-mode="h5"，750 设计稿基准）
   与 products / news / cases 等页面保持同一套适配规范
   ============================================================ */
/* ---------- 汉堡菜单按钮（与其他页面一致） ---------- */
/* 桌面端默认隐藏，仅移动端显示 */
.menu-btn {
    display: none;
}

html[data-mode="h5"] .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.09rem;
    width: 0.44rem;
    height: 0.44rem;
    margin-left: auto;
    padding: 0;
    border: none;
    border-radius: 0.1rem;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

html[data-mode="h5"] .menu-btn span {
    display: block;
    width: 0.22rem;
    height: 0.03rem;
    border-radius: 0.03rem;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

html[data-mode="h5"] .header.is-scrolled .menu-btn {
    background: rgba(51, 51, 51, 0.08);
}

html[data-mode="h5"] .header.is-scrolled .menu-btn span {
    background: #333;
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(1) {
    transform: translateY(0.12rem) rotate(45deg);
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(3) {
    transform: translateY(-0.12rem) rotate(-45deg);
}

/* 移动端：隐藏桌面导航，保留搜索与 Get a Quote 等右侧按钮 */
html[data-mode="h5"] .header__inner-nav {
    display: none;
}

/* 移动端：导航栏紧凑布局（避免右侧按钮换行，菜单按钮靠最右） */
html[data-mode="h5"] .header__inner {
    justify-content: space-between;
}

html[data-mode="h5"] .logo {
    order: 1;
    margin-left: 0;
    flex-shrink: 0;
}

html[data-mode="h5"] .logo img {
    width: 1.1rem;
    height: auto;
}

html[data-mode="h5"] .header__inner-right {
    order: 2;
    margin-right: 0;
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.08rem;
}

html[data-mode="h5"] .menu-btn {
    order: 3;
    width: 0.4rem;
    height: 0.4rem;
    margin-left: 0.08rem;
    margin-right: 0;
    flex-shrink: 0;
}

/* 右侧按钮统一不换行 */
html[data-mode="h5"] .header__inner-right-search,
html[data-mode="h5"] .header__inner-right-language,
html[data-mode="h5"] .header__inner-right-msg,
html[data-mode="h5"] .header__inner-right > a:last-child {
    flex-shrink: 0;
    white-space: nowrap;
}

html[data-mode="h5"] .header__inner-right-search {
    width: 0.36rem;
    height: 0.36rem;
    margin-right: 0;
}

html[data-mode="h5"] .header__inner-right-language {
    width: auto;
    min-width: 0.62rem;
    height: 0.36rem;
    padding: 0 0.08rem;
    margin-right: 0;
    font-size: 0.2rem;
}

html[data-mode="h5"] .header__inner-right-msg {
    height: 0.36rem;
    padding: 0 0.14rem;
    margin-right: 0;
    font-size: 0.2rem;
}

html[data-mode="h5"] .header__inner-right > a:last-child {
    height: 0.36rem;
    padding: 0 0.14rem;
    margin-right: 0;
    font-size: 0.2rem;
}

/* 移动端：展开后的全屏下拉菜单 */
html[data-mode="h5"] .header__inner-nav.is-open {
    position: fixed;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 7.5rem;
    height: calc(100vh - 0.8rem);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.3rem 0.6rem 0.6rem;
    box-sizing: border-box;
    background: #fff;
    overflow-y: auto;
    animation: h5NavFadeIn 0.25s ease both;
}

@keyframes h5NavFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -0.2rem);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item {
    width: 100%;
    padding: 0.22rem 0;
    border-bottom: 0.01rem solid #f0f2f5;
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item a {
    color: #333;
    font-size: 0.3rem;
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item:active a,
html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item a:active {
    color: #00B8E2;
}

/* 当前页（Support）在 H5 菜单中与其他项保持一致，重置渐变文字与下划线 */
html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item.is-active a {
    color: #333;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: initial;
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item.is-active::after {
    display: none;
}

/* ---------- 第一屏 banner ---------- */
html[data-mode="h5"] .first {
    width: 100%;
    height: auto;
    /* 全站 H5 首屏统一高度基准（与 oem-odm 页对齐） */
    min-height: 5.85rem;
    padding: 3.4rem 0.4rem 0.6rem;
    align-items: flex-start;
    box-sizing: border-box;
}

html[data-mode="h5"] .first__content {
    padding: 0;
}

html[data-mode="h5"] .first__title {
    font-size: 0.42rem;
    margin-bottom: 0.1rem;
}

html[data-mode="h5"] .first__desc {
    width: 100%;
    max-width: 100%;
    font-size: 0.26rem;
    line-height: 1.6;
}

/* ---------- 第二屏 R&D & Core Technologies ---------- */
html[data-mode="h5"] .second {
    width: 100%;
    height: auto;
    padding: 0.7rem 0.4rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .second__inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    height: auto;
    padding: 0;
}

html[data-mode="h5"] .second__text {
    min-width: 0;
    margin-right: 0;
}

html[data-mode="h5"] .second__title {
    font-size: 0.42rem;
    margin-bottom: 0.14rem;
}

html[data-mode="h5"] .second__eyebrow {
    font-size: 0.24rem;
    margin-bottom: 0.4rem;
}

html[data-mode="h5"] .second__desc {
    font-size: 0.24rem;
}

html[data-mode="h5"] .second__media {
    width: 100%;
    height: auto;
    aspect-ratio: 6.5 / 3.9;
}

/* ---------- 第三屏 Research Foundation ---------- */
html[data-mode="h5"] .third {
    width: 100%;
    height: auto;
    padding: 0.7rem 0.4rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .third__inner {
    padding: 0;
}

html[data-mode="h5"] .third__title {
    font-size: 0.42rem;
    margin-bottom: 0.2rem;
}

html[data-mode="h5"] .third__desc {
    font-size: 0.24rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

html[data-mode="h5"] .third__steps {
    gap: 0;
    flex-wrap: nowrap;
}

html[data-mode="h5"] .third__icon {
    width: 0.72rem;
    height: 0.72rem;
}

html[data-mode="h5"] .third__icon img {
    width: 0.42rem;
    height: 0.42rem;
}

html[data-mode="h5"] .third__label {
    font-size: 0.16rem;
    line-height: 1.3;
    margin-top: 0.12rem;
}

html[data-mode="h5"] .third__arrow {
    margin: 0 0.06rem;
    margin-bottom: 0.34rem;
}

/* ---------- 第四屏 Four In-House Laboratories ---------- */
html[data-mode="h5"] .fourth {
    width: 100%;
    height: auto;
    padding: 0.7rem 0.4rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .fourth__inner {
    height: auto;
}

html[data-mode="h5"] .fourth__title {
    font-size: 0.42rem;
    margin-bottom: 0.4rem;
}

html[data-mode="h5"] .fourth__grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
}

html[data-mode="h5"] .fourth__media {
    width: 100%;
    height: 3.6rem;
}

html[data-mode="h5"] .fourth__card-title {
    font-size: 0.28rem;
    margin: 0.24rem 0 0.12rem;
}

html[data-mode="h5"] .fourth__card-desc {
    font-size: 0.24rem;
    line-height: 1.6;
}

/* ---------- 第五屏 Core Technologies ---------- */
html[data-mode="h5"] .fifth {
    width: 100%;
    height: auto;
    padding: 0.7rem 0.4rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .fifth__inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    gap: 0.5rem;
}

html[data-mode="h5"] .fifth__bg {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 4.5rem;
    height: 4.5rem;
    flex: none;
}

html[data-mode="h5"] .fifth.is-visible .fifth__bg {
    transform: none;
}

html[data-mode="h5"] .fifth__center {
    position: relative;
    width: 100%;
}

html[data-mode="h5"] .fifth__title {
    font-size: 0.42rem;
}

html[data-mode="h5"] .fifth__subtitle {
    font-size: 0.24rem;
    line-height: 1.6;
    margin-bottom: 0.2rem;
}

html[data-mode="h5"] .fifth__icon {
    width: 0.5rem;
    height: 0.5rem;
    margin-bottom: 0;
}

html[data-mode="h5"] .fifth__item {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    text-align: left;
    transform: none;
    padding: 0.26rem 0.3rem;
    background: #f5f8fc;
    border-radius: 0.12rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .fifth.is-visible .fifth__item--01,
html[data-mode="h5"] .fifth.is-visible .fifth__item--02,
html[data-mode="h5"] .fifth.is-visible .fifth__item--03,
html[data-mode="h5"] .fifth.is-visible .fifth__item--04 {
    transform: none;
}

html[data-mode="h5"] .fifth__item--05 {
    width: 100%;
    text-align: left;
}

html[data-mode="h5"] .fifth.is-visible .fifth__item--05 {
    transform: none;
}

html[data-mode="h5"] .fifth__num {
    font-size: 0.2rem;
    margin-bottom: 0.1rem;
}

html[data-mode="h5"] .fifth__name {
    font-size: 0.28rem;
    margin-bottom: 0.1rem;
}

html[data-mode="h5"] .fifth__desc {
    font-size: 0.24rem;
    line-height: 1.6;
}

/* ---------- 第六屏 System-Level Engineering & Contact ---------- */
html[data-mode="h5"] .sixth {
    width: 100%;
    height: auto;
    padding: 0.4rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.3rem;
}

html[data-mode="h5"] .sixth__inner {
    flex-direction: column;
    gap: 0.3rem;
}

html[data-mode="h5"] .sixth__card {
    width: 100%;
    height: auto;
    min-height: 3.6rem;
}

html[data-mode="h5"] .sixth__card-body {
    padding: 0.45rem 0.3rem;
}

html[data-mode="h5"] .sixth__card-title {
    font-size: 0.32rem;
    line-height: 1.3;
    margin-bottom: 0.14rem;
}

html[data-mode="h5"] .sixth__card-subtitle {
    font-size: 0.24rem;
    margin-bottom: 0.2rem;
}

html[data-mode="h5"] .sixth__card-desc {
    font-size: 0.24rem;
    line-height: 1.6;
    margin-bottom: 0.9rem;
}

html[data-mode="h5"] .sixth__card--contact .sixth__card-desc {
    margin-top: 0;
}

html[data-mode="h5"] .sixth__btn {
    left: 0.3rem;
    bottom: 0.4rem;
    font-size: 0.24rem;
    padding: 0.16rem 0.3rem;
}

/* ---------- 页脚 ---------- */
html[data-mode="h5"] .footer__main {
    padding: 0.6rem 0.4rem 0.5rem;
}

html[data-mode="h5"] .footer__links {
    flex-wrap: wrap;
    gap: 0.3rem 0.2rem;
}

html[data-mode="h5"] .footer__col {
    flex: 1 1 40%;
    min-width: 2.6rem;
}

html[data-mode="h5"] .footer__contact-item {
    font-size: 0.2rem;
}

html[data-mode="h5"] .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    margin-top: 0.4rem;
    padding-top: 0.3rem;
}

html[data-mode="h5"] .footer__logo {
    width: 4rem;
    height: auto;
}

html[data-mode="h5"] .footer__bar {
    flex-direction: column;
    height: auto;
    padding: 0.18rem 0.4rem;
    gap: 0.1rem;
}

/* ---------- 浮动侧边栏 ---------- */
html[data-mode="h5"] .float-bar {
    right: 0.2rem;
    bottom: 1.2rem;
    gap: 0.16rem;
    padding: 0.14rem 0.12rem;
}

html[data-mode="h5"] .float-bar__btn {
    width: 0.8rem;
    height: 0.8rem;
}

html[data-mode="h5"] .float-bar__btn img {
    width: 0.38rem;
    height: 0.38rem;
}