/* 字体：优先系统中文字体，避免 @import Google Fonts 阻塞整份 styles.css 造成切页 FOUC/闪烁 */

/* ========================================
   CSS Variables / 主题变量
   ======================================== */
:root {
    /* 主色调 */
    --color-primary: #0071E3;
    --color-primary-dark: #005BB5;
    --color-primary-light: #3399FF;

    /* 背景色 */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F5F7FA;
    --color-bg-dark: #1A1A1A;

    /* 文字色 */
    --color-text: #1A1A1A;
    --color-text-secondary: #666666;
    --color-text-light: #FFFFFF;

    /* 边框色 */
    --color-border: #E5E7EB;
    --color-border-dark: #D1D5DB;

    /* 间距 */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Noto Sans SC", sans-serif;
    --line-height: 1.6;

    /* 容器最大宽度 */
    --container-max: 1200px;

    /* 固定导航高度（与 .nav-container height 保持一致） */
    --nav-height: 90px;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, table, iframe { max-width: 100%; }

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   通用容器
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    /* 必须不透明：首屏视频/overlay 铺满视口会延伸到导航下方；
       半透明 + backdrop-filter 会让视频帧透出并持续重绘，切到首页时顶部明显闪灰 */
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition-normal);
    /* 独立合成层，减少下层 hero/banner 切页时顶栏一起闪 */
    isolation: isolate;
    transform: translateZ(0);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Logo / 右侧控件需压过下拉的全宽 hover 桥，否则斜移时点不到 */
.logo,
.lang-switcher,
.nav-consult-btn,
.nav-toggle {
    position: relative;
    z-index: 2;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
}

.logo-img {
    width: 140px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
    display: inline-block;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    white-space: nowrap;
    line-height: 1;
}

/* 英文站不显示中文品牌名，但保留等宽占位，保证中英文导航栏位置一致
   4.2em = 4 个中文字 × (1em + 0.05em letter-spacing)，随字号自动缩放 */
.logo-text--blank {
    display: inline-block;
    width: 4.2em;
}

.logo-en {
    display: none;
}

/* 导航菜单：拉高到整栏高度，避免移向二级菜单时穿过空隙关掉 */
.nav-menu {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    height: 100%;
    gap: var(--space-xl);
}
.nav-menu > .nav-link {
    display: inline-flex;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* 当前页面所在的一级导航：选中态与悬停态完全一致 */
.nav-link.active {
    color: var(--color-primary);
}
.nav-link.active::after {
    width: 100%;
}

/* 二级导航栏 */
.nav-dropdown {
    position: static;
    display: flex;
    align-items: center;
    height: 100%;
    /* 左右扩大触发区，斜向移入下拉不易先掉到相邻空白 */
    padding: 0 20px;
    margin: 0 -20px;
}
.nav-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
}
.nav-menu > .nav-link {
    position: relative;
    z-index: 2;
}

/* 展开时铺一层隐形桥：盖住导航栏空白区 + 与面板衔接带。
   斜着从「产品/案例」移到下拉项时，路径仍算在当前 dropdown 内。
   z-index 低于各导航链接，移到「首页/案例」等仍可正常切换。
   注意：高度只覆盖导航栏本体，不再向下溢出，
   否则溢出段会压住同级 dropdown 的触发区，导致相邻面板同时判为 hover。 */
.nav-dropdown:hover::after,
.nav-dropdown.nav-open::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: 0;
    height: var(--nav-height);
    z-index: 0;
}

.nav-submenu {
    position: fixed;
    /* 与导航底边重叠 4px，鼠标下移不会掉出 hover 区 */
    top: calc(var(--nav-height) - 4px);
    left: 0;
    right: 0;
    background: #505050;
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* 不使用渐变：显隐瞬时切换，彻底避免两个全宽面板切换时重叠 */
    z-index: 10000;
}
/* 面板顶边已比导航底边上移 4px，本身与导航栏重叠，无需再向上搭桥；
   原先前桥高 32px 会盖住导航链接下半部分，造成「移到相邻菜单项仍不切面板」。 */
.nav-submenu::before {
    display: none;
}

/* 打开条件只允许 hover 与键盘焦点（.nav-open 由 main.js 在 :focus-visible 时添加）。
   原先直接用 :focus-within，鼠标点过「产品/案例」后 <a> 会保留焦点，
   该面板被焦点常驻，再 hover 另一个下拉就出现两个二级导航同时显示。 */
.nav-dropdown:hover .nav-submenu,
.nav-dropdown.nav-open .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 10001;
}

.nav-submenu-item {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 4px;
}

.nav-submenu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.2s;
}

.nav-submenu-item:hover {
    color: #fff;
}

.nav-submenu-item:hover::after {
    width: 100%;
}

/* 案例 Mega Menu */
.nav-dropdown-cases .nav-submenu {
    background: #404040;
    padding: 0;
    justify-content: flex-start;
}
.cases-mega-inner {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    gap: 0;
}
.cases-tabs {
    display: flex;
    flex-direction: column;
    width: 220px;
    flex-shrink: 0;
    padding: 24px 0;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.cases-tab {
    padding: 12px 20px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    border-radius: 6px;
    margin: 2px 12px;
    transition: all 0.15s;
    white-space: nowrap;
}
.cases-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.cases-tab.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
    font-weight: 600;
}
/* 案例下拉（桌面端）：tabs 横排在顶部，而不是左侧纵向列 */
@media (min-width: 901px) {
    .nav-dropdown-cases:not(.nav-dropdown-products) .cases-mega-inner {
        flex-direction: column;
        padding: 16px 40px 24px;
    }
    .nav-dropdown-cases:not(.nav-dropdown-products) .cases-tabs {
        flex-direction: row;
        width: 100%;
        border-right: none;
        border-bottom: none;
        padding: 0;
        margin-bottom: 0;
        justify-content: center;
        gap: 12px;
    }
    .nav-dropdown-cases:not(.nav-dropdown-products) .cases-tab {
        width: 240px;
        min-width: max-content;
        text-align: center;
        margin: 0;
    }
    .nav-dropdown-cases:not(.nav-dropdown-products) .cases-panels {
        padding: 0;
    }
}
.cases-panels {
    flex: 1;
    padding: 24px 32px;
}
.cases-panel {
    display: none;
}
.cases-panel.active {
    display: block;
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 24px;
}
/* 产品下拉：产品名长短不一，按内容宽度排列，避免英文名被 4 等分列宽挤到换行 */
.nav-dropdown-products .cases-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.cases-item {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.15s;
}
.cases-item:hover {
    color: #fff;
}

