/* 基础变量设置 */
:root {
    --primary-color: #004b9a;
    --primary-dark: #002a5c;
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent-color: #f5a623; /* 增加工业感与品质感的强调色（暖金/橙） */
    --bg-light: #f8f9fa;
    --bg-color: #f8f9fa;
    --spacing-md: 2rem;
    /* 引入您偏好的思源黑体作为首选，提升工业B2B站点的严谨与现代感 */
    --font-base: 'Noto Sans SC', 'Source Han Sans CN', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 基础重置 */
body, h1, h2, h3, h4, h5, h6, p, ul { margin: 0; padding: 0; }
body {
    font-family: var(--font-base), sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 头部导航区 */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    /* 新增：向下偏移 4px、扩散 20px、透明度仅 4% 的极致柔和阴影 */
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.header__logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}
.header__logo a{
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1;
}
.header__logo a:hover{
    color: var(--primary-color);
    text-decoration: underline;
}
.header__logo i{
    margin: 0 4px 0 8px;
    font-style: normal;
    font-size: 1rem;
    color: gray;
    line-height: 1;
}
.header__logo span{
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: normal;
    line-height: 1;
    transform: translateY(1px);
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}
.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   导航基础样式及移动端纯CSS交互适配
   ========================================================================== */
/* 隐藏移动端的开关按钮（PC端默认不显示） */
.menu-toggle {
    display: none;
}
.menu-toggle-label {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}
/* 汉堡图标的三根横线 */
.menu-toggle-label span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-toggle-label:hover span {
    background-color: var(--primary-color);
}

/* ==============================================
   移动端响应式适配 (小于 768px 时生效)
   ============================================== */
@media (max-width: 768px) {
    /* 1. 显示汉堡图标按钮 */
    .menu-toggle-label {
        display: flex;
    }

    /* 2. 导航容器变更为绝对定位，默认隐藏（通过透明度和位移） */
    .main-nav {
        position: absolute;
        top: 80px; /* 对应 .header__inner 的 80px 高度 */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #eaeaea;

        /* 隐藏状态 */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    /* 3. 导航列表垂直排版 */
    .main-nav ul {
        flex-direction: column;
        gap: 0; /* 取消水平间距 */
        padding: 10px 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 16px 20px;
        font-size: 1.1rem;
        border-bottom: 1px dashed #f0f0f0;
    }
    .main-nav li:last-child a {
        border-bottom: none;
    }

    /* 4. 【核心交互】当 checkbox 被选中时，展开导航 */
    .menu-toggle:checked ~ .main-nav {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    /* 5. 【加分细节】点击展开后，汉堡图标变形成 "X" 关闭按钮 */
    .menu-toggle:checked ~ .menu-toggle-label span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
        background-color: var(--primary-color);
    }
    .menu-toggle:checked ~ .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .menu-toggle-label span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
        background-color: var(--primary-color);
    }
}


/* 英雄视觉区 */
.hero-section {
    /* 放弃纯色，使用微渐变营造空间纵深感与金属光泽的暗示 */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

/* 利用伪元素增加顶部的高光/光晕，提升质感，无需修改DOM */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero__title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative; /* 确保文字在光晕上方 */
}

/* 针对 HTML 中已有的 span 进行重点强化，突出“工厂”属性 */
.hero__title span {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

/* 为强调词增加一个极简的下划线修饰 */
.hero__title span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.hero__subtitle {
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    /* 增加下划线分隔，切分视觉层级*/
    display: inline-block;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__subtext {
    /* 后台传来的 SEO 词缀如果直接展示会显得杂乱，采用标签化/胶囊状处理器增强专业度 */
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    /*background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);*/
    padding: 8px 24px;
    border-radius: 50px;
    /*display: inline-block;*/
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero__desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    /*max-width: 800px;  限制阅读行宽，避免宽屏下文字过长导致阅读疲劳 */
    margin: 0 auto;
    font-weight: 300;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 15px;
    }
    .hero__title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    .hero__subtitle {
        font-size: 1.125rem;
        letter-spacing: 1px;
    }
    .hero__subtext {
        font-size: 0.75rem;
        padding: 6px 16px;
        line-height: 1.4;
    }
    .hero__desc {
        font-size: 1rem;
    }
}

/* --- 联系电话 CTA 按钮区域 --- */
.hero__actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__phone {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    background-color: #ffffff;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-base), sans-serif;
    text-decoration: none;
    border-radius: 40px;
    /* 移除彩色发光，改用极为柔和的自然环境阴影 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.hero__phone svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: currentColor; /* 自动继承深蓝色的文字颜色 */
}

/* 鼠标悬停时的自然交互反馈 */
.hero__phone:hover {
    /* 悬停时切换为极浅的灰白色，模拟真实的物理质感 */
    background-color: #f8f9fa;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* 移动端适配保持不变 */
@media (max-width: 768px) {
    .hero__actions {
        margin-top: 2rem;
    }
    .hero__phone {
        padding: 12px 28px;
        font-size: 1.125rem;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}


/* --- 数据网格区 (企业实力) --- */
.stats-section {
    background-color: var(--bg-light); /* 背景色 #f8f9fa，与白色的卡片形成对比 */
    padding: 40px 0; /* 增加上下留白，让页面更有呼吸感 */
    border-bottom: 1px solid #e9ecef; /* 底部增加一条极浅的分隔线，自然过渡到下一模块 */
}

.stats-grid {
    display: grid;
    /* 优化基础列宽：220px能保证在桌面端稳稳呈现4列 */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background-color: #ffffff;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 4px; /* 延续之前建议的4px微圆角，保持硬朗工业风 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); /* 极弱的常态阴影 */
    border-bottom: 3px solid transparent; /* 为悬停交互预留的底部边框 */
    transition: all 0.3s ease;
}

/* 鼠标悬停时的卡片浮雕反馈 */
.stat-card:hover {
    transform: translateY(-4px); /* 卡片轻微上浮 */
    box-shadow: 0 12px 24px rgba(0, 75, 154, 0.08); /* 阴影中带入极弱的品牌主色(深蓝) */
    border-bottom-color: var(--primary-color); /* 底部亮起主色边框，增加“精密仪器”般的反馈感 */
}

.stat-card__number {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.75rem;
    /* 数字建议优先使用纯粹的无衬线西文字体（如Arial/Helvetica），比中文字体自带的数字更有力量感 */
    font-family: Arial, Helvetica, sans-serif;
}

.stat-card__text {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary); /* 引用您 root 里的 #666666 */
    font-weight: 500;
    letter-spacing: 1px;
}

/* 移动端/平板端适配优化 */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 0;
    }
    .stats-grid {
        /* 强制在手机端显示为 2x2 网格，比 1x4 竖排更省空间且美观 */
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-card {
        padding: 1.5rem 0.5rem; /* 缩小内边距 */
    }
    .stat-card__number {
        font-size: 1.75rem; /* 缩小数字，防止手机端数字溢出换行 */
        margin-bottom: 0.5rem;
    }
    .stat-card__text {
        font-size: 0.875rem;
    }
}


/* ==========================================================================
   关于我们 (About Section)
   ========================================================================== */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
}

.section-title span {
    position: relative;
    display: inline-block;
}
.section-title span::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.section-title:hover span::after {
    width: 80px;
}

/* 清除浮动工具，防止内容太少时父容器高度塌陷 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 取消原先的 Grid，改为普通块级布局 */
.about-layout {
    display: block;
}

/* 图片区域：向右浮动实现右上角环绕 */
.about-image {
    float: right;          /* 核心：向右浮动 */
    width: 45%;            /* 控制图片占比，视情况可调整为 40% 或 50% */
    max-width: 500px;
    margin: 0 0 2rem 2.5rem; /* 左侧和下方留白，避免文字紧贴图片 */
}

.about-image figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.about-image .about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about-image:hover .about-img {
    transform: scale(1.03);
}

/* 文本排版优化 */
.about-text{
    line-height: 2.2rem;
}
.about-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}
.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-text ul {
  list-style: none;
  margin: 12px 0 24px;
  padding: 0;
}

