/* ==========================================================================
   轻迅云 · V10 官网主题样式（v10.css）
   --------------------------------------------------------------------------
   位置：public/web/v10/css/v10.css
   适用：智简魔方 V10（10.7.x）前台主题
   职责：全站设计令牌（CSS 变量）+ 公共布局 + 通用组件样式
   风格：青绿主色 / 大圆角 / 卡片化 / 浅灰底

   【设计令牌】全部集中在下面的 :root，换主题色只改这里：
       --c-primary        主色                 #00ac9c
       --c-primary-dark   深色（悬停、描边）    #008a7d
       --c-primary-soft   浅底（标签、斑马纹）  #e6f7f5
       --c-ink            标题文字             #0b1a33
       --c-text           正文文字             #4a5a72
       --c-muted          次要文字             #8896ab
       --c-line           分割线 / 边框

   【三条硬性约定】
     1. 样式必须写在独立 css 文件里：模板引擎把 { } 当作模板标签，
        写进 <style> 会被当成标签解析（例如 {color:red} 直接报错）。
     2. 本文件只放全站通用部分；页面专属样式放各自的 css
        （product.css / news.css / cloud.css …），避免互相污染。
     3. 改完样式要同步递增 header.html 里的 ?v= 版本号，
        否则用户浏览器走缓存，看不到改动。

   【改动记录】
     2026-11  主色由 #165dff 统一为 #00ac9c，全站品牌色对齐
   ========================================================================== */

:root {
  --c-primary: #00ac9c;
  --c-primary-dark: #008a7d;
  --c-primary-soft: #e6f7f5;
  --c-ink: #0b1a33;
  --c-text: #4a5a72;
  --c-muted: #8896ab;
  --c-line: #e6ebf4;
  --c-bg: #f6f8fc;
  --c-white: #ffffff;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow-s: 0 2px 8px rgba(16, 42, 88, .05);
  --shadow: 0 10px 30px rgba(16, 42, 88, .08);
  --shadow-l: 0 22px 60px rgba(16, 42, 88, .12);
  --container: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--c-text);
  background: var(--c-white);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; vertical-align: middle; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--c-ink); font-weight: 600; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0; }
@media (max-width: 1240px) { .wrap { padding: 0 20px; } }
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--bg { background: var(--c-bg); }

/* ---------------- 顶部导航 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.topbar-bar {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  height: 63px;
  display: flex;
  align-items: center;
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 30px; width: auto; display: block; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--c-ink); letter-spacing: .5px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  margin-left: 84px;
  height: 64px;
}

.nav-cell { position: static; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--c-ink);
  transition: color .16s ease;
}
.nav-link:hover,
.nav-link.is-active { color: var(--c-primary); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -10px;
  bottom: 12px;
  width: 20px;
  height: 2px;
  background: var(--c-primary);
}

.nav-arrow {
  width: 6px;
  height: 6px;
  margin-left: 6px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  transition: opacity .16s ease;
}
.nav-link:hover .nav-arrow,
.user-chip:hover .nav-arrow { opacity: 1; }

/* 下拉面板：整屏白底，内容对齐 1200 栅格 */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: none;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .09);
}
.nav-cell:hover .mega,
.mega.is-open { display: block; }

.mega-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 320px;
  display: flex;
  align-items: stretch;
}

.mega-side {
  width: 200px;
  flex: none;
  background: #f8fafc;
  border-right: 1px solid #f0f3f7;
  padding-top: 16px;
  position: relative;
}

