/* ==========================================================================
   新疆鼎飞益智能科技有限公司 · 全站设计系统 theme.css
   --------------------------------------------------------------------------
   位置：web/public/theme.css  →  构建后为 /theme.css
   引用：静态首页 /home.html 与 Vue 应用（web/index.html 中先于应用样式引入）
   作用：1) 设计令牌（配色 / 字体 / 圆角 / 阴影 / 间距 / 动效）
         2) 全站公共组件样式（页头、页脚、页头横幅、按钮、卡片、表单、分页…）
   约定：页面内不再写死颜色与尺寸，一律引用这里的变量或公共类。
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌色：单一蓝色主色，深蓝仅用于标题/页脚 */
  --blue: #2e6bd6;
  --blue-deep: #2456b0;
  --blue-soft: #f3f8ff;
  --blue-line: #c9d9f3;
  --blue-light: #8fb4f2;   /* 深色底上的高亮蓝，保证对比度 */
  --navy: #1c2b45;
  --navy-2: #152238;
  --ink: #243247;
  --gray: #6b7889;
  --gray-light: #93a0b1;
  --bg: #eef2f7;
  --bg-top: #f2f6fb;
  --bg-mid: #e9eff8;
  --card: #ffffff;
  --line: #e3e9f1;
  --photo-bg: #e8eef6;
  --gold: #c1913a;
  --green: #22855e;
  --red: #bb4040;
  --danger: #d94a3d;
  --success: #27ae60;

  /* 旧命名兼容（后台管理模块沿用） */
  --primary: var(--blue);
  --primary-dark: var(--blue-deep);
  --dark: var(--navy);
  --dark-2: var(--navy-2);
  --text: var(--ink);
  --text-light: var(--gray);
  --white: var(--card);
  --border: var(--line);
  --border-blue: var(--blue-line);

  /* 字体 */
  --serif: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 15px;
  --fs-h1: clamp(30px, 5.2vw, 44px);
  --fs-h2: clamp(23px, 4vw, 32px);
  --fs-h3: 18px;
  --fs-small: 13.5px;
  --fs-tiny: 12px;
  --lh: 1.75;

  /* 圆角 */
  --radius: 18px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --radius-photo: 22px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-xs: 0 2px 8px rgba(28, 43, 69, .06);
  --shadow: 0 4px 16px rgba(28, 43, 69, .06);
  --shadow-hover: 0 12px 28px rgba(28, 43, 69, .11);
  --shadow-photo: 0 18px 40px rgba(28, 43, 69, .14);
  --shadow-primary: 0 6px 16px rgba(46, 107, 214, .30);

  /* 间距与栅格 */
  --container: 1120px;
  --gutter: 20px;
  --header-h: 64px;
  --section-y: 56px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 34px;
  --space-6: 48px;

  /* 动效：全站统一时长与缓动 */
  --dur: .2s;
  --dur-mid: .28s;
  --dur-slow: .7s;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置与排版 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;   /* 兜底：任何元素的固定宽度都不产生横向滚动 */
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 1px;
  color: var(--navy);
}

::selection { background: var(--blue); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef1f5; }
::-webkit-scrollbar-thumb { background: #b9c4d1; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-deep); }

/* 内容容器：全站统一最大宽度与左右留白 */
.container, .wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- 3. 区块节奏 ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .6) 0; }
.section--flush { padding-top: 0; }

.section-head { text-align: center; max-width: min(680px, 100%); margin: 0 auto var(--space-5); }
.section-title { font-size: var(--fs-h2); }
.section-sub { margin: var(--space-2) 0 0; color: var(--gray); font-size: 14.5px; }

