/* ImageTwin 图片查重 — 背景与主色分离、字体清晰、按钮易辨认 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* 主色：用于按钮、链接、强调，与背景明显区分 */
  --brand: #06b6d4;
  --brand-light: #22d3ee;
  --brand-dark: #0891b2;
  --brand-glow: rgba(6, 182, 212, 0.35);
  --cyan: var(--brand);
  --cyan-light: var(--brand-light);
  --cyan-dark: var(--brand-dark);
  --cyan-glow: var(--brand-glow);
  --primary: var(--brand);
  --primary-dark: var(--brand-dark);
  --primary-light: #a5f3fc;
  --primary-muted: rgba(6, 182, 212, 0.06);
  --accent: var(--brand-light);
  /* 背景：暖白与浅灰，不沾青、不与按钮撞色 */
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-soft: #f5f5f5;
  /* 边框：中性灰，与背景协调 */
  --border: #e5e5e5;
  --border-light: #f0f0f0;
  /* 文字：深色保证清晰，次要文字仍易读 */
  --text: #171717;
  --text-muted: #525252;
  /* 深色块：与主色区分，用于顶栏/Hero/价格条/页脚 */
  --navy: #1e293b;
  --navy-mid: #334155;
  --navy-light: #475569;
  --dark-soft: #64748b;
  --font: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: min(1280px, 100vw - 32px);
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 14px rgba(6, 182, 212, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (max-width: 480px) { .wrap { padding: 0 20px; } }
.wrap-narrow { max-width: 720px; }
.wrap-wide { max-width: 100%; }
.text-center { text-align: center; }
.trusted-lead { margin: 0 auto; font-size: 1rem; line-height: 1.75; color: var(--text-muted); max-width: 560px; }

/* ----- 机构 Logo 展示 ----- */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
  margin-top: 32px;
}
.logo-row-item {
  flex-shrink: 0;
  width: 120px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-row-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.25s ease;
}
.logo-row-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ----- Header：透明感 + 滚动后实色 ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s, box-shadow 0.2s;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.9; }
.logo-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.logo:hover .logo-text { color: var(--brand-dark); }
.logo--light .logo-text { color: #f1f5f9; }
.logo--light:hover .logo-text { color: var(--brand-light); }
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--primary); background: var(--primary-muted); }
.nav .btn { color: #fff; background: var(--primary); }
.nav .btn:hover { background: var(--primary-dark); color: #fff; }
.btn-cta {
  background: var(--brand-dark);
  color: #fff;
  font-weight: 600;
  border: 2px solid var(--brand-dark);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.35);
}
.btn-cta:hover {
  background: #0e7490;
  color: #fff;
  border-color: #0e7490;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.4);
}
.btn-cta-lg { padding: 14px 32px; font-size: 1rem; }
.btn-ghost {
  background: rgba(6, 182, 212, 0.24);
  color: #fff;
  border: 2px solid rgba(34, 211, 238, 0.7);
}
.btn-ghost:hover {
  background: rgba(6, 182, 212, 0.35);
  color: #fff;
  border-color: var(--brand-light);
}
.btn-ghost--light {
  background: rgba(6, 182, 212, 0.24);
  color: #fff;
  border: 2px solid rgba(34, 211, 238, 0.7);
}
.btn-ghost--light:hover {
  background: rgba(6, 182, 212, 0.35);
  color: #fff;
  border-color: var(--brand-light);
}
.site-header--dark { background: var(--navy); border-bottom-color: var(--navy-mid); }
.site-header--dark .nav a { color: #94a3b8; }
.site-header--dark .nav a:hover { color: var(--brand-light); background: rgba(6, 182, 212, 0.15); }
.site-header--dark .nav .btn-cta { color: #fff; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  border-radius: 8px;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: transform 0.2s; }
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-radius: 0; border-bottom: 1px solid var(--border-light); }
  .nav a:last-of-type { border-bottom: none; }
  .site-header--dark .nav { background: var(--navy); border-color: var(--navy-mid); }
  .site-header--dark .nav a { border-bottom-color: var(--navy-mid); }
}

/* ----- 按钮 ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--brand-dark);
  color: #fff;
  border: 2px solid var(--brand-dark);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.3);
}
.btn-primary:hover { background: #0e7490; color: #fff; border-color: #0e7490; box-shadow: 0 4px 12px rgba(8, 145, 178, 0.4); }
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover { background: var(--primary-muted); border-color: var(--primary-dark); color: var(--primary-dark); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; margin-top: 16px; }

/* ----- Hero / Banner：渐变背景 + 清晰层次 ----- */
.banner {
  padding: 64px 0 56px;
  background: linear-gradient(165deg, var(--bg-alt) 0%, var(--primary-light) 50%, var(--bg-alt) 100%);
  background-color: var(--bg-alt);
}
.banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.banner-content { text-align: left; }
.banner-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.banner-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.banner-note { margin-top: 20px; font-size: 0.875rem; color: var(--text-muted); }
.banner-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--bg);
  border: 1px solid var(--border-light);
}
.banner-hero img { width: 100%; height: auto; display: block; vertical-align: top; }
@media (max-width: 768px) {
  .banner { padding: 48px 0 40px; }
  .banner-inner { grid-template-columns: 1fr; gap: 36px; }
  .banner-content { text-align: center; }
  .cta-buttons { justify-content: center; }
  .btn { width: 100%; max-width: 280px; }
}

