/* ============================================================
   鑫彩新材料官网样式表（双语版 / 英文版通用）
   基于参考网站风格：蓝色主调、毛玻璃导航、卡片式布局
   新增：产品编号徽章、规格列表、手机端产品滑动翻页组件
   ============================================================ */

/* ==================== 全局样式重置与基础设置 ==================== */
/* 清除所有元素的默认外边距、内边距，统一盒模型为border-box */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS变量定义：集中管理颜色、阴影、渐变、过渡等设计令牌 */
:root {
    --primary: #1a73e8;          /* 主色调：蓝色 */
    --primary-dark: #0d47a1;     /* 主色调深色变体 */
    --primary-light: #4fc3f7;    /* 主色调浅色变体 */
    --accent: #ff6f00;           /* 强调色：橙色 */
    --text-dark: #1a1a2e;        /* 深色文本 */
    --text-medium: #333;         /* 中等色文本 */
    --text-light: #666;          /* 浅色文本 */
    --bg-light: #f8f9fa;         /* 浅色背景 */
    --bg-white: #fff;            /* 白色背景 */
    --border-color: #e0e0e0;     /* 边框颜色 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);    /* 小阴影 */
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);    /* 中等阴影 */
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);   /* 大阴影 */
    --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);  /* 主色渐变 */
    --gradient-accent: linear-gradient(135deg, #ff6f00 0%, #f57c00 100%);   /* 强调色渐变 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);  /* 统一过渡动画 */
}

/* 字体与基础文本样式 */
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;              /* 行高1.6倍，提升可读性 */
    color: var(--text-medium);     /* 默认文本颜色 */
    background-color: var(--bg-light);  /* 浅色背景 */
    overflow-x: hidden;            /* 隐藏水平滚动条，防止元素溢出 */
}

/* 容器样式：限制最大宽度并居中 */
.container {
    width: 100%;
    max-width: 1200px;    /* 最大宽度1200px，适配主流屏幕 */
    margin: 0 auto;       /* 水平居中 */
    padding: 0 20px;      /* 左右内边距，防止内容贴边 */
}

/* ==================== 导航栏样式 ==================== */
/* 固定在页面顶部的导航栏，带毛玻璃效果 */
header {
    background: rgba(255, 255, 255, 0.95);  /* 半透明白色背景 */
    backdrop-filter: blur(10px);              /* 毛玻璃模糊效果 */
    -webkit-backdrop-filter: blur(10px);     /* Safari浏览器兼容 */
    box-shadow: var(--shadow-sm);             /* 轻微阴影 */
    position: sticky;                         /* 粘性定位，滚动时固定在顶部 */
    top: 0;
    z-index: 1000;                            /* 确保导航栏在最上层 */
    transition: var(--transition);
}

/* 滚动后导航栏增强阴影效果 */
header.scrolled {
    box-shadow: var(--shadow-md);
}

/* 滚动后导航栏缩小内边距 */
header.scrolled nav {
    padding: 12px 0;
}

/* 导航栏内部flex布局 */
nav {
    display: flex;
    justify-content: space-between;  /* 左右两端对齐 */
    align-items: center;              /* 垂直居中 */
    padding: 20px 0;
    transition: var(--transition);
}

/* 品牌标识样式：渐变文字效果 */
.logo {
    font-size: 24px;
    font-weight: 800;                          /* 超粗字体 */
    background: var(--gradient-primary);        /* 渐变背景 */
    -webkit-background-clip: text;              /* 背景裁剪到文字 */
    -webkit-text-fill-color: transparent;       /* 文字颜色透明，显示渐变 */
    background-clip: text;
    text-decoration: none;                       /* 去除下划线 */
    letter-spacing: -0.5px;                     /* 紧凑字间距 */
    transition: var(--transition);
    white-space: nowrap;                        /* 品牌名不换行 */
}

/* 品牌标识悬停效果：轻微透明度变化 */
.logo:hover {
    opacity: 0.85;
}

/* 导航链接样式：水平排列 */
.nav-links {
    display: flex;
    list-style: none;       /* 去除列表圆点 */
    align-items: center;    /* 垂直居中 */
}

