/* ============================================================
   Certum 静态站全局视觉刷新 · 2026-11-23
   作用：统一字体层级、提高文字对比度、提亮品牌色与图标、
        统一按钮/卡片/价格表现；不改变页面结构与产品数量。
   本文件必须在所有页面 CSS 之后加载。
   ============================================================ */

/* ---------- 全局设计变量 ---------- */
:root{
  --brand:#145CFF;
  --brand-d:#0B46C8;
  --cyan:#00C8FF;
  --violet:#6D5DFC;
  --ink:#07152B;
  --ink-2:#1B2942;
  --muted:#52637D;
  --muted-2:#71819A;
  --line:#DDE7F5;
  --bg:#F4F8FE;
  --surface:#FFFFFF;
  --grad:linear-gradient(118deg,#145CFF 0%,#348BFF 44%,#00C8FF 100%);
  --grad-soft:linear-gradient(118deg,rgba(20,92,255,.11),rgba(0,200,255,.10) 62%,rgba(109,93,252,.10));
}

/* ---------- 字体与正文清晰度 ---------- */
html{font-size:16px!important;-webkit-text-size-adjust:100%;}
body{
  font-family:"MiSans","HarmonyOS Sans SC","PingFang SC","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:16px;
  line-height:1.72!important;
  color:#1B2942!important;
  letter-spacing:0!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5,h6{
  font-family:inherit!important;
  color:#07152B;
  letter-spacing:-.015em;
  text-wrap:balance;
}
p,li,dd,figcaption{text-wrap:pretty;}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid rgba(20,92,255,.28);
  outline-offset:2px;
}
::selection{background:rgba(20,92,255,.16);color:#07152B;}

/* ---------- 顶部导航与图标 ---------- */
header .navbar-nav .nav-item{flex:0 0 auto!important;}
header .nav-link{
  font-size:14.5px!important;
  font-weight:650!important;
  color:#0A1830!important;
  padding:8px 10px!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
header .nav-link i,header .nav-link .ui-ico,header .nav-link svg{
  color:#145CFF!important;
  opacity:1!important;
  font-size:14px!important;
  width:16px;
  height:16px;
}
header .nav-link.active{color:#0E52E8!important;}
header .nav-link.active:after{
  width:30px!important;
  height:3px!important;
  border-radius:2px!important;
  background:linear-gradient(90deg,#145CFF,#00C8FF)!important;
}
header .navbar-brand img{filter:drop-shadow(0 6px 14px rgba(15,40,90,.09));}

/* ---------- 按钮：更鲜亮、更清晰 ---------- */
.ds-btn{
  min-height:46px;
  padding-top:12px!important;
  padding-bottom:12px!important;
  font-weight:700!important;
  letter-spacing:.01em;
  font-size:15px!important;
}
.ds-btn-primary{
  background:linear-gradient(115deg,#0B57FF 0%,#2E8BFF 55%,#00C8FF 100%)!important;
  border-color:transparent!important;
  box-shadow:0 14px 28px -16px rgba(12,78,255,.58)!important;
}
.ds-btn-primary:hover{filter:brightness(1.05) saturate(1.05);box-shadow:0 18px 34px -15px rgba(12,78,255,.62)!important;}
.ds-btn-ghost{
  color:#0E52E8!important;
  border-color:#BFD4FA!important;
  background:#fff!important;
}
.ds-btn-ghost:hover{background:#F2F7FF!important;border-color:#8FB5FF!important;}

/* ---------- 页面标题区：层级与对比 ---------- */
.ds-kicker,.ds-eyebrow{
  color:#145CFF!important;
  font-weight:800!important;
  letter-spacing:.15em!important;
}
.ds-eyebrow i{background:linear-gradient(135deg,#145CFF,#00C8FF)!important;}
.ds-sec-head h2{color:#07152B!important;font-weight:850!important;}
.ds-sec-head{max-width:840px!important;}
.ds-sec-head p{
  color:#52637D!important;
  font-size:16px!important;
  line-height:1.85!important;
  font-weight:450;
}
.ds-hero .lead,.ds-hero p.lead{
  color:#44556E!important;
  font-size:16.2px!important;
  line-height:1.8!important;
  font-weight:450;
}
.ds-hero h1{color:#07152B!important;font-weight:850!important;}
.ds-chip{
  color:#3E5270!important;
  border-color:#D8E5F8!important;
  background:#FAFCFF!important;
  font-size:13px!important;
  font-weight:600!important;
}

/* ---------- 能力卡、步骤、FAQ：边界更清楚 ---------- */
.ds-feat,.ds-step,.sl-plan,.ab-card,.ab-cred,.ab-cap{
  border-color:#E0E9F7!important;
}
.ds-feat,.ds-step{box-shadow:0 14px 34px -30px rgba(13,38,82,.34);}
.ds-feat p,.ds-step p{
  color:#52637D!important;
  font-size:14px!important;
  line-height:1.82!important;
}
.ds-feat h3,.ds-step h3{color:#0B1B35!important;}
.ds-faq details p{
  color:#52637D!important;
  font-size:14px!important;
  line-height:1.85!important;
}
.ds-faq summary{color:#0B1B35!important;font-size:15.5px!important;}
.ds-fico{
  box-shadow:0 6px 18px -12px rgba(18,52,112,.35),inset 0 0 0 1px rgba(255,255,255,.6);
}
.ds-fico svg,.ds-fico i{stroke-width:1.9;}
.ds-fico svg{width:20px;height:20px;}

/* ---------- 价格区：原价、优惠价、促销口径更清楚 ---------- */
.sl-plan{
  box-shadow:0 18px 40px -34px rgba(13,38,82,.42);
}
.sl-plan.hot{
  border-color:#B9D2FF!important;
  box-shadow:0 22px 48px -28px rgba(20,92,255,.34)!important;
}
.sl-plan:after{z-index:1!important;}
.sl-plan.hot:before{z-index:5!important;}
.sl-plan h3{color:#07152B!important;font-weight:800!important;}
.sl-plan .sub{color:#52637D!important;}
.sl-spec{
  color:#4E607A!important;
  font-size:13px!important;
  line-height:1.75!important;
}
.sl-spec b{color:#0B1B35!important;font-weight:700!important;}
.sl-price-head{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-bottom:6px!important;
}
.sl-now{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px;
  padding:3px 9px!important;
  border-radius:999px!important;
  background:#EAF2FF!important;
  color:#0B51D8!important;
  font-size:11.5px!important;
  font-weight:800!important;
  letter-spacing:.04em;
}
.sl-save{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px;
  padding:3px 9px!important;
  border-radius:999px!important;
  background:#FFF5E5!important;
  border:1px solid #FFE1B8!important;
  color:#A85A00!important;
  font-size:11.5px!important;
  font-weight:800!important;
  letter-spacing:0;
}
.sl-price{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:2px 0;
  padding:4px 0 16px!important;
}
.sl-price .cur{
  color:#07152B!important;
  font-size:20px!important;
  font-weight:800!important;
  font-family:inherit!important;
}
.sl-price .num{
  color:#07152B!important;
  font-size:42px!important;
  line-height:1.08!important;
  font-weight:900!important;
  font-family:inherit!important;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.04em;
}
.sl-price .per{
  color:#566982!important;
  font-size:13px!important;
  font-weight:600!important;
  margin-left:6px;
}
.sl-price .sl-old{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px;
  margin-left:10px!important;
  padding:4px 8px!important;
  border-radius:7px!important;
  background:#F3F6FA!important;
  color:#66768C!important;
  line-height:1.3!important;
  white-space:nowrap;
}
.sl-old em{
  font-style:normal!important;
  font-size:10.5px!important;
  font-weight:700!important;
  color:#708198!important;
}
.sl-old s{
  position:relative!important;
  display:inline-block!important;
  font-size:13.5px!important;
  font-weight:600!important;
  color:#52627A!important;
  text-decoration:none!important;
}
/* 原价删除线改为彩色渐变细线，避免与灰色文字同色而看不清 */
.sl-old s::after{
  content:""!important;
  position:absolute!important;
  left:-1px!important;
  right:-1px!important;
  top:40%!important;
  height:1px!important;
  border-radius:1px!important;
  background:linear-gradient(90deg,#A87B2E 0%,#C9A45C 26%,#8E651F 52%,#C9A45C 76%,#A87B2E 100%)!important;
  transform:translateY(-50%)!important;
  pointer-events:none!important;
}
.sl-plan .go a.buy{
  background:linear-gradient(115deg,#0B57FF,#2E8BFF 58%,#00C8FF)!important;
  font-weight:750!important;
  letter-spacing:.02em;
}
.sl-plan .go a.ask{color:#0B51D8!important;font-weight:650!important;}

/* ---------- 首页视觉：背景、新闻、产品价格 ---------- */
.hp-page{
  --hp-ink:#07152B;
  --hp-body:#4F6079;
  --hp-muted:#6D7D96;
  --hp-line:#DDE7F5;
  --hp-bg:#F4F8FE;
  --hp-brand:#145CFF;
  --hp-cyan:#00C8FF;
  --hp-grad:linear-gradient(118deg,#145CFF,#348BFF 44%,#00C8FF);
  background:#F4F8FE!important;
}

/* 首页新闻条目：去掉标题下方的多色短线与链接下划线 */
body.hp-page .Iques .news-content .title:after,
body.hp-page .Iques .news-content .title:before,
body.hp-page .Iques .news-item:after{
  display:none!important;
  content:none!important;
}
body.hp-page .Iques .news-item,
body.hp-page .Iques .news-content .title,
body.hp-page .Iques .news-content .summary{
  text-decoration:none!important;
}
body.hp-page .Iques .news-content .title{
  font-size:13.5px!important;
  font-weight:650!important;
  color:#12233D!important;
  line-height:1.62!important;
}
body.hp-page .Iques .news-content .summary{
  font-size:12.2px!important;
  color:#5E6F87!important;
  line-height:1.6!important;
}
body.hp-page .Iques .news-item{padding:14px 0!important;border-bottom-color:#E8EDF5!important;}
body.hp-page .Iques .date-badge{
  background:linear-gradient(145deg,#EEF4FF,#EAF9FF)!important;
  border-color:#D5E4FA!important;
}
body.hp-page .Iques .date-badge span{color:#145CFF!important;}
body.hp-page .Iques .cat-tag{
  font-size:10.5px!important;
  font-weight:700!important;
  padding:2px 7px!important;
}
/* 新闻区块标题与条目不再使用装饰下划线 */
body.hp-page .Iques .title.text-center:after,
body.hp-page .Iques .cn-news-h:after{display:none!important;content:none!important;}

/* 首页产品价格：把“原价 / 优惠价”关系直接做出来 */
body.hp-page .Iactive-list .price{
  padding-top:12px!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:0!important;
}
body.hp-page .Iactive .Iactive-list-blue .content .price s,
body.hp-page .Iactive-list .price s{
  position:relative!important;
  display:inline-block;
  font-size:14px!important;
  font-weight:600!important;
  color:#425A78!important;
  text-decoration:none!important;
  flex:0 0 100%!important;
  margin:0 0 2px!important;
  text-align:center;
  transform:none;
  white-space:nowrap;
}
body.hp-page .Iactive-list .price s>.old-num{
  position:relative;
  display:inline-block;
  font-style:normal;
  color:#425A78!important;
}
body.hp-page .Iactive-list .price s>.old-num::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:40%!important;
  height:1px!important;
  border-radius:1px!important;
  background:linear-gradient(90deg,#A87B2E 0%,#C9A45C 26%,#8E651F 52%,#C9A45C 76%,#A87B2E 100%)!important;
  transform:translateY(-50%)!important;
  pointer-events:none!important;
}
body.hp-page .Iactive-list .price s::before{
  content:"原价 ";
  font-size:11.2px;
  font-weight:700;
  color:#576981;
  text-decoration:none;
}
body.hp-page .Iactive-list .price span{
  color:#E4451F!important;
  font-family:inherit!important;
  font-size:42px!important;
  font-weight:900!important;
  letter-spacing:-.03em;
  font-variant-numeric:tabular-nums;
}
/* 一口价产品：不展示原价、不参与满减，用香槟金徽标 + 墨蓝价格区分 */
body.hp-page .Iactive-list.is-fixed-price{
  border-color:#E8D9B7!important;
  box-shadow:0 22px 50px -44px rgba(138,91,24,.38)!important;
}
body.hp-page .Iactive-list.is-fixed-price .icon{
  background:#FBF5E7!important;
  border-color:#EAD9B3!important;
  color:#8A5B18!important;
}
body.hp-page .Iactive-list .price.price-fixed,
body.hp-page .Iactive-list .price.price-promo{
  padding-top:8px!important;
  border-top-color:#E9DCC0!important;
  gap:2px!important;
}
body.hp-page .Iactive-list .price.price-fixed{
  min-height:130px!important;
  align-content:center!important;
}
body.hp-page .Iactive .Iactive-list-blue .content .price.price-fixed .fx-tag-wrap,
body.hp-page .Iactive .Iactive-list-blue .content .price.price-promo .fx-tag-wrap{
  flex:0 0 100%!important;
  display:flex!important;
  justify-content:center;
  margin:0 0 5px;
}
body.hp-page .Iactive .Iactive-list-blue .content .price.price-fixed .fx-tag,
body.hp-page .Iactive .Iactive-list-blue .content .price.price-promo .fx-tag{
  display:inline-block!important;
  padding:3px 10px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#FCF7EA,#F4E6C3)!important;
  border:1px solid #E5D2A4!important;
  color:#8A5B18!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.5!important;
  letter-spacing:.08em;
  text-indent:.08em;
}
body.hp-page .Iactive .Iactive-list-blue .content .price.price-fixed .fx-unit{
  font-style:normal;
  font-size:12px;
}

/* ---------- 页脚：丝绒蓝 A 方案，与冰蓝版面更协调 ---------- */
footer{
  background:linear-gradient(180deg,#1B3A5C 0%,#142C47 100%)!important;
  color:#EAF2FC!important;
}
footer .footer-allt{
  background:linear-gradient(180deg,#1D3D60,#1B3A5C)!important;
  border-bottom:1px solid rgba(177,205,237,.24)!important;
}
footer .footer-allt img{opacity:1!important;filter:grayscale(0) brightness(1.45) saturate(1.05);}
footer .footer-allt .p4{color:#FFFFFF!important;font-weight:700!important;}
footer .footer-allt .p5,
footer .footer-nav p,
footer .p5{color:#C8D9EC!important;}
footer .p2,footer .p2 span{color:#FFFFFF!important;}
footer .bottom a{color:#D6E4F3!important;}
footer .bottom a:hover{color:#FFFFFF!important;}
footer .cons{color:#A9BFD6!important;}
footer .footer-li{
  border-color:rgba(177,205,237,.42)!important;
  background:rgba(255,255,255,.05)!important;
}
footer .footer-li:hover{
  background:linear-gradient(115deg,#145CFF,#00A8E8)!important;
  border-color:transparent!important;
}
footer:before{
  display:block!important;
  content:""!important;
  height:3px;
  background:linear-gradient(90deg,rgba(216,178,106,0),#D8B26A 26%,#F0DFB8 50%,#D8B26A 74%,rgba(216,178,106,0))!important;
  opacity:1!important;
}

/* ---------- 文章正文阅读舒适度（若文章页加载本文件） ---------- */
.art-body{
  font-size:17px!important;
  line-height:2!important;
  color:#202C40!important;
}
.art-body p{margin:17px 0!important;}
.art-body h2{color:#07152B!important;font-weight:800!important;}
.art-body h3{color:#10203A!important;font-weight:750!important;}
.art-body a{color:#8A5B18!important;}

/* ---------- 小屏 ---------- */
@media (max-width:640px){
  body{font-size:15.5px;line-height:1.7!important;}
  .ds-sec-head p,.ds-hero .lead,.ds-hero p.lead{font-size:15.5px!important;}
  .sl-price .num{font-size:38px!important;}
  .sl-price .sl-old{margin-left:6px!important;}
  body.hp-page .Iactive-list .price span{font-size:38px!important;}
}

/* 移动端底部菜单：避免“新闻中心”的图标与文字被拆行 */
@media (max-width:480px){
  footer .bottom a{
    display:inline-block!important;
    white-space:nowrap!important;
    font-size:14px!important;
  }
}