/* ========== 首页科技风：全新版面 ========== */
.hero-dark {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 56px 0 48px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 70%, #1e293b 100%);
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-inner { max-width: 540px; }
.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-light);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 999px;
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.hero-title br { display: block; }
.hero-desc {
  font-size: 1.0625rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin: 0 0 20px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.hero-note { font-size: 0.875rem; color: #cbd5e1; margin: 0; line-height: 1.75; }
.hero-note-price {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 999px;
}
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.2), 0 24px 48px -12px rgba(0,0,0,0.3);
  max-width: 100%;
}
.hero-frame img { width: 100%; height: auto; display: block; vertical-align: top; }
@media (max-width: 900px) {
  .hero-dark { padding: 44px 0 40px; }
  .hero-wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-inner { max-width: none; }
  .hero-cta { justify-content: center; }
  .hero-frame { max-width: 560px; margin: 0 auto; }
}

.section--light { background: var(--bg-alt); }
.section--dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #e2e8f0;
}
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-badge--light { color: var(--brand-light); }
.section-title--left { text-align: left; }
.section-title--light { color: #fff; }
.section-lead--left { text-align: left; margin-left: 0; margin-right: 0; }
.section-lead--left + .features-bento { margin-top: 48px; }

.features-bento { display: flex; flex-direction: column; gap: 0; }
.bento-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.bento-item:last-of-type { border-bottom: none; }
.bento-item--reverse .bento-img { order: 2; }
.bento-item--reverse .bento-content { order: 1; }
.bento-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 16/10;
}
.bento-img img { width: 100%; height: 100%; object-fit: cover; }
.bento-content h3 { font-size: 1.25rem; font-weight: 600; color: var(--text); margin: 0 0 12px; }
.bento-content p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
@media (max-width: 768px) {
  .bento-item, .bento-item--reverse { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .bento-item--reverse .bento-img, .bento-item--reverse .bento-content { order: unset; }
}

.why-timeline { list-style: none; margin: 0; padding: 0; max-width: 720px; margin-left: auto; margin-right: auto; }
.timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, transparent 100%);
  opacity: 0.5;
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 16px var(--brand-glow);
}
.timeline-body h3 { font-size: 1.0625rem; font-weight: 600; color: var(--brand-light); margin: 0 0 8px; }
.timeline-body p { font-size: 0.9375rem; color: #94a3b8; line-height: 1.65; margin: 0; }

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scenario-card {
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.scenario-card:hover { border-color: var(--brand); box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.25); }
.scenario-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.scenario-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 0 0 10px; }
.scenario-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .scenarios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scenarios-grid { grid-template-columns: 1fr; } }

