/* 
   初步精确复刻布局 
   基于用户提供的最新图片构建头部和结构
   全局样式定义
*/

/* 通用选择器：重置所有元素的默认间距和盒模型 */
* {
    margin: 0;
    /* 清除默认外边距 */
    padding: 0;
    /* 清除默认内边距 */
    box-sizing: border-box;
    /* 使用边框盒模型，元素的宽高包含内边距和边框 */
}

/* 页面主体样式 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    /* 设置主要字体为微软雅黑，备用字体为苹方，最后回退到无衬线字体 */
    color: #333;
    /* 设置全局默认文本颜色为深灰色 */
    background-color: #fff;
    /* 设置页面背景颜色为白色 */
    /* 使用 vw 实现可缩放的桌面端布局 */
    font-size: 1vw;
    /* 设置基准字体大小为视口宽度的 1%，实现随屏幕宽度自动缩放 */
    overflow-x: hidden;
    /* 隐藏水平滚动条，防止意外的横向溢出 */
}

/* 链接样式 */
a {
    text-decoration: none;
    /* 去除链接的默认下划线 */
    color: inherit;
    /* 链接颜色继承父元素颜色 */
    transition: opacity 0.3s;
    /* 设置透明度变化的过渡效果，时长 0.3 秒 */
}

/* 图片通用样式 */
img {
    display: block;
    /* 将图片设置为块级元素，消除行内元素底部的默认间隙 */
    width: 100%;
    /* 图片宽度默认占满父容器 */
    height: auto;
    /* 高度自动保持比例 */
}

/* 列表样式 */
ul {
    list-style: none;
    /* 去除列表项默认的小圆点或数字标记 */
}

/* 
   头部 - 顶部导航栏区域 
*/
.top-header {
    width: 100%;
    /* 宽度占满父容器 */
    background-color: #fff;
    /* 背景色设为白色 */
    /* 检查图片：良好的留白间距 */
    margin-bottom: 2vw;
    /* 底部预留 2vw 的外边距，与下方内容隔开 */
}

/* 导航栏容器 */
.nav-bar {
    display: flex;
    /* 使用 Flexbox 布局 */
    justify-content: space-between;
    /* 子元素两端对齐（左侧品牌，右侧认证链接） */
    align-items: center;
    /* 子元素垂直居中对齐 */
    padding: 1vw 5vw;
    /* 上下内边距 1vw，左右内边距 5vw */
    /* 侧边内边距 */
}

/* 左侧品牌标识区域 */
.branding {
    display: flex;
    /* 使用 Flexbox 布局 */
    align-items: center;
    /* 垂直居中对齐 */
    gap: 0.5vw;
    /* 图标和文字之间的间距设为 0.5vw */
}

/* 品牌微缩 Logo 图标 */
.mini-logo {
    width: 1.5vw;
    /* 设置图标宽度为 1.5vw */
    /* 图片中的微小图标 Logo */
    height: auto;
    /* 高度自动 */
}

/* 品牌文字名称 */
.brand-name {
    font-size: 0.8vw;
    /* 字体大小设为 0.8vw */
    color: #666;
    /* 字体颜色设为浅灰色 */
    font-weight: normal;
    /* 字体粗细设为正常 */
}

/* 右侧认证链接区域 */
.auth-links {
    display: flex;
    /* 使用 Flexbox 布局 */
    align-items: center;
    /* 垂直居中对齐 */
    gap: 1.5vw;
    /* 各个认证链接项之间的间距设为 1.5vw */
}

/* 单个认证链接项 */
.auth-item {
    font-size: 0.8vw;
    /* 字体大小设为 0.8vw */
    color: #666;
    /* 字体颜色设为浅灰色 */
    display: flex;
    /* 使用 Flexbox 布局，排列图标和文字 */
    align-items: center;
    /* 垂直居中对齐 */
    gap: 0.3vw;
    /* 图标和文字之间的微小间距 */
}

/* 认证图标 */
.auth-item .icon {
    width: 1vw;
    /* 图标宽度 1vw */
    height: 1vw;
    /* 图标高度 1vw */
    color: #999;
    /* 图标颜色设为更浅的灰色 */
}

/* 
   头部 - 核心内容（Hero）区域 
*/
.hero-content {
    text-align: center;
    /* 内容文本水平居中 */
    padding: 15vw 0 16vw;
    /* 上内边距 15vw，左右 0，下内边距 16vw */
    /* 充足的垂直间距 - 按要求加倍 */
}

