/* Desen 官网 · 新版样式（Web + H5）
   断点：≤ 960px 平板，≤ 640px 手机 */
:root {
  --navy: #0b1733;
  --navy-2: #13254d;
  --blue: #124dba;
  --blue-2: #1f7fe0;
  --sky: #2a9be6;
  --bg: #eef1f6;
  --card: #ffffff;
  --ink: #1d2433;
  --text: #4b5567;
  --muted: #6b7486;
  --line: #e2e7ef;
  --font: -apple-system, BlinkMacSystemFont, "PingFang HK", "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body.dp-body { margin: 0; background: #fff; }
.dp { display: flex; flex-direction: column; min-height: 100vh; font-family: var(--font); color: var(--ink); background: #fff; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.dp *, .dp *::before, .dp *::after { box-sizing: border-box; }
.dp img { max-width: 100%; display: block; }
.dp a { color: inherit; text-decoration: none; }
.dp h1, .dp h2, .dp h3, .dp p, .dp ul, .dp ol, .dp dl { margin: 0; }
.dp ul { padding: 0; list-style: none; }
.dp button { font-family: inherit; }
.dp-grow { flex: 1 0 auto; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ---------- 顶栏 ---------- */
.hd { position: sticky; top: 0; z-index: 40; color: #fff; transition: background-color .2s, box-shadow .2s; }
.hd.is-stuck, .hd.open { background: rgba(11,23,51,.96); box-shadow: 0 6px 24px rgba(11,23,51,.18); }
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .hd.is-stuck { background: rgba(11,23,51,.86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
/* 顶栏仍在文档流中，首屏/横幅上移到顶栏下方，让背景铺到页面最顶端 */
.top { margin-top: -76px; padding-top: 76px; }
.hd-bar { height: 76px; display: flex; align-items: center; gap: 48px; }
.hd-logo img { height: 40px; width: auto; }
.hd-nav { display: flex; gap: 6px; flex: 1; }
.hd-nav a { position: relative; padding: 0 16px; height: 76px; display: flex; align-items: center; color: rgba(255,255,255,.78); font-size: 15px; letter-spacing: .04em; transition: color .15s; }
.hd-nav a:hover, .hd-nav a.on { color: #fff; }
.hd-nav a.on::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 18px; height: 2px; border-radius: 2px; background: #fff; }
.hd-lang { position: relative; }
.hd-lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; color: #fff; background: transparent; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.hd-lang-btn:hover { background: rgba(255,255,255,.08); }
.hd-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 16px 40px rgba(11,23,51,.22); display: none; }
.hd-lang.open .hd-lang-menu { display: block; }
.hd-lang-menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink) !important; font-size: 14px; }
.hd-lang-menu a:hover { background: var(--bg); }
.hd-lang-menu a.on { color: var(--blue) !important; font-weight: 600; }
.hd-menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.hd-menu-btn .ico-close, .hd.open .hd-menu-btn .ico-menu { display: none; }
.hd.open .hd-menu-btn .ico-close { display: block; }
.hd-drawer { display: none; }

/* ---------- 首页首屏 ---------- */
.hero { background: radial-gradient(900px 520px at 78% 40%, rgba(31,127,224,.32), transparent 65%), linear-gradient(180deg, var(--navy) 0%, #0e1d40 100%); color: #fff; }
/* 轮播：各页叠在同一格，高度取最高一页，切换只做淡入淡出，页面不跳动 */
.hero-slides { display: grid; }
.hero-body { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px 0 40px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.hero-body.on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .hero-body, .hero-body.on { transition: none; } }
.hero h1 { font-size: 48px; line-height: 1.25; font-weight: 600; letter-spacing: .02em; }
.hero p { margin-top: 20px; max-width: 500px; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.85; }
.hero-img img { width: 100%; max-width: 520px; height: 400px; margin-left: auto; object-fit: contain; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.dots { display: flex; gap: 10px; padding-bottom: 40px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.6); background: transparent; cursor: pointer; transition: width .2s; }
.dots button.on { width: 28px; background: #fff; border-color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 26px; border-radius: 23px; font-size: 15px; font-weight: 600; letter-spacing: .03em; border: 1px solid transparent; cursor: pointer; transition: background .15s; white-space: nowrap; }
.btn-primary { background: var(--blue-2); color: #fff !important; }
.btn-primary:hover { background: #1a6fca; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff !important; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { height: 36px; padding: 0 16px; border-radius: 18px; font-size: 13.5px; }
.btn-line { border-color: var(--blue); color: var(--blue) !important; background: #fff; }
.btn-line:hover { background: #f1f6ff; }

/* ---------- 首页图文段 ---------- */
.feats { padding: 40px 0 24px; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 48px 0; }
.feat-img img { width: 100%; max-width: 460px; margin: 0 auto; }
.feat.rev .feat-img { order: -1; }
.feat-k { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--blue-2); }
.feat h2 { margin-top: 8px; font-size: 32px; line-height: 1.3; font-weight: 600; }
.feat p { margin-top: 16px; color: var(--text); font-size: 15.5px; line-height: 1.9; max-width: 480px; }

.value { padding: 72px 0 88px; background: var(--bg); text-align: center; }
.value-logo { height: 44px; width: auto; margin: 0 auto 18px; }
.value h2 { font-size: 26px; font-weight: 600; }
.value .lead { margin: 12px auto 0; max-width: 640px; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.stat { padding: 36px 28px 32px; border-radius: 10px; background: linear-gradient(150deg, var(--sky), #1c64b8); color: #fff; text-align: left; box-shadow: 0 14px 30px rgba(18,77,186,.18); }
.stat b { display: block; font-size: 52px; line-height: 1; font-weight: 400; }
.stat span { display: block; margin-top: 18px; font-size: 15px; }
.stat i { display: block; width: 36px; height: 2px; margin-top: 12px; background: rgba(255,255,255,.85); }

/* ---------- 内页横幅 ---------- */
.banner { color: #fff; background-color: var(--blue); background-size: cover; background-position: center; background-image: linear-gradient(180deg, rgba(11,23,51,.55), rgba(18,77,186,.35)), url(../images/servicerangebanner.png); }
.banner-prod { background-image: linear-gradient(180deg, rgba(11,23,51,.55), rgba(18,77,186,.35)), url(../images/productback.png); }
.banner-body { padding: 44px 0 96px; text-align: center; }
.banner h1 { font-size: 40px; font-weight: 600; letter-spacing: .08em; }
.banner p { margin: 12px auto 0; max-width: 640px; color: rgba(255,255,255,.82); }

.page { background: var(--bg); padding-bottom: 80px; }
.lift { margin-top: -56px; position: relative; }
.card { background: var(--card); border-radius: 10px; box-shadow: 0 6px 24px rgba(16,32,74,.07); }
.dp .sec-title { display: flex; align-items: center; gap: 12px; margin: 48px 0 20px; font-size: 22px; font-weight: 600; }
.dp .sec-title::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--blue-2); }

/* ---------- 服务范围 ---------- */
.svcs { display: grid; gap: 20px; }
.svc { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 40px; align-items: center; padding: 20px; }
.svc.rev { grid-template-columns: minmax(0, 1fr) 400px; }
.svc.rev .svc-img { order: 2; }
.svc-img img { width: 100%; aspect-ratio: 418 / 160; object-fit: cover; border-radius: 6px; }
.svc-body { padding: 4px 20px 4px 0; }
.svc.rev .svc-body { padding: 4px 0 4px 20px; }
.svc-head { display: flex; align-items: baseline; gap: 16px; }
.svc-no { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 46px; line-height: 1; color: var(--blue); }
.svc h3 { font-size: 20px; font-weight: 600; }
.svc p { margin-top: 12px; color: var(--text); font-size: 14.5px; line-height: 1.85; }

/* ---------- 产品中心 ---------- */
.regions { padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--line); background: #fff; color: var(--text) !important; font-size: 13.5px; white-space: nowrap; }
.chip:hover { border-color: #b9c6dc; color: var(--ink) !important; }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff !important; }
.pcur { display: flex; align-items: baseline; gap: 10px; padding: 18px 24px 4px; }
.pcur b { font-size: 17px; font-weight: 600; color: var(--ink); }
.pcur span { font-size: 13px; color: var(--muted); }
.pcur + .pempty { padding-top: 32px; }
.ptable { padding: 0 8px 8px; }
.prow { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 132px; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.prow:last-child { border-bottom: 0; }
.prow.ph { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 18px; padding-bottom: 12px; }
.prow .cpu { color: var(--ink); font-weight: 600; }
.prow .price { color: #d9480f; font-weight: 700; font-size: 15px; white-space: nowrap; }
.prow .act { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.prow:not(.ph):hover { background: #f7f9fd; }
.ptable:not(.expanded) .prow.is-more { display: none; }
.pempty { padding: 56px 16px; text-align: center; color: var(--muted); }
.pmore { padding: 16px; text-align: center; border-top: 1px solid var(--line); }
.pmore-hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

.dp .notes { padding: 8px 28px 12px; }
.notes li { position: relative; padding: 13px 0 13px 18px; border-bottom: 1px dashed var(--line); color: var(--text); font-size: 14.5px; }
.notes li:last-child { border-bottom: 0; }
.notes li::before { content: ""; position: absolute; left: 0; top: 23px; width: 6px; height: 6px; border-radius: 3px; background: var(--blue-2); }
.advs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.adv { display: flex; gap: 18px; align-items: flex-start; padding: 24px; }
.adv img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.adv h3 { font-size: 16.5px; font-weight: 600; }
.adv p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 下单页 ---------- */
.dp .back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px; color: #fff; font-size: 14px; opacity: .9; }
.dp .back-link:hover { opacity: 1; }
.order { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: stretch; }
.order-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.order-main > .order-sec:last-child { flex: 1 0 auto; }
.order-sec { padding: 24px 28px; }
.dp .order-h { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.dp .order-h ~ .order-h { margin-top: 22px; }
.dp .order-title { font-size: 20px; font-weight: 600; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-group { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.opt-group:last-child { border-bottom: 0; padding-bottom: 0; }
.opt-label { padding-top: 9px; font-size: 14px; font-weight: 600; color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 40px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.opt small { font-size: 12px; color: #8a93a3; margin-top: 1px; }
.opt:hover:not(:disabled) { border-color: #9fb4d6; }
.opt.on { border-color: var(--blue-2); background: #f0f6ff; color: var(--blue); box-shadow: 0 0 0 3px rgba(31,127,224,.12); }
.opt.on small { color: var(--blue); }
.opt:disabled { cursor: default; }
/* 没得选的配置：显示为文字，不做成按钮 */
.opt.opt-static, .opt.opt-static.on { flex-direction: row; align-items: center; gap: 8px; min-height: 40px; padding: 0; border: 0; background: none; box-shadow: none; font-size: 14.5px; color: var(--ink); cursor: default; }
.opt-static .tag-fixed { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; background: #f2f5fa; color: var(--muted); font-size: 12px; }
.opt.opt-static.is-none { color: var(--muted); }
.order-side { min-width: 0; }
.order-side .summary { position: sticky; top: 96px; }
.summary { padding: 24px; }
.sum-plan { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sum-plan b { font-size: 17px; color: var(--ink); }
.dp .sum-list { display: grid; gap: 8px; padding: 8px 0 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.sum-list div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
.sum-list dt { color: var(--muted); }
.sum-list dd { margin: 0; color: var(--ink); word-break: break-word; }
.summary .opt-label { padding-top: 0; margin-bottom: 8px; }
.cycles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cycle { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; }
.cycle small { font-size: 12px; color: var(--muted); }
.cycle.on { border-color: var(--blue-2); background: #f0f6ff; color: var(--blue); box-shadow: 0 0 0 3px rgba(31,127,224,.12); }
.cycle.on small { color: var(--blue); }
.total { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 14px; font-size: 14px; color: var(--text); }
.total b { font-size: 28px; color: #d9480f; font-weight: 700; }
.btn-block { display: flex; width: 100%; }
.dp .sum-tip { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.order-bar { display: none; }

.contact-fields { display: grid; gap: 10px; margin-top: 16px; }
.fld { display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fld small { font-weight: 400; color: var(--muted); }
.fld-input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 400; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.fld-input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(31,127,224,.15); }
.fld-input.is-err { border-color: #d9480f; box-shadow: 0 0 0 3px rgba(217,72,15,.12); }
.sum-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.sum-acts .btn { height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: #f2f5fa; color: var(--ink) !important; font-weight: 500; }
.sum-acts .btn:hover { background: #e7edf6; }
.sum-acts .btn svg { color: var(--muted); }
.sum-acts .btn.is-done { color: #1a7f4b !important; background: #eaf7f0; }
.sum-acts .btn.is-done svg { color: #1a7f4b; }
.dlg-text { white-space: pre-line; }
.btn:disabled { opacity: .7; cursor: progress; }

/* 提示弹窗 */
.dlg-mask { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(11,23,51,.45); font-family: var(--font); }
.dlg { width: 100%; max-width: 420px; max-height: 80vh; overflow-y: auto; padding: 24px; border-radius: 12px; background: #fff; box-shadow: 0 24px 64px rgba(11,23,51,.3); }
.dlg-text { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.dlg-body .salers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dlg-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

/* ---------- 企业价值 ---------- */
.intro { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 48px; }
.intro img { width: 180px; }
.intro p { color: var(--text); font-size: 15.5px; line-height: 2; }
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.val { padding: 36px 28px 32px; text-align: center; }
.val img { height: 84px; width: auto; margin: 0 auto 20px; }
.val h3 { font-size: 17px; font-weight: 600; }
.val p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.about { padding: 32px 40px; color: var(--text); line-height: 2; }
.about p + p { margin-top: 14px; }

/* ---------- 服务条款 ---------- */
.terms { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.toc { flex: 1 1 220px; max-width: 260px; padding: 20px; position: sticky; top: 96px; }
.toc b { display: block; font-size: 13px; color: var(--muted); letter-spacing: .1em; margin-bottom: 8px; }
.toc a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); font-size: 14.5px; }
.toc a:hover { background: var(--bg); color: var(--ink); }
.toc a.on { background: #e8f0fd; color: var(--blue); font-weight: 600; }
.article { flex: 999 1 560px; min-width: 0; padding: 40px 48px; }
.article h2 { margin: 32px 0 14px; font-size: 19px; font-weight: 600; scroll-margin-top: 100px; }
.article h2:first-child { margin-top: 0; }
.article ol { padding: 0; list-style: none; counter-reset: n; }
.article li { position: relative; padding: 6px 0 6px 34px; color: var(--text); line-height: 1.9; font-size: 14.5px; counter-increment: n; }
.article li::before { content: counter(n); position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 11px; background: #e8f0fd; color: var(--blue); font-size: 12px; font-weight: 700; text-align: center; line-height: 22px; }
.article ol.sub { margin: 6px 0 4px; }
.article ol.sub li::before { content: "3." counter(n); background: transparent; color: var(--muted); width: auto; font-weight: 600; }
.article .warn { margin-top: 14px; padding: 14px 18px; border-radius: 8px; background: #fff6ec; color: #8a4b0f; font-size: 14px; line-height: 1.85; }
/* 条款和条件、隐私政策：英文原文，段落 + 小标题 + 圆点列表 */
.article.legal p { margin: 0 0 12px; color: var(--text); line-height: 1.9; font-size: 14.5px; }
.article.legal p.updated { color: var(--muted); font-size: 13.5px; }
.article.legal h3 { margin: 22px 0 10px; font-size: 16px; font-weight: 600; }
.article.legal h4 { margin: 18px 0 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.article.legal ul { margin: 0 0 14px; padding: 0; list-style: none; }
.article.legal ul li { counter-increment: none; padding: 4px 0 4px 22px; }
.article.legal ul li::before { content: ""; top: 17px; left: 6px; width: 6px; height: 6px; border-radius: 3px; background: var(--blue); }
.article.legal a { color: var(--blue); word-break: break-all; }

/* ---------- 页脚 ---------- */
.ft { background: var(--navy); color: rgba(255,255,255,.66); font-size: 13.5px; }
.ft-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 44px 0 28px; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.ft-logo img { height: 44px; width: auto; }
.ft-nav { display: flex; gap: 8px 36px; flex-wrap: wrap; }
.ft-nav a { color: rgba(255,255,255,.78); font-size: 14.5px; }
.ft-nav a:hover { color: #fff; }
.ft-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px 40px; flex-wrap: wrap; padding: 24px 0; }
.ft-contact { text-align: right; }
.ft-bottom b { display: block; color: #fff; font-weight: 600; margin-bottom: 6px; }
.ft-bottom a:hover { color: #fff; }
.ft-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: rgba(255,255,255,.5); }
.ft-legal { display: flex; align-items: center; gap: 0; }
.ft-legal a { color: rgba(255,255,255,.66); }
.ft-legal a:hover { color: #fff; }
.ft-legal a + a::before { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 14px; background: rgba(255,255,255,.25); vertical-align: -1px; }

/* ---------- 浮动客服 ---------- */
.cs { position: fixed; right: 24px; bottom: 24px; z-index: 30; transition: transform .25s; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--font); }
.cs-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border: 0; border-radius: 26px; background: var(--blue-2); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 10px 28px rgba(18,77,186,.35); }
.cs-btn { position: relative; }
.cs-btn .ico-close, .cs.open .cs-btn .ico-chat { display: none; }
/* 未读红点 */
.cs-dot { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: #f03e3e; }
.cs-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: rgba(240,62,62,.45); animation: cs-pulse 1.8s ease-out infinite; }
@keyframes cs-pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.cs.seen .cs-dot { display: none; }
/* 问候气泡 */
.cs-greet { position: absolute; right: calc(100% + 14px); bottom: 5px; display: flex; align-items: flex-start; max-width: 300px; animation: cs-in .35s ease-out; }
.cs-greet[hidden] { display: none; }
.cs.open .cs-greet { display: none; }
.cs-greet-text { padding: 11px 16px; border: 0; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.55; text-align: left; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 30px rgba(11,23,51,.2); }
.cs-greet-text:hover { color: var(--blue); }
.cs-greet-close { position: absolute; top: -8px; right: -8px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: #5b6476; color: #fff; cursor: pointer; }
.cs-greet-close:hover { background: var(--ink); }
@keyframes cs-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cs-dot::after, .cs-greet { animation: none; } }
.cs.open .cs-btn .ico-close { display: block; }
.cs-panel { display: none; width: 240px; max-height: 60vh; overflow-y: auto; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 18px 48px rgba(11,23,51,.22); }
.cs.open .cs-panel { display: block; }
.cs-panel b { display: block; padding: 8px 12px 6px; font-size: 13px; color: var(--muted); }
.cs-panel a { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 12px; border-radius: 8px; color: var(--ink) !important; font-size: 14.5px; }
.cs-panel a:hover { background: var(--bg); }
.cs-panel a span { font-size: 12px; color: var(--blue-2); font-weight: 600; }
.cs-panel .cs-247 { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.cs-loading { padding: 10px 12px; color: var(--muted); font-size: 13px; }

/* ================= 价格表改卡片（窄于 1100 时表格放不下） ================= */
@media (max-width: 1100px) {
  .prow.ph { display: none; }
  .ptable { padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
  .prow:last-child { border-bottom: 1px solid var(--line); }
  .prow .cpu { grid-column: 1 / -1; font-size: 15.5px; }
  .prow > span:not(.cpu):not(.price):not(.act) { display: flex; flex-direction: column; font-size: 14px; color: var(--ink); }
  .prow > span[data-l]::before { content: attr(data-l); font-size: 12px; color: var(--muted); }
  /* 价格与按钮同一行、同样高度，上边线才能对齐 */
  .prow .price, .prow .act { align-self: stretch; display: flex; align-items: center; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
  .prow .price { grid-column: 1; font-size: 18px; }
  .prow .act { grid-column: 2; justify-content: flex-end; }
}

/* ================= 平板 ================= */
@media (max-width: 960px) {
  .wrap { padding: 0 28px; }
  .hd-bar { gap: 24px; }
  .hd-nav a { padding: 0 10px; }
  .hero h1 { font-size: 38px; }
  .feat { gap: 40px; }
  .svc, .svc.rev { grid-template-columns: 320px minmax(0, 1fr); gap: 28px; }
  .svc.rev .svc-img { order: 0; }
  .svc.rev .svc-body { padding: 4px 20px 4px 0; }
  .advs, .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { position: static; }
  .order { grid-template-columns: minmax(0, 1fr); }
  .order-side .summary { position: static; }
}

/* ================= 手机 ================= */
@media (max-width: 640px) {
  .dp { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .hd-bar { height: 60px; gap: 12px; justify-content: space-between; }
  .top { margin-top: -60px; padding-top: 60px; }
  .hd.open { max-height: 100vh; overflow-y: auto; }
  .article h2 { scroll-margin-top: 76px; }
  .hd-logo img { height: 32px; }
  .hd-nav, .hd-bar .hd-lang { display: none; }
  .hd-menu-btn { display: inline-flex; }
  .hd.open .hd-drawer { display: block; margin: 0 -16px; padding: 4px 16px 16px; background: var(--navy-2); }
  .hd-drawer > a { display: flex; align-items: center; justify-content: space-between; height: 50px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.86); font-size: 15.5px; }
  .hd-drawer > a.on { color: #fff; font-weight: 600; }
  .hd-drawer-lang { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
  .hd-drawer-lang a { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 17px; border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.86); font-size: 13.5px; }
  .hd-drawer-lang a.on { background: #fff; color: var(--navy) !important; border-color: #fff; font-weight: 600; }

  .hero-body { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 28px 0 20px; }
  .hero-img { order: -1; }
  .hero-img img { max-width: 300px; height: 220px; margin: 0 auto; }
  .hero h1 { font-size: 28px; }
  .hero p { margin-top: 12px; font-size: 14.5px; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 12px; }
  .dots { padding-bottom: 28px; }

  .feats { padding: 16px 0 8px; }
  .feat, .feat.rev { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0; }
  .feat .feat-img, .feat.rev .feat-img { order: -1; }
  .feat-img img { max-width: 260px; }
  .feat h2 { font-size: 23px; }
  .feat p { margin-top: 10px; font-size: 14.5px; }

  .value { padding: 48px 0 56px; }
  .value h2 { font-size: 21px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 28px; }
  .stat { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 18px; padding: 20px 22px; }
  .stat b { font-size: 36px; grid-row: span 2; }
  .stat span, .stat i { margin-top: 0; }

  .banner-body { padding: 20px 0 72px; }
  .banner h1 { font-size: 28px; }
  .banner p { font-size: 14px; padding: 0 8px; }
  .lift { margin-top: -48px; }
  .page { padding-bottom: 88px; }
  .dp .sec-title { margin: 32px 0 14px; font-size: 19px; }

  .svcs { gap: 14px; }
  .svc, .svc.rev { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px 12px 18px; }
  .svc-body, .svc.rev .svc-body { padding: 0 6px; }
  .svc-no { font-size: 34px; }
  .svc h3 { font-size: 17.5px; }
  .svc p { margin-top: 8px; font-size: 14px; }

  .regions { flex-wrap: nowrap; overflow-x: auto; padding: 14px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .regions::-webkit-scrollbar { display: none; }
  .ptable { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .pcur { padding: 16px 16px 0; }
  .dp .notes { padding: 4px 18px 8px; }
  .advs, .vals { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .adv { padding: 18px; }

  .intro { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 22px; }
  .intro img { width: 120px; margin: 0 auto; }
  .intro p { font-size: 14.5px; line-height: 1.95; }
  .val { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 20px; text-align: left; }
  .val img { grid-row: span 2; height: 52px; margin: 0; }
  .val p { margin-top: 0; }
  .about { padding: 24px 20px; }

  .toc { flex-basis: 100%; max-width: none; padding: 10px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc b { display: none; }
  .toc a { flex: none; white-space: nowrap; padding: 8px 12px; font-size: 13.5px; }
  .article { flex-basis: 100%; padding: 24px 18px; }
  .article h2 { font-size: 17px; margin-top: 26px; }
  .article li { font-size: 14px; padding-left: 30px; }

  .ft-top { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 0 22px; }
  .ft-logo img { height: 36px; }
  .ft-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; width: 100%; }
  .ft-bottom { flex-direction: column; padding: 22px 0; }
  .ft-contact { text-align: left; }
  .ft-bar { flex-direction: column-reverse; align-items: flex-start; }

  .order-sec, .summary { padding: 18px; }
  .opt-group { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 0; }
  .opt-label { padding-top: 0; }
  .summary .btn-block { display: none; }
  .fld-input { height: 46px; font-size: 16px; }
  /* 手机：底部固定价格条 */
  .order-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 24px rgba(11,23,51,.12); font-size: 13px; color: var(--text); }
  .order-bar b { display: block; font-size: 22px; color: #d9480f; }
  .order-bar .btn { flex: none; }
  body:has(.order-bar) .cs { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body:has(.order-bar) .ft-bar { padding-bottom: 100px; }
  .cs { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .cs-btn { height: 48px; padding: 0 18px; }
  .cs-greet { right: 0; bottom: calc(100% + 12px); width: max-content; max-width: calc(100vw - 32px); }
  .cs-greet-text { white-space: normal; border-radius: 14px 14px 4px 14px; }
}
