/* ===== Custom Properties ===== */
:root {
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
}

/* ===== Smooth Scroll ===== */
html {
  scroll-behavior: smooth;
  /* 原生 hash 跳转（如直接访问 /#about）时给固定导航留出空间 */
  scroll-padding-top: 5rem;
}

/* ===== 渲染性能优化：首屏外区块跳过渲染，滚动到附近再绘制 =====
   注：#products / #solutions 含 JS 测宽的轮播与切换，不参与跳过渲染 */
#process,
#news,
#about,
#cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 1200px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ===== Navbar Scroll Effect ===== */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ===== 首屏透明导航（滚动到技术板块前） ===== */
#navbar.nav-transparent,
#navbar.nav-transparent.scrolled {
  background-color: transparent;
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
#navbar.nav-transparent .nav-link {
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
/* 导航交互色：hover 与当前栏目统一使用主题色 emerald */
/* 顶栏透明（Hero 区）时改用浅一档 emerald，保证深色背景可读 */
#navbar.nav-transparent .nav-link:hover,
#navbar.nav-transparent .nav-link.text-emerald-600 {
  color: #34d399;
}
#navbar .nav-link:hover,
#navbar .nav-link.text-emerald-600 {
  color: #059669;
}
#navbar.nav-transparent .nav-brand-title {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
#navbar.nav-transparent .nav-brand-sub {
  color: rgba(255, 255, 255, 0.75);
}
#navbar.nav-transparent .nav-burger {
  color: rgba(255, 255, 255, 0.9);
}
#navbar.nav-transparent .nav-cta {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 6px 20px rgba(16, 185, 129, 0.28);
}

/* ===== Mobile Menu ===== */
#mobile-menu {
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
#mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
body.nav-lock { overflow: hidden; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.mobile-nav-link:hover { background-color: #ecfdf5; color: #059669; }
.mobile-nav-link.is-active {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14), rgba(20, 184, 166, 0.04));
  color: #059669;
}
.mobile-nav-idx {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #94a3b8;
}
.mobile-nav-link.is-active .mobile-nav-idx { color: #10b981; }
.mobile-nav-arrow {
  margin-left: auto;
  color: #cbd5e1;
  transition: transform 0.25s ease, color 0.25s ease;
}
.mobile-nav-link:hover .mobile-nav-arrow,
.mobile-nav-link.is-active .mobile-nav-arrow {
  color: #10b981;
  transform: translateX(2px);
}
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(90deg, #059669, #0d9488);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px -14px rgba(5, 150, 105, 0.65);
}

/* ===== Hero Slideshow ===== */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

#hero-slideshow picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-slide-img {
  object-position: 62% center;
}
/* 第 1 屏：渐变作底；底图以 screen 混合去掉自身暗底，只留艳色光束 */
#hero-slideshow .hero-slide:nth-child(1) {
  background-color: #00000a;
  background-image:
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.03) 0 1px, rgba(255, 255, 255, 0) 1px 52px),
    radial-gradient(780px 560px at 40% 34%, rgba(56, 189, 248, 0.14), rgba(56, 189, 248, 0) 74%),
    radial-gradient(600px 460px at 30% 78%, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0) 78%),
    linear-gradient(115deg,
      #00000a 0%,
      #01010c 12%,
      #04021a 24%,
      #0b0740 36%,
      #1d0f66 48%,
      #33157f 58%,
      #46269b 68%,
      #3a3f8f 78%,
      #1c2450 90%,
      #050517 100%);
}
#hero-slideshow .hero-slide:nth-child(1) picture {
  mix-blend-mode: screen;
  background: none;
  opacity: 0.6;
}
#hero-slideshow .hero-slide:nth-child(1) .hero-slide-img {
  mix-blend-mode: screen;
  background: none;
  filter: brightness(0.88) saturate(0.92);
}
/* 桌面端：底图缩小并右对齐，左缘渐隐与渐变底无缝衔接 */
@media (min-width: 768px) {
  #hero-slideshow .hero-slide:nth-child(1) picture {
    left: 38%;
    right: 0;
    width: 62%;
  }
  #hero-slideshow .hero-slide-img {
    object-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
    mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  }
}
@media (max-aspect-ratio: 1/1) {
  .hero-slide-img { object-position: 72% center; }
}
@media (max-width: 640px) {
  .hero-slide-img { object-position: 70% 45%; }
}

/* Ken Burns effect on image slides */
.hero-slide[data-type="image"] img {
  will-change: transform;
  animation: kenBurns 14s ease-in-out infinite alternate;
}
.hero-slide[data-type="image"].active img {
  animation-play-state: running;
}
.hero-slide[data-type="image"]:not(.active) img {
  animation-play-state: paused;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  25% {
    transform: scale(1.12) translate(-2%, -1.5%);
  }
  50% {
    transform: scale(1.04) translate(1.5%, 2%);
  }
  75% {
    transform: scale(1.18) translate(2.5%, -0.5%);
  }
  100% {
    transform: scale(1.08) translate(-1.5%, 1%);
  }
}

/* Parallax-ready slide images */
.hero-slide img.parallax-active {
  will-change: transform;
}