/* 核心大标题 */
.hero-title {
    font-size: 3vw;
    /* 大字体 3vw */
    /* 粗体大标题 */
    font-weight: 800;
    /* 特粗字体 */
    color: #333;
    /* 深灰色文本 */
    margin-bottom: 0.8vw;
    /* 底部间距 0.8vw */
    letter-spacing: 0.1vw;
    /* 字间距微调 */
}

/* 核心副标题 */
.hero-subtitle {
    font-size: 1.8vw;
    /* 副标题字体较小 1.8vw */
    /* 较小的副标题 */
    color: #555;
    /* 颜色稍浅 */
    font-weight: normal;
    /* 正常粗细 */
    margin-bottom: 2.2vw;
    /* 底部与标签的间距 */
}

/* Hero 标签（用于“品质可靠 / 技术过硬”） */
.hero-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2vw;
    margin-top: 0.2vw;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6vw 1.4vw;
    border-radius: 5vw;
    border: 0.12vw solid #e6e6e6;
    background: #fff;
    color: #333;
    font-size: 1vw;
    font-weight: 700;
    letter-spacing: 0.05vw;
    box-shadow: 0 0.4vw 1.2vw rgba(0, 0, 0, 0.08);
}

/* 核心区域按钮 */
.btn-hero {

    display: inline-flex;
    /* 使用 inline-flex 实现文字居中 */
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    width: 10vw;
    /* 固定宽度 */
    height: 3vw;
    /* 固定高度 */
    background-color: #1a1a1a;
    /* 背景色接近黑色 */
    color: #fff;
    /* 按钮文字白色 */
    border-radius: 5vw;
    /* 大圆角背景，实现胶囊状 */
    font-size: 1vw;
    /* 字体大小 */
    letter-spacing: 0.05vw;
    /* 字间距 */
    cursor: pointer;
    /* 鼠标悬停变为手型 */
    box-shadow: 0 0.5vw 1.5vw rgba(0, 0, 0, 0.15);
    /* 添加底部阴影增加立体感 */
}

/* 
   功能板块（解决方案）区域
*/
.feature-block {
    padding: 3vw 15vw;
    /* 上下内边距 3vw，左右内边距 15vw（实现内容居中，两侧留白） */
    /* 内容居中，非全宽文本 */
    border-top: 1px solid transparent;
    /* 透明上边框，占位防止塌陷 */
}

/* 板块的居中标题区域 */
.section-center-header {
    text-align: center;
    /* 文本居中对齐 */
    margin-bottom: 4vw;
    /* 底部留白 4vw，与内容区隔开 */
}

/* 板块标题文字 */
.block-title {
    font-size: 1.8vw;
    /* 字体大小 1.8vw */
    font-weight: 800;
    /* 特粗字体 */
    color: #333;
    /* 字体颜色深灰 */
    margin-bottom: 1.5vw;
    /* 底部间距 */
}

/* 副标题分隔线容器 */
.subtitle-divider {
    display: inline-block;
    /* 行内块显示，包裹内容 */
    position: relative;
    /* 相对定位，作为下划线绝对定位的参考 */
    padding-bottom: 0.5vw;
    /* 底部留白给下划线 */
}

/* 副标题文字 span */
.subtitle-divider span {
    font-size: 1.1vw;
    /* 字体大小 1.1vw */
    font-weight: bold;
    /* 粗体 */
    color: #333;
    /* 字体颜色深灰 */
}

/* 蓝色强调下划线 */
.accent-line {
    width: 100%;
    /* 宽度占满父容器（文字宽度） */
    height: 0.25vw;
    /* 线条高度 */
    background-color: #5d7ef7;
    /* 蓝色背景 */
    /* 匹配图片中的蓝色下划线 */
    margin-top: 0.3vw;
    /* 顶部间距 */
}

/* 之字形排列容器 */
.zig-zag-row {
    display: flex;
    /* 使用 Flexbox 布局 */
    align-items: flex-start;
    /* 顶部对齐 */
    justify-content: center;
    /* 水平居中 */
    gap: 5vw;
    /* 图文之间的间距 5vw */
}

/* 左侧图片区域容器 */
.img-side {
    width: 45%;
    /* 宽度占父容器的 45% */
    /* 略小于一半宽度 */
    flex-shrink: 0;
    /* 防止宽度被压缩 */
}