.about-text li {
  position: relative;
  padding: 10px 14px 10px 28px;
  margin-bottom: 8px;
  line-height: 1.75;
  color: #475569;
  background-color: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.about-text li:last-child {
  margin-bottom: 0;
}

.about-text li:hover {
  background-color: #f1f5f9;
  border-color: #dbeafe;
}

/* 光晕圆点标识，自动对齐首行文字中线 */
.about-text li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: calc(10px + 0.875em - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2563eb; /* 替换为站点主色 */
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.about-text li strong {
  color: #0f172a;
  font-weight: 600;
}

.about-text li a {
  color: #2563eb;
  text-decoration: none;
}

.about-text li a:hover {
  text-decoration: underline;
}

/* 内联联系方式卡片 */
.contact-inline {
    display: flow-root; /* 触发 BFC：防止卡片的背景色钻到右侧浮动图片下方 */
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light, #f8f9fa);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    margin-bottom: 2rem;
    /* clear: right; 注：如果希望此卡片永远强制显示在图片正下方(不参与环绕)，可以解开此注释 */
}
.contact-inline a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}
.contact-inline div {
    margin-bottom: 1rem;
}
.contact-inline__sub {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: #666666;
    font-weight: 400;
}

/* ==========================================================================
   移动端响应式适配 (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    /* 在移动端，取消浮动，让图片自动占满上方 */
    .about-image {
        float: none;      /* 取消环绕 */
        width: 100%;      /* 占满 100% 宽度 */
        max-width: 100%;
        margin: 0 0 2rem 0; /* 取消左侧留白，仅保留下方留白 */
    }

    /* 由于我们在 HTML 中将 .about-image 放在了文本前面，
       移动端取消浮动后，图片自然会排在文字最上方，无需再使用 order:-1 */

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
}