/* 产品 Mega Menu：行业 -> 包装材质 -> 产品类型 */
.product-menu-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}
.product-menu-group {
    min-width: 0;
}
.product-menu-group-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}
.product-menu-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 24px;
}
.nav-dropdown-products .cases-item {
    justify-self: start;
    width: auto;
    padding: 6px 12px;
    border-bottom: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}
.nav-dropdown-products .cases-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}
@media (max-width: 900px) {
    .cases-mega-inner { flex-direction: column; padding: 0 20px; }
    .cases-tabs { flex-direction: row; width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 12px 0; }
    .cases-tab { padding: 8px 16px; }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 咨询按钮 */
.nav-consult-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-primary);
    color: var(--color-text-light);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-consult-btn:hover {
    background: var(--color-primary-dark);
    color: var(--color-text-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* ========================================
   Hero 首屏
   ======================================== */
.hero {
    position: relative;
    /* 首屏始终一屏高，文字压在视频上，不拆成上下两块 */
    min-height: 100vh;
    /* 首屏内所有文字尺寸的基准：与视频同比例缩放。
       1920 宽（或 1080 高）时 = 16px，其余尺寸按 min(vw, vh) 等比缩小；
       10px 下限保证小窗口/手机上仍可读。改这一行即可整体调大调小首屏文字。 */
    font-size: clamp(10px, min(0.8334vw, 1.4815vh), 16px);
    padding-top: var(--nav-height);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A1A1A;
    overflow: hidden;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    /* 铺满整个首屏舞台（含导航背后那一条，导航是不透明白底会盖住），用 cover：
       等比放大到把容器完全填满，任何宽高比下都不会出现左右/上下留边。
       代价是非 16:9 视口会裁掉少量画面（以中心为准），16:9 视口下无裁切。 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
    z-index: 0;
    /* 未就绪保持透明，底下是 .hero 的深色底，避免 video 默认黑帧连闪 */
    opacity: 0;
    transition: opacity 0.7s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.hero-video.is-ready {
    opacity: 1;
}

/* 首屏背景图片（与视频同层级、同裁切方式：cover 铺满，不留边） */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #1A1A1A;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hero-bg-image.is-ready {
    opacity: 1;
}

/* 蓝色蒙版铺满整屏：底层是模糊背景、上层是完整视频，两层色调统一，
   不会出现「蒙版只盖住中间视频、四周是另一种颜色」的分界线 */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 113, 227, 0.4);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2em;
    max-width: 56.25em;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 800;
    color: var(--color-text-light);
    margin-bottom: 0.686em;   /* = 24px @16px 基准 */
    letter-spacing: 0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.4em;     /* = 48px @16px 基准 */
    line-height: 1.8;
    max-width: 35em;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
}

/* 首屏按钮同样随画布缩放（其余位置的 .btn 不受影响） */
.hero-buttons .btn {
    font-size: 1em;
    padding: 0.5em 2em;
    border-radius: 0.5em;
    min-width: 8.75em;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    min-width: 140px;
}

.btn-primary {
    background: var(--color-bg);
    color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-bg-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-light);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-text-light);
    transform: translateY(-2px);
}

/* 向下滚动提示 */
.hero-scroll-hint {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8em;   /* 跟随首屏基准字号缩放 */
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.5; }
}

/* ── 窄屏（≤768px）：视频整块在上、文字在下 ──
   竖屏下 16:9 视频只有 200 多像素高，再让文字压在画面上既会被裁切也会溢出，
   所以改成和案例页一致的文档流布局：视频按 16:9 整块显示，文字顺次排在其下方，
   首屏整体仍保持一屏高（min-height:100vh）。
   注意：本段必须放在 .hero-content / .hero-scroll-hint 等基础规则之后，否则会被覆盖。 */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .hero-video,
    .hero-bg-image {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;   /* 加载前先占位，避免文字跳动 */
        object-fit: contain;
        flex: 0 0 auto;
    }

    /* 视频已在文档流中铺满宽度 */

    /* 蓝色蒙版保留，但只压在视频块上：视频从导航下沿开始、高度 = 宽 × 9/16，
       这里用同样的起点 + aspect-ratio 贴合，文字区域保持深色不受影响 */
    .hero-overlay {
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: auto;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        max-width: none;
        padding: 28px 24px 24px;
    }

    /* 滚动提示改为流式排在文字下方，避免与按钮重叠 */
    .hero-scroll-hint {
        position: static;
        left: auto;
        transform: none;
        margin: 0 auto 24px;
    }
}

/* ========================================
   通用区块标题
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* ========================================
   关于我们
   ======================================== */
.about-section {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), transparent);
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content {
    padding: var(--space-md) 0;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: var(--space-md);
}

.about-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ========================================
   行业方案
   ======================================== */
.industries-section {
    background: var(--color-bg-alt);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.industry-card {
    background: var(--color-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.industry-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 227, 0.08);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    transition: all var(--transition-fast);
}

.industry-icon svg {
    width: 32px;
    height: 32px;
}

.industry-card:hover .industry-icon {
    background: var(--color-primary);
    color: var(--color-text-light);
}

.industry-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.industry-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================
   产品中心
   ======================================== */
.products-section {
    background: var(--color-bg);
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.tab-btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    background: var(--color-primary);
    color: var(--color-text-light);
}

.product-panel {
    display: none;
}

.product-panel.active {
    display: block;
}

.product-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.product-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    padding: var(--space-md);
    padding-bottom: var(--space-xs);
}

.product-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    padding: 0 var(--space-md) var(--space-md);
    line-height: 1.5;
}

/* ========================================
   核心优势
   ======================================== */
.advantages-section {
    background: var(--color-bg-alt);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}

