/* 全局颜色变量 */
:root {
    /* 颜色变量 */
    --primary-color: #BA0C2F;
    --primary-color-dark: #940A26;
    --primary-color-rgba: rgba(186, 12, 47, 0.3);
    --white-color: #FFFFFF;
    --black-color: #000000;
    --grey-light: #f5f5f5;
    --grey-dark: #333333;
    --grey-medium: #666666;
    --grey-soft: #cccccc;
    --transparent-white: rgba(255, 255, 255, 0.8);
    --transparent-black: rgba(0, 0, 0, 0.5);
    
    /* 间距变量 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* 过渡变量 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 阴影变量 */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* 圆角变量 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 30px;
    --radius-full: 1000px;
    
    /* 布局变量 */
    --max-width: 1400px;
    --container-padding: 5%;
    
    /* 字体大小变量 */
    --fs-xs: 12px;
    --fs-sm: 14px;
    --fs-base: 16px;
    --fs-md: 18px;
    --fs-lg: 20px;
    --fs-xl: 24px;
    --fs-xxl: 32px;
    --fs-xxxl: 42px;
    --fs-xxxxl: 48px;
    --fs-huge: 80px;
    
    /* 字重变量 */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 700;
    
    /* 层级变量 */
    --z-base: 1;
    --z-above: 2;
    --z-top: 10;
    --z-popup: 100;
    --z-modal: 1000;
    --z-overlay: 2000;
}

/* 导入字体 - 保持原有代码 */
@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../fonts/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../fonts/HarmonyOS_Sans_SC_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../fonts/HarmonyOS_Sans_SC_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../fonts/HarmonyOS_Sans_SC_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINPro';
    src: url('../fonts/DINPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINPro';
    src: url('../fonts/DINPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Fors';
    src: url('../fonts/TTFors-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'HarmonyOS Sans SC', sans-serif;
    color: var(--black-color);
    line-height: 1.6;
    padding-top: 0;
    transition: padding-top var(--transition-normal);
    overflow-x: hidden;
    text-rendering: optimizeSpeed;
}

body.search-active {
    padding-top: 70px;
}

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

ul {
    list-style: none;
}

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

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

/* 通用布局类 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* 通用按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 32px;
    border-radius: var(--radius-lg);
    font-weight: var(--fw-medium);
    transition: all var(--transition-normal);
    position: relative;
    overflow: visible;
}

.btn::after {
    content: '';
    background: url('../images/icons/ui/arrow-right.svg') no-repeat center center;
    width: 0;
    height: 24px;
    margin-left: 0;
    opacity: 0;
    transition: all var(--transition-normal);
    background-size: 24px;
    position: relative;
    display: inline-block;
    filter: brightness(0) invert(1);
    will-change: width, margin, opacity;
}

.btn:hover {
    background-color: var(--primary-color-dark);
    padding-right: 30px;
}

.btn:hover::after {
    width: 24px;
    margin-left: var(--spacing-sm);
    opacity: 1;
}

/* 通用更多按钮类 */
.more-btn, .product-more-btn {
    display: inline-block;
    color: var(--primary-color);
    font-weight: var(--fw-medium);
    font-size: var(--fs-sm);
    position: relative;
    width: fit-content;
}

.more-btn:after, .product-more-btn:after, nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal), left var(--transition-normal);
}

.more-btn:hover:after, .product-more-btn:hover:after, nav ul li a:hover:after {
    width: 100%;
}

/* 产品更多按钮 */
.product-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 32px;
    margin-top: 20px;
    background-color: var(--white-color);
    border-radius: var(--radius-lg);
    font-size: var(--fs-base);
}

.product-more-btn::after {
    content: '';
    background: url('../images/icons/ui/arrow-right-red.svg') no-repeat center center;
    width: 0;
    height: 24px;
    margin-left: 0;
    margin-bottom: 4px;
    opacity: 0;
    transition: all var(--transition-normal);
    background-size: 24px;
    position: relative;
    display: inline-block;
}

.product-more-btn:hover {
    background-color: var(--grey-light);
}