/* 第 3 屏：沿用第 1 屏的渐变色作底；底图以 screen 混合去掉自身暗底 */
#hero-slideshow .hero-slide:nth-child(3) {
  background-color: #00000a;
  background-image:
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.03) 0 1px, rgba(255, 255, 255, 0) 1px 52px),
    radial-gradient(720px 520px at 58% 38%, rgba(56, 189, 248, 0.20), rgba(56, 189, 248, 0) 70%),
    radial-gradient(560px 420px at 26% 84%, rgba(139, 92, 246, 0.18), rgba(139, 92, 246, 0) 74%),
    linear-gradient(135deg,
      #00000a 0%,
      #03020f 12%,
      #0c0633 26%,
      #241073 40%,
      #4c1d95 52%,
      #6d28d9 62%,
      #4f46e5 70%,
      #0e7490 82%,
      #0f172a 94%,
      #050517 100%);
}
#hero-slideshow .hero-slide:nth-child(3) > img {
  mix-blend-mode: screen;
  background: none;
}
/* 桌面端：底图缩小并右对齐，左缘渐隐与渐变底无缝衔接 */
@media (min-width: 768px) {
  #hero-slideshow .hero-slide:nth-child(3) > img {
    left: 46%;
    right: 0;
    width: 54%;
    object-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%);
    mask-image: linear-gradient(to right, transparent 0%, #000 26%);
  }
}
#hero-slideshow .hero-slide:nth-child(3) > div {
  background-image: linear-gradient(90deg, rgba(0, 0, 10, 0.88) 0%, rgba(12, 6, 51, 0.28) 45%, rgba(12, 6, 51, 0) 72%);
}

/* 第 2 屏：取 hero2.webp 主色（墨蓝/青 + 品红）的深色反差渐变底；底图缩小右置并以 screen 去暗底 */
#hero-slideshow .hero-slide:nth-child(2) {
  background-color: #04070d;
  background-image:
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.025) 0 1px, rgba(255, 255, 255, 0) 1px 52px),
    radial-gradient(760px 540px at 28% 44%, rgba(34, 211, 238, 0.10), rgba(34, 211, 238, 0) 76%),
    radial-gradient(620px 460px at 18% 74%, rgba(197, 63, 194, 0.06), rgba(197, 63, 194, 0) 78%),
    linear-gradient(300deg,
      #05080f 0%,
      #070d18 18%,
      #0b1a29 34%,
      #102a40 50%,
      #15384f 64%,
      #1b4459 76%,
      #22405e 88%,
      #1a2038 100%);
}


/* Active dot */
.slide-dot.active {
  background: #10b981 !important;
  width: 28px !important;
  border-radius: 9999px;
}

/* ===== Hero Text Sets ===== */
.hero-content-wrapper {
  position: relative;
  width: 100%;
  display: grid;
  align-items: center;
}

/* Hero 子幻灯轮播（第一屏三图切换） */
.hero-sub-slide {
  transition: opacity 1s ease-in-out;
}
@media (max-width: 768px) {
  .hero-sub-slide {
    transition: opacity 0.6s ease-in-out;
  }
}

.hero-text-set {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.hero-text-set.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Hero Tags（标签行） ===== */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: border-color 0.3s, background 0.3s;
}
.hero-tag:hover {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(16, 185, 129, 0.14);
}
@media (max-width: 480px) {
  .hero-tag {
    padding: 5px 12px;
    font-size: 13px;
  }
}

/* ===== Hero 主标题 ===== */
.hero-title {
  font-size: 3rem; /* 48px */
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ===== Hero 副标题 ===== */
.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}
@media (min-width: 640px) {
  .hero-sub {
    font-size: 1.25rem;
  }
}

/* ===== Hero 白描边胶囊按钮 ===== */
.hero-cta-row {
  margin-top: 3rem;
}
.hero-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.hero-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}
.hero-cta-outline svg {
  transition: transform 0.3s;
}
.hero-cta-outline:hover svg {
  transform: translateX(4px);
}

/* ===== Hero Stats Cards ===== */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) {
  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.hero-stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.hero-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.08);
}

/* Glow aura behind each card */
.hero-stat-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero-stat-card:hover .hero-stat-glow {
  opacity: 1;
}

/* Icon wrapper */
.hero-stat-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(20, 184, 166, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  transition: all 0.35s ease;
}
.hero-stat-card:hover .hero-stat-icon-wrap {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(20, 184, 166, 0.2) 100%);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

/* Text body */
.hero-stat-body {
  min-width: 0;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-stat-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
  margin-left: 2px;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== Hero Trust Anchors ===== */
.hero-trust-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (min-width: 640px) {
  .hero-trust-anchors {
    gap: 16px;
  }
}

.trust-anchor-card {
  flex: 1 1 0;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
/* 顶部 emerald 微光条 */
.trust-anchor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.25), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.trust-anchor-card:hover::before {
  opacity: 1;
}
.trust-anchor-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(255,255,255,0.07);
  transform: translateY(-3px);
  box-shadow:
    0 0 24px rgba(16,185,129,0.08),
    0 8px 32px rgba(0,0,0,0.18);
}

/* 图标容器 */
.trust-anchor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(16,185,129,0.12);
  color: #34d399;
  flex-shrink: 0;
  transition: all 0.35s ease;
}
.trust-anchor-card:hover .trust-anchor-icon {
  background: rgba(16,185,129,0.2);
  color: #6ee7b7;
  box-shadow: 0 0 14px rgba(16,185,129,0.18);
}

/* 标签行 */
.trust-anchor-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-anchor-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* 数值行 */
.trust-anchor-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
}

.trust-anchor-highlight {
  color: #34d399;
  font-size: 1.4rem;
}

.trust-anchor-unit-inline {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}