.advantage-item {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 227, 0.08);
    border-radius: 50%;
    color: var(--color-primary);
    margin: 0 auto var(--space-md);
    transition: all var(--transition-fast);
}

.advantage-icon svg {
    width: 32px;
    height: 32px;
}

.advantage-item:hover .advantage-icon {
    background: var(--color-primary);
    color: var(--color-text-light);
    transform: scale(1.1);
}

.advantage-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.advantage-desc {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ========================================
   底部
   ======================================== */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.8fr);
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 允许两列内容收缩到容器宽度以内：默认 min-width:auto 会被长英文单词撑破，
   导致窄屏下文字超出视口被裁切 */
.footer-brand,
.footer-contact {
    min-width: 0;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-light);
    margin-bottom: var(--space-sm);
    /* 中文公司名较短本来就一行；英文名较长时允许自然换行，不再用省略号截断 */
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    /* 同理：英文描述比中文长，窄屏需要跟着宽度换行 */
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.55;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.footer-list li {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    align-items: flex-start;
}
.footer-list li .footer-label {
    padding-top: 2px;
}
.footer-address {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    line-height: 1.55;
}

/* 电话/邮箱：长邮箱（a@x.com & b@y.com）在窄屏必须能断行，否则会撑破页脚 */
.footer-phone,
.footer-email {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.footer-list li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-list li a:hover {
    color: var(--color-primary-light);
}

.footer-label {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    min-width: 4.5em;
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 公安备案警徽：跟随页脚字号缩放，始终贴在「浙公网安备」文字左侧 */
.footer-police-badge {
    display: inline-block;
    height: 1.65em;
    width: auto;
    margin-right: 6px;
    vertical-align: -0.36em;
    border: 0;
}

/* ========================================
   淡入动画
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* 通用滚动入场：hero 与页脚之外的各区块，滚到视口后浮出（由 main.js 自动挂类）
   双类名是为了压过卡片自身的 transition（如 .team-card 的 box-shadow/transform） */
.reveal-block.reveal-block {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-block.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-block {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   响应式设计
   ======================================== */

/* 平板 (768px - 1024px) */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-content {
        text-align: center;
    }

    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* 手机 (< 768px) */
@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
    }

    /* 强制禁止横向滚动 */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

}

/* ── 导航：只要窄到文字会被挤成两行，就切成汉堡菜单 ──
   实测（16px 基准）中文约 960px、英文约 1050px 开始换行，这里取 1080px 留余量。
   这段原本写在 768 断点里，导致 769～1050px 之间「立即咨询」等文字被挤成两行。 */
@media (max-width: 1080px) {
    /* 导航 */
    .navbar {
        max-width: 100vw;
        z-index: 10001;
    }
    .nav-container {
        max-width: 100vw;
        padding-left: 16px;
        padding-right: 16px;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        height: auto;
        max-height: calc(100vh - 72px);
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        /* 断点切入瞬间不能有过渡：桌面态的菜单是可见的（opacity:1、无位移），
           若此时带 0.25s 过渡，就会被浏览器当成“可见→收起”播放一次，表现为菜单闪一下。
           动画只给 .nav-anim（用户点过汉堡后才由 JS 加上）。 */
        transition: none;
        z-index: 10002;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.nav-anim {
        transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        overflow-x: hidden;
    }

    /* 菜单展开时隐藏页面内的 <video>：
       安卓 Chrome 会把 <video> 提升为独立的视频合成层，该层可能无视 z-index
       画在 position:fixed 的导航之上（案例页视频盖住菜单即由此引起）。
       菜单本身是白色不透明浮层，隐藏视频在视觉上没有差别，但能彻底避免遮挡。
       用 visibility 而不是 display，避免布局跳动、也不中断播放。 */
    body.nav-open video {
        visibility: hidden;
    }

    /* 移动端一级导航文字强制黑色 */
    .nav-menu .nav-link { color: #1A1A1A; }
    .nav-menu .nav-link::after { display: none; }
    /* 移动端当前页面一级导航：用主题蓝标示选中 */
    .nav-menu .nav-link.active { color: #0071E3; font-weight: 600; }

    /* 移动端二级菜单 */
    .nav-dropdown { position: relative; z-index: 10002; height: auto; display: block; padding: 0; margin: 0; }
    .nav-dropdown > .nav-link { height: auto; }
    .nav-dropdown:hover::after,
    .nav-dropdown.nav-open::after { display: none; }
    .nav-dropdown .nav-submenu {
        position: static;
        top: auto;
        background: #f0f0f0;
        display: none;
        padding: 8px 0;
        gap: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
        transition-delay: 0s;
        box-shadow: none;
        z-index: 10002;
    }
    .nav-dropdown .nav-submenu::before { display: none; }
    .nav-dropdown.mobile-open .nav-submenu { display: block; }
    .nav-submenu-item {
        color: #333;
        font-size: 0.9rem;
        padding: 12px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #e0e0e0;
    }
    .nav-submenu-item:hover { color: #0071E3; }
    .nav-submenu-item::after { display: none; }
    .nav-dropdown-cases .nav-submenu { background: #f0f0f0; z-index: 10002; }
    .nav-dropdown-cases .cases-mega-inner { padding: 0 16px; }
    .nav-dropdown-cases .cases-tabs { flex-direction: row; width: 100%; border-right: none; border-bottom: 1px solid #e0e0e0; padding: 8px 0; }
    .nav-dropdown-cases .cases-panel { padding: 8px 0; }
    /* 案例下拉菜单移动端完整样式覆盖 */
    .nav-dropdown-cases .cases-mega {
        display: none;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        background: #f0f0f0;
    }
    .nav-dropdown-cases.mobile-open .cases-mega { display: block; }
    .nav-dropdown-cases .cases-mega-inner {
        flex-direction: column;
        padding: 0 16px;
        max-width: 100%;
        gap: 0;
    }
    .nav-dropdown-cases .cases-tabs {
        flex-direction: row;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 8px 0;
        flex-shrink: unset;
        overflow-x: auto;
    }
    .nav-dropdown-cases .cases-tab {
        color: #555;
        font-size: 0.85rem;
        padding: 8px 16px;
        white-space: nowrap;
        background: none;
    }
    .nav-dropdown-cases .cases-tab.active {
        color: #0071E3;
        background: none;
        font-weight: 600;
    }
    .nav-dropdown-cases .cases-panels { padding: 8px 0; }
    .nav-dropdown-cases .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 12px;
        max-width: 100%;
    }
    .nav-dropdown-cases .cases-item {
        color: #333;
        font-size: 0.85rem;
        padding: 10px 0;
        border-bottom: 1px solid #e0e0e0;
        background: none;
    }
    .nav-dropdown-cases .cases-item:hover { color: #0071E3; }
    .nav-dropdown-cases .cases-panel { padding: 0; }
    .nav-dropdown-products .product-menu-groups { grid-template-columns: 1fr; gap: 18px; }
    .nav-dropdown-products .product-menu-group-title { color: #222; border-bottom-color: #d8d8d8; }
    .nav-dropdown-products .product-menu-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
    .nav-dropdown-products .cases-item {
        justify-self: start;
        width: auto;
        padding: 8px 12px;
        border-bottom: none;
        border-radius: 6px;
        background: transparent;
    }
    .nav-dropdown-products .cases-item:hover {
        color: #1a1a1a;
        background: rgba(0, 0, 0, 0.08);
    }

    .nav-consult-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ── 手机 (< 768px)：首屏、网格、页脚等版式 ── */
@media (max-width: 768px) {

    /* 行业方案 */
    .industries-grid {
        grid-template-columns: 1fr;
    }

    /* 核心优势 */
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 底部 */
    .footer {
        padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .footer-brand {
        grid-column: 1;
    }
    .footer-logo,
    .footer-tagline {
        text-align: left;
    }
    .footer-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .footer-list li span:last-child {
        word-break: break-word;
        white-space: normal;
    }
}
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .product-scroll {
        grid-template-columns: 1fr;
    }

    .product-tabs {
        flex-direction: column;
        width: 100%;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   About 页面专用样式
   ======================================== */

/* 页面头部标题 */
.about-hero {
    position: relative;
    /* 跑道高度 = 一屏 + 效果行程(70vh)，sticky 子层在跑道上滑过 */
    height: calc(100vh + 70vh);
    isolation: isolate;
    z-index: 10;
    /* 导航下方预留区与加载前底色，避免白/灰闪一下 */
    background: #0D1B2A;
}

/* 粘性视口：滚动时画面本身不动，由滚动进度驱动模糊层与文字 */
.about-hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    padding-top: var(--nav-height);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0D1B2A;
}

/* 清晰背景图：从导航下方铺起；先透明再淡入，避免切页时大图硬切闪一下 */
.about-hero-bg {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/uploads-mirror/1785226479373-mrzeuag9.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    will-change: opacity, transform;
    transition:
        opacity 1s ease,
        transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

/* 预模糊层：模糊只栅格化一次，滚动时仅切换透明度做交叉淡化，
   避免逐帧 filter: blur() 重绘整屏导致的掉帧/一跳一跳 */
.about-hero-blur {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(26px) saturate(1.04);
    transform: scale(1.12);
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    z-index: 0;
}

/* 系统开启「减少动态效果」时退化为静态一屏，文字直接常显 */
@media (prefers-reduced-motion: reduce) {
    .about-hero {
        height: 100vh;
    }

    .about-hero-blur {
        display: none;
    }

    .about-hero-text {
        opacity: 1;
    }
}
.about-hero-bg.is-ready {
    opacity: 1;
    transform: scale(1);
}

/* 渐变遮罩，保证文字可读；随背景稍后柔和显现 */
.about-hero-overlay {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0.4) 100%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.9s ease 0.2s;
}
.about-hero.is-entered .about-hero-overlay {
    opacity: 1;
}

.about-hero-text {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    will-change: opacity;
}

/* 底部渐变遮蔽，防止下方内容透出 */
.about-hero-sticky::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #0D1B2A);
    z-index: 3;
    pointer-events: none;
}

.about-hero-text-inner {
    text-align: center;
    will-change: transform, filter;
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.about-hero-text-inner .section-label {
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
}

.about-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.1em;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* 公司简介 */
.about-intro-section {
    background: #0A0E1A;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.about-intro-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 内边距随窗口收缩，避免窄屏时把文字挤到溢出 */
    padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 80px) clamp(48px, 7vw, 100px);
    gap: clamp(16px, 1.8vw, 28px);
}

.about-intro-main-title {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.about-intro-subtitle {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em;
    line-height: 1.8;
    /* 原来写死 nowrap：窗口一窄整行被裁掉两侧。宽屏时本来也只占一行，去掉后行为不变 */
    white-space: normal;
    max-width: 100%;
}

.about-intro-desc {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    white-space: normal;
    max-width: 100%;
}

.about-intro-image-wrap {
    width: 100%;
    height: 55vh;
    overflow: hidden;
}

.about-intro-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}
    gap: var(--space-xs);
}

.highlight-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.highlight-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* 发展历程 */
.about-timeline-section {
    position: relative;
    background: #FFFFFF;
    padding: 100px 0 120px;
}

/* ─── 顶部标题 ─── */
.timeline-header {
    text-align: center;
    padding: 0 0 100px;
}

/* ─── 右侧固定时间轴导轨 ─── */
.timeline-rail {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0;
    pointer-events: none;
    opacity: 0;
    padding: 8px 0;
    /* 出现/消失时淡入淡出，避免开关式突变 */
    transition: opacity 0.3s ease;
}

/* 背景竖线 */
.timeline-rail::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: rgba(0,0,0,0.12);
}

.timeline-rail-pair {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.timeline-rail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.timeline-rail-pair.active .timeline-rail-dot {
    background: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.2);
    transform: scale(1.4);
}

.rail-year {
    font-size: 11px;
    color: rgba(0,0,0,0.3);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}

.timeline-rail-pair.active .rail-year {
    color: var(--color-primary);
    font-weight: 700;
}

.rail-year.active {
    color: var(--color-primary);
    font-weight: 700;
}

.rail-year:hover {
    color: var(--color-primary);
}

/* ─── 之字形时间轴内容 ─── */
.timeline-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px 0 60px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 90px;
    margin-bottom: 120px;
    /* 默认可见：入场改由 .reveal-block 统一控制（按条浮现） */
    scroll-margin-top: 90px;
}

.timeline-item.visible {
    opacity: 1;
}

/* 左对齐：年份 | (正文|图) */
.timeline-item--left {
    flex-direction: row;
}
.timeline-item--left .timeline-item__content {
    flex-direction: row;
}

/* 右对齐：(图|正文) | 年份 */
.timeline-item--right {
    flex-direction: row-reverse;
}
.timeline-item--right .timeline-item__content {
    flex-direction: row-reverse;
}

/* 年份数字 - 超大视觉锚点 */
.timeline-item__year {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0,0,0,0.07);
    letter-spacing: -0.04em;
    line-height: 1;
    user-select: none;
    transition: color 0.3s ease;
    flex-shrink: 0;
    width: 120px;
    text-align: center;
    align-self: flex-start;
    padding-top: 4px;
}

.timeline-item:hover .timeline-item__year {
    color: rgba(0,113,227,0.12);
}

/* 标签 */
.timeline-item__tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #0071E3;
    background: rgba(0,113,227,0.08);
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 16px;
}

/* 标题 */
.timeline-item__title {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

/* 描述 */
.timeline-item__desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 2;
    font-weight: 400;
}

/* 图片 */
.timeline-item__content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}

.timeline-item__body {
    flex: 1;
    min-width: 0;
}

.timeline-item__image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    flex-shrink: 0;
    width: 360px;
}

.timeline-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.timeline-item:hover .timeline-item__image img {
    transform: scale(1.04);
}

/* ─── 平板适配 ─── */
@media (max-width: 900px) {
    .timeline-rail { display: none; }
    .timeline-content { padding: 0 40px; }
    .timeline-item {
        grid-template-columns: 1fr;
        grid-template-areas: "year" "image" "body" !important;
        gap: 24px;
        margin-bottom: 80px;
    }
    .timeline-item__year { font-size: 4rem; text-align: left !important; }
    .timeline-item__image { aspect-ratio: 16/9; }
}

/* ─── 手机适配 ─── */
@media (max-width: 600px) {
    .timeline-rail { display: none !important; }
    .timeline-content {
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .about-timeline-section { padding: 60px 0 80px; }
    .timeline-item {
        display: flex;
        flex-direction: column !important;
        align-items: flex-start !important;
        position: static !important;
        gap: 0;
        margin-bottom: 30px;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .timeline-item__year {
        display: block;
        position: static !important;
        font-size: 1.8rem;
        font-weight: 700;
        color: #0071E3;
        margin-bottom: 10px;
        text-align: left !important;
        width: 100%;
        padding: 0;
        background: none;
        -webkit-text-stroke: 0;
        opacity: 1;
    }
    .timeline-item__content {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        gap: 0;
    }
    .timeline-item__body {
        width: 100%;
        margin-bottom: 20px;
    }
    .timeline-item__tag {
        font-size: 0.7rem;
        display: inline-block;
        margin-bottom: 6px;
    }
    .timeline-item__title {
        font-size: 1rem;
        font-weight: 600;
        color: #1A1A1A;
        margin-bottom: 8px;
        word-wrap: break-word;
        text-align: left;
        width: 100%;
    }
    .timeline-item__desc {
        font-size: 0.85rem;
        color: #666;
        line-height: 1.6;
        word-wrap: break-word;
        text-align: left;
        width: 100%;
    }
    .timeline-item__image {
        width: 100% !important;
        margin-top: 20px;
        position: static !important;
        aspect-ratio: unset;
        flex-shrink: 0;
    }
    .timeline-item__image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 6px;
        display: block;
    }
    .timeline-item__rail { display: none; }
    /* 清除PC端遗留的特殊布局 */
    .timeline-item--left,
    .timeline-item--right {
        flex-direction: column !important;
    }
    .timeline-item--left .timeline-item__content,
    .timeline-item--right .timeline-item__content {
        flex-direction: column !important;
    }
}
/* ─── 核心团队 ─── */
.about-team-section {
    background: #F5F7FA;
    padding: 80px 0 80px 100px;
    overflow: hidden;
}

.team-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 36px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,0.09);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    display: flex;
    flex-direction: column;
    /* 上部250px + 下部200px */
    min-height: 450px;
}
.team-card:hover {
    box-shadow: 0 12px 40px rgba(0,113,227,0.18);
    transform: translateY(-5px);
}

/* 上部蓝色色块区：填充图片 */
.team-card-header {
    height: 250px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 下部白色区域 */
.team-card-body {
    height: 200px;
    flex-shrink: 0;
    background: #fff;
    padding: 20px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-card-name {
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 10px;
    line-height: 1.5;
    padding: 0;
}

.team-card-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ─── 移动端适配 ─── */
@media (max-width: 900px) {
    .about-team-section { padding: 60px 24px; }
    .team-card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; padding: 0; }
}

@media (max-width: 600px) {
    .about-team-section { padding: 48px 16px; }
    .team-card-grid { grid-template-columns: 1fr; gap: 20px; padding: 0; }
}

/* 研发中心 */
.about-rd-section {
    background: var(--color-bg-alt);
}

.rd-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: var(--space-xl);
}

.rd-card {
    background: var(--color-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.rd-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.rd-list {
    margin-bottom: var(--space-lg);
}

.rd-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.rd-list li svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.patent-stats {
    display: flex;
    gap: var(--space-xl);
}

.patent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    flex: 1;
    padding: var(--space-lg);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.patent-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.patent-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* 资质证书展示 */
.cert-display {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 952px;
    margin-left: auto;
    margin-right: auto;
}
.cert-scroll-wrap {
    overflow: hidden;
    position: relative;
}
.cert-track {
    display: flex;
    gap: var(--space-md);
    width: max-content;
    animation: certScroll 20s linear infinite;
    /* 先暂停，等 JS 量出真实位移再启动，避免首帧用错距离导致起步抖动 */
    animation-play-state: paused;
    will-change: transform;
}
.cert-track.cert-ready {
    animation-play-state: running;
}
.cert-track:hover {
    animation-play-state: paused;
}
.cert-track-reverse {
    animation-name: certScrollReverse;
}
/* 位移量由 JS 按“一份内容的实际宽度”写入 --cert-shift，避免写死像素导致循环接缝跳动 */
@keyframes certScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * var(--cert-shift, 1632px))); }
}
@keyframes certScrollReverse {
    0%   { transform: translateX(calc(-1 * var(--cert-shift, 1632px))); }
    100% { transform: translateX(0); }
}
.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    width: 180px;
    flex-shrink: 0;
}
.cert-img-placeholder {
    width: 100%;
    aspect-ratio: 3/2;
    background: #F0F4F8;
    border: 1px solid #E0E8F0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.25s ease;
}
.cert-img-placeholder:hover {
    box-shadow: 0 4px 16px rgba(0,113,227,0.12);
    transform: translateY(-2px);
}
.cert-placeholder-icon {
    font-size: 2.2rem;
    opacity: 0.4;
}
.cert-name {
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    text-align: center;
    line-height: 1.4;
    max-width: 170px;
}

