/* 临沧七夜网络科技 · 业务门户 */

:root {
  --bg: #ffffff;
  --bg-2: #f7f8fb;
  --bg-3: #eef1f6;
  --panel: #ffffff;
  --teal: #e63946;
  --teal-2: #ff5a67;
  --brand: #e63946;
  --ink: #16181d;
  --muted: #667085;
  --line: rgba(22, 24, 29, 0.08);
  --danger: #e63946;
  --ok: #12b76a;
  --shadow: 0 18px 50px rgba(22, 24, 29, 0.08);
  --radius: 18px;
  --header: 64px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(230, 57, 70, 0.06), transparent 55%),
    var(--bg);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.hex-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(22,24,29,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,24,29,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
  opacity: 0.7;
  contain: strict;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .hex-grid { display: none; }
}

.site-wrap { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(22, 24, 29, 0.06);
}
.site-header:has(.header-credit.is-hover),
.site-header:has(.header-credit:hover),
.site-header:has(.header-user.is-hover),
.site-header:has(.header-user.is-pinned) {
  z-index: 80;
}

/* 首页：导航叠在 Banner 上，无灰底，与首屏一体 */
body.page-home .site-header,
body.page-ai-hub .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.page-home .site-header.is-scrolled,
body.page-ai-hub .site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(22, 24, 29, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  width: 100%;
  padding-left: 48px; /* 品牌区再往右：加大这个值 */
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-left: 28px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(225, 29, 46, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
/* 公司名称字号 / 最大宽度：改这里 */
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; }

.header-back {
  display: none;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  transition: color .18s, background .18s;
}
.header-back:hover {
  color: var(--brand);
  background: rgba(225, 29, 46, 0.06);
}
/* AI 工作区：隐藏品牌与返回，左侧展示功能声明，右侧保留积分 / 用户 */
body.ai-workspace .brand,
body.ai-workspace .header-back,
body.ai-workspace .site-nav,
body.ai-workspace .nav-toggle { display: none !important; }
body.ai-workspace .header-inner {
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  padding-left: 20px;
  padding-right: 8px;
}
body.ai-workspace .header-actions { margin-left: auto; margin-right: 16px; }
body.ai-workspace .site-header .container.header-inner {
  width: 100%;
  max-width: none;
}
.header-lead {
  display: none;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  max-width: min(780px, calc(100% - 260px));
}
body.ai-workspace .header-lead { display: flex; }
.header-page-name {
  flex: none;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header-lead .ai-gen-notice {
  margin: 0;
  min-width: 0;
  flex: 1;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  background: rgba(225, 29, 46, 0.06);
  border: 1px solid rgba(225, 29, 46, 0.14);
}
.header-lead .ai-gen-notice strong {
  padding: 2px 8px;
  font-size: 11px;
}
@media (max-width: 900px) {
  .header-lead .ai-gen-notice span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 640px) {
  .header-lead .ai-gen-notice { display: none; }
}

.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
/* 七个导航文字大小 / 间距：改这里 */
.site-nav a,
.nav-ai-trigger {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  transition: color .18s, background .18s, text-shadow .18s;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.site-nav a:hover,
.nav-ai-trigger:hover {
  color: var(--brand);
  background: rgba(225, 29, 46, 0.06);
}
.site-nav a.is-active,
.nav-ai-trigger.is-active {
  color: var(--brand);
  font-weight: 700;
}
.site-nav a.is-active::after,
.nav-ai-trigger.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav-item-ai {
  position: relative;
}
.nav-item-ai::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.nav-ai-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 380px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(22, 24, 29, 0.14);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item-ai:hover .nav-ai-panel,
.nav-item-ai:focus-within .nav-ai-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* 点击子模块后强制收起（新标签页打开时 hover/focus-within 仍会残留） */
.nav-item-ai.is-panel-closed .nav-ai-panel {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(6px) !important;
}
.nav-ai-col {
  display: grid;
  gap: 4px;
}
.nav-ai-panel a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--ink) !important;
  background: transparent !important;
  text-shadow: none !important;
}
.nav-ai-panel a::after { display: none !important; }
.nav-ai-panel a:hover {
  background: rgba(225, 29, 46, 0.08) !important;
  color: var(--brand) !important;
}
.nav-ai-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(225, 29, 46, 0.1);
  color: var(--brand);
  font-size: 12px;
  flex: none;
}

