/* V23: Inovance-inspired typography hierarchy + restore clean modal priority */
:root{
  --fg-font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  --fg-ink-strong:#111827;
  --fg-ink:#1f2937;
  --fg-text:#667085;
  --fg-text-soft:#7b8494;
  --fg-line:#e6eaf0;
  --fg-blue:#005BAC;
  --fg-bg:#f6f8fb;
}
html,body{font-family:var(--fg-font-sans)!important;color:var(--fg-ink)!important;-webkit-font-smoothing:antialiased!important;text-rendering:optimizeLegibility!important;}
body{font-size:15.5px!important;line-height:1.72!important;letter-spacing:0!important;background:#fff!important;}
/* 导航更轻、更企业化 */
.navbar,.nav-links a,.top-bar,.top-bar a{font-family:var(--fg-font-sans)!important;font-weight:400!important;letter-spacing:0!important;}
.logo{font-weight:600!important;color:var(--fg-ink-strong)!important;letter-spacing:-.01em!important;}
.nav-links a{font-size:15px!important;color:#2f3746!important;}
.nav-links a.active,.nav-links a:hover{color:var(--fg-blue)!important;}
.nav-consult-btn,.btn,.button,a.btn,.contact-float-btn{font-weight:500!important;letter-spacing:0!important;}
/* 全站标题层级：不再大面积粗黑 */
h1,h2,h3,h4,h5,h6,
.section-title,.page-title,.article-title,.case-title,
.service-card h3,.case-card h3,.news-card h3,.pricing-card h3,.feature-item h4,
.ai-card h3,.ai-product h3,.ai-price-card h3,.fg-v9-news-main h3,
.footer h4,.footer-links h4{
  font-family:var(--fg-font-sans)!important;
  color:var(--fg-ink-strong)!important;
  font-weight:500!important;
  letter-spacing:-.018em!important;
}
h1,.hero-section h1,.ai-hero h1{font-weight:540!important;letter-spacing:-.035em!important;}
h2,.section-title,.ai-head h2{font-weight:520!important;letter-spacing:-.025em!important;}
h3,.service-card h3,.case-card h3,.news-card h3,.ai-card h3{font-weight:500!important;letter-spacing:-.015em!important;}
.section-title{font-size:clamp(28px,3vw,38px)!important;line-height:1.26!important;margin-bottom:14px!important;}
.section-desc,.section-header p,.article-content p,.case-content p,.service-card p,.feature-item p,.case-card p,.news-card p,.ai-card p,.ai-product p,.ai-price-card p,.footer p,li{
  color:var(--fg-text)!important;
  font-weight:400!important;
  line-height:1.78!important;
  letter-spacing:0!important;
}
.section-label,.ai-kicker,.ai-head .ai-kicker{font-weight:500!important;letter-spacing:0!important;color:var(--fg-blue)!important;}
/* 卡片文字参考汇川：标题黑、说明灰、空间干净 */
.service-card,.case-card,.news-card,.pricing-card,.feature-item,.ai-card,.ai-product,.ai-price-card,.fg-v9-news-item{
  border-color:var(--fg-line)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
}
.service-card h3,.case-card h3,.news-card h3,.pricing-card h3,.feature-item h4{font-size:20px!important;line-height:1.42!important;margin-bottom:10px!important;}
.service-card p,.case-card p,.news-card p,.pricing-card p,.feature-item p{font-size:15px!important;line-height:1.8!important;}
/* 文章与案例详情页 */
.article-main h1,.article-title,.fg-detail-main h1,.case-detail-title{font-weight:520!important;line-height:1.28!important;color:var(--fg-ink-strong)!important;}
.article-content h2,.article-content h3,.case-content h2,.case-content h3{font-weight:500!important;color:var(--fg-ink-strong)!important;}
.article-content,.case-content{font-size:16px!important;color:var(--fg-text)!important;}
.article-content p,.case-content p{font-size:16px!important;line-height:1.9!important;color:var(--fg-text)!important;}
/* 深色背景区域必须白字，不受全站标题深色影响 */
.hero-section,.page-banner,.stats-section,.cta-section,.footer,.ai-hero,.ai-dark,.ai-cta-box,.home-cta,.dark-section{
  color:#fff!important;
}
.hero-section h1,.hero-section h2,.hero-section h3,.hero-section p,.hero-section span,
.page-banner h1,.page-banner h2,.page-banner h3,.page-banner p,.page-banner span,
.stats-section h1,.stats-section h2,.stats-section h3,.stats-section p,.stats-section span,
.cta-section h1,.cta-section h2,.cta-section h3,.cta-section p,.cta-section span,
.footer h1,.footer h2,.footer h3,.footer h4,.footer p,.footer li,.footer a,
.ai-hero h1,.ai-hero h2,.ai-hero h3,.ai-hero p,.ai-hero span,.ai-hero li,
.ai-dark h1,.ai-dark h2,.ai-dark h3,.ai-dark h4,.ai-dark p,.ai-dark span,.ai-dark li,
.ai-cta-box h1,.ai-cta-box h2,.ai-cta-box h3,.ai-cta-box p,.ai-cta-box span{
  color:#fff!important;
}
.hero-section p,.page-banner p,.cta-section p,.footer p,.footer li,.footer a,.ai-hero p,.ai-dark p,.ai-dark li,.ai-cta-box p{color:rgba(255,255,255,.78)!important;}
.ai-hero h1 em{color:#5fb0ff!important;}
/* AI 页面暗色卡片可读性 */
.ai-growth-page .ai-hero-panel,.ai-growth-page .ai-dark-card{color:#fff!important;background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.22)!important;}
.ai-growth-page .ai-hero-panel *,.ai-growth-page .ai-dark-card *{color:#fff!important;}
.ai-growth-page .ai-check{color:rgba(255,255,255,.86)!important;}
/* 恢复 V19 弹窗风格优先级，避免 V21 科技弹窗残留 */
.contact-modal-overlay{background:rgba(15,23,42,.58)!important;backdrop-filter:blur(8px)!important;}
.contact-modal{background:linear-gradient(115deg,#eaf8ff 0%,#fff 42%,#ffe8f3 100%)!important;color:#111827!important;border:0!important;box-shadow:0 40px 110px rgba(15,23,42,.34)!important;}
.contact-modal:before,.contact-modal:after{display:none!important;content:none!important;}
.contact-modal,.contact-modal *{font-family:var(--fg-font-sans)!important;}
.modal-header h3{color:#0f172a!important;font-weight:600!important;letter-spacing:-.02em!important;}
.modal-header p,.qr-card p,.modal-desc{color:#64748b!important;}
.qr-card,.contact-info{background:rgba(255,255,255,.88)!important;border:1px solid rgba(226,232,240,.9)!important;box-shadow:0 18px 42px rgba(15,23,42,.08)!important;backdrop-filter:none!important;}
.fg-info-item .info-label{color:#4b5563!important;font-weight:500!important;}
.fg-info-item strong{color:#111827!important;font-weight:520!important;}
.copy-btn{background:#1f2937!important;color:#fff!important;border:0!important;font-weight:500!important;}
.copy-btn:hover{background:var(--fg-blue)!important;}
.modal-close-btn{background:rgba(255,255,255,.9)!important;color:#111827!important;border:0!important;box-shadow:0 8px 28px rgba(15,23,42,.1)!important;}
/* mobile */
@media(max-width:760px){
  body{font-size:15px!important;line-height:1.72!important;}
  .section-title{font-size:28px!important;line-height:1.3!important;}
  h1,.hero-section h1,.ai-hero h1{font-size:34px!important;line-height:1.25!important;font-weight:520!important;}
  .service-card h3,.case-card h3,.news-card h3,.ai-card h3{font-size:18px!important;}
  .contact-modal{background:linear-gradient(115deg,#eaf8ff 0%,#fff 48%,#ffe8f3 100%)!important;}
}