.product-more-btn:hover::after {
    width: 24px;
    margin-left: 8px;
    margin-bottom: 4px;
    opacity: 1;
}

/* 轮廓按钮样式 */
.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border: 2px solid var(--primary-color-rgba);
    border-radius: var(--radius-full);
    color: #cc0000;
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    transition: all var(--transition-normal);
}

.btn-outline:hover {
    border-color: rgba(204, 0, 0, 0.8);
}

.btn-text {
    margin-right: 15px;
}

.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: #cc0000;
    border-radius: 50%;
    transition: transform var(--transition-normal);
}

.btn-icon img {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
}

.btn-outline:hover .btn-icon {
    transform: scale(1.2);
}

/* 联系按钮 */
.contact-btn {
    background: var(--white-color);
    color: var(--primary-color);
    align-self: flex-start;
    font-weight: var(--fw-medium);
    padding: 12px 30px;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.contact-btn:hover {
    background: var(--white-color);
}

/* 通用标题样式 */
.section-header {
    position: relative;
    display: inline-block;
    flex-direction: column;
}

.section-header h2 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

/* 特定颜色标题 */
.about-us-section .section-header h2,
.products-header h2 {
    color: var(--white-color);
}

.about-us-section .section-header h2::after,
.products-header h2::after {
    background-color: var(--white-color);
}

/* 顶部信息栏 */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 0;
}

.top-bar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: flex-end;
}

.top-bar-right {
    display: flex;
}

.top-link {
    margin-left: 20px;
    font-size: var(--fs-sm);
    display: flex;
    align-items: center;
}

.top-link .icon {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

/* 主导航 */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    z-index: var(--z-modal);
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 40px;
}

/* 导航菜单 */
nav {
    margin: 0 auto;
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    position: relative;
    margin: 0 15px;
}

nav ul li a {
    font-weight: var(--fw-regular);
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-fast);
}

nav ul li a:hover {
    color: var(--primary-color);
    font-weight: var(--fw-bold);
}

nav ul li a:after {
    bottom: -5px;
}

nav ul li a.hover-leave:after {
    width: 0;
    left: 100%;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white-color);
    width: 200px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-popup);
    border-radius: var(--radius-md);
    text-align: center;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu ul {
    display: block;
    padding: 15px 0;
}

.dropdown-menu ul li {
    margin: 0;
}

.dropdown-menu ul li a {
    display: block;
    padding: 10px 20px;
    font-weight: normal;
    font-size: 15px;
    opacity: 0.8;
    transition: all var(--transition-fast);
    position: relative;
}

.dropdown-menu ul li a::before {
    content: '';
    background: url('../images/icons/ui/arrow-right.svg') no-repeat center center;
    width: 0;
    height: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all var(--transition-fast);
    filter: brightness(0) saturate(100%) invert(13%) sepia(92%) saturate(3052%) hue-rotate(341deg) brightness(90%) contrast(98%);
    background-size: 20px;
}

.dropdown-menu ul li a:hover {
    background-color: rgba(245, 245, 245, 0.8);
    font-weight: var(--fw-regular);
    padding-right: 42px;
}

.dropdown-menu ul li a:hover::before {
    width: 20px;
    opacity: 1;
}

/* 下拉菜单中的链接不显示下划线 */
.dropdown-menu ul li a:after {
    display: none !important;
}

/* 当悬停在子菜单上时，保持父菜单项高亮 */
.dropdown:hover > a {
    color: var(--primary-color);
    font-weight: var(--fw-bold);
}

/* 确保当悬停在下拉菜单时，父级导航项的下划线保持显示 */
.dropdown:hover > a:after {
    width: 100% !important;
    left: 0 !important;
    transition: none !important;
}

/* 右侧导航 */
.header-right {
    display: flex;
    align-items: center;
}

/* 语言切换 */
.language-switch {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.globe-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.language-switch a {
    margin: 0 2px;
    color: var(--grey-medium);
    font-size: 15px;
}

.language-switch a.active {
    color: var(--primary-color);
    font-weight: var(--fw-medium);
}

.language-switch span {
    color: var(--grey-soft);
}

/* 搜索按钮 */
.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
    cursor: pointer;
}

