/* 
===========================================
HEXASci-Set 网站样式文件 (styles.css)
===========================================

这个文件控制整个网站的外观和布局
作为编程小白，您可以通过修改这里的值来改变网站的样式

常用修改指南：
1. 颜色修改：在 :root 部分修改颜色变量
2. 字体大小：查找 font-size 属性进行修改
3. 间距调整：查找 margin 和 padding 属性
4. 宽度高度：查找 width 和 height 属性

注意：修改前建议备份此文件！
*/

/* 
===========================================
颜色变量定义区域
===========================================
这里定义了网站使用的所有颜色
修改这些颜色值可以改变整个网站的配色方案
*/
:root {
    /* 主要品牌颜色 - 这些是网站的主色调 */
    --brand-primary: #004985;      /* 深蓝色 - 主要按钮、标题等 */
    --brand-secondary: #037BC7;    /* 中蓝色 - 次要元素 */
    --brand-light: #F0F8FF;        /* 浅蓝色 - 背景色 */
    
    /* 强调色 - 用于突出重要内容 */
    --accent-cool: #00A7D8;        /* 冷色调强调色 */
    --accent-fresh: #33B3A8;       /* 清新绿色 */
    --accent-warm: #E46F59;        /* 暖色调强调色 */
    
    /* 中性色 - 用于文字、背景、边框等 */
    --neutral-0: #FFFFFF;          /* 纯白色 */
    --white: #ffffff;              /* 兼容白色变量 */
    --neutral-50: #F6F7F8;         /* 极浅灰 */
    --neutral-100: #EDEFF1;        /* 浅灰 */
    --neutral-200: #D9DDE1;        /* 较浅灰 */
    --neutral-300: #C5CBD2;        /* 中浅灰 */
    --neutral-400: #AFB8C1;        /* 中灰 */
    --neutral-500: #94A0AC;        /* 标准灰 */
    --neutral-600: #768595;        /* 中深灰 */
    --neutral-700: #526272;        /* 深灰 */
    --neutral-800: #323B44;        /* 很深灰 */
    --neutral-900: #191C1F;        /* 接近黑色 */
    
    /* 文字颜色系统 - VI配色方案 (Scheme A: 专业信赖) */
    
    /* 1. 标题颜色：使用品牌主色，强化品牌识别 */
    --text-heading: var(--brand-primary);  /* #004985 */
    
    /* 2. 正文颜色：使用深灰色，替代原来的蓝色，提升长文阅读体验 */
    --text-primary: var(--neutral-800);    /* #323B44 - 推荐用于所有正文 */
    
    /* 3. 次要颜色：使用中灰色，用于辅助说明、面包屑、日期等 */
    --text-secondary: var(--neutral-600);  /* #768595 */
    
    /* 4. 弱化颜色：用于占位符、失效状态 */
    --text-disabled: var(--neutral-400);   /* #AFB8C1 */
    
    /* 阴影效果 */
    --shadow-default: rgba(0, 37, 67, 0.2);  /* 默认阴影颜色 */
    
    /* 兼容性变量别名 */
    --primary-color: var(--brand-primary);
    --secondary-color: var(--brand-secondary);
}

/* 
===========================================
全局重置样式
===========================================
清除浏览器默认样式，确保网站在不同浏览器中显示一致
*/
* {
    margin: 0;           /* 清除默认外边距 */
    padding: 0;          /* 清除默认内边距 */
    box-sizing: border-box;  /* 让宽度计算包含边框和内边距 */
}

/* 
===========================================
网页主体样式
===========================================
设置整个网页的基本外观
*/
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;  /* 字体设置 - 增强系统字体备用方案 */
    line-height: 1.6;                    /* 行高 - 影响文字间距 */
    color: var(--text-primary);          /* 文字颜色 */
    background-color: var(--neutral-0);  /* 背景颜色 */
}

/* 
===========================================
标题通用样式
===========================================
统一设置所有标题的颜色
*/
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.2;
}

/* 
===========================================
段落样式
===========================================
设置所有段落的基本样式，增加宽度
*/
p {
    max-width: 800px;                     /* 增加段落最大宽度 */
    margin-left: auto;                    /* 左右居中 */
    margin-right: auto;                   /* 左右居中 */
}

/* 
===========================================
容器样式
===========================================
限制内容宽度，让网站在大屏幕上不会过宽
*/
.container {
    max-width: 1200px;    /* 最大宽度 - 可以修改这个值改变网站宽度 */
    margin: 0 auto;       /* 居中显示 */
    padding: 0 1.5rem;    /* 左右内边距 - 防止内容贴边 */
}

/* 
===========================================
头部导航栏样式
===========================================
控制网站顶部导航栏的外观和布局
*/
.section {
    padding: 4rem 0;  /* 👈 这里控制所有section的默认内边距 */
    margin-top: 0;
}.header {
    background: rgba(255, 255, 255, 0.9);     /* 背景颜色 - 纯白色，50%透明度 */
    backdrop-filter: blur(10px);               /* 背景模糊效果 */
    -webkit-backdrop-filter: blur(10px);       /* Safari兼容性 */
    box-shadow: 0 2px 10px var(--shadow-default);  /* 阴影效果 */
    position: fixed;      /* 固定定位 - 让导航栏始终在顶部 */
    top: 0;              /* 距离顶部0像素 */
    left: 0;             /* 距离左边0像素 */
    right: 0;            /* 距离右边0像素 */
    z-index: 1000;       /* 层级 - 确保导航栏在其他内容之上 */
}

/* 所有页面统一微调：让头部容器更靠左一点 */
.header .container {
    padding-left: 0.75rem; /* 默认为 1.5rem，这里向左收窄约一半 */
}

/* 导航栏容器 */
.navbar {
    display: flex;              /* 弹性布局 */
    justify-content: space-between;  /* 两端对齐 */
    align-items: center;        /* 垂直居中 */
    padding: 1rem 0;           /* 上下内边距 */
}

/* 导航容器 */
.nav-container {
    display: flex;              /* 弹性布局 */
    justify-content: space-between;  /* 两端对齐 */
    align-items: center;        /* 垂直居中 */
    width: 100%;               /* 占满宽度 */
    max-width: 1200px;         /* 最大宽度 */
    margin: 0 auto;            /* 居中 */
    padding: 0 1.5rem;         /* 左右内边距 */
}