/* ==========================================================================
   联系我们 (Contact Section)
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-color, #f8f9fa); /* 浅灰背景，与纯白区域做区分 */
}

/* 标题样式与动画下划线 */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
    color: var(--text-primary, #333333);
}
.section-title span {
    position: relative;
    display: inline-block;
}
.section-title span::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--primary-color, #007bff);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.section-title:hover span::after {
    width: 80px;
}

/* ==========================================================================
   网格布局：PC端左右等宽分布
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center; /* 垂直居中对齐 */
}

/* ==========================================================================
   左侧：文本与联系卡片
   ========================================================================== */
.contact-text {
    font-size: 1.05rem;
    line-height: 2;
}

/* 内联联系方式卡片 UI 设计 */
.contact-inline {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color, #007bff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
}
.contact-inline:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* 鼠标悬浮加深阴影 */
}

.contact-inline div {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-primary, #333333);
    font-weight: 500;
}
.contact-inline a {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem; /* 让电话号码更醒目 */
}
.contact-inline .contact-inline__sub {
    font-size: 0.95rem;
    color: #777777;
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.contact-inline div:last-child {
    margin-bottom: 0;
}

/* 文本编辑器(Markdown)内容的基础排版优化 */
.contact-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* ==========================================================================
   右侧：公司图片
   ========================================================================== */
.contact-image figure {
    margin: 0;
    border-radius: 16px; /* 圆角更大显得更现代 */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.contact-image .about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.contact-image:hover .about-img {
    transform: scale(1.03); /* 微动效放大 */
}

/* ==========================================================================
   移动端响应式适配 (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    /* 切换为单列上下布局 */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .contact-inline {
        padding: 1.5rem;
    }

    /* 移动端默认HTML顺序：联系卡片在上，图片在下。
       如果希望在手机端图片显示在最上方，可以取消下方注释： */
    /*
    .contact-image {
        order: -1;
    }
    */
}


/* 产品展示区 */
.products-section { padding: 80px 0; text-align: center; }
.section-title2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}
/*产品网格布局 (一行 4 个)*/
.products-grid {
    display: grid;
    /* 强制划分为 4 等份 */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; /* 产品之间的间距 */
    margin-top: 2rem;
}
/* --- 响应式适配 (非常重要：GEO和搜索引擎对移动端适配有硬性要求) --- */
/* 平板端 (小于 992px) - 调整为一行 2 个 */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
/* 移动端/手机端 (小于 576px) - 调整为一行 1 个 */
@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
/* 分类标题样式 */
.category-box {
    margin-top: 3rem;
}
.category-title {
    font-size: 1.5rem;

    margin-bottom: 1.5rem;
    padding-left: 1rem;
    /*border-left: 4px solid var(--primary-color);*/
}
.category-title span {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px; /* 这个数值越大，下划线距离文字越远 */
    /* 注意：如果是 <span> 等纯行内元素，建议加上 display 控制 */
    display: inline-block;
}