.search-icon {
    width: 24px;
    height: 24px;
}

.search-btn:hover {
    transform: scale(1.1);
}

/* 搜索框 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--primary-color);
    z-index: var(--z-overlay);
    transform: translateY(-100%);
    transition: transform var(--transition-normal);
}

.search-overlay.active {
    transform: translateY(0);
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}

.search-form {
    display: flex;
    width: 90%;
}

.search-input {
    width: 90%;
    padding: 12px 20px;
    font-size: var(--fs-base);
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white-color);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    outline: none;
}

.search-submit {
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    border: none;
    cursor: pointer;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: background-color var(--transition-normal);
}

.search-submit:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.close-search {
    position: absolute;
    right: 10%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.close-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* 主横幅 */
.hero {
    height: calc(100vh - 100px);
    min-height: 700px;
    position: relative;
    background-image: url('../images/banners/earth-view.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="5" viewBox="0 0 5 5"><circle cx="2.5" cy="2.5" r="0.5" fill="white" opacity="0.10"/></svg>');
    background-size: 6px 6px;
    pointer-events: none;
    z-index: var(--z-above);
}

/* 轮播容器 */
.slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: var(--z-base);
    contain: layout style paint;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity var(--transition-slow);
    display: flex;
    align-items: center;
    will-change: opacity;
    z-index: var(--z-base);
}

.slide.active {
    opacity: 1;
    z-index: var(--z-above);
}

/* 轮播内容 */
.hero-content {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: var(--z-above);
    text-align: right;
}

.hero h1 {
    font-size: var(--fs-xxxxl);
    font-weight: var(--fw-medium);
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero p {
    font-size: var(--fs-xl);
    margin-bottom: 30px;
    margin-left: auto;
    font-weight: var(--fw-light);
}

/* 轮播控制组件 */
.slider-controls {
    position: absolute;
    bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--z-top);
    padding: 0 var(--container-padding);
    max-width: var(--max-width);
    left: 50%;
    transform: translateX(-50%);
}

/* 进度指示器和页码 */
.progress-indicator-bar {
    display: flex;
    align-items: center;
}

.slide-number {
    font-family: 'DINPro', sans-serif;
    font-weight: var(--fw-bold);
    font-size: var(--fs-xl);
    color: var(--white-color);
    margin-right: 15px;
}

.progress-track {
    display: flex;
    gap: 10px;
}

.track-item {
    position: relative;
    width: 90px;
    height: 3px;
    background-color: var(--transparent-white);
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.track-item.active .fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    animation: none;
    transform: translateZ(0);
    will-change: width;
}

/* 进度条动画 */
@keyframes fillProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* 轮播控制按钮 */
.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color var(--transition-normal);
    z-index: var(--z-popup);
}

.slider-nav-btn:hover {
    background-color: var(--primary-color);
}

.slider-nav-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* 视频轮播 */
.video-slide {
    position: relative;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-base);
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--transparent-black);
    z-index: var(--z-above);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播背景 */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: var(--z-base);
}

.slide-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--transparent-black);
}

/* 轮播内容对齐 */
.video-slide .hero-content {
    text-align: right;
}

.slide:not(.video-slide) .hero-content {
    text-align: left;
}

.slide:not(.video-slide) .hero-content p {
    margin-left: 0;
    margin-right: auto;
}

/* 图标样式 */
.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

/* 产品展示 */
.products-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    min-height: 200vh;
    z-index: 0;
    margin-top: -2vh;
}

/* 背景和标题固定部分 */
.products-bg-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
}

.products-bg-sticky {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: var(--z-base);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    will-change: position, opacity;
}

/* 粘性状态样式 */
.products-section.initialized .products-bg-sticky {
    opacity: 1;
}

.products-bg-sticky.is-sticky {
    position: fixed;
    top: var(--header-height, 0);
    height: calc(100vh - var(--header-height, 0));
}

.products-bg-sticky.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease-out;
    pointer-events: none;
}

.products-bg-sticky.is-hidden {
    display: none;
}

/* 视频背景 */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-base);
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.red-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    mix-blend-mode: multiply;
    z-index: var(--z-above);
}