.trust-anchor-suffix {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  margin-left: 2px;
  white-space: nowrap;
}

/* ===== Agent 手风琴切换列表 ===== */
.agent-switch:focus-visible {
  outline: 2px solid #a7f3d0;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Agent Visual Panels */
.agent-visual-panel {
  display: none;
  animation: agentFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.agent-visual-panel.active {
  display: block;
}

/* ----- 产品板块：仿 Marble 版式细节 ----- */
/* 两栏网格：窄屏单列；桌面两列且右侧与左栏等高 */
.agent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .agent-grid {
    grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
    gap: 3rem;
    align-items: stretch;   /* 右侧高度跟随左栏 */
  }
}
@media (min-width: 1280px) {
  .agent-grid {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 3.5rem;
  }
}
@media (min-width: 1536px) {
  .agent-grid {
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 4rem;
  }
}

/* 右侧图卡：白底大圆角容器 + 内边距，图片自身圆角 */
.agent-visual-card {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 32px 70px -48px rgba(15, 23, 42, 0.30);
}
.agent-visual-card img {
  border-radius: 12px;
}
@media (max-width: 640px) {
  .agent-visual-card { padding: 10px; border-radius: 14px; }
  .agent-visual-card img { border-radius: 8px; }
}
@media (min-width: 1280px) {
  .agent-visual-card { padding: 20px; border-radius: 24px; max-width: 760px; }
}
@media (min-width: 1536px) {
  .agent-visual-card { padding: 22px; max-width: 820px; }
}

/* 桌面：图片区高度与左侧列表等高（图片自适应填满并裁切） */
@media (min-width: 1024px) {
  #agent-visual { height: 100%; }
  .agent-visual-panel.active { height: 100%; }
  .agent-visual-card {
    height: 100%;
    display: flex;
  }
  .agent-visual-card img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }
}

/* ===== Solutions: 行业解决方案（图片卡片版式） ===== */
.sol-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
  color: #ffffff;
}
.sol-section-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(640px 380px at 12% 0%, rgba(16, 185, 129, 0.10), transparent 70%),
    radial-gradient(560px 340px at 88% 20%, rgba(45, 212, 191, 0.07), transparent 70%);
}
.sol-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 72px 72px;
}
.sol-container {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 6rem;
}
@media (min-width: 640px)  { .sol-container { padding-left: 2rem;  padding-right: 2rem; } }
@media (min-width: 1024px) { .sol-container { padding: 7rem 3rem 8rem; } }
@media (min-width: 1280px) { .sol-container { padding-left: 3.5rem; padding-right: 3.5rem; } }
@media (min-width: 1536px) { .sol-container { padding-left: 4.5rem; padding-right: 4.5rem; } }

/* 标题区：左标题 + 右描述 */
.sol-head {
  display: grid;
  gap: 1.25rem;
  max-width: 56rem;
}
@media (min-width: 1024px) {
  .sol-head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: 1.5rem;
    max-width: 82rem;
  }
  /* 标题按内容自适应宽度、不折行，与右侧描述同处一行 */
  .sol-title { white-space: nowrap; }
  .sol-lead { max-width: 32rem; }
}
@media (min-width: 1440px) {
  .sol-head { gap: 2rem; }
}
.sol-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.sol-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}
@media (min-width: 1024px) {
  .sol-lead { font-size: 1.0625rem; }
}

/* ===== 应用场景 Section ===== */
.scene-section {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4.5rem 0;
  min-height: 100vh;
  background: #f8fafc;
}
@supports (min-height: 100svh) {
  .scene-section { min-height: 100svh; }
}
@media (min-width: 1024px) {
  .scene-section { padding: 5.5rem 0; }
}
.scene-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 9rem);
}
@supports (min-height: 100svh) {
  .scene-container { min-height: calc(100svh - 9rem); }
}
@media (min-width: 1024px) {
  .scene-container { min-height: calc(100vh - 11rem); }
}
@media (min-width: 640px)  { .scene-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .scene-container { padding: 0 2rem; } }
@media (min-width: 1280px) { .scene-container { padding: 0 3rem; } }
@media (min-width: 1536px) { .scene-container { padding: 0 4rem; } }

.scene-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.scene-title {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.scene-lead {
  margin-top: 0.85rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #64748b;
}
@media (min-width: 1024px) { .scene-lead { font-size: 1.0625rem; } }

.scene-grid {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}
@media (min-width: 640px)  { .scene-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 768px) {
  .scene-grid {
    flex: 1 1 auto;
    max-width: 1240px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1.125rem;
  }
}
@media (min-width: 1280px) { .scene-grid { max-width: 1360px; gap: 1.5rem; } }

.scene-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.25rem 1rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px -20px rgba(15, 23, 42, 0.25);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease, box-shadow 0.35s ease;
}
.scene-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 22px 40px -26px rgba(16, 185, 129, 0.45);
}
.scene-thumb {
  display: block;
  width: 100%;
  max-width: 6.5rem;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
}
@media (min-width: 768px)  { .scene-thumb { max-width: 7rem; } }
@media (min-width: 1280px) { .scene-thumb { max-width: 7.75rem; } }
.scene-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.scene-card:hover .scene-thumb img { transform: scale(1.06); }

/* 图标版卡片 */
.scene-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  color: #059669;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(20, 184, 166, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.22);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
@media (min-width: 1024px) {
  .scene-icon { width: 3.25rem; height: 3.25rem; }
}
.scene-card:hover .scene-icon {
  color: #047857;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.18), rgba(20, 184, 166, 0.12));
  border-color: rgba(16, 185, 129, 0.4);
}

