/* 石家庄管家婆软件服务中心 - 官网样式 */
:root {
  --primary: #1f5eff;
  --primary-dark: #1747c2;
  --primary-light: #e8f0ff;
  --accent: #ff6a2b;
  --danger: #e5382f;
  --dark: #1a2333;
  --gray: #5b6676;
  --gray-light: #8b94a3;
  --bg: #f5f7fb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(26, 35, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 35, 51, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 1200px; max-width: 92%; margin: 0 auto; }

/* ===== 顶部热线条 ===== */
.topbar {
  background: var(--dark);
  color: #cfd6e2;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar strong { color: #ffb98a; font-size: 14px; }
.topbar a.tel { color: #ffb98a; font-weight: 600; }

/* ===== 导航 ===== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 1px 0 rgba(26,35,51,.08);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #4f8bff);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; letter-spacing: -1px;
  box-shadow: 0 4px 14px rgba(31,94,255,.35);
}
.logo-text .cn { font-size: 19px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.logo-text .en { font-size: 11px; color: var(--gray-light); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; color: var(--dark);
  transition: all .2s; white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

.nav-toggle { display: none; font-size: 24px; cursor: pointer; background: none; border: none; color: var(--dark); }

/* ===== Hero 横幅 ===== */
.hero {
  background: linear-gradient(120deg, #0d2c7a 0%, #1f5eff 55%, #3f7dff 100%);
  color: #fff; padding: 84px 0 100px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.hero::before {
  content: ""; position: absolute; right: 120px; bottom: -180px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
/* 带实景图的首页hero：真实生产场景图 + 深蓝渐变遮罩保证文字可读 */
.hero-bg {
  background:
    linear-gradient(100deg, rgba(9,26,74,.94) 0%, rgba(13,44,122,.86) 45%, rgba(31,94,255,.62) 100%),
    url('../img/official/smart_banner.jpg') center 35%/cover no-repeat;
}
.hero-bg::after { display: none; }
.hero .container { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1.2; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 5px 16px; font-size: 13px; margin-bottom: 20px; backdrop-filter: blur(4px);
}
.hero h1 { font-size: 42px; line-height: 1.3; margin-bottom: 18px; font-weight: 700; }
.hero h1 span { color: #ffd08a; }
.hero p.sub { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 10px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all .25s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(255,106,43,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,106,43,.5); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-light); }

/* hero 卡片 */
.hero-card {
  flex: .9; background: rgba(255,255,255,.97); color: var(--dark);
  border-radius: 16px; padding: 30px 32px; box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.hero-card h3::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--primary); }
.hotline { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed #e3e8f0; }
.hotline:last-of-type { border-bottom: none; }
.hotline .ico {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.ico-sale { background: #fff1e8; }
.ico-after { background: #e8f6ee; }
.hotline .label { font-size: 12px; color: var(--gray-light); }
.hotline .num { font-size: 20px; font-weight: 700; color: var(--primary-dark); font-family: "DIN Alternate", Arial, sans-serif; }

/* ===== 通用区块 ===== */
.section { padding: 78px 0; }
.section.alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-head .tag {
  display: inline-block; color: var(--primary); background: var(--primary-light);
  font-size: 13px; font-weight: 600; border-radius: 999px; padding: 4px 16px; margin-bottom: 14px;
}
.sec-head h2 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.sec-head p { color: var(--gray); font-size: 15px; }

/* ===== 产品系列 ===== */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 28px;
  box-shadow: var(--shadow); border: 1px solid transparent;
  transition: all .25s; display: flex; flex-direction: column;
  position: relative;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }

/* 彩色渐变方块图标（参照参考站 cmgrasp.com 风格） */
.prod-card .p-ico {
  width: 60px; height: 60px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; box-shadow: 0 6px 18px rgba(0,0,0,.10);
  position: relative; overflow: hidden;
}
.prod-card .p-ico::after {
  content: ""; position: absolute; right: -16px; top: -16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.prod-card .p-ico svg { width: 32px; height: 32px; fill: #fff; position: relative; z-index: 1; }

/* 各系列配色 */
.pi-hui { background: linear-gradient(135deg, #4fb6ff 0%, #1f6fff 100%); }      /* 辉煌·蓝 */
.pi-cai { background: linear-gradient(135deg, #ff8a3d 0%, #ff5722 100%); }      /* 财贸·橙 */
.pi-fen { background: linear-gradient(135deg, #7a8cff 0%, #5a4ad8 100%); }      /* 分销·紫 */
.pi-fuz { background: linear-gradient(135deg, #ff7eb3 0%, #e84a8b 100%); }      /* 服装·粉 */
.pi-yid { background: linear-gradient(135deg, #4ad8b8 0%, #1a9e7a 100%); }      /* 移动·青绿 */
.pi-hang { background: linear-gradient(135deg, #ffc34f 0%, #ff8a00 100%); }     /* 行业·黄 */
.pi-yix { background: linear-gradient(135deg, #ff6b6b 0%, #e5382f 100%); }      /* 医药·红 */
.pi-qipei { background: linear-gradient(135deg, #4a5568 0%, #1a202c 100%); }    /* 汽配·深 */
.pi-shouhou { background: linear-gradient(135deg, #14c38e 0%, #0a8a5e 100%); }  /* 售后·绿 */
.pi-yanfa { background: linear-gradient(135deg, #6a82fb 0%, #3b50ce 100%); }    /* 研发·靛 */
.pi-zhizao { background: linear-gradient(135deg, #f97316 0%, #b91c1c 100%); }  /* 制造·橙红 */
.pi-wulb { background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%); }     /* 物联宝·青 */

/* 产品中心 · 架构图与选型助手 */
.prod-head { background: linear-gradient(135deg, #0d2c7a 0%, #1f5eff 100%); }
.arch-img {
  margin-top: 40px; background: #fff; border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); border: 1px solid #eaeef8;
}
.arch-img img { width: 100%; border-radius: 8px; display: block; }
.arch-img .arch-cap { color: var(--gray); font-size: 14px; margin-top: 12px; text-align: center; }

.sel-helper { background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%); }
.helper-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; }
.help-item {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border: 1px solid #eaeef8; position: relative;
}
.help-item .num {
  position: absolute; top: 18px; right: 20px; font-size: 36px; font-weight: 800;
  color: var(--primary-light); line-height: 1;
}
.help-item h4 { font-size: 17px; margin-bottom: 8px; }
.help-item p { color: var(--gray); font-size: 13.5px; line-height: 1.7; }
.helper-cta { text-align: center; margin-top: 36px; }
.btn.big { font-size: 16px; padding: 16px 38px; border-radius: 999px; }

@media (max-width: 900px) {
  .helper-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .helper-grid { grid-template-columns: 1fr; }
}

.prod-card h3 { font-size: 19px; margin-bottom: 10px; }
.prod-card p { color: var(--gray); font-size: 14px; flex: 1; }
.prod-card .p-price { font-size: 15px; font-weight: 700; color: var(--accent); margin: 4px 0 2px; }
.prod-card .p-price small { font-size: 12px; color: var(--gray-light); font-weight: 400; margin-left: 4px; }
.prod-card .p-items { margin: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-card .p-items span {
  font-size: 12.5px; color: var(--primary-dark); background: var(--primary-light);
  padding: 3px 10px; border-radius: 6px;
}
.prod-card .more { color: var(--primary); font-size: 14px; font-weight: 600; }

/* ===== 行业解决方案 ===== */
.indus-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.indus-item {
  background: var(--white); border-radius: var(--radius); padding: 26px 16px;
  text-align: center; box-shadow: var(--shadow); transition: all .25s;
}
.indus-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.indus-item .i-ico { font-size: 34px; margin-bottom: 12px; }
.indus-item h4 { font-size: 16px; margin-bottom: 6px; }
.indus-item p { font-size: 12.5px; color: var(--gray-light); }

/* ===== 数据/优势 ===== */
.stats { background: linear-gradient(120deg, #0d2c7a, #1f5eff); color: #fff; padding: 64px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; color: #ffd08a; font-family: "DIN Alternate", Arial, sans-serif; }
.stat-num small { font-size: 18px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 6px; }

/* ===== 服务流程 ===== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flow-step { background: var(--white); border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow); position: relative; }
.flow-step .no {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.flow-step h4 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--gray); }

/* ===== 新闻 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-cover { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 52px; color: #fff; }
.news-body { padding: 20px 22px; }
.news-body .date { font-size: 12.5px; color: var(--gray-light); margin-bottom: 6px; }
.news-body h4 { font-size: 16.5px; margin-bottom: 8px; line-height: 1.5; }
.news-body p { font-size: 13.5px; color: var(--gray); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(120deg, #ff8a3d, var(--accent));
  color: #fff; text-align: center; padding: 60px 0;
}
.cta h2 { font-size: 28px; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.9); margin-bottom: 26px; }
.cta .btn { background: #fff; color: var(--accent); box-shadow: 0 8px 22px rgba(0,0,0,.15); }

/* ===== 页脚 ===== */
.footer { background: #10192b; color: #99a4b8; padding: 60px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .f-logo .logo-mark { width: 38px; height: 38px; font-size: 17px; }
.footer .f-logo span { color: #fff; font-weight: 700; font-size: 16px; }
.footer .contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer .contact-line b { color: #ffb98a; font-size: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 13px; color: #66718a; }

/* ===== 面包屑子页头 ===== */
.page-head {
  background: linear-gradient(120deg, #0d2c7a, #1f5eff);
  color: #fff; padding: 56px 0;
}
.page-head h1 { font-size: 32px; margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,.8); font-size: 14px; }
.page-head .crumb { font-size: 13px; color: rgba(255,255,255,.65); }
.page-head .crumb a:hover { color: #fff; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.contact-info-card .hotline { padding: 16px 0; }
.msg-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.msg-form h3 { font-size: 20px; margin-bottom: 6px; }
.msg-form .tip { font-size: 13px; color: var(--gray-light); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid #dde3ee; border-radius: 9px;
  font-size: 14px; font-family: inherit; outline: none; transition: border .2s; background: #fbfcfe;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: #fff; }
.form-ok {
  display: none; text-align: center; padding: 30px 10px;
}
.form-ok .ok-ico { font-size: 52px; margin-bottom: 12px; }
.form-ok h4 { font-size: 19px; color: #1a8a4a; margin-bottom: 8px; }
.form-ok p { font-size: 14px; color: var(--gray); }

/* ===== 关于页 ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-grid h2 { font-size: 26px; margin-bottom: 16px; }
.about-grid p { color: var(--gray); margin-bottom: 14px; }
.about-points { margin-top: 20px; }
.about-points li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14.5px; }
.about-points li::before { content: "✔"; color: #1a8a4a; font-weight: 700; }
.about-visual {
  background: linear-gradient(135deg, #0d2c7a, #1f5eff); border-radius: 16px;
  color: #fff; padding: 44px 36px; box-shadow: var(--shadow-lg);
}
.about-visual .big { font-size: 44px; font-weight: 800; color: #ffd08a; }
.about-visual .big small { font-size: 20px; }
.about-visual p { color: rgba(255,255,255,.85); margin-top: 6px; }
.about-visual hr { border: none; border-top: 1px solid rgba(255,255,255,.2); margin: 22px 0; }

/* ===== AI 客服浮窗 ===== */
.ai-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 1000;
  width: 62px; height: 62px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #4f8bff); color: #fff;
  font-size: 27px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(31,94,255,.45); transition: transform .2s;
}
.ai-fab:hover { transform: scale(1.08); }
.ai-fab .dot {
  position: absolute; top: 2px; right: 2px; width: 14px; height: 14px;
  background: #2fd27d; border-radius: 50%; border: 2.5px solid #fff;
}
.ai-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ai-fab .ai-fab-tip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%);
  background: var(--white); color: var(--dark); padding: 7px 14px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,.12); white-space: nowrap;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.ai-fab .ai-fab-tip::after {
  content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: #fff;
}
.ai-fab:hover .ai-fab-tip { opacity: 1; }
.ai-panel {
  position: fixed; right: 26px; bottom: 102px; z-index: 1000;
  width: 380px; max-width: calc(100vw - 40px); height: 560px; max-height: calc(100vh - 140px);
  background: var(--white); border-radius: 16px; box-shadow: 0 18px 60px rgba(10,20,50,.3);
  display: none; flex-direction: column; overflow: hidden;
  animation: popIn .25s ease;
}
.ai-panel.open { display: flex; }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.ai-head {
  background: linear-gradient(120deg, #0d2c7a, #1f5eff); color: #fff;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
}
.ai-head .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none;
  overflow: hidden; border: 2px solid rgba(255,255,255,.4);
}
.ai-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
.ai-head .t1 { font-size: 15.5px; font-weight: 700; }
.ai-head .t2 { font-size: 12px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 5px; }
.ai-head .t2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fd27d; box-shadow: 0 0 6px #2fd27d; }
.ai-close { margin-left: auto; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; opacity: .8; }
.ai-body { flex: 1; overflow-y: auto; padding: 16px; background: #f4f6fb; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.7; word-break: break-word; }
.msg.bot { background: var(--white); border: 1px solid #e6eaf3; border-top-left-radius: 4px; align-self: flex-start; box-shadow: 0 2px 8px rgba(20,30,60,.05); }
/* 机器人消息带头像，更像真人客服 */
.msg.bot { position: relative; margin-left: 36px; }
.msg.bot::before {
  content: ""; position: absolute; left: -38px; bottom: 2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: url('../img/avatar.jpg') center/cover, var(--primary-light);
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(20,30,60,.12);
}
.msg.bot.typing::before { animation: botPulse 1.4s ease-in-out infinite; }
@keyframes botPulse { 0%,100% { box-shadow: 0 2px 8px rgba(20,30,60,.12); } 50% { box-shadow: 0 0 0 5px rgba(31,94,255,.14); } }
.msg strong { color: var(--primary-dark); font-weight: 700; }
.msg.user { background: var(--primary); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.msg.user strong { color: #fff; }
.msg.sys { align-self: center; background: transparent; color: var(--gray-light); font-size: 12px; padding: 4px 8px; max-width: 100%; }
/* 已读回执 */
.read-tip { align-self: flex-end; font-size: 11px; color: var(--gray-light); padding: 0 6px; margin-top: -6px; }
.msg.typing { color: var(--gray-light); font-style: normal; min-width: 60px; }
.msg.typing span { animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.msg-time { font-size: 11px; color: var(--gray-light); align-self: flex-start; padding: 0 14px; margin-top: -6px; }
.ai-quick { padding: 10px 12px 4px; background: #f4f6fb; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #eceff5; }
.ai-quick button {
  border: 1px solid #d3dcf0; background: #fff; color: var(--primary-dark);
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.ai-quick button:hover { background: var(--primary-light); border-color: var(--primary); }
.ai-input { display: flex; gap: 10px; padding: 12px; background: #fff; border-top: 1px solid #eceff5; }
.ai-input input {
  flex: 1; border: 1.5px solid #dde3ee; border-radius: 999px; padding: 10px 16px;
  font-size: 14px; outline: none; font-family: inherit;
}
.ai-input input:focus { border-color: var(--primary); }
.ai-input button {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: #fff; font-size: 17px; flex: none;
}
.ai-input button:hover { background: var(--primary-dark); }

/* ===== 右侧悬浮工具条 ===== */
.side-tool {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  z-index: 950; display: flex; flex-direction: column; gap: 6px;
}
.side-tool .st-item {
  width: 64px; padding: 12px 8px 10px; background: #fff;
  border-radius: 10px; box-shadow: 0 4px 14px rgba(20,30,60,.12);
  text-align: center; cursor: pointer; transition: all .2s;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 1px solid #ecf0f6;
}
.side-tool .st-item:hover { transform: translateX(-4px); box-shadow: 0 8px 22px rgba(20,30,60,.18); }
.side-tool .st-item .ico { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; }
.side-tool .st-item .lab { font-size: 12px; color: var(--dark); font-weight: 600; }
.side-tool .st-item.primary .ico { background: linear-gradient(135deg, var(--primary), #4f8bff); }
.side-tool .st-item.sale .ico { background: linear-gradient(135deg, #ff8a3d, #ff5722); }
.side-tool .st-item.trial .ico { background: linear-gradient(135deg, #14c38e, #0a8a5e); }
.side-tool .st-item.top .ico { background: linear-gradient(135deg, #8b94a3, #5b6676); }
.side-tool .st-item.chat .ico { background: linear-gradient(135deg, #f59f3d, #ff6a2b); }

/* 浮动电话条（移动端底部） */
.mobile-bar { display: none; }

/* ===== 动画 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .indus-grid { grid-template-columns: repeat(3, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { flex-direction: column; gap: 36px; }
  .hero h1 { font-size: 32px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 16px 16px; box-shadow: var(--shadow-lg); gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .topbar .container { justify-content: center; }
  .prod-grid, .news-grid, .flow { grid-template-columns: 1fr; }
  .indus-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .hero { padding: 54px 0 64px; }
  .hero h1 { font-size: 27px; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  }
  .mobile-bar a {
    flex: 1; padding: 12px 0 14px; text-align: center; color: #fff; font-size: 14px; font-weight: 600;
  }
  .mobile-bar .m-sale { background: var(--primary); }
  .mobile-bar .m-after { background: #1a8a4a; }
  .mobile-bar .m-msg { background: var(--accent); }
  body { padding-bottom: 50px; }
  .ai-fab { bottom: 66px; right: 16px; width: 54px; height: 54px; font-size: 23px; }
  .ai-panel { right: 12px; left: 12px; width: auto; bottom: 130px; }
  .side-tool { display: none; }
}

/* ============================================================
   内容扩充区块：信任背书 / 痛点方案 / 优势 / 评价 / FAQ / 表格 / 时间轴 …
   ============================================================ */

/* ---- 信任背书条 ---- */
.trust-bar { background: #fff; border-top: 1px solid #eef1f7; border-bottom: 1px solid #eef1f7; padding: 20px 0; }
.trust-bar .container { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.trust-bar .tb-label { font-size: 13.5px; color: var(--gray-light); }
.trust-bar .tb-item { font-size: 14.5px; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 7px; }
.trust-bar .tb-item em { font-style: normal; color: var(--primary); font-size: 17px; }
.trust-bar .tb-div { width: 1px; height: 18px; background: #e6eaf3; }

/* ---- 企业痛点 → 解决方案 ---- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-item {
  background: #fff; border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); border: 1px solid #eef1f7; border-top: 3px solid #ffd9c7;
  transition: all .25s;
}
.pain-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pain-item .p-ico2 { font-size: 28px; margin-bottom: 12px; }
.pain-item h4 { font-size: 16px; margin-bottom: 8px; color: #c2410c; }
.pain-item p { font-size: 13.5px; color: var(--gray); }
.pain-item .solve { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e6eaf3; font-size: 13px; color: var(--primary-dark); }
.pain-item .solve b { color: #0a8a5e; }

/* ---- 核心优势 ---- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-item {
  display: flex; gap: 16px; background: #fff; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); border: 1px solid #eef1f7; transition: all .25s;
}
.adv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.adv-item .a-ico {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: var(--primary-light);
}
.adv-item h4 { font-size: 16px; margin-bottom: 6px; }
.adv-item p { font-size: 13.5px; color: var(--gray); }

/* ---- 客户评价 ---- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); border: 1px solid #eef1f7; position: relative;
}
.testi-card::before {
  content: "\201C"; position: absolute; top: 6px; right: 20px; font-size: 56px;
  color: var(--primary-light); font-family: Georgia, serif; line-height: 1;
}
.testi-card .t-star { color: #ffab2e; font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }
.testi-card .t-txt { font-size: 14px; color: var(--gray); line-height: 1.85; margin-bottom: 16px; }
.testi-card .t-user { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px dashed #e6eaf3; }
.testi-card .t-ava {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--primary), #4f8bff); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.testi-card .t-name { font-size: 14px; font-weight: 600; }
.testi-card .t-role { font-size: 12px; color: var(--gray-light); }

/* ---- 常见问题 FAQ ---- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #e6eaf3; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-size: 15px; font-weight: 600;
  list-style: none; display: flex; align-items: center; gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; flex: none; width: 22px; height: 22px; border-radius: 6px;
  background: var(--primary-light); color: var(--primary); font-size: 12px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--gray-light); font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; color: var(--primary); }
.faq-item[open] summary { background: #fafcff; }
.faq-item .faq-a { padding: 4px 20px 18px 52px; font-size: 14px; color: var(--gray); line-height: 1.9; }
.faq-item .faq-a b { color: var(--primary-dark); }

/* ---- 增值服务 ---- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-item {
  background: linear-gradient(180deg, #fff, #f7faff); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); border: 1px solid #eef1f7;
  text-align: center; transition: all .25s;
}
.svc-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-item .s-ico { font-size: 30px; margin-bottom: 10px; }
.svc-item h4 { font-size: 15.5px; margin-bottom: 8px; }
.svc-item p { font-size: 13px; color: var(--gray); }

/* ---- 数据表格（价格表 / 对比表） ---- */
.table-wrap {
  overflow-x: auto; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid #eaeef8;
}
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.data-table th {
  background: linear-gradient(120deg, #0d2c7a, #1f5eff); color: #fff;
  padding: 14px 16px; text-align: left; font-weight: 600; white-space: nowrap;
}
table.data-table td { padding: 13px 16px; border-bottom: 1px solid #eef1f7; color: var(--gray); }
table.data-table tbody tr:nth-child(even) { background: #fafcff; }
table.data-table tbody tr:hover { background: #f2f7ff; }
table.data-table td strong { color: var(--dark); }
table.data-table .price { color: var(--accent); font-weight: 700; white-space: nowrap; }
table.data-table .tag-cell span {
  display: inline-block; font-size: 12px; background: var(--primary-light);
  color: var(--primary-dark); padding: 2px 9px; border-radius: 5px; margin: 2px 4px 2px 0;
}
.table-note { font-size: 12.5px; color: var(--gray-light); margin-top: 12px; text-align: center; }

/* ---- 适用场景标签组 ---- */
.scene-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.scene-list span {
  font-size: 13px; color: var(--gray); background: #f3f6fc;
  border: 1px solid #e8eefb; padding: 5px 12px; border-radius: 999px;
}

/* ---- 发展历程时间轴 ---- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--primary), #cfe0ff);
}
.tl-item { position: relative; padding: 0 0 28px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--primary);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-year { font-size: 14px; font-weight: 700; color: var(--primary); }
.tl-item h4 { font-size: 16px; margin: 4px 0 6px; }
.tl-item p { font-size: 13.5px; color: var(--gray); }

/* ---- 服务团队 / 能力 ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: #fff; border-radius: var(--radius); padding: 26px 22px;
  text-align: center; box-shadow: var(--shadow); border: 1px solid #eef1f7; transition: all .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card .tm-ico {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; background: var(--primary-light);
}
.team-card h4 { font-size: 16px; margin-bottom: 6px; }
.team-card p { font-size: 13px; color: var(--gray); }

/* ---- 联系页：微信 / 服务范围 / 响应承诺 ---- */
.wechat-box {
  display: flex; gap: 20px; align-items: center; background: #f7faff;
  border: 1px solid #e4ecfb; border-radius: var(--radius); padding: 20px;
  cursor: pointer; transition: all .25s;
}
.wechat-box:hover { box-shadow: var(--shadow); border-color: #b9cdf3; }
.wechat-box .qr {
  width: 120px; height: 120px; flex: none; border-radius: 10px; background: #fff;
  border: 1px dashed #b9cdf3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  color: var(--gray-light); font-size: 12px; text-align: center; overflow: hidden;
  position: relative;
}
.wechat-box .qr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.wechat-box .qr .qr-ph { line-height: 1.5; }
.wechat-box .qr .qr-ph small { font-size: 10px; color: #b9c4d6; }
.wechat-box .wx-txt h4 { font-size: 16px; margin-bottom: 6px; }
.wechat-box .wx-txt p { font-size: 13px; color: var(--gray); margin-bottom: 4px; }
.wechat-box .wx-id { font-size: 15px; font-weight: 700; color: var(--primary-dark); }

.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area-grid span {
  background: #fff; border: 1px solid #e8edf7; border-radius: 8px;
  padding: 10px 12px; font-size: 13.5px; text-align: center; color: var(--gray);
}

.resp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.resp-item {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid #eef1f7; text-align: center;
}
.resp-item .r-num { font-size: 26px; font-weight: 800; color: var(--primary); }
.resp-item .r-lab { font-size: 13.5px; color: var(--gray); margin-top: 6px; }

/* ---- 内容扩充区块响应式 ---- */
@media (max-width: 1024px) {
  .pain-grid, .adv-grid, .svc-grid, .team-grid, .resp-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .pain-grid, .adv-grid, .svc-grid, .team-grid, .resp-grid, .testi-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .wechat-box { flex-direction: column; text-align: center; }
  .faq-item .faq-a { padding-left: 20px; }
}