.header-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d5a, #c81e2b);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(225, 29, 46, 0.28);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.header-login-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(225, 29, 46, 0.34);
}
body.page-ai-hub .site-header:not(.is-scrolled) .header-login-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
body.page-ai-hub .site-header:not(.is-scrolled) .header-login-btn:hover {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d5a, #c81e2b);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(225, 29, 46, 0.28);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 28px;
  flex: none;
}
.header-ghost {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
}
.header-ghost:hover { color: var(--brand); }
.header-cta:hover { filter: brightness(1.06); }

.header-user {
  position: relative;
  outline: none;
}
.header-user::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.header-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 999px;
  transition: background .18s, box-shadow .18s;
}
.header-user.is-hover .header-user-trigger,
.header-user.is-pinned .header-user-trigger {
  background: rgba(225, 29, 46, 0.08);
}
.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff4d5a, #c81e2b);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex: none;
  box-shadow: 0 4px 12px rgba(225, 29, 46, 0.28);
}
.header-nickname {
  max-width: 168px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.header-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  margin-left: 2px;
  transition: transform .18s ease, opacity .18s;
}
.header-user.is-hover .header-caret,
.header-user.is-pinned .header-caret {
  transform: rotate(180deg);
  opacity: 0.85;
}
.header-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 268px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(22, 24, 29, 0.16);
  display: grid;
  gap: 6px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.header-user-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.header-user.is-hover .header-user-menu,
.header-user.is-pinned .header-user-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.header-user-menu a,
.header-user-menu .hum-credits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  border: 0;
  width: 100%;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .15s, color .15s;
}
.header-user-menu a { justify-content: flex-start; }
.header-menu-ico {
  width: 18px;
  text-align: center;
  opacity: 0.7;
  font-size: 12px;
}
.header-user-menu a:hover,
.header-user-menu .hum-credits:hover {
  background: rgba(225, 29, 46, 0.08);
  color: var(--brand);
}
.header-user-menu a.is-danger:hover {
  background: rgba(225, 29, 46, 0.12);
  color: var(--brand);
}

/* 首页 / 七夜AI：未滚动时白字叠在深色 Banner 上 */
body.page-home .site-header:not(.is-scrolled) .brand-name,
body.page-home .site-header:not(.is-scrolled) .site-nav a,
body.page-home .site-header:not(.is-scrolled) .header-ghost,
body.page-home .site-header:not(.is-scrolled) .header-nickname,
body.page-ai-hub .site-header:not(.is-scrolled) .brand-name,
body.page-ai-hub .site-header:not(.is-scrolled) .site-nav a,
body.page-ai-hub .site-header:not(.is-scrolled) .nav-ai-trigger,
body.page-ai-hub .site-header:not(.is-scrolled) .header-ghost,
body.page-ai-hub .site-header:not(.is-scrolled) .header-nickname {
  color: #fff;
}
body.page-home .site-header:not(.is-scrolled) .brand-sub,
body.page-ai-hub .site-header:not(.is-scrolled) .brand-sub {
  color: rgba(255,255,255,0.72);
}
body.page-home .site-header:not(.is-scrolled) .site-nav a:hover,
body.page-home .site-header:not(.is-scrolled) .site-nav a.is-active,
body.page-home .site-header:not(.is-scrolled) .header-ghost:hover,
body.page-ai-hub .site-header:not(.is-scrolled) .site-nav a:hover,
body.page-ai-hub .site-header:not(.is-scrolled) .site-nav a.is-active,
body.page-ai-hub .site-header:not(.is-scrolled) .nav-ai-trigger:hover,
body.page-ai-hub .site-header:not(.is-scrolled) .nav-ai-trigger.is-active,
body.page-ai-hub .site-header:not(.is-scrolled) .header-ghost:hover {
  color: #ff4d5a;
  text-shadow: 0 0 16px rgba(255, 77, 90, 0.45);
}
body.page-home .site-header:not(.is-scrolled) .header-user.is-hover .header-user-trigger,
body.page-home .site-header:not(.is-scrolled) .header-user.is-pinned .header-user-trigger,
body.page-ai-hub .site-header:not(.is-scrolled) .header-user.is-hover .header-user-trigger,
body.page-ai-hub .site-header:not(.is-scrolled) .header-user.is-pinned .header-user-trigger {
  background: rgba(255,255,255,0.12);
}
body.page-home .site-header:not(.is-scrolled) .site-nav a:hover,
body.page-ai-hub .site-header:not(.is-scrolled) .site-nav a:hover,
body.page-ai-hub .site-header:not(.is-scrolled) .nav-ai-trigger:hover {
  background: rgba(255,255,255,0.1);
}
body.page-home .site-header:not(.is-scrolled) .nav-toggle span,
body.page-home .site-header:not(.is-scrolled) .nav-toggle span::before,
body.page-home .site-header:not(.is-scrolled) .nav-toggle span::after,
body.page-ai-hub .site-header:not(.is-scrolled) .nav-toggle span,
body.page-ai-hub .site-header:not(.is-scrolled) .nav-toggle span::before,
body.page-ai-hub .site-header:not(.is-scrolled) .nav-toggle span::after {
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-main { flex: 1; }
body:not(.page-home):not(.page-ai-hub) .site-main { padding-top: 8px; }

.hero {
  position: relative;
  padding: 36px 0 36px;
  overflow: hidden;
}
.hero-below { padding-top: 28px; }
.hero-copy { max-width: 720px; }
.hero-slider .hero-copy {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  z-index: 3;
  color: #fff;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd2d6;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #ffd2d6;
}
.hero h1,
.hero-slider h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.hero h1 em,
.hero-slider h1 em {
  font-style: normal;
  color: #ffd7db;
  text-shadow: 0 0 28px rgba(225, 29, 46, 0.35);
}
.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  max-width: 38em;
}
.hero-slider .lead { color: rgba(255,255,255,0.9); }
.hero-slider .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
}
.hero-slider .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
}
.btn-primary { background: linear-gradient(135deg, #ff5a67, #e63946); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-block { width: 100%; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.featured-card {
  position: relative;
  min-height: 168px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 168px;
  filter: saturate(0.92);
}
.featured-card span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(16, 12, 14, 0.88));
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}
.stat {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-height: 118px;
  overflow: visible;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.2;
  color: var(--brand);
  white-space: nowrap;
}
.stat span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 6px;
  white-space: normal;
  word-break: break-word;
}