/* 电脑模型外壳容器，包含边框和屏幕内容 */
.monitor-wrapper {
    position: relative;
    /* 相对定位，作为内部绝对定位元素的参考 */
    /* width: 45%;  宽度继承自 .img-side */
    transition: transform 0.3s ease;
    /* 变换效果的过渡动画时间 0.3秒 */
    cursor: pointer;
    /* 鼠标悬停变为手型 */
}

/* 电脑模型悬停效果 */
.monitor-wrapper:hover {
    transform: scale(1.05);
    /* 悬停时整体放大 1.05 倍 */
}

/* 电脑边框图片 */
.monitor-frame {
    display: block;
    /* 块级显示 */
    width: 100%;
    /* 宽度 100% 适应容器 */
    border-radius: 0.2vw;
    /* 轻微圆角 */
    box-shadow: 0 1vw 2vw rgba(0, 0, 0, 0.05);
    /* 添加柔和阴影 */
    transition: none;
    /* 禁止特定图片自身的过渡，防止与容器双重放大 */
}

/* 覆盖通用图片悬停效果，防止双重放大 */
.monitor-wrapper .monitor-frame:hover {
    transform: none;
}

/* 屏幕内容覆盖层（用于展示滚动长图） */
.screen-content {
    position: absolute;
    /* 绝对定位，相对于 .monitor-wrapper */
    top: 7.8%;
    /* 顶部定位修正，适应显示器边框内 */
    left: 5.3%;
    /* 左侧定位修正，适应显示器边框内 */
    width: 89.8%;
    /* 宽度适配屏幕区域 */
    height: 79.0%;
    /* 高度适配屏幕区域 */
    /* Increased height to cover the full screen area of the monitor image, hiding the original content underneath */
    background-image: url('images/高保真原型.png');
    /* 设置背景图为高保真原型长图 */
    background-size: 100% auto;
    /* 宽度 100%，高度自动（保持比例） */
    background-position: top center;
    /* 默认显示图片顶部 */
    background-repeat: no-repeat;
    /* 不重复背景图 */
    transition: background-position 4s ease-in-out;
    /* 背景位置变化的过渡动画，时长 4 秒，缓入缓出 */
    /* Smooth scroll effect */
    z-index: 2;
    /* 层级高于原图 */
}

/* 鼠标悬停时屏幕内容滚动到底部 */
.monitor-wrapper:hover .screen-content {
    background-position: bottom center;
    /* 背景图定位到底部，实现滚动效果 */
}

/* 更新非电脑模型的普通图片样式 */
.img-side>img {
    width: 100%;
    /* 宽度 100% */
    border-radius: 0.2vw;
    /* 圆角 */
    box-shadow: 0 1vw 2vw rgba(0, 0, 0, 0.05);
    /* 阴影 */
    transition: transform 0.3s ease;
    /* 缩放过渡效果 */
}

/* 普通图片悬停放大效果 */
.img-side>img:hover {
    transform: scale(1.05);
    /* 放大 1.05 倍 */
}

/* 右侧文本区域容器 */
.txt-side {
    flex: 1;
    /* 占据剩余空间 */
    /* 移除全局变换，避免影响“关于我们”部分 */
}

/* 专门针对功能板块（Feature Block）的文本样式 */
.feature-block .txt-side {
    padding-top: 2vw;
    /* 顶部内边距 */
    /* 与图片视觉顶部大致对齐 */
    transform: translate(20%, -10%);
    /* 位移变换 */
    /* 总共向右移动 20% 并向上移动 10%，以实现特定的排版效果 */
}

/* 内容标题样式 */
.content-heading {
    font-size: 1.5vw;
    /* 字体大小 1.5vw */
    font-weight: 800;
    /* 特粗 */
    color: #333;
    /* 颜色深灰 */
    margin-bottom: 1.5vw;
    /* 底部间距 */
}

/* 文本列表项样式 */
.text-list li {
    font-size: 1vw;
    /* 字体大小 1vw */
    color: #555;
    /* 颜色灰色 */
    line-height: 2;
    /* 行高设为 2 倍，增加可读性 */
    /* 良好的可读间距 */
}

/* App列表的多列布局容器 */
.multi-col-list {
    display: flex;
    /* Flexbox 布局 */
    gap: 3vw;
    /* 列间距 3vw */
}

/* 
   关于我们部分 
*/
.about-section {
    padding: 5vw 15vw;
    /* 上下内边距 5vw，左右 15vw */
}