/* 产品卡片内部结构优化 */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
/* 移除标题链接的默认样式 */
.product-card__title a {
    text-decoration: none;
    color: inherit;
}
/* 利用伪元素将链接的点击区域扩大到整个 .product-card */
.product-card__title a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}
.product-card__figure {
    margin: 0;
    width: 100%;
    aspect-ratio: 4 / 3; /* 保证占位符比例，避免布局偏移 (CLS) */
    overflow: hidden;
}
.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card__info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card__title {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    /* 超出两行显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    /* 超出两行显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.empty-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #999;
    background: #f9f9f9;
    border-radius: 8px;
}


/* ==========================================================================
   资讯动态区 (News Section)
   ========================================================================== */
.news-section {
    background-color: var(--bg-light); /* 使用现有变量，与纯白区块形成层次错落 */
}

/* PC端网格：一行2个 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

/* 资讯卡片基础样式 */
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 18px 24px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

/* 悬停动效 */
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.news-item:hover .news-item__title {
    color: var(--primary-color);
}

/* 标题样式：自适应宽度 + 单行超限隐藏 */
.news-item__title {
    flex: 1;                  /* 自动撑满剩余空间 */
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-right: 20px;       /* 与日期间隔 */

    /* 核心属性：标题过长自动加省略号 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    transition: color 0.3s ease;
    /* 关键修复 2：允许 Flex 子元素收缩，使省略号正常生效 */
    min-width: 0;
}

/* 日期样式：固定宽度不被挤压 */
.news-item__date {
    flex-shrink: 0;           /* 防止日期在标题过长时被挤压换行 */
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==============================================
   移动端响应式适配 (小于 768px 时)
   ============================================== */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr; /* 移动端改为一行1个 */
        gap: 15px;
    }

    .news-item {
        padding: 15px 16px; /* 移动端缩小内边距 */
    }

    .news-item__title {
        font-size: 1rem;
        margin-right: 15px;
    }

    .news-item__date {
        font-size: 0.85rem;
    }
}


/* ==========================================================================
   常见问题 FAQ 区块
   ========================================================================== */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-light); /* 与产品区的纯白背景形成视觉层次 */
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.faq-question {
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none; /* 隐藏默认的三角形图标 */
    position: relative;
    outline: none;
    transition: color 0.3s ease;
}

/* 隐藏 Webkit 内核浏览器默认的 summary 箭头 */
.faq-question::-webkit-details-marker {
    display: none;
}

/* 自定义右侧展开图标 (+) */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* 展开状态下的样式 (-) */
.faq-item[open] .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item[open] .faq-question {
    border-bottom: 1px dashed #eaeaea;
    color: var(--primary-color);
}

.faq-answer {
    padding: 20px 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    background-color: #fdfdfd;
}

.faq-answer p {
    margin: 0;
}

