/* =========================================================
   智装伴侣 SmartMate — 官网重设计
   深墨 × 香槟金 · 衬线大标题 · 丝滚动效
   ========================================================= */

:root {
  --ink: #0A0A0F;
  --ink-2: #101018;
  --ink-3: #16161f;
  --line: rgba(212, 168, 83, .14);
  --line-soft: rgba(255, 255, 255, .07);
  --gold: #D4A853;
  --gold-bright: #EAC97E;
  --gold-deep: #9A7434;
  --ivory: #F2EDE3;
  --ivory-dim: rgba(242, 237, 227, .62);
  --ivory-faint: rgba(242, 237, 227, .38);
  /* 衬线（标题）：Noto Serif SC → 苹果宋体 → Windows/安卓回退 */
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  /* 正文：直接用系统黑体（苹方/鸿蒙/雅黑），无需网络字体 */
  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC", "Microsoft YaHei", -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.75;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* 短页面时 main 撑满视口，footer 始终贴底（不会跑到页面顶部） */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; width: 100%; }

::selection { background: rgba(212, 168, 83, .35); color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--gold-bright); }

.container { width: min(1160px, 92vw); margin-inline: auto; }

/* ============ 滚动进度条 ============ */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 1000;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright));
  transform-origin: 0 50%; transform: scaleX(0);
  transition: transform .1s linear;
}

/* ============ 导航 ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  padding: 18px 0;

  transition: background .5s var(--ease-soft), padding .5s var(--ease-soft), backdrop-filter .5s;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 15, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); }
.brand-mark { color: var(--gold); }
.brand-text {
  font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .06em;
  display: flex; flex-direction: column; line-height: 1.15;
}
.brand-text small {
  font-family: var(--sans); font-weight: 400; font-size: 9px;
  letter-spacing: .42em; color: var(--gold); opacity: .8;
}

.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--ivory-dim);
  position: relative; padding: 4px 0; transition: color .35s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 0; height: 1.5px; width: 100%; background: var(--ivory);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .06em;
  padding: 14px 34px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              background .35s, color .35s, border-color .35s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: 9px 24px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #241a08;
  box-shadow: 0 8px 32px -8px rgba(212, 168, 83, .55);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px -10px rgba(212, 168, 83, .7);
}

.btn-ghost { color: var(--ivory); border-color: var(--line-soft); background: rgba(255,255,255,.02); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold-bright); }

.btn-outline { color: var(--gold-bright); border-color: var(--line); }
.btn-outline:hover { background: rgba(212, 168, 83, .08); transform: translateY(-2px); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
/* 平板及以下：内容自然撑高，不再强制满屏 */
@media (max-width: 1080px) {
  .hero { min-height: auto; padding: 130px 0 70px; }
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .5;
  animation: orbFloat 16s var(--ease-soft) infinite alternate;
}
.orb-a {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  top: -12%; right: -10%;
  background: radial-gradient(circle at 40% 40%, rgba(212,168,83,.5), rgba(212,168,83,.08) 65%, transparent 70%);
}
.orb-b {
  width: 34vw; height: 34vw; max-width: 480px; max-height: 480px;
  bottom: -16%; left: -12%;
  background: radial-gradient(circle at 60% 40%, rgba(120,96,190,.28), rgba(70,90,150,.1) 60%, transparent 70%);
  animation-delay: -8s;
}
@keyframes orbFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-4%, 6%, 0) scale(1.12); }
}

.grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-copy { min-width: 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .32em;
  color: var(--gold); text-transform: uppercase;
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(212, 168, 83, .05);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(212,168,83,.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,168,83,.55); }
  70%  { box-shadow: 0 0 0 11px rgba(212,168,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,168,83,0); }
}

.hero-title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(26px, 2.9vw, 36px);
  line-height: 1.4; letter-spacing: .03em;
  margin: 30px 0 24px;
  display: flex; flex-direction: column;
}
.hero-title em { position: relative; display: inline-block; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; bottom: .08em; height: .08em; width: 100%;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: .8;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px); color: var(--ivory-dim);
  max-width: 560px; margin-bottom: 42px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(56px, 9vh, 96px);
  padding-top: 34px; border-top: 1px solid var(--line-soft);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 3vw, 38px); color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 13px; color: var(--ivory-faint); letter-spacing: .1em; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .4em; color: var(--ivory-faint);
}
/* 仅在大屏且高度充裕时显示，避免与双栏内容/动画卡片重叠 */
@media (max-width: 1080px), (max-height: 760px) {
  .hero-scroll { display: none; }
}
.hero-scroll span {
  width: 1px; height: 44px; overflow: hidden; position: relative;
  background: var(--line-soft);
}
.hero-scroll span::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: scrollHint 2.4s var(--ease-soft) infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ============ 通用 Section ============ */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section-dark { background: var(--ink-2); }
.section-dark::before, .section-dark::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.section-dark::before { top: 0; }
.section-dark::after { bottom: 0; }

.section-head { max-width: 720px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .38em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 18px;
}
.section-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.28;
}
.section-desc { margin-top: 20px; color: var(--ivory-dim); font-size: 16px; }
.section-desc strong { color: var(--gold-bright); font-weight: 500; }