/* 导航主容器 */
.nav {
    display: flex;              /* 弹性布局 */
    justify-content: space-between;  /* 两端对齐 */
    align-items: center;        /* 垂直居中 */
    padding: 1rem 0;           /* 上下内边距 */
    width: 100%;               /* 占满宽度 */
}

/* 导航品牌区域（Logo区域） */
.nav-brand {
    display: flex;              /* 弹性布局 */
    align-items: center;        /* 垂直居中 */
    flex: 0 0 auto;            /* 不伸缩 */
}

/* 导航品牌链接 */
.nav-brand a {
    text-decoration: none;      /* 去除下划线 */
    display: flex;              /* 弹性布局 */
    align-items: center;        /* 垂直居中 */
}

/* Logo样式 */
.logo {
    text-decoration: none;      /* 去除下划线 */
    display: flex;              /* 弹性布局 */
    align-items: center;        /* 垂直居中 */
    height: 50px;              /* Logo高度 - 可以修改这个值改变Logo大小 */
    flex-shrink: 0;            /* 不收缩 */
    margin-left: -1.2rem;      /* 👈 让Logo更靠左 */
}

/* Logo图片样式 */
.logo img {
     height: 60px;        /* Logo图片高度 - 可以修改这个值改变Logo大小 */
     width: auto;         /* 宽度自动调整，保持比例 */
 }

/* 
===========================================
导航菜单样式
===========================================
控制导航栏中的菜单项布局和外观
*/
.nav-menu {
    display: flex;          /* 弹性布局 */
    list-style: none;       /* 去除列表样式 */
    gap: 1.5rem;           /* 菜单项之间的间距 - 可以修改这个值调整间距 */
    align-items: center;    /* 垂直居中 */
    flex-wrap: nowrap;      /* 不换行 */
    margin-left: 3rem;      /* 菜单从 logo 后左侧展开 */
    flex-shrink: 0;        /* 不收缩 */
    text-align: left;
}

/* 导航右侧容器 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

/* 语言切换器样式 */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-80);
}

.lang-switcher a {
    color: var(--neutral-60);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.lang-switcher a:hover {
    color: var(--primary-600);
}

.lang-switcher a.active {
    color: var(--primary-600);
    font-weight: 600;
}

.lang-switcher .divider {
    color: var(--neutral-40);
}

/* 导航链接样式 */
.nav-link {
    text-decoration: none;      /* 去除下划线 */
    color: var(--text-primary); /* 文字颜色 */
    font-weight: 500;          /* 字体粗细 - 可以修改：400(正常) 500(中等) 600(粗) */
    font-size: 0.85rem;        /* 字体大小 - 可以修改这个值改变菜单文字大小 */
    transition: color 0.3s ease; /* 颜色变化动画 */
    position: relative;         /* 相对定位，用于下划线效果 */
    white-space: nowrap;        /* 不换行 */
    padding: 10px 0;           /* 增加点击/hover区域 */
    text-align: left;
}

/* 下拉菜单样式 */
.dropdown-parent {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--neutral-0);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 1000;
    padding: 8px 0;
    border-radius: 8px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-100);
}

/* 箭头向上 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--neutral-0);
}

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

.dropdown-item {
    display: block;
    padding: 10px 24px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: left !important;
}

.dropdown-item:hover {
    background-color: var(--brand-light);
    color: var(--brand-primary);
}

/* 导航链接悬停效果 */
.nav-link:hover {
    color: var(--brand-secondary); /* 悬停时的颜色 */
}

/* 导航链接下划线效果 */
.nav-link::after {
    content: '';                    /* 空内容 */
    position: absolute;             /* 绝对定位 */
    bottom: -5px;                  /* 距离底部5像素 */
    left: 0;                       /* 左对齐 */
    width: 0;                      /* 初始宽度为0 */
    height: 2px;                   /* 下划线高度 */
    background: var(--brand-secondary); /* 下划线颜色 */
    transition: width 0.3s ease;   /* 宽度变化动画 */
}

/* 悬停时显示下划线 */
.nav-link:hover::after {
    width: 100%;                   /* 悬停时下划线占满宽度 */
}

/* 当前页面链接样式 */
.nav-link.active {
    color: var(--brand-secondary); /* 当前页面链接颜色 */
}

/* 当前页面链接下划线 */
.nav-link.active::after {
    width: 100%;                   /* 当前页面链接下划线占满宽度 */
}

/* 
===========================================
移动端菜单按钮（汉堡菜单）
===========================================
在小屏幕设备上显示的菜单切换按钮
*/
.mobile-menu-toggle {
    display: none;          /* 默认隐藏，只在移动端显示 */
    flex-direction: column; /* 垂直排列 */
    background: none;       /* 无背景 */
    border: none;          /* 无边框 */
    cursor: pointer;       /* 鼠标指针 */
    padding: 0.5rem;       /* 内边距 */
    gap: 0.25rem;         /* 线条间距 */
}

/* 汉堡菜单的线条 */
.mobile-menu-toggle span {
    width: 25px;                        /* 线条宽度 */
    height: 3px;                        /* 线条高度 */
    background-color: var(--brand-primary); /* 线条颜色 */
    transition: all 0.3s ease;         /* 变化动画 */
    border-radius: 0;                 /* 圆角 */
}

/* 菜单打开时第一条线的动画 */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px); /* 旋转并移动形成X */
}

/* 菜单打开时第二条线隐藏 */
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;                        /* 透明度为0，隐藏 */
}

/* 菜单打开时第三条线的动画 */
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px); /* 旋转并移动形成X */
}

/* 
===========================================
按钮样式
===========================================
网站中使用的主要按钮样式
*/
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    /* 渐变背景 - 可以修改颜色创建不同的渐变效果 */
    background: linear-gradient(100deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    color: var(--neutral-0);           /* 文字颜色 - 白色 */
    padding: 0.75rem 1.5rem;          /* 内边距 - 可以修改调整按钮大小 */
    border: none;                      /* 无边框 */
    border-radius: 0;                /* 圆角 - 可以修改这个值改变圆角大小 */
    font-weight: 600;                  /* 字体粗细 */
    text-decoration: none;             /* 去除下划线 */
    transition: all 0.3s ease;        /* 所有属性变化动画 */
    cursor: pointer;                   /* 鼠标指针 */
    display: inline-block;             /* 行内块元素 */
}

