/* ============================================================
   云驰数据 IDC · 设计系统（Tencent Cloud 风格）
   ============================================================ */

:root {
  /* 品牌色 */
  --blue: #0052d9;
  --blue-h: #2b6de5;          /* hover 提亮 */
  --blue-a: #0043b8;          /* active 加深 */
  --blue-bg: #eef4ff;         /* 浅蓝底 */

  /* 中性色 */
  --ink: rgba(0, 0, 0, .9);
  --ink-2: rgba(0, 0, 0, .6);
  --ink-3: rgba(0, 0, 0, .4);
  --ink-4: rgba(0, 0, 0, .26);
  --line: #e3e6eb;
  --line-2: #f0f2f5;
  --bg: #f3f5f7;
  --bg-2: #f7f9fa;

  /* 语义色 */
  --green: #2ba471;
  --orange: #e37318;
  --red: #d54941;
  --purple: #8561ff;
  --cyan: #0aa5a5;

  /* 深色品牌 */
  --navy-1: #071630;
  --navy-2: #0d2a5e;
  --navy-3: #123c86;

  --radius: 2px;
  --shadow-card: 0 1px 2px rgba(15, 34, 72, .05);
  --shadow-pop: 0 8px 24px rgba(15, 34, 72, .12);
  --head-h: 56px;
}