.mega-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 37px;
  padding: 0 22px;
  background: transparent;
  border: 0;
  font-size: 14px;
  color: #5b6b82;
  text-align: left;
  transition: color .16s ease, background .16s ease;
}
.mega-tab em { font-style: normal; font-size: 13px; color: #96a0b0; }
.mega-tab:hover { color: var(--c-primary); }
.mega-tab.is-active { background: #fff; color: var(--c-primary); font-weight: 500; }
.mega-tab.is-active em { color: var(--c-primary); }

.mega-side-title { padding: 16px 22px 0; font-size: 15px; font-weight: 600; color: var(--c-ink); }
.mega-side-desc { padding: 4px 22px 0; font-size: 12px; line-height: 18px; color: var(--c-muted); }

.mega-side-more {
  position: absolute;
  left: 22px;
  bottom: 13px;
  font-size: 13px;
  color: var(--c-primary);
}
.mega-side-more:hover { text-decoration: underline; }

.mega-main { flex: 1; min-width: 0; padding: 20px 0 0 20px; }
.mega-pane { display: none; }
.mega-pane.is-active { display: block; }

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  grid-auto-rows: 67px;
}
.mega-pane--posts .mega-grid { grid-auto-rows: 85px; }

.mega-post { display: block; min-width: 0; padding-right: 28px; }
.mega-post h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #1f2937;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .16s ease;
}
.mega-post p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 18px;
  color: #606d80;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-post:hover h4 { color: var(--c-primary); }