/* 标题部分 */
.products-header-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 28%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: var(--z-above);
    padding: 0 30px;
}

.products-header-wrapper .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.products-header {
    max-width: 800px;
    text-align: center;
    color: var(--white-color);
    padding: 0;
}

.products-header h3 {
    font-size: var(--fs-xxl);
    font-weight: var(--fw-bold);
    margin-bottom: 25px;
    margin-top: 0;
}

.products-header p {
    font-size: var(--fs-base);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 内容部分 - 产品卡片 */
.products-content-wrapper {
    position: relative;
    z-index: var(--z-above);
    padding: 0;
}

.space-adjuster {
    margin-top: 60vh;
}

.products-cards-container {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    z-index: var(--z-top);
    background-color: transparent;
}

/* 卡片容器 */
.product-card-wrapper {
    margin: 160px 0;
    max-width: 30%;
}

.right-card {
    margin-left: auto;
    margin-right: 0;
}

.left-card {
    margin-right: auto;
    margin-left: 0;
}

/* 产品卡片 */
.product-card {
    background-color: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    padding: 0;
    position: relative;
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid var(--primary-color);
}

.product-card h3 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    margin: 25px 25px 10px;
    color: var(--black-color);
}

.product-card p {
    font-size: var(--fs-base);
    line-height: 1.6;
    margin: 0 25px 20px;
    color: var(--black-color);
    opacity: 0.8;
}

/* 产品卡片中的更多按钮 */
.product-card .more-btn {
    margin: 0 25px 25px;
}

.product-number {
    position: absolute;
    top: 32px;
    left: 32px;
    color: var(--primary-color);
    font-size: 50px;
    font-weight: var(--fw-bold);
    font-family: 'din pro', sans-serif;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-base);
}

/* 应用场景部分 */
.applications-section {
    position: relative;
    z-index: var(--z-popup);
    background-color: #f9f9f9;
}

.applications-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 30px;
}

.applications-section .app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* 基础卡片样式 */
.applications-section .app-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 红色背景卡片 */
.applications-section .app-item.red-bg {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 20px;
}

/* 图片背景卡片 */
.applications-section .app-item.with-image {
    position: relative;
    padding: 0;
}

.applications-section .app-item.with-image .background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: var(--z-base);
}

.applications-section .app-item.with-image .app-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: var(--z-above);
    transition: background 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

/* 卡片标题样式 */
.applications-section .app-item h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    margin: 0;
    color: var(--white-color);
    z-index: var(--z-top);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 图标样式 */
.applications-section .app-item .app-icon,
.applications-section .app-item .arrow-icon {
    display: block;
    visibility: visible;
    opacity: 1;
    z-index: var(--z-top);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.applications-section .app-item .app-icon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
}

.applications-section .app-item .app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.applications-section .app-item .arrow-icon {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
}

.applications-section .app-item .arrow-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

/* 悬停效果 */
.applications-section .app-item:hover,
.partners-section .partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.applications-section .app-item:hover .app-icon,
.applications-section .app-item:hover .arrow-icon {
    transform: scale(1.1);
}

.applications-section .app-item.with-image:hover .background-img {
    transform: scale(1.05);
}

.applications-section .app-item.with-image:hover .app-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

/* 公司数据 */
.company-stats {
    background-image: url('../images/banners/industrial-equipment.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    padding: 80px 0;
    position: relative;
}

.company-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--transparent-black);
}

.stats-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
    position: relative;
    z-index: var(--z-above);
}

.stats-container h2 {
    font-size: var(--fs-xxl);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 40px;
}

/* 统计项样式 */
.stat-item {
    display: flex;
    align-items: flex-start;
    width: auto;
}

.stat-item h3 {
    font-family: 'DINPro', sans-serif;
    font-weight: var(--fw-bold);
    font-size: var(--fs-xxxl);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.stat-item p {
    font-size: var(--fs-base);
}

.plus {
    font-size: var(--fs-xl);
    margin-left: 2px;
}

/* 关于我们部分的统计项 */
.stat-icon {
    margin-right: 18px;
    margin-top: 32px;
}

.stat-icon img {
    width: 48px;
    height: 48px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--white-color);
    opacity: 0.7;
    margin-bottom: 5px;
}