/* ============ 滚动渐显 ============ */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .pulse-dot, .hero-scroll span::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ AI 接管 ============ */
.section-ai {
  background:
    radial-gradient(ellipse 60% 45% at 85% 0%, rgba(212,168,83,.06), transparent),
    var(--ink);
}
.ai-flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 20px;
}
.ai-stage {
  position: relative; padding: 38px 32px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft); border-radius: 20px;
  transition: transform .55s var(--ease), border-color .45s, box-shadow .55s var(--ease);
}
.ai-stage:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(212,168,83,.06) inset;
}
.ai-stage-num {
  font-family: var(--serif); font-size: 13px; color: var(--gold);
  letter-spacing: .2em; display: block; margin-bottom: 16px;
}
.ai-stage h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 12px; }
.ai-stage p { font-size: 14px; color: var(--ivory-dim); line-height: 1.85; }
.ai-arrow { display: flex; align-items: center; color: var(--gold); opacity: .55; }

.workbuddy {
  margin-top: 56px; padding: clamp(30px, 4vw, 52px);
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 24px;
  background:
    radial-gradient(ellipse 50% 90% at 12% 50%, rgba(212,168,83,.1), transparent),
    var(--ink-3);
  position: relative; overflow: hidden;
}
.workbuddy::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(212,168,83,.22) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: sheen 6s linear infinite;
}
@keyframes sheen {
  from { background-position: 180% 0; }
  to   { background-position: -80% 0; }
}
.workbuddy-text { flex: 1 1 380px; }
.workbuddy-text h3 { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; }
.workbuddy-text p { color: var(--ivory-dim); margin-top: 12px; font-size: 15px; }
.wb-badge {
  font-family: var(--sans); font-size: .72em; font-weight: 700; letter-spacing: .08em;
  color: #241a08; background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 4px 14px; border-radius: 8px; vertical-align: middle; margin-left: 6px;
}
.workbuddy-cta { flex: 0 0 auto; }

/* ============ 交付流程 ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  padding: 40px 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(212,168,83,.05), transparent 40%);
  transition: background .5s, transform .55s var(--ease);
}
.step:hover { background: linear-gradient(180deg, rgba(212,168,83,.1), transparent 50%); transform: translateY(-6px); }
.step-visual { color: var(--gold); margin-bottom: 26px; opacity: .9; }
.step h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 14px;
}
.step h3 span { font-size: 12px; color: var(--gold); letter-spacing: .18em; font-family: var(--sans); }
.step p { font-size: 14px; color: var(--ivory-dim); }

/* ============ 六大能力 ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); }
.feature-card {
  background: var(--ink-2); padding: 44px 36px;
  transition: background .5s;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
  transform: scaleX(0); transition: transform .6s var(--ease);
}
.feature-card:hover { background: var(--ink-3); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon { color: var(--gold); margin-bottom: 24px; }
.feature-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 13.5px; color: var(--ivory-dim); }

/* ============ 3D 体验区（app-3d.css 承载实际样式）============ */
.section-3d {
  background:
    radial-gradient(ellipse 55% 50% at 50% 100%, rgba(120,96,190,.08), transparent),
    var(--ink);
}

/* ============ 灯光真实效果（scene-backedt 集成）============ */
.section-lighting { background: var(--ink); }

.light-split {
  display: grid; grid-template-columns: minmax(320px, 5fr) 7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.light-info { max-width: 460px; }
.light-info .section-title { margin-bottom: 22px; }
.light-points { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.light-points li {
  position: relative; padding-left: 28px;
  font-size: 14px; color: var(--ivory-dim);
}
.light-points li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 13px; height: 7px; border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

.light-live {
  position: relative;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0b0b0c;
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .9);
  aspect-ratio: 4 / 3;
  transition: box-shadow .6s var(--ease), border-color .5s;
  touch-action: none;
  cursor: grab;
}
.light-live.dragging { cursor: grabbing; }
.light-live:hover {
  border-color: var(--line);
  box-shadow: 0 40px 110px -30px rgba(212, 168, 83, .18);
}
.light-live canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; display: block;
}
.light-scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0));
  pointer-events: none;
}

/* 情景标题（左下） */
.light-scene-title-wrap {
  position: absolute; left: 28px; bottom: 26px;
  overflow: hidden; pointer-events: none;
}
.light-scene-title {
  display: block;
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 300; letter-spacing: .04em; color: #f5f5f7;
  white-space: nowrap;
  transition: transform 520ms var(--ease), opacity 420ms var(--ease);
}
.light-scene-title.leaving { transform: translateY(-20px); opacity: 0; }
.light-scene-title.entering { transform: translateY(20px); opacity: 0; }