.section { padding: 72px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}
.section-head p { margin: 8px 0 0; color: var(--muted); }
.more-link { color: var(--brand); font-size: 14px; white-space: nowrap; }

.cards-3,
.cards-2 { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.service-card,
.news-card,
.case-card,
.panel,
.job-card,
.tool-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card { display: grid; grid-template-rows: 200px auto; }
.service-card .thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(225,29,46,0.06), transparent 55%),
    linear-gradient(180deg, #f8fafc, #eef2f7);
  padding: 18px 22px;
  min-height: 200px;
}
.service-card .thumb img,
.service-card > img {
  width: 100%;
  height: 164px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.news-card img,
.case-card img { width: 100%; height: 168px; object-fit: cover; }
.service-card .body,
.news-card .body,
.panel-body { padding: 20px; }
.service-card h3,
.news-card h3,
.case-card h3 { margin: 0 0 8px; font-size: 18px; }
.muted, .excerpt { color: var(--muted); }
.meta-row { display: grid; gap: 6px; margin: 12px 0; font-size: 13px; color: var(--muted); }
.meta-row b { color: var(--ink); font-weight: 600; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(225, 29, 46, 0.08);
  color: var(--brand);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.case-card { position: relative; min-height: 220px; }
.case-card img { height: 220px; }
.case-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 16px 14px;
  background: linear-gradient(transparent, rgba(16, 12, 14, 0.88));
  color: #fff;
}
.case-card figcaption h3 { color: #fff; }
.case-card small { color: rgba(255,255,255,0.78); display: block; margin-top: 4px; }

.news-card { display: grid; grid-template-columns: 180px 1fr; }
.news-card img { height: 100%; min-height: 140px; }
.news-meta { display: flex; gap: 12px; color: var(--muted); font-size: 13px; margin-top: 12px; }

.cta-band {
  margin: 20px 0 80px;
  padding: 36px 40px;
  border-radius: 28px;
  border: 1px solid rgba(225, 29, 46, 0.14);
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(255, 77, 90, 0.16), transparent 60%),
    linear-gradient(135deg, #fff5f5 0%, #ffffff 45%, #f8fafc 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 8px; color: var(--ink); font-size: clamp(22px, 2.4vw, 28px); }
.cta-band p { margin: 0; color: var(--muted); }

.page-hero {
  padding: 48px 0 12px;
}
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.chip.is-active,
.chip:hover { color: var(--brand); border-color: var(--brand); }

.search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.search-bar input {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  outline: none;
  color: var(--ink);
}
.search-bar input:focus { border-color: var(--brand); }

.banner {
  min-height: 280px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,31,.15), rgba(7,17,31,.82));
}
.banner-inner {
  position: relative;
  z-index: 1;
  padding: 48px 36px;
  max-width: 720px;
}
.quote-box {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--brand);
  background: rgba(225, 29, 46, 0.05);
  border-radius: 0 16px 16px 0;
  color: var(--ink);
}