.pricing-section .wrap { max-width: 880px; }
.pricing-glow {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pricing-glow-inner {
  padding-bottom: 40px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 6%, var(--bg)) 0%, var(--bg) 24%);
}
.pricing-main {
  padding: 48px 48px 28px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pricing-amount { font-size: 3.25rem; font-weight: 700; color: var(--primary); }
.pricing-unit { font-size: 1.0625rem; color: var(--text-muted); margin-left: 4px; }
.pricing-list {
  list-style: none;
  margin: 0;
  padding: 32px 48px 36px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 36px;
}
.pricing-list li {
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  min-height: 1.6em;
}
.pricing-list-icon {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 900px) {
  .pricing-list { grid-template-columns: repeat(2, 1fr); }
  .pricing-list li { white-space: normal; }
}
@media (max-width: 600px) {
  .pricing-section .wrap { max-width: 100%; }
  .pricing-main { padding: 40px 24px 24px; }
  .pricing-list { grid-template-columns: 1fr; padding: 28px 24px 32px; gap: 14px; }
  .pricing-list li { white-space: normal; }
  .pricing-amount { font-size: 2.75rem; }
}
.pricing-glow .btn-cta { display: block; width: 100%; max-width: 280px; margin: 0 auto 16px; text-align: center; }
.pricing-tip { text-align: center; font-size: 0.8125rem; color: var(--text-muted); margin: 0; }

.process-timeline { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.process-timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 32px;
}
.process-timeline-item:last-child { padding-bottom: 0; }
.process-timeline-num {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--brand-glow);
  flex-shrink: 0;
}
.process-timeline-content h3 { font-size: 1.0625rem; font-weight: 600; color: var(--text); margin: 0 0 6px; }
.process-timeline-content p { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }
.alert-box--tech { background: rgba(6, 182, 212, 0.08); border-left-color: var(--brand); }
.alert-box--tech strong { color: var(--brand-dark); }
.alert-box--oneline {
  max-width: none;
  width: fit-content;
  min-width: 100%;
  box-sizing: border-box;
}
.alert-box--oneline .alert-box-inner { white-space: nowrap; display: inline-block; }
@media (max-width: 640px) {
  .alert-box--oneline .alert-box-inner { white-space: normal; display: block; }
}

.stats-strip {
  background: linear-gradient(90deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  padding: 48px 0;
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-cell { padding: 16px 8px; }
.stats-cell-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-light);
  text-shadow: 0 0 20px var(--brand-glow);
  margin-bottom: 6px;
}
.stats-cell-label { font-size: 0.8125rem; color: #94a3b8; }
@media (max-width: 768px) {
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-strip-inner { grid-template-columns: 1fr; }
}

.logo-row--tech .logo-row-item img { filter: grayscale(100%) opacity(0.6); }
.logo-row--tech .logo-row-item:hover img { filter: grayscale(0%) opacity(1); }

/* 机构 Logo 左右点击滚动 */
.logo-carousel {
  position: relative;
  margin-top: 32px;
  padding: 0 52px;
}
.logo-carousel-track {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.logo-carousel-track::-webkit-scrollbar { display: none; }
.logo-carousel .logo-row {
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-top: 0;
  gap: 32px 48px;
  padding: 8px 0;
}
.logo-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.logo-carousel-btn:hover {
  background: color-mix(in srgb, var(--brand) 10%, var(--bg));
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
}
.logo-carousel-btn--prev { left: 0; }
.logo-carousel-btn--next { right: 0; }
@media (max-width: 640px) {
  .logo-carousel { padding: 0 42px; }
  .logo-carousel-btn { width: 36px; height: 36px; font-size: 1.25rem; }
  .logo-carousel-btn--prev { left: 4px; }
  .logo-carousel-btn--next { right: 4px; }
}

.testimonial-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 24px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); }
.testimonial-card p { margin: 0 0 14px; font-size: 0.9375rem; color: var(--text); line-height: 1.7; }
.testimonial-card cite { font-size: 0.8125rem; color: var(--text-muted); font-style: normal; }
@media (max-width: 900px) { .testimonial-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testimonial-masonry { grid-template-columns: 1fr; } }