/* 情景菜单（右侧玻璃竖排） */
.light-live .scene-menu {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 18px; padding: 6px; gap: 2px;
  max-height: calc(100% - 36px);
  z-index: 2;
}
.light-live .scene-menu-item {
  position: relative; z-index: 1;
  padding: 9px 18px; border-radius: 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .06em;
  color: rgba(245, 245, 247, .56);
  cursor: pointer; user-select: none; -webkit-user-select: none;
  text-align: center; white-space: nowrap;
  transition: color 240ms var(--ease), opacity .3s ease;
}
.light-live .scene-menu-item.active { color: #1d1d1f; }
.light-live .scene-menu-item.switching { opacity: .5; pointer-events: none; color: #1d1d1f; }
.light-live .scene-menu-pill {
  position: absolute; left: 6px; right: 6px; height: 0;
  background: rgba(255, 255, 255, .95);
  border-radius: 12px; z-index: 0; top: 6px;
  transition: transform 420ms cubic-bezier(.34, 1.15, .64, 1), height 420ms cubic-bezier(.34, 1.15, .64, 1);
}
.light-live .scene-menu-hint {
  margin-top: 4px; padding: 6px 16px 4px;
  font-size: 10px; color: rgba(245, 245, 247, .32);
  letter-spacing: .04em; text-align: center;
}
/* 移动端：菜单横向置底 */
@media (max-width: 820px) {
  .light-live .scene-menu {
    right: 50%; top: auto; bottom: 14px; transform: translateX(50%);
    flex-direction: row; max-width: calc(100% - 28px);
    overflow-x: auto; scrollbar-width: none;
  }
  .light-live .scene-menu::-webkit-scrollbar { display: none; }
  .light-live .scene-menu-item { padding: 8px 13px; font-size: 11.5px; flex-shrink: 0; }
  .light-live .scene-menu-pill {
    left: 4px; top: 4px; bottom: 4px; height: auto; width: 0; right: auto;
    transition: left 420ms cubic-bezier(.34, 1.15, .64, 1), width 420ms cubic-bezier(.34, 1.15, .64, 1);
    transform: none !important;
  }
  .light-live .scene-menu-hint { display: none; }
  .light-scene-title-wrap { bottom: 74px; left: 20px; }
}

/* ============ 价格 ============ */
.price-card {
  display: grid; grid-template-columns: 1.6fr 1fr;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: var(--ink-3);
}
.price-main { padding: clamp(36px, 5vw, 64px); }
.price-name { font-size: 12px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-bottom: 22px; }
.price-value { display: flex; align-items: baseline; gap: 14px; margin-bottom: 34px; }
.price-value s { color: var(--ivory-faint); font-size: 20px; }
.price-value strong {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(48px, 6vw, 72px); line-height: 1;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-value span { color: var(--ivory-faint); font-size: 15px; }
.price-list li {
  padding: 13px 0 13px 30px; font-size: 15px; color: var(--ivory-dim);
  border-bottom: 1px solid var(--line-soft); position: relative;
}
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
  content: ""; position: absolute; left: 2px; top: 21px;
  width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.price-aside {
  padding: clamp(30px, 4vw, 48px);
  border-left: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 22px; justify-content: center;
  background: radial-gradient(ellipse 100% 60% at 100% 0%, rgba(212,168,83,.07), transparent);
}
.price-aside > p:first-child { color: var(--ivory-dim); font-size: 14px; }
.qr-slot {
  align-self: flex-start;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border: 1px dashed var(--line); border-radius: 16px;
  color: var(--ivory-faint); font-size: 12px; line-height: 1.7;
  transition: border-color .4s, color .4s;
}
.qr-slot:hover { border-color: var(--gold); color: var(--ivory-dim); }

/* ============ 联系 CTA ============ */
.section-contact {
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 110%, rgba(212,168,83,.12), transparent),
    var(--ink);
}
.contact-inner h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(32px, 5vw, 58px); line-height: 1.3;
}
.contact-inner > p { color: var(--ivory-dim); margin: 22px 0 40px; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ============ 页脚 ============ */
.footer { padding: 64px 0 44px; border-top: 1px solid var(--line-soft); background: var(--ink); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.footer-brand p { margin-top: 16px; font-size: 12.5px; color: var(--ivory-faint); line-height: 2; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; }
.footer-nav a { font-size: 13px; color: var(--ivory-faint); transition: color .35s; }
.footer-nav a:hover { color: var(--gold-bright); }
.footer-meta { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ivory-faint); }
.footer-meta a { color: var(--gold); }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .ai-flow { grid-template-columns: 1fr; }
  .ai-arrow { justify-content: center; transform: rotate(90deg); }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-demo { justify-self: start; width: min(440px, 100%); }
  .light-split { grid-template-columns: 1fr; }
  .light-info { max-width: none; }
  .light-live { aspect-ratio: 4 / 5; }
  .price-card { grid-template-columns: 1fr; }
  .price-aside { border-left: 0; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 720px) {
  .hero-inner { gap: 44px; }
  .hero-demo { justify-self: stretch; width: 100%; }

  /* 汉堡按钮置于最右侧（导航容器 margin-left:auto 右推，右侧操作区已隐藏） */
  .nav-toggle { display: block; margin-right: 17px;}

  /* 修复：滚动态导航的 backdrop-filter 会创建包含块，
     把 fixed 定位的全屏菜单困在导航条内（显示不全）。
     移动端改用纯色半透明背景，不使用 backdrop-filter。 */
  .nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10,10,15,.94);
  }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: rgba(10,10,15,.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 20px; font-family: var(--serif); }
  .nav .btn-sm { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px 40px; }
  .workbuddy { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; }
  .footer-nav { margin-left: 0; }
}

/* ============ Banner 左侧：AI 设计循环动画 ============ */
.hero-demo {
  justify-self: end;
  width: min(440px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.75);
}