.advantage {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.advantage img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #07111f;
  border-radius: 12px;
}

.process {
  display: grid;
  gap: 0;
}
.process-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(225, 29, 46, 0.1);
  color: var(--brand);
  font-family: var(--display);
  font-weight: 700;
  position: relative;
}
.step-num::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 36px;
  width: 1px;
  height: calc(100% + 18px);
  background: var(--line);
}
.process-item:last-child .step-num::after { display: none; }

.prose { color: var(--ink); font-size: 16.5px; }
.prose p { margin: 0 0 1em; }
.prose img { border-radius: 12px; margin: 16px 0; }

.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  margin: 20px 0 28px;
  border: 1px solid var(--line);
}

.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}
.pager a, .pager span {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.pager .is-current { background: var(--brand); color: #fff; border-color: var(--brand); }

.about-grid,
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.cred-list { display: grid; gap: 12px; }
.cred-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.cred-item dt { color: var(--muted); }
.map-frame,
.map-box {
  position: relative;
  display: block;
  width: 100%;
  height: 150px;
  max-height: 168px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e7eef2;
  color: inherit;
  text-decoration: none;
}
.map-tiles { position: absolute; inset: 0; overflow: hidden; }
.map-tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  max-height: none;
}
.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -22px 0 0 -9px;
  border-radius: 50% 50% 50% 0;
  background: #e11d2e;
  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(225, 29, 46, .35);
  z-index: 2;
}
.map-pin::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  left: 5px;
  top: 5px;
}
.map-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 24px;
  z-index: 1;
  background: #e7eef2;
}
.map-box.is-fallback .map-fallback,
.map-box:not(.has-tiles) .map-fallback { display: grid; }
.map-fallback strong { font-size: 16px; }
.map-fallback em { font-style: normal; color: var(--muted); margin-top: 6px; }
.license-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}
.license {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.license-open span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.license-empty {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 28px 18px;
  background: #fafafa;
}
.license-empty p { margin: 8px 0 0; color: var(--muted); }
.license-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}
.license-lightbox[hidden] { display: none; }
.license-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .78);
}
.license-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(920px, 92vw);
}
.license-lightbox-dialog img {
  max-width: min(920px, 92vw);
  max-height: 86vh;
  background: #fff;
  border-radius: 12px;
}
.license-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
}
.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
}
.share-sheet[hidden] { display: none; }
.share-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .45);
}
.share-sheet-card {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 32px));
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .2);
}
.share-sheet-card h3 { margin: 0 0 8px; }
.share-sheet-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.share-sheet-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.share-sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; }


.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.gallery .stack { display: grid; gap: 12px; }
.gallery .stack img { height: 104px; }