/* 关于我们头部区域 */
.about-header {
    margin-bottom: 3vw;
    /* 底部间距 */
    border-left: 0.4vw solid #000;
    /* 左侧黑色边框装饰线条 */
    padding-left: 1vw;
    /* 左侧内边距，使文字与边框隔开 */
}

/* 关于我们标题 */
.about-header h3 {
    font-size: 2vw;
    /* 字体大小 2vw */
    font-weight: bold;
    /* 粗体 */
}

/* 关于我们副标题（英文） */
.about-header span {
    font-size: 0.9vw;
    /* 字体较小 */
    color: #999;
    /* 颜色浅灰 */
    letter-spacing: 0.1vw;
    /* 字间距 */
    display: block;
    /* 块级显示，独占一行 */
    margin-top: 0.3vw;
    /* 顶部微小间距 */
}

/* 关于我们正文段落 */
.about-txt p {
    font-size: 1vw;
    /* 字体大小 1vw */
    margin-bottom: 1.5vw;
    /* 段落间距 */
    line-height: 1.8;
    /* 行高 1.8 */
    color: #666;
    /* 颜色灰色 */
    text-align: justify;
    /* 两端对齐排版 */
}

/* 关于我们正文中的小标题 */
.about-txt h4 {
    font-size: 1.4vw;
    /* 字体大小 1.4vw */
    font-weight: bold;
    /* 粗体 */
    margin-bottom: 1.5vw;
    /* 底部间距 */
}

/* 确保关于我们部分的文本严格左对齐并重置之前的位移变换 */
.about-section .txt-side {
    transform: none;
    /* 清除 transform 属性 */
    padding-left: 0;
    /* 清除可能继承的左内边距 */
    /* Optional: Indent slightly to match header text if desired, but 'left end' usually means the start of the component */
    padding-left: 1.4vw;
    /* 重新设置左内边距以对齐上方的标题文字（border 0.4 + padding 1） */
    /* Aligning with the text of 'About Us' (border 0.4 + padding 1) */
}

/* 
   统计数据部分 
*/
.stats-section {
    display: flex;
    /* Flexbox 布局 */
    justify-content: space-between;
    /* 子元素在主轴上均匀分布 */
    padding: 5vw 15vw 14vw;
    /* 上 5vw，左右 15vw，下 14vw */
    /* Increased bottom padding to 14vw */
    background: #fff;
    /* 背景白色 */
    border-top: 1px solid #f5f5f5;
    /* 顶部有一条微弱的分隔线 */
    /* 微妙的分隔线 */
}

/* 单个统计项容器 */
.stat-item {
    text-align: center;
    /* 文本居中 */
    width: 22%;
    /* 宽度占 22%，一行放4个 */
    /* Ensure items have width for text wrapping */
}

/* 统计数字样式 */
.stat-num {
    display: block;
    /* 块级元素 */
    font-size: 2.5vw;
    /* 大字体 2.5vw */
    /* Slightly adjusted to match proportion */
    font-weight: 800;
    /* 特粗 */
    color: #333;
    /* 颜色深灰 */
    /* Darker grey/black */
    margin-bottom: 0.5vw;
    /* 底部间距 */
    margin-left: 40%;
    /* 向右移动30% */
}

/* 统计项标题标签样式 */
.stat-label {
    display: block;
    /* 块级元素 */
    font-size: 1.1vw;
    /* 字体大小 1.1vw */
    font-weight: 800;
    /* 特粗 */
    /* Bold title */
    color: #333;
    /* 颜色深灰 */
    margin-bottom: 1vw;
    /* 底部间距 */
    margin-left: 35%;
    /* 向右移动30% */
}

/* 统计项描述文本样式 */
.stat-desc {
    font-size: 1vw;
    /* 字体大小 1vw */
    color: #666;
    /* 颜色灰色 */
    line-height: 1.6;
    /* 行高 1.6 */
    text-align: center;
    /* 居中对齐 */
    width: 88%;
    /* 宽度限制为 88% 以强制换行 */
    /* Reduce width to force wrapping */
    margin: 0 auto;
    /* 水平居中 */
    /* Center the text block */
}

/* 第2个统计项（200+）：保持当前偏移 */
.stat-item:nth-child(2) .stat-num {
    margin-left: 30%;
}