/* 按钮悬停效果 */
.btn-primary:hover {
    transform: translateY(-2px);       /* 向上移动2像素 */
    box-shadow: 0 8px 25px rgba(3, 123, 199, 0.3); /* 阴影效果 */
}

/* 次要按钮样式 */
.btn-secondary {
    background: var(--neutral-0);          /* 白色背景 */
    color: var(--brand-primary);           /* 蓝色文字 */
    padding: 0.75rem 1.5rem;              /* 内边距 */
    border: 2px solid var(--brand-primary); /* 蓝色边框 */
    border-radius: 0;                    /* 圆角 */
    font-weight: 600;                      /* 字体粗细 */
    text-decoration: none;                 /* 去除下划线 */
    transition: all 0.3s ease;            /* 变化动画 */
    display: inline-block;                 /* 行内块元素 */
}

/* 次要按钮悬停效果 */
.btn-secondary:hover {
    background: var(--brand-primary);      /* 悬停时背景变蓝 */
    color: var(--neutral-0);               /* 悬停时文字变白 */
}

/* 线框按钮样式（用于技术参数等次要操作） */
.btn-outline {
    background: var(--neutral-0);
    color: var(--brand-primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--brand-primary);
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--brand-primary);
    color: var(--neutral-0);
}

/* 联系按钮样式 */
.btn-contact {
    background: var(--accent-warm);        /* 暖色背景 */
    color: var(--neutral-0);               /* 白色文字 */
    padding: 1rem 2rem;                    /* 较大的内边距 */
    border: none;                          /* 无边框 */
    border-radius: 0;                    /* 圆角 */
    font-weight: 600;                      /* 字体粗细 */
    font-size: 1.1rem;                     /* 较大的字体 */
    cursor: pointer;                       /* 鼠标指针 */
    transition: all 0.3s ease;            /* 变化动画 */
    justify-self: center;                  /* 居中对齐 */
}

/* 大尺寸按钮样式 */
.btn-large {
    padding: 1rem 2rem;                    /* 更大的内边距 */
    font-size: 1.1rem;                     /* 更大的字体 */
    min-width: 150px;                      /* 最小宽度 */
}

/* 联系按钮悬停效果 */
.btn-contact:hover {
    background: #CB5640;                   /* 悬停时颜色变深 */
    transform: translateY(-2px);           /* 向上移动 */
}

/* 
===========================================
主要内容区域
===========================================
网页主体内容的基本设置
*/
main {
    margin-top: 80px;                      /* 顶部边距，避免被固定导航栏遮挡 */
}

/* 
===========================================
通用区域样式
===========================================
所有内容区域共用的样式
*/
.section {
    padding: 4rem 0;                       /* 上下内边距 - 可以修改调整区域间距 */
    margin-top: 0;                         /* 确保section不被导航栏遮住 */
}

.section.appear {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.appear.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 区域标题样式 */
.section-title {
    text-align: center;                    /* 居中对齐 */
    margin-bottom: 3rem;                   /* 底部边距 */
}

/* 区域标题的h2样式 */
.section-title h2 {
    font-size: 2.5rem;                     /* 字体大小 - 可以修改调整标题大小 */
    font-weight: 700;                      /* 字体粗细 */
    margin-bottom: 1rem;                   /* 底部边距 */
}

/* 区域标题的描述文字 */
.section-title p {
    font-size: 1.1rem;                     /* 字体大小 */
    color: var(--neutral-600);             /* 文字颜色 - 灰色 */
    max-width: 600px;                      /* 最大宽度 */
    margin: 0 auto;                        /* 居中显示 */
}

/* 
===========================================
英雄区域（首页顶部大图区域）- 带轮播图背景
===========================================
网站首页的主要展示区域，配合森林空气主题的轮播背景
*/
.hero {
    position: relative;                    /* 相对定位 */
    height: 100vh;                        /* 全屏高度 */
    min-height: 600px;                    /* 最小高度 */
    overflow: hidden;                      /* 隐藏溢出内容 */
    display: flex;                         /* 弹性布局 */
    align-items: center;                   /* 垂直居中 */
}

/* 轮播图背景容器 */
.hero-carousel {
    position: absolute;                    /* 绝对定位 */
    top: 0;                               /* 顶部对齐 */
    left: 0;                              /* 左侧对齐 */
    width: 100%;                          /* 占满宽度 */
    height: 100%;                         /* 占满高度 */
    z-index: 1;                           /* 层级 */
}

/* 轮播图片样式 */
.carousel-slide {
    position: absolute;                    /* 绝对定位 */
    top: 0;                               /* 顶部对齐 */
    left: 0;                              /* 左侧对齐 */
    width: 100%;                          /* 占满宽度 */
    height: 100%;                         /* 占满高度 */
    background-size: cover;                /* 背景图片覆盖 */
    background-position: center;           /* 背景图片居中 */
    background-repeat: no-repeat;          /* 不重复 */
    opacity: 0;                           /* 初始透明 */
    transition: opacity 1s ease-in-out;   /* 淡入淡出过渡效果 */
}

/* 当前显示的轮播图片 */
.carousel-slide.active {
    opacity: 1;                           /* 完全不透明 */
}

/* 内容覆盖层 - 确保文字清晰可见 */
.hero-overlay {
    position: absolute;                    /* 绝对定位 */
    top: 0;                               /* 顶部对齐 */
    left: 0;                              /* 左侧对齐 */
    width: 100%;                          /* 占满宽度 */
    height: 100%;                         /* 占满高度 */
    background: rgba(0, 0, 0, 0.08);      /* 略微减弱覆盖，提高清晰度 */
    z-index: 2;                           /* 层级 */
}

/* 轮播图控制按钮容器 */
.carousel-controls {
    position: absolute;                    /* 绝对定位 */
    top: 50%;                             /* 垂直居中 */
    width: 100%;                          /* 占满宽度 */
    display: flex;                        /* 弹性布局 */
    justify-content: space-between;       /* 两端对齐 */
    padding: 0 2rem;                     /* 左右内边距 */
    z-index: 4;                           /* 层级 */
    transform: translateY(-50%);          /* 垂直居中 */
}

/* 轮播图控制按钮样式 */
.carousel-btn {
    background: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */
    border: none;                         /* 无边框 */
    width: 50px;                          /* 宽度 */
    height: 50px;                         /* 高度 */
    border-radius: 0;                     /* 矩形 */
    clip-path: none;                      /* 取消几何剪裁以保证纯矩形 */
    font-size: 24px;                      /* 字体大小 */
    color: var(--neutral-800);            /* 文字颜色 */
    cursor: pointer;                      /* 鼠标指针 */
    transition: all 0.3s ease;           /* 过渡效果 */
    display: flex;                        /* 弹性布局 */
    align-items: center;                  /* 垂直居中 */
    justify-content: center;              /* 水平居中 */
}

/* 轮播图控制按钮悬停效果 */
.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);   /* 完全不透明白色 */
    transform: scale(1.1);                /* 放大效果 */
}