.scene-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #0f172a;
  text-align: center;
  white-space: nowrap;
}
@media (min-width: 1024px) { .scene-name { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) {
  .scene-card { transition: none; }
  .scene-card:hover { transform: none; }
}

/* 卡片横向轮播 */
.sol-carousel {
  margin-top: 2.75rem;
}
@media (min-width: 1024px) {
  .sol-carousel { margin-top: 3.75rem; }
}
.sol-viewport {
  overflow: hidden;
}
.sol-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.sol-track .sol-card {
  flex: 0 0 100%;
  min-width: 0;
}
@media (min-width: 768px) {
  .sol-track { gap: 1.5rem; }
  .sol-track .sol-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
}
@media (min-width: 1024px) {
  .sol-track .sol-card { flex: 0 0 calc((100% - 3rem) / 3); }
}

/* 轮播控制 */
.sol-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.sol-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.sol-nav:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(52, 211, 153, 0.6);
  transform: translateY(-2px);
}
.sol-nav[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.sol-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sol-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.sol-dot.active {
  width: 26px;
  background: #34d399;
}

/* 图片卡片 —— AI Native 风格：深色玻璃基底 + 渐变描边 + 数据网格 + 顶部光条 */
.sol-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 26rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1220;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
              0 18px 40px -34px rgba(2, 6, 23, 0.9);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease, box-shadow 0.4s ease;
}
/* 渐变描边 */
.sol-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(140deg,
    rgba(52, 211, 153, 0.75) 0%,
    rgba(94, 234, 212, 0.28) 34%,
    rgba(255, 255, 255, 0.06) 62%,
    rgba(52, 211, 153, 0.35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.55;
  transition: opacity 0.35s ease;
}
/* 顶部霓虹光条 */
.sol-card::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 1.4rem;
  right: 1.4rem;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #34d399 30%, #5eead4 60%, transparent);
  opacity: 0.5;
  transition: opacity 0.35s ease;
}
.sol-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
              0 30px 60px -28px rgba(16, 185, 129, 0.42);
}
.sol-card:hover::before { opacity: 1; }
.sol-card:hover::after { opacity: 1; }
.sol-card-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  filter: saturate(1.02) contrast(1.03);
}
.sol-card:hover .sol-card-img { transform: scale(1.08); }
.sol-card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(52, 211, 153, 0.07) 1px, transparent 1px) 0 0 / 100% 36px,
    linear-gradient(90deg, rgba(52, 211, 153, 0.07) 1px, transparent 1px) 0 0 / 36px 100%,
    radial-gradient(120% 60% at 50% 100%, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0) 70%),
    linear-gradient(180deg,
      rgba(2, 6, 23, 0.32) 0%,
      rgba(2, 6, 23, 0.52) 42%,
      rgba(2, 6, 23, 0.68) 64%,
      rgba(2, 6, 23, 0.95) 100%);
}
.sol-card-title {
  padding: 1.6rem 1.5rem 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.sol-card-title::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.6rem;
  border-radius: 3px;
  vertical-align: middle;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.75);
}
@media (min-width: 1024px) { .sol-card-title { font-size: 1.5rem; } }
.sol-card-foot {
  padding: 0 1.5rem 1.6rem;
}
.sol-card-desc {
  margin-top: 0;
  font-size: 1.3rem;
  line-height: 1.65;
  font-weight: 600;
  background: linear-gradient(90deg, #6ee7b7 0%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6ee7b7;
}
@media (min-width: 1280px) {
  .sol-card-desc { font-size: 1.45rem; }
}
.sol-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.95rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6ee7b7;
  text-decoration: none;
  transition: color 0.3s ease;
}
.sol-card-link svg { transition: transform 0.3s ease; }
.sol-card-link:hover { color: #a7f3d0; }
.sol-card-link:hover svg { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .sol-card, .sol-card-img, .sol-card-link, .sol-card-link svg { transition: none; }
  .sol-card:hover { transform: none; }
  .sol-card:hover .sol-card-img { transform: none; }
}

@keyframes agentFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Remove old float animation */
.animate-float {
  animation-name: drift;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-10px) translateX(5px); }
  50% { transform: translateY(-5px) translateX(-5px); }
  75% { transform: translateY(-15px) translateX(3px); }
}

/* ===== Floating Animation ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ===== Scroll Animations with Intersection Observer ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Slide Transitions ===== */
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}
@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ===== Hover Effects ===== */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* ===== Gradient Text Utility ===== */
.text-gradient {
  background: linear-gradient(to right, var(--emerald-600), var(--teal-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Responsive Typography ===== */
@media (max-width: 640px) {
  #hero h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }
}

/* ===== Loading/Placeholder Shimmer ===== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.05) 0%, 
    rgba(255,255,255,0.1) 50%, 
    rgba(255,255,255,0.05) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* ===== Print Styles ===== */
@media print {
  nav, #hero video, .hero-slide {
    display: none !important;
  }
  #hero {
    min-height: auto;
    background: white !important;
  }
}

/* ===== Partner Logo Cards | AI Native Glassmorphism ===== */
.partner-card {
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.partner-card.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 精致浅色卡片 */
.partner-card-inner {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.02),
    0 1px 3px rgba(0,0,0,0.03),
    0 3px 8px rgba(0,0,0,0.04);
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  transform: translateZ(0);
}

/* 顶边高光线 - 浅色版更含蓄 */
.partner-card-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(16,185,129,0.08) 25%,
    rgba(16,185,129,0.18) 50%,
    rgba(16,185,129,0.08) 75%,
    transparent);
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