/* 导航链接项间距 */
.nav-links li {
    margin-left: 30px;
}

/* 导航链接文字样式 */
.nav-links a {
    text-decoration: none;       /* 去除下划线 */
    color: var(--text-medium);   /* 默认文字颜色 */
    font-weight: 500;            /* 中等字重 */
    transition: var(--transition);
    position: relative;          /* 为底部下划线动画定位 */
}

/* 导航链接底部下划线动画：初始宽度为0 */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;                          /* 初始宽度0 */
    height: 2px;                       /* 下划线高度 */
    background: var(--gradient-primary); /* 渐变下划线 */
    transition: width 0.3s ease;       /* 宽度过渡动画 */
}

/* 悬停和激活状态下划线展开到100%宽度 */
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* 悬停和激活状态文字颜色变为主色 */
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* ==================== 语言切换按钮样式（中英双语） ==================== */
/* 语言切换按钮组容器 */
.language-switch {
    display: flex;
    margin-left: 20px;    /* 与左侧导航链接的间距 */
    gap: 2px;              /* 按钮之间2px间距 */
    background: var(--bg-light);  /* 浅灰背景 */
    border-radius: 8px;    /* 圆角 */
    padding: 3px;          /* 内边距 */
}

/* 单个语言按钮样式 */
.language-btn {
    padding: 6px 14px;
    background-color: transparent;  /* 透明背景 */
    border: none;                    /* 无边框 */
    cursor: pointer;                 /* 手型光标 */
    transition: var(--transition);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 6px;             /* 圆角 */
}

/* 语言按钮悬停效果 */
.language-btn:hover {
    color: var(--primary);
    background-color: rgba(26, 115, 232, 0.08);  /* 淡蓝色背景 */
}

/* 当前激活的语言按钮：渐变背景白色文字 */
.language-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);  /* 蓝色阴影 */
}

/* 移动端菜单按钮（默认隐藏，移动端显示） */
.mobile-menu-btn {
    display: none;           /* 桌面端隐藏 */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-medium);
}

/* ==================== 英雄区域样式 ==================== */
/* 首页顶部大图区域，渐变背景+装饰圆形光晕 */
.hero {
    background: var(--gradient-primary);  /* 渐变背景 */
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;       /* 隐藏装饰元素溢出 */
}

/* 右上角装饰性圆形光晕 */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* 左下角装饰性圆形光晕 */
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79,195,247,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

/* 英雄区域内容层级高于装饰元素 */
.hero .container {
    position: relative;
    z-index: 1;
}

/* 英雄区域标题样式 */
.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);  /* 文字阴影 */
    animation: fadeInUp 0.8s ease;  /* 入场动画 */
}

/* 英雄区域副标题样式 */
.hero p {
    font-size: 20px;
    margin-bottom: 36px;
    max-width: 800px;          /* 最大宽度限制可读性 */
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;  /* 延迟0.2秒入场 */
}

/* 英雄区域按钮组：多个按钮水平排列并留出间距 */
.hero-btns {
    display: flex;
    justify-content: center;   /* 水平居中 */
    gap: 16px;                 /* 按钮之间的间距 */
    flex-wrap: wrap;           /* 窄屏时允许换行 */
}

/* 从下向上淡入动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 按钮样式 ==================== */
/* 通用按钮样式：圆角胶囊型 */
.btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: #fff;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;          /* 完全圆角，胶囊型 */
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 按钮悬停效果：上浮+阴影加深 */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 主色按钮变体：蓝底白字 */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

/* 主色按钮悬停效果 */
.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

/* 描边按钮变体：透明底白边（用于深色/渐变背景上） */
.btn-outline {
    background: rgba(255, 255, 255, 0.12);   /* 半透明白色底 */
    color: white;                             /* 白色文字 */
    border: 2px solid rgba(255, 255, 255, 0.7); /* 白色描边 */
    box-shadow: none;                         /* 去掉阴影更轻盈 */
}

/* 描边按钮悬停：底色变白、文字变蓝 */
.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* 英雄区域内按钮入场动画 */
.hero .btn {
    animation: fadeInUp 0.8s ease 0.4s both;  /* 延迟0.4秒入场 */
}