/* 查看更多 FAQ 按钮*/
.faq-more {
    text-align: center;
    margin-top: 2rem;
}

.faq-more__link {
    display: inline-flex;
    align-items: center;
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-more__link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}


/* ==========================================================================
   站群与友情链接区
   ========================================================================== */
.site-links-section {
    padding: 40px 0;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
}

.site-links__title {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.site-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;

    /* 3行高度计算：单行文本约24px，加两层gap(24px)，总计约96px */
    max-height: 96px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 顺滑的展开动效 */
}

/* 展开状态的类名 */
.site-links__list.is-expanded {
    max-height: 2000px; /* 设定一个足够大的安全值，确保能容纳所有数据 */
}

.site-links__list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5; /* 确保行高稳定 */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.site-links__list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

/* 按钮样式设计 */
.site-links__toggle {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    padding: 0;
    background: transparent;
    border: none;
    /*color: var(--primary-color);*/
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.site-links__toggle:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}



/* 页脚区 */
.site-footer {
    background-color: #222222;
    color: #cccccc;
    padding: 60px 0 30px;
}

/* 使用 Grid 锁定左右两栏比例与相对位置 */
.footer-grid {
    display: grid;
    /* 左侧联系方式自适应/固定宽度，右侧品牌文案占满剩余全部空间 (1fr) */
    grid-template-columns: minmax(280px, 480px) 1fr;
    gap: 60px;
    align-items: start;
}

/* 左侧联系方式 */
.footer__contact {
    /* 防止左侧被挤压 */
    min-width: 0;
}
.footer__title {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}
.footer__address {
    font-style: normal;
    line-height: 2;
}
.footer__address a {
    color: #ffffff;
    text-decoration: none;
}

/* 右侧品牌文案 */
.footer__brand {
    /* 防止包含极长字符串或未断行文本导致网格溢出 */
    min-width: 0;
    /* 右侧文本右对齐或两端对齐，可根据视觉需求调整 */
    text-align: right;
    line-height: 1.8;
}

.footer__brand p {
    margin-bottom: 0.8rem;
    color: #999999;
}

/* 底部版权信息 */
.footer_copyright {
    text-align: center;
    margin: 40px 0 0 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* 加一条浅分割线增加层级感 */
    color: #777777;
    font-size: 0.9rem;
}
.footer_copyright a {
    color: #999999; /* 比正文 #777稍亮一点，或者使用 color: inherit; 与正文保持一致 */
    text-decoration: none; /* 去除默认下划线，保持视觉整洁 */
    transition: color 0.3s ease-in-out; /* 添加平滑的颜色过渡动画 */
}
.footer_copyright a:hover,
.footer_copyright a:focus {
    color: #ffffff; /* 鼠标悬停时变为纯白，在暗背景下对比度更高 */
    /* text-decoration: underline; 如果悬停时需要下划线可以取消此行注释 */
}