/* ---------- Reset / Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  min-width: 1080px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-h); }
img, svg { vertical-align: middle; }
button { font-family: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ico { width: 1em; height: 1em; display: inline-block; flex-shrink: 0; }

::selection { background: rgba(0, 82, 217, .15); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 20px; border-radius: var(--radius);
  border: 1px solid transparent; font-size: 14px; line-height: 1;
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: all .15s; background: transparent; color: var(--ink);
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-h); color: #fff; }
.btn-primary:active { background: var(--blue-a); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue-bg); color: var(--blue-h); border-color: var(--blue-h); }
.btn-default { border-color: var(--ink-4); color: var(--ink-2); background: #fff; }
.btn-default:hover { color: var(--blue); border-color: var(--blue); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn-text { color: var(--blue); height: auto; padding: 0; }
.btn-text:hover { color: var(--blue-h); }
.btn-sm { height: 28px; padding: 0 12px; font-size: 12px; }
.btn-lg { height: 44px; padding: 0 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ---------- 徽标 / 状态 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 22px; padding: 0 8px; border-radius: var(--radius);
  font-size: 12px; white-space: nowrap;
}
.badge.blue   { background: rgba(0, 82, 217, .08);  color: var(--blue); }
.badge.green  { background: rgba(43, 164, 113, .1); color: var(--green); }
.badge.orange { background: rgba(227, 115, 24, .1); color: var(--orange); }
.badge.red    { background: rgba(213, 73, 65, .08); color: var(--red); }
.badge.gray   { background: var(--bg); color: var(--ink-2); }
.badge.purple { background: rgba(133, 97, 255, .1); color: var(--purple); }

.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot.ok { background: var(--green); } .dot.warn { background: var(--orange); }
.dot.err { background: var(--red); }  .dot.off { background: var(--ink-4); }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.status.ok { color: var(--green); } .status.warn { color: var(--orange); }
.status.err { color: var(--red); }  .status.off { color: var(--ink-3); }

/* ---------- 表单 ---------- */
.input, .select, .textarea {
  width: 100%; height: 36px; padding: 0 12px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 2px rgba(0, 82, 217, .1);
}
.select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
.textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.6; }
.checkbox { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.radio { accent-color: var(--blue); }
.form-item { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.form-label .req { color: var(--red); margin-right: 4px; }
.form-help { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }
.form-help a { margin: 0 2px; }
.input-group { position: relative; }
.input-group .input { padding-right: 84px; }
.input-group .suffix-btn {
  position: absolute; right: 1px; top: 1px; bottom: 1px;
  border: none; background: var(--bg-2); color: var(--blue); font-size: 13px;
  padding: 0 12px; cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0;
}
.input-group .suffix-btn:hover { background: var(--blue-bg); }

/* ============================================================
   营销站 · 顶部导航
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 64px; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo .logo-mark { width: 32px; height: 32px; }
.logo .logo-name { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: .5px; }
.logo .logo-tag {
  font-size: 11px; font-weight: 600; color: #fff; background: var(--blue);
  border-radius: 2px; padding: 2px 5px; letter-spacing: 1px; line-height: 1.4;
}
.main-nav { display: flex; align-items: center; gap: 4px; height: 100%; flex-shrink: 0; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 0 12px;
  height: 100%; font-size: 15px; color: var(--ink); white-space: nowrap;
}
.nav-link .ico { font-size: 12px; color: var(--ink-3); transition: transform .2s; }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover .ico { transform: rotate(180deg); }

/* 产品下拉面板 */
.mega-panel {
  position: absolute; top: 100%; left: -24px; width: 720px; z-index: 110;
  background: #fff; border-radius: 4px; box-shadow: var(--shadow-pop);
  padding: 24px; display: none; cursor: default;
  animation: fadeDown .18s ease;
}
.nav-item:hover .mega-panel { display: block; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.mega-item { display: flex; gap: 12px; padding: 10px 12px; border-radius: 4px; color: var(--ink); }
.mega-item:hover { background: var(--bg-2); color: var(--ink); }
.mega-item .mi-ic {
  width: 36px; height: 36px; border-radius: 4px; background: var(--blue-bg);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.mega-item .mi-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.mega-item .mi-name .badge { margin-left: 6px; }
.mega-item .mi-desc { font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.mega-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
.mega-foot a { margin-right: 20px; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-search {
  display: flex; align-items: center; gap: 8px; width: 190px; height: 34px;
  background: var(--bg); border-radius: 17px; padding: 0 14px; cursor: text; flex-shrink: 0;
}
.header-search .ico { color: var(--ink-3); font-size: 15px; }
.header-search input {
  border: none; outline: none; background: transparent; width: 100%;
  font-size: 13px; color: var(--ink);
}
.header-search input::placeholder { color: var(--ink-3); }
.header-actions .v-div { width: 1px; height: 16px; background: var(--line); }
.header-actions .login-link { font-size: 14px; color: var(--ink-2); }
.header-actions .login-link:hover { color: var(--blue); }
.header-cart { position: relative; font-size: 18px; color: var(--ink-2); }
.header-cart:hover { color: var(--blue); }
.header-cart .cart-num {
  position: absolute; top: -6px; left: 12px; min-width: 16px; height: 16px;
  background: var(--red); color: #fff; font-size: 11px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* 移动端导航 */
.menu-btn { display: none; }
.mobile-nav { display: none; }

/* ============================================================
   营销站 · 首屏 Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; background: linear-gradient(128deg, #081736 0%, #0d2a5e 52%, #0a3a86 100%); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow.g1 { width: 420px; height: 420px; background: rgba(0, 108, 255, .35); top: -120px; right: 12%; }
.hero-glow.g2 { width: 300px; height: 300px; background: rgba(133, 97, 255, .22); bottom: -80px; left: 6%; }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 48px; padding: 84px 24px 96px; }
.hero-copy { flex: 1; min-width: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
  color: #9fc2ff; border: 1px solid rgba(159, 194, 255, .35); border-radius: 14px;
  padding: 4px 14px; margin-bottom: 22px;
}
.hero-eyebrow .ico { font-size: 14px; }
.hero-title { font-size: 44px; font-weight: 600; line-height: 1.3; margin-bottom: 18px; }
.hero-title em { font-style: normal; color: #4a9dff; }
.hero-sub { font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .72); max-width: 520px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 0; }
.hero-stat { padding-right: 36px; margin-right: 36px; border-right: 1px solid rgba(255, 255, 255, .15); }
.hero-stat:last-child { border-right: none; margin: 0; padding-right: 0; }
.hero-stat b { display: block; font-size: 26px; font-weight: 600; color: #fff; }
.hero-stat b i { font-style: normal; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.6); margin-left: 3px; }
.hero-stat span { font-size: 13px; color: rgba(255, 255, 255, .55); }

/* Hero 右侧可视化 */
.hero-visual { width: 460px; flex-shrink: 0; position: relative; }
.monitor-card {
  background: rgba(10, 24, 54, .55); border: 1px solid rgba(120, 160, 230, .25);
  border-radius: 6px; padding: 18px 20px 14px; backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(2, 8, 24, .5);
}
.monitor-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.monitor-head .mt { font-size: 13px; color: rgba(255, 255, 255, .85); display: flex; align-items: center; gap: 8px; }
.monitor-head .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #57d9a3; }
.live-pulse { width: 7px; height: 7px; border-radius: 50%; background: #57d9a3; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.monitor-metrics { display: flex; gap: 10px; margin-bottom: 14px; }
.mm-box { flex: 1; background: rgba(255, 255, 255, .05); border-radius: 4px; padding: 8px 12px; }
.mm-box span { display: block; font-size: 11px; color: rgba(255, 255, 255, .5); margin-bottom: 3px; }
.mm-box b { font-size: 16px; font-weight: 600; color: #fff; }
.mm-box b i { font-style: normal; font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, .45); margin-left: 2px; }
#heroChart { width: 100%; height: 150px; display: block; }
.monitor-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: rgba(255, 255, 255, .4); }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 4px; padding: 10px 16px;
  box-shadow: 0 12px 32px rgba(2, 8, 24, .35); animation: floaty 5s ease-in-out infinite;
}
.float-chip .fc-ic {
  width: 34px; height: 34px; border-radius: 4px; background: var(--blue-bg);
  color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.float-chip b { display: block; font-size: 15px; color: var(--ink); line-height: 1.2; }
.float-chip span { font-size: 12px; color: var(--ink-3); }
.float-chip.c1 { right: -18px; top: -26px; }
.float-chip.c2 { left: -30px; bottom: -20px; animation-delay: 2.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============================================================
   营销站 · 通用 Section
   ============================================================ */
.section { padding: 72px 0; }
.section.tight { padding: 52px 0; }
.section.light { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-title { font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.section-title .hl { color: var(--blue); }
.section-sub { font-size: 14px; color: var(--ink-3); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-head.left { text-align: left; }
.section-head.left .section-sub { margin: 0; }
.more-link { font-size: 13px; color: var(--ink-3); }
.more-link:hover { color: var(--blue); }

/* 产品卡片 */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 22px 22px; transition: all .2s; display: block; color: var(--ink);
  position: relative; overflow: hidden;
}
.prod-card:hover { border-color: transparent; box-shadow: var(--shadow-pop); transform: translateY(-3px); color: var(--ink); }
.prod-card:hover .prod-name { color: var(--blue); }
.prod-ic {
  width: 46px; height: 46px; border-radius: 6px; background: var(--blue-bg);
  color: var(--blue); font-size: 24px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: all .2s;
}
.prod-card:hover .prod-ic { background: var(--blue); color: #fff; }
.prod-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; transition: color .2s; }
.prod-desc { font-size: 13px; color: var(--ink-3); line-height: 1.7; margin-bottom: 14px; min-height: 44px; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  font-size: 11px; color: var(--ink-3); background: var(--bg);
  border-radius: 2px; padding: 2px 7px;
}
.prod-more { font-size: 13px; color: var(--blue); display: flex; align-items: center; gap: 4px; }
.prod-more .ico { font-size: 13px; transition: transform .2s; }
.prod-card:hover .prod-more .ico { transform: translateX(3px); }

/* 优势卡片 */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 30px 26px; transition: all .2s;
}
.feat-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.feat-num { font-size: 13px; color: var(--ink-4); font-weight: 600; letter-spacing: 2px; margin-bottom: 18px; }
.feat-card .prod-ic { margin-bottom: 20px; }
.feat-name { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.feat-desc { font-size: 13px; color: var(--ink-3); line-height: 1.8; }

/* 价格卡片 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 4px; padding: 32px 30px 28px; display: flex; flex-direction: column;
  transition: all .2s;
}
.price-card:hover { box-shadow: var(--shadow-pop); }
.price-card.rec { border: 1.5px solid var(--blue); box-shadow: 0 6px 20px rgba(0, 82, 217, .12); }
.ribbon {
  position: absolute; top: -1px; right: 20px; background: var(--blue); color: #fff;
  font-size: 12px; padding: 5px 12px; border-radius: 0 0 4px 4px;
}
.price-name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.price-for { font-size: 12px; color: var(--ink-3); margin-bottom: 22px; }
.price-val { display: flex; align-items: baseline; margin-bottom: 22px; }
.price-val i { font-style: normal; font-size: 14px; color: var(--orange); margin-right: 2px; }
.price-val b { font-size: 34px; font-weight: 600; color: var(--orange); font-family: Georgia, serif; }
.price-val span { font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.price-list { flex: 1; margin-bottom: 26px; }
.price-list li {
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  color: var(--ink-2); padding: 8px 0; border-bottom: 1px dashed var(--line-2);
}
.price-list li:last-child { border-bottom: none; }
.price-list .ico { color: var(--green); font-size: 15px; }
.price-cta .btn { width: 100%; }
.price-note { text-align: center; margin-top: 26px; font-size: 13px; color: var(--ink-3); }
.price-note a { margin-left: 4px; }

/* 客户 logo 墙 */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 0; }
.logo-wall .lw-item {
  width: 190px; height: 76px; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; color: var(--ink-3); letter-spacing: 2px;
  border-right: 1px solid var(--line-2); opacity: .75; transition: all .2s;
}
.logo-wall .lw-item:hover { color: var(--blue); opacity: 1; }
.logo-wall .lw-item:nth-child(6n) { border-right: none; }

/* 数据中心 chips */
.dc-strip { display: flex; align-items: center; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 26px 34px; }
.dc-strip-stats { display: flex; gap: 0; flex-shrink: 0; }
.dc-strip-stats .ds-item { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line-2); }
.dc-strip-stats .ds-item:last-child { border: none; margin: 0; padding: 0; }
.dc-strip-stats b { display: block; font-size: 24px; font-weight: 600; }
.dc-strip-stats b i { font-style: normal; font-size: 13px; color: var(--ink-3); font-weight: 400; margin-left: 2px; }
.dc-strip-stats span { font-size: 12px; color: var(--ink-3); }
.dc-chips { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.dc-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px;
  border: 1px solid var(--line); border-radius: 16px; padding: 7px 16px; color: var(--ink-2);
  transition: all .15s; cursor: default;
}
.dc-chip:hover { border-color: var(--blue); color: var(--blue); }
.dc-chip .dot { width: 6px; height: 6px; }

/* 案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px; transition: all .2s; }
.case-card:hover { box-shadow: var(--shadow-pop); }
.case-logo { font-size: 18px; font-weight: 600; letter-spacing: 1px; color: var(--blue); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.case-logo .cl-ic { width: 30px; height: 30px; border-radius: 4px; background: var(--blue-bg); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.case-quote { font-size: 13px; color: var(--ink-2); line-height: 1.9; margin-bottom: 18px; min-height: 100px; }
.case-meta { display: flex; align-items: center; gap: 10px; }
.case-meta .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2);
  color: var(--ink-3); display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.case-meta b { display: block; font-size: 13px; font-weight: 500; }
.case-meta span { font-size: 12px; color: var(--ink-3); }

/* 服务保障横排 */
.guarantee-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gb-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px 20px; }
.gb-item .prod-ic { width: 40px; height: 40px; font-size: 20px; margin: 0; }
.gb-item b { display: block; font-size: 15px; margin-bottom: 4px; }
.gb-item span { font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--blue) 0%, #2b5fd9 60%, #6a4fd9 100%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; padding: 44px 24px; }
.cta-inner h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.cta-inner p { font-size: 14px; color: rgba(255, 255, 255, .8); }
.cta-inner .btn-lg { background: #fff; color: var(--blue); border: none; }
.cta-inner .btn-lg:hover { background: #f0f6ff; color: var(--blue); }
.cta-gift { display: flex; gap: 26px; margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.cta-gift .ico { color: #ffd45c; margin-right: 5px; }

/* ============================================================
   营销站 · 页脚
   ============================================================ */
.site-footer { background: #f7f9fb; border-top: 1px solid var(--line); margin-top: 0; }
.footer-top { display: flex; gap: 60px; padding: 48px 0 40px; }
.footer-brand { width: 300px; flex-shrink: 0; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--ink-3); line-height: 1.8; margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; align-items: center; }
.footer-contact .ico { color: var(--blue); font-size: 15px; }
.footer-contact b { font-size: 20px; color: var(--ink); font-weight: 600; }
.footer-qrs { display: flex; gap: 14px; margin-top: 16px; }
.qr-box {
  width: 84px; height: 84px; border: 1px dashed var(--ink-4); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: var(--ink-3); font-size: 11px; background:
    linear-gradient(var(--bg) 1px, transparent 1px) 0 0 / 12px 12px;
}
.qr-box .ico { font-size: 20px; }
.footer-cols { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 13px; color: var(--ink-3); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; display: flex; align-items: center; justify-content: center; gap: 8px 24px; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--blue); }

/* ============================================================
   认证页（登录 / 注册）
   ============================================================ */
.auth-page {
  min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(1200px 500px at 20% -10%, #e6efff 0%, transparent 60%),
              radial-gradient(900px 420px at 90% 110%, #eef0ff 0%, transparent 55%), #f6f8fc;
}
.auth-top { height: 64px; display: flex; align-items: center; padding: 0 40px; }
.auth-body { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 24px 60px; }
.auth-card {
  width: 420px; background: #fff; border-radius: 6px; padding: 40px 40px 30px;
  box-shadow: 0 12px 40px rgba(24, 56, 120, .1);
}
.auth-title { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.auth-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.auth-tabs { display: flex; margin-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.auth-tab {
  flex: 1; text-align: center; padding: 12px 0; font-size: 15px; color: var(--ink-2);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.auth-tab.active { color: var(--blue); border-color: var(--blue); font-weight: 500; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin: -6px 0 22px; }
.auth-row a { color: var(--ink-3); }
.auth-row a:hover { color: var(--blue); }
.auth-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); text-align: center; font-size: 13px; color: var(--ink-3); }
.auth-foot a { margin: 0 4px; }
.auth-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ink-3); line-height: 1.6; margin: 4px 0 18px; }
.auth-agree .checkbox { margin-top: 2px; }
.auth-other { margin-top: 22px; text-align: center; }
.auth-other .ao-label { font-size: 12px; color: var(--ink-4); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.auth-other .ao-label::before, .auth-other .ao-label::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.ao-list { display: flex; justify-content: center; gap: 22px; }
.ao-item { width: 38px; height: 38px; border-radius: 50%; background: var(--bg); color: var(--ink-2); display: flex; align-items: center; justify-content: center; font-size: 19px; cursor: pointer; transition: all .15s; }
.ao-item:hover { background: var(--blue-bg); color: var(--blue); }

/* 注册双栏 */
.auth-card.wide { width: 860px; padding: 0; display: flex; overflow: hidden; }
.auth-aside {
  width: 320px; flex-shrink: 0; background: linear-gradient(160deg, #0b2150 0%, #0d3a8e 100%);
  color: #fff; padding: 40px 34px; display: flex; flex-direction: column;
}
.auth-aside h3 { font-size: 20px; font-weight: 600; margin: 26px 0 8px; }
.auth-aside p { font-size: 13px; color: rgba(255, 255, 255, .65); line-height: 1.7; }
.auth-aside ul { margin-top: 28px; }
.auth-aside ul li { display: flex; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .85); margin-bottom: 18px; align-items: flex-start; }
.auth-aside ul .ico { color: #57d9a3; font-size: 16px; margin-top: 2px; }
.auth-aside .aa-stat { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; color: rgba(255, 255, 255, .55); }
.auth-aside .aa-stat b { color: #fff; font-size: 15px; }
.auth-main { flex: 1; padding: 40px 44px 30px; }
.pw-strength { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pw-bars { display: flex; gap: 4px; flex: 1; }
.pw-bars i { height: 4px; flex: 1; background: var(--line-2); border-radius: 2px; transition: background .2s; }
.pw-bars.s1 i:nth-child(1) { background: var(--red); }
.pw-bars.s2 i:nth-child(-n+2) { background: var(--orange); }
.pw-bars.s3 i { background: var(--green); }
.pw-label { font-size: 12px; color: var(--ink-3); min-width: 24px; }

/* 管理员登录 */
.admin-login-bg {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #061024 0%, #0a1c40 50%, #0c2f70 100%);
  position: relative; overflow: hidden; padding: 40px 24px;
}
.admin-login-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(96, 140, 220, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 140, 220, .07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.admin-login-bg::after { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 108, 255, .3), transparent); top: -180px; right: -100px; }
.admin-login-card {
  position: relative; z-index: 1; width: 880px; max-width: 100%;
  background: #fff; border-radius: 8px; display: flex; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.al-side { width: 400px; flex-shrink: 0; background: linear-gradient(160deg, #0a1a3e, #0d2f74); color: #fff; padding: 46px 40px; display: flex; flex-direction: column; }
.al-side .logo { margin-bottom: 10px; }
.al-side .logo .logo-name { color: #fff; }
.al-side h2 { font-size: 24px; font-weight: 600; margin: 34px 0 10px; }
.al-side p { font-size: 13px; color: rgba(255, 255, 255, .6); line-height: 1.8; }
.al-list { margin-top: 34px; flex: 1; }
.al-list li { display: flex; gap: 12px; margin-bottom: 22px; align-items: flex-start; }
.al-list .ico { font-size: 17px; color: #4a9dff; margin-top: 2px; }
.al-list b { display: block; font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.al-list span { font-size: 12px; color: rgba(255, 255, 255, .5); line-height: 1.6; }
.al-ver { font-size: 12px; color: rgba(255, 255, 255, .35); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; }
.al-main { flex: 1; padding: 46px 48px; display: flex; flex-direction: column; }
.al-main .auth-title { display: flex; align-items: center; gap: 10px; }
.al-main .auth-sub { margin-bottom: 30px; }
.admin-tag { background: rgba(213, 73, 65, .08); color: var(--red); font-size: 12px; padding: 3px 8px; border-radius: 2px; font-weight: 500; }
.captcha-row { display: flex; gap: 10px; }
.captcha-row .input { flex: 1; }
.captcha-canvas { width: 110px; height: 36px; border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer; flex-shrink: 0; }
.al-foot { margin-top: auto; padding-top: 24px; font-size: 12px; color: var(--ink-3); display: flex; justify-content: space-between; }
.al-foot a { color: var(--ink-3); }
.al-foot a:hover { color: var(--blue); }

/* ============================================================
   控制台（客户 / 管理员）框架
   ============================================================ */
.console-topbar {
  position: sticky; top: 0; z-index: 90; height: var(--head-h);
  background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 20px; gap: 16px;
}
.tb-logo { display: flex; align-items: center; gap: 10px; }
.tb-logo .logo-mark { width: 28px; height: 28px; }
.tb-logo .logo-name { font-size: 16px; font-weight: 600; }
.tb-div { width: 1px; height: 18px; background: var(--line); }
.tb-title { font-size: 15px; color: var(--ink-2); padding: 4px 10px; border-radius: 2px; }
.tb-title.admin { color: var(--red); background: rgba(213, 73, 65, .06); font-weight: 500; }
.tb-search {
  display: flex; align-items: center; gap: 8px; width: 300px; height: 32px;
  background: var(--bg); border-radius: 16px; padding: 0 14px; margin-left: 8px;
}
.tb-search .ico { color: var(--ink-3); font-size: 14px; }
.tb-search input { border: none; outline: 0; background: transparent; width: 100%; font-size: 13px; }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tb-icon-btn {
  position: relative; width: 34px; height: 34px; border-radius: 4px; border: none;
  background: transparent; color: var(--ink-2); font-size: 17px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.tb-icon-btn:hover { background: var(--bg); color: var(--blue); }
.tb-icon-btn .tb-badge {
  position: absolute; top: 2px; right: 2px; min-width: 15px; height: 15px;
  background: var(--red); color: #fff; font-size: 10px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.side-toggle { display: none; }

/* 侧栏 */
.console-body { display: flex; align-items: stretch; }
.console-side {
  width: 208px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--line);
  position: sticky; top: var(--head-h); align-self: flex-start;
  height: calc(100vh - var(--head-h)); overflow-y: auto; padding: 12px 0 24px;
}
.side-group { padding: 14px 20px 6px; font-size: 12px; color: var(--ink-4); }
.side-item {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px 0 20px;
  font-size: 14px; color: var(--ink-2); cursor: pointer; position: relative; margin: 1px 8px;
  border-radius: 3px;
}
.side-item .ico { font-size: 16px; color: var(--ink-3); }
.side-item:hover { background: var(--bg-2); color: var(--ink); }
.side-item.active { background: var(--blue-bg); color: var(--blue); font-weight: 500; }
.side-item.active .ico { color: var(--blue); }
.side-item.active::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  background: var(--blue); border-radius: 2px;
}
.side-badge {
  margin-left: auto; font-size: 11px; padding: 1px 7px; border-radius: 8px;
  background: var(--bg); color: var(--ink-3);
}
.side-badge.hot { background: rgba(213, 73, 65, .1); color: var(--red); }
.side-badge.new { background: rgba(0, 82, 217, .1); color: var(--blue); }

/* 主内容区 */
.console-main { flex: 1; min-width: 0; }
.crumb-wrap { padding: 16px 24px 0; }
.crumb { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--blue); }
.crumb .ico { font-size: 12px; }
.crumb .cur { color: var(--ink-2); }
.page-content { padding: 16px 24px 32px; }

/* ---------- 卡片 ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow-card); }
.card + .card, .section-gap { margin-top: 16px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--line-2);
}
.card-title { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.card-title .ico { color: var(--blue); font-size: 16px; }
.card-extra { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 12px; }
.card-body { padding: 20px; }
.card-body.flush { padding: 0; }

/* ---------- 统计卡 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 20px 22px; position: relative; overflow: hidden; }
.stat-card .st-ic {
  position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.st-ic.blue { background: var(--blue-bg); color: var(--blue); }
.st-ic.green { background: rgba(43, 164, 113, .1); color: var(--green); }
.st-ic.orange { background: rgba(227, 115, 24, .1); color: var(--orange); }
.st-ic.red { background: rgba(213, 73, 65, .08); color: var(--red); }
.stat-label { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.stat-value { font-size: 28px; font-weight: 600; line-height: 1.1; font-family: "Helvetica Neue", Arial, sans-serif; }
.stat-value small { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-left: 2px; }
.stat-trend { margin-top: 10px; font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.trend-chip { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; padding: 1px 6px; border-radius: 2px; }
.trend-chip .ico { font-size: 12px; }
.trend-chip.up { color: var(--green); background: rgba(43, 164, 113, .08); }
.trend-chip.down { color: var(--red); background: rgba(213, 73, 65, .08); }

/* ---------- 图表 ---------- */
.chart-box { position: relative; }
.chart-box canvas { width: 100%; display: block; }
.chart-legend { display: flex; gap: 20px; font-size: 12px; color: var(--ink-3); }
.legend-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 6px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; font-size: 13px; }
.table th {
  text-align: left; font-weight: 400; font-size: 12px; color: var(--ink-3);
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2);
  white-space: nowrap;
}
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: middle; white-space: nowrap; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: #f6f9ff; }
.table tbody tr:last-child td { border-bottom: none; }
.table .cell-main { color: var(--ink); font-weight: 500; }
.table .cell-sub { font-size: 12px; color: var(--ink-3); margin-top: 3px; font-weight: 400; }
.row-actions a { font-size: 13px; margin-right: 12px; }
.row-actions a:last-child { margin-right: 0; }
.row-actions .sep { color: var(--line); margin-right: 12px; }
.money-up { color: var(--green); font-weight: 500; }
.money-down { color: var(--ink); font-weight: 500; }
.mono { font-family: "SF Mono", Consolas, Menlo, monospace; font-size: 12.5px; }

/* 筛选栏 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.filter-item { display: flex; align-items: center; gap: 8px; }
.filter-item label { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.filter-item .input, .filter-item .select { width: 170px; height: 32px; font-size: 13px; }
.filter-item .input.w-lg { width: 220px; }
.filter-actions { margin-left: auto; display: flex; gap: 10px; }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 16px 20px; font-size: 13px; color: var(--ink-3); }
.pager .pg {
  min-width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
  background: #fff; cursor: pointer; color: var(--ink-2);
}
.pager .pg:hover { color: var(--blue); border-color: var(--blue); }
.pager .pg.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .pg.plain { border: none; cursor: default; background: transparent; }
.pager .pg[disabled] { color: var(--ink-4); cursor: not-allowed; border-color: var(--line-2); }
.pager .pg-total { margin-right: 10px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line-2); padding: 0 20px; }
.tab {
  position: relative; padding: 14px 2px; font-size: 14px; color: var(--ink-2);
  cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.tab:hover { color: var(--blue); }
.tab.active { color: var(--blue); font-weight: 500; }
.tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.tab .tab-badge { font-size: 11px; background: var(--bg); color: var(--ink-3); padding: 1px 7px; border-radius: 8px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ---------- 进度条 ---------- */
.prog { display: flex; align-items: center; gap: 10px; min-width: 130px; }
.prog-track { display: block; flex: 1; height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.prog-bar { display: block; height: 100%; border-radius: 3px; background: var(--blue); transition: width .3s; }
.prog-bar.warn { background: var(--orange); }
.prog-bar.err { background: var(--red); }
.prog-bar.ok { background: var(--green); }
.prog-val { font-size: 12px; color: var(--ink-3); min-width: 64px; text-align: right; }

/* ---------- 下拉菜单 ---------- */
.dropdown { position: relative; }
.drop-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 160px;
  background: #fff; border-radius: 4px; box-shadow: var(--shadow-pop);
  border: 1px solid var(--line-2); padding: 6px; display: none; z-index: 120;
}
.dropdown.open .drop-menu { display: block; animation: fadeDown .15s ease; }
.drop-menu .dm-head { padding: 10px 12px 8px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.drop-menu .dm-head b { display: block; font-size: 14px; }
.drop-menu .dm-head span { font-size: 12px; color: var(--ink-3); }
.drop-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 3px;
  font-size: 13px; color: var(--ink-2); cursor: pointer;
}
.drop-item .ico { font-size: 15px; color: var(--ink-3); }
.drop-item:hover { background: var(--bg-2); color: var(--ink); }
.drop-item.danger, .drop-item.danger .ico { color: var(--red); }
.drop-sep { height: 1px; background: var(--line-2); margin: 4px 8px; }

.avatar-btn { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 6px; border-radius: 4px; }
.avatar-btn:hover { background: var(--bg); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; vertical-align: -10px;
}
.avatar.lg { width: 44px; height: 44px; font-size: 17px; }
.avatar.sm { width: 24px; height: 24px; font-size: 11px; }

/* ---------- 提示条 ---------- */
.notice-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-radius: 3px; font-size: 13px; margin-bottom: 16px;
}
.notice-bar .ico { font-size: 16px; flex-shrink: 0; }
.notice-bar.warn { background: rgba(227, 115, 24, .07); color: #b35a10; border: 1px solid rgba(227, 115, 24, .2); }
.notice-bar.info { background: var(--blue-bg); color: var(--blue); border: 1px solid rgba(0, 82, 217, .18); }
.notice-bar.err { background: rgba(213, 73, 65, .06); color: var(--red); border: 1px solid rgba(213, 73, 65, .2); }
.notice-bar .nb-extra { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.notice-bar .nb-close { cursor: pointer; color: inherit; opacity: .5; }
.notice-bar .nb-close:hover { opacity: 1; }

/* ---------- 欢迎横幅（客户总览） ---------- */
.welcome-bar { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 22px 24px; }
.welcome-bar .avatar.lg { background: var(--blue); }
.welcome-info { flex: 1; }
.welcome-info h3 { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.welcome-info .sub { font-size: 13px; color: var(--ink-3); margin-top: 6px; display: flex; gap: 16px; align-items: center; }
.welcome-actions { display: flex; gap: 10px; }

/* 双栏布局 */
.layout-2col { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.layout-2col.r32 { grid-template-columns: 1fr 320px; }
.layout-2col > div { min-width: 0; }

/* 安全检查清单 */
.check-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.check-list li:last-child { border-bottom: none; }
.check-list .ck-ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.ck-ic.done { background: rgba(43, 164, 113, .1); color: var(--green); }
.ck-ic.todo { background: rgba(227, 115, 24, .1); color: var(--orange); }
.check-list .ck-body { flex: 1; }
.check-list b { display: block; font-size: 13px; font-weight: 500; }
.check-list span { font-size: 12px; color: var(--ink-3); }

/* 公告列表 */
.news-list li { padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.danger-card { border-color: rgba(213, 73, 65, .35); }
.danger-card .card-head { border-bottom-color: rgba(213, 73, 65, .12); }
.danger-card .card-title, .danger-card .card-title .ico { color: var(--red); }
.settings-avatar { display: flex; align-items: center; gap: 18px; }
.notify-table .checkbox { vertical-align: middle; }
.mfa-qr {
  width: 140px; height: 140px; margin: 0 auto 14px; border: 1px dashed var(--ink-4);
  border-radius: 4px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; color: var(--ink-3);
  background: linear-gradient(var(--bg-2) 1px, transparent 1px) 0 0 / 14px 14px;
}
.mfa-qr .ico { font-size: 34px; color: var(--blue); }
.news-list li:last-child { border-bottom: none; }
.news-list .nl-date { font-size: 12px; color: var(--ink-4); margin-top: 5px; }
.news-list a { color: var(--ink-2); display: block; line-height: 1.5; }
.news-list a:hover { color: var(--blue); }
.news-list .nl-tag { font-size: 11px; margin-right: 8px; }

/* 快捷入口 */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; border-radius: 3px; }
.quick-item:hover { background: var(--bg-2); color: var(--blue); }
.quick-item .qi-ic {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue-bg);
  color: var(--blue); font-size: 19px; display: flex; align-items: center; justify-content: center;
}

/* ---------- 开关 Switch ---------- */
.switch { position: relative; display: inline-block; width: 36px; height: 20px; vertical-align: middle; }
.switch input { display: none; }
.switch i {
  position: absolute; inset: 0; background: #c9cdd4; border-radius: 10px;
  transition: background .2s; cursor: pointer; display: block;
}
.switch i::before {
  content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px;
  background: #fff; border-radius: 50%; transition: transform .2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.switch input:checked + i { background: var(--blue); }
.switch input:checked + i::before { transform: translateX(16px); }
.switch input:disabled + i { opacity: .45; cursor: not-allowed; }

/* ---------- 设置行（系统设置类页面） ---------- */
.set-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.set-row:last-child { border-bottom: none; }
.set-row .st-info { flex: 1; min-width: 0; }
.set-row .st-info b { display: block; font-size: 14px; font-weight: 500; }
.set-row .form-help { margin-top: 5px; }
.set-row .switch { margin-top: 2px; flex-shrink: 0; }

/* ---------- 上传框 ---------- */
.upload-box {
  border: 1px dashed var(--ink-4); border-radius: 4px; padding: 22px 16px;
  text-align: center; color: var(--ink-3); cursor: pointer; transition: all .15s;
  font-size: 13px;
}
.upload-box:hover { border-color: var(--blue); color: var(--blue); background: var(--bg-2); }
.upload-box .ico { font-size: 26px; display: block; margin: 0 auto 8px; }

/* ---------- 商品分类面板 ---------- */
.cate-layout { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.cate-panel { padding: 10px; }
.cate-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px 12px; font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--line-2); margin-bottom: 6px;
}
.cate-item {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px;
  border-radius: 3px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; margin: 1px 0;
}
.cate-item .ico { font-size: 15px; color: var(--ink-3); }
.cate-item:hover { background: var(--bg-2); color: var(--ink); }
.cate-item.active { background: var(--blue-bg); color: var(--blue); font-weight: 500; }
.cate-item.active .ico { color: var(--blue); }
.cate-count { margin-left: auto; font-size: 11.5px; color: var(--ink-3); background: var(--bg); padding: 1px 8px; border-radius: 8px; }
.cate-item.active .cate-count { background: rgba(0, 82, 217, .14); color: var(--blue); }
.cate-note { padding: 12px 12px 4px; font-size: 12px; color: var(--ink-4); line-height: 1.6; }

/* ---------- 主题（品牌色换肤） ---------- */
html[data-theme="violet"] { --blue: #6a3df5; --blue-h: #7e56f8; --blue-a: #5b31d6; --blue-bg: #f2edff; }
html[data-theme="cyan"]   { --blue: #0a93ab; --blue-h: #23a7bb; --blue-a: #07788e; --blue-bg: #e6f6f9; }
html[data-theme="emerald"] { --blue: #0e9f6e; --blue-h: #26b184; --blue-a: #0a7f58; --blue-bg: #e7f6f0; }

/* ---------- 主题预览卡 ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.theme-card {
  border: 1.5px solid var(--line); border-radius: 4px; padding: 10px;
  cursor: pointer; position: relative; transition: all .15s; background: #fff;
}
.theme-card:hover { border-color: var(--ink-4); }
.theme-card.active { border-color: var(--blue); background: var(--blue-bg); }
.theme-card .tc-flag {
  position: absolute; top: -1px; right: -1px; background: var(--blue); color: #fff;
  font-size: 11px; padding: 3px 8px; border-radius: 0 4px 0 4px; display: none;
}
.theme-card.active .tc-flag { display: block; }
.theme-thumb { height: 112px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; }
.tc-name { font-size: 13px; font-weight: 500; margin-top: 10px; display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.tc-name .swatch { width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,.08); }
.tc-desc { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

/* 缩略图 · 官网首页 */
.tt-nav { height: 20px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 5px; padding: 0 9px; }
.tt-nav i { width: 15px; height: 4px; border-radius: 2px; background: #d8dce3; }
.tt-nav .tt-logo { width: 10px; height: 10px; border-radius: 3px; background: var(--tc); }
.tt-nav .tt-btn { margin-left: auto; width: 28px; height: 9px; border-radius: 2px; background: var(--tc); }
.tt-hero { height: 56px; background: linear-gradient(120deg, #0b1e42 20%, var(--tc)); position: relative; }
.tt-hero b { position: absolute; left: 9px; top: 11px; width: 96px; height: 7px; background: rgba(255,255,255,.85); border-radius: 2px; }
.tt-hero span { position: absolute; left: 9px; top: 26px; width: 64px; height: 5px; background: rgba(255,255,255,.38); border-radius: 2px; }
.tt-cta { position: absolute; left: 9px; bottom: 7px; width: 36px; height: 10px; border-radius: 2px; background: #fff; }
.tt-cta.ghost { left: 49px; background: transparent; border: 1px solid rgba(255,255,255,.7); }
.tt-row { display: flex; gap: 5px; padding: 7px 9px; }
.tt-row i { flex: 1; height: 20px; border-radius: 2px; background: var(--bg); border-top: 2px solid var(--tc); }

/* 缩略图 · 用户中心 */
.tt-console { display: flex; height: 100%; }
.tt-side { width: 40px; background: #fff; border-right: 1px solid var(--line-2); padding: 6px 5px; display: flex; flex-direction: column; gap: 5px; }
.tt-side i { height: 5px; border-radius: 2px; background: #dde1e8; }
.tt-side i.on { background: var(--tc); }
.tt-cmain { flex: 1; background: var(--bg); padding: 6px; }
.tt-stat { height: 16px; background: #fff; border: 1px solid var(--line-2); border-left: 2px solid var(--tc); border-radius: 2px; margin-bottom: 5px; }
.tt-chart { height: 52px; background: #fff; border: 1px solid var(--line-2); border-radius: 2px; position: relative; overflow: hidden; }
.tt-chart::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 4px; top: 10px;
  background: linear-gradient(to top, var(--tc), transparent);
  clip-path: polygon(0 100%, 12% 62%, 26% 74%, 42% 40%, 58% 55%, 74% 22%, 100% 34%, 100% 100%);
  opacity: .55;
}

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0, 8, 26, .45); z-index: 200;
  display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px;
}
.modal-mask.open { display: flex; }
.modal {
  width: 480px; max-width: 100%; background: #fff; border-radius: 4px;
  animation: modalIn .18s ease; max-height: 76vh; overflow: auto;
}
.modal.w-lg { width: 640px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.modal-head h4 { font-size: 16px; font-weight: 600; }
.modal-close { border: none; background: none; cursor: pointer; color: var(--ink-3); font-size: 18px; display: flex; padding: 2px; }
.modal-close:hover { color: var(--ink); }
.modal-body { padding: 22px; }
.modal-foot { padding: 14px 22px 20px; display: flex; justify-content: flex-end; gap: 10px; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.amount-chip {
  border: 1px solid var(--line); border-radius: 3px; padding: 10px 0; width: 96px;
  text-align: center; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--ink-2);
}
.amount-chip:hover { border-color: var(--blue); color: var(--blue); }
.amount-chip.active { border-color: var(--blue); color: var(--blue); background: var(--blue-bg); }
.amount-chip small { display: block; font-size: 11px; color: var(--orange); margin-top: 2px; font-weight: 400; }
.pay-list { display: flex; gap: 10px; }
.pay-item {
  flex: 1; border: 1px solid var(--line); border-radius: 3px; padding: 12px;
  display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; color: var(--ink-2);
}
.pay-item .ico { font-size: 17px; }
.pay-item.active { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 4px;
  box-shadow: var(--shadow-pop); padding: 11px 18px; font-size: 13px; color: var(--ink);
  animation: toastIn .25s ease; border: 1px solid var(--line-2);
}
.toast .ico { font-size: 16px; }
.toast.success .ico { color: var(--green); }
.toast.error .ico { color: var(--red); }
.toast.info .ico { color: var(--blue); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.toast.out { animation: toastOut .25s ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

/* ---------- 内容页（产品 / 数据中心 / 关于） ---------- */
.page-hero { background: linear-gradient(120deg, #081736 0%, #0d2a5e 55%, #0a3a86 100%); color: #fff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero .container { position: relative; padding-top: 52px; padding-bottom: 52px; }
.ph-crumb { font-size: 12px; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
.ph-crumb a { color: rgba(255, 255, 255, .55); }
.ph-crumb a:hover { color: #fff; }
.page-hero h1 { font-size: 32px; font-weight: 600; margin-bottom: 10px; }
.page-hero .ph-sub { font-size: 14px; color: rgba(255, 255, 255, .65); max-width: 640px; line-height: 1.7; }
.page-hero .ph-stats { display: flex; gap: 48px; margin-top: 30px; }
.ph-stats b { display: block; font-size: 24px; font-weight: 600; }
.ph-stats b i { font-style: normal; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.6); margin-left: 2px; }
.ph-stats span { font-size: 12px; color: rgba(255, 255, 255, .55); }

/* 锚点导航 */
.anchor-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 80; }
.anchor-nav .container { display: flex; gap: 40px; height: 46px; align-items: center; }
.anchor-nav a { font-size: 14px; color: var(--ink-2); height: 100%; display: flex; align-items: center; border-bottom: 2px solid transparent; }
.anchor-nav a.active, .anchor-nav a:hover { color: var(--blue); border-color: var(--blue); }

/* 方案卡 */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sol-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px 24px; transition: all .2s; }
.sol-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.sol-ic { width: 48px; height: 48px; border-radius: 6px; background: linear-gradient(135deg, #0052d9, #2b7ae5); color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sol-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.sol-desc { font-size: 13px; color: var(--ink-3); line-height: 1.7; margin-bottom: 16px; min-height: 66px; }
.sol-feats { font-size: 12px; color: var(--ink-3); }
.sol-feats li { display: flex; gap: 6px; margin-bottom: 7px; align-items: center; }
.sol-feats .ico { color: var(--blue); font-size: 13px; }

/* FAQ 手风琴 */
.acc { border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--line-2); }
.acc-head {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 22px;
  font-size: 15px; font-weight: 500; cursor: pointer; color: var(--ink); gap: 16px;
}
.acc-head:hover { color: var(--blue); }
.acc-head .ico { font-size: 16px; color: var(--ink-3); transition: transform .2s; flex-shrink: 0; }
.acc-item.open .acc-head .ico { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.acc-body-inner { padding: 0 22px 20px; font-size: 13px; color: var(--ink-3); line-height: 1.9; }
.acc-item.open .acc-body { max-height: 260px; }

/* 时间线 */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -24px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--blue);
}
.tl-year { font-size: 17px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.tl-text { font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* 数据中心节点卡 */
.dc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dc-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: all .2s; }
.dc-card:hover { box-shadow: var(--shadow-pop); }
.dc-card-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px 16px; }
.dc-flag {
  width: 44px; height: 44px; border-radius: 6px; background: var(--blue-bg);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.dc-card-head h3 { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.dc-card-head .sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; font-weight: 400; }
.dc-card-body { padding: 4px 24px 20px; }
.dc-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13px; color: var(--ink-2); border-bottom: 1px dashed var(--line-2); }
.dc-row:last-child { border-bottom: none; }
.dc-row .k { color: var(--ink-3); width: 84px; flex-shrink: 0; }
.dc-row .v { flex: 1; }
.dc-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ping-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.ping-bars i { width: 4px; background: var(--green); border-radius: 1px; }
.ping-bars i:nth-child(1) { height: 30%; } .ping-bars i:nth-child(2) { height: 55%; }
.ping-bars i:nth-child(3) { height: 80%; } .ping-bars i:nth-child(4) { height: 100%; }
.ping-bars.mid i { background: var(--orange); }

/* 联系卡 */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 26px; text-align: center; }
.contact-card .ci-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--blue-bg); color: var(--blue); font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.contact-card b { display: block; font-size: 17px; margin-bottom: 6px; font-family: "Helvetica Neue", Arial; }
.contact-card .cc-name { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; font-weight: 500; }
.contact-card span { font-size: 12px; color: var(--ink-3); }

/* 步骤条 */
.steps { display: flex; gap: 0; }
.step { flex: 1; text-align: center; position: relative; }
.step .s-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--ink-3);
  display: flex; align-items: center; justify-content: center; font-weight: 600; margin: 0 auto 12px;
  position: relative; z-index: 1;
}
.step::before, .step::after { content: ""; position: absolute; top: 17px; height: 2px; background: var(--line-2); width: 50%; }
.step::before { left: 0; } .step::after { right: 0; }
.step:first-child::before, .step:last-child::after { display: none; }
.step.done .s-num, .step.doing .s-num { background: var(--blue); color: #fff; }
.step.doing .s-num { box-shadow: 0 0 0 4px rgba(0, 82, 217, .15); }
.step.done::before, .step.done::after, .step.doing::before { background: var(--blue); }
.step b { display: block; font-size: 14px; margin-bottom: 4px; }
.step span { font-size: 12px; color: var(--ink-3); }

/* ---------- 响应式（保底） ---------- */
@media (max-width: 1080px) {
  body { min-width: 0; }
  .main-nav { display: none; }
  .header-search { display: none; }
  .menu-btn {
    display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border: none; background: none; font-size: 22px; color: var(--ink); cursor: pointer; margin-left: auto;
  }
  .header-actions { margin-left: 0; }
  .header-actions .header-cart, .header-actions .v-div, .header-actions .login-link { display: none; }
  .mobile-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-pop); padding: 8px 0; }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 13px 24px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
  .hero-inner { flex-direction: column; padding: 56px 24px; }
  .hero-title { font-size: 32px; }
  .hero-visual { width: 100%; max-width: 460px; }
  .prod-grid, .feat-grid, .sol-grid, .guarantee-bar, .case-grid, .contact-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .dc-grid { grid-template-columns: 1fr; }
  .layout-2col, .layout-2col.r32 { grid-template-columns: 1fr; }
  .cate-layout { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .logo-wall .lw-item { width: 33%; border: none; }
  .console-side { position: fixed; left: 0; top: var(--head-h); bottom: 0; z-index: 95; display: none; box-shadow: var(--shadow-pop); }
  .console-side.open { display: block; }
  .side-toggle { display: flex; }
  .tb-search { display: none; }
  .stat-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; gap: 20px; }
  .step::before, .step::after { display: none; }
  .auth-card.wide { flex-direction: column; }
  .auth-aside { width: 100%; }
  .admin-login-card { flex-direction: column; }
  .al-side { width: 100%; }
}