/* ==================== 区域标题样式 ==================== */
/* 各内容区域的标题统一样式 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* 区域标题文字样式 */
.section-title h2 {
    font-size: 36px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

/* 区域标题底部装饰线 */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);   /* 水平居中 */
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* 区域标题下方的副标题说明文字 */
.section-title .section-sub {
    margin-top: 14px;              /* 与主标题的间距 */
    color: var(--text-light);      /* 浅色文字 */
    font-size: 16px;               /* 适中字号 */
}

/* 文字居中辅助类 */
.text-center {
    text-align: center;
}

/* 查看全部按钮的外边距 */
.view-all-wrapper {
    margin-top: 40px;
}

/* ==================== 特色产品区域 ==================== */
.featured-products {
    padding: 80px 0;
    background-color: #fff;
}

/* 产品卡片网格布局：自适应列数 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* 产品卡片样式：纵向弹性布局保证同排等高 */
.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;          /* 隐藏子元素溢出（图片圆角） */
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;             /* 纵向弹性布局 */
    flex-direction: column;    /* 图片在上、文字在下 */
    height: 100%;              /* 撑满网格单元高度 */
}

/* 产品卡片悬停效果：上浮+阴影+蓝色边框 */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 115, 232, 0.1);
}

/* 产品图片容器 */
.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;        /* 作为编号徽章的定位基准 */
    flex-shrink: 0;            /* 图片区域不被压缩 */
}

/* 产品图片样式：覆盖填充 */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;              /* 保持比例覆盖 */
    transition: transform 0.5s ease; /* 悬停放大过渡 */
    -webkit-user-drag: none;         /* 禁止图片拖拽，避免干扰滑动 */
    user-select: none;               /* 禁止选中图片 */
}

/* 产品卡片悬停时图片放大效果 */
.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* 产品编号徽章：悬浮在图片左上角 */
.product-num {
    position: absolute;              /* 相对于图片容器定位 */
    top: 14px;
    left: 14px;
    background: rgba(26, 115, 232, 0.92);   /* 半透明主色底 */
    color: #fff;                     /* 白色文字 */
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;             /* 胶囊形徽章 */
    letter-spacing: 1px;             /* 数字间距 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);  /* 轻微阴影增强可读性 */
}

/* 产品详情文字区域：纵向弹性布局 */
.product-details {
    padding: 24px;
    display: flex;             /* 弹性布局 */
    flex-direction: column;    /* 从上到下排列 */
    flex: 1;                   /* 占满卡片剩余高度 */
}

/* 产品名称样式 */
.product-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 700;
}

/* 产品一句话卖点（标语）样式 */
.product-tagline {
    color: var(--accent);      /* 橙色强调 */
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* 产品规格参数列表样式 */
.product-specs {
    list-style: none;          /* 去除圆点 */
    background: var(--bg-light);   /* 浅灰底衬托 */
    border-radius: 8px;            /* 圆角面板 */
    padding: 12px 16px;            /* 内边距 */
    margin-bottom: 14px;           /* 与描述的间距 */
}

/* 规格列表单项：带蓝色小方块标记 */
.product-specs li {
    font-size: 13px;
    color: var(--text-medium);
    padding: 3px 0 3px 16px;       /* 左侧留出标记位置 */
    position: relative;
    line-height: 1.5;
}

/* 规格项前的蓝色小方块标记 */
.product-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;                     /* 与文字行居中对齐 */
    width: 6px;
    height: 6px;
    background: var(--primary);    /* 主色方块 */
    border-radius: 2px;
}

/* 产品描述样式：占据剩余空间，保证卡片底部对齐 */
.product-desc {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 14px;
    flex: 1;                       /* 撑开剩余高度，按钮/描述对齐 */
}

/* 产品列表区域 */
.products-section {
    padding: 80px 0;
    background-color: #fff;
}

/* ==================== 手机端产品滑动翻页组件 ==================== */
/* 滑动组件容器：桌面端隐藏 */
.product-slider {
    display: none;                 /* 桌面端不显示 */
    position: relative;
}