/* 移动端/平板端响应式折叠 */
@media (max-width: 768px) {
    .footer-grid {
        /* 屏幕过窄时恢复为单列上下排版 */
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__brand {
        text-align: left; /* 移动端靠左更易阅读 */
    }
}


/* ==========================================================================
   新增 5 种区块公用布局基类
   ========================================================================== */
.section { padding: 80px 0; }
.text-only-section { background-color: #ffffff; }
.normal-features-section { background-color: var(--bg-light); }
.process-section { background-color: #ffffff; }
.metrics-section { background-color: var(--bg-light); }
.cases-section { background-color: #ffffff; }

/* 自适应行布局 (用于2, 3, 4类型：桌面端自动均分同行，移动端堆叠) */
.adaptive-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 2rem;
}
.adaptive-row > * {
    flex: 1 1 0;
    min-width: 220px; /* 防止内容在极端缩放时被过度挤压 */
}

/* ==============================================
   1. 纯文本类型
   ============================================== */
.text-only-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==============================================
   2. 普通类型 (卡片化)
   ============================================== */
.feature-card {
    background-color: #ffffff;
    padding: 30px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.feature-card__title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.feature-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==============================================
   3. 流程类型
   ============================================== */
.process-card {
    text-align: center;
    padding: 20px 10px;
}
.process-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.process-card:hover .process-card__num {
    background-color: var(--primary-color);
    color: #ffffff;
}
.process-card__title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.process-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==============================================
   4. 指标类型
   ============================================== */
.metric-card {
    text-align: center;
    padding: 35px 20px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.metric-card:hover::before {
    transform: scaleX(1);
}
.metric-card__value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}
.metric-card__value span {
    font-size: 1.5rem;
    margin-left: 4px;
}
.metric-card__title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}
.metric-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==============================================
   5. 案例类型
   ============================================== */
.cases-grid {
    display: grid;
    /* 强制一行两个 */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 2rem;
}
.case-card {
    background-color: var(--bg-light);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.case-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #cccccc;
}
.case-card__title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
    padding-right: 15px;
    font-weight: 600;
    line-height: 1.4;
}
.case-card__industry {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.case-card__body p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.case-card__body p:last-child {
    margin-bottom: 0;
}
.case-card__body strong {
    color: var(--text-primary);
}

/* ==============================================
   移动端响应式统一适配
   ============================================== */
@media (max-width: 768px) {
    /* 自适应行强制折叠为1列 */
    .adaptive-row > * {
        flex: 1 1 100%;
    }

    /* 案例强制变为一行一个 */
    .cases-grid {
        grid-template-columns: 1fr;
    }

    /* 案例卡片头部换行，防止窄屏下标题和标签重叠挤压 */
    .case-card__header {
        flex-direction: column;
        gap: 12px;
    }
}



/* ==========================================================================
   通用图文列表区块 (General List Section)
   ========================================================================== */
.list-section {
    background-color: #ffffff; /* 与上方的浅色背景形成交替 */
}

/* 列表容器：单列竖排 */
.general-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px; /* 限制最大宽度，防止在大屏下文字行宽过长导致阅读疲劳 */
    margin: 0 auto;
}

/* 列表项卡片样式 */
.list-item {
    display: flex;
    align-items: center;    /* 垂直居中，若想顶部对齐可改为 flex-start */
    gap: 24px;              /* 左图右文的间距 */
    padding: 24px 30px;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 新增：图片容器样式 */
.list-item__figure {
    width: 220px;           /* PC端图片固定宽度 */
    flex-shrink: 0;         /* 防止图片被文字挤压 */
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f9f9f9;
}

/* 新增：图片样式与悬停放大动效 */
.list-item__figure img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;   /* 锁定黄金比例，避免加载时布局抖动 */
    object-fit: cover;      /* 保证图片不变形 */
    display: block;
    transition: transform 0.5s ease;
}
.list-item:hover .list-item__figure img {
    transform: scale(1.05);
}

/* 新增：文本内容容器，占满剩余空间 */
.list-item__content {
    flex: 1;
    min-width: 0;           /* 关键：防止标题超长时撑破 Flex 容器 */
    display: flex;
    flex-direction: column;
}

.list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: #e0e0e0;
}

/* 头部（标题与日期）同行分布 */
.list-item__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
}

