/* ========== GL-3F 详情页 ========== */

/* 导航栏固定定位，与其他页面保持一致 */
.gl3f-page #navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.gl3f-page #navbar:not(.scrolled) {
    background: rgba(0, 0, 0, 0.1);
}

/* ========== 通用板块类 ========== */
.gl-section {
    min-height: 100vh;
    padding: 120px 60px;
    box-sizing: border-box;
}




/* Hero 全屏展示区 */
.gl3f-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 540px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gl3f-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gl3f-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero 文字区域 - 水平居中靠左（约 35% 位置） */
.gl3f-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: left;
    /* 水平居中偏左：左右外边距对称，再向左偏移 */
    margin: 0 auto 0 18%;
    max-width: 480px;
    pointer-events: none;
}

/* hero 元素顺序淡入：默认隐藏，结束态由 .is-revealed 触发 */
.gl3f-hero-title-svg,
.gl3f-hero-subtitle-svg,
.gl3f-cta-btn {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.gl3f-hero-content.is-revealed .gl3f-hero-title-svg {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.gl3f-hero-content.is-revealed .gl3f-hero-subtitle-svg {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.gl3f-hero-content.is-revealed .gl3f-cta-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.gl3f-hero-title-svg {
    width: 320px;
    max-width: 80%;
    height: auto;
    margin-bottom: 24px;
}

.gl3f-hero-subtitle-svg {
    width: 170px;
    max-width: 80%;
    height: auto;
    margin-bottom: 32px;
}

.gl3f-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ff4444;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 20px;
    transition: opacity 0.7s ease, transform 0.7s ease, background 0.3s ease;
    pointer-events: auto;
}

.gl3f-cta-btn:hover {
    background: #ff6666;
}

.gl3f-cta-arrow {
    width: 16px;
    height: 16px;
}


/* ========== Footer: GL-3F 产品展示 ========== */
.ft-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1d1d1f;
    color: #fff;
    text-align: center;
}

.ft-inner {
    margin: 0 auto;
    padding: 0 32px;
}

.ft-title-img {
    display: block;
    margin: 0 auto 48px;
    height: 64px;
    width: auto;
}

/* 产品大图 */
.ft-product {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ft-product-img {
    width: 80%;
    height: auto;
    display: block;
}

/* 5 个特性 chip */
.ft-chips {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ft-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 999px;
    line-height: 1.4;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.ft-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

/* CTA 按钮 */
.ft-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ff4444;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ft-cta-btn:hover {
    background: #ff6666;
    transform: translateY(-1px);
}

.ft-cta-arrow {
    width: 16px;
    height: 16px;
}

/* 移动端 */
@media (max-width: 640px) {
    .ft-section {
        padding: 60px 0 48px;
    }

    .ft-title-img {
        height: 40px;
        margin-bottom: 32px;
    }

    .ft-product {
        max-width: 280px;
        margin-bottom: 36px;
    }

    .ft-chips {
        gap: 8px;
        margin-bottom: 28px;
    }

    .ft-chip {
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* ========== 核心能力 - 错位双视频 ========== */
.ca-section {
    background: #1d1d1f;
    color: #fff;
    overflow: hidden;
}

.ca-inner {
    width: 80%;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ca-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}



/* 错位双视频区 */
.ca-stage {
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
}

.ca-block {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    gap: 60px;
}

/* 第 1 个：视频在右 */
.ca-block--right {
    grid-template-areas: 'text media';
}

.ca-block--right .ca-block-text {
    display: flex;
    gap: 16px;
    grid-area: text;
}

.ca-block--right .ca-block-media {
    grid-area: media;
}

/* 视频在左：列宽交换，让视频始终占大列 1.4fr */
.ca-block--left {
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas: 'media text';
}

.ca-block--left .ca-block-text {
    grid-area: text;
}

.ca-block--left .ca-block-media {
    grid-area: media;
}

/* 文字层 */
.ca-block-text {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
}

.ca-block-kicker {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(to right, #ffffff 0%, #D6B468 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.ca-block-sub {
    font-size: 19.2px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* 视频区 */
.ca-block-media {
    position: relative;
    border-radius: 18px;
    aspect-ratio: 16 / 9;

}

.ca-video {
    width: 100%;
    height: 100%;
        border-radius: 18px;
    object-fit: cover;
    display: block;
}

/* 红色序号（视频左上角） */

/* 移动端 */
@media (max-width: 640px) {
    .ca-section {
        padding: 60px 0 80px;
    }

    .ca-inner {
        padding: 0 24px;
    }

    .ca-header {
        margin-bottom: 48px;
    }

    .ca-stage {
        gap: 48px;
    }

    .ca-block {
        grid-template-columns: 1fr;
        grid-template-areas:
            'media'
            'text' !important;
        gap: 24px;
    }

    .ca-block-kicker {
        font-size: 32px;
    }

    .ca-block-text {
        padding: 0;
        text-align: center;
    }
}

/* ========== 核心技术参数 ========== */
.sp-section {
    background: #1d1d1f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-inner {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 80px;
    text-align: center;
}

/* 标题区 */
.sp-header {
    text-align: center;
    margin-bottom: 48px;
}

.sp-subtitle {
    margin: 0 auto;
    max-width: 520px;
}

/* 大视频区 */
.sp-stage {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin: 0 auto 32px;
}

.sp-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.35s ease;
}

/* 三个参数卡 */
.sp-cards {
    display: inline-flex;
    gap: 16px;
    justify-content: center;
    margin: 0 auto 24px;
    background-color: #E9E9E9;
    border-radius: 24px;
    /* 宽度由内容决定 */
    width: fit-content;
    max-width: 100%;
    padding: 8px 24px;
}

.sp-card {
    background: #E9E9E9;
    border-radius: 24px;
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 1px solid transparent;
    border: none;
    /* 宽度由内容决定（与父容器 .sp-cards 一起 fit-content） */
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sp-card:hover {
    background: #d8d8d8;
}

.sp-card.is-active {
    background: #464646;
    border-color: transparent;
}

.sp-card-value {
    font-size: 28px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.sp-card.is-active .sp-card-value {
    color: #ffffff;
}

.sp-card-foot {
    font-size: 11px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.4);
    margin-left: 4px;
    vertical-align: super;
}

.sp-card.is-active .sp-card-foot {
    color: rgba(255, 255, 255, 0.5);
}

.sp-card-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.sp-card.is-active .sp-card-label {
    color: rgba(255, 255, 255, 0.5);
}

/* 脚注 */
.sp-footnote {
    text-align: right;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.7;
}

.sp-footnote span + span {
    margin-left: 12px;
}

/* 移动端 */
@media (max-width: 640px) {
    .sp-section {
        padding: 60px 0 48px;
    }

    .sp-inner {
        padding: 0 24px;
    }

    .sp-cards {
        flex-direction: column;
        gap: 10px;
    }

    .sp-card-value {
        font-size: 22px;
    }

    .sp-footnote {
        text-align: left;
    }
}

/* ========== 夹持模式 - Apple 风格大底面 + 卡片轮播 ========== */
.cm-section {
    position: relative;
    /* 给底图 sticky 留出空间 */
    min-height: 110vh;
    background: #1d1d1f;
    color: #fff;
    overflow: visible;
}

.cm-bg {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    /* JS 根据滚动进度添加 .is-blur 增加模糊 */
    transition: filter 0.6s ease;
}

.cm-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* 视觉参考图：右侧聚焦，左侧偏暗 */
    object-position: 75% 50%;
}

.cm-bg.is-blur .cm-bg-img {
    filter: blur(8px) brightness(0.7);
}

.cm-container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 12vh 40px 8vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* 顶部标题区 */
.cm-header {
    position: absolute;
    left: 10%;
    top: 10%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    max-width: 560px;
    margin-bottom: 6vh;
    color: #fff;
    z-index: 999;
}

.cm-title-img {
    width: 20%;
    height: auto;
    display: block;
}

.cm-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ff4444;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}



.cm-subtitle {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.1;
    color: #fff;
    letter-spacing: 0.01em;
}

.cm-desc {
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
}

/* 滚动触发的渐入（初始隐藏） */
[data-cm-anim] {
    opacity: 0;
    transform: translateY(19.2px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-cm-anim].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 卡片轮播 */
.cm-carousel {
    margin-top: 6vh;
    /* 默认隐藏，滚到一半视口时再显示 */
}

.cm-carousel-viewport {
    overflow: hidden;
    border-radius: 14px;
}

.cm-carousel-track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    /* 默认偏移：让第 1 张部分出画、第 2 张露一半 */
    transform: translateX(610px);
}

.cm-slide {
    /* 卡片宽度 = 容器 1/3：第 1 张 + 第 2 张 1/3 + 第 3 张 0（被裁切） */
    flex: 0 0 calc((100% - 16px) /3);
    min-width: calc((100% - 16px) /3);
    box-sizing: border-box;
}

.cm-card {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #0a0a0a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.cm-card:hover {
    transform: translateY(-4px);
}

.cm-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cm-card-label {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

/* 翻页按钮 */
.cm-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.cm-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cm-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

.cm-arrow:active {
    transform: scale(0.95);
}

/* 移动端 */
@media (max-width: 640px) {
    .cm-section {
        min-height: 130vh;
    }

    .cm-container {
        padding: 8vh 24px 4vh;
    }

    .cm-title {
        font-size: 22px;
    }

    .cm-subtitle {
        font-size: 32px;
    }

    .cm-desc {
        font-size: 13px;
    }

    .cm-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

/* ========== 先刷重点 - 图片轮播 (hand1 风格) ========== */
.h1-highlight-section {
    background: #1d1d1f;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 居中容器 */
.h1-highlight-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 80px;
}

.h1-highlight-inner {
    text-align: left;
    margin-bottom: 32px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.h1-highlight-inner-text {
    flex: 1 1 auto;
    min-width: 0;
}

.h1-highlight-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #F41123;
    font-size: 14.4px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.h1-highlight-watch svg {
    width: 14.4px;
    height: 14.4px;
    color: #F41123;
}

.h1-highlight-watch:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.h1-highlight-stage {
    width: 100%;
    overflow: visible;
    position: relative;
}

.h1-highlight-stage-inner {
    position: relative;
    width: 100%;
    overflow: visible;
}

.h1-highlight-stage-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    position: relative;
}

.h1-highlight-slide {
    flex: 0 0 55%;
    padding: 0 12px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.h1-highlight-slide-media {
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #0a0a0a;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.8s ease,
                filter 0.8s ease;
}

.h1-highlight-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 卡片左上角文字层（叠加在图上） */
.h1-highlight-caption {
    position: absolute;
    left: 40px;
    top: 36px;
    z-index: 2;
    color: #fff;
    pointer-events: none;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.h1-highlight-caption--bottom {
    top: auto;
    bottom: 36px;
}

.h1-highlight-caption--topright {
    left: auto;
    right: 40px;
    top: 36px;
    text-align: right;
}

.h1-highlight-slide.is-active .h1-highlight-caption {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.h1-highlight-caption-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.h1-highlight-caption-desc {
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.h1-highlight-slide.is-active .h1-highlight-slide-media {
    transform: none;
    opacity: 1;
    filter: none;
}

.h1-highlight-slide.is-adjacent .h1-highlight-slide-media {
    transform: none;
    opacity: 0.5;
    filter: brightness(0.6);
}

.h1-highlight-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 0 160px;
}

.h1-highlight-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #D9D9D9;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:  transform 0.25s ease;
    border: none;
}

.h1-highlight-arrow:hover {
    transform: scale(1.05);
}

.h1-highlight-arrow:active {
    transform: scale(0.95);
}


@media (max-width: 640px) {
    .h1-highlight-section {
        padding: 48px 0 32px;
    }

    .h1-highlight-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
        margin-bottom: 20px;
    }

    .h1-highlight-watch {
        font-size: 16px;
    }

    .h1-highlight-watch svg {
        width: 22px;
        height: 22px;
    }

    .h1-highlight-stage-inner {
        height: 288px;
    }

    .h1-highlight-slide {
        flex: 0 0 85%;
        padding: 0 8px;
    }

    .h1-highlight-slide-media {
        max-height: 256px;
        border-radius: 16px;
    }

    .h1-highlight-controls {
        margin-top: 20px;
        padding: 0 24px;
    }
}

/* 移动端适配 */
@media (max-width: 640px) {
    .gl3f-hero-content {
        margin: 0 auto;
        padding: 0 20px;
        text-align: center;
        align-items: center;
    }

    .gl3f-hero-title-svg {
        width: 200px;
        margin-bottom: 16px;
    }

    .gl3f-hero-subtitle-svg {
        width: 180px;
        margin-bottom: 24px;
    }

    .gl3f-cta-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .h1-highlight-arrow {
        width: 38px;
        height: 38px;
    }

    .h1-highlight-caption {
        left: 20px;
        top: 20px;
    }

    .h1-highlight-caption--bottom {
        top: auto;
        bottom: 20px;
    }

    .h1-highlight-caption-title {
        font-size: 20px;
    }

    .h1-highlight-caption-desc {
        font-size: 13px;
    }
}

/* ========== Video Modal ========== */
.h1-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.h1-video-modal.is-open {
    display: flex;
}

.h1-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: #1d1d1f;
}

.h1-video-modal-box {
    position: relative;
    width: 80%;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.h1-video-modal-iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.h1-video-modal-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.h1-video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.h1-video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.h1-video-modal-close svg {
    width: 20px;
    height: 20px;
}