/* ---------- 4. 胶囊标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 6px 18px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.6;
  box-shadow: var(--shadow-xs);
}
.chip--quiet { box-shadow: none; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 12px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-solid, .btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-primary); }
.btn-solid:hover, .btn-primary:hover { background: var(--blue-deep); }
.btn-ghost, .btn-outline { background: var(--card); border-color: #c5d2e4; color: var(--navy); }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn:disabled, .btn[disabled] { opacity: .6; cursor: not-allowed; box-shadow: none; }

/* ---------- 6. 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.card-media { overflow: hidden; background: var(--photo-bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 20px 22px 24px; }
.card-title {
  font-size: 17.5px;
  line-height: 1.55;
  transition: color var(--dur) var(--ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.card:hover .card-title { color: var(--blue-deep); }
.card-text {
  margin: var(--space-2) 0 0;
  color: var(--gray);
  font-size: 13.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta { display: block; margin-top: var(--space-2); color: var(--gray-light); font-size: var(--fs-tiny); }

/* ---------- 7. 栅格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 8. 站点页头（导航） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(28, 43, 69, .07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-line);
  border-radius: 9px;
  background: linear-gradient(135deg, #dbe7fb, #eef3fb);
  color: var(--blue);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}
.brand-mark img { height: 24px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text .cn {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--navy);
}
.brand-text .en { font-size: 10px; letter-spacing: 3.5px; color: var(--gray-light); }

.main-nav { display: none; align-items: center; gap: 26px; }
.main-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  transition: color var(--dur) var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active { font-weight: 700; }

.btn-contact {
  display: none;
  align-items: center;
  padding: 9px 22px;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn-contact:hover { background: var(--blue); color: #fff; }

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));  /* 固定 4 列，永不溢出 */
  gap: 8px;
  padding: 10px var(--gutter) 12px;
}
.mobile-nav a {
  min-width: 0;
  padding: 7px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--ink);
  font-size: 12.5px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.mobile-nav a:hover { color: var(--blue); border-color: var(--blue-line); }
.mobile-nav a.active {
  color: var(--blue);
  border-color: var(--blue-line);
  background: var(--blue-soft);
  font-weight: 600;
}

@media (min-width: 901px) {
  .main-nav { display: flex; }
  .btn-contact { display: inline-flex; }
  .mobile-nav { display: none; }
}

/* ---------- 9. 页头横幅（内页统一标题区） ---------- */
.page-head {
  padding: 46px 0 38px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 60%, var(--bg) 100%);
  border-bottom: 1px solid rgba(227, 233, 241, .8);
}
.page-head h1 { margin: var(--space-4) 0 0; font-size: clamp(26px, 4.6vw, 38px); }
.page-head p { margin: var(--space-2) auto 0; max-width: min(640px, 100%); color: var(--gray); font-size: 15px; }