.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.value {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.value i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.ability-list { display: grid; gap: 12px; }
.ability-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.ability-list { padding: 0; margin: 0; }
.ability-list b {
  color: var(--teal);
  font-family: var(--display);
}

.job-card { padding: 0; }
.job-head {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.job-head h3 { margin: 0 0 8px; }
.job-detail {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
}
.job-card.is-open .job-detail { display: block; }
.job-card.is-open .job-toggle { color: var(--teal); }
.detail-block { margin-top: 16px; }
.detail-block h4 { margin: 0 0 8px; color: var(--brand); font-size: 14px; }
.detail-block li { margin: 0 0 6px; color: var(--muted); }

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}
.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.wechat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.wechat-card {
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.wechat-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

.form-grid { display: grid; gap: 14px; }
.form-grid label { display: grid; gap: 6px; font-size: 14px; }
.form-grid input,
.form-grid textarea {
  background: #07111f;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.form-grid input:focus,
.form-grid textarea:focus { border-color: var(--teal); }

.flash {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.flash-success { background: rgba(18, 183, 106, 0.12); color: #027a48; }
.flash-error { background: rgba(255, 123, 138, 0.12); color: var(--danger); }

.empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-card { padding: 20px; }
.tool-card .tag { margin-bottom: 10px; }

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  padding: 56px 0 28px;
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--ink);
}
.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(225, 29, 46, 0.25);
}
.footer-slogan {
  color: var(--brand) !important;
  font-weight: 600;
  margin: 0 0 8px !important;
}
.site-footer h4 {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 8px;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--brand);
}
.site-footer a,
.site-footer p { color: var(--muted); }
.site-footer a:hover { color: var(--brand); }
.footer-links { display: grid; gap: 10px; }
.footer-copy {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.subnav {
  display: flex;
  gap: 8px;
  margin: 8px 0 24px;
}
.subnav a {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.subnav a.is-active { color: var(--brand); border-color: var(--brand); }

@media (max-width: 980px) {
  .featured-grid,
  .stats,
  .cards-3,
  .cases-grid,
  .tools-grid,
  .footer-grid,
  .about-grid,
  .split,
  .contact-layout,
  .news-card,
  .wechat-grid { grid-template-columns: 1fr 1fr; }
  .header-ghost { display: none; }
  .header-actions { margin-right: 8px; gap: 8px; }
  .header-nickname { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(22,24,29,0.08);
  }
  body.page-home .site-header:not(.is-scrolled) .site-nav,
  body.page-ai-hub .site-header:not(.is-scrolled) .site-nav {
    background: rgba(22, 16, 18, 0.94);
  }
  body.page-home .site-header:not(.is-scrolled) .site-nav a,
  body.page-ai-hub .site-header:not(.is-scrolled) .site-nav a,
  body.page-ai-hub .site-header:not(.is-scrolled) .nav-ai-trigger {
    color: #fff;
  }
  body.nav-open .site-nav { display: flex; }
  .nav-item-ai {
    width: 100%;
  }
  .nav-ai-panel {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 1px solid var(--line);
  }
  .nav-item-ai:not(:hover):not(:focus-within) .nav-ai-panel,
  .nav-item-ai.is-panel-closed .nav-ai-panel {
    display: none !important;
  }
  .nav-item-ai:hover:not(.is-panel-closed) .nav-ai-panel,
  .nav-item-ai:focus-within:not(.is-panel-closed) .nav-ai-panel {
    display: grid;
    transform: none;
  }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .featured-grid,
  .stats,
  .cards-3,
  .cards-2,
  .cases-grid,
  .tools-grid,
  .footer-grid,
  .about-grid,
  .split,
  .contact-layout,
  .news-card,
  .wechat-grid,
  .gallery,
  .cred-item { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .section { padding: 48px 0; }
  .banner-inner { padding: 28px 20px; }
  .hero-slider { min-height: 420px; }
  .hero-slider .hero-copy { bottom: 56px; }
  .site-dock { right: 10px; }
  .dock-btn span:last-child { font-size: 11px; }
  .dock-panel { right: 10px; width: min(100vw - 20px, 400px); top: auto; bottom: 16px; transform: none; max-height: min(78vh, 640px); }
  .dock-chat-panel { width: min(100vw - 20px, 420px); height: min(78vh, 640px); max-height: min(78vh, 640px); }
  .header-inner { padding-left: 8px; }
  .brand { margin-left: 4px; }
  .header-actions { margin-right: 4px; }
}

/* 全局提示：固定顶部，约 1 秒自动消失 */
.qiye-toast-host {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(92vw, 420px);
  pointer-events: none;
}
.qiye-toast {
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 12px 32px rgba(2, 12, 27, 0.45);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(10px);
}
.qiye-toast.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.qiye-toast.is-out {
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
}
.qiye-toast-success {
  color: #041018;
  background: linear-gradient(135deg, #64ffda, #2dd4bf);
  border-color: rgba(100, 255, 218, 0.5);
}
.qiye-toast-error {
  color: #fff5f5;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  border-color: rgba(251, 113, 133, 0.45);
}
.qiye-toast-warning {
  color: #1a1205;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.qiye-toast-info {
  color: #e8f4ff;
  background: linear-gradient(135deg, #1e3a5f, #0f2744);
  border-color: rgba(100, 255, 218, 0.25);
}

.hero-slider {
  position: relative;
  height: min(78vh, 720px);
  min-height: 520px;
  overflow: hidden;
  background: #1a1214;
}
.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(18,10,12,.62) 0%, rgba(18,10,12,.22) 48%, rgba(18,10,12,.18) 100%),
    linear-gradient(180deg, rgba(18,10,12,.15) 0%, rgba(18,10,12,.55) 100%);
  pointer-events: none;
}
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
}
.hero-nav::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.hero-nav.prev { left: 18px; }
.hero-nav.prev::before { transform: rotate(-135deg); }
.hero-nav.next { right: 118px; }
.hero-nav.next::before { transform: rotate(45deg); }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.hero-dots button {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.38);
  cursor: pointer;
}
.hero-dots button.is-active { background: #ff4d5a; width: 36px; }

.site-dock {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 50;
  transform: none;
  transition: opacity .2s ease, top .2s ease;
}
.site-dock.is-below-fold {
  opacity: 0;
  pointer-events: none;
}
.dock-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,248,248,.88));
  border: 1px solid rgba(225,29,46,.12);
  box-shadow: 0 18px 40px rgba(22,24,29,.12);
  backdrop-filter: blur(16px);
}
.dock-item { position: relative; }
.dock-btn {
  width: 86px;
  min-height: 74px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: #3d4450;
  font-size: 12px;
  font-weight: 700;
}
.dock-btn:hover { color: var(--brand); background: rgba(225,29,46,.06); }
.dock-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
}
.dock-ico svg { width: 20px; height: 20px; }
.dock-ico-wechat { background: linear-gradient(135deg, #22c55e, #16a34a); }
.dock-ico-chat { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.dock-ico-contact { background: linear-gradient(135deg, #f97316, #ea580c); }
.dock-qr {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) scale(.96);
  opacity: 0;
  pointer-events: none;
  width: 176px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(22,24,29,.18);
  text-align: center;
  transition: .18s ease;
}
.dock-qr img { width: 100%; border-radius: 10px; }
.dock-qr strong { display: block; margin-top: 8px; font-size: 12px; }
.dock-wechat:hover .dock-qr,
.dock-wechat:focus-within .dock-qr {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.dock-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(16,12,14,.28);
}
.dock-panel {
  position: fixed;
  top: 50%;
  right: 118px;
  z-index: 70;
  width: min(420px, calc(100vw - 140px));
  max-height: min(78vh, 640px);
  transform: translateY(-50%);
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(16,12,14,.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}
.dock-chat-panel {
  width: min(440px, calc(100vw - 140px));
  height: min(82vh, 720px);
  max-height: min(82vh, 720px);
}
.dock-panel[hidden],
.dock-overlay[hidden] { display: none !important; }
.dock-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1f1214, #3a151b);
  color: #fff;
  flex-shrink: 0;
}
.dock-panel-head span { display: block; font-size: 12px; opacity: .78; font-weight: 400; margin-top: 2px; }
.dock-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.dock-contact-body {
  overflow: auto;
  padding: 16px;
}
.dock-contact-panel { width: min(560px, calc(100vw - 140px)); max-height: min(86vh, 760px); }

/* —— 智能客服气泡聊天 —— */
#qiyeAiWidget .ai-widget-msgs {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px 12px 10px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(225,29,46,.06), transparent 55%),
    linear-gradient(180deg, #f4f6fa 0%, #eef1f6 100%);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
#qiyeAiWidget .chat-row {
  display: flex;
  width: 100%;
}
#qiyeAiWidget .chat-row--assistant,
#qiyeAiWidget .chat-row--admin,
#qiyeAiWidget .chat-row--card {
  justify-content: flex-start;
}
#qiyeAiWidget .chat-row--user {
  justify-content: flex-end;
}
#qiyeAiWidget .chat-row--system {
  justify-content: center;
}
#qiyeAiWidget .chat-system {
  max-width: 92%;
  font-size: 12px;
  line-height: 1.5;
  color: #8b93a3;
  text-align: center;
  padding: 4px 8px;
}
#qiyeAiWidget .chat-bubble {
  max-width: min(86%, 320px);
  padding: 8px 12px 10px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(22, 24, 29, .06);
  animation: qiyeChatIn .22s ease;
}
#qiyeAiWidget .chat-bubble--assistant {
  background: #fff;
  border: 1px solid rgba(22, 24, 29, .06);
  border-bottom-left-radius: 6px;
  color: #1f2937;
}
#qiyeAiWidget .chat-bubble--admin {
  background: #fff;
  border: 1px solid rgba(37, 99, 235, .22);
  border-bottom-left-radius: 6px;
  color: #1f2937;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .08);
}
#qiyeAiWidget .chat-bubble--user {
  background: linear-gradient(135deg, #ff5a66, #d61f2e);
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 6px 16px rgba(200, 30, 43, .22);
}
#qiyeAiWidget .chat-meta {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: .02em;
}
#qiyeAiWidget .chat-bubble--assistant .chat-meta { color: #c81e2b; }
#qiyeAiWidget .chat-bubble--admin .chat-meta { color: #2563eb; }
#qiyeAiWidget .chat-bubble--user .chat-meta {
  color: rgba(255, 255, 255, .82);
  text-align: right;
}
#qiyeAiWidget .chat-text {
  font-size: 13.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