/* 底部微光 */
.partner-card-inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 25%; right: 25%; height: 24px;
  background: radial-gradient(ellipse at 50% 100%, rgba(16,185,129,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Hover: 柔和浮起 + 淡 emerald 光晕 */
.partner-card:hover .partner-card-inner {
  background: #ffffff;
  border-color: rgba(16,185,129,0.25);
  box-shadow:
    0 0 0 1px rgba(16,185,129,0.08),
    0 2px 8px rgba(16,185,129,0.08),
    0 6px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px) scale(1.015);
}
.partner-card:hover .partner-card-inner::before { opacity: 1; }
.partner-card:hover .partner-card-inner::after  { opacity: 1; }

/* LOGO 图片：统一视觉体量（宽幅按宽度收敛，窄幅按高度放大） */
.partner-logo {
  position: relative;
  z-index: 1;
  width: auto;
  object-fit: contain;
  max-height: 24px;
  max-width: min(104px, 64%);
  opacity: 0.7;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.partner-card:hover .partner-logo {
  opacity: 1;
  transform: scale(1.06);
  filter: drop-shadow(0 1px 4px rgba(16,185,129,0.12));
}

/* 移动端适配 */
@media (max-width: 768px) {
  .partner-card-inner {
    box-shadow:
      0 0 0 1px rgba(0,0,0,0.015),
      0 1px 2px rgba(0,0,0,0.025);
  }
  .partner-card:hover .partner-card-inner {
    transform: translateY(-1px) scale(1.008);
  }
}

/* ====================================================================
 * 合作模式 SECTION | AI Native Console 风格
 * ==================================================================== */

/* ----- 标题上方 eyebrow 徽标 ----- */
.cmode-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.22);
  box-shadow: 0 8px 24px -12px rgba(16, 185, 129, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #059669;
}
.cmode-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  animation: cmode-pulse 1.8s ease-in-out infinite;
}
@keyframes cmode-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.8); }
}

/* ----- 主控面板：玻璃质感 + 巡游渐变描边 ----- */
.cmode-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(160deg, #ffffff 0%, #fbfffe 55%, #f1fdf8 100%);
  border: 1px solid rgba(16, 185, 129, 0.16);
  box-shadow: 0 40px 90px -55px rgba(13, 148, 136, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.cmode-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(115deg, transparent 18%, rgba(16, 185, 129, 0.65) 38%,
              rgba(139, 92, 246, 0.5) 52%, transparent 78%);
  background-size: 240% 100%;
  animation: cmode-border 9s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
@keyframes cmode-border {
  0%   { background-position: 130% 0; }
  100% { background-position: -30% 0; }
}
/* 面板内缓慢下沉的扫描光带 */
.cmode-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 180px;
  top: 0;
  background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.07), transparent);
  animation: cmode-scan 11s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes cmode-scan {
  0%   { transform: translateY(-200px); }
  100% { transform: translateY(760px); }
}

/* ----- 面板顶部状态条 ----- */
.cmode-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.09);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #94a3b8;
}
.cmode-status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #059669;
  font-weight: 600;
}
.cmode-status-live i {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
  animation: cmode-pulse 1.8s ease-in-out infinite;
}

/* ----- 模式卡片 ----- */
.cmode-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  padding: 26px 24px 24px;
  background: linear-gradient(165deg, #ffffff 0%, #ffffff 46%, var(--accent-soft) 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 14px 34px -26px rgba(15, 23, 42, 0.28);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease, border-color 0.4s ease;
}
.cmode-card > * { position: relative; z-index: 1; }
/* HUD 四角括号：hover 时点亮 */
.cmode-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 16px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 0 / 1.5px 16px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 16px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 1.5px 16px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 100% / 16px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 100% / 1.5px 16px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 16px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 1.5px 16px no-repeat;
}
.cmode-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  box-shadow: 0 28px 60px -30px var(--accent-glow), 0 0 0 1px var(--accent-line) inset;
}
.cmode-card:hover::before { opacity: 0.55; }

/* 右上角编号徽标 */
.cmode-num {
  flex: none;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 9px;
  border-radius: 9px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  transition: background 0.35s ease, color 0.35s ease;
}
.cmode-card:hover .cmode-num {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

/* 头部：图标 + 标签 + 标题 + 编号 */
.cmode-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cmode-head-text { flex: 1; min-width: 0; }
.cmode-icon {
  position: relative;
  flex: none;
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  color: var(--accent);
  background: linear-gradient(150deg, var(--accent-soft), rgba(255, 255, 255, 0.95));
  border: 1px solid var(--accent-line);
}
/* 旋转的锥形渐变描边光环 */
.cmode-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 52%, var(--accent) 78%, transparent 92%);
  opacity: 0.4;
  animation: cmode-spin 5.5s linear infinite;
}
.cmode-icon::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  border-radius: 14.5px;
  background: linear-gradient(150deg, var(--accent-soft), #ffffff 85%);
}
.cmode-icon svg { position: relative; z-index: 1; }
@keyframes cmode-spin {
  to { transform: rotate(360deg); }
}