.demo-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.demo-glyph {
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(212,168,83,.14);
  border: 1px solid rgba(212,168,83,.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.demo-glyph svg { width: 12px; height: 12px; stroke: var(--gold); }
.demo-title { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--ivory); }
.demo-sub { margin-left: auto; font-size: 9px; letter-spacing: .3em; color: var(--ivory-faint); font-family: var(--sans); }

.demo-stage { position: relative; padding: 14px 16px 12px; }
.demo-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; min-height: 18px; }
.demo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ivory-faint); transition: background .3s; }
.demo-dot.active { background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright); animation: demoBlink 1s ease-in-out infinite; }
.demo-dot.done { background: #7fe0a0; box-shadow: 0 0 8px #7fe0a0; animation: none; }
@keyframes demoBlink { 0%,100%{opacity:1;} 50%{opacity:.35;} }
.demo-eyebrow-text { font-size: 11px; letter-spacing: .08em; color: var(--ivory-faint); transition: color .3s; }
.demo-eyebrow-text.active { color: var(--gold-bright); }
.demo-eyebrow-text.done { color: #7fe0a0; }

.demo-plan {
  position: relative; width: 100%;
  aspect-ratio: 4 / 3.15;
  border-radius: 12px; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, var(--line-soft) 0 1px, transparent 1px 8.4%),
    repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 8.4%),
    var(--ink-2);
  border: 1px solid var(--line-soft);
}
.demo-room { position: absolute; border: 1px solid rgba(242,237,227,.12); background: rgba(242,237,227,.025); }
.demo-room > span {
  position: absolute; top: 5px; left: 7px;
  font-size: 9px; letter-spacing: .1em; color: var(--ivory-faint);
}
.demo-room-entry  { left: 0;   top: 0;   width: 16%; height: 22%; }
.demo-room-kitchen{ left: 0;   top: 22%; width: 16%; height: 30%; }
.demo-room-bath   { left: 0;   top: 52%; width: 16%; height: 32%; }
.demo-room-living { left: 16%; top: 0;   width: 46%; height: 84%; }
.demo-room-bed1   { left: 62%; top: 0;   width: 38%; height: 46%; }
.demo-room-bed2   { left: 62%; top: 46%; width: 38%; height: 38%; }

.demo-tray {
  position: absolute; left: 0; right: 0; bottom: 0; height: 16%;
  border-top: 1px dashed rgba(242,237,227,.18);
  background: rgba(5,5,8,.4);
}
.demo-tray-label {
  position: absolute; top: 3px; left: 7px;
  font-size: 8.5px; color: var(--ivory-faint); opacity: .7; letter-spacing: .2em;
}

.demo-icon-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(212,168,83,.14);
  border: 1.4px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.demo-icon-dot svg { width: 14px; height: 14px; stroke: var(--gold-bright); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.demo-tray-item { position: absolute; transform: translate(-50%,-50%); transition: opacity .35s ease; }
.demo-tray-item .demo-icon-dot { width: 22px; height: 22px; opacity: .85; }
.demo-tray-item .demo-icon-dot svg { width: 12px; height: 12px; }

.demo-flying {
  position: absolute; transform: translate(-50%,-50%); z-index: 5;
  transition: left .85s cubic-bezier(.4,0,.2,1), top .85s cubic-bezier(.4,0,.2,1);
}
.demo-flying .demo-icon-dot { box-shadow: 0 0 14px rgba(212,168,83,.5); }

.demo-pointer {
  position: absolute; width: 12px; height: 12px;
  transform: translate(-15%,-15%);
  transition: left .85s cubic-bezier(.4,0,.2,1), top .85s cubic-bezier(.4,0,.2,1), opacity .2s;
  opacity: 0; z-index: 6; pointer-events: none;
}
.demo-pointer svg { width: 100%; height: 100%; fill: var(--ivory); filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }

.demo-pin {
  position: absolute; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; scale: .6;
  transition: opacity .3s ease, scale .3s cubic-bezier(.34,1.56,.64,1);
  z-index: 4;
}
.demo-pin.show { opacity: 1; scale: 1; }
.demo-pin .demo-icon-dot { position: relative; }
.demo-pin .demo-icon-dot::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.4px solid var(--gold); opacity: 0;
}
.demo-pin.show .demo-icon-dot::after { animation: demoRing 1s ease-out 1; }
@keyframes demoRing {
  0% { opacity: .8; inset: -2px; }
  100% { opacity: 0; inset: -14px; }
}
.demo-pin-stem { width: 1px; height: 5px; background: rgba(242,237,227,.25); }
.demo-pin-tag {
  margin-top: 1px; font-size: 9px; white-space: nowrap;
  background: var(--ink-3); border: 1px solid var(--line-soft);
  color: var(--ivory-dim); padding: 2px 6px; border-radius: 4px;
}

.demo-chat {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line-soft);
}
.demo-input {
  flex: 1; display: flex; align-items: center; gap: 1px;
  height: 38px; padding: 0 14px; border-radius: 19px;
  background: var(--ink-2); border: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ivory);
  overflow: hidden; white-space: nowrap;
}
#demoTyped { font-weight: 400; }
.demo-caret {
  display: inline-block; width: 1.5px; height: 14px;
  background: var(--gold-bright); flex-shrink: 0;
  animation: demoCaretBlink 1s steps(1) infinite;
}
@keyframes demoCaretBlink { 50% { opacity: 0; } }

.demo-send {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-bright), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(212,168,83,.25);
  transition: transform .18s ease, box-shadow .18s ease;
}
.demo-send svg { width: 16px; height: 16px; fill: #241a08; }
.demo-send.active {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(212,168,83,.16), 0 4px 18px rgba(212,168,83,.4);
}

@media (prefers-reduced-motion: reduce) {
  .demo-caret { animation: none; }
  .demo-pin.show .demo-icon-dot::after { animation: none; }
}

/* ============ 导航右侧：登录 + 预约开通 ============ */
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: 4px; }
.nav-login {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 400; color: var(--ivory-dim);
  transition: color .35s;
}
.nav-login svg { width: 15px; height: 15px; }
.nav-login:hover { color: var(--gold-bright); }