/* 科研评价：列表式 */
.testimonial-section .testimonial-intro {
  margin: -8px 0 28px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 42em;
}
.testimonial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-list-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-list-item:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, transparent);
  box-shadow: var(--shadow);
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #0e7490));
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-body { flex: 1; min-width: 0; }
.testimonial-quote {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.7;
}
.testimonial-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .testimonial-featured { padding: 24px 20px; }
  .testimonial-list-item { flex-direction: column; gap: 14px; padding: 18px; }
  .testimonial-avatar { width: 40px; height: 40px; font-size: 0.875rem; }
}

.faq-cards { display: flex; flex-direction: column; gap: 16px; }
.faq-card {
  padding: 22px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.faq-card:hover { border-color: var(--brand); }
.faq-card h4 { font-size: 0.9375rem; font-weight: 600; color: var(--text); margin: 0 0 10px; }
.faq-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tip-card {
  padding: 24px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand);
  transition: box-shadow 0.2s;
}
.tip-card:hover { box-shadow: var(--shadow); }
.tip-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 0 0 8px; }
.tip-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
@media (max-width: 768px) { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tips-grid { grid-template-columns: 1fr; } }

/* 如何规避图片重复：编号列表版 */
.avoid-section .avoid-intro {
  margin: -6px 0 32px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.avoid-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.avoid-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.avoid-item:last-child { border-bottom: none; }
.avoid-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), color-mix(in srgb, var(--brand) 75%, #0e7490));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.avoid-body { flex: 1; min-width: 0; }
.avoid-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}
.avoid-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 640px) {
  .avoid-item { flex-direction: column; gap: 14px; padding: 18px 0; }
  .avoid-num { width: 40px; height: 40px; font-size: 0.875rem; }
}