.cmode-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.cmode-tag i {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.cmode-title {
  margin-top: 7px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.cmode-desc {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
}

/* 能力清单：与上方描述以虚线分隔 */
.cmode-list {
  margin: 28px 0 0;
  padding: 26px 0 0;
  list-style: none;
  display: grid;
  gap: 14px;
  border-top: 1px dashed rgba(15, 23, 42, 0.1);
}
.cmode-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}
.cmode-check {
  flex: none;
  margin-top: 1px;
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.cmode-check svg { width: 11px; height: 11px; }

/* 底部：结算信息 */
.cmode-foot { margin-top: auto; padding-top: 26px; }
.cmode-stat {
  position: relative;
  overflow: hidden;
  padding: 14px 16px 15px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 26px -22px rgba(15, 23, 42, 0.4), inset 0 1px 0 #ffffff;
}
.cmode-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 3px;
  border-radius: 9999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.8;
}
.cmode-stat-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  opacity: 0.85;
}
.cmode-stat-value {
  margin-top: 5px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
}
/* 数据流进度条：hover 时充满 */
.cmode-bar {
  display: block;
  margin-top: 12px;
  height: 3px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.cmode-bar i {
  display: block;
  height: 100%;
  width: var(--w, 80%);
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left;
  transform: scaleX(0.32);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.cmode-card:hover .cmode-bar i { transform: scaleX(1); }

@media (max-width: 640px) {
  .cmode-card { padding: 20px 18px 18px; }
  .cmode-title { font-size: 18px; }
  .cmode-num { min-width: 36px; height: 25px; font-size: 11px; }
  .cmode-list { margin-top: 22px; padding-top: 20px; }
  .cmode-foot { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cmode-panel::before,
  .cmode-scan,
  .cmode-icon::before,
  .cmode-eyebrow i,
  .cmode-status-live i { animation: none; }
  .cmode-card:hover { transform: none; }
}

/* ====================================================================
 * 核心技术 SECTION | 能力卡片 + 关键指标条
 * ==================================================================== */
/* ----- 四大能力卡片：图标在上、标题在下 ----- */
.tfeat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 1024px) {
  .tfeat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}
.tfeat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  min-height: 13rem;
  padding: 2rem 1rem 1.75rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 12px 30px -26px rgba(15, 23, 42, 0.3);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease, border-color 0.4s ease;
}
.tfeat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 24px 48px -30px rgba(5, 150, 105, 0.45);
}
.tfeat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: #0f172a;
}
.tfeat-icon svg {
  width: 52px;
  height: 52px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.tfeat-card:hover .tfeat-icon svg {
  transform: translateY(-3px) scale(1.06);
}
.tfeat-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #111827;
  text-align: center;
}
@media (max-width: 640px) {
  .tfeat-card { min-height: 10.5rem; padding: 1.5rem 0.75rem 1.25rem; gap: 1rem; }
  .tfeat-icon { width: 52px; height: 52px; }
  .tfeat-icon svg { width: 42px; height: 42px; }
  .tfeat-title { font-size: 15px; }
}

/* ----- 关键指标条：浅色圆角面板，大数字 + 小标签 ----- */
.tstat-bar {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8faf9 0%, #f4f9f6 100%);
  border: 1px solid rgba(15, 23, 42, 0.05);
  text-align: center;
}
@media (min-width: 1024px) {
  .tstat-bar {
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem 2rem;
    margin-top: 1.5rem;
  }
}
.tstat-value {
  margin: 0;
  font-family: "Microsoft YaHei", "微软雅黑", "MSYH", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #059669 0%, #14b8a6 55%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tstat-label {
  margin: 0.6rem 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}
@media (max-width: 640px) {
  .tstat-bar { padding: 2rem 1rem; gap: 1.5rem 0.75rem; }
  .tstat-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .tfeat-card:hover { transform: none; }
  .tfeat-card:hover .tfeat-icon svg { transform: none; }
}

/* ====================================================================
 * 新闻动态 SECTION
 * ==================================================================== */

/* 板块底色：淡雅青绿渐变，与相邻白/灰板块区分 */
#news {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(16, 185, 129, 0.10), rgba(16, 185, 129, 0) 70%),
    linear-gradient(180deg, #f8faf9 0%, #ecfdf5 45%, #f0fdfa 100%);
}

/* ----- 分类筛选按钮 ----- */
.news-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.news-filter:hover {
  border-color: #6ee7b7;
  color: #059669;
  background: #ecfdf5;
}
.news-filter.active {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 18px -6px rgba(5, 150, 105, 0.55);
}

/* ----- 文章卡片：内嵌封面 + 左对齐信息层级 + 箭头行动点 ----- */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 20px;
  box-shadow: 0 10px 30px -26px rgba(15, 23, 42, 0.35);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  animation: news-card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--card-i, 0) * 60ms);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
/* 主题色背景层：hover 时淡入铺满整卡（置于内容之下） */
.news-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 20px;
  pointer-events: none;
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 18px 40px -24px rgba(5, 150, 105, 0.55);
}
.news-card:hover::before { opacity: 1; }

@keyframes news-card-in {
  to { opacity: 1; transform: translateY(0); }
}

.news-card-cover {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #99f6e4 100%);
}
.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-card:hover .news-card-cover img { transform: scale(1.05); }
/* 底部渐变遮罩，保证日期文字可读 */
.news-card-cover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48%;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.5), rgba(3, 7, 18, 0));
  z-index: 1;
  pointer-events: none;
}
.news-card-cover--empty { /* 缺图兜底 */ }