@media (max-width: 880px) {
  .nav-login span { display: none; }
  .nav-login { gap: 0; }
}
@media (max-width: 720px) {
  .nav-actions { margin-left: auto;display: none; }
  .nav-login { display: none; }
}

/* ============ 子页面通用 ============ */
.page-hero {
  position: relative; padding: 170px 0 80px;
  background:
    radial-gradient(ellipse 45% 60% at 88% 0%, rgba(212,168,83,.07), transparent),
    var(--ink);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.page-hero .hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .section-title { font-size: clamp(30px, 4.6vw, 54px); }
.page-hero .section-desc { max-width: 640px; }

/* 筛选栏 */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line-soft); border-radius: 16px;
  margin-bottom: 28px;
}
.filter-bar label { font-size: 13px; color: var(--ivory-faint); letter-spacing: .1em; }
.filter-bar select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--sans); font-size: 14px; color: var(--ivory);
  background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23D4A853' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 11px 40px 11px 16px; cursor: pointer;
  transition: border-color .35s;
}
.filter-bar select:hover, .filter-bar select:focus { border-color: var(--gold); outline: none; }
.filter-bar .btn { margin-left: 10px; }

.result-meta {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 13.5px; color: var(--ivory-faint); margin-bottom: 26px;
}
.result-meta strong { color: var(--gold-bright); font-weight: 500; font-variant-numeric: tabular-nums; }

/* 服务商卡片 */
.provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.provider-card {
  position: relative; padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft); border-radius: 20px;
  transition: transform .55s var(--ease), border-color .45s, box-shadow .55s var(--ease);
}
.provider-card:hover {
  transform: translateY(-6px); border-color: var(--line);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.8);
}
a.provider-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.provider-card { position: relative; }

/* ---------- 服务商徽章（重新设计：卡角悬浮芯片 + 图标） ---------- */
.p-badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  padding: 5px 12px 5px 9px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.p-badge svg { width: 12px; height: 12px; }

/* 官方认证：绿色描边芯片 + 星形 */
.p-badge-auth {
  color: #8ee6ae;
  border: 1px solid rgba(127,224,160,.45);
  background: rgba(127,224,160,.1);
}
.provider-card-auth::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent);
  opacity: .85;
}

/* 官方服务商：金色描边芯片 + 对勾，卡片顶部金线呼应 */
.p-badge-official {
  color: var(--gold-bright);
  border: 1px solid rgba(212,168,83,.55);
  background: rgba(212,168,83,.12);
  box-shadow: 0 0 18px -4px rgba(212,168,83,.4);
}
.provider-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.provider-card .provider-desc { font-size: 14px; color: var(--ivory-dim); line-height: 1.85; margin-bottom: 18px; }
.provider-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 12.5px; color: var(--ivory-faint);
  padding-top: 16px; border-top: 1px solid var(--line-soft);
  margin-bottom: 18px;
}
.provider-meta span { display: inline-flex; align-items: center; gap: 6px; }
.provider-meta svg { width: 13px; height: 13px; stroke: var(--gold); }
.provider-link { font-size: 13.5px; color: var(--gold-bright); letter-spacing: .06em; transition: opacity .3s; }
.provider-link:hover { opacity: .75; }

/* 分页 */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin-top: 56px;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: 12px; font-size: 14px; font-variant-numeric: tabular-nums;
  border: 1px solid var(--line-soft); color: var(--ivory-dim);
  transition: all .4s var(--ease);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.pagination .current {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #241a08; font-weight: 500; border-color: transparent;
  box-shadow: 0 6px 20px -6px rgba(212,168,83,.5);
}
.pagination .disabled { opacity: .3; pointer-events: none; }

/* 新闻卡片 */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.news-card {
  display: flex; flex-direction: column; padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft); border-radius: 20px;
  transition: transform .55s var(--ease), border-color .45s, box-shadow .55s var(--ease);
}
.news-card:hover {
  transform: translateY(-6px); border-color: var(--line);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.8);
}
.news-cat {
  align-self: flex-start;
  font-size: 11px; letter-spacing: .16em; color: var(--gold-bright);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; margin-bottom: 16px;
}
.news-date { font-size: 12px; color: var(--ivory-faint); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.news-card h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.5;
  margin-bottom: 12px;
}
.news-card h3 a { transition: color .3s; }
.news-card h3 a:hover { color: var(--gold-bright); }
.news-card p { font-size: 13.5px; color: var(--ivory-dim); line-height: 1.85; flex: 1; }
.news-foot {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--ivory-faint);
}
.news-tag { color: var(--gold); opacity: .8; }

/* 时间线（关于我们） */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--line));
}
.timeline-item { position: relative; padding: 0 0 44px 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--gold);
  box-shadow: 0 0 12px rgba(212,168,83,.4);
}
.timeline-year {
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  color: var(--gold-bright); margin-bottom: 6px; font-variant-numeric: tabular-nums;
}
.timeline-item h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--ivory-dim); max-width: 560px; }