/* 轮播图指示器容器 */
.carousel-indicators {
    position: absolute;                    /* 绝对定位 */
    bottom: 2rem;                         /* 距离底部 */
    left: 50%;                            /* 水平居中 */
    transform: translateX(-50%);          /* 水平居中 */
    display: flex;                        /* 弹性布局 */
    gap: 0.5rem;                         /* 间距 */
    z-index: 4;                           /* 层级 */
}

/* 轮播图指示器样式 */
.indicator {
    width: 12px;                          /* 宽度 */
    height: 12px;                         /* 高度 */
    border-radius: 0;                   /* 圆形 */
    background: rgba(255, 255, 255, 0.5); /* 半透明白色 */
    cursor: pointer;                      /* 鼠标指针 */
    transition: all 0.3s ease;           /* 过渡效果 */
}

/* 当前指示器样式 */
.indicator.active {
    background: rgba(255, 255, 255, 1);   /* 完全不透明白色 */
    transform: scale(1.2);                /* 放大效果 */
}

/* 英雄区域内容布局 */
.hero-content {
    position: relative;                    /* 相对定位 */
    z-index: 3;                           /* 层级，确保在背景和覆盖层之上 */
    text-align: center;                   /* 文字居中 */
    color: white;                         /* 白色文字 */
    max-width: 800px;                     /* 最大宽度 */
    margin: 0 auto;                       /* 居中 */
    padding: 0 2rem;                     /* 左右内边距 */
}

/* 英雄区域主标题 */
.hero-text h1 {
    font-size: 3.5rem;                    /* 字体大小 - 可以修改调整主标题大小 */
    font-weight: 700;                     /* 字体粗细 */
    margin-bottom: 1.5rem;                /* 底部边距 */
    line-height: 1.2;                     /* 行高 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 文字阴影 */
    color: var(--neutral-0);              /* 默认白色 */
}

/* 英雄区域高亮文字 */
.hero-text .highlight {
    color: #90EE90;                       /* 浅绿色 - 呼应森林主题 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 更强的文字阴影 */
}

/* 英雄区域描述文字 */
.hero-text p {
    font-size: 1.3rem;                    /* 字体大小 */
    color: rgba(255, 255, 255, 0.9);     /* 半透明白色 */
    margin-bottom: 2rem;                  /* 底部边距 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* 文字阴影 */
}

/* 英雄区域按钮容器 */
.hero-actions {
    display: flex;                        /* 弹性布局 */
    gap: 1rem;                           /* 间距 */
    justify-content: center;              /* 居中对齐 */
    flex-wrap: wrap;                      /* 换行 */
}

/* 特性区域 */
.features {
    background: var(--neutral-0);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--neutral-50);
    padding: 2rem;
    border-radius: 0;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-default);
}

.feature-icon {
    width: calc(100% + 4rem); /* 突破左右padding，与卡片等宽 */
    height: 200px; /* 设置固定高度 */
    background: linear-gradient(135deg, var(--accent-cool), var(--accent-fresh));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -2rem auto 1.5rem -2rem; /* 负边距抵消padding */
    font-size: 2rem;
    color: var(--neutral-0);
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%; /* 填满容器高度 */
    object-fit: cover; /* 改为cover以填满容器 */
    object-position: center;
    border-radius: 0;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--neutral-600);
    line-height: 1.6;
}

/* 产品展示区域 */
.products {
    background: var(--brand-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.25rem;
}

/* 首页“我们的产品”板块在宽屏（如1920×1080）下固定为2列，以实现2×2布局 */
.products .products-grid {
    grid-template-columns: repeat(2, 1fr);
}

.product-card {
    background: var(--neutral-0);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 6px 18px var(--shadow-default);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px var(--shadow-default);
}

.product-image {
    height: 160px;
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--brand-primary);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-content {
    padding: 1rem;
}

.product-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.product-content p {
    color: var(--neutral-600);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1rem;
}

.product-features li {
    padding: 0.2rem 0;
    color: var(--neutral-700);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
}

/* 首页产品卡片内按钮尺寸压缩更紧凑 */
.product-card .btn-primary {
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
}

.product-features li i {
    color: var(--accent-fresh);
    font-size: 0.8rem;
}

/* 联系区域 */
.contact {
    background: var(--brand-primary);
    color: var(--neutral-0);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    background: var(--neutral-0);
    color: var(--text-primary);
}

.contact-form textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 120px;
}

/* 产品详情页标签页内容样式 */
.tab-content {
    text-align: left;
    line-height: 1.6;
}

.tab-content > div {
    margin-top: 20px;
}

.tab-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.tab-content h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
    text-align: left;
    padding-left: 0;
}

.tab-content p {
    color: var(--text-secondary);
    margin: 0 0 15px 0;
    text-align: left;
    line-height: 1.6;
    padding-left: 0;
}

.tab-content ul,
.tab-content ol {
    margin: 15px 0;
    padding-left: 20px;
    text-align: left;
}

