/* ============================================================
   无忧IP 前台样式
   科技感 · 简洁大气 · 蓝色系 · 响应式
   ============================================================ */
:root {
  --primary: #1a8bf5;
  --primary-dark: #0f6fd8;
  --primary-light: #e8f4ff;
  --accent: #38b6ff;
  --grad: linear-gradient(135deg, #1a8bf5 0%, #38b6ff 100%);
  --grad-deep: linear-gradient(160deg, #1483f0 0%, #38aef8 55%, #6cc7ff 120%);
  --text: #1c2b3a;
  --text-sub: #5b6b7b;
  --bg: #f5f9fe;
  --card-bg: #ffffff;
  --border: #e3ebf5;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(26, 139, 245, .10);
  --shadow-lg: 0 14px 40px rgba(26, 139, 245, .16);
  --header-h: 64px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 30px; font-weight: 700; color: var(--text); }
.section-title p { color: var(--text-sub); margin-top: 10px; font-size: 15px; }
.section-title .line { width: 48px; height: 4px; border-radius: 2px; background: var(--grad); margin: 14px auto 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 10px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-align: center; cursor: pointer;
  border: 1px solid transparent; transition: all .25s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(10,108,255,.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10,108,255,.40); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-outline-blue { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline-blue:hover { background: var(--primary-light); color: var(--primary); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 7px 18px; font-size: 13px; }
.btn-block { display: block; width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(20, 80, 160, .08);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.hdr-left { display: flex; align-items: center; gap: 4px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; display: block; }
/* ---------- 首页软件下载板块 ---------- */
.home-dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.hd-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; transition: .2s; display: flex; flex-direction: column; align-items: center;
}
.hd-item:hover { box-shadow: var(--shadow); border-color: var(--primary); transform: translateY(-3px); }
.hd-ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff;
  font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(26,139,245,.3);
}
.hd-name { font-size: 16px; font-weight: 700; color: var(--text); margin-top: 12px; }
.hd-sub { font-size: 12px; color: var(--text-sub); margin-top: 6px; line-height: 1.5; }
@media (max-width: 900px) { .home-dl { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .home-dl { grid-template-columns: 1fr; } }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a { color: #33475c; font-size: 14px; padding: 8px 10px; border-radius: 8px; display: block; }
.main-nav a:hover, .main-nav a.active { background: var(--primary-light); color: var(--primary); }
.has-drop { position: relative; }
.drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 170px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 8px; display: none; z-index: 50;
}
.drop-menu a { color: var(--text) !important; padding: 9px 14px; font-size: 14px; border-radius: 6px; }
.drop-menu a:hover { background: var(--primary-light); color: var(--primary) !important; }
.has-drop:hover .drop-menu { display: block; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.nav-cta { display: flex; gap: 10px; margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #33475c; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- 首页 Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 70px) 0 90px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(900px 400px at -10% 30%, rgba(255,255,255,.18), transparent 55%),
    var(--grad-deep);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
}
.hero::before { width: 420px; height: 420px; right: -120px; top: -80px; }
.hero::after { width: 260px; height: 260px; left: -90px; bottom: -60px; }
.hero .container { position: relative; z-index: 2; }
.hero-slides { min-height: 400px; }
.hero-slide { display: none; align-items: center; gap: 50px; }
.hero-slide.active { display: flex; animation: heroIn .5s ease; }
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-dots { position: absolute; left: 0; bottom: 24px; display: none; gap: 8px; z-index: 5; }
.hero-dots .dot { width: 26px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.hero-dots .dot.active { background: #fff; width: 36px; }
.hero-text { flex: 1.0; }
.hero-text .tag {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: 5px 16px; border-radius: 999px; font-size: 13px; letter-spacing: 2px; margin-bottom: 20px;
}
.hero-text h1 { font-size: 42px; line-height: 1.25; font-weight: 800; margin-bottom: 14px; text-shadow: 0 2px 10px rgba(10,80,160,.28); }
.hero-text p { font-size: 15px; color: rgba(255,255,255,.95); max-width: 560px; margin-bottom: 22px; text-shadow: 0 1px 4px rgba(10,80,160,.2); }
.hero-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 26px; }
.hero-feats li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255,255,255,.97); }
.hero-feats li::before {
  content: "✓"; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32);
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; }
.hero-stats .num { font-size: 28px; font-weight: 800; text-shadow: 0 2px 8px rgba(10,80,160,.25); }
.hero-stats .lab { font-size: 13px; color: rgba(255,255,255,.9); }
.hero-visual { flex: 1.15; margin-top: 56px; }
.hero-card {
  background: transparent; border: 0; border-radius: 14px; overflow: hidden;
  box-shadow: none;
}
.hero-card img { border-radius: 0; width: 100%; display: block; }

/* ---------- 通用区块头/内容 ---------- */
.page-head {
  padding: calc(var(--header-h) + 46px) 0 40px;
  background: var(--grad-deep);
  color: #fff; text-align: center;
}
.page-head h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,.82); font-size: 15px; }
.crumbs { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.72); }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: #fff; }