/* 滑动轨道：水平排列所有幻灯片 */
.slider-track {
    display: flex;                 /* 幻灯片水平排列 */
    align-items: stretch;          /* 所有幻灯片等高 */
    touch-action: pan-y;           /* 允许纵向滚动页面，横向手势交给JS处理 */
    cursor: grab;                  /* 提示可拖拽 */
}

/* 拖拽中的光标反馈 */
.slider-track.dragging {
    cursor: grabbing;
}

/* 单张幻灯片：占满容器宽度，一页一张产品 */
.slider-slide {
    flex: 0 0 100%;                /* 每张幻灯片宽度=容器宽度 */
    min-width: 100%;               /* 防止被压缩 */
    display: flex;                 /* 让内部卡片撑满 */
    padding: 4px 2px 8px;          /* 轻微内边距，避免贴边 */
}

/* 幻灯片内的产品卡片撑满整个幻灯片 */
.slider-slide .product-card {
    width: 100%;                   /* 卡片占满幻灯片宽度 */
    margin: 0;                     /* 清除外边距 */
    box-shadow: var(--shadow-md);  /* 手机端卡片阴影稍明显 */
}

/* 滑动控制区：上一张/计数/下一张 */
.slider-controls {
    display: flex;
    justify-content: center;       /* 水平居中 */
    align-items: center;
    gap: 20px;                     /* 元素间距 */
    margin-top: 18px;              /* 与卡片的间距 */
}

/* 翻页按钮：圆形蓝色按钮 */
.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;            /* 圆形 */
    border: none;
    background: var(--gradient-primary);   /* 主色渐变底 */
    color: #fff;                   /* 白色箭头 */
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.35);  /* 蓝色阴影 */
    transition: var(--transition);
}

/* 翻页按钮按下效果：轻微缩小 */
.slider-btn:active {
    transform: scale(0.92);
}

/* 页码计数器文字 */
.slider-counter {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
    min-width: 64px;               /* 固定最小宽度避免翻页时抖动 */
    text-align: center;
}

/* 圆点指示器容器 */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 7px;                      /* 圆点间距 */
    margin-top: 14px;              /* 与控制区的间距 */
    flex-wrap: wrap;               /* 圆点过多时允许换行 */
}

/* 单个圆点指示器 */
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;            /* 圆形 */
    background: #cfd8e3;           /* 未激活：浅灰蓝 */
    cursor: pointer;
    transition: var(--transition);
}

/* 当前页圆点：拉长为胶囊并变蓝 */
.slider-dot.active {
    background: var(--primary);
    width: 22px;                   /* 激活时拉长，视觉引导 */
}

/* ==================== 公司介绍区域 ==================== */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
}

/* 公司介绍内容容器 */
.about-content {
    display: flex;
    flex-direction: column;
    max-width: 900px;    /* 限制最大宽度提升阅读体验 */
    margin: 0 auto;
    text-align: center;  /* 文字居中 */
}

/* 公司介绍段落文字 */
.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 16px;
    text-align: justify;   /* 长段落两端对齐更整齐 */
}

/* 居中段落在窄屏恢复左对齐，避免大段空白 */
@media (max-width: 768px) {
    .about-content p {
        text-align: left;
    }
}

/* ==================== 公司介绍页：图文混排布局 ==================== */
/* 公司介绍页主内容区 */
.company-intro {
    padding: 80px 0;
    background-color: #fff;
}

/* 图文两栏布局：左侧文字+右侧图片 */
.intro-layout {
    display: flex;
    gap: 40px;                 /* 文字与图片的间距 */
    align-items: flex-start;   /* 顶部对齐 */
    max-width: 1100px;         /* 限制最大宽度 */
    margin: 0 auto;            /* 水平居中 */
}

/* 左侧文字栏：占1.2倍宽度 */
.intro-text {
    flex: 1.2;
    min-width: 0;              /* 允许内部文字正常换行 */
}

/* 左侧文字段落样式 */
.intro-text p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 18px;       /* 段落间距 */
    text-align: justify;       /* 两端对齐 */
}

/* 主营产品标签组容器 */
.products-chips {
    display: flex;
    flex-wrap: wrap;           /* 自动换行 */
    gap: 10px;                 /* 标签间距 */
    margin-top: 24px;          /* 与上方段落的间距 */
}