/* 标题样式 */
.list-item__title {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.list-item:hover .list-item__title {
    color: var(--primary-color);
}

/* 日期样式：固定在右侧 */
.list-item__date {
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #888888;
    padding-top: 2px; /* 微调对齐标题 */
}

/* 摘要样式：限制显示两行，超出显示省略号 */
.list-item__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;

    /* 多行文本截断 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==============================================
   分页组件样式 (Pagination)
   ============================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.page-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 悬停状态 */
.page-item:hover:not(.disabled):not(.ellipsis) {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 激活(当前页)状态 */
.page-item.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    pointer-events: none;
}

/* 禁用状态(如在第一页时"上一页"变灰) */
.page-item.disabled {
    color: #cccccc;
    background-color: #f9f9f9;
    cursor: not-allowed;
    pointer-events: none;
}

/* 省略号无边框 */
.page-item.ellipsis {
    border: none;
    background: transparent;
    min-width: 20px;
    padding: 0 4px;
    color: #999999;
}

/* ==============================================
   移动端响应式适配 (小于 768px 时)
   ============================================== */
@media (max-width: 768px) {
    /* 移动端标题和日期改为上下排版，防止空间挤压 */
    .list-item__header {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .list-item__title {
        font-size: 1.1rem;
    }

    .list-item__date {
        font-size: 0.85rem;
    }

    .list-item__desc {
        -webkit-line-clamp: 3; /* 移动端屏幕窄，摘要允许放宽到3行 */
    }

    .list-item {
        flex-direction: column; /* 移动端改为上下排版（上图下文） */
        align-items: stretch;
        padding: 20px;
        gap: 16px;
    }

    .list-item__figure {
        width: 100%;            /* 移动端图片宽度撑满 */
    }

    /* 分页在移动端适当缩小尺寸 */
    .page-item {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 0.85rem;
    }
}


/* ==========================================================================
   详情页区块 (Article Detail Section)
   ========================================================================== */
.article-detail {
    background-color: #ffffff;
    padding: 60px 20px; /* 移动端默认内边距 */
}

/* 限制阅读区最大宽度，文本行宽过长会导致阅读疲劳 */
.article-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ==============================================
   1. 文章头部 (标题与元信息)
   ============================================== */
.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.article__title {
    font-size: 2.2rem;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 16px;
    font-weight: 600;
}

.article__meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    color: #888888;
}

/* ==============================================
   2. 富文本正文排版重置 (防版面崩塌)
   ============================================== */
.rich-text {
    font-size: 1.1rem;
    line-height: 2.3;
    color: #333333;
    text-align: justify;
    word-wrap: break-word;
}

/* 保护图片和视频，防止溢出屏幕 */
.rich-text img,
.rich-text video,
.rich-text iframe {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1.5rem auto; /* 媒体元素居中 */
    border-radius: 6px;
}

.rich-text p {
    margin-bottom: 1.5rem;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
    margin: 2rem 0 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* 处理富文本中的表格自适应 */
.rich-text table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 1.5rem 0;
    overflow-x: auto; /* 若表格过宽允许横向滚动 */
    display: block;
}

.rich-text th,
.rich-text td {
    border: 1px solid #ddd;
    padding: 10px 15px;
}

/* ==============================================
   3. 上一篇/下一篇导航
   ============================================== */
.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px dashed #eaeaea;
}

.nav-prev, .nav-next {
    flex: 1;
    min-width: 0; /* 防止子元素超长撑破 Flex 容器 */
}

.nav-next {
    text-align: right; /* 下一篇文字靠右对齐 */
}

.article-navigation a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.article-navigation a:hover {
    color: var(--primary-color);
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: #999999;
    margin-bottom: 6px;
}

.nav-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    /* 单行文本溢出隐藏，显示省略号 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-disabled {
    font-size: 1rem;
    color: #cccccc;
}

/* ==============================================
   4. 相关阅读推荐 (最高8篇)
   ============================================== */
.article-related {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f5f5f5;
}

.related__title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    padding-left: 14px;
}

/* 标题左侧的一抹品牌色竖条 */
.related__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.related__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    /* PC端分为两列展示8篇，一行2篇，共4行 */
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.related__list li {
    min-width: 0;
}

.related__list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: all 0.3s ease;
    min-width: 0; /* 防止 a 标签被撑开 */
}

.related__list li a:hover {
    color: var(--primary-color);
}