/* 分类标签（左上） */
.news-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #065f46;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.news-card-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.news-card-pin {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b45309;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #fde68a;
  border-radius: 6px;
}

/* 日期浮于图片左下角 */
.news-card-date {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(3, 7, 18, 0.45);
}

.news-card-body {
  position: relative;
  z-index: 1;
  padding: 16px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  text-align: left;
}

.news-card-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 400;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.news-card:hover .news-card-title { color: #ffffff; }
@media (min-width: 1280px) {
  .news-card-title { font-size: 20px; }
}

.news-card-digest {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 底部行动行：了解更多 + 相对时间 */
.news-card-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.news-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #059669;
  transition: color 0.3s ease;
}
.news-card:hover .news-card-more { color: #ffffff; }
.news-card-more svg { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.news-card:hover .news-card-more svg { transform: translateX(4px); }
.news-card-time {
  font-size: 12.5px;
  color: #94a3b8;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.news-card:hover .news-card-time { color: rgba(255, 255, 255, 0.78); }

@media (max-width: 640px) {
  .news-card { padding: 10px; border-radius: 18px; }
  .news-card::before { border-radius: 18px; }
  .news-card-body { padding: 14px 6px 4px; }
}

/* ----- 详情弹层 ----- */
.news-article-body {
  word-break: break-word;
}
.news-article-body p {
  margin-bottom: 14px;
}
.news-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}
.news-article-body h1,
.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
  font-weight: 700;
  color: #0f172a;
  margin: 24px 0 12px;
}
.news-article-body h2 { font-size: 1.4em; }
.news-article-body h3 { font-size: 1.2em; }
.news-article-body ul,
.news-article-body ol { padding-left: 22px; margin-bottom: 14px; }
.news-article-body li { margin-bottom: 6px; }
.news-article-body blockquote {
  border-left: 3px solid #6ee7b7;
  padding: 4px 14px;
  background: #ecfdf5;
  border-radius: 0 8px 8px 0;
  color: #475569;
  margin: 16px 0;
}
.news-article-body a {
  color: #059669;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-article-body section,
.news-article-body div[style*="background"] {
  /* 微信正文里大量的 section/div 自带 style，过滤掉浅色外背景避免冲突 */
}
.news-article-body pre,
.news-article-body code {
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

@keyframes news-modal-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
#news-modal:not(.hidden) > div > div {
  animation: news-modal-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- 移动端适配 ----- */
@media (max-width: 640px) {
  .news-card-body { padding-top: 16px; gap: 8px; }
  .news-card-title { font-size: 17.5px; }
  .news-card-date { font-size: 12px; }
  .news-card-cover { border-radius: 12px; }
}

/* ====================================================================
 * FOOTER | 页脚排版
 * ==================================================================== */

footer {
  position: relative;
  /* 极淡的主色光晕，避免深色块过于沉闷 */
  background-image: radial-gradient(120% 130% at 10% 0%, rgba(16, 185, 129, 0.1), transparent 58%);
}
/* 顶部主色渐变细线，与全站绿色调呼应 */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5) 20%, rgba(13, 148, 136, 0.5) 80%, transparent);
}

/* ----- 分栏：品牌列更宽，链接列紧凑，联系列适中 ----- */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 40px;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 1.05fr);
    gap: 40px;
  }
}

/* ----- 品牌列：简介 ----- */
.footer-brand-desc {
  max-width: 44ch;
  font-size: 13.5px;
  line-height: 1.9;
  color: #9ca3af;
}

/* ----- 联系列：微信二维码入口 ----- */
.footer-wechat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
.footer-wechat-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: rgba(16, 185, 129, 0.6);
  transition: color 0.22s ease;
}
.footer-wechat-btn {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 13.5px;
  line-height: inherit;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.22s ease;
}
.footer-wechat:hover .footer-wechat-icon,
.footer-wechat-btn.is-active,
.footer-wechat-btn:hover {
  color: #34d399;
}
.footer-qr-popup {
  transform-origin: bottom left;
}
.footer-qr-arrow {
  position: absolute;
  top: 100%;
  left: 17px;
  width: 0;
  height: 0;
  margin-top: -1px;
  border: 10px solid transparent;
  border-top-color: #ffffff;
  filter: drop-shadow(0 3px 3px rgba(2, 44, 34, 0.12));
  pointer-events: none;
}

/* ----- 列标题：底部主色短线 ----- */
.footer-col-title {
  position: relative;
  padding-bottom: 13px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #10b981, #0d9488);
}

/* ----- 链接列表 ----- */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  color: #9ca3af;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: color 0.22s ease, transform 0.22s ease;
}
.footer-links a:hover {
  color: #34d399;
  transform: translateX(3px);
}
.footer-links a svg {
  flex-shrink: 0;
}

/* ----- 底部版权 ----- */
.footer-bottom-wrap {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  font-size: 12px;
  line-height: 1.7;
  color: #7c8598;
}
.footer-bottom a {
  color: inherit;
  transition: color 0.22s ease;
}

/* ----- 移动端 ----- */
@media (max-width: 640px) {
  .footer-brand-desc {
    max-width: none;
    font-size: 13px;
  }
  .footer-grid {
    gap: 26px;
  }
  .footer-col-title {
    padding-bottom: 11px;
    margin-bottom: 15px;
  }
}

/* ====================================================================
 * BACK TO TOP | AI 挂件（右下角悬浮，外环为滚动进度）
 * ==================================================================== */