/* ---------- 10. 站点页脚 ---------- */
.site-footer {
  margin-top: var(--section-y);
  padding: 48px 0 0;
  background: var(--navy-2);
  color: #b8c2d3;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-3); }
.site-footer .brand-mark {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.site-footer .brand-text .cn { color: #fff; }
.site-footer .brand-text .en { color: #6d7c94; }
.footer-desc { margin: 0 0 var(--space-5); max-width: min(560px, 100%); font-size: var(--fs-small); color: #8d9ab0; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 26px; }
.footer-col h4 { margin-bottom: 14px; font-size: 15.5px; letter-spacing: 2px; color: #fff; }
.footer-col a, .footer-col p {
  display: block;
  padding: 5px 0;
  margin: 0;
  color: #93a1b8;
  font-size: var(--fs-small);
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: #fff; }
.copyright {
  margin-top: var(--space-5);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: var(--fs-tiny);
  color: #6d7c94;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-cols { grid-template-columns: 1fr 1fr 1.3fr; }
}

/* ---------- 11. 正文排版（详情页 / 频道页） ---------- */
.article {
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 50px;
}
.article-title { font-size: clamp(20px, 3vw, 26px); text-align: center; }
.article-meta {
  margin: var(--space-3) 0 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--gray);
  font-size: var(--fs-small);
  text-align: center;
}

.rich-content { color: #3a4552; font-size: 15.5px; line-height: 1.9; word-break: break-word; }
.rich-content p { margin: 0 0 14px; }
.rich-content h2, .rich-content h3, .rich-content h4 { margin: 22px 0 12px; color: var(--navy); }
.rich-content img { margin: 14px auto; border-radius: var(--radius-sm); }

/* ---------- 11.1 新闻图文组件：图集 / 滑动图片组 / 视频 ---------- */
.rich-content .news-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.rich-content .news-gallery img { width: 100%; height: 170px; object-fit: cover; margin: 0; border-radius: 8px; }
.rich-content .news-slider {
  display: flex; gap: 10px; margin: 18px 0; padding-bottom: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.rich-content .news-slider img {
  flex: 0 0 auto; width: 76%; max-width: 420px; height: 240px;
  object-fit: cover; margin: 0; border-radius: 10px; scroll-snap-align: start;
}
.rich-content .news-video { display: block; width: 100%; max-width: 760px; margin: 18px auto; border-radius: 10px; background: #000; }
.rich-content .news-caption { margin: 6px 0 18px; text-align: center; font-size: 13px; color: #8b95a5; }
.rich-content figure { margin: 18px 0; }
@media (max-width: 600px) {
  .rich-content .news-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rich-content .news-slider img { width: 86%; height: 200px; }
}


/* 荣誉 / 合作伙伴频道页（RichContent 渲染的结构） */
.rich-content .honor-h2 { margin: 34px 0 0; font-size: 22px; letter-spacing: 1px; }
.rich-content .honor-h2:first-child { margin-top: 0; }
.rich-content .h2bar { width: 44px; height: 3px; margin: 10px 0 20px; border-radius: 2px; background: var(--blue); }
.rich-content .honor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rich-content .honor-card {
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.rich-content .honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.rich-content .honor-card img { width: 100%; height: 200px; margin: 0; border-radius: 0; object-fit: contain; }
.rich-content .friends-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rich-content .friend-card {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.rich-content .friend-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.rich-content .friend-card img { max-width: 100%; max-height: 80px; margin: 0; object-fit: contain; }
@media (max-width: 900px) {
  .rich-content .honor-grid, .rich-content .friends-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .rich-content .honor-grid, .rich-content .friends-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 12. 表单 ---------- */
.field, .form-item { margin-bottom: 18px; }
.field label, .form-item label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; }
.field input, .field textarea, .field select,
.form-item input, .form-item textarea, .form-item select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus,
.form-item input:focus, .form-item textarea:focus, .form-item select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 107, 214, .12);
}
.field input::placeholder, .form-item input::placeholder,
.field textarea::placeholder, .form-item textarea::placeholder { color: #b3bcc8; }
.form-error { color: var(--danger); font-size: 13px; margin-top: 4px; }
.form-success { color: var(--success); font-size: var(--fs-small); margin-bottom: 12px; }

/* ---------- 13. 分页 ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--space-5); }
.pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.pagination button:hover:not(:disabled):not(.active) { border-color: var(--blue); color: var(--blue); }
.pagination button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 14. 加载态 / 空态 ---------- */
.empty-box, .loading-box { padding: 60px 0; color: var(--gray); text-align: center; }

.skeleton-card {
  padding-bottom: 16px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.skeleton-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg, #eef2f6 25%, #f7f9fc 50%, #eef2f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.4s infinite;
}
.skeleton-line {
  height: 13px;
  margin: 12px 16px 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #eef2f6 25%, #f7f9fc 50%, #eef2f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.4s infinite;
}
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w90 { width: 90%; }
@keyframes skeleton-shine {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ---------- 15. 动效：路由转场与滚动渐入 ---------- */
.page-enter-active { transition: opacity var(--dur-mid) var(--ease), transform var(--dur-mid) var(--ease); }
.page-leave-active { transition: opacity .12s var(--ease); }
.page-enter-from { opacity: 0; transform: translateY(10px); }
.page-leave-to { opacity: 0; }

.reveal-init {
  opacity: 0;
  transform: translateY(var(--reveal-y, 24px));
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}
.reveal-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-init { opacity: 1; transform: none; transition: none; }
  .page-enter-active, .page-leave-active { transition: none; }
  .skeleton-img, .skeleton-line { animation: none; }
}

/* ---------- 16. 返回顶部（全站统一，首页与内页共用） ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), opacity var(--dur) var(--ease),
              visibility var(--dur) var(--ease);
}
.back-top:hover { transform: translateY(-4px); background: var(--blue-deep); box-shadow: var(--shadow-hover); }
.back-top:active { transform: translateY(-1px) scale(.96); }
/* 未滚动到阈值时隐藏（静态页用，Vue 侧仍走 v-show + fade） */
.back-top.is-hidden { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; }

@media (max-width: 768px) {
  .back-top { right: 16px; bottom: 20px; width: 48px; height: 48px; font-size: 11px; }
}

/* ---------- 17. 响应式节奏 ---------- */
@media (max-width: 768px) {
  :root { --section-y: 40px; --header-h: 58px; }
  .page-head { padding: 34px 0 30px; }
  .article { padding: 26px 20px; }
  .section-head { margin-bottom: var(--space-4); }
}

/* ---------- 联系我们：悬浮滑动按钮（横穿屏幕，右下起） ---------- */
.float-contact {
  position: fixed; right: 24px; bottom: 112px; z-index: 900;
  display: block; text-decoration: none;
  animation: femiFloat 18s ease-in-out infinite;
  will-change: transform;
}
.float-contact:hover { animation-play-state: paused; }

.fc-inner {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 22px 9px 9px; border-radius: 999px;
  /* 苹果那套银灰：顶部纯白 → 中段 #f5f5f7 → 底部 #e6e7ec */
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f8 46%, #e7e8ed 100%);
  border: 1px solid rgba(0, 0, 0, .09);
  box-shadow:
    0 8px 22px rgba(15, 23, 42, .14),
    0 1px 2px rgba(15, 23, 42, .07),
    inset 0 1px 0 #ffffff;
  color: #1d1d1f; font-size: 14.5px; font-weight: 600; letter-spacing: .5px; white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease);
  overflow: hidden;
}
.fc-icon {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ffffff, #eceef2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07), 0 1px 1px rgba(15, 23, 42, .06);
  color: #3a3a3c;
}
.fc-icon svg { width: 16px; height: 16px; display: block; }
.fc-text { padding-right: 2px; }

/* 悬停：上浮 + 放大 + 一道高光扫过 */
.fc-inner::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(140, 160, 200, .28), transparent);
  transform: skewX(-18deg); transition: left .65s var(--ease);
}
.float-contact:hover .fc-inner::before { left: 140%; }
.float-contact:hover .fc-inner {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(180deg, #ffffff 0%, #fafafc 46%, #eeeff3 100%);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, .2),
    0 2px 6px rgba(15, 23, 42, .1),
    inset 0 1px 0 #ffffff;
}

/* 呼吸光晕 */
.fc-inner::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none;
  animation: fcPulse 2.8s ease-out infinite;
}
@keyframes fcPulse {
  0%   { box-shadow: 0 0 0 0 rgba(15, 23, 42, .16); }
  70%  { box-shadow: 0 0 0 14px rgba(15, 23, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 23, 42, 0); }
}

/* 横向横穿整个屏幕，中途带轻微起伏 */
@keyframes femiFloat {
  0%, 4%    { transform: translate(0, 0); }
  24%       { transform: translate(calc(-50vw + 105px), -14px); }
  48%       { transform: translate(calc(-100vw + 210px), 0); }
  52%       { transform: translate(calc(-100vw + 210px), 0); }
  76%       { transform: translate(calc(-50vw + 105px), -14px); }
  96%, 100% { transform: translate(0, 0); }
}

@media (max-width: 768px) {
  .float-contact { right: 14px; bottom: 96px; }
  .fc-inner { padding: 7px 16px 7px 7px; font-size: 13px; gap: 8px; }
  .fc-icon { width: 28px; height: 28px; }
  .fc-icon svg { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-contact, .fc-inner::after { animation: none; }
}

/* ---------- 内页科技感页头（背景图 + 背景大字） ---------- */
.page-head.is-tech {
  position: relative; overflow: hidden; text-align: left; border-bottom: 0;
  padding: 84px 0 90px; min-height: 240px;
  background-color: #04101f; background-position: center; background-size: cover; background-repeat: no-repeat;
  color: #fff;
}
.page-head.is-tech::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(3, 12, 26, .93) 0%, rgba(3, 12, 26, .74) 42%, rgba(3, 12, 26, .28) 78%, rgba(3, 12, 26, .12) 100%);
}
.page-head.is-tech .container { position: relative; z-index: 2; }
.page-head.is-tech .banner-word {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%); z-index: 1;
  font-family: "Arial Black", "Segoe UI Black", Impact, "Microsoft YaHei", sans-serif;
  font-size: clamp(88px, 14vw, 232px); font-weight: 900; line-height: 1;
  letter-spacing: .06em; color: rgba(255, 255, 255, .10);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.page-head.is-tech h1 { margin: 14px 0 0; color: #fff; font-size: clamp(28px, 4vw, 42px); letter-spacing: 2px; }
.page-head.is-tech .chip { background: rgba(0, 194, 243, .14); border-color: rgba(0, 194, 243, .42); color: #7fe3ff; }
.page-head.is-tech p { margin: 12px 0 0; color: rgba(255, 255, 255, .74); max-width: min(620px, 100%); }
@media (max-width: 768px) {
  .page-head.is-tech { padding: 56px 0 60px; min-height: 180px; }
  .page-head.is-tech .banner-word { font-size: 74px; right: 4%; opacity: .6; }
}