.related-item-title {
    color: var(--text-primary);
    font-size: 1rem;
    flex: 1;
    min-width: 0; /* 核心代码：允许 Flex 子元素收缩到比内容本身更小 */
    margin-right: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.related__list li a:hover .related-item-title {
    color: var(--primary-color);
}

.related-item-date {
    font-size: 0.9rem;
    color: #999999;
    flex-shrink: 0;
}

/* ==============================================
   移动端响应式适配 (小于 768px)
   ============================================== */
@media (max-width: 768px) {
    .article-detail {
        padding: 40px 15px;
    }

    .article__title {
        font-size: 1.6rem;
    }

    .article__meta {
        flex-direction: column;
        gap: 8px;
        font-size: 0.85rem;
    }

    .rich-text {
        font-size: 1.05rem;
    }

    /* 移动端上一篇、下一篇折叠为上下排布 */
    .article-navigation {
        flex-direction: column;
        gap: 24px;
    }

    .nav-next {
        text-align: left; /* 移动端改为左对齐 */
    }

    /* 移动端相关阅读改为单列，防止文本被极度挤压 */
    .related__list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ==========================================================================
   产品详情页区块 (Product Detail Section)
   ========================================================================== */
.product-detail-section {
    background-color: #ffffff;
    padding: 60px 0 80px;
}

/* ==============================================
   1. 顶部简介区 (左图右文)
   ============================================== */
.product-intro {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 60px;
}

/* 左侧：缩略图 */
.product-intro__gallery {
    flex: 0 0 45%;     /* PC端图片区占 45% */
    max-width: 500px;
    min-width: 0;
}

.product-image-wrap {
    margin: 0;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 10px;
    background-color: #fcfcfc;
}

.product-image-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain; /* 使用 contain 保证完整展示产品 */
    display: block;
    border-radius: 4px;
}

/* 右侧：信息区 */
.product-intro__info {
    flex: 1;
    min-width: 0;      /* 防止内部长文本撑破 flex 布局 */
}

.product__title {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* 价格框 */
.product__price-box {
    background-color: var(--bg-light);
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    border-left: 4px solid #e53935; /* 用醒目的红色强调 */
}

.price-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-value {
    font-weight: bold;
    margin-left: 5px;
}

/* 简述与卖点 */
.summary-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.selling-points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.selling-points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* 核心卖点前的打勾小图标 */
.selling-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 按钮组 */
.product__actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product__actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    padding: 0 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff !important;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #003a7a;
    box-shadow: 0 6px 15px rgba(0, 75, 154, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--bg-light);
}

/* ==============================================
   2. 产品参数与详情区
   ============================================== */
.product-details {
    border-top: 1px solid #eaeaea;
    padding-top: 50px;
}

.detail-block {
    margin-bottom: 50px;
}

/* 模块小标题 */
.detail-heading {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
}

/* 产品参数表格 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-params-table {
    width: 100%;
    /* min-width: 600px;  保证表格在移动端不被过度挤压，出现横向滚动条 */
    border-collapse: collapse;
    font-size: 0.95rem;
}

.product-params-table th,
.product-params-table td {
    padding: 14px 16px;
    border: 1px solid #eaeaea;
    line-height: 1.5;
}

.product-params-table th {
    background-color: #f9f9f9;
    color: var(--text-secondary);
    font-weight: 500;
    width: 15%;        /* 控制表头宽度 */
    text-align: left;
}

.product-params-table td {
    color: var(--text-primary);
    background-color: #ffffff;
}

/* ==============================================
   3. 移动端响应式适配 (小于 768px)
   ============================================== */
@media (max-width: 768px) {
    .product-detail-section {
        padding: 30px 0 40px;
    }

    .product-intro {
        flex-direction: column; /* 移动端改为上下排版 */
        gap: 25px;
        margin-bottom: 40px;
    }

    .product-intro__gallery,
    .product-intro__info {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .product__title {
        font-size: 1.4rem;
    }

    .product__price-box {
        padding: 12px 16px;
    }

    .price-value {
        font-size: 1.5rem;
    }

    /* 移动端按钮宽度撑满 */
    .product__actions {
       /* flex-direction: column; 异常 */
    }

    .product__actions a {
        width: 100%;
    }

    .product-details {
        padding-top: 30px;
    }
}