.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-strip-title { font-size: 1.75rem; font-weight: 700; color: #fff; margin: 0 0 16px; }
.cta-strip-desc { font-size: 1rem; color: #94a3b8; margin: 0 0 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-strip-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-strip-note { font-size: 0.875rem; color: #64748b; margin: 0; }

.site-footer--tech { background: var(--navy); border-top: 1px solid var(--navy-mid); }
.site-footer--tech .footer-section h3 { color: var(--brand-light); }
.site-footer--tech .footer-section a:hover { color: var(--brand); }

.table-wrap--tech { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.comparison-table--tech th { background: var(--navy-mid); color: var(--brand-light); }
.comparison-table--tech .highlight { color: var(--brand); }

.back-to-top { background: var(--brand-dark); color: #fff; border: 2px solid var(--brand-dark); box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35); }
.back-to-top:hover { background: #0e7490; color: #fff; border-color: #0e7490; box-shadow: 0 6px 18px rgba(8, 145, 178, 0.4); }

/* ----- 区块通用 ----- */
.section {
  padding: 80px 0;
  background: var(--bg);
}
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.section-lead {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 1.35rem; margin-bottom: 24px; }
}

/* ----- 核心功能：四宫格卡片 ----- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.solution-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.solution-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.solution-card-img {
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  overflow: hidden;
}
.solution-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.solution-card:hover .solution-card-img img { transform: scale(1.03); }
.solution-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  padding: 18px 18px 0;
}
.solution-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 18px;
  padding: 0 18px;
}
@media (max-width: 900px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .solution-grid { grid-template-columns: 1fr; } }

/* ----- 为什么选择：数字图标 + 文案 ----- */
.why-choose {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  max-width: 880px;
  margin: 0 auto;
}
.why-choose-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.why-choose-item:hover { border-color: var(--border); box-shadow: var(--shadow); }
.why-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.why-choose-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 6px;
}
.why-choose-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 600px) { .why-choose { grid-template-columns: 1fr; } }

/* ----- CTA 区块 ----- */
.section-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.section-cta .section-title { color: #fff; }
.section-cta .cta-desc {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
  font-size: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.section-cta .btn-secondary { border-color: #fff; color: #fff; background: transparent; }
.section-cta .btn-secondary:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.section-cta .cta-buttons { justify-content: center; }
.section-cta .cta-note { margin-top: 24px; font-size: 0.875rem; opacity: 0.9; }

/* ----- 卡片网格 ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg);
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-hover);
}
.card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 12px;
  text-align: center;
}
.card-tip { border-left: 4px solid var(--primary); }
.card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; margin: 0; }
.feature-icon { font-size: 1.75rem; margin-bottom: 12px; line-height: 1; }

/* ----- 价格方案 ----- */
.pricing-block {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 48px 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.pricing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pricing-price { flex-shrink: 0; }
.pricing-amount { font-size: 2rem; font-weight: 700; color: var(--primary); }
.pricing-unit { font-size: 0.9375rem; font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.pricing-note { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.pricing-features {
  list-style: none;
  margin: 0;
  padding: 24px 0 28px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 2;
}
.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 28px;
}
.pricing-features li { margin: 0; padding-left: 0; }
.pricing-features li::before { content: ""; }
@media (max-width: 768px) {
  .pricing-features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-block { padding: 28px 24px 32px; }
}
@media (max-width: 480px) { .pricing-features-grid { grid-template-columns: 1fr; } }
.pricing-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pricing-cta .btn { flex-shrink: 0; }
.pricing-tip { font-size: 0.8125rem; color: var(--text-muted); margin: 0; }

/* ----- 提示框 ----- */
.alert-box {
  max-width: 560px;
  margin: 32px auto 0;
  padding: 18px 22px;
  background: var(--primary-muted);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.65;
}
.alert-box strong { color: var(--primary-dark); }
.alert-tip { background: #eff6ff; border-left-color: #3b82f6; }

/* ----- 对比表 ----- */
.table-wrap { overflow-x: auto; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.comparison-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--bg);
}
.comparison-table th,
.comparison-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.comparison-table tbody tr:hover { background: var(--bg-alt); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.highlight { color: var(--primary); font-weight: 600; }

/* ----- 流程：四步 ----- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}
.step {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}
.step h3 { font-size: 1rem; margin: 0 0 8px; color: var(--text); font-weight: 600; }
.step p { margin: 0; font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* ----- 数据统计 ----- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 28px 20px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s;
}
.stat-item:hover { box-shadow: var(--shadow); }
.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.875rem; color: var(--text-muted); }

/* ----- 用户评价 ----- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 640px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  padding: 28px 30px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transition: box-shadow 0.2s;
}
.testimonial:hover { box-shadow: var(--shadow); }
.testimonial p { margin: 0; color: var(--text); font-size: 0.9375rem; line-height: 1.75; }
.testimonial-author { font-size: 0.875rem; font-weight: 600; color: var(--primary); margin-top: 14px; }

/* ----- FAQ ----- */
.faq-list { margin: 0; padding: 0; }
.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item dt {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 10px;
}
.faq-item dd { margin: 0; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }

/* ----- 页脚 ----- */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 56px 0 32px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-section h3 { font-size: 0.9375rem; font-weight: 600; color: #e2e8f0; margin: 0 0 14px; }
.footer-section p, .footer-section ul { margin: 0; font-size: 0.9375rem; line-height: 1.75; }
.footer-section ul { list-style: none; padding: 0; }
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}
.footer-links-row li { margin: 0; }
.footer-section a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-section a:hover { color: #e2e8f0; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid #334155;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748b;
}
.footer-bottom p { margin: 6px 0; }

/* ----- 文章列表与详情（与 PHP 共用） ----- */
.main-content { min-height: 60vh; }
.page-title { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.page-lead { font-size: 0.9375rem; color: var(--text-muted); margin: 0 0 32px; line-height: 1.65; }
.article-list { display: flex; flex-direction: column; gap: 24px; }
.article-list-empty { text-align: center; color: var(--text-muted); padding: 48px 0; }
.article-card {
  padding: 26px 30px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.article-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.article-card-title { font-size: 1.125rem; font-weight: 600; margin: 0 0 8px; line-height: 1.4; }
.article-card-title a { color: var(--text); text-decoration: none; }
.article-card-title a:hover { color: var(--primary); }
.article-card-date { font-size: 0.8125rem; color: var(--text-muted); margin: 0 0 12px; }
.article-card-excerpt { font-size: 0.9375rem; color: var(--text-muted); margin: 0 0 16px; line-height: 1.65; }
.article-card-more { font-size: 0.875rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.article-card-more:hover { text-decoration: underline; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px 40px;
  padding: 32px 24px 72px;
  align-items: start;
}
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }
.article-detail { padding: 0; }
.article-detail-single { max-width: 720px; margin: 0 auto; padding: 48px 0; }
.article-detail-main { min-width: 0; }
.article-back { display: inline-block; font-size: 0.875rem; color: var(--primary); margin-bottom: 20px; text-decoration: none; }
.article-back:hover { text-decoration: underline; }
.article-title { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 0 0 12px; line-height: 1.35; }
.article-date { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 28px; display: block; }
.article-content {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text);
}
.article-content p { margin: 0 0 1em; }
.article-content p:last-child { margin-bottom: 0; }
.article-content h2 { font-size: 1.25rem; margin: 1.5em 0 0.5em; color: var(--primary); }
.article-content h3 { font-size: 1.0625rem; margin: 1.25em 0 0.5em; color: var(--text); }
.article-content ul, .article-content ol { margin: 0 0 1em; padding-left: 1.5em; }
.article-content blockquote { margin: 1em 0; padding: 0.5em 0 0.5em 1em; border-left: 4px solid var(--primary); color: var(--text-muted); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.article-content a { color: var(--primary); text-decoration: none; }
.article-content a:hover { text-decoration: underline; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--radius); }

.article-nav-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-nav-prev, .article-nav-next {
  padding: 14px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.article-nav-prev:hover, .article-nav-next:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.article-nav-next { text-align: right; }
.article-nav-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.article-nav-prev a, .article-nav-next a { font-size: 0.9375rem; color: var(--text); text-decoration: none; }
.article-nav-prev a:hover, .article-nav-next a:hover { color: var(--primary); }
.article-nav-none { font-size: 0.875rem; color: var(--text-muted); }
@media (max-width: 560px) { .article-nav-adjacent { grid-template-columns: 1fr; } }

.article-sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  margin-bottom: 28px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s;
}
.sidebar-widget:hover { box-shadow: var(--shadow); }
.sidebar-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.sidebar-list { list-style: none; margin: 0; padding: 0; }
.sidebar-list li { margin: 0 0 12px; padding: 0; }
.sidebar-list li:last-child { margin-bottom: 0; }
.sidebar-list a {
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  display: block;
  line-height: 1.45;
}
.sidebar-list a:hover { color: var(--primary); }
.sidebar-list time { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.sidebar-list-num .num {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  margin-right: 10px;
  vertical-align: middle;
}
.sidebar-list-num li { display: flex; align-items: center; margin-bottom: 10px; }
.sidebar-empty { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.sidebar-back { margin-bottom: 0; }

.article-loading, .article-notfound { text-align: center; padding: 48px 0; color: var(--text-muted); }
.article-notfound .btn { margin-top: 16px; }

/* ----- 右侧隐藏联系方式（悬停显示） ----- */
.contact-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  align-items: stretch;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}
.contact-float-tab {
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  padding: 16px 10px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: default;
}
.contact-float-panel {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 0;
  white-space: nowrap;
  transition: max-width 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}
.contact-float:hover .contact-float-panel {
  max-width: 280px;
  opacity: 1;
  padding: 14px 18px 14px 14px;
}
.contact-float-item {
  margin: 0 0 6px;
  font-size: 0.875rem;
  color: var(--text);
}
.contact-float-item:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .contact-float-tab { padding: 12px 8px; font-size: 0.8125rem; }
  .contact-float:hover .contact-float-panel { max-width: 240px; padding: 12px 14px 12px 10px; }
}

/* ----- 返回顶部 ----- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.4);
}
.back-to-top:hover { background: var(--primary-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(30, 64, 175, 0.45); }
.back-to-top.show { display: flex; }