/* 合作模式卡片 */
.coop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.coop-card {
  padding: 36px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft); border-radius: 20px;
  transition: transform .55s var(--ease), border-color .45s;
}
.coop-card:hover { transform: translateY(-6px); border-color: var(--line); }
.coop-card .feature-icon { margin-bottom: 22px; }
.coop-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.coop-card p { font-size: 14px; color: var(--ivory-dim); line-height: 1.9; }
.coop-card ul { margin-top: 16px; }
.coop-card li {
  position: relative; padding: 6px 0 6px 22px;
  font-size: 13px; color: var(--ivory-faint);
}
.coop-card li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 10px; height: 6px; border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .coop-grid { grid-template-columns: 1fr; }
  .filter-bar .btn { margin-left: 0; }
}

/* ============ 合作流程四列 / 伙伴LOGO墙 ============ */
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .steps.four { grid-template-columns: 1fr; } }

/* ---------- 战略合作伙伴：圆形徽章 ---------- */
.partner-slots {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(28px, 5vw, 60px);
  padding: 10px 0 4px;
}
.partner-slot {
  position: relative;
  width: clamp(118px, 13vw, 164px);
  height: clamp(118px, 13vw, 164px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 32%, rgba(255,255,255,.05), rgba(255,255,255,.012) 70%);
  color: var(--ivory-faint); font-size: 12px; letter-spacing: .12em; text-align: center;
  transition: border-color .45s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
/* 外层细环（双环结构，层次感） */
.partner-slot::before {
  content: ""; position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  pointer-events: none;
  transition: border-color .45s, transform .5s var(--ease);
}
.partner-slot img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(.92);
  transition: filter .45s, transform .5s var(--ease);
}
.partner-slot:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px -14px rgba(0,0,0,.7), 0 0 44px -10px rgba(212,168,83,.32);
}
.partner-slot:hover::before { border-color: var(--line); transform: scale(1.03); }
.partner-slot:hover img { filter: saturate(1.12); transform: scale(1.06); }
@media (max-width: 720px) {
  .partner-slots { gap: 24px; }
  .partner-slot { width: 104px; height: 104px; }
  .partner-slot::before { inset: -6px; }
}

/* ============ 3D 体验区：iframe 容器（懒加载）============ */
.stage3d-frame {
  position: relative;
  height: 640px;
  overflow: hidden;
  border: none;
  background: transparent;
  transition: box-shadow .6s var(--ease);
}
.stage3d-frame:hover {
  box-shadow: 0 40px 110px -30px rgba(212, 168, 83, .18);
}
.stage3d-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0; display: block;
}
.stage3d-loading {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: transparent;
  transition: opacity .6s ease, visibility .6s ease;
}
.stage3d-loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.stage3d-loading p { font-size: 13px; letter-spacing: .2em; color: var(--ivory-faint); }
.stage3d-loading-rings { position: relative; width: 72px; height: 72px; }
.stage3d-loading-rings span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
  animation: stage3dSpin 1.8s cubic-bezier(.5,0,.5,1) infinite;
}
.stage3d-loading-rings span:nth-child(1) { border-top-color: var(--gold); box-shadow: 0 0 15px rgba(212,168,83,.5); }
.stage3d-loading-rings span:nth-child(2) { inset: 10px; border-top-color: rgba(212,168,83,.4); border-right-color: rgba(212,168,83,.1); animation-delay: -.3s; animation-duration: 1.4s; }
.stage3d-loading-rings span:nth-child(3) { inset: 20px; border-top-color: rgba(212,168,83,.2); animation-delay: -.6s; animation-duration: 1s; }
@keyframes stage3dSpin { to { transform: rotate(360deg); } }

/* 平板/移动端：iframe 内部为上下布局，需要更高容器 */
@media (max-width: 960px) {
  .stage3d-frame { height: 1060px; }
}
@media (max-width: 480px) {
  .stage3d-frame { height: 1040px; }
}

/* ============ 服务商页：动态渲染扩展样式 ============ */
.provider-header {
  display: flex; align-items: center; justify-content: flex-start;
  margin-bottom: 16px;
}
.provider-avatar {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(212,168,83,.18), rgba(212,168,83,.05));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--gold-bright);
  overflow: hidden;
}
.provider-avatar img { width: 100%; height: 100%; object-fit: cover; }
.provider-rating {
  text-align: left; display: flex; flex-direction: column; gap: 2px;
  margin-left: 16px; padding-top: 4px;
}
.provider-rating small { font-size: 11px; letter-spacing: .12em; color: var(--ivory-faint); }
.provider-rating strong {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--gold-bright); font-variant-numeric: tabular-nums;
}
.provider-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip-sm {
  font-size: 11px; letter-spacing: .08em; color: var(--ivory-dim);
  border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 3px 11px;
}
.provider-card h3 { font-size: 20px; }

/* 骨架屏 */
.provider-skeleton { pointer-events: none; }
.sk {
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.1) 37%, rgba(255,255,255,.05) 63%);
  background-size: 400% 100%;
  animation: skShimmer 1.4s ease infinite;
  border-radius: 8px;
}
@keyframes skShimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.sk-badge { width: 84px; height: 22px; border-radius: 999px; margin-bottom: 18px; }
.sk-line { height: 15px; margin-bottom: 12px; }
.sk-block { height: 52px; margin-top: 20px; }