/* 单个主营产品标签：胶囊形 */
.products-chips .chip {
    background: rgba(26, 115, 232, 0.08);   /* 淡蓝底 */
    color: var(--primary);                   /* 蓝色文字 */
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;                     /* 胶囊形 */
    border: 1px solid rgba(26, 115, 232, 0.2);  /* 淡蓝描边 */
}

/* 右侧图片栏：占1倍宽度 */
.intro-image {
    flex: 1;
    min-width: 0;
}

/* 右侧图片样式：圆角+阴影 */
.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;       /* 圆角 */
    box-shadow: var(--shadow-lg);   /* 大阴影突出图片 */
    display: block;            /* 消除图片底部空隙 */
}

/* 图片下方的说明文字 */
.intro-image .img-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin-top: 12px;
}

/* 公司优势区域（公司介绍页） */
.company-advantages {
    padding: 80px 0;
    background-color: var(--bg-light);
}

/* ==================== 公司优势样式 ==================== */
.advantages {
    padding: 80px 0;
    background-color: #fff;
}

/* 优势卡片网格布局 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 单个优势卡片样式 */
.advantage-item {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(145deg, #f8f9fa, #fff);  /* 微渐变背景 */
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

/* 优势卡片悬停效果 */
.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 115, 232, 0.2);
}

/* 优势图标样式：渐变色 */
.advantage-icon {
    font-size: 44px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* 优势卡片标题 */
.advantage-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

/* 优势卡片描述文字 */
.advantage-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 页面标题区域 ==================== */
/* 内页顶部横幅区域 */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 页面标题装饰性圆形光晕 */
.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* 页面标题内容层级高于装饰 */
.page-header .container {
    position: relative;
    z-index: 1;
}

/* 页面标题文字 */
.page-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
    font-weight: 800;
}

/* 页面标题副标题 */
.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* ==================== 联系我们样式 ==================== */
/* 首页底部联系信息区域 */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

/* 联系信息flex布局 */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* 联系信息容器 */
.contact-info {
    flex: 1;
    min-width: 300px;
}

/* 联系信息小标题 */
.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* 单个联系信息项：图标+文字横排 */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

/* 联系信息图标容器 */
.contact-icon {
    font-size: 24px;
    color: var(--primary);
    margin-right: 16px;
    margin-top: 4px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 115, 232, 0.1);  /* 淡蓝色背景 */
    border-radius: 12px;
    flex-shrink: 0;              /* 图标不被压缩 */
}

/* 联系信息标签文字 */
.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

/* 联系信息内容文字 */
.contact-details p {
    color: var(--text-light);
}

/* ==================== 联系页面 - 居中展示样式 ==================== */
/* 联系页面内容区域 */
.contact-content-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

/* 联系页面两栏布局：左侧联系卡片+右侧二维码卡片 */
.contact-page-layout {
    display: flex;
    gap: 30px;                     /* 两栏间距 */
    justify-content: center;       /* 整体居中 */
    align-items: stretch;          /* 两栏等高 */
    max-width: 960px;              /* 限制最大宽度 */
    margin: 0 auto;                /* 水平居中 */
}

/* 联系信息居中展示容器 */
.contact-info-center {
    background: var(--gradient-primary);  /* 蓝色渐变背景 */
    color: white;
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    flex: 1.4;                     /* 联系卡片稍宽 */
    min-width: 0;                  /* 允许收缩 */
}

/* 居中联系信息标题 */
.contact-info-center h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

/* 居中联系信息列表 */
.contact-info-center .contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 居中联系信息单项 */
.contact-info-center .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
}

/* 居中联系信息图标（白色半透明背景） */
.contact-info-center .contact-icon {
    background: rgba(255, 255, 255, 0.2);  /* 白色半透明背景 */
    color: white;
}

/* 居中联系信息标签（小号大写字母） */
.contact-info-center .contact-details h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

/* 居中联系信息内容文字 */
.contact-info-center .contact-details p {
    color: white;
    font-size: 16px;
    font-weight: 500;
    word-break: break-all;         /* 长号码/邮箱可断行 */
}

