
/* =====================================================
   PaSampler® 国际技术平台视觉系统 v6.0
   结构保留版（统一规范 / 可持续维护）
===================================================== */


/* =====================================================
   1️⃣ 变量系统（统一颜色 + 半径 + 阴影）
===================================================== */
:root{

  /* 品牌蓝 */
  --brand-blue:#0d6efd;
  --brand-blue-deep:#0a58ca;
  --brand-blue-hover:#0b5ed7;

  /* 正文字体系统 */
  --text-primary:#1f2d3d;       /* 主正文 */
  --text-secondary:#6c757d;     /* 标准辅助灰 */

  /* 背景 */
  --bg-light:#f8f9fa;
  --bg-soft-blue:#f4f8ff;

  /* 边框 */
  --border-light:#e9ecef;

  /* 圆角 */
  --radius-sm:6px;
  --radius-md:10px;
  --radius-lg:14px;

  /* 阴影 */
  --shadow-soft:0 10px 30px rgba(0,0,0,0.06);
  --shadow-hover:0 18px 45px rgba(0,0,0,0.12);
}


/* =====================================================
   2️⃣ 全站字体系统（基于18px正文）
===================================================== */

html{
  font-size:18px !important;
}

@media(min-width:1600px){
  html{font-size:19px !important;}
}

body{
  font-size:18px !important;
  line-height:1.9 !important;
  color:var(--text-primary);
  background:#fff;
}

/* 标题体系 */
h1{
  font-size:44px !important;
  font-weight:700 !important;
  color:var(--text-primary);
}

h2{
  font-size:36px !important;
  font-weight:700 !important;
  color:var(--text-primary);
}

h3{
  font-size:26px !important;
  font-weight:600 !important;
  color:var(--text-primary);
}

h4{
  font-size:22px !important;
  font-weight:600 !important;
  color:var(--text-primary);
}

h5{
  font-size:18px !important;
  font-weight:600 !important;
  color:var(--text-primary);
}

/* 正文 */
p{
  font-size:18px !important;
  line-height:1.9 !important;
  color:var(--text-primary);
}

/* 辅助说明 */
.text-secondary{
  color:var(--text-secondary) !important;
}


/* =====================================================
   3️⃣ 宽屏系统（保留你当前方案）
===================================================== */

.container,
.container-lg,
.container-xl,
.container-xxl{
  max-width:1500px !important;
}

@media(min-width:1600px){
  .container,
  .container-lg,
  .container-xl,
  .container-xxl{
    max-width:1650px !important;
  }
}

.app-container{
  max-width:1650px !important;
  padding-left:40px !important;
  padding-right:40px !important;
}


/* =====================================================
   4️⃣ Sticky Header（结构不动）
===================================================== */

#kt_app_header{
  position:fixed !important;
  top:0;
  left:0;
  right:0;
  z-index:9999 !important;
  background:#fff !important;
  border-bottom:5px solid var(--border-light);
}


/* =====================================================
   5️⃣ Hero 区（统一规范）
===================================================== */

.hero-section{
  width:100%;
  position:relative !important;
  overflow:hidden !important;
  padding:90px 0 100px 0; !important;
  background:linear-gradient(135deg,var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color:#fff !important;
}

.hero-section h1{
  color:#fff !important;
  font-size:42px !important;
}

.hero-section p{
  color:rgba(255,255,255,.92) !important;
  font-size:20px !important;
}

.hero-section::after{
  content:'';
  position:absolute;
  width:600px;
  height:600px;
  background:radial-gradient(circle,rgba(255,255,255,.12),transparent);
  top:-100px;
  right:-100px;
  pointer-events:none;
}
.hero-img{
  width:110%;
  max-width:800px;
  transform:translateX(40px);
}
.hero-img:hover{
  transform:translateY(-6px);
}


/* 搜索框 */
.hero-search-wrapper{
  display:flex;
  justify-content:center;
  margin-top:40px;
}

.hero-search-form{
  display:flex;
  width:650px;
  max-width:95%;
  border-radius:var(--radius-md);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-soft);
}

.hero-search-input{
  flex:1;
  padding:16px 20px;
  border:none;
  font-size:17px;
}

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

.hero-search-btn{
  padding:0 30px;
  background:var(--brand-blue);
  color:#fff;
  border:none;
  font-weight:600;
}


/* =====================================================
   6️⃣ 按钮系统
===================================================== */