/* 第3个统计项（1000+）：单独向左移动 10%（相对原来的 30%） */
.stat-item:nth-child(3) .stat-num {
    margin-left: 24%;
}


/* 
   底部页脚区域 
*/
.footer-area {
    width: 100%;
    /* 宽度 100% */
    height: 30vw;
    /* 高度固定为 30vw */
    background-size: cover;
    /* 背景图覆盖 */
    background-position: center;
    /* 背景图居中 */
    position: relative;
    /* 相对定位 */
    color: #fff;
    /* 文本颜色白色 */
    text-align: center;
    /* 文本居中 */
}

/* 页脚内容覆盖层 */
.footer-content {
    background: rgba(0, 0, 0, 0.5);
    /* 半透明黑色背景遮罩 */
    width: 100%;
    /* 宽度 100% */
    height: 100%;
    /* 高度 100% */
    display: flex;
    /* Flexbox 布局 */
    flex-direction: column;
    /* 垂直排列 */
    justify-content: center;
    /* 垂直居中 */
    align-items: center;
    /* 水平居中 */
}

/* 页脚主标题 */
.ft-title {
    font-size: 2.2vw;
    /* 字体大小 2.2vw */
    margin-bottom: 0.5vw;
    /* 底部间距 */
    font-weight: normal;
    /* 正常粗细 */
}

/* 页脚副标题 */
.ft-sub {
    font-size: 1.8vw;
    /* 字体大小 1.8vw */
    font-weight: bold;
    /* 粗体 */
    margin-bottom: 3vw;
    /* 底部间距 */
}

/* 线框按钮样式 */
.btn-outline {
    display: inline-flex;
    /* 使用 inline-flex 实现文字居中 */
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    width: 10vw;
    /* 固定宽度，与 btn-hero 一致 */
    height: 3vw;
    /* 固定高度，与 btn-hero 一致 */
    background: transparent;
    /* 背景透明 */
    border: 0.15vw solid #fff;
    /* 白色边框 */
    border-radius: 5vw;
    /* 圆角胶囊 */
    color: #fff;
    /* 字体白色 */
    font-size: 1vw;
    /* 字体大小 */
    letter-spacing: 0.05vw;
    /* 字间距 */
    cursor: pointer;
    /* 鼠标手型 */
    transition: background 0.3s;
    /* 背景色过渡动画 */
}

/* 线框按钮悬停样式 */
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    /* 悬停时背景变为微白色半透明 */
}

/* 
   横向滚动/滑块组件区域 
*/
.scroll-container-outer {
    /* 
       总高度决定滚动持续时间 - 减少到 300vh 以实现更敏捷的切换 
    */
    height: 300vh;
    /* 设置容器高度为 300vh，用于产生滚动空间 */
    position: relative;
    /* 相对定位 */
}

/* 粘性定位包装器 */
.sticky-wrapper {
    position: sticky;
    /* 粘性定位 */
    top: 0;
    /* 距离顶部 0 */
    height: 100vh;
    /* 高度占满视口 */
    width: 100%;
    /* 宽度 100% */
    overflow: hidden;
    /* 隐藏溢出内容 */
    background-color: #fff;
    /* 背景白色 */
    z-index: 10;
    /* 层级设为 10，确保在其他元素之上 */
}

/* 横向轨道，包含所有滑块 */
.horizontal-track {
    display: flex;
    /* Flexbox 布局 */
    width: 400%;
    /* 宽度为 400%（因为有 4 个部分） */
    /* 4 个部分 */
    height: 100%;
    /* 高度 100% */
    will-change: transform;
    /* 提示浏览器 content 将要变化，优化性能 */
    /* 平滑滑动过渡 */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* 变换过渡效果，使用贝塞尔曲线实现平滑 */
}

/* 修改 feature-block 以作为滑块使用 */
.horizontal-track .feature-block {
    width: 25%;
    /* 每个滑块占总轨道的 1/4 */
    /* 轨道的 1/4 宽度 */
    height: 100vh;
    /* 高度占满视口 */
    /* 覆盖现有内边距以使内容在 100vh 内垂直居中 */
    padding: 0 15vw;
    /* 修改内边距，左右 15vw，上下 0 */
    display: flex;
    /* Flexbox 布局 */
    flex-direction: column;
    /* 垂直排列 */
    justify-content: center;
    /* 垂直居中 */
    border-top: none;
    /* 移除上边框 */
    /* 移除滑块内部的分隔线 */
}