:root {
  --brand: #1a73e8;
  --brand-2: #6a5cff;
  --brand-dark: #0d47a1;
  --accent: #ff6b35;
  --accent-2: #ffb347;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --text: #1f2937;
  --text-soft: #5b6472;
  --border: #e3e8ef;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --shadow: 0 6px 24px rgba(26, 115, 232, 0.08);
  --shadow-hover: 0 16px 40px rgba(26, 115, 232, 0.18);
  --radius: 16px;
  --radius-sm: 12px;
  --grad-hero: linear-gradient(135deg, #1a73e8 0%, #6a5cff 55%, #ff6b35 130%);
}

html[data-theme="dark"] {
  --brand: #5b9bff;
  --brand-2: #8f7dff;
  --brand-dark: #2f6fd0;
  --accent: #ff8a5c;
  --accent-2: #ffc46b;
  --bg: #0f141b;
  --bg-soft: #161d27;
  --text: #e6ebf2;
  --text-soft: #9aa6b5;
  --border: #26303d;
  --card: #161d27;
  --glass: rgba(22, 29, 39, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.55);
  --grad-hero: linear-gradient(135deg, #1b3a6b 0%, #3a2f7a 55%, #7a3a24 130%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* 顶部信息条 */
.topbar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-2));
  color: #fff;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar a {
  color: #fff;
  opacity: 0.9;
}

.topbar a:hover {
  opacity: 1;
}

.topbar-info {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.topbar-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 20px;
  padding: 3px 12px;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

/* 吸顶导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.05);
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover {
  background: var(--bg-soft);
  color: var(--brand);
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 4px 4px 4px 14px;
  background: var(--bg-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--text);
  font-size: 14px;
  width: 150px;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--text-soft);
}

.search-box button {
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-radius: 18px;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-box button:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s ease;
}

.menu-toggle:hover {
  background: var(--bg-soft);
}

/* Banner 轮播 */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 0 0 28px 28px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(255, 209, 102, 0.18), transparent 46%);
  pointer-events: none;
  animation: heroGlow 14s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.06); }
}

.slides {
  position: relative;
  min-height: 420px;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  padding: 60px 0;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.slide-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.slide h1 {
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.slide h1 .hl {
  color: #ffd166;
  background: linear-gradient(90deg, #ffd166, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide p {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 24px;
  max-width: 560px;
}

.slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 26px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #ffb347);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.42);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.slide-art {
  display: flex;
  justify-content: center;
}

.slide-art svg {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25));
  animation: floatArt 6s ease-in-out infinite;
}

@keyframes floatArt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slide-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.slide-dots button.active {
  background: #fff;
  transform: scale(1.2);
  width: 28px;
  border-radius: 8px;
}

/* 首屏核心说明 */
.intro-key {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.intro-key .container {
  padding: 36px 20px;
}

.intro-key h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.intro-key .lead {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 960px;
}

.intro-key .lead strong {
  color: var(--brand);
}

.intro-key .lead b {
  color: var(--text);
}

/* 通用区块 */
.section {
  padding: 64px 0;
}

.section:nth-child(even) {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}

.section-head .tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.12), rgba(106, 92, 255, 0.12));
  color: var(--brand);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.section-head h2 {
  font-size: 30px;
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.35;
}

.section-head p {
  color: var(--text-soft);
  font-size: 16px;
}

h3 {
  font-size: 21px;
  margin: 28px 0 12px;
  color: var(--text);
}

h4 {
  font-size: 17px;
  margin: 20px 0 10px;
  color: var(--text);
}

p {
  margin-bottom: 14px;
  color: var(--text);
}

.soft {
  color: var(--text-soft);
}

/* 面包屑 */
.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.breadcrumb .container {
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--brand);
}

/* 数据统计 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-num {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat-num .unit {
  font-size: 18px;
  margin-left: 2px;
}

.stat-label {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

/* 卡片网格 */
.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 115, 232, 0.28);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.card h3 {
  margin-top: 0;
  font-size: 19px;
}