/* 空状态 */
.empty-state {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 70px 20px; text-align: center;
}
.empty-state-icon { color: var(--ivory-faint); opacity: .6; }
.empty-state-icon svg { width: 44px; height: 44px; }
.empty-state-title { font-family: var(--serif); font-size: 18px; color: var(--ivory-dim); }
.empty-state-desc { font-size: 13px; color: var(--ivory-faint); }

/* 分页扩展（JS 渲染的链接型分页） */
.pagination .page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: 12px; font-size: 14px; font-variant-numeric: tabular-nums;
  border: 1px solid var(--line-soft); color: var(--ivory-dim);
  transition: all .35s var(--ease);
}
.pagination .page-link:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.pagination .page-link.current {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #241a08; font-weight: 500; border-color: transparent;
  box-shadow: 0 6px 20px -6px rgba(212,168,83,.5);
}
.pagination .page-link.disabled { opacity: .3; pointer-events: none; }
.pagination .dots { border: none; color: var(--ivory-faint); min-width: 24px; }

/* ============ 服务商详情页 ============ */
.pd-hero {
  position: relative; padding: 170px 0 70px;
  background: var(--ink); overflow: hidden;
}
.pd-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(2px) saturate(110%); transform: scale(1.06);
  opacity: .5;
}
.pd-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 20% 100%, rgba(10,10,15,.55), transparent),
    linear-gradient(180deg, rgba(10,10,15,.78), rgba(10,10,15,.92));
}
.pd-hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.pd-hero-info { display: flex; align-items: center; gap: 26px; min-width: 0; }
.pd-hero-avatar {
  width: 96px; height: 96px; border-radius: 26px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(212,168,83,.2), rgba(212,168,83,.06));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--gold-bright);
  overflow: hidden;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.85);
}
.pd-hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero-name {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.25;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.pd-hero-name .p-badge { position: static; }
.pd-hero-bio { color: var(--ivory-dim); font-size: 15px; margin-top: 10px; max-width: 620px; }
.pd-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.pd-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px; align-items: start;
}
.pd-main .section-head { margin-bottom: 40px; }