@keyframes qiyeChatIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

#qiyeAiWidget .cs-human-card {
  width: min(92%, 300px);
  margin: 2px 0 4px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: linear-gradient(160deg, #fff 0%, #fff8f8 100%);
  border: 1px solid rgba(225, 29, 46, .16);
  box-shadow: 0 10px 28px rgba(200, 30, 43, .1);
  position: relative;
  animation: qiyeChatIn .24s ease;
}
#qiyeAiWidget .cs-human-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #c81e2b;
  background: rgba(225, 29, 46, .08);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 8px;
}
#qiyeAiWidget .cs-human-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #1f1214;
  margin-bottom: 6px;
}
#qiyeAiWidget .cs-human-card__hours {
  font-size: 12.5px;
  line-height: 1.55;
  color: #5b6472;
  margin-bottom: 12px;
}
#qiyeAiWidget .cs-human-card__btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #ff4d5a, #c81e2b);
  box-shadow: 0 8px 18px rgba(200, 30, 43, .28);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
#qiyeAiWidget .cs-human-card__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(200, 30, 43, .34);
}
#qiyeAiWidget .cs-human-card__btn:disabled {
  opacity: .72;
  cursor: wait;
}

#qiyeAiWidget .ai-widget-form,
#qiyeAiWidget form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}
#qiyeAiWidget textarea {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  resize: none;
  background: #f8f9fb;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.45;
  min-height: 44px;
  max-height: 96px;
  transition: border-color .15s ease, background .15s ease;
}
#qiyeAiWidget textarea:focus {
  outline: none;
  border-color: rgba(225, 29, 46, .35);
  background: #fff;
}
#qiyeAiWidget button[type="submit"] {
  border: 0;
  background: linear-gradient(135deg, #ff4d5a, #c81e2b);
  color: #fff;
  border-radius: 12px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
  flex-shrink: 0;
  transition: opacity .15s ease;
}
#qiyeAiWidget button[type="submit"]:disabled,
#qiyeAiWidget textarea:disabled {
  opacity: .55;
  cursor: not-allowed;
}
#qiyeAiWidget .dock-ai-disclaimer {
  margin: 0;
  padding: 8px 14px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  color: #98a2b3;
  line-height: 1.5;
  text-align: center;
  flex-shrink: 0;
}
#qiyeAiWidget .dock-ai-disclaimer strong {
  color: var(--brand);
  font-weight: 800;
}
.hide-ai-widget .site-dock,
.hide-ai-widget .dock-panel,
.hide-ai-widget .dock-overlay { display: none !important; }
.form-grid input,
.form-grid textarea {
  background: #fff;
  color: var(--ink);
}
.page-hero h1 { color: var(--ink); }
.page-hero .kicker { color: var(--brand); }
.page-hero .kicker::before { background: var(--brand); }

