/* zhgrasp.com 智卉信息 - 义乌管家婆软件 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333; background: #fff; line-height: 1.7; font-size: 16px;
}
a { color: #1663d2; text-decoration: none; }
a:hover { color: #0d47a1; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* 顶栏 */
.topbar { background: #0d2c5e; color: #cfe0ff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; padding: 6px 16px; }
.topbar strong { color: #fff; }

/* 头部 */
.header { background: #fff; border-bottom: 1px solid #e5e9f0; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 6px rgba(13,44,94,.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; }
.brand-sub { font-size: 13px; color: #5b6b84; font-weight: 400; letter-spacing: 1px; border-left: 1px solid #d8e0ec; padding-left: 12px; white-space: nowrap; }
.nav { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 16px; color: #333; font-size: 16px; border-radius: 4px; }
.nav a:hover, .nav a.active { color: #1663d2; background: #eef4ff; font-weight: 600; }

/* Hero 品牌横幅：与内页企业蓝一致，深蓝底白字 */
.hero { background: linear-gradient(120deg, #0d47a1, #2f8bee); color: #fff; padding: 64px 0 54px; }
.hero h1 { font-size: 38px; line-height: 1.3; color: #fff; margin-bottom: 12px; font-weight: 700; }
.hero-slogan { font-size: 27px; color: #eaf3ff; line-height: 1.45; margin-bottom: 12px; font-weight: 500; }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.82); margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; align-items: flex-start; }
.hs { min-width: 160px; padding: 0 36px; border-left: 1px solid rgba(255,255,255,.28); }
.hs:first-child { padding-left: 0; border-left: 0; }
.hs b { display: block; font-size: 40px; line-height: 1.1; color: #fff; font-weight: 700; }
.hs b sup { font-size: 17px; vertical-align: super; margin-left: 2px; }
.hs span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.78); }
.hero-note { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,.62); }
.btn { display: inline-block; padding: 13px 34px; border-radius: 6px; font-size: 17px; margin-right: 14px; margin-bottom: 10px; }
.btn-primary { background: #ff9d00; color: #fff; font-weight: 600; }
.btn-primary:hover { background: #f58c00; color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.65); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
/* 区块 */
.section { padding: 58px 0; }
.section.alt { background: #f5f8fc; }
.section-title { text-align: center; font-size: 28px; color: #12294e; margin-bottom: 8px; }
.section-sub { text-align: center; color: #7a8aa5; margin-bottom: 40px; font-size: 15px; }
.section-sub-lead { font-size: 21px; color: #5b6b84; font-weight: 500; letter-spacing: .3px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid #e6ecf4; border-radius: 10px; padding: 26px 22px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(13,44,94,.10); transform: translateY(-3px); }
.card h3 { font-size: 18px; color: #12294e; margin-bottom: 10px; }
.card h3 a { color: inherit; }
.card p { font-size: 14.5px; color: #5b6b84; }
.card .more { display: inline-block; margin-top: 12px; font-size: 14px; }
.icon-dot { width: 46px; height: 46px; border-radius: 10px; background: #e8f1ff; color: #1663d2; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon-dot svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 列表页 */
.page-head { background: linear-gradient(120deg, #0d47a1, #2f8bee); color: #fff; padding: 44px 0; }
.page-head h1 { font-size: 30px; }
.page-head p { opacity: .9; margin-top: 6px; font-size: 15px; }
.breadcrumb { font-size: 13px; color: #dbe8ff; margin-bottom: 10px; }
.breadcrumb a { color: #dbe8ff; }

.prose h2 { font-size: 22px; color: #12294e; margin: 34px 0 12px; }
.prose h3 { font-size: 18px; color: #12294e; margin: 26px 0 10px; }
.prose p, .prose li { color: #46536b; font-size: 15.5px; margin-bottom: 10px; }
.prose ul { padding-left: 22px; list-style: disc; }

/* 案例卡 */
.case-card { background: #fff; border: 1px solid #e6ecf4; border-radius: 10px; overflow: hidden; }
.case-cover { height: 120px; display: flex; align-items: center; justify-content: center; color: #fff; }
.case-cover svg { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.case-body { padding: 18px 20px 22px; }
.case-body h3 { font-size: 17px; margin-bottom: 8px; color: #12294e; }
.case-body p { font-size: 14px; color: #5b6b84; }
.tag { display: inline-block; background: #eef4ff; color: #1663d2; font-size: 12px; border-radius: 4px; padding: 2px 10px; margin-bottom: 10px; }

/* 新闻列表 */
.news-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #eef1f6; }
.news-date { flex: none; width: 64px; text-align: center; background: #eef4ff; border-radius: 8px; padding: 8px 0; }
.news-date b { display: block; font-size: 22px; color: #1663d2; }
.news-date span { font-size: 12px; color: #7a8aa5; }
.news-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.news-item p { font-size: 14px; color: #7a8aa5; }

.footer { background: #0a1f42; color: #8fa3c7; padding: 40px 0 24px; font-size: 14px; }
.footer .container { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer a { color: #8fa3c7; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer .copyright { border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; padding-top: 18px; text-align: center; font-size: 13px; color: #64789c; }

/* 页脚：给搜索引擎与 AI 读的服务主体 / 服务区域事实（低调排版） */
.footer-seo { border-top: 1px solid rgba(255,255,255,.08); margin-top: 22px; padding-top: 16px; font-size: 12.5px; line-height: 1.9; color: #7e93b8; }
.footer-seo p { margin: 0 0 2px; }
.footer-seo strong { color: #b9caea; font-weight: 600; }
.footer .footer-seo a { display: inline; padding: 0; color: #9db6e0; }
.footer .footer-seo a:hover { color: #fff; }

/* 服务区域与购买指南页 */
.prose .area-lead { background: #f0f5ff; border-left: 4px solid #1663d2; border-radius: 0 8px 8px 0; padding: 18px 20px; font-size: 16px; line-height: 1.9; }
.area-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0 22px; }
.area-facts div { background: #f7faff; border: 1px solid #e3ecff; border-radius: 8px; padding: 12px 16px; }
.area-facts span { display: block; font-size: 12.5px; color: #7a8aa5; margin-bottom: 4px; }
.area-facts strong { font-size: 15px; color: #12294e; font-weight: 600; }
.area-facts a { color: #1663d2; }

/* 企业痛点四宫格 */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.pain-card { background: #f0f5ff; border: 1px solid #e3ecff; border-radius: 10px; padding: 28px 20px 26px; text-align: center; }
.pain-icon { width: 42px; height: 42px; margin: 0 auto 16px; border-radius: 5px; background: linear-gradient(135deg,#3a86f5,#0d47a1); color: #fff; display: flex; align-items: center; justify-content: center; }
.pain-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pain-card h3 { font-size: 17px; color: #12294e; margin-bottom: 12px; font-weight: 600; }
.pain-card p { font-size: 13.5px; color: #5b6b84; line-height: 1.9; }

/* 深耕行业五图卡 */
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.ind-card { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #12294e; aspect-ratio: 210 / 241; color: #fff; }
.ind-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.ind-card:hover img { transform: scale(1.05); }
.ind-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,18,40,.88) 0%, rgba(6,18,40,.32) 38%, rgba(6,18,40,0) 72%); }
.ind-label { position: absolute; left: 14px; right: 12px; bottom: 15px; z-index: 1; text-align: left; }
.ind-label b { display: block; font-size: 17px; font-weight: 600; color: #fff; line-height: 1.5; }
.ind-label small { display: block; font-size: 11.5px; color: rgba(255,255,255,.72); letter-spacing: .2px; }
.industry-note { text-align: center; font-size: 18px; color: #12294e; font-weight: 500; margin-top: 32px; }

/* 产品分类宫格 */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px 18px; border-radius: 10px; background: #fff; border: 1px solid #e6ecf4; color: #33405c; font-size: 14.5px; text-align: center; transition: box-shadow .2s, transform .2s; }
.cat-item:hover { box-shadow: 0 8px 22px rgba(13,44,94,.12); transform: translateY(-3px); color: #1663d2; }
.cat-icon { width: 48px; height: 48px; border-radius: 9px; border: 1.5px solid var(--c); color: var(--c); display: flex; align-items: center; justify-content: center; }
.cat-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 产品页生态应用列表 */
.section[id] { scroll-margin-top: 80px; }
.group-title { font-size: 17px; color: #12294e; margin: 34px 0 14px; }
.app-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.app-list li { background: #fff; border: 1px solid #e6ecf4; border-radius: 8px; padding: 12px 16px; font-size: 15px; color: #33405c; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.app-list span { color: #7a8aa5; font-size: 13px; }

/* 文章页常见问题 */
.faq-block { margin-top: 38px; padding-top: 24px; border-top: 1px solid #e6ecf4; }
.faq-block h2 { font-size: 21px; color: #12294e; margin-bottom: 18px; }
.faq-block h3 { font-size: 16.5px; color: #12294e; margin: 20px 0 6px; }
.faq-block p { font-size: 15px; color: #5b6b84; line-height: 1.85; }

/* 授权证书 */
.cert-wrap { text-align: center; margin-top: 8px; }
.cert-img { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 8px 24px rgba(13,44,94,.12); }

/* 联系页地图 */
.map-wrap { margin: 18px 0 0; border: 1px solid #e6ecf4; border-radius: 10px; overflow: hidden; background: #f7f9fc; }
.map-canvas { width: 100%; height: 400px; display: none; }
.map-fallback { padding: 26px 22px; }
.map-fallback strong { display: block; font-size: 16.5px; color: #12294e; margin-bottom: 8px; }
.map-fallback p { font-size: 14.5px; color: #5b6b84; line-height: 1.8; }
.map-info { background: #fff; border-radius: 8px; padding: 10px 14px; box-shadow: 0 4px 16px rgba(13,44,94,.18); min-width: 210px; }
.map-info b { display: block; font-size: 14px; color: #12294e; margin-bottom: 4px; }
.map-info span { font-size: 12.5px; color: #5b6b84; line-height: 1.6; }

/* 右侧在线咨询浮窗 */
.zx-wrap { position: fixed; right: 18px; top: 32%; z-index: 210; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: "Microsoft YaHei","PingFang SC",Arial,sans-serif; }
.zx-bubble { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #eae4f7; box-shadow: 0 4px 14px rgba(90,60,160,.13); border-radius: 20px; padding: 5px 9px 5px 12px; font-size: 12.5px; color: #7a63c4; cursor: pointer; white-space: nowrap; }
.zx-bubble::before { content: "💬"; font-size: 13px; }
.zx-bubble-x { color: #a99cc9; font-size: 15px; line-height: 1; padding: 0 2px; }
.zx-bubble-x:hover { color: #6b5aa8; }
.zx-main { display: flex; flex-direction: column; align-items: center; }
.zx-trigger { width: 64px; padding: 6px 0 9px; border-radius: 8px 8px 0 0; background: linear-gradient(180deg,#f34853,#d91f30); color: #fff; text-align: center; text-decoration: none; box-shadow: 0 6px 18px rgba(217,31,48,.3); font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 1px; }
.zx-trigger svg { display: block; width: 44px; height: 44px; margin: 0 auto 3px; border-radius: 50%; box-sizing: border-box; border: 2px solid rgba(255,255,255,.9); }
.zx-trigger:hover { color: #fff; filter: brightness(1.07); }
.zx-avatar { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: #fff; box-shadow: 0 4px 14px rgba(13,44,94,.25); cursor: pointer; overflow: hidden; padding: 0; display: block; }
.zx-avatar svg { display: block; width: 100%; height: 100%; }
.zx-panel { display: none; position: absolute; right: 78px; top: 46px; width: 212px; background: #fff; border: 2px solid #2f7ff0; border-radius: 8px; padding: 16px 12px 12px; box-shadow: 0 10px 30px rgba(13,44,94,.18); text-align: center; }
.zx-open .zx-panel { display: block; }
.zx-close { position: absolute; right: -9px; top: -11px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: #2f7ff0; color: #fff; font-size: 15px; line-height: 21px; cursor: pointer; }
.zx-quick { display: block; border: 1.5px solid #2f7ff0; border-radius: 5px; color: #1663d2; background: #fff; font-size: 14px; font-weight: 600; padding: 6px 8px; margin-bottom: 9px; text-decoration: none; }
.zx-quick:hover { background: #eef4ff; color: #0d47a1; }
.zx-quick::before { content: "🔔"; margin-right: 4px; font-size: 12px; }
.zx-phone-label { color: #7a8aa5; font-size: 13px; margin-top: 4px; }
.zx-phone { display: block; color: #1663d2; font-size: 19px; font-weight: 700; letter-spacing: .5px; text-decoration: none; margin-bottom: 10px; }
.zx-qr { width: 138px; height: 138px; object-fit: contain; display: block; margin: 0 auto; border: 1px solid #eef1f6; }
.zx-qr-tip { color: #7a8aa5; font-size: 13px; margin: 6px 0 10px; }
.zx-call { display: block; background: #ff9d00; color: #fff; border-radius: 40px; padding: 8px 12px; text-decoration: none; font-size: 14px; font-weight: 600; }
.zx-call:hover { color: #fff; background: #f08c00; }
@media (max-width: 640px) {
  .zx-wrap { right: 12px; top: auto; bottom: 92px; gap: 8px; }
  .zx-bubble { display: none; }
  .zx-trigger { width: 54px; font-size: 12px; padding: 5px 0 7px; }
  .zx-trigger svg { width: 36px; height: 36px; }
  .zx-avatar { width: 40px; height: 40px; }
  .zx-panel { position: fixed; left: 12px; right: 12px; bottom: 148px; top: auto; width: auto; max-width: 320px; margin-left: auto; }
}

/* 响应式 */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .app-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header .container { flex-direction: column; height: auto; padding: 10px 16px; gap: 8px; }
  .brand-logo { height: 40px; }
  .brand-sub { font-size: 12px; padding-left: 9px; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .nav a { padding: 6px 10px; font-size: 14.5px; }
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 26px; }
  .hero-slogan { font-size: 20px; }
  .hero-desc { font-size: 14px; margin-bottom: 28px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .hs { min-width: 0; padding: 0 16px; }
  .hs:nth-child(3) { padding-left: 0; border-left: 0; }
  .hs b { font-size: 30px; }
  .section { padding: 40px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .pain-grid { grid-template-columns: 1fr; gap: 12px; }
  .pain-card { padding: 20px 16px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ind-card:last-child { grid-column: span 2; aspect-ratio: 420 / 241; }
  .industry-note { font-size: 16px; margin-top: 24px; }
  .cat-item { font-size: 13px; padding: 14px 4px; }
  .cat-icon { width: 42px; height: 42px; }
  .section-title { font-size: 23px; }
  .section-sub-lead { font-size: 17px; }
  .map-canvas { height: 320px; }
  .area-facts { grid-template-columns: 1fr; gap: 8px; }
  .prose .area-lead { font-size: 15px; padding: 14px 16px; }
  .footer-seo { font-size: 12px; }
}
