/* gxding.cn 官网 - 方案B 视频驱动式
   Theme: dark locked. Accent: emerald. Radius: soft 14/10 + pill buttons. */

:root {
  --bg: #0c0f12;
  --surface: #13171c;
  --surface-2: #191f26;
  --text: #e9ecef;
  --muted: #9aa3ad;
  --accent: #3ecf8e;
  --accent-strong: #2fb87b;
  --accent-tint: rgba(62, 207, 142, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --radius-lg: 14px;
  --radius-md: 10px;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s, border-color 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: #06281a;
}
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(12, 15, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.logo-mark svg { display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  color: var(--muted);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  font-size: 13.5px;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 7px 14px;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switch:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.32); }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 15, 18, 0.97);
}
.mobile-menu a {
  padding: 10px 0;
  font-size: 15px;
  color: var(--muted);
}
.nav.open + .mobile-menu { display: flex; }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 48px;
  padding: 40px 0 64px;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  margin-top: 20px;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone {
  width: min(300px, 78vw);
  border-radius: 30px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 10px;
  transform: rotate(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 22px;
  background: #000;
}
.phone-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.hero-chip {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 13px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.hero-chip strong { color: var(--accent); font-weight: 700; }
.chip-a { top: 12%; left: 0; animation: floaty 5s ease-in-out infinite; }
.chip-b { bottom: 16%; right: 2%; animation: floaty 5s ease-in-out 1.2s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- logo strip ---------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust-label { font-size: 13px; color: var(--muted); }
.trust img {
  height: 22px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.25s;
}
.trust img:hover { opacity: 1; }

/* ---------- section scaffolding ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- cases ---------- */
.cases { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.case-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
}
.case-tab:hover { color: var(--text); }
.case-tab.active {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s;
}
.case-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.case-media { position: relative; aspect-ratio: 9 / 16; background: #000; }
.case-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: none;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: opacity 0.3s;
}
.case-card.playing .case-play { opacity: 0; pointer-events: none; }
.play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  transition: transform 0.25s;
}
.case-play:hover .play-btn { transform: scale(1.08); }
.case-meta { padding: 16px 18px 18px; }
.case-meta h3 { font-size: 15.5px; font-weight: 600; }
.case-meta p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* ---------- pipeline (storyboard) ---------- */
.pipeline-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.3fr;
  gap: 24px;
  align-items: stretch;
}
.pipe-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pipe-card .media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--surface-2);
}
.pipe-card img { width: 100%; height: 100%; object-fit: cover; }
.slot-empty {
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
  padding: 16px;
}
.pipe-card video { width: 100%; height: 100%; object-fit: cover; }
.pipe-body { padding: 20px 22px 24px; }
.pipe-body h3 { font-size: 16.5px; font-weight: 600; }
.pipe-body p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- how it works ---------- */
.how { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.how-step {
  padding: 8px 32px;
  border-left: 1px solid var(--border);
}
.how-step:first-child { border-left: none; padding-left: 0; }
.how-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.how-step h3 { margin-top: 12px; font-size: 18px; font-weight: 600; }
.how-step p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- quote ---------- */
.quote blockquote {
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 500;
  max-width: 21em;
}
.quote blockquote::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.quote blockquote::after { content: "\201D"; color: var(--accent); margin-left: 2px; }
.quote-attr {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.quote-attr .who { font-size: 14.5px; font-weight: 600; }
.quote-attr .role { font-size: 13px; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 780px;
}
.price-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-tint), transparent 55%), var(--bg);
}
.price-name { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-card.featured .price-name { color: var(--accent); }
.price-value { margin-top: 10px; font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.price-value small { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.price-desc { margin-top: 6px; font-size: 14px; color: var(--muted); }
.price-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; font-size: 14.5px; }
.price-list li { display: flex; gap: 10px; align-items: baseline; }
.price-list .tick { color: var(--accent); font-weight: 700; }
.price-card .btn { margin-top: 28px; width: 100%; }
.price-note {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 780px;
}

/* ---------- faq ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 16.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex: none;
  color: var(--muted);
  transition: transform 0.3s;
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body {
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 15px;
  max-width: 60em;
}

/* ---------- cta ---------- */
.cta-band {
  border-top: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.015em;
  font-weight: 700;
}
.cta-band p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.cta-band .btn { margin-top: 32px; height: 52px; padding: 0 36px; font-size: 16px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a:hover { color: var(--text); }

/* ---------- reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-chip { animation: none; }
  .phone, .case-card, .btn { transition: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta .lang-switch { display: none; }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 56px;
  }
  .hero-visual { order: -1; }
  .phone { width: min(240px, 64vw); }
  .hero-chip { display: none; }
  .case-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pipeline-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .how-step { border-left: none; padding: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .how-step:first-child { border-top: none; padding-top: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .case-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- footer v2：底部导航组件（渠道墙 + 功能链接 + 备案） ---------- */
/* ---------- 独立页面通用 ---------- */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(62, 207, 142, 0.07), transparent 70%);
}
.page-hero .crumb {
  display: block;
  font-size: 13px; letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 14px;
}
.page-hero h1 { font-size: 38px; line-height: 1.25; }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 640px; }
.nav-links a.active { color: var(--accent-strong); }
.how-grid.quad { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .how-grid.quad { grid-template-columns: repeat(2, 1fr); } }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.contact-card h3 { font-size: 16px; margin-bottom: 10px; }
.contact-card p { color: var(--muted); font-size: 14.5px; }
.contact-card p + p { margin-top: 8px; }
.contact-card a { color: var(--accent-strong); }
.contact-card a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 30px; }
}