.ai-backtop {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.82);
  transition: opacity 0.35s ease, transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.35s;
  -webkit-tap-highlight-color: transparent;
}

.ai-backtop[data-visible='true'] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* 进度环：conic-gradient + 环形遮罩 */
.ai-backtop-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #10b981 0%,
    #14b8a6 var(--ai-progress, 0%),
    rgba(16, 185, 129, 0.16) var(--ai-progress, 0%),
    rgba(16, 185, 129, 0.16) 100%
  );
  -webkit-mask: radial-gradient(circle, transparent 64%, #000 65%);
  mask: radial-gradient(circle, transparent 64%, #000 65%);
}

/* 内核：玻璃拟态 + 渐变边 */
.ai-backtop-core {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px -10px rgba(5, 150, 105, 0.55), inset 0 0 0 1px rgba(16, 185, 129, 0.22);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.ai-backtop:hover .ai-backtop-core,
.ai-backtop:focus-visible .ai-backtop-core {
  transform: translateY(-3px) scale(1.04);
  background: #ffffff;
  color: #047857;
}

.ai-backtop:active .ai-backtop-core {
  transform: translateY(0) scale(0.96);
}

/* 呼吸光晕 */
.ai-backtop-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.55), rgba(20, 184, 166, 0.18) 55%, transparent 72%);
  filter: blur(10px);
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
  animation: ai-backtop-pulse 3.4s ease-in-out infinite;
}

@keyframes ai-backtop-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.45; }
  50% { transform: scale(1.1); opacity: 0.85; }
}

.ai-backtop:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .ai-backtop {
    width: 46px;
    height: 46px;
  }
  .ai-backtop-core svg {
    width: 17px;
    height: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-backtop,
  .ai-backtop-core {
    transition: none;
  }
  .ai-backtop-glow {
    animation: none;
    opacity: 0.5;
  }
}

/* ====================================================================
 * AI DOCK | 右下角悬浮坞（微信 + 回到顶部）
 * ==================================================================== */

.ai-dock {
  position: fixed;
  right: 1.5rem;
  bottom: 1.75rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ai-dock-item {
  position: relative;
  flex: 0 0 auto;
}

/* ----- 微信按钮：渐变实心 + AI 呼吸光 ----- */
.ai-dock-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981 0%, #0d9488 55%, #0f766e 100%);
  box-shadow: 0 12px 28px -10px rgba(6, 95, 70, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.ai-dock-face {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-dock-btn:hover,
.ai-dock-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -12px rgba(6, 95, 70, 0.72), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.ai-dock-btn:hover .ai-dock-face {
  transform: scale(1.06);
}

.ai-dock-btn:active .ai-dock-face {
  transform: scale(0.94);
}

.ai-dock-btn:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 4px;
}

/* 光晕 */
.ai-dock-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.6), rgba(20, 184, 166, 0.2) 55%, transparent 72%);
  filter: blur(10px);
  opacity: 0.65;
  z-index: -1;
  pointer-events: none;
  animation: ai-dock-pulse 3.6s ease-in-out infinite;
}

@keyframes ai-dock-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.45; }
  50% { transform: scale(1.12); opacity: 0.9; }
}

/* 右下角状态点 */
.ai-dock-tip {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  animation: ai-dock-blink 2.4s ease-in-out infinite;
}

@keyframes ai-dock-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}

.ai-dock-item.is-open .ai-dock-btn {
  transform: scale(1.02);
}

.ai-dock-item.is-open .ai-dock-tip {
  animation: none;
  opacity: 0;
}

/* ----- 二维码弹层 ----- */
.ai-qr-pop {
  position: absolute;
  right: 100%;
  bottom: 0;
  margin-right: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px) scale(0.94);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s;
  pointer-events: none;
}

.ai-dock-item.is-open .ai-qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.ai-qr-card {
  position: relative;
  width: 176px;
  padding: 12px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 48px -18px rgba(6, 78, 59, 0.5), inset 0 0 0 1px rgba(16, 185, 129, 0.16);
  text-align: center;
}

/* 顶部 AI 扫描线 */
.ai-qr-scan {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 45%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #10b981, #14b8a6, transparent);
  animation: ai-qr-scan 2.8s ease-in-out infinite;
}

@keyframes ai-qr-scan {
  0%, 100% { transform: translateX(-30%); opacity: 0.3; }
  50% { transform: translateX(230%); opacity: 1; }
}

.ai-qr-hd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2px 0 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #065f46;
}

.ai-qr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  animation: ai-dock-blink 2s ease-in-out infinite;
}

.ai-qr-img {
  padding: 7px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
}

.ai-qr-img img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}

.ai-qr-cap {
  margin: 9px 0 1px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.ai-qr-arrow {
  position: absolute;
  right: -5px;
  bottom: 20px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 1px -1px 0 0 rgba(16, 185, 129, 0.12);
  transform: rotate(45deg);
  border-radius: 2px;
}

@media (max-width: 640px) {
  .ai-dock {
    right: 1rem;
    bottom: 1.25rem;
    gap: 12px;
  }
  .ai-dock-btn {
    width: 46px;
    height: 46px;
  }
  .ai-dock-btn svg {
    width: 19px;
    height: 19px;
  }
  .ai-qr-card {
    width: 156px;
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-dock-btn,
  .ai-dock-face,
  .ai-qr-pop {
    transition: none;
  }
  .ai-dock-glow,
  .ai-dock-tip,
  .ai-qr-dot,
  .ai-qr-scan {
    animation: none;
  }
}