.stat-value {
    display: flex;
    align-items: baseline;
    margin-bottom: 5px;
}

.stat-number {
    font-family: 'DINPro', sans-serif;
    font-weight: normal;
    font-size: var(--fs-huge);
    line-height: 1;
    color: var(--white-color);
    margin-left: -6px;
}

.stat-plus {
    font-family: 'DINPro', sans-serif;
    font-size: var(--fs-xl);
    color: var(--white-color);
    position: relative;
    top: -5px;
}

.stat-unit {
    font-family: 'DINPro', sans-serif;
    font-size: var(--fs-xl);
    color: var(--white-color);
    margin-left: 5px;
}

.stat-desc {
    font-size: var(--fs-md);
    color: var(--white-color);
}

/* 合作伙伴 */
.partners-section {
    padding: 80px 0 140px 0;
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.partners-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partners-section .section-header h3 {
    font-size: var(--fs-xxl);
    font-weight: var(--fw-bold);
    color: var(--primary-color);
}

.partners-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: var(--z-above);
}

/* 合作伙伴列表 */
.partners-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.partners-logos-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

/* 渐变遮罩 */
.partners-logos-container::before,
.partners-logos-container::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 200px;
    z-index: var(--z-base);
    pointer-events: none;
}

.partners-logos-container::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-logos-container::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

/* 滚动行 */
.partners-row {
    display: flex;
    width: max-content;
    padding: 10px 0;
}

.scroll-left {
    animation: scrollLeft 40s linear infinite;
}

.scroll-right {
    animation: scrollRight 40s linear infinite;
}

.partners-row:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* 合作伙伴Logo */
.partner-logo {
    display: flex;
    padding: 8px 46px 8px 8px;
    align-items: center;
    gap: 20px;
    border-radius: var(--radius-full);
    background: #F4F4F4;
    position: relative;
    transition: all var(--transition-normal);
    margin: 0 5px;
    flex-shrink: 0;
    border: 1px solid #f0f0f0
}

.partner-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.partner-category {
    font-size: var(--fs-xs);
    color: var(--grey-dark);
    opacity: 0.5;
    font-weight: var(--fw-regular);
    white-space: nowrap;
}

.logo-container {
    display: flex;
    width: 90px;
    height: 90px;
    padding: 45px 7px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    aspect-ratio: 1/1;
    border-radius: var(--radius-full);
    background: var(--white-color);
}

.partner-logo img {
    max-width: 70px;
    max-height: 60px;
    object-fit: contain;
}

.partner-name {
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    color: var(--black-color);
    white-space: nowrap;
}

/* 合作伙伴描述 */
.partners-description {
    max-width: 50%;
    align-self: flex-end;
    padding-bottom: 80px;
}

.partners-description p:first-child {
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--black-color);
    font-weight: var(--fw-light);
    line-height: 1.5;
    font-family: 'HarmonyOS Sans SC', sans-serif;
}

.partners-description p:last-child,
.partner-cooperation-text {
    margin-bottom: 20px;
    font-size: var(--fs-lg);
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    font-family: 'HarmonyOS Sans SC', sans-serif;
}

.partners-description .btn {
    margin-top: 30px;
}

/* 背景文字 */
.partners-background-text {
    position: absolute;
    bottom: 140px;
    left: 0;
    font-family: "TT Fors DemiBold", sans-serif;
    font-size: 200px;
    font-style: normal;
    font-weight: var(--fw-regular);
    line-height: normal;
    opacity: 0.05;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(186, 12, 47, 0.00) 119.68%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 0;
}

/* 公司介绍 */
.about-us-section {
    position: relative;
    padding: 80px 0 140px 0;
    color: var(--white-color);
    overflow: hidden;
    height: 1036px;
    display: flex;
    align-items: start;
    --bg-scale: 1.4; /* 初始缩放值 */
}