.nav-user { display: flex; align-items: center; gap: 10px; flex: none; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-ink); }
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  flex: none;
}
.user-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-toggle { display: none; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--c-ink); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 6px 16px rgba(0, 172, 156, .24); }
.btn--primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); }
.btn--ghost { border-color: var(--c-line); color: var(--c-ink); background: #fff; }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--soft { background: var(--c-primary-soft); color: var(--c-primary); }
.btn--soft:hover { background: #d9f2ee; }
.btn--lg { height: 46px; padding: 0 26px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { background: #eef1f6; color: var(--c-muted); box-shadow: none; cursor: not-allowed; transform: none; }

.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--c-line); border-radius: 10px; background: #fff; }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  height: 701px;
  padding: 89px 0 0;
  background: linear-gradient(180deg, #fbfcfd 0%, #f6f8fa 42%, #fdfefe 78%, #fff 100%);
  overflow: hidden;
  isolation: isolate;
}

/* 右侧斜向柔光，还原参考站首屏的低对比底色 */
.hero::after {
  content: "";
  position: absolute;
  right: -14%;
  top: -26%;
  width: 74%;
  height: 168%;
  background: linear-gradient(112deg, rgba(222, 229, 238, 0) 40%, rgba(222, 229, 238, .5) 56%, rgba(222, 229, 238, 0) 72%);
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 48px;
  align-items: start;
}

.hero-rail { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.hero-rail button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #1f2937;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.hero-rail button::after {
  content: "\203A";
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  transition: opacity .2s ease;
}
.hero-rail button:hover { color: var(--c-primary); }
.hero-rail button.is-active {
  background: var(--c-primary);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 10px 22px rgba(0, 172, 156, .2);
}
.hero-rail button.is-active::after { opacity: 1; }

.hero-stage { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: fadeUp .42s cubic-bezier(.22, 1, .36, 1) both; }

.hero-slide h1 { max-width: 412px; margin: 0; color: #111a34; font-size: 52px; font-weight: 700; line-height: 60px; letter-spacing: .2px; }
.hero-slide p { max-width: 460px; margin: 24px 0 0; color: #5a6473; font-size: 15px; line-height: 25px; }
.hero-btns { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.hero-btns .btn {
  min-width: 133px;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}

/* ===== 首屏右侧 3D 主视觉（图片路径见 data/web/hero.json -> slides[].image） ===== */
.hero-slide.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  align-items: center;
  column-gap: 28px;
}
.hero-media { display: block; position: relative; }
.hero-media .hero-visual {
  display: block;
  width: 100%;
  height: auto;
  /* 白底素材与首屏浅色背景自然融合：multiply 吃掉白底，椭圆遮罩让主体悬浮 */
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 47%, #000 34%, rgba(0, 0, 0, .9) 48%, rgba(0, 0, 0, .3) 63%, transparent 81%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 47%, #000 34%, rgba(0, 0, 0, .9) 48%, rgba(0, 0, 0, .3) 63%, transparent 81%);
  animation: heroFloat 7s ease-in-out infinite;
  will-change: transform;
}
/* 图片后的青绿柔光，呼应主色 #00ac9c */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 4% 2% 10%;
  background: radial-gradient(circle at 55% 45%, rgba(0, 172, 156, .18) 0%, rgba(0, 172, 156, .06) 46%, rgba(0, 172, 156, 0) 72%);
  filter: blur(14px);
  z-index: -1;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-visual { animation: none; }
}
.hero-tag { display: none; }

.hero-dots {
  position: absolute;
  left: 50%;
  /* 放在按钮区下方、信任条上方的空白带里，避免与「查看详情」按钮重叠 */
  top: 470px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero-dots span {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: rgba(31, 41, 55, .3);
  transition: background .28s, width .28s;
  cursor: pointer;
}
.hero-dots span.is-active { width: 30px; background: var(--c-primary); }

/* ---------------- 信任条（首屏内） ---------------- */
.hero-feature-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 520px;
  z-index: 3;
}
.trustbar-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: 137px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #eef2f7;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(16, 42, 88, .06);
  overflow: hidden;
}
.trust-item { padding: 20px 22px; border-right: 1px solid #eef2f7; }
.trust-item:last-child { border-right: 0; }
.trust-label { display: block; font-size: 12px; color: #8896ab; line-height: 18px; }
.trust-item h4 { font-size: 15px; font-weight: 600; color: #1f2937; margin: 7px 0 6px; line-height: 22px; }
.trust-item p { color: #6b7787; font-size: 12px; line-height: 19px; }

/* ---------------- 标题 ---------------- */
.head { text-align: center; max-width: none; margin: 0 auto; }
.head--left { text-align: left; margin-left: 0; }
.head h2 { font-size: 30px; line-height: 38.4px; font-weight: 700; color: #1f2937; letter-spacing: 0; }
.head p { margin: 12px auto 0; max-width: 760px; color: #6b7787; font-size: 14px; line-height: 25.2px; }
.head-link { color: var(--c-primary); margin-left: 14px; }
.head-link:hover { text-decoration: underline; }

/* ---------------- 产品 ---------------- */
.section--products { padding-top: 121px; }
.type-tabs { display: flex; justify-content: center; gap: 38px; flex-wrap: wrap; margin-bottom: 26px; }
.type-tabs button {
  position: relative;
  border: 0;
  background: none;
  color: #5a6473;
  padding: 0 0 20px;
  border-radius: 0;
  font-size: 15px;
  transition: color .18s;
}
.type-tabs button:hover { color: var(--c-primary); }
.type-tabs button.is-active { color: var(--c-primary); font-weight: 500; background: none; box-shadow: none; }
.type-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-primary);
}

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
}
.pcard:hover { border-color: #b8e8e3; box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard-head h3 { font-size: 15.5px; }
.pcard-path { margin-top: 4px; font-size: 12px; color: var(--c-muted); }
.pcard-spec { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.pcard-spec span { background: var(--c-bg); border-radius: 6px; padding: 4px 8px; font-size: 12px; color: var(--c-text); }
.pcard-price { display: flex; align-items: baseline; gap: 4px; margin-top: auto; }
.pcard-price b { font-size: 24px; color: var(--c-primary); font-weight: 700; letter-spacing: -.4px; }
.pcard-price small { color: var(--c-muted); }
.pcard-foot { margin-top: 16px; display: flex; gap: 8px; }

.badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary); }
.badge--warn { background: #f2fbfa; color: #d97706; }
.badge--off { background: #f1f3f7; color: var(--c-muted); }

/* ---------------- 能力 / 方案 ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8eef5;
  padding: 28px 24px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* 顶部主色细线（hover 出现） */
.feature::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ac9c 0%, #33c2b2 58%, rgba(0, 172, 156, 0) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
/* 右上角淡色序号，填补右侧留白 */
.feature::after {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 172, 156, .09);
  letter-spacing: -1px;
}
.feature:nth-child(1)::after { content: "01"; }
.feature:nth-child(2)::after { content: "02"; }
.feature:nth-child(3)::after { content: "03"; }
.feature:nth-child(4)::after { content: "04"; }
.feature:hover {
  transform: translateY(-4px);
  border-color: #b8e8e3;
  box-shadow: 0 14px 30px rgba(0, 172, 156, .13);
}
.feature:hover::before { opacity: 1; }
.feature .ico {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(140deg, #e6f7f5 0%, #d2f0eb 100%);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 172, 156, .10);
}
.feature h4 { font-size: 15.5px; line-height: 22px; margin-bottom: 8px; color: #0b1a33; }
.feature p { font-size: 13px; line-height: 21px; color: #7a8699; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--c-line); }
.split-list li:last-child { border-bottom: 0; }
.split-list b { color: var(--c-ink); font-weight: 600; }
.split-visual {
  border-radius: var(--radius-l);
  background: linear-gradient(150deg, #00ac9c 0%, #008a7d 100%);
  color: #fff;
  padding: 34px;
  box-shadow: var(--shadow-l);
}
.split-visual h3 { color: #fff; font-size: 20px; }
.split-visual p { color: rgba(255, 255, 255, .78); font-size: 13.5px; margin-top: 8px; }
.split-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.split-metrics div { background: rgba(255, 255, 255, .12); border-radius: 12px; padding: 14px; }
.split-metrics b { display: block; font-size: 20px; }
.split-metrics span { font-size: 12px; color: rgba(255, 255, 255, .72); }

/* ---------------- 合作伙伴 ---------------- */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner-grid div {
  height: 82px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 14px;
}
.partner-grid img { max-height: 40px; width: auto; opacity: .86; filter: grayscale(1); transition: all .2s; }
.partner-grid div:hover img { filter: none; opacity: 1; }

/* ---------------- 公告 ---------------- */
.notice-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.notice-list { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.notice-item { display: flex; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--c-line); transition: background .18s; }
.notice-item:last-child { border-bottom: 0; }
.notice-item:hover { background: #fafbff; }
.notice-date { flex: none; width: 62px; text-align: center; color: var(--c-muted); font-size: 12px; }
.notice-date b { display: block; font-size: 20px; color: var(--c-ink); line-height: 1.2; }
.notice-body h4 { font-size: 14.5px; line-height: 1.5; }
.notice-body p { margin-top: 6px; font-size: 12.5px; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.cta-card {
  border-radius: var(--radius-l);
  background: linear-gradient(130deg, #00ac9c, #33c2b2 60%, #7adcd0);
  color: #fff;
  padding: 34px 30px;
  box-shadow: var(--shadow-l);
}
.cta-card h3 { color: #fff; font-size: 22px; }
.cta-card p { margin-top: 10px; color: rgba(255, 255, 255, .86); font-size: 13.5px; }
.cta-card .btn { margin-top: 22px; background: #fff; color: var(--c-primary); }
.cta-card .btn:hover { background: #e9f9f7; }

.cta-band {
  background: linear-gradient(120deg, #00ac9c, #3fc4b5);
  border-radius: var(--radius-l);
  padding: 42px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  box-shadow: var(--shadow-l);
}
.cta-band h3 { color: #fff; font-size: 24px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 8px; font-size: 13.5px; }
.cta-band .btn { background: #fff; color: var(--c-primary); }

/* ---------------- 内页通用 ---------------- */
.pagehead {
  background: linear-gradient(180deg, #f1f6ff, #fff);
  padding: 52px 0 30px;
  border-bottom: 1px solid var(--c-line);
}
.pagehead h1 { font-size: 30px; letter-spacing: -.4px; }
.pagehead p { margin-top: 10px; color: var(--c-muted); }

.crumb { font-size: 12.5px; color: var(--c-muted); margin-bottom: 14px; }
.crumb a:hover { color: var(--c-primary); }

/* ---------------- 产品中心 ---------------- */
.prod-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 28px; align-items: start; }
.prod-side {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 8px;
  position: sticky;
  top: 88px;
}
.prod-side h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--c-muted);
  padding: 12px 14px 10px;
}
.prod-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--c-text);
  transition: all .16s;
}
.prod-side-item em { font-style: normal; font-size: 12px; color: var(--c-muted); }
.prod-side-item:hover { background: var(--c-bg); color: var(--c-primary); }
.prod-side-item.is-active { background: var(--c-primary-soft); color: var(--c-primary); font-weight: 500; }
.prod-side-item.is-active em { color: var(--c-primary); }

.prod-main { min-width: 0; }
.prod-main-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.prod-main-head h2 { font-size: 22px; letter-spacing: -.2px; }
.prod-main-head span { font-size: 13px; color: var(--c-muted); }

.prod-areas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.prod-area {
  padding: 7px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--c-text);
  transition: all .16s;
}
.prod-area:hover { border-color: #b8e8e3; color: var(--c-primary); }
.prod-area.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.prod-notice {
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid #d9f2ee;
  border-radius: 8px;
  background: #f6fdfc;
  font-size: 13px;
  color: #4a5a75;
}

.prod-main .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prod-empty { padding: 70px 0; text-align: center; }
.prod-empty p { color: var(--c-muted); font-size: 13.5px; margin-bottom: 20px; }

.panel { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; }
.panel + .panel { margin-top: 20px; }

.article { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 36px 40px; }
.article h1 { font-size: 26px; line-height: 1.4; }
.article .meta { margin-top: 12px; color: var(--c-muted); font-size: 12.5px; display: flex; gap: 16px; }
.article-body { margin-top: 26px; font-size: 14.5px; line-height: 1.9; color: #33415c; }
.article-body img { max-width: 100%; height: auto; }
.article-body h2, .article-body h3 { margin: 24px 0 12px; }
.article-body p { margin: 10px 0; }
.article-body a { color: var(--c-primary); }
.article-body table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.article-body td, .article-body th { border: 1px solid var(--c-line); padding: 8px 12px; }

.side-list { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; }
.side-list h5 { font-size: 14px; margin-bottom: 12px; }
.side-list li a { display: block; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--c-text); }
.side-list li a:hover { background: var(--c-bg); color: var(--c-primary); }

.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; transition: all .2s; }
.doc-card:hover { box-shadow: var(--shadow); border-color: #b8e8e3; }
.doc-card h4 { font-size: 15px; }
.doc-card p { margin-top: 8px; font-size: 12.8px; color: var(--c-muted); }

.empty { text-align: center; color: var(--c-muted); padding: 60px 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-layout { grid-template-columns: 1fr; gap: 20px; }
  .prod-side { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px; }
  .prod-side h3 { width: 100%; padding: 8px 10px 4px; }
  .prod-side-item { gap: 6px; padding: 8px 12px; background: var(--c-bg); border-radius: 999px; }
  .prod-main .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; row-gap: 18px; }
  .hero-rail { flex-direction: row; overflow-x: auto; padding-top: 0; padding-bottom: 4px; }
  .hero-rail button { width: auto; flex: 0 0 auto; min-height: 44px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
  .hero-slide { grid-template-columns: 1fr; padding: 0; row-gap: 20px; }
  .hero-slide.is-active { grid-template-columns: 1fr; row-gap: 18px; }
  .hero-slide h1 { font-size: 28px; }
  .hero-media { max-width: 360px; margin: 0 auto; }
  /* 小屏改为流式高度，避免右侧主视觉被裁切 */
  .hero { height: auto; padding-bottom: 24px; }
  .hero-feature-strip { position: static; margin-top: 28px; }
  .hero-dots { position: static; top: auto; left: auto; transform: none; margin: 22px 0 6px; }
  .trustbar { margin-top: -32px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .notice-layout { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px; }
  .article { padding: 22px; }
  .doc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .card-grid, .feature-grid, .partner-grid { grid-template-columns: 1fr; }
  .hero-slide { padding: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .head h2 { font-size: 22px; }
}

/* --------------------------------------------------------------------------
   合作伙伴 logo 墙
   --------------------------------------------------------------------------
   结构：.partner-wall > img，一张图一行，竖排
   样式：图片宽度 100% 自适应，白底 + 1px 边框 + 12px 圆角
   原因：早期素材是一张 3976×212 的多品牌长条拼图，横排铺满时窄屏会被压扁变形，
         改成「一图一行」的竖排卡片后，任何宽度下比例都不失真。
   状态：该区块目前在「关于我们」页隐藏（about.html 里 if (false && ...)），
         需要恢复时把 false && 去掉即可。
   -------------------------------------------------------------------------- */
.partner-wall { display: flex; flex-direction: column; gap: 14px; }
.partner-wall img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 18px;
  filter: grayscale(1);
  opacity: .9;
  transition: all .25s ease;
}
.partner-wall img:hover { filter: none; opacity: 1; box-shadow: var(--shadow-s); }

.notice-date { white-space: nowrap; }

/* 规格项为空时不占位（数据库商品未必有 CPU/内存字段） */
.pcard-spec span:empty { display: none; }

/* ==================================================================
   首页改版：产品 / 解决方案 / 品牌墙 / 资讯 / CTA / 页脚
   ================================================================== */

/* ---------------- 产品 ---------------- */
.section--products { padding: 72px 0 80px; }
.section--products .head { margin-bottom: 32px; }
.type-tabs { gap: 32px; margin: 31px 0 28px; height: 48px; align-items: flex-start; }
.type-tabs .prod-tab {
  position: relative;
  border: 0;
  background: none;
  color: #5a6473;
  padding: 8px 2px 16px;
  font-size: 15px;
  line-height: 22px;
  cursor: pointer;
  transition: color .18s;
}
.type-tabs .prod-tab:hover { color: var(--c-primary); }
.type-tabs .prod-tab.is-active { color: var(--c-primary); font-weight: 500; }
.type-tabs .prod-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-primary);
}
.prod-pane { display: none; }
.prod-pane.is-active { display: block; }
.prod-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  height: 130px;
  padding: 14px 20px 12px;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 6px;
  transition: all .2s ease;
}
.prod-card:hover { border-color: #b8e8e3; box-shadow: 0 8px 20px rgba(16, 42, 88, .06); }
.prod-card h4 { font-size: 15px; font-weight: 600; color: #1f2937; line-height: 22px; }
.prod-card p { margin-top: 4px; font-size: 12px; line-height: 20px; color: #7c8698; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-more { margin-top: auto; align-self: flex-end; font-size: 12px; color: var(--c-primary); }

/* ---------------- 解决方案 ---------------- */
.section--sol {
  padding: 78px 0 146px;
  background: linear-gradient(180deg, #f7f9fd 0%, #f2f6fb 46%, #fbfcfe 100%);
  overflow: hidden;
}
.sol-stage { position: relative; margin-top: 95px; padding-top: 109px; min-height: 465px; }
.sol-mock {
  position: absolute;
  left: 10px;
  top: 0;
  width: 645px;
  height: 402px;
  border-radius: 22px;
  background: linear-gradient(150deg, #d7dfe8 0%, #e4eaf0 42%, #eef2f6 100%);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.sol-mock::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 12% 6%, rgba(255,255,255,.6), rgba(255,255,255,0) 62%);
}
.sol-bar {
  position: relative;
  z-index: 1;
  display: block;
  width: 236px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .78);
}
.sol-bar--wide { width: 372px; height: 26px; border-radius: 13px; }
.sol-bar--short { width: 156px; }
.sol-check {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  margin: 56px 0 42px 6px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(16, 42, 88, .08);
}
.sol-check svg { width: 46px; height: 46px; }
.sol-dots { display: flex; gap: 8px; margin-left: 6px; }
.sol-dots i { width: 22px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.85); }

.sol-card {
  position: relative;
  z-index: 2;
  margin-left: 245px;
  width: 962px;
  max-width: 100%;
  min-height: 356px;
  display: flex;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(16, 42, 88, .12);
}
.sol-nav {
  width: 199px;
  flex: none;
  padding: 16px 0;
  border-right: 1px solid #f0f3f8;
}
.sol-tab {
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  padding: 0 22px;
  border: 0;
  background: none;
  color: #1f2937;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: all .16s;
}
.sol-tab:hover { color: var(--c-primary); }
.sol-tab.is-active {
  height: 50px;
  margin: 6px 0;
  background: var(--c-primary);
  color: #fff;
  font-weight: 500;
}
.sol-body { flex: 1; min-width: 0; padding: 22px 40px 24px 44px; }
.sol-pane { display: none; }
.sol-pane.is-active { display: block; }
.sol-pane h3 { font-size: 16px; font-weight: 600; color: #111a34; }
.sol-desc { margin-top: 10px; font-size: 12px; line-height: 21px; color: #5a6473; }
.sol-pane h5 { margin-top: 18px; font-size: 13px; font-weight: 600; color: #111a34; }
.sol-list { margin-top: 8px; display: grid; gap: 6px; }
.sol-list li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #5a6473; }
.sol-list svg { width: 14px; height: 14px; flex: none; }
.sol-btns { display: flex; gap: 10px; margin-top: 12px; }
.sol-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 32px;
  padding: 0 16px;
  border: 1px solid #dfe5ef;
  border-radius: 4px;
  background: #fff;
  color: #1f2937;
  font-size: 12px;
  transition: all .18s;
}
.sol-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.sol-btn--primary {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.sol-btn--primary:hover { background: #008a7d; color: #fff; }

/* ---------------- 品牌墙 ---------------- */
.section--partners { padding: 72px 0 64px; overflow: hidden; }
.section--partners .head { margin-bottom: 40px; }
.section--partners .head h2 { font-size: 32px; line-height: 42px; font-weight: 700; color: #1f2937; }
.wall { display: flex; flex-direction: column; gap: 10px; }
.wall-row {
  display: flex;
  width: max-content;
  animation: wallScroll var(--speed, 24s) linear infinite;
}
.wall-row.is-reverse { animation-direction: reverse; }
.wall-strip {
  flex: none;
  width: auto;
  height: 80px;
  max-width: none;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes wallScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.wall-item {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 74px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 6px;
  color: #4a5568;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(16, 42, 88, .04);
}

/* ---------------- 资讯动态 ---------------- */
.section--news { padding: 72px 0 40px; background: #fff; }
.section--news .head { margin-bottom: 32px; }
.section--news .head p { margin-top: 10px; }
.news-board { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; }
.news-feature {
  display: flex;
  flex-direction: column;
  height: 317px;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 8px;
  overflow: hidden;
}
.news-feature-cover {
  position: relative;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #12bdac 0%, #00ac9c 48%, #008d7f 100%);
  overflow: hidden;
}
/* 细点阵纹理：削弱纯色块的厚重感 */
.news-feature-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .30) 1.1px, transparent 1.1px);
  background-size: 15px 15px;
  opacity: .55;
}
/* 右下角柔光 */
.news-feature-cover::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -64px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, 0) 68%);
}
.news-feature-word {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 12px;
  text-indent: 12px;
}
.news-feature-foot { flex: 1; display: flex; gap: 14px; padding: 16px 18px 14px; }
.news-feature-num { flex: none; width: 52px; }
.news-feature-num b { display: block; font-size: 30px; font-weight: 700; color: #111a34; line-height: 34px; }
.news-feature-num em { font-style: normal; font-size: 11px; color: #96a0b0; letter-spacing: .3px; }
.news-feature-text { min-width: 0; }
.news-feature-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  line-height: 19px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-feature-text p { margin-top: 8px; font-size: 12px; line-height: 19px; color: #8b95a5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 152.5px); gap: 12px; }
.news-card {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 16px;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 8px;
  transition: all .2s;
}
.news-card:hover { border-color: #b8e8e3; box-shadow: 0 8px 20px rgba(16, 42, 88, .06); }
.news-card h4 { font-size: 13px; font-weight: 600; color: #1f2937; line-height: 21px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { margin-top: 8px; font-size: 12px; line-height: 20px; color: #8b95a5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-date { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #96a0b0; }
.news-date svg { width: 14px; height: 14px; }

/* 推荐卡：数量自适应 —— 只有 1 条时不会孤零零占 1/4 宽 */
.news-promos { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.news-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 240px;
  max-width: 340px;
  height: 121px;
  padding: 20px 22px;
  border: 1px solid #d9f2ee;
  border-radius: 8px;
  background: linear-gradient(100deg, #f0faf8 0%, #ddf5f1 58%, #c3efe9 100%);
}
.news-promo-tag {
  position: absolute;
  right: 20px;
  top: 18px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 172, 156, .12);
  color: #00ac9c;
  font-size: 12px;
}
.news-promo h4 { max-width: 200px; font-size: 14px; font-weight: 600; color: #1f2937; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-promo p { margin-top: 8px; font-size: 12px; color: #5a6473; }
.news-promo-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #00ac9c;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(16, 42, 88, .1);
}

/* ---------------- 底部 CTA ---------------- */
.section--cta { padding: 24px 0 64px; background: #f4f7fc; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100px;
  padding: 0 64px;
  border-radius: 8px;
  background: #00ac9c;
  box-shadow: 0 14px 32px rgba(0, 172, 156, .18);
}
.cta-band h3 { color: #fff; font-size: 22px; font-weight: 600; letter-spacing: .22px; line-height: 30px; }
.cta-btn {
  min-width: 140px;
  width: 140px;
  height: 44px;
  padding: 0 28px;
  border-radius: 6px;
  background: #fff;
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 600;
}
.cta-btn:hover { background: #f2f6ff; }

/* ---------------- 页脚 ---------------- */
.footer {
  background: #f4f7fc;
  border-top: 0;
  padding: 56px 0 0;
  color: #1f2937;
}
.footer-top {
  display: grid;
  grid-template-columns: 352px repeat(4, 180px);
  column-gap: 32px;
  padding-bottom: 0;
}
.footer-brand { width: 320px; }
.footer-logo { display: block; }
.footer-brand img { display: block; width: auto; height: 40px; }
.footer-brand__desc { margin-top: 16px; font-size: 13px; line-height: 22.75px; color: #5b6b82; }
.footer-contact { margin-top: 24px; display: grid; gap: 8px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; height: 21px; font-size: 12px; color: #606d80; }
.footer-contact__label { flex: none; font-size: 12px; color: #606d80; }
.footer-contact__value { font-size: 13px; font-weight: 500; color: #1f2937; }
.footer-columns { display: contents; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer h3 { font-size: 14px; font-weight: 600; color: #1f2937; height: 19px; line-height: 19px; margin: 0 0 12px; }
.footer-col a {
  display: block;
  width: 180px;
  height: 25px;
  line-height: 25px;
  margin-bottom: 4px;
  font-size: 13px;
  color: #5b6b82;
}
.footer-col a:hover { color: var(--c-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 19px 0 20px;
  border-top: 1px solid #eef2f7;
  font-size: 12px;
  color: #606d80;
}
.footer-bottom p { font-size: 12px; line-height: 16px; color: #606d80; }

@media (max-width: 1240px) {
  .sol-card { margin-left: 0; width: 100%; }
  .sol-mock { display: none; }
  .prod-cards, .news-list, .news-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-board { grid-template-columns: 1fr; }
  .news-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-brand { width: 100%; }
}
