/* ============ 基础重置 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #0b5ed7;
  --blue-dark: #0a4bb0;
  --blue-light: #e8f1ff;
  --blue-soft: #f5f8fc;
  --text: #1f2d3d;
  --text-sub: #5a6b7d;
  --border: #e3ebf5;
  --radius: 12px;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  font-size: 15px;
  padding-bottom: 0;
}
a { color: var(--blue); text-decoration: none; transition: .2s; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--blue); }
.btn-lg { padding: 13px 30px; font-size: 16px; border-radius: 10px; }
.btn-block { display: block; width: 100%; }

/* ============ 头部 ============ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(11,94,215,.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #3d8bfd);
  color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .5px;
}
.logo-text { font-size: 19px; font-weight: 700; color: var(--text); display: flex; flex-direction: column; line-height: 1.2; }
.logo-text em { font-style: normal; font-size: 11px; color: var(--text-sub); font-weight: 400; letter-spacing: 1px; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--text); font-size: 15px; font-weight: 500;
}
.main-nav a:hover { background: var(--blue-light); color: var(--blue); }
.main-nav a.active { color: var(--blue); background: var(--blue-light); }

.header-actions { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ============ 首页 Hero ============ */
.hero {
  background: linear-gradient(135deg, #0b5ed7 0%, #1a73e8 55%, #3d8bfd 100%);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; padding: 5px 14px; border-radius: 30px;
  background: rgba(255,255,255,.18); font-size: 13px; margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.28);
}
.hero h1 { font-size: 36px; line-height: 1.35; margin-bottom: 18px; font-weight: 700; }
.hero-text > p { font-size: 16px; opacity: .92; margin-bottom: 26px; line-height: 1.9; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; opacity: .9; }
.hero-points li::before { content: "✓ "; font-weight: 700; }

.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px; padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-card-title { font-size: 15px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.2); }
.stat-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; font-size: 14px; border-bottom: 1px dashed rgba(255,255,255,.18); }
.stat-row:last-child { border-bottom: none; }
.stat-row span { opacity: .85; }
.stat-row b { font-weight: 600; text-align: right; }

/* ============ 通用板块 ============ */
.section { padding: 68px 0; }
.section-gray { background: var(--blue-soft); }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; color: var(--text); position: relative; display: inline-block; padding-bottom: 14px; }
.section-title h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 46px; height: 3px; border-radius: 3px; background: var(--blue);
}
.section-title p { color: var(--text-sub); font-size: 15px; }

/* ============ 卡片网格 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: .28s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,94,215,.10); border-color: #c9ddff; }
.card-icon { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-size: 17px; margin-bottom: 10px; color: var(--text); }
.card p { color: var(--text-sub); font-size: 14px; line-height: 1.85; }

.prod-card {
  background: #fff; border-radius: var(--radius); padding: 26px 22px;
  border-top: 3px solid var(--blue); box-shadow: 0 4px 18px rgba(11,94,215,.06);
  transition: .28s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,94,215,.12); }
.prod-card h3 { font-size: 16px; margin-bottom: 10px; color: var(--blue); }
.prod-card p { color: var(--text-sub); font-size: 14px; line-height: 1.85; }

/* ============ 步骤 ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; position: relative; transition: .28s;
}
.step:hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(11,94,215,.10); }
.step-num {
  display: inline-block; font-size: 26px; font-weight: 800;
  color: var(--blue-light); line-height: 1; margin-bottom: 12px;
  -webkit-text-stroke: 1px var(--blue);
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-sub); line-height: 1.8; }

/* ============ 关于简述 ============ */
.about-brief { max-width: 900px; margin: 0 auto; }
.about-brief p { margin-bottom: 18px; color: #3c4c5e; line-height: 1.95; font-size: 15px; }
.about-brief .btn { margin-top: 10px; }

/* ============ 新闻卡片 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: .28s; color: inherit;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,94,215,.10); border-color: #c9ddff; }
.news-cat {
  display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 4px;
  background: var(--blue-light); color: var(--blue); margin-bottom: 12px;
}
.news-card h3 { font-size: 16px; line-height: 1.6; margin-bottom: 10px; color: var(--text); }
.news-card:hover h3 { color: var(--blue); }
.news-card p { font-size: 14px; color: var(--text-sub); line-height: 1.8; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-date { font-size: 13px; color: #93a3b5; }
.more-link { text-align: center; margin-top: 36px; }
.empty-tip { text-align: center; color: var(--text-sub); padding: 30px 0; }

/* ============ 分类标签 ============ */
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.cat-tabs a {
  padding: 8px 20px; border-radius: 30px; background: #fff;
  border: 1px solid var(--border); color: var(--text); font-size: 14px;
}
.cat-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.cat-tabs a.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ============ 分页 ============ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border);
  background: #fff; color: var(--text); font-size: 14px;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination a.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .dots { border: none; background: none; }

/* ============ FAQ ============ */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-left: 4px solid var(--blue); border-radius: 10px; padding: 22px 26px;
}
.faq-item h3 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.faq-item p { font-size: 14px; color: var(--text-sub); line-height: 1.9; }