.btn-primary{
  background:var(--brand-blue);
  color:#fff;
  border:none;
  padding:14px 28px;
  border-radius:var(--radius-sm);
  transition:.3s ease;
}

.btn-primary:hover{
  background:var(--brand-blue-hover);
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
}

.btn-outline{
  border:1px solid var(--brand-blue);
  color:var(--brand-blue);
  padding:12px 26px;
  border-radius:var(--radius-sm);
  transition:.3s ease;
}

.btn-outline:hover{
  background:var(--brand-blue);
  color:#fff;
}


/* =====================================================
   7️⃣ Section 节奏系统
===================================================== */

section{
  padding:100px 0 !important;
}

.resource-section{
  background:#f9fbfe !important;
}

.section-divider{
  height:1px;
  background:linear-gradient(to right,transparent,#e6edf5,transparent);
  margin:0 auto;
  width:60%;
}


/* =====================================================
   8️⃣ 卡片系统（统一用于 产品 / 技术能力 / 方案）
===================================================== */

.card-tech,
.product-card,
.ability-card{
  background:#fff;
  border-radius:var(--radius-lg);
  border:1px solid var(--border-light);
  padding:32px 24px;
  transition:.3s ease;
  box-shadow:var(--shadow-soft);
}

.card-tech:hover,
.product-card:hover,
.ability-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-hover);
}