/* ---------- 产品入口卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.prod-card::after {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .25s;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-card:hover::after { opacity: 1; }
.prod-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  color: var(--primary); font-size: 26px;
}
.prod-card h3 { font-size: 18px; margin-bottom: 10px; }
.prod-card p { color: var(--text-sub); font-size: 14px; margin-bottom: 16px; }
.prod-card .more { font-size: 14px; font-weight: 600; }
.prod-card img.thumb { border-radius: 10px; margin-bottom: 16px; height: 150px; object-fit: cover; width: 100%; }

/* ---------- 优势区块 ---------- */
.adv-bg { background: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv-item {
  text-align: center; padding: 34px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg); transition: .25s;
}
.adv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-icon {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 20px;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(10,108,255,.35);
}
.adv-item h3 { font-size: 18px; margin-bottom: 10px; }
.adv-item p { color: var(--text-sub); font-size: 14px; }

/* ---------- 价格档位 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; transition: .25s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.hot { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(10,108,255,.18), var(--shadow); }
.price-tag {
  position: absolute; top: 0; right: 0; background: #ff5f3e; color: #fff;
  font-size: 12px; padding: 4px 12px; border-radius: 0 12px 0 12px; font-weight: 600;
}
.price-card .p-name { font-size: 16px; font-weight: 700; }
.price-card .p-amount { font-size: 30px; font-weight: 800; color: var(--primary); margin: 10px 0 2px; }
.price-card .p-amount small { font-size: 14px; color: var(--text-sub); font-weight: 400; }
.price-card ul { margin: 18px 0; }
.price-card li { padding: 6px 0; color: var(--text-sub); font-size: 14px; border-bottom: 1px dashed var(--border); }
.price-card li b { color: var(--text); font-weight: 600; }

/* ---------- 数据展示 ---------- */
.data-band {
  background: var(--grad-deep);
  color: #fff; padding: 54px 0;
}
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.data-grid .d-num { font-size: 36px; font-weight: 800; color: #fff; }
.data-grid .d-lab { font-size: 14px; color: #fff; margin-top: 6px; }

/* ---------- 案例/评价 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.case-card .quote { color: var(--text-sub); font-size: 14px; }
.case-card .author { margin-top: 16px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.case-card .author .av {
  width: 36px; height: 36px; border-radius: 50%; background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.case-card .author small { color: var(--text-sub); font-weight: 400; }

/* ---------- CTA ---------- */
.cta-band { padding: 70px 0; text-align: center; background: #fff; }
.cta-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: var(--text-sub); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; }

/* ---------- 帮助中心 ---------- */
.sec-with-link { display: flex; align-items: center; gap: 14px; max-width: 900px; margin-left: auto; margin-right: auto; }
.sec-with-link h2 { flex: none; }
.sec-with-link .line { flex: 1; }
.sec-with-link .sec-more { flex: none; font-size: 14px; color: var(--primary); font-weight: 600; white-space: nowrap; }
.sec-with-link .sec-more:hover { color: var(--primary-dark, #0b6ee0); }
.help-cats { display: flex; justify-content: center; gap: 12px; margin: 34px 0 40px; flex-wrap: wrap; }
.help-cats a {
  padding: 10px 26px; border-radius: 999px; background: #fff; color: var(--text);
  border: 1px solid var(--border); font-size: 15px; font-weight: 600;
}
.help-cats a.active, .help-cats a:hover { background: var(--grad); color: #fff; border-color: transparent; }
/* ---------- 软件下载 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; max-width: 1080px; margin: 0 auto; }
.dl-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; transition: .2s;
}
.dl-card:hover { box-shadow: var(--shadow); border-color: var(--primary); transform: translateY(-3px); }
.dl-tag {
  align-self: flex-start; background: var(--primary-light); color: var(--primary);
  font-size: 12px; padding: 4px 12px; border-radius: 999px; font-weight: 600;
}
.dl-name { font-size: 17px; margin: 12px 0 8px; color: var(--text); }
.dl-desc { font-size: 13px; color: var(--text-sub); line-height: 1.7; flex: 1; }
.dl-btn { margin-top: 16px; text-align: center; }
.dl-note { text-align: center; color: var(--text-sub); font-size: 13px; margin-top: 30px; max-width: 860px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.article-list { max-width: 900px; margin: 0 auto; }
.article-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 16px; display: flex; align-items: center; gap: 18px; transition: .2s;
}
.article-item:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.article-item .ai-cat {
  flex: none; background: var(--primary-light); color: var(--primary);
  font-size: 12px; padding: 4px 12px; border-radius: 999px; font-weight: 600;
}
.article-item .ai-title { font-size: 16px; font-weight: 600; color: var(--text); flex: 1; }
.article-item:hover .ai-title { color: var(--primary); }
.article-item .ai-time { color: var(--text-sub); font-size: 13px; }
.article-detail { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); }
.article-detail h1 { font-size: 26px; margin-bottom: 14px; }
.article-detail .meta { color: var(--text-sub); font-size: 13px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article-detail .content p { margin: 14px 0; }.article-detail .content img { border-radius: 10px; margin: 14px auto; max-width: 100%; height: auto; display: block; }
.article-detail .content h3 { margin-top: 22px; font-size: 18px; }
.pn-nav {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.pn-item { display: flex; flex-direction: column; gap: 4px; max-width: 46%; min-width: 200px; }
.pn-next { align-items: flex-end; text-align: right; }
.pn-label { font-size: 12px; color: var(--text-sub); }
.pn-item a { font-size: 15px; font-weight: 600; color: var(--primary); line-height: 1.5; }
.pn-item a:hover { text-decoration: underline; }
.pn-none { font-size: 14px; color: var(--text-sub); }
/* ---------- 使用教程（折叠目录+右侧内容） ---------- */
.tut-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; max-width: 1080px; margin: 0 auto; }
.tut-side { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 84px; }
.tut-side-title { background: var(--grad); color: #fff; font-size: 16px; font-weight: 700; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tut-back { color: #fff; font-size: 12px; font-weight: 400; text-decoration: none; white-space: nowrap; opacity: .92; }
.tut-back:hover { color: #fff; text-decoration: underline; opacity: 1; }
.tut-group-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 18px; font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer; border-bottom: 1px solid var(--border); transition: .15s; user-select: none;
}
.tut-group-head:hover { background: var(--primary-light); }
.tut-arrow { font-size: 18px; color: var(--text-sub); transform: rotate(0deg); transition: .2s; line-height: 1; }
.tut-group.open .tut-arrow { transform: rotate(90deg); }
.tut-group-body { display: none; }
.tut-group.open .tut-group-body { display: block; }
.tut-item {
  display: block; padding: 10px 18px 10px 30px; font-size: 14px; color: var(--text);
  border-bottom: 1px dashed var(--border); cursor: pointer; transition: .15s; line-height: 1.5;
}
.tut-item:hover { background: var(--primary-light); color: var(--primary); }
.tut-item.active { background: var(--primary-light); color: var(--primary); font-weight: 600; border-left: 3px solid var(--primary); }
.tut-main {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 38px; min-height: 420px; box-shadow: var(--shadow);
}
.tut-content { display: none; }
.tut-content.active { display: block; }
.tut-content h1 { font-size: 24px; margin-bottom: 12px; }
.tut-meta { color: var(--text-sub); font-size: 13px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.tut-content .content p { margin: 14px 0; line-height: 1.9; }
.tut-content .content img { border-radius: 10px; margin: 14px auto; max-width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .tut-wrap { grid-template-columns: 1fr; }
  .tut-side { position: static; }
  .tut-main { padding: 24px 20px; }
}

/* ---------- 联系表单 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group .req { color: #ff5f3e; }
.form-control {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: inherit; background: var(--bg); transition: .2s;
}
.form-control:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(10,108,255,.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-tip { font-size: 13px; color: var(--text-sub); margin-top: 10px; }
.form-success { background: #e8f9ef; border: 1px solid #b7ebc9; color: #16823f; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.contact-info .ci-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.contact-info .ci-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-info .ci-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info .ci-item p { color: var(--text-sub); font-size: 14px; }
.contact-info .ci-item a { color: var(--primary); font-weight: 600; }

/* ---------- 首页帮助文章 ---------- */
.home-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ha-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: .25s; }
.ha-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ha-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.ha-head h3 { font-size: 17px; position: relative; padding-left: 12px; }
.ha-head h3::before { content: ""; position: absolute; left: 0; top: 4px; width: 4px; height: 16px; border-radius: 2px; background: var(--grad); }
.ha-head a { font-size: 13px; color: var(--text-sub); }
.ha-head a:hover { color: var(--primary); }
.ha-card li { padding: 9px 0; border-bottom: 1px dashed var(--border); }
.ha-card li:last-child { border-bottom: 0; }
.ha-card li a { color: var(--text); font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ha-card li a:hover { color: var(--primary); }

/* ---------- 会员等级 ---------- */
.member-table { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); }
.member-table table { width: 100%; border-collapse: collapse; }
.member-table th { background: var(--primary-light); color: var(--primary-dark); padding: 14px 18px; font-size: 14px; text-align: center; }
.member-table td { padding: 14px 18px; text-align: center; border-top: 1px solid var(--border); font-size: 14px; }
.member-table tr:hover td { background: #f8fbff; }
.member-table .mlv { font-weight: 700; }
.member-table .lv-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.lv-basic { background: #f0f2f5; color: #5b6b7b; }
.lv-silver { background: linear-gradient(90deg,#e9e9e9,#c9ced6); color: #444; }
.lv-gold { background: linear-gradient(90deg,#fff3d6,#ffd97a); color: #8a6a00; }
.lv-diamond { background: linear-gradient(90deg,#d9f0ff,#8fd4ff); color: #0a5ab8; }
.lv-vip { background: linear-gradient(90deg,#ffe0f2,#ff9ad5); color: #b8007a; }
.member-note { margin-top: 26px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 10px; padding: 20px 24px; }
.member-note h4 { margin-bottom: 10px; font-size: 16px; }
.member-note li { color: var(--text-sub); font-size: 14px; padding: 4px 0; position: relative; padding-left: 16px; }
.member-note li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* ---------- 后台通用 ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-on { background: #e8f9ef; color: #16823f; }
.badge-off { background: #fdeaea; color: #c53a3a; }
.badge-new { background: #fff3d6; color: #8a6a00; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0d2f66; color: rgba(255,255,255,.75); }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; padding: 38px 0 30px; align-items: start; }
.fcol-brand .fn-brand { font-size: 26px; font-weight: 800; color: #fff; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.f-slogan { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 4px; letter-spacing: .5px; }
.f-desc { font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.8; margin-top: 12px; max-width: 380px; }
.f-desc2 { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.8; margin-top: 6px; max-width: 380px; }
.f-friend { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.f-friend a { color: #7fd4ff; font-weight: 600; }
.f-friend a:hover { color: #fff; }
.f-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.fcol-contact p { font-size: 14px; color: rgba(255,255,255,.68); margin: 8px 0; }
.fcol-contact .link-qq { color: #7fd4ff; font-weight: 600; }
.fcol-act { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 130px; }
.fcol-act .btn-outline { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.fcol-act .btn-outline:hover { border-color: #fff; color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0 22px; font-size: 12px; color: rgba(255,255,255,.55); text-align: center; }
.footer-legal p { margin: 7px 0; line-height: 1.7; }

/* ---------- 在线客服悬浮 ---------- */
.kefu-box { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 99; }
.kefu-tab {
  writing-mode: vertical-rl; background: var(--grad); color: #fff; cursor: pointer;
  padding: 20px 10px; border-radius: 12px 0 0 12px; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 8px; letter-spacing: 2px;
  box-shadow: -6px 8px 26px rgba(10,108,255,.35); transition: .25s;
}
.kefu-tab:hover { background: var(--primary-dark); }
.kefu-arr { font-size: 13px; font-weight: 400; }
.kefu-panel {
  display: none; width: 268px; background: #fff; border-radius: 14px 0 0 14px;
  overflow: hidden; box-shadow: -10px 14px 40px rgba(4,40,100,.28); border: 1px solid #e8f2ff; border-right: 0;
}
.kefu-box.open .kefu-tab { display: none; }
.kefu-box.open .kefu-panel { display: block; }
.kp-head {
  background: var(--grad); color: #fff; padding: 13px 16px; font-size: 15px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.kp-close { cursor: pointer; font-size: 20px; line-height: 1; opacity: .85; }
.kp-close:hover { opacity: 1; }
.kp-sec { padding: 8px 14px; border-bottom: 1px solid #f0f5fb; }
.kp-sec-t { font-size: 13px; font-weight: 700; color: #1a8bf5; margin-bottom: 5px; }
.kp-row { font-size: 13px; color: #33475c; display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0; }
.kp-row b { color: #111; }
.kp-hint { font-size: 12px; color: #8aa0b4; }
.kp-grow { display: flex; align-items: center; justify-content: space-between; margin: 4px 0; font-size: 13px; color: #33475c; }
.kp-grow b { color: #111; }
.kp-join { font-size: 12px; color: #1a8bf5; border: 1px solid #1a8bf5; padding: 1px 8px; border-radius: 7px; cursor: pointer; transition: .2s; white-space: nowrap; }
.kp-join:hover { background: #1a8bf5; color: #fff; }
.kp-join.copied { background: #18b566; border-color: #18b566; color: #fff; }
.kp-wx-qr { display: block; width: 104px; height: 104px; margin: 7px auto 5px; border-radius: 6px; }
.kp-wx-hint { font-size: 12px; color: #33475c; text-align: center; }
.kp-wx-note { font-size: 12px; color: #8aa0b4; text-align: center; margin-top: 2px; line-height: 1.5; }
@media (max-width: 768px) {
  /* transform 会破坏子元素 fixed 全屏定位，此处必须 transform:none */
  .kefu-box { top: 30%; transform: none; bottom: auto; right: 0; }
  .kefu-panel {
    position: fixed; top: calc(var(--header-h) + 12px); right: 12px;
    width: min(92vw, 340px); max-height: calc(100vh - var(--header-h) - 24px);
    overflow-y: auto; border-radius: 14px; border: 1px solid #e8f2ff;
    box-shadow: 0 10px 36px rgba(4,40,100,.28); -webkit-overflow-scrolling: touch;
  }
  .kefu-panel::-webkit-scrollbar { width: 6px; }
  .kefu-panel::-webkit-scrollbar-thumb { background: #c6d8ee; border-radius: 3px; }
  /* 手机端面板内容紧凑化 */
  .kp-sec { padding: 5px 12px; }
  .kp-sec-t { font-size: 12.5px; margin-bottom: 3px; }
  .kp-row { font-size: 12.5px; margin: 3px 0; }
  .kp-row .kp-hint { font-size: 11.5px; }
  .kp-grow { font-size: 12.5px; margin: 3px 0; }
  .kp-join { font-size: 11.5px; padding: 1px 7px; }
  .kp-wx-qr { width: 92px; height: 92px; margin: 5px auto 3px; }
  .kp-wx-hint, .kp-wx-note { font-size: 11.5px; }
  .kp-head { padding: 12px 16px; font-size: 15px; }
  .kp-close { font-size: 22px; }
  .kp-head { position: sticky; top: 0; z-index: 5; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .product-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .home-articles { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .data-band { padding: 34px 0; }
  .hero-text h1 { font-size: 34px; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-slide { flex-direction: column; }
  .hero-visual { margin-top: 0; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .section { padding: 46px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: calc(var(--header-h) + 4px); left: 8px; bottom: auto;
    transform: none;
    width: max-content; min-width: 220px; max-width: calc(100vw - 16px); max-height: 84vh;
    background: #ffffff;
    flex-direction: column; align-items: stretch;
    padding: 10px 12px 14px; gap: 2px; display: none; overflow-y: auto;
    box-shadow: 0 14px 40px rgba(4,40,100,.18); border-radius: 14px;
  }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; width: 100%; gap: 0; }
  .main-nav > ul > li { width: 100%; }
  .main-nav a { padding: 9px 14px; }
  .nav-cta { border-top: 1px solid #eef3f9; padding-top: 6px; }
  .drop-menu { position: static; display: none; background: #f4f8fd; box-shadow: none; min-width: 0; border-radius: 8px; }
  .has-drop.open .drop-menu { display: block; }
  .drop-menu a { color: var(--text) !important; }
  .nav-cta { margin: 6px 0 0; width: 100%; flex-direction: column; gap: 2px; }
  .nav-cta .btn {
    text-align: left; font-size: 14px; font-weight: 400; line-height: 1.4;
    padding: 12px 14px; background: transparent; border: 0; color: #33475c;
    border-radius: 0; height: auto; box-shadow: none;
  }
  .nav-cta .btn:hover { background: var(--primary-light); color: var(--primary); }
  /* 手机端 LOGO 放大 */
  .logo-img { height: 48px; }
  .hdr-left { gap: 2px; }
  .product-grid, .price-grid, .adv-grid, .case-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; padding: 30px 0 24px; }
  .fcol-act { flex-direction: row; min-width: 0; }
  .data-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .data-grid .d-num { font-size: 19px; }
  .data-grid .d-lab { font-size: 11px; margin-top: 3px; }
  .data-band { padding: 18px 0; }
  .hero { padding: calc(var(--header-h) + 44px) 0 56px; }
  .hero-text h1 { font-size: 28px; }
  .hero-feats { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .hero-stats .num { font-size: 22px; }
  .section-title h2 { font-size: 24px; }
  .page-head h1 { font-size: 24px; }
  .kefu-float { right: 14px; bottom: 20px; padding: 10px 16px; font-size: 13px; }
  .article-detail { padding: 24px 18px; }
  .member-table th, .member-table td { padding: 10px 8px; font-size: 13px; }
}
/* ---------- 手机端首页 Hero 文案优化 ---------- */
@media (max-width: 560px) {
  .hero-slides { min-height: auto; }
  .hero-text .tag { font-size: 12px; padding: 5px 12px; letter-spacing: .5px; }
  .hero-text h1 { font-size: 23px; line-height: 1.35; margin-bottom: 12px; }
  .hero-text p { font-size: 13.5px; line-height: 1.8; max-width: 100%; margin-bottom: 18px; }
  .hero-feats { gap: 8px 0; margin-bottom: 20px; }
  .hero-feats li { font-size: 12.5px; gap: 7px; justify-content: center; }
  .hero-feats li::before { width: 14px; height: 14px; flex: 0 0 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 128px; max-width: 200px; padding: 11px 14px; font-size: 14px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 8px; margin-top: 30px; }
  .hero-stats > div { display: flex; flex-direction: column; align-items: center; }
  .hero-stats .num { font-size: 21px; }
  .hero-stats .lab { font-size: 12px; }
  /* ---------- 手机端页脚紧凑化 ---------- */
  .footer-cols { gap: 18px; padding: 20px 0 14px; }
  .fcol-brand .fn-brand { font-size: 22px; }
  .f-slogan { font-size: 12.5px; margin-top: 2px; }
  .f-desc { font-size: 12px; line-height: 1.6; margin-top: 8px; }
  .f-desc2 { font-size: 12px; line-height: 1.6; margin-top: 4px; }
  .f-friend { margin-top: 8px; font-size: 12px; }
  .f-title { font-size: 14px; margin-bottom: 8px; }
  .fcol-contact p { font-size: 12.5px; margin: 4px 0; }
  .footer-legal { padding: 12px 0 16px; font-size: 10.5px; }
  .footer-legal p { margin: 4px 0; line-height: 1.55; }