.card p {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 0;
}

.card ul {
  list-style: none;
}

/* 产品列表 */
.product-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 115, 232, 0.28);
}

.product-item .p-img {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  transition: transform 0.35s ease;
}

.product-item:hover .p-img {
  transform: scale(1.06) rotate(-2deg);
}

.product-item h3 {
  margin-top: 0;
}

.product-item ul {
  margin: 10px 0 0 20px;
  color: var(--text-soft);
  font-size: 15px;
}

.product-item li {
  margin-bottom: 6px;
}

/* 案例 */
.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.case-card .case-body {
  padding: 24px;
}

.case-meta {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

/* 评价 */
.quote {
  background: var(--card);
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--brand), var(--accent)) 1;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.quote p {
  font-size: 15px;
  color: var(--text);
}

.quote .who {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-soft);
}

/* 文章列表 */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 115, 232, 0.28);
}

.article-card .a-meta {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.article-card:hover h3 {
  color: var(--brand);
}

.article-card p {
  font-size: 14.5px;
  color: var(--text-soft);
  flex: 1;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.article-card:hover .read-more {
  transform: translateX(4px);
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(26, 115, 232, 0.35);
}

.faq-item.open {
  border-color: rgba(26, 115, 232, 0.45);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.1);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--brand);
}

.faq-q .arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--brand);
  font-size: 18px;
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--text-soft);
  font-size: 15px;
}

/* HowTo */
.howto-step {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.howto-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.32);
}

.step-body h4 {
  margin-top: 0;
  margin-bottom: 6px;
}

.step-body p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 15px;
}

/* 团队 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 14px;
  transition: transform 0.35s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.08);
}

.team-card h4 {
  margin: 0 0 4px;
}

.team-card .role {
  font-size: 13px;
  color: var(--brand);
  margin-bottom: 8px;
}

.team-card p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

/* 联系 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.contact-box:hover {
  box-shadow: var(--shadow-hover);
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list .k {
  color: var(--text-soft);
  min-width: 80px;
  flex-shrink: 0;
}

.map-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 14px;
  margin-top: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.map-placeholder:hover {
  transform: scale(1.01);
}

/* 锚点导航 */
.anchor-nav {
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}

.anchor-nav a {
  color: var(--text-soft);
  padding: 4px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.anchor-nav a:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

/* 页脚 */
.site-footer {
  background: linear-gradient(160deg, #0d1a2b, #101c30 60%, #0b1522);
  color: #c2ccd8;
  padding: 56px 0 0;
  font-size: 14px;
}

.site-footer a {
  color: #c2ccd8;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 13.5px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-brand svg {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8b98a8;
}

.footer-bottom a {
  color: #8b98a8;
}

/* 返回顶部 */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.25s ease;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  transform: translateY(-4px) scale(1.06);
}

/* 滚动动画 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* 无障碍与焦点 */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* 响应式 */
@media (max-width: 980px) {
  .slide-inner {
    grid-template-columns: 1fr;
  }

  .slide-art {
    display: none;
  }

  .slide h1 {
    font-size: 30px;
  }

  .slides {
    min-height: 380px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 20px;
    gap: 2px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    padding: 10px 12px;
  }

  .menu-toggle {
    display: block;
  }

  .search-box input {
    width: 110px;
  }

  .slide h1 {
    font-size: 25px;
  }

  .slides {
    min-height: 420px;
  }

  .slide {
    padding: 40px 0 60px;
  }

  .section {
    padding: 44px 0;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .grid-3,
  .grid-2,
  .team-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .product-item {
    grid-template-columns: 1fr;
  }

  .product-item .p-img {
    width: 72px;
    height: 72px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-info {
    font-size: 12px;
    gap: 10px;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .howto-step:hover {
    transform: none;
  }

  .back-top {
    right: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 打印样式 */
@media print {
  .topbar,
  .site-header,
  .hero,
  .slide-dots,
  .back-top,
  .site-footer,
  .anchor-nav,
  .theme-toggle,
  .search-box,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 20px 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}