/* 固定背景层 - 负责视差效果 */
.about-us-section::before {
    content: '';
    position: fixed; /* 使用fixed而不是absolute，确保真正的视差效果 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/about-background.jpg') no-repeat center 100%;
    background-size: cover;
    z-index: -3; /* 让它在所有内容之下 */
    will-change: transform;
}

/* 暗色遮罩 - 始终跟随section */
.about-us-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* 半透明黑色遮罩 */
    z-index: 0; /* 在背景之上，内容之下 */
}

.about-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: var(--z-above); /* 确保内容在背景和遮罩之上 */
}

.about-main-content {
    display: flex;
    flex-direction: column;
    margin-top: 120px;
}

.about-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
    gap: 8%;
}

.about-text {
    width: 40%;
}

.about-text h3 {
    font-size: 36px;
    font-weight: var(--fw-medium);
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--white-color);
}

.about-text p {
    font-size: var(--fs-md);
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.about-description {
    width: 60%;
}

.about-description p {
    font-size: var(--fs-base);
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.about-description .btn {
    margin-top: 20px;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* 联系我们 */
.contact-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
}

.contact-text-area {
    width: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 80px 5% 120px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-text-area .section-header {
    text-align: left;
}

.contact-text-area .section-header h2 {
    font-size: 28px;
    font-weight: var(--fw-bold);
    color: var(--white-color);
    margin-bottom: 0;
}

.contact-text-area .section-header h2::after {
    display: none; /* 移除下划线 */
}

.contact-desc {
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-detail {
    font-size: var(--fs-base);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-image-area {
    width: 50%;
    overflow: hidden;
}

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

/* 页脚 */
footer {
    background-color: var(--white-color);
    color: var(--grey-dark);
    padding: 0;
    border-top: none;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 5% 180px 5%;
}

.footer-logo {
    padding: 0;
    margin: 0;
}

.footer-logo img {
    height: 140px;
    width: auto;
}

/* 页脚导航容器 */
.footer-nav-container {
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin-bottom: 2rem;
}

.footer-nav-column {
    flex: 0 0 30%;
}

.footer-nav-group h4 {
    font-size: var(--fs-md);
    font-weight: normal;
    margin-bottom: 20px;
    color: var(--grey-dark);
}

.footer-nav-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-group ul li {
    margin-bottom: 6px;
}

.footer-nav-group ul li a {
    color: var(--grey-dark);
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color var(--transition-normal);
}

.footer-nav-group ul li a:hover {
    color: var(--primary-color);
}

.footer-nav-primary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-primary a, .footer-nav-primary-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: var(--fs-md);
    font-weight: normal;
    transition: opacity var(--transition-normal);
}

.footer-nav-primary a:hover, .footer-nav-primary-link:hover {
    opacity: 0.8;
}

.footer-nav-primary-link {
    display: block;
    margin-bottom: 16px;
}

.footer-contact {
    text-align: left;
    min-width: 220px;
}

.contact-label {
    font-size: var(--fs-sm);
    color: var(--grey-medium);
    margin: 0 0 5px;
}

.contact-number {
    font-size: var(--fs-xxl);
    font-weight: var(--fw-bold);
    font-family: 'DINPro', sans-serif;
    color: var(--primary-color);
    margin: 0 0 8px;
    line-height: 1;
}

.contact-email {
    display: flex;
    font-size: var(--fs-base);
    color: var(--grey-dark);
    margin-bottom: 100px;
}

.contact-email .icon {
    width: 24px;
    height: 24px;
    margin-right: 6px;
    margin-top: 0;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

/* 普通社交链接图标样式 - 不包括微信 */
.social-link:not(.wechat-link) img {
    width: 100%;
    transition: opacity var(--transition-normal);
}

.social-link:not(.wechat-link):hover img {
    opacity: 0.8;
}

/* 微信二维码图标样式 */
.wechat-link {
    position: relative;
}

.wechat-link img {
    width: 100%;
    transition: transform var(--transition-normal);
}

.wechat-link:hover img {
    transform: scale(1.1);
    opacity: 0.9;
}

/* 微信二维码弹出窗口样式 */
.qrcode-popup {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white-color);
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 144px;
    height: 144px;
    display: none;
    z-index: var(--z-popup);
}

.qrcode-popup:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    margin-left: -6px;
    width: 12px;
    height: 12px;
    background-color: var(--white-color);
    transform: rotate(45deg);
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.05);
}

.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.wechat-link:hover .qrcode-popup {
    display: block;
}

.copyright {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 16px 10%;
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-xs);
}

.copyright p {
    margin: 0;
}

.copyright p a {
    color: var(--white-color);
    text-decoration: none;
    transition: opacity var(--transition-normal);
}

.copyright p a:hover {
    opacity: 0.8;
}

/* 统一媒体查询 */
@media (max-width: 1280px) {
    .footer-nav-container {
        margin-left: 40px;
        margin-right: 40px;
    }
    
    .footer-nav-left {
        gap: 40px;
    }
    
    .partners-background-text {
        font-size: 150px;
    }
}

@media (max-width: 1200px) {
    .products-header {
        width: 80%;
        min-width: auto;
    }
    
    .products-container {
        flex-direction: column;
    }
    
    .left-column, .right-column {
        width: 100%;
    }
    
    .right-column {
        margin-top: 30px;
    }
    
    .partners-list {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .applications-section .app-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo img {
        height: 100px;
    }
    
    .footer-nav-container {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        gap: 30px;
    }
    
    .footer-nav-right {
        margin-top: 20px;
    }
    
    .footer-nav-primary {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .contact-email {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .product-card-wrapper {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    .products-header h2 {
        font-size: 36px;
    }
    
    .products-header h3 {
        font-size: var(--fs-md);
    }
    
    .space-adjuster {
        margin-top: calc(100vh + 30px);
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-text-area, 
    .contact-image-area {
        width: 100%;
    }
    
    .contact-text-area {
        padding: 60px 5%;
    }
    
    .contact-image-area {
        height: 400px;
    }
    
    .about-us-section {
        height: auto;
        padding: 60px 0 100px;
    }
    
    .about-main-content {
        margin-top: 80px;
    }
    
    .about-text, .about-description {
        width: 100%;
    }
    
    .about-text {
        margin-bottom: 40px;
    }
    
    .stat-item {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .section-header {
        width: 100%;
        max-width: 100%;
    }
    
    .about-text h3 {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-unit, .stat-plus {
        font-size: var(--fs-lg);
    }
}

@media (max-width: 900px) {
    .products-header {
        width: 70%;
        min-width: auto;
    }
    
    .product-card h3,
    .product-card p,
    .product-card .more-btn {
        padding-left: 30px;
        padding-right: 30px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .applications-section .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-content {
        flex-direction: column;
    }
    
    .scroll-left, .scroll-right {
        animation-duration: 30s;
    }
    
    .partners-description p {
        font-size: var(--fs-lg);
    }

    .partners-background-text {
        font-size: 120px;
        bottom: -30px;
    }
    
    .footer-nav-left {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-us-section {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .products-header {
        width: 100%;
    }
    
    .product-card h3,
    .product-card p,
    .product-card .more-btn {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .applications-section .app-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .partners-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scroll-left, .scroll-right {
        animation-duration: 25s;
    }
    
    .partner-logo {
        padding: 8px 30px 8px 8px;
    }
    
    .logo-container {
        width: 70px;
        height: 70px;
        padding: 30px 5px;
    }
    
    .partners-description p {
        font-size: var(--fs-md);
    }

    .partners-background-text {
        font-size: 80px;
        opacity: 0.03;
        bottom: 0;
    }
    
    .partner-cooperation-text {
        font-size: var(--fs-md);
    }
    
    .contact-text-area .section-header h2 {
        font-size: var(--fs-xl);
    }
    
    .contact-desc {
        font-size: var(--fs-md);
    }
    
    .contact-image-area {
        height: 300px;
    }
    
    .footer-nav-primary {
        flex-direction: column;
        gap: 12px;
    }
    
    .copyright {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    :root {
        --fs-xxxl: 36px; /* 较小屏幕上的大字体尺寸缩小 */
        --fs-xxl: 28px;
        --fs-xl: 22px;
    }
}