/* 侧栏 */
.pd-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.pd-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft); border-radius: 20px;
}
.pd-card-title { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 22px; }
.pd-info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.pd-info-row:last-of-type { border-bottom: 0; }
.pd-info-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,168,83,.1); border: 1px solid var(--line);
}
.pd-info-icon svg { width: 17px; height: 17px; stroke: var(--gold); }
.pd-info-row small { display: block; font-size: 11px; letter-spacing: .16em; color: var(--ivory-faint); margin-bottom: 3px; }
.pd-info-row p { font-size: 14px; color: var(--ivory-dim); line-height: 1.7; word-break: break-all; }
.pd-years { font-family: var(--serif); font-size: 24px; color: var(--gold-bright); font-weight: 700; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.pd-stats-card { display: flex; }
.pd-stat { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.pd-stat strong { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.pd-stat span { font-size: 12px; color: var(--ivory-faint); letter-spacing: .1em; }

/* ---------- 项目案例墙 ---------- */
.case-wall {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case-item {
  position: relative; margin: 0;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
  cursor: pointer;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.case-item:hover, .case-item:focus-visible {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(212,168,83,.08);
  outline: none;
}
/* 首个案例：横幅大图 */
.case-item-feature { grid-column: 1 / -1; }
.case-img-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-item-feature .case-img-wrap { aspect-ratio: 16 / 7; }
.case-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s var(--ease);
}
.case-item:hover .case-img-wrap img { transform: scale(1.05); }

.case-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 18px;
  background: linear-gradient(180deg, transparent 30%, rgba(5,5,8,.85));
  opacity: 0; transition: opacity .45s var(--ease);
}
.case-item:hover .case-overlay, .case-item:focus-visible .case-overlay { opacity: 1; }
.case-overlay-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.case-overlay-text strong {
  font-family: var(--serif); font-size: 17px; color: var(--ivory);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.case-overlay-text span {
  font-size: 12.5px; color: var(--ivory-dim);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case-expand {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,168,83,.9); color: #241a08;
  transition: transform .4s var(--ease);
}
.case-expand svg { width: 13px; height: 13px; }
.case-item:hover .case-expand { transform: scale(1.12) rotate(90deg); }

.case-count {
  position: absolute; top: 14px; right: 14px;
  font-size: 11px; letter-spacing: .08em; color: var(--ivory);
  background: rgba(5,5,8,.72); border: 1px solid var(--line-soft);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 4px 11px; border-radius: 999px;
}
.case-item figcaption {
  padding: 14px 18px;
  font-family: var(--serif); font-size: 15px; color: var(--ivory-dim);
  border-top: 1px solid var(--line-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 灯箱 ---------- */
.lb { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,5,8,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: lbFade .4s ease;
}
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-shell {
  position: relative; z-index: 1;
  width: min(1080px, 94vw); max-height: 92svh;
  display: flex; flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line-soft); border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.95);
  animation: lbIn .45s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }

.lb-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--line-soft);
}
.lb-meta { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.lb-meta strong {
  font-family: var(--serif); font-size: 18px; color: var(--ivory);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lb-meta span { font-size: 13px; color: var(--gold-bright); font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.lb-close {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-soft);
  background: none; color: var(--ivory-dim); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .35s var(--ease);
}
.lb-close svg { width: 16px; height: 16px; }
.lb-close:hover { border-color: var(--gold); color: var(--gold-bright); transform: rotate(90deg); }

.lb-body {
  position: relative; flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  background: #050508;
}
.lb-figure { max-width: 100%; max-height: 62svh; display: flex; align-items: center; justify-content: center; margin: 0; }
.lb-figure img { max-width: 100%; max-height: 62svh; object-fit: contain; display: block; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(10,10,15,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ivory); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .35s var(--ease);
}
.lb-nav svg { width: 18px; height: 18px; }
.lb-nav:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(212,168,83,.14); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-desc {
  padding: 14px 22px; font-size: 13.5px; color: var(--ivory-dim); line-height: 1.8;
  border-top: 1px solid var(--line-soft);
  max-height: 70px; overflow: auto; scrollbar-width: none;
}
.lb-desc:empty { display: none; }

.lb-thumbs {
  display: flex; gap: 10px; padding: 14px 22px 18px;
  overflow-x: auto; scrollbar-width: none;
  border-top: 1px solid var(--line-soft);
}
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb {
  width: 74px; height: 54px; flex-shrink: 0; padding: 0;
  border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: none;
  transition: border-color .3s, opacity .3s;
  opacity: .5;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: .85; }
.lb-thumb.active { border-color: var(--gold); opacity: 1; }

/* 微信弹窗 */
.wechat-shell { width: min(400px, 92vw); }
.wechat-body { padding: 34px 30px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wechat-body img {
  width: 240px; height: 240px; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--line);
  background: #fff;
}
.wechat-body p { font-size: 14px; color: var(--ivory-dim); letter-spacing: .06em; }

@media (max-width: 960px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-side { position: static; }
  .case-wall { grid-template-columns: 1fr; }
  .case-item-feature { grid-column: auto; }
  .case-item-feature .case-img-wrap { aspect-ratio: 4 / 3; }
  .pd-hero { padding: 150px 0 50px; }
}

/* ============ 新闻列表：纯文字卡片（模板 SSR 版） ============ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
a.news-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.news-card {
  display: flex; flex-direction: column;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft); border-radius: 20px;
  transition: transform .55s var(--ease), border-color .45s, box-shadow .55s var(--ease);
}
.news-card:hover {
  transform: translateY(-6px); border-color: var(--line);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.8);
}
.news-card .news-cat {
  align-self: flex-start;
  font-size: 11px; letter-spacing: .16em; color: var(--gold-bright);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; margin-bottom: 16px;
}
.news-card .news-sub {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.news-card .news-date { font-size: 12px; color: var(--ivory-faint); font-variant-numeric: tabular-nums; }
.news-card .news-author { font-size: 12px; color: var(--gold); opacity: .85; }
.news-card .news-card-title {
  font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .35s;
}
.news-card:hover .news-card-title { color: var(--gold-bright); }
.news-card .news-excerpt {
  font-size: 13.5px; color: var(--ivory-dim); line-height: 1.85; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .news-foot {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--ivory-faint);
}
.news-card .news-tags { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.news-card .news-tag {
  font-size: 11px; color: var(--gold); opacity: .8;
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px 10px;
}
.news-views { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.news-views svg { width: 12px; height: 12px; }

/* ============ 新闻分类：编辑风格标签栏 ============ */
.news-category {
  display: flex; align-items: stretch; flex-wrap: wrap;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line-soft);
  counter-reset: cat;
}

/* 左侧"分类"题签：金色短线 + 小字号大字距 */
.cat-chip-label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px 16px 0;
  font-size: 11px; letter-spacing: .32em; color: var(--ivory-faint);
  text-transform: uppercase;
  white-space: nowrap;
}
.cat-chip-label::before {
  content: ""; width: 18px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* 标签：文字型 + 金色下划线动画（覆盖在栏底线上） */
.cat-chip {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 16px 18px 15px;
  font-size: 13.5px; font-weight: 400; letter-spacing: .1em;
  color: var(--ivory-dim);
  margin-bottom: -1px;               /* 下划线压住栏底线 */
  border-bottom: 2px solid transparent;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  text-decoration: none;
  transition: color .35s;
  white-space: nowrap;
}
/* 分类序号：01 / 02 / 03 … 编辑感细节 */
.cat-chip:not(.cat-chip-all)::before {
  counter-increment: cat;
  content: counter(cat, decimal-leading-zero);
  font-size: 9px; letter-spacing: .05em;
  color: var(--gold); opacity: .65;
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
  transform: translateY(-3px);
  transition: opacity .35s;
}
.cat-chip:hover { color: var(--ivory); }
.cat-chip:hover:not(.active)::before { opacity: 1; }
.cat-chip:hover:not(.active)::after { transform: scaleX(.35); }

/* 金色下划线：hover 掠过、选中铺满 */
.cat-chip::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease);
}
.cat-chip.active { color: var(--gold-bright); }
.cat-chip.active::before { opacity: 1; }
.cat-chip.active::after { transform: scaleX(1); }

/* "全部"标签 */
.cat-chip-all { letter-spacing: .16em; }

/* 隐藏原生 checkbox（label 承载交互） */
.cat-chip .cat-checkbox {
  position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
}

@media (max-width: 720px) {
  .news-category { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .news-category::-webkit-scrollbar { display: none; }
  .cat-chip-label { padding-right: 14px; }
  .cat-chip { padding: 14px 13px 13px; font-size: 12.5px; }
}