/* 微信二维码卡片：白底 */
.qr-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 32px 28px;
    flex: 1;                       /* 二维码卡片稍窄 */
    display: flex;
    flex-direction: column;        /* 纵向排列 */
    align-items: center;           /* 水平居中 */
    justify-content: center;       /* 垂直居中 */
    min-width: 0;
}

/* 二维码卡片标题 */
.qr-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

/* 二维码卡片副说明 */
.qr-card .qr-sub {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

/* 二维码图片样式 */
.qr-card img {
    width: 100%;
    max-width: 260px;              /* 限制二维码最大尺寸 */
    height: auto;
    border-radius: 10px;           /* 圆角 */
    border: 1px solid var(--border-color);  /* 细边框 */
}

/* ==================== 页脚样式 ==================== */
/* 深色背景页脚 */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);  /* 深色渐变 */
    color: #fff;
    padding: 60px 0 30px;
}

/* 页脚内容flex布局 */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

/* 页脚公司信息区域 */
.footer-info {
    flex: 1;
    min-width: 250px;
}

/* 页脚公司名称 */
.footer-info h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #fff;
    font-weight: 700;
}

/* 页脚公司描述 */
.footer-info p {
    color: #aaa;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* 页脚快速链接区域 */
.footer-links {
    flex: 1;
    min-width: 200px;
}

/* 页脚快速链接标题 */
.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

/* 页脚链接列表无样式 */
.footer-links ul {
    list-style: none;
}

/* 页脚链接项间距 */
.footer-links li {
    margin-bottom: 10px;
}

/* 页脚链接样式 */
.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

/* 页脚链接悬停效果：变亮+左移 */
.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

/* 页脚底部版权区域 */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);  /* 半透明分隔线 */
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* ICP备案号样式 */
.icp-beian {
    margin-top: 8px;  /* 与上方版权文字的间距 */
}

/* ICP备案号链接样式 */
.icp-beian a {
    color: #888;  /* 与页脚文字颜色保持一致 */
    text-decoration: none;  /* 去除下划线 */
    transition: color 0.3s ease;  /* 颜色过渡动画 */
}

/* ICP备案号链接悬停样式 */
.icp-beian a:hover {
    color: #fff;  /* 悬停时变为白色，提高可见度 */
}

/* ==================== 响应式设计 - 平板 ==================== */
@media (max-width: 992px) {
    /* 平板端英雄区域标题缩小 */
    .hero h1 {
        font-size: 38px;
    }

    /* 平板端英雄区域副标题缩小 */
    .hero p {
        font-size: 16px;
    }

    /* 平板端区域标题缩小 */
    .section-title h2 {
        font-size: 30px;
    }

    /* 平板端产品卡片最小宽度缩小 */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    /* 平板端公司介绍图文布局收窄间距 */
    .intro-layout {
        gap: 24px;
    }

    /* 平板端页面标题缩小 */
    .page-header h1 {
        font-size: 34px;
    }
}

/* ==================== 响应式设计 - 手机 ==================== */
@media (max-width: 768px) {
    /* 移动端导航栏：默认隐藏，点击展开 */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
    }

    /* 移动端导航展开状态 */
    .nav-links.active {
        display: flex;
    }

    /* 移动端导航链接居中 */
    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }

    /* 移动端语言按钮居中排列 */
    .language-switch {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* 移动端显示汉堡菜单按钮 */
    .mobile-menu-btn {
        display: block;
    }

    /* 移动端英雄区域缩小 */
    .hero {
        padding: 60px 0;
    }

    /* 移动端英雄标题缩小 */
    .hero h1 {
        font-size: 30px;
    }

    /* 移动端英雄副标题缩小 */
    .hero p {
        font-size: 15px;
    }

    /* 手机端隐藏桌面网格，改用滑动翻页组件 */
    .product-grid {
        display: none;
    }

    /* 手机端显示滑动组件 */
    .product-slider {
        display: block;
    }

    /* 手机端滑动卡片图片加高，展示更饱满 */
    .slider-slide .product-image {
        height: 240px;
    }

    /* 手机端公司介绍图文改为纵向堆叠 */
    .intro-layout {
        flex-direction: column;
    }

    /* 手机端图片移到文字下方并限制高度 */
    .intro-image {
        width: 100%;
    }

    /* 手机端优势卡片单列 */
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    /* 手机端联系页面两栏改为纵向堆叠 */
    .contact-page-layout {
        flex-direction: column;
    }

    /* 手机端联系卡片内边距缩小 */
    .contact-info-center {
        padding: 32px 24px;
    }

    /* 手机端页脚纵向排列 */
    .footer-content {
        flex-direction: column;
    }

    /* 手机端页面标题缩小 */
    .page-header {
        padding: 56px 0;
    }

    /* 手机端页面标题缩小 */
    .page-header h1 {
        font-size: 28px;
    }
}