.header-credit {
  position: relative;
  z-index: 2;
}
/* 弥合 pill 与浮层之间的空隙，避免移入时 hover 丢失导致无法点击 */
.header-credit::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 16px;
}
.credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(22, 24, 29, 0.08);
}
.credit-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(135deg, #ffb020, #ff5c7a, #7c5cff);
}
.credit-num {
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.credit-sep { color: var(--line); font-weight: 400; }
.credit-upgrade {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b1f27, #111318);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
}
.credit-mini {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(22, 24, 29, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
  z-index: 60;
}
/* 浮层打开后，顶部透明热区继续承接鼠标，防止空隙处穿透到下方 Banner */
.credit-mini::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.header-credit:hover .credit-mini,
.header-credit.is-hover .credit-mini {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
.credit-mini-plan {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
}
.credit-mini-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  margin: 10px 0 2px;
}
.credit-mini-sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.credit-mini-btn {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d5a, #c81e2b);
  color: #fff !important;
  font-weight: 700;
}
.hum-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.hum-profile strong { display: block; font-size: 15px; }
.hum-profile small { color: var(--muted); }
.hum-credits .hum-left { display: flex; align-items: center; gap: 8px; }
.hum-credits .hum-ico {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 11px;
  background: linear-gradient(135deg, #ffb020, #ff5c7a);
}
.hum-credits .hum-right { color: var(--muted); font-weight: 700; }
.hum-credits .hum-right i { font-style: normal; }

.credits-modal {
  position: fixed;
  inset: 0;
  z-index: 5600;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.credits-modal[hidden] { display: none !important; }
.credits-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 24, 0.45);
  backdrop-filter: blur(10px);
}
.credits-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(86vh, 720px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(16, 18, 24, 0.28);
}
.credits-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px 8px;
}
.credits-head h2 { margin: 0; font-size: 18px; display: flex; gap: 8px; align-items: center; }
.credits-close {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #f3f4f6; cursor: pointer; font-size: 20px;
}
.credits-summary {
  margin: 8px 22px 4px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f6f7fb, #eef1f6);
}
.credits-plan {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: #6b7280;
}
.credits-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.credits-big { font-size: 36px; font-weight: 800; line-height: 1; }
.credits-unit { color: var(--muted); font-size: 13px; margin-top: 4px; }
.credits-upgrade-btn {
  background: #111; color: #fff !important;
  border-radius: 999px; padding: 10px 18px; font-weight: 700;
}
.credits-subline { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.credits-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 8px 22px 0;
  border-bottom: 1px solid var(--line);
}
.credits-tabs button {
  border: 0; background: transparent; padding: 12px;
  color: #9aa0a6; font-weight: 700; cursor: pointer;
}
.credits-tabs button.is-on {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
}
.credits-list { overflow: auto; padding: 4px 22px 22px; min-height: 220px; }
.credits-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.credits-item .name { font-weight: 700; }
.credits-item .time { color: var(--muted); font-size: 12px; }
.credits-item .plus { color: #12b76a; font-weight: 800; }
.credits-item .minus { color: #98a2b3; font-weight: 800; }
body.credits-open { overflow: hidden; }

.join-hero { padding: 48px 0 8px; }
.join-intro { max-width: 640px; color: var(--muted); }
.join-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.join-benefit {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.join-benefit span {
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 8px;
}
.join-jobs { display: grid; gap: 14px; }
.join-job {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .join-benefits { grid-template-columns: 1fr; }
  .header-credit { display: none; }
}

/* 业务服务详情 · 重新设计的分栏英雄区 */
.service-hero {
  padding: 36px 0 8px;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  background:
    radial-gradient(520px 280px at 12% 0%, rgba(230, 57, 70, 0.08), transparent 60%),
    linear-gradient(180deg, #f7f8fb, #ffffff);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-hero-copy {
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.service-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.4vw, 46px);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}
.service-hero-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 36em;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.service-process-inline {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.service-process-inline li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.service-process-inline li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(230, 57, 70, 0.12);
  color: var(--brand);
  font-size: 12px;
}
.service-process-text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.service-hero-visual {
  position: relative;
  min-height: 320px;
  background: #0f1b33;
}
.service-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.service-detail-body { padding-top: 28px; }
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.advantage-grid .advantage {
  grid-template-columns: 56px 1fr;
  min-height: 120px;
}
.advantage img {
  object-fit: cover;
  background: transparent;
}
.service-case-cover {
  height: 168px;
  overflow: hidden;
  background: #eef2f7;
}
.service-case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-case-card h3 { margin: 0 0 8px; font-size: 17px; }
.service-case-card {
  display: block;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(22, 24, 29, 0.12);
}
.service-cta-panel { position: sticky; top: 88px; }

.case-detail-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.case-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.news-actions-footer {
  margin: 36px 0 8px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.news-actions-label {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.news-actions-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.news-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: border-color .2s, color .2s, background .2s;
}
.news-action-btn b { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }
.news-action-btn:hover { border-color: var(--brand); color: var(--brand); }
.news-action-btn.is-active {
  border-color: rgba(230, 57, 70, 0.35);
  background: rgba(230, 57, 70, 0.08);
  color: var(--brand);
}
.news-action-btn:disabled { opacity: 0.6; cursor: wait; }

.portal-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(22, 24, 29, 0.92);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 80;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.portal-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-copy { padding: 28px 22px 20px; }
  .service-hero-visual,
  .service-hero-visual img { min-height: 220px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .service-cta-panel { position: static; }
}

@media (max-width: 720px) {
  .service-case-grid.cards-3,
  .cards-3.service-case-grid { grid-template-columns: 1fr; }
}