/* 售后服务 */
.about-service-section {
    background: var(--color-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background-size: cover;
    background-position: center;
    border-radius: 0px;
    border: none;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all var(--transition-normal);
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.service-card:hover {
    transform: translateY(-4px);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 227, 0.15);
    border-radius: 0px;
    color: #FFFFFF;
    margin: 0 auto var(--space-lg);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-card:hover .service-icon {
    background: rgba(0, 113, 227, 0.9);
    color: #FFFFFF;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 2;
}

.service-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* 核心客户 */
/* ========================================
   核心客户 - 全球地图设计
   ======================================== */
.about-customers-section {
    background: #000;
    padding: 80px 100px;
    overflow: hidden;
}

.customers-top {
    text-align: center;
    padding-bottom: 40px;
}

.customers-top-label {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    margin-bottom: 12px;
}

.customers-top-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.customers-top-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.customers-top-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.customers-visual {
    width: 100%;
    text-align: center;
}

.customers-world-img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

/* 地图标注点 */
.map-markers {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mark-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FF6B35;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(255,107,53,0.8);
}

.mark-label {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

.customers-bottom {
    text-align: center;
    padding-top: 30px;
}

.customers-statement {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.08em;
}

/* 客户Logo网格：列数与卡片尺寸随窗口自动伸缩
   （原来是固定 6 列 × 200px = 1300px 起，窗口一窄整块就溢出被 section 的 overflow:hidden 裁掉） */
.customers-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logo-item {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 100%;
    aspect-ratio: 19 / 9;   /* 沿用原 190×90 的卡片比例，高度由宽度换算 */
    height: auto;
    border-radius: clamp(12px, 1.6vw, 24px);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .about-customers-section {
        padding: 60px 24px;
    }
}

/* 手机：固定两列，卡片按宽度等比缩小 */
@media (max-width: 600px) {
    .customers-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* 底部CTA */
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-lg);
    padding: var(--space-sm) var(--space-xl);
    background: var(--color-primary);
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.footer-cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   About 页面响应式设计
   ======================================== */

@media (max-width: 1024px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-intro-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-intro-content {
        text-align: center;
    }

    .about-intro-content .section-label,
    .about-intro-content .section-title {
        text-align: center;
    }

    .about-highlights {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rd-grid {
        grid-template-columns: 1fr;
    }

    .cert-item {
        width: 150px;
    }
    .cert-placeholder-icon {
        font-size: 1.8rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .customer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    /* 移动端不做滚动模糊：hero 恢复成静态一屏，避免 sticky + 大半径模糊在低端机上卡顿 */
    .about-hero {
        height: auto;
    }

    .about-hero-sticky {
        position: relative;
        height: auto;
        min-height: 70vh;
        /* 移动端仍避开顶栏；背景层继续用 --nav-height 起算 */
        padding: max(140px, var(--nav-height)) 0 60px;
    }

    .about-hero-blur {
        display: none;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cert-item {
        width: 130px;
    }
    .cert-placeholder-icon {
        font-size: 1.6rem;
    }

    .patent-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .about-highlights {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .customer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customers-tabs {
        flex-direction: column;
        width: 100%;
    }

    .customer-tab {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   产品中心大图轮播
   ======================================== */
.products-carousel-section {
    background: #000;
    padding: 80px 0 0;
}

.carousel-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.carousel-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 24px;
}

.carousel-header .section-label {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: #555;
    margin-bottom: 12px;
}

.carousel-header .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.carousel-header .section-desc {
    font-size: 14px;
    color: #666;
}

.product-carousel {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #000;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 520px;
    position: relative;
}

.item-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.item-image-wrap img {
    width: 100%;
    height: 100%;
    /* 产品图是 16:9、黑底渲染图，用 contain 让整台设备完整显示并随窗口等比缩放，
       留边是黑色，与区块底色 #000 完全融合，看不到边界 */
    object-fit: contain;
    display: block;
    transform: scale(1.04);
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item.active .item-image-wrap img {
    transform: scale(1);
}

.item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px 60px 48px;
    background: #000;
    position: relative;
    z-index: 2;
}

.item-category {
    font-size: 11px;
    letter-spacing: 0.25em;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.item-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.item-desc {
    font-size: 15px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 400px;
}

.item-seo {
    font-size: 11px;
    color: #333;
    letter-spacing: 0.05em;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    line-height: 1;
}

.carousel-arrow:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.carousel-arrow-left {
    left: 24px;
}

.carousel-arrow-right {
    right: 24px;
}

.carousel-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.4s;
}

.carousel-dots .dot.active {
    background: #fff;
    width: 24px;
    border-radius: 3px;
}

@media (max-width: 900px) {
    .carousel-item {
        grid-template-columns: 1fr;
        /* 图片行按比例自适应，剩余空间交给文字，不再用 55vh/45vh 死比例 */
        grid-template-rows: auto 1fr;
    }
    .item-image-wrap {
        /* 高度 = 宽 × 9/16：窗口变窄图片整体缩小，不留大片黑色空档 */
        aspect-ratio: 16 / 9;
    }
    .item-content {
        padding: 32px 24px;
        justify-content: flex-start;
    }
    .item-title {
        font-size: 24px;
    }
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
        /* 图片行高度 = 100vw × 9/16，箭头对齐到图片中线，不再压住下方文字 */
        top: 28.125vw;
    }
}

/* ========================================
   行业方案 - 图文交错版
   ======================================== */
.industries-alt-section {
    background: var(--color-bg-alt);
    padding: 0 0 80px;
}

.industries-alt-section .section-header {
    text-align: center;
    padding: 80px 48px 64px;
    background: var(--color-bg-alt);
    opacity: 1; transform: none;
    max-width: 1200px;
    margin: 0 auto;
}

    font-size: 11px;
    letter-spacing: 0.3em;
    color: #999;
    margin-bottom: 12px;
}

.industries-alt-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.industries-alt-section .section-desc {
    font-size: 14px;
    color: #666;
}

/* 每个行业的行 */
.industry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 48px;
}

/* 反转：左文右图 */
.industry-row--reverse {
    direction: rtl;
}
.industry-row--reverse > * {
    direction: ltr;
}

.industry-row__image {
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
    height: 480px;
}

.industry-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.industry-row:hover .industry-row__image img {
    transform: scale(1.03);
}

.industry-row__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 80px;
    background: #ffffff;
    box-sizing: border-box;
    height: 480px;
}

.industry-row__label {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #999;
    margin-bottom: 20px;
}

.industry-row__title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.industry-row__desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 440px;
}

.industry-row__seo {
    font-size: 11px;
    color: #ddd;
    letter-spacing: 0.05em;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .industry-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .industry-row--reverse {
        direction: ltr;
    }
    .industry-row__image {
        height: 55vw;
        min-height: 240px;
    }
    .industry-row__content {
        padding: 40px 24px;
    }
    .industry-row__title {
        font-size: 22px;
    }
    .industries-alt-section .section-title {
        font-size: 28px;
    }
}

/* ========================================
   关于我们 - 深色科技版
   ======================================== */
.about-dark-section {
    background: #000;
    padding: 100px 0 120px;
}

.about-dark-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.about-dark-header {
    margin-bottom: 40px;
}

.about-dark-label {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: #555;
    margin-bottom: 12px;
}

.about-dark-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-dark-image {
    margin-bottom: 48px;
}

.about-dark-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-dark-content {
    max-width: 720px;
}

.about-dark-text {
    font-size: 15px;
    color: #888;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-dark-stats {
    display: flex;
    gap: 56px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.about-stat__number {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat__label {
    font-size: 12px;
    color: #555;
    letter-spacing: 0.1em;
}

@media (max-width: 900px) {
    .about-dark-inner {
        padding: 0 24px;
    }
    .about-dark-title {
        font-size: 28px;
    }
    .about-dark-image img {
        height: 56vw;
        min-height: 240px;
    }
    .about-dark-stats {
        gap: 32px;
        flex-wrap: wrap;
    }
    .about-stat__number {
        font-size: 28px;
    }
}

/* ========================================
   核心优势 - 图文版
   ======================================== */
/* ─── 核心优势 - 非对称网格 ─── */
.advantages-img-section {
    background: #F5F7FA;
    padding: 80px 0 100px;
}

.advantages-img-header {
    text-align: center;
    padding: 0 24px 56px;
}

.advantages-img-header .section-label {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: #999;
    margin-bottom: 12px;
}

.advantages-img-header .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.advantages-img-header .section-desc {
    font-size: 14px;
    color: #666;
}

/* ─── 非对称网格布局 ─── */
.advantages-asymmetric-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-auto-rows: auto;
    gap: 16px;
    align-items: stretch;
}

/* 上行左侧大图 */
.adv-grid-item--big {
    grid-row: 1;
}

/* 上行右侧上下堆叠 */
.adv-grid-item--small-stack {
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 下行三列 */
.adv-grid-item:nth-child(3) { grid-column: 1; grid-row: 2; }
.adv-grid-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.adv-grid-item:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }

/* 卡片 */
.adv-card {
    background: none;
    border-radius: 0;
    overflow: visible;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.adv-card__img {
    overflow: hidden;
    background: #E8E8E8;
    flex-shrink: 0;
    border-radius: 0;
}

.adv-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.adv-card:hover .adv-card__img img {
    transform: scale(1.04);
}

.adv-card__body {
    padding: 16px 0 0;
    flex: 1;
}

.adv-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.adv-card__desc {
    font-size: 13px;
    color: #888;
    line-height: 1.65;
}

/* 上行左侧大图高度 */
.adv-grid-item--big .adv-card__img { height: 420px; }

/* 右侧上下两张小图对半分 */
.adv-grid-item--small-stack .adv-card__img { height: calc((420px - 16px) / 2); }

/* 下行三列图片高度 */
.adv-grid-item:nth-child(3) .adv-card__img,
.adv-grid-item:nth-child(4) .adv-card__img,
.adv-grid-item:nth-child(5) .adv-card__img { height: 240px; }

/* ─── 平板适配 ─── */
/* ─── 平板适配 ─── */
@media (max-width: 900px) {
    .advantages-asymmetric-grid {
        grid-template-columns: 1fr 1fr;
        padding: 0 24px;
        gap: 14px;
    }

    .adv-grid-item--big { grid-column: 1 / 2; grid-row: 1; }
    .adv-grid-item--small-stack { grid-column: 2 / 3; grid-row: 1; }

    .adv-grid-item--big .adv-card__img { height: 320px; }
    .adv-grid-item--small-stack .adv-card__img { height: calc((320px - 14px) / 2); }

    .adv-grid-item:nth-child(3) { grid-column: 1 / 2; grid-row: 2; }
    .adv-grid-item:nth-child(4) { grid-column: 2 / 3; grid-row: 2; }
    .adv-grid-item:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }

    .adv-grid-item:nth-child(3) .adv-card__img,
    .adv-grid-item:nth-child(4) .adv-card__img,
    .adv-grid-item:nth-child(5) .adv-card__img { height: 240px; }
}

/* ─── 手机适配：全部单列 ─── */
@media (max-width: 600px) {
    .advantages-asymmetric-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 20px;
    }

    .adv-grid-item--big,
    .adv-grid-item--small-stack,
    .adv-grid-item:nth-child(3),
    .adv-grid-item:nth-child(4),
    .adv-grid-item:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
    }

    .adv-grid-item--big .adv-card__img,
    .adv-grid-item--small-stack .adv-card__img,
    .adv-grid-item:nth-child(3) .adv-card__img,
    .adv-grid-item:nth-child(4) .adv-card__img,
    .adv-grid-item:nth-child(5) .adv-card__img {
        height: 56vw;
        min-height: 200px;
    }
}

/* ============================================================
   内容保护（client-side）
   ============================================================
   仅降低被随手复制 / 拖拽 / 右键另存的成本，不构成真正的安全。
   会按 F12 打开 DevTools 的人都能绕过（Elements 面板看 DOM、
   Network 面板拿图片 URL、截图 / 录屏等更是无解）。
   真正的内容保护要在服务端做（签名 URL、水印、DRM 等）。
   ============================================================ */

html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 表单输入、可编辑区域、放行元素允许选中 */
input, textarea, select, [contenteditable="true"], .allow-select {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* 图片：禁拖拽、禁 iOS 长按、点击穿透到父元素（保留外层 click） */
img {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  pointer-events: none !important;
}

video {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

/* 资讯详情正文：再次显式声明，避免被动态渲染覆盖 */
.article-wrap,
.article-wrap *,
.news-detail .article-body,
.news-detail .article-body * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* 语言切换器：静态写在 HTML 导航栏，切页即可见，不靠 JS 注入 */
.lang-switcher-slot {
    display: none; /* 旧占位兼容；新页已改为真实 .lang-switcher */
}
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin-left: 6px;
    border: 1px solid var(--color-border, #E5E7EB);
    border-radius: 999px;
    background: var(--color-bg, #FFFFFF);
    color: var(--color-text, #1A1A1A);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.lang-switcher:hover {
    border-color: var(--color-primary, #0071E3);
    color: var(--color-primary, #0071E3);
    transform: translateY(-1px);
}

.lang-switcher__icon {
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
}

.lang-switcher__label {
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .lang-switcher {
        padding: 6px 8px;
        margin-left: 4px;
    }
    .lang-switcher__label {
        display: none;
    }
    .lang-switcher-slot {
        width: 32px;
        margin-left: 4px;
    }
}

/* 固定导航下方的页面壳：统一顶距，避免各页写死 72px 与真实 90px 顶栏错位闪缝 */
.page-wrap {
    padding-top: var(--nav-height);
}

/* ─── 资讯 / 联系等页首屏柔和入场 ─── */
.page-hero {
    --hero-bg-opacity: 1;
}
.page-hero .page-hero-bg {
    opacity: 0;
    transform: scale(1.05);
    will-change: opacity, transform;
    transition:
        opacity 1s ease,
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-hero.is-entered .page-hero-bg {
    opacity: var(--hero-bg-opacity);
    transform: scale(1);
}
.page-hero .page-hero-content {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.85s ease 0.2s,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.page-hero.is-entered .page-hero-content {
    opacity: 1;
    transform: none;
}

/* 首屏下方内容块柔和滑入 */
.soft-enter {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.7s ease,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.soft-enter.is-entered {
    opacity: 1;
    transform: none;
}

/* ─── 产品参数详情（双列成对表格）─── */
.params-section { margin-top: 24px; }
.product-block-section + .product-block-section { margin-top: 32px; }
.page-title-en { display: none; width: 100%; }
.page-wrap .page-header { padding-top: 50px; padding-bottom: 42px; }
.params-title { font-size: 1.1rem; font-weight: 700; color: #1A1A1A; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--color-primary, #0071E3); display: inline-block; }
.params-table { width: 100%; border: 1px solid #E5E7EB; border-radius: 8px; overflow: hidden; background: #fff; }
.params-row { display: grid; grid-template-columns: 1fr 1.5fr 1px 1fr 1.5fr; border-bottom: 1px solid #E5E7EB; }
.params-row:last-child { border-bottom: none; }
.params-cell { padding: 14px 16px; font-size: 14px; line-height: 1.5; word-break: break-word; }
.params-label { background: #F5F7FA; color: #1A1A1A; font-weight: 500; }
.params-value { background: #fff; color: #1A1A1A; }
.params-divider { background: #E5E7EB; }
.params-row:hover .params-label { background: #EDF1F7; }

@media (max-width: 768px) {
    .params-row { grid-template-columns: 1fr 1.5fr 1px 1fr 1.5fr; }
    .params-cell { padding: 10px 8px; font-size: 12px; }
}

/* ── 案例视频自绘控件 ─────────────────────────────────────────
   移动端浏览器（安卓各家内置浏览器 / WebView）会忽略
   controlsList="nodownload"，原生控件里始终带下载按钮，
   且它位于 shadow DOM 内，CSS 无法选中隐藏。
   所以播放后不用原生 controls，改用这套自绘控件，彻底没有下载入口。 */
.case-video-wrap {
    position: relative;
}
.case-video-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.case-video-wrap.is-started .case-video-bar {
    opacity: 1;
    visibility: visible;
}
.cvb-btn {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.cvb-btn svg { width: 22px; height: 22px; display: block; }
.cvb-btn:active { opacity: 0.65; }
.cvb-progress {
    flex: 1 1 auto;
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}
.cvb-progress::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.34);
}
.cvb-fill {
    position: relative;
    height: 4px;
    width: 0;
    border-radius: 2px;
    background: #fff;
}
.cvb-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.cvb-time {
    flex: 0 0 auto;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .case-video-bar { gap: 2px; padding: 6px 6px 8px; }
    .cvb-btn { width: 34px; height: 34px; }
    .cvb-time { font-size: 11px; }
}
/* 容器全屏：视频铺满，控件条保留在底部可用 */
.case-video-wrap:fullscreen,
.case-video-wrap:-webkit-full-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 0;
}
.case-video-wrap:fullscreen video,
.case-video-wrap:-webkit-full-screen video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
}