.tab-content li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-align: left;
    line-height: 1.5;
}

.tab-content .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
}

.tab-content .specs-table th,
.tab-content .specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.tab-content .specs-table th {
    background: var(--background-light);
    font-weight: 600;
    color: var(--primary-color);
}

/* 页脚 - 清新配色版 */
.footer {
    background: var(--neutral-50); /* 浅灰色背景，比纯白稍深 */
    color: var(--text-secondary);  /* 深灰色文字 */
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--neutral-200); /* 顶部增加一条分割线 */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem; /* 增加间距让布局更舒展 */
    margin-bottom: 3rem;
}

/* 页脚标题样式 */
.footer-section h3 {
    color: var(--brand-primary); /* 品牌深蓝色 */
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.4rem; /* 增大标题字号 */
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem; /* 增加行间距 */
    font-size: 1.1rem; /* 增大列表项字号（含联系方式） */
}

.footer-section ul li a {
    color: var(--text-secondary); /* 深灰色链接 */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem; /* 增大链接字号 */
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--brand-secondary); /* 悬停变亮蓝 */
    transform: translateX(5px);    /* 悬停微动效果 */
}

/* 联系方式图标颜色 */
.footer-section i {
    color: var(--brand-secondary);
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-200); /* 浅色分割线 */
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary); /* 深灰色文字 */
    font-size: 1rem; /* 增大底部版权信息字号 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001 !important;
    }
    
    /* 移动端导航栏背景设为纯白，确保按钮可见性 */
    .header {
        background: var(--neutral-0) !important;
        backdrop-filter: none !important;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--neutral-0);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 10px var(--shadow-default);
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--neutral-100);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    /* 英雄区域轮播图移动端样式 */
    .hero {
        height: 70vh;                      /* 移动端减少高度 */
        min-height: 500px;                 /* 最小高度调整 */
    }
    
    .hero-content {
        padding: 0 1rem;                   /* 减少左右内边距 */
        max-width: 100%;                   /* 移动端占满宽度 */
    }
    
    .hero-text h1 {
        font-size: 2.5rem;                 /* 移动端标题字体大小 */
    }
    
    .hero-text p {
        font-size: 1.1rem;                 /* 移动端描述字体大小 */
    }
    
    /* 轮播图控制按钮移动端样式 */
    .carousel-controls {
        padding: 0 1rem;                   /* 减少左右内边距 */
    }
    
    .carousel-btn {
        width: 40px;                       /* 移动端按钮尺寸 */
        height: 40px;                      /* 移动端按钮尺寸 */
        font-size: 18px;                   /* 移动端按钮字体 */
    }
    
    /* 轮播图指示器移动端样式 */
    .carousel-indicators {
        bottom: 1rem;                      /* 移动端指示器位置 */
    }
    
    .indicator {
        width: 10px;                       /* 移动端指示器尺寸 */
        height: 10px;                      /* 移动端指示器尺寸 */
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* 解决方案页面样式 */
.solutions-overview {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 新的解决方案列表布局 */
.solutions-list {
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card-row {
    display: flex;
    align-items: stretch;
    margin: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* 图片区域样式 */
.solution-image-section {
    flex: 6; /* 调整为6份，匹配首页4:6比例 */
    position: relative;
    overflow: hidden;
    height: 100%; /* 移除固定高度，由内容决定或父容器决定 */
    min-height: 260px;
    z-index: 1; /* 层级较低 */
}

.solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.solution-card-row.fade-in .solution-image-section,
.solution-card-row.fade-in .solution-content-section {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.solution-card-row.left-image.fade-in .solution-image-section { transform: translateX(-40px); }
.solution-card-row.left-image.fade-in .solution-content-section { transform: translateX(40px); }

.solution-card-row.right-image.fade-in .solution-image-section { transform: translateX(40px); }
.solution-card-row.right-image.fade-in .solution-content-section { transform: translateX(-40px); }

.solution-card-row.fade-in.visible .solution-image-section,
.solution-card-row.fade-in.visible .solution-content-section {
    opacity: 1;
    transform: translateX(0);
}

.solution-card-row:hover .solution-img {
    transform: scale(1.05);
}

/* 内容区域样式 */
.solution-content-section {
    flex: 4; /* 调整为4份，匹配首页4:6比例 */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    position: relative;
    z-index: 2; /* 层级较高，覆盖图片 */
}

/* 左图右文布局：图片在左，文字在右 */
/* 需要文字面板向左延伸覆盖图片 */
.solution-card-row.left-image .solution-content-section {
    margin-left: -10%; /* 向左重叠 */
    /* 箭头指向左侧：左上起点 -> 右上 -> 右下 -> 左下 -> 左中尖角 */
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
    padding-left: 60px; /* 增加左侧内边距以避开尖角 */
}

/* 右图左文布局：图片在右，文字在左 */
/* 需要文字面板向右延伸覆盖图片 */
.solution-card-row.right-image .solution-content-section {
    margin-right: -10%; /* 向右重叠 */
    /* 箭头指向右侧：左上 -> 右上起点 -> 右中尖角 -> 右下 -> 左下 */
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
    padding-right: 60px; /* 增加右侧内边距以避开尖角 */
}

.solution-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.solution-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.solution-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.solution-link:hover {
    color: var(--secondary-color);
}

/* 左图右文布局 */
.solution-card-row.left-image {
    flex-direction: row;
}

/* 右图左文布局 */
.solution-card-row.right-image {
    flex-direction: row-reverse;
}

.solution-features {
    list-style: none;
    margin-bottom: 30px;
}

.solution-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.solution-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--background-light);
    border-radius: 0;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

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

/* 案例研究 */
.case-studies {
    padding: 80px 0;
    background: var(--background-light);
}

.case-study {
    background: var(--white);
    border-radius: 0;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.case-study:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.case-study:nth-child(even) .case-image {
    order: 2;
}

.case-image {
    height: 250px;
    background: linear-gradient(45deg, var(--background-light), #e9ecef);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary-color);
}

.case-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.case-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.case-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.result-item {
    text-align: center;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
    display: block;
}

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

/* 服务流程 */
.service-process {
    padding: 80px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%; /* 修复为圆形 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 73, 133, 0.3); /* 添加阴影增加层次感 */
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 公司简介 - 全屏背景风格 */
.company-intro {
    padding: 120px 0;
    margin-top: 60px; /* 增加顶部间距，与上方区域形成间隔 */
    /* 设置背景图 - 请确保图片文件名正确 */
    background-image: url('../images/about/guangzhou-skyline.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 视差滚动效果 */
    position: relative;
    color: var(--neutral-0); /* 文字改为白色 */
}

/* 背景遮罩 - 确保文字在复杂背景上清晰可见 */
.company-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 37, 67, 0.5); /* 深蓝色半透明遮罩 */
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2; /* 确保内容在遮罩之上 */
    display: block; /* 改为块级布局 */
    max-width: 900px;
    margin: 0 auto;
    text-align: center; /* 文字居中 */
}

.intro-text h2 {
    font-size: 2.5rem; /* 调整为与其他h2一致的大小 */
    color: var(--neutral-0); /* 标题白色 */
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.intro-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95); /* 正文微透白色 */
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: left; /* 段落文字保持左对齐，阅读更舒适 */
    text-indent: 0;
}

/* 移除旧的布局样式 */
.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--background-light);
    border-radius: 0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

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

.intro-image {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/* 发展历程 */
.timeline-section {
    padding: 80px 0;
    background: var(--background-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-right-color: var(--white);
}

.timeline-year {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 0;
    font-weight: 700;
    z-index: 2;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 企业文化 */
.culture-section {
    padding: 80px 0;
    background: var(--white);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.culture-card {
    background: var(--background-light);
    padding: 40px 30px;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.culture-card:hover::before {
    left: 100%;
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.culture-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.culture-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.culture-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 社会责任板块 - 国际化设计 */
.responsibility-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.responsibility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.responsibility-content {
    position: relative;
    z-index: 1;
}

.values-section {
    margin-top: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.value-card {
    background: var(--white);
    border-radius: 0;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.value-image {
    width: calc(100% + 60px);
    height: 200px;
    margin: -40px -30px 20px -30px;
    overflow: hidden;
    position: relative;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--brand-light); /* 浅色背景 */
    border-radius: 50%; /* 圆形 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary); /* 品牌色图标 */
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(0, 73, 133, 0.15); /* 调整阴影颜色 */
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--brand-primary); /* hover时背景变深 */
    color: var(--white); /* hover时图标变白 */
    box-shadow: 0 12px 32px rgba(0, 73, 133, 0.3);
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* 团队介绍 - 国际化优化 */
.team-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background: var(--white);
    border-radius: 0;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-color: rgba(var(--primary-color-rgb), 0.1);
}

.member-info {
    padding: 40px 30px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.member-info .position {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.member-info .description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    text-align: left;
    font-weight: 400;
}

/* 响应式设计优化 */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .value-card {
        padding: 30px 25px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .member-info {
        padding: 30px 25px;
    }
    
    .responsibility-section,
    .team-section {
        padding: 60px 0;
    }
}

/* 社会责任板块：宽屏下四列并排显示 */
@media (min-width: 1200px) {
    .responsibility-section .values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* 国际化团队卡片样式 */
.team-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.team-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.team-name-cn {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.team-position-cn {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.team-credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.credential {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4px 12px;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: left;
}

.team-description-cn {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-align: left;
    opacity: 0.8;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* 团队统计数据 */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

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

/* 兼容原有团队成员样式 */
.team-member {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.member-photo {
    height: 250px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.member-info {
    padding: 30px;
    text-align: center;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.member-position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 资质认证 */
.certifications-section {
    padding: 80px 0;
    background: var(--white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.certification-item {
    background: var(--background-light);
    padding: 30px 20px;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.certification-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.certification-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.certification-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 
===========================================
相关产品卡片样式 
===========================================
*/
.related-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.related-image {
    width: 100%;
    height: 200px;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.related-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0 10px;
    color: var(--text-primary);
    padding: 0 15px;
}

.related-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    padding: 0 15px;
}

.related-card .btn {
    margin-bottom: 20px;
}

/* 联系页面样式 */
.contact-info {
    padding: 80px 0;
    background: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-light); /* 改回浅色背景 */
    border-radius: 50%; /* 改回圆形 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--brand-primary); /* 改回品牌色 */
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--brand-primary);
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 联系表单 */
.contact-form-section {
    padding: 80px 0;
    background: var(--white);
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.form-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.form-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-features {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form {
    background: var(--background-light);
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 73, 133, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 18px 30px;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 地图区域 */
.map-section {
    padding: 80px 0;
    background: var(--background-light);
}

.map-container {
    margin-top: 40px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 500px; /* 添加固定高度，确保地图显示 */
    width: 100%;
}

.map-placeholder {
    height: 100%; /* 修改为100%以适应容器 */
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* 分公司信息 */
.branches-section {
    padding: 80px 0;
    background: var(--white);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.branch-card {
    background: var(--background-light);
    padding: 30px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.branch-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.branch-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.branch-info i {
    color: var(--secondary-color);
    width: 16px;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* 产品筛选动画样式 */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.filter-enter {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.product-card.filter-enter-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-card.filter-exit {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-card.filter-exit-active {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

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

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

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

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 首页“我们的产品”紧凑模式：卡片高度 180px */
.products .product-card {
    display: flex;
    flex-direction: row;
    height: 280px;
    gap: 1rem; /* 增加图片与文字的横向间距 */
}

.products .product-image {
    height: 100%;
    width: 50%;
    flex: 0 0 50%;
}

.products .product-content {
    padding: 0.75rem 0.75rem 2.5rem; /* 预留底部空间给按钮 */
    display: flex;
    flex-direction: column;
    position: relative; /* 使按钮可定位到文字区右下角 */
}

.products .product-content h3 {
    font-size: 1.1rem; /* 根据文字区宽度微调标题字号 */
    margin-bottom: 0.3rem;
}

.products .product-content p {
    font-size: 0.95rem; /* 优化正文字号以提升可读性 */
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products .product-features {
    display: block;
    margin-bottom: 0.5rem;
}

.products .product-features li {
    font-size: 0.9rem; /* 与正文协调的字号 */
    line-height: 1.3;
}

.products .product-card .btn-primary {
    position: absolute; /* 固定按钮到文字区右下角 */
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.9rem;
    padding: 0.45rem 0.8rem;
    margin-top: 0;
    align-self: auto;
}

/* 页面头部 - 几何方块流体设计 (参考图风格) */
.page-header {
    /* 背景色：改为白色 */
    background: var(--neutral-0);
    color: var(--brand-primary);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 定义几何方块浮动动画 - 对角线运动 */
@keyframes geoFloat {
    0% { background-position: 0 0; }
    100% { background-position: 600px -600px; }
}

@keyframes geoFloatSlow {
    0% { background-position: 0 0; }
    100% { background-position: 400px -400px; }
}

/* 第一层：背景层，密集且透明度低的方块 */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0; /* 显式设置层级 */
    /* SVG: 多个旋转的半透明矩形，模拟背景中密集的几何阵列 - 改为蓝色半透明 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Crect x='50' y='50' width='80' height='80' transform='rotate(30 90 90)' fill='rgba(0,73,133,0.05)'/%3E%3Crect x='250' y='80' width='60' height='60' transform='rotate(45 280 110)' fill='rgba(0,73,133,0.03)'/%3E%3Crect x='150' y='250' width='100' height='100' transform='rotate(15 200 300)' fill='rgba(0,73,133,0.06)'/%3E%3Crect x='320' y='300' width='50' height='50' transform='rotate(60 345 325)' fill='rgba(0,73,133,0.04)'/%3E%3C/svg%3E");
    background-size: 400px 400px;
    animation: geoFloatSlow 40s linear infinite;
    pointer-events: none;
}

/* 第二层：前景层，较大且较亮的方块，模拟近处的漂浮元素 */
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0; /* 显式设置层级 */
    /* SVG: 更大的旋转矩形，色彩更明显，模拟前景 - 改为蓝色半透明 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Crect x='100' y='100' width='120' height='120' transform='rotate(35 160 160)' fill='rgba(0,73,133,0.1)'/%3E%3Crect x='400' y='350' width='150' height='150' transform='rotate(25 475 425)' fill='rgba(0,73,133,0.08)'/%3E%3C/svg%3E");
    background-size: 600px 600px;
    animation: geoFloat 30s linear infinite;
    pointer-events: none;
}

/* 确保内容在背景之上 */
.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem; /* 增加底部间距 */
    font-weight: 700;
    color: var(--brand-primary); /* 标题改为深蓝色 */
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: var(--brand-secondary); /* 副标题改为中蓝色 */
}

/* 产品分类导航 */
.product-nav {
    background: var(--brand-light);
    padding: 40px 0;
    border-bottom: 1px solid var(--neutral-200);
}

.product-nav-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.product-categories {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
    height: 60px;
}

.category-item {
    position: relative;
    display: flex;
    flex: 1;
    align-items: stretch;
    border-right: 1px solid var(--neutral-300);
}

.category-item:last-child {
    border-right: none;
}

.category-btn {
    background: var(--white);
    border: none;
    padding: 18px 24px;
    border-radius: 0;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-btn:hover {
    background: var(--neutral-50);
    color: var(--primary-color);
}

.category-btn.active {
    background: var(--primary-color);
    color: var(--white);
}
.submenu {
    /* 默认占位但折叠，避免 display 切换的突兀感 */
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: static;
    background: var(--neutral-0);
    border: 1px solid var(--neutral-200);
    border-radius: 0;
    /* 折叠态样式 */
    padding: 0;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.24s ease, padding 0.24s ease, margin-top 0.24s ease;
}
/* 仅在类别按钮激活时展开，移除 hover 展开以减少突兀 */
.category-btn.active + .submenu {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    padding: 8px;
    margin-top: 8px;
    pointer-events: auto;
}
.submenu .subcategory-btn,
.subcategory-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    text-align: center;
    padding: 6px 10px; /* 略微收紧，视觉更精致 */
    border: 1px solid var(--neutral-200);
    background: var(--neutral-0);
    color: var(--text-primary);
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.subcategory-btn:hover { background: var(--neutral-100); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.subcategory-btn.active {
    background: var(--brand-light);
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* 产品网格 */
.products-section {
    padding: 40px 0;
    background: var(--neutral-0);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 16px;
    align-items: stretch;
}

.product-card {
    background: var(--neutral-0);
    border-radius: 0;
    box-shadow: 0 5px 20px var(--shadow-default);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-default);
}

.product-image {
    height: 420px;
    background: linear-gradient(45deg, var(--brand-light), var(--neutral-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--brand-secondary);
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.product-card:hover .product-image::before {
    left: 100%;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 260px;
}

.product-category {
    color: var(--brand-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.product-description {
    color: var(--neutral-600);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
    text-indent: 0;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.product-features li {
    padding: 5px 0;
    color: var(--neutral-600);
    position: relative;
    padding-left: 20px;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-fresh);
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
    justify-content: flex-start;
}

.products-section .product-card .product-info {
    padding-bottom: 64px;
}

.products-section .product-card .product-actions {
    position: absolute;
    left: 20px;
    bottom: 20px;
}

/* 工具类 */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
/* --- Category equal-width overrides --- */
.product-categories { justify-content: space-evenly; gap: 0; }
.category-item { flex: 1 1 220px; min-width: 200px; }
.category-btn { width: 100%; text-align: center; }
/* --- Category button hard-edge style (logo-inspired) --- */
.category-btn {
  border-radius: 0;
  /* 棱角剪裁，弱化圆润感 */
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  /* 移除灰色边框线 */
  border: none;
}

/* 二级菜单容器采用与一级菜单一致的硬边风格 */
.submenu {
  border-radius: 0;
  border: none;
  background: var(--neutral-0);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* --- Global button hard-edge overrides --- */
.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-contact {
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* --- Basic HTML button: rectangular and borderless --- */
button {
  border-radius: 0;
  border: none;
  clip-path: none;
}

/* --- Subcategory button hard-edge overrides --- */
.subcategory-btn {
  border-radius: 0;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Ensure submenu buttons are rectangular and borderless (override higher specificity) */
.submenu .subcategory-btn {
  border-radius: 0;
  border: none;
  clip-path: none;
}

/* --- Anchor button variants: remove borders for all a-based buttons --- */
a.btn,
a.btn-primary,
a.btn-secondary,
a.btn-outline,
a.btn-contact,
a.category-btn,
a.subcategory-btn {
  border: none;
}

/* --- Unify: remove borders for button class variants as well --- */
.btn-secondary,
.btn-outline {
  border: none;
}

/* --- Div-scoped enforcement: rectangular and borderless in key containers --- */
.carousel-controls .carousel-btn,
.submit-btn {
  border-radius: 0;
  border: none;
  clip-path: none;
}

/* 使命愿景价值观 */
.mission-vision-values {
    padding: 80px 0;
    background: var(--background-light);
}

.mvv-section {
    margin-bottom: 40px;
}

.mvv-section:last-child {
    margin-bottom: 0;
}

.mvv-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mvv-text {
    flex: 1;
}

.mvv-image {
    flex: 0 0 300px;
    height: 240px; /* 固定高度以实现裁剪 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative; /* 为遮罩提供定位上下文 */
}

.mvv-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.mvv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 通过裁剪隐藏嵌入的logo与文字 */
    object-position: center; /* 居中显示主体 */
    border-radius: 0;
    display: block;
}

/* 额外遮罩：隐藏图片上缘与下缘可能的logo与文字区域 */
.mvv-image::before,
.mvv-image::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
}
.mvv-image::before {
    top: 0;
    height: 26%;
    background: linear-gradient(to bottom, var(--background-light) 70%, rgba(0,0,0,0) 100%);
}
.mvv-image::after {
    bottom: 0;
    height: 16%;
    background: linear-gradient(to top, var(--background-light) 60%, rgba(0,0,0,0) 100%);
}

/* 针对三张MVV图片分别调整裁剪位置以避开图内logo与文字 */
.mission-section .mvv-image img { object-position: 50% 60%; }
.vision-section .mvv-image img { object-position: 50% 58%; }
.values-section .mvv-image img { object-position: 50% 62%; }

/* MVV并列卡片布局 */
.mvv-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.mvv-card {
    position: relative;
    height: 360px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

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

.mvv-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: var(--neutral-0);
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
}

.mvv-card-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.mvv-card-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0.1rem 0;
}

@media (max-width: 992px) {
    .mvv-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .mvv-card {
        height: 320px;
    }
}

@media (max-width: 600px) {
    .mvv-cards {
        grid-template-columns: 1fr;
    }
    .mvv-card {
        height: 300px;
    }
}

.mvv-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.mvv-title h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.mvv-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 500; /* 适当加粗 */
}

.mvv-description p {
    margin-bottom: 15px;
}

.mvv-description p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mvv-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    /* 修正愿景板块在手机端的显示顺序：图片在文字后 */
    .vision-section .mvv-content {
        flex-direction: column-reverse;
    }
    
    .mvv-image {
        width: 100%;
        max-width: 280px;
        height: 200px;
    }
    
    .mvv-title h3 {
        font-size: 1.6rem;
    }
    
    .mvv-description {
        font-size: 1rem;
    }
}

/* 技术方案样式 */
.tech-solutions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.solution-item {
    background: white;
    border-radius: 0;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.solution-header {
    margin-bottom: 20px;
}

.solution-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    text-align: center;
}

.solution-image-placeholder {
    margin-bottom: 20px;
    text-align: center;
}

.solution-image-placeholder img {
    border: 2px dashed #ddd;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
}

.solution-description {
    text-align: left;
}

.solution-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-solutions {
        gap: 30px;
    }
    
    .solution-item {
        padding: 20px;
    }
    
    .solution-header h3 {
        font-size: 1.3rem;
    }
    
    .solution-image-placeholder img {
        height: 200px;
    }
}
.team-section.reveal-up.appear {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-section.reveal-up.appear.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 
===========================================
解决方案页面详情页排版优化 (Spacing Optimization)
===========================================
*/
.solution-overview {
    padding: 60px 0 !important; /* 增加上下间距 */
}

/* 移除网格系统定义，保持原有布局方式，仅增加间距 */

.solution-image {
    margin-bottom: 50px; /* 显著增加图片与下方文字的间距 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.solution-intro {
    padding-top: 20px;
}

.solution-intro h2 {
    margin-bottom: 2rem; /* 增加h2标题下方的间距 */
    line-height: 1.5;
    margin-top: 0;
    padding-top: 10px;
}

.solution-intro p {
    margin-bottom: 2rem; /* 增加段落间距 */
    line-height: 2.0;    /* 增加行高，提升阅读舒适度 */
}

/* 404 Error Page Styles */
.error-page-container {
    padding: 120px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral-50);
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-logo img {
    height: 60px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.05);
}

.error-message {
    font-size: 2rem;
    color: var(--text-heading);
    margin-bottom: 20px;
    font-weight: 600;
}

.error-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Optimized 404 Page Styles */
.error-page-container {
    /* 垂直水平居中，占据大部分视口高度 */
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--neutral-50);
    padding: 0 20px;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    /* 内容整体淡入动画 */
    animation: fadeIn 0.8s ease-out;
}

.error-logo img {
    /* Logo 缩小至 40px */
    height: 40px;
    margin-bottom: 20px;
    opacity: 0.9;
    /* Logo 浮动动画 */
    animation: float 3s ease-in-out infinite;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.05);
    /* 错误代码缩放动画 */
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.error-message {
    font-size: 1.8rem;
    color: var(--text-heading);
    margin-bottom: 15px;
    font-weight: 600;
    /* 文字上滑动画 */
    animation: slideUp 0.6s ease-out 0.2s backwards;
}

.error-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    /* 文字上滑动画，延迟更多 */
    animation: slideUp 0.6s ease-out 0.4s backwards;
}

/* 动画关键帧定义 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 语言切换器图标样式 */
.lang-switcher .flag {
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 0.3rem;
}
.lang-switcher a {
    display: flex;
    align-items: center;
}