/* 产品区背景 */
.product-matrix{
  background:linear-gradient(180deg,#ffffff 0%,var(--bg-soft-blue) 100%);
  padding:100px 0;
}

.product-img{
  max-height:220px;
  object-fit:contain;
}


/* 技术能力 */
.ability-section{
  padding:100px 0;
  background:#ffffff;
}

.ability-header{
  max-width:820px;
  margin:0 auto 60px auto;
  text-align:center;
}

.ability-title{
  font-size:30px;
  font-weight:700;
}

.ability-subtitle{
  font-size:18px;
  color:var(--text-secondary);
  margin-top:10px;
}

.ability-img{
  max-height:220px;
  object-fit:contain;
  margin-bottom:30px
}
/* =====================================================
   9️⃣ CTA 联系区
===================================================== */

.contact-cta{
  background:linear-gradient(135deg,#0b3d91 0%,#0050b3 100%) !important;
  color:#fff !important;
  padding:120px 0 !important;
  text-align:center;
}

.contact-cta h2{
  color:#fff !important;
}

.contact-cta p{
  color:rgba(255,255,255,.9) !important;
}


/* =====================================================
   🔟 Footer
===================================================== */

footer{
  background:#0f172a !important;
  color:#cbd5e1 !important;
  padding:80px 0 !important;
}

footer a{
  color:#94a3b8 !important;
}

footer a:hover{
  color:#fff !important;
}


/* ==========================================
   Brand Signature Section - Final Version
========================================== */

.brand-signature{
  background:linear-gradient(135deg,#0c63e4 0%, #0a58ca 100%);
  padding:140px 20px;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.brand-signature .container{
  max-width:1100px;
  margin:0 auto;
}

.brand-name{
  font-size:54px;
  font-weight:700;
  letter-spacing:1px;
  color:#ffffff;
  margin-bottom:18px;
}

.brand-subtitle{
  font-size:22px;
  font-weight:400;
  color:rgba(255,255,255,0.75);
  margin-bottom:28px;
  letter-spacing:1px;
}

.brand-slogan{
  font-size:20px;
  line-height:1.9;
  color:rgba(255,255,255,0.9);
  max-width:820px;
  margin:0 auto;
}

/* subtle tech light effect */
.brand-signature::after{
  content:"";
  position:absolute;
  width:700px;
  height:700px;
  background:radial-gradient(circle,rgba(0,150,255,0.15),transparent 70%);
  top:-250px;
  right:-200px;
}

/* =====================================================
1️⃣1️⃣ 移动端深度优化 (Mobile Optimization)
===================================================== */
/* =====================================================
   Mobile Optimization – Structured Version
===================================================== */

@media(max-width: 991px) {
    html { font-size: 15px !important; }

    section { padding: 50px 0 !important; }

    .hero-section { 
        padding: 60px 0 70px 0 !important;
    }

    #kt_app_page { 
        margin-top: 70px;
    }
}
/* ===============================
   Mobile Core (<=768px) - 【优化版】
================================ */
@media(max-width:768px){

  /* === 1. 核心容器优化：限制最大宽度，创造“阅读走廊” === */
  /* 这是最关键的一步，为所有内容创建一个舒适的阅读区域 */
  .container,
  .container-lg,
  .container-xl,
  .container-xxl,
  .app-container {
    max-width: 100% !important; /* 覆盖宽屏的1500px限制 */
    padding-left: 20px !important;
    padding-right: 20px !important;
    /* 新增：为所有内容主体设置一个舒适的、有最大限制的“走廊” */
  }

  /* 专门为主内容区设置最佳宽度限制 */
  .container > .row > [class*="col-"],
  .content-area,
  .post-content,
  .card-body,
  p, .text-content {
    max-width: 600px !important; /* 核心优化：限制行宽 */
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* === 2. 字体与排版微调 === */
  /* 您当前的设置很好，但可以稍作增强 */
  html {
    font-size: 16px !important; /* 从15px调整为16px，更通用 */
  }
  body, p {
    font-size: 16px !important;
    line-height: 1.8 !important; /* 略高于1.7，移动端更舒适 */
  }
  h1 {
    font-size: 28px !important; /* 主标题可稍大，有冲击力 */
    line-height: 1.3;
    margin-bottom: 20px !important;
  }
  h2 {
    font-size: 24px !important;
  }
  h3 {
    font-size: 20px !important;
  }

  /* === 3. 优化特定内容区块的内边距和宽度 === */
  /* 卡片、产品介绍等模块的内容区也需要应用“走廊”原则 */
  .card-tech,
  .product-card,
  .ability-card,
  .paper-card,
  .platform-card {
    padding: 25px 20px !important; /* 优化内边距 */
  }
  /* 确保卡片内的文字也受约束 */
  .card-tech p,
  .product-card p,
  .paper-card p {
    max-width: 100% !important; /* 卡片内段落继承父级宽度，无需600px */
  }

  /* === 4. Hero区域适配 === */
  /* 您的Hero区域在移动端已有不错布局，只需确保标题和描述不溢出 */
  .hero-section h1 {
    font-size: 32px !important; /* 保持醒目，但避免过长换行过多 */
    max-width: 100%; /* 确保标题文本自身不超宽 */
  }
  .hero-section p,
  .hero-desc {
    font-size: 18px !important;
    line-height: 1.7;
    /* Hero区的描述文字也可以适当限制最大宽度，比如90% */
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  /* === 5. 技术文档正文 (.tech-content) 专用优化 === */
  /* 这部分是长文阅读的核心，需要最精细的排版控制 */
  .tech-content {
    font-size: 18px !important;
    line-height: 1.9 !important; /* 技术文档行高可以更高 */
  }
  .tech-content h2 {
    font-size: 24px !important; /* 在移动端，文档内标题不宜过大 */
  }
  .tech-content h3 {
    font-size: 20px !important;
  }
  .tech-content p,
  .tech-content li,
  .tech-content .formula-box {
    max-width: 600px !important; /* 确保技术文档的正文行宽被约束 */
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .tech-title{
    font-size:36px;
    line-height:1.35;
    font-weight:700;
  }

  /* === 6. 保留您原有的优秀移动端样式 === */
  #kt_app_page {
    margin-top: 0 !important;
  }
  .app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
  }
  .hero-section {
    min-height: calc(100svh - 70px);
    padding-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

}

  .hero-section .container{
    padding-left:20px !important;
    padding-right:20px !important;
  }

  .hero-content{
    color:#fff;
  }

  /* ===== HERO STRUCTURE ===== */

  h1{
      font-size:24px !important;
      line-height:1.3;
      margin-bottom:15px;
  }

  .hero-subtitle{
      font-size:15px;
      line-height:1.6;
      margin-bottom:20px;
  }

  .hero-product-img{
      max-height:200px;
      margin:25px auto 0 auto;
      display:block;
  }

  /* CTA按钮堆叠 */
  .hero-section .btn{
      width:100%;
      margin-bottom:12px !important;
      padding:14px 0;
      font-size:16px;
  }

  /* 搜索框更轻量 */
  .hero-search-input{
      padding:10px 14px;
      font-size:14px;
  }

  .hero-search-btn{
      padding:0 16px;
      font-size:14px;
  }

  /* ===== Header 优化 ===== */

  .hotline-label{
      display:none;
  }

  .hotline-number a{
      font-size:22px;
      font-weight:700;
      margin-right:15px;
  }

  .app-sidebar-logo-default{
      height:60px !important;
      max-height: 60px !important;
      margin-top: -5px !important;  /* 向上微调5px */

  }

  /* ===== 卡片结构优化 ===== */

  .card{
      margin-bottom:20px;
      padding:20px;
  }

  .ability-img{
      width:100%;
      height:auto;
      margin-bottom:15px;
  }

  /* ===== Contact 按钮强化 ===== */

  .contact-section .btn-primary{
      width:100%;
      padding:16px 0;
      font-size:17px;
  }

}

/* =====================================================
1️⃣2️⃣ 信任背书区 (Social Proof)
===================================================== */
.trust-section {
    padding: 90px 0 !important;
}

/* 机构 Logo 占位框 */
.client-logo-box {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 30px 15px;
    transition: .3s ease;
    filter: grayscale(100%); /* 默认黑白，显得高级低调 */
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

/* 鼠标悬停时恢复色彩并浮起 */
.client-logo-box:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: var(--brand-blue);
}

/* 文献/报告卡片 */
.paper-card {
    background: #fff;
    border-left: 4px solid var(--brand-blue);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: .3s ease;
}

/* 文献卡片悬停交互 */
.paper-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateX(5px); /* 向右轻微推移，增加点击暗示 */
}

.paper-card h5 a {
    color: var(--text-primary);
    transition: color .2s;
}

.paper-card h5 a:hover {
    color: var(--brand-blue);
}

.paper-icon {
    font-size: 24px;
    line-height: 1;
}
/*搜索框内容隐藏*/
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
 /*删除fs-5后的控制*/
  .menu-title{
  font-size:17px;
  font-weight:500;
}
}
.card-link{
  font-weight:500;
  color:var(--brand-blue);
  transition:.3s;
}

.card-tech:hover .card-link{
  letter-spacing:1px;
}
.hero-desc{
  font-size:18px;
  line-height:1.9;
  max-width:1000px;
}

}
/* 1. 约束图片容器高度，防止撑开 Section */
.hero-molecule-container {
    height: 300px; /* 强制限定高度，避免撑开背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* 防止溢出 */
}

/* 2. 严格限制图片尺寸，并确保不影响父级 */
.hero-molecule {
    max-height: 100%; /* 不超过容器高度 */
    width: auto;      /* 保持宽高比 */
    max-width: 100%;
    opacity: 0.95;
    transition: .4s ease;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.hero-molecule:hover {
    transform: rotate(8deg) scale(1.05);
}
.section-block{
  padding:100px 0;
}

.platform-card{
  padding:40px;
  border-radius:var(--radius-md);
  background:#fff;
  box-shadow:var(--shadow-soft);
  transition:0.3s ease;
}

.platform-card:hover{
  box-shadow:var(--shadow-hover);
}
/* 技术文档正文专用优化 */
.tech-content {
    color: var(--text-primary);
    word-wrap: break-word;
}

.tech-content h2 {
    font-size: 28px !important;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.tech-content h3 {
    font-size: 22px !important;
    margin-top: 1.2em;
    color: var(--brand-blue-deep);
}

.tech-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 20px 0;
    box-shadow: var(--shadow-soft);
}

/* 公式背景盒 */
.formula-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    overflow-x: auto;
    text-align: center;
}

/*氨气监测技术栏目下文章右边目录和正文双联动*/
/* 目录高亮样式 */
.is-active-link {
    color: var(--brand-blue) !important;
    font-weight: 700;
}
.toc-link::before {
    background-color: var(--brand-blue) !important;
/* 目录基础样式 */
.js-toc {
    padding-left: 10px;
    border-left: 1px solid var(--border-light);
}

/* 目录链接默认样式 */
.toc-link {
    color: var(--text-secondary);
    transition: all 0.2s ease;
    display: block;
    padding: 4px 0;
    text-decoration: none !important;
}

/* 关键：滑动到对应位置时，Tocbot 会自动给该 A 标签加上这个类 */
.is-active-link {
    color: var(--brand-blue) !important;
    font-weight: 700;
}

/* 左侧活动指示线条 */
.is-active-link::before {
    background-color: var(--brand-blue) !important;
    width: 3px !important;
}

/* 悬停效果 */
.toc-link:hover {
    color: var(--brand-blue);
}
.toc-wrapper{
max-height:70vh;
overflow:auto;
}