/* ==================== 响应式设计 - 小屏手机 ==================== */
@media (max-width: 480px) {
    /* 小屏英雄标题进一步缩小 */
    .hero h1 {
        font-size: 26px;
    }

    /* 小屏区域标题缩小 */
    .section-title h2 {
        font-size: 24px;
    }

    /* 小屏按钮缩小 */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* 小屏品牌标识缩小 */
    .logo {
        font-size: 18px;
    }

    /* 小屏产品名称缩小 */
    .product-name {
        font-size: 18px;
    }
}

/* ==================== Contact Page - QR Code Group Layout (v2) ==================== */
/* Tidy two-group layout: equal-size cards in one row, consistent gaps, centered, mobile-friendly */

/* Override: widen the two-column contact layout so the International Trade group
   (3 QR cards in one row) has enough room without shrinking too much */
.contact-page-layout {
    max-width: 1120px;         /* wider than the old 960px to fit three 140px cards plus gaps */
}

/* Override: balance the left/right column ratio so both columns get equal width;
   the left info card keeps almost its original width while the QR column gains room */
.contact-info-center {
    flex: 1;                   /* was 1.4; now 1:1 so the QR group card is wide enough */
}

/* Row container that holds the QR mini-cards of one group */
.qr-row {
    display: flex;             /* use flexbox so cards line up in a single row */
    flex-wrap: wrap;           /* allow wrapping so mobile devices keep the alignment instead of squashing */
    justify-content: center;   /* keep the whole group horizontally centered inside the group card */
    align-items: stretch;      /* cards in the same row stretch to equal height even if names wrap */
    gap: 24px;                 /* one consistent gap between every card (row and column gaps included) */
    width: 100%;               /* fill the group card so centering works reliably */
}

/* Single QR mini-card (image link + platform name) */
.qr-item {
    flex: 0 1 140px;           /* fixed preferred width so every card is equal width; shrinks slightly on narrow desktops */
    min-width: 0;              /* prevent flex item overflow when the row is narrow */
    display: flex;             /* flex column to stack the image and the name */
    flex-direction: column;    /* image on top, name below */
    align-items: center;       /* center the content horizontally inside the card */
}

/* Clickable wrapper around the QR image (opens the full-size file in a new tab) */
.qr-item a {
    display: block;            /* block-level so the link fills the card width and is easy to tap */
    width: 100%;               /* same width as the card for a tidy, aligned look */
    line-height: 0;            /* remove inline whitespace below the image inside the link */
}

/* QR image forced into a perfect square, whatever the source file's aspect ratio is */
.qr-item img {
    display: block;            /* avoid inline-image baseline gaps */
    width: 100%;               /* fill the card width (height follows via aspect-ratio) */
    aspect-ratio: 1 / 1;       /* force a square box so all five QR codes render the same size */
    object-fit: contain;       /* show the whole QR code inside the square without cropping or stretching */
    background: #fff;          /* white backing keeps quiet zones light and the code scannable */
    border: 1px solid var(--border-color);  /* thin border for a neat, uniform frame */
    border-radius: 10px;       /* rounded corners consistent with the rest of the site */
    cursor: zoom-in;           /* hint that clicking the image enlarges it */
}

/* Platform name centered below the QR image */
.qr-name {
    margin: 10px 0 0;          /* small gap between the image and the name */
    font-size: 15px;           /* slightly smaller than body headings for balance */
    font-weight: 600;          /* semi-bold so the name reads clearly */
    color: #333;               /* dark gray consistent with card text */
    text-align: center;        /* keep the name centered under the image */
}