/* ============ 页面 Hero ============ */
.page-hero {
  background: linear-gradient(120deg, #0b5ed7, #2f7ff0);
  color: #fff; padding: 56px 0; text-align: center;
}
.page-hero h1 { font-size: 30px; margin-bottom: 10px; }
.page-hero p { opacity: .9; font-size: 15px; }

/* ============ 文章正文 ============ */
.article-wrap { max-width: 900px; margin: 0 auto; }
.article-body { background: #fff; }
.article-body h2 {
  font-size: 20px; margin: 34px 0 14px; padding-left: 14px;
  border-left: 4px solid var(--blue); line-height: 1.4;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 16px; line-height: 1.95; color: #3c4c5e; font-size: 15px; }
/* 文章自动换行，保留后台输入的换行 */
.article-content {
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.95;
  font-size: 15px;
  color: #3c4c5e;
}
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.article-nav { margin-top: 40px; text-align: center; }

/* ============ 下载卡片 ============ */
.dl-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; transition: .28s;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,94,215,.10); border-color: #c9ddff; }
.dl-icon { font-size: 30px; margin-bottom: 12px; }
.dl-card h3 { font-size: 16px; margin-bottom: 10px; }
.dl-card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.8; margin-bottom: 18px; min-height: 68px; }

/* ============ 联系我们 ============ */
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
}
.contact-card .card-icon { font-size: 28px; }
.contact-strong { font-size: 17px; font-weight: 700; color: var(--blue); margin: 8px 0; word-break: break-all; }
.contact-card p { font-size: 14px; color: var(--text-sub); line-height: 1.8; }

/* ============ CTA ============ */
.cta { background: linear-gradient(120deg, #0b5ed7, #2f7ff0); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: 24px; margin-bottom: 8px; }
.cta p { opacity: .9; font-size: 15px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ 404 ============ */
.error-page { padding: 90px 0; text-align: center; }
.error-code {
  font-size: 110px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #0b5ed7, #6fb1ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.error-page h1 { font-size: 24px; margin-bottom: 12px; }
.error-page p { color: var(--text-sub); margin-bottom: 30px; }
.error-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ 底部 ============ */
.site-footer { background: #fff; border-top: 1px solid var(--border); margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
  padding: 52px 20px 40px;
}
.footer-col h4 { font-size: 16px; margin-bottom: 18px; color: var(--text); position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--blue); border-radius: 2px; }
.footer-col p { font-size: 14px; color: var(--text-sub); line-height: 1.9; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 14px; color: var(--text-sub); }
.footer-col ul li a:hover { color: var(--blue); padding-left: 4px; }
.contact-list li { font-size: 14px; color: var(--text-sub); margin-bottom: 11px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-sub);
}
.footer-bottom-inner a { color: var(--text-sub); margin-left: 18px; }
.footer-bottom-inner a:hover { color: var(--blue); }

/* ============ 手机底部固定栏 ============ */
.mobile-bar { display: none; }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 28px; }
  .grid-3, .grid-4, .news-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  body { padding-bottom: 62px; }

  .main-nav {
    position: fixed; left: 0; right: 0; top: 70px;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    padding: 8px 16px 16px;
    display: none;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; border-radius: 8px; font-size: 15px; }

  .header-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 46px 0; }
  .hero h1 { font-size: 23px; }
  .hero-text > p { font-size: 15px; }
  .btn-lg { padding: 12px 22px; font-size: 15px; }
  .hero-btns .btn { flex: 1; min-width: 130px; }

  .section { padding: 46px 0; }
  .section-title { margin-bottom: 30px; }
  .section-title h2 { font-size: 22px; }
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 23px; }

  .grid-3, .grid-4, .news-grid, .steps { grid-template-columns: 1fr; }
  .card, .prod-card, .step, .news-card { padding: 22px 20px; }
  .dl-card p { min-height: auto; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { width: 100%; justify-content: center; }
  .cta-btns .btn { flex: 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 36px 20px 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-inner a { margin: 0 8px; }

  .error-code { font-size: 80px; }

  /* 手机端固定底部按钮 */
  .mobile-bar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    gap: 10px;
    z-index: 200;
    box-shadow: 0 -2px 12px rgba(0,0,0,.06);
  }
  .mb-btn {
    flex: 1; text-align: center; padding: 12px 0;
    border-radius: 8px; font-size: 15px; font-weight: 600;
  }
  .mb-btn-primary { background: var(--blue); color: #fff; }
  .mb-btn-primary:hover { background: var(--blue-dark); color: #fff; }
  .mb-btn-outline { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
}
/* ============ 返回顶部 ============ */
.back-top {
  position: fixed; right: 20px; bottom: 90px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none;
  font-size: 18px; cursor: pointer;
  opacity: 0; visibility: hidden; transition: .3s;
  box-shadow: 0 4px 14px rgba(11,94,215,.35);
  z-index: 150;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--blue-dark); }
@media (max-width: 768px) { .back-top { bottom: 80px; right: 14px; } }