/* ---------- footer v2 ---------- */
.footer-v2 { background: #0a0d11; padding: 48px 0 30px; }
.site-footer {
  /* 组件局部变量（不污染全站） */
  --line: rgba(255, 255, 255, 0.08);
  --txt-2: #9aa3ad;
  --txt-3: #5f6a80;
  --brand: #3ecf8e;
  --brand-2: #6ee7b7;
  /* 平铺式页脚：去掉外框 / 圆角 / 面板底色，与页面底色自然衔接 */
}

/* 渠道区块：按国内 / 海外分组，行内平铺 */
.channel-block { margin-bottom: 38px; }
.block-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.block-head h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.3px; }
.block-head span { font-size: 12px; color: var(--txt-3); }

.ch-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 30px; padding: 6px 0; }

/* 渠道项：纯图标 + 名称，无边框无底色 */
.channel {
  display: flex; align-items: center; gap: 8px;
  opacity: 0.72;
  transition: opacity 0.18s ease;
  cursor: default;
}
.channel:hover { opacity: 1; }

/* LOGO 插槽：透明底，白色 logo */
.ch-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.ch-icon img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  /* 彩色 logo 强制反白；换白底版 logo 时删除此行 */
  filter: brightness(0) invert(1);
}
.ch-icon svg { width: 100%; height: 100%; display: block; }
.ch-name { font-size: 14px; font-weight: 600; color: #ffffff; white-space: nowrap; }
/* 功能链接行：纯文字链接，去胶囊边框 */
.foot-links {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.foot-link {
  font-size: 13px; color: var(--txt-2);
  text-decoration: none;
  transition: color 0.18s ease;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.foot-link:hover { color: #ffffff; }
.foot-link.primary { color: var(--brand-2); }
.foot-link.primary:hover { color: #ffffff; }
.foot-link .badge-new {
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
  background: linear-gradient(135deg, #2fb87b, #6ee7b7);
  color: #fff; border-radius: 4px; padding: 1px 5px;
  transform: translateY(-1px);
}

/* 语言切换下拉 */
.lang-item { position: relative; }
.lang-btn { gap: 8px; }
.lang-btn .caret { font-size: 9px; opacity: 0.7; transition: transform 0.2s; }
.lang-item.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; bottom: calc(100% + 8px); left: 0;
  min-width: 150px;
  background: #1a1f2c;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 20;
}
.lang-item.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: none; color: var(--txt-2);
  font-size: 13px; font-family: inherit;
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
  transition: all 0.15s;
}
.lang-menu button:hover { background: rgba(62, 207, 142, 0.14); color: #fff; }
.lang-menu button.active { color: var(--brand-2); font-weight: 600; }

/* 版权 + 备案 */
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px; color: var(--txt-3);
}
.copyright { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.beian {
  color: var(--txt-2);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.18s ease;
}
.beian:hover { color: var(--brand-2); }
.beian svg { width: 12px; height: 12px; flex: 0 0 12px; }

@media (max-width: 640px) {
  .footer-v2 { padding: 36px 0 24px; }
  .ch-row { gap: 12px 22px; }
  .ch-icon { width: 20px; height: 20px; flex: 0 0 20px; }
  .ch-name { font-size: 13px; }
  .foot-links { gap: 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 价格页扩展：积分套餐 / 扣费表 ---------- */
.rule-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.rule-chips span {
  font-size: 13px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 8px;
}
.rule-chips b { color: var(--text); }
.price-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.price-grid.four .price-card { padding: 28px 24px; }
.tier-chip {
  display: inline-block; margin-left: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: var(--accent-strong); background: var(--accent-tint);
  border-radius: 4px; padding: 2px 8px; vertical-align: 3px;
}
.table-wrap {
  max-width: 760px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; background: var(--surface);
}
.rate-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rate-table th, .rate-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.rate-table th { font-size: 12px; letter-spacing: .15em; color: var(--muted); font-weight: 500; }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table td b { color: var(--accent-strong); font-size: 15px; }
.rate-table td .note { color: var(--muted); font-size: 12.5px; }
.section-cta { text-align: center; margin-top: 32px; }
@media (max-width: 1000px) { .price-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .price-grid.four { grid-template-columns: 1fr; } .rule-chips span { padding: 7px 12px; } }
.price-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
@media (max-width: 960px) { .price-grid.three { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
.rate-table.wide { min-width: 680px; }

/* ---------- 项目介绍页：二维码插槽 ---------- */
.qr-card .qr-slot {
  width: 160px; height: 160px; margin: 6px 0 10px;
  border: 1px dashed var(--border-strong); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12.5px; background: var(--bg);
}
.qr-card .qr-slot img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.ppt-hint { font-size: 12px; color: var(--muted); opacity: 0.7; }

/* ---------- 数字人客服浮窗 ---------- */
.dh-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--accent); color: #06281a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(62, 207, 142, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dh-fab:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(62, 207, 142, 0.45); }
.dh-fab img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.dh-panel {
  position: fixed; right: 20px; bottom: 88px; z-index: 90;
  width: 340px; max-width: calc(100vw - 32px); height: 460px;
  max-height: calc(100vh - 120px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  display: none; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.dh-panel.open { display: flex; }
.dh-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--accent-tint), transparent);
}
.dh-avatar {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  overflow: hidden; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.dh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dh-title { flex: 1; line-height: 1.3; }
.dh-title b { font-size: 14.5px; display: block; }
.dh-title i { font-style: normal; font-size: 12px; color: var(--accent-strong); }
.dh-title i::before { content: "● "; font-size: 9px; }
.dh-close { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; padding: 4px 8px; }
.dh-close:hover { color: var(--text); }
.dh-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.dh-msg {
  max-width: 82%; padding: 10px 13px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.6;
  white-space: pre-wrap; word-break: break-word;
}
.dh-msg.bot {
  background: var(--surface-2); border: 1px solid var(--border);
  align-self: flex-start; border-top-left-radius: 4px;
}
.dh-msg.user {
  background: var(--accent-tint); border: 1px solid rgba(62, 207, 142, 0.35);
  align-self: flex-end; border-top-right-radius: 4px;
}
.dh-inputbar { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.dh-input {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 13.5px;
  padding: 10px 12px; outline: none; font-family: inherit;
}
.dh-input:focus { border-color: rgba(62, 207, 142, 0.5); }
.dh-send {
  background: var(--accent); color: #06281a; border: none;
  border-radius: 10px; padding: 0 16px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.dh-send:hover { background: var(--accent-strong); }
@media (max-width: 640px) {
  .dh-fab { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .dh-panel { right: 14px; bottom: 74px; }
}

/* ---------- 项目介绍页：PPT 内容样式 ---------- */
.about-lede {
  max-width: 860px; margin: 0 auto;
  font-size: 18px; line-height: 1.9; color: var(--text);
  text-align: center;
}
.about-lede b { color: var(--accent-strong); }
.how-num.big { font-size: 22px; letter-spacing: -0.01em; }
.qr-card .qr-slot.filled {
  border-style: solid;
  background: #fff;
  padding: 8px;
}

/* ---------- 团队定制页：案例展示 ---------- */
.case-block { margin-top: 48px; }
.case-block:first-of-type { margin-top: 0; }
.case-block-head { margin-bottom: 20px; }
.case-block-head h3 { font-size: 20px; font-weight: 600; }
.case-block-head p { margin-top: 10px; color: var(--muted); font-size: 14.5px; max-width: 780px; line-height: 1.75; }
.block-num { font-size: 13px; font-weight: 700; color: var(--accent); margin-right: 10px; font-variant-numeric: tabular-nums; }
.case-media .slot-empty { position: absolute; inset: 16px; width: auto; height: auto; }

/* ---------- 数字人页：hero 引导 + 案例瀑布流 ---------- */
.page-hero .hero-lede { margin-top: 16px; max-width: 840px; font-size: 15.5px; line-height: 1.85; color: var(--text); }
.page-hero .hero-lede b { color: var(--accent-strong); }

/* ---------- 使用说明页：文生视频四步流程 ---------- */
.t2v-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.t2v-flow.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .t2v-flow.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .t2v-flow.cols-3 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.t2v-step { min-width: 0; }
.t2v-step .how-num { display: inline-block; margin-bottom: 12px; }
.t2v-media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.t2v-media img, .t2v-media video { width: 100%; height: 100%; object-fit: cover; }
.t2v-step.playing .case-play { opacity: 0; pointer-events: none; }
.t2v-prompt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 22px 18px;
  text-align: center;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--accent-tint), transparent 70%),
    var(--surface-2);
  border-color: var(--border-strong);
}
.t2v-prompt-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 3px 12px;
}
.t2v-prompt > p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
}
.t2v-prompt-hint { font-size: 12.5px; color: var(--muted); }
.t2v-step h3 { margin-top: 14px; font-size: 16.5px; font-weight: 600; }
.t2v-step > p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--muted); }
@media (max-width: 960px) { .t2v-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; } }
@media (max-width: 420px) { .t2v-flow { grid-template-columns: 1fr; } .t2v-media { aspect-ratio: 9 / 15; } }
.masonry { columns: 3; column-gap: 16px; }
.masonry .m-item { break-inside: avoid; margin: 0 0 16px; border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.masonry .m-slot { height: var(--mh, 240px); margin: 14px; border: 1.5px dashed var(--border-strong); border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; padding: 10px; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 640px) { .masonry { columns: 1; } }

/* ---------- 数字人页：9:16 / 16:9 方向切换 ---------- */
.masonry .m-item[data-orient="h"] { display: none; }
.masonry.mode-h { columns: auto; column-gap: normal; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 880px; margin: 0 auto; }
.masonry.mode-h .m-item[data-orient="v"] { display: none; }
.masonry.mode-h .m-item[data-orient="h"] { display: block; }
.orient-tabs { margin: 4px 0 22px; }

/* ---- 案例页新增板块：行业案例（横向行式布局）/ TVC 广告 ---- */
.industry-grid { display: flex; flex-direction: column; gap: 26px; }
.industry-row { display: flex; align-items: flex-start; gap: 16px; }
.industry-row h3 { flex: 0 0 52px; margin: 0; font-size: 15px; color: var(--text); padding-top: 4px; }
.industry-scroll { display: flex; gap: 12px; overflow-x: auto; flex: 1; padding-bottom: 8px; }
.industry-scroll .case-card { flex: 0 0 210px; }
.industry-slot { flex: 0 0 210px; aspect-ratio: 9 / 16; border: 1.5px dashed var(--border-strong); border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; padding: 12px; background: var(--surface-2); }
@media (max-width: 640px) { .industry-row { flex-direction: column; gap: 10px; } .industry-slot { height: 220px; aspect-ratio: auto; } }
.tvc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tvc-slot { aspect-ratio: 16 / 9; border: 1.5px dashed var(--border-strong); border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; padding: 12px; background: var(--surface-2); }
@media (max-width: 900px) { .tvc-grid { grid-template-columns: 1fr; } }
.case-media.landscape { aspect-ratio: 16 / 9; }

/* ---- 瀑布流真实视频卡（电商微商 / 创意视频 / 数字人案例）---- */
.masonry .m-item .m-media { position: relative; }
.masonry .m-item .m-media video { width: 100%; height: auto; display: block; }
.masonry .m-item .m-meta { padding: 10px 12px; font-size: 13px; color: var(--muted); }
.masonry .m-item.playing .case-play { opacity: 0; pointer-events: none; }
.masonry .m-item .case-play { transition: opacity .2s; }

/* 导航语言下拉：向下弹出（页脚版为向上） */
.nav-cta .lang-menu {
  bottom: auto;
  top: calc(100% + 12px);
  left: 50%;
  margin-left: -75px;
  z-index: 60;
}
.nav-cta .lang-item.open .lang-menu { transform: translate(0, 0); }
