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

:root {
  --primary: #1A0B2E;
  --secondary: #6B21A8;
  --accent: #F59E0B;
  --accent2: #EC4899;
  --bg: #FDFBF7;
  --surface: #FFFFFF;
  --text: #1F1B2E;
  --text-light: #4B4560;
  --border: #E5E0D8;
  --shadow: 0 4px 20px rgba(26, 11, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 11, 46, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.35);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --max-width: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --primary: #E9D5FF;
  --secondary: #A855F7;
  --accent: #FBBF24;
  --accent2: #F472B6;
  --bg: #0F0A1A;
  --surface: #1A1128;
  --text: #EDE9F6;
  --text-light: #B8AECB;
  --border: #2D2340;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --glass-bg: rgba(26, 17, 40, 0.72);
  --glass-border: rgba(168, 85, 247, 0.22);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 12% -8%, rgba(107, 33, 168, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 45% at 92% 4%, rgba(236, 72, 153, 0.09), transparent 62%),
    radial-gradient(ellipse 46% 40% at 50% 108%, rgba(245, 158, 11, 0.07), transparent 60%);
}

[data-theme="dark"] body::before {
  background:
    radial-gradient(ellipse 60% 50% at 12% -8%, rgba(168, 85, 247, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 45% at 92% 4%, rgba(244, 114, 182, 0.12), transparent 62%),
    radial-gradient(ellipse 46% 40% at 50% 108%, rgba(251, 191, 36, 0.08), transparent 60%);
}

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

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

a:hover {
  color: var(--accent);
}

ul, ol {
  padding-left: 1.5rem;
}

::selection {
  background: var(--secondary);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  height: var(--header-h);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

[data-theme="dark"] .site-header {
  box-shadow: 0 1px 0 rgba(168, 85, 247, 0.08) inset;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease);
}

.logo:hover {
  transform: scale(1.03);
}

.logo svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(107, 33, 168, 0.3));
  transition: transform 0.4s var(--ease);
}

.logo:hover svg {
  transform: rotate(-6deg) scale(1.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.22s var(--ease);
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent2), var(--accent));
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.search-box:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(107, 33, 168, 0.14);
  transform: translateY(-1px);
}

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

.search-box input::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.search-box button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--text-light);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.search-box button:hover {
  color: var(--secondary);
  transform: scale(1.12);
}

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  transform: rotate(22deg) scale(1.06);
  box-shadow: 0 6px 18px rgba(107, 33, 168, 0.35);
}

.mobile-menu-btn {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  flex-shrink: 0;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.mobile-menu-btn:hover {
  color: var(--secondary);
  background: var(--bg);
  transform: scale(1.05);
}

/* ===== 移动导航 ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 999;
  padding: 1.5rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  animation: navSlide 0.32s var(--ease);
}

@keyframes navSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.mobile-nav a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}

.mobile-nav a:hover {
  background: var(--surface);
  color: var(--secondary);
  transform: translateX(6px);
}

/* ===== 主容器 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* ===== Banner轮播 ===== */
.banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.5rem auto;
  max-width: var(--max-width);
  background:
    radial-gradient(ellipse 70% 90% at 15% 10%, rgba(236, 72, 153, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 80% at 85% 90%, rgba(245, 158, 11, 0.28), transparent 55%),
    linear-gradient(135deg, #1A0B2E 0%, #3B0764 45%, #6B21A8 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.10), transparent 42%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 6px);
  mix-blend-mode: overlay;
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 2.5rem 3rem;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.banner-content {
  max-width: 640px;
  color: #fff;
  position: relative;
  z-index: 2;
  animation: bannerIn 0.7s var(--ease) both;
}

.banner-slide.active .banner-content {
  animation: bannerIn 0.7s var(--ease) both;
}

@keyframes bannerIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.banner-content h1 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.banner-content p {
  font-size: 1rem;
  opacity: 0.94;
  margin-bottom: 1.25rem;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.banner-content .btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #FBBF24);
  color: #1A0B2E;
  font-weight: 700;
  padding: 0.7rem 1.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.28s var(--ease);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  position: relative;
  overflow: hidden;
}

.banner-content .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease);
}

.banner-content .btn:hover::before {
  left: 120%;
}

.banner-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
  color: #1A0B2E;
  filter: brightness(1.05);
}

.banner-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.banner-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), width 0.3s var(--ease);
  padding: 0;
}

.banner-dots button.active {
  background: var(--accent);
  transform: scale(1.25);
  width: 26px;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.7);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

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

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

.breadcrumb span {
  opacity: 0.5;
}

/* ===== 区块通用 ===== */
.section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent2), var(--accent));
}

.section-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 720px;
  margin-top: 0.6rem;
}

/* ===== 品牌简介卡片 ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.intro-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent2), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.intro-card:hover::before {
  transform: scaleX(1);
}

.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 33, 168, 0.3);
}

.intro-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.intro-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== 统计数据 ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1.4rem 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.stat-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(107, 33, 168, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

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

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--secondary), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ===== 产品/服务卡片 ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.35), rgba(236, 72, 153, 0.2), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--secondary), var(--accent2));
  color: #fff;
  box-shadow: 0 6px 18px rgba(107, 33, 168, 0.3);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover .card-icon {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 10px 26px rgba(236, 72, 153, 0.42);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===== 文章列表 ===== */
.article-list {
  display: grid;
  gap: 1rem;
}

.article-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.article-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary), var(--accent2), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.article-item:hover::before {
  transform: scaleY(1);
}

.article-item:hover {
  border-color: rgba(107, 33, 168, 0.3);
  box-shadow: 0 10px 30px rgba(107, 33, 168, 0.12);
  transform: translateX(4px);
}

.article-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.article-meta span {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(107, 33, 168, 0.08);
  color: var(--secondary);
  font-weight: 600;
}

[data-theme="dark"] .article-meta span {
  background: rgba(168, 85, 247, 0.14);
}

.article-item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.article-item h3 a {
  color: var(--primary);
}

.article-item h3 a:hover {
  color: var(--secondary);
}

.article-item .summary {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.read-more:hover {
  color: var(--accent);
  gap: 0.5rem;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item:hover {
  border-color: rgba(107, 33, 168, 0.28);
}

.faq-item.open {
  border-color: rgba(107, 33, 168, 0.4);
  box-shadow: 0 8px 26px rgba(107, 33, 168, 0.12);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.faq-question:hover {
  background: rgba(107, 33, 168, 0.05);
  color: var(--secondary);
}

[data-theme="dark"] .faq-question:hover {
  background: rgba(168, 85, 247, 0.08);
}

.faq-question .arrow {
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
  flex-shrink: 0;
  color: var(--text-light);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.35s var(--ease), opacity 0.35s var(--ease);
  padding: 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 1.25rem 1.25rem;
  opacity: 1;
}

/* ===== HowTo步骤 ===== */
.howto-steps {
  display: grid;
  gap: 1rem;
}

.howto-step {
  display: flex;
  gap: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  align-items: flex-start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.howto-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 33, 168, 0.3);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(107, 33, 168, 0.3);
  transition: transform 0.35s var(--ease);
}

.howto-step:hover .step-num {
  transform: scale(1.12) rotate(-6deg);
}

.step-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===== 客户评价 ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.testimonial {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.4rem;
  right: 1rem;
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--secondary);
  opacity: 0.14;
  pointer-events: none;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(236, 72, 153, 0.3);
}

.testimonial .quote {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 0.75rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial .author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial .role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===== 联系方式 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.contact-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 33, 168, 0.3);
}

.contact-item .label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.contact-item .value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  word-break: break-all;
}

/* ===== 页脚 ===== */
.site-footer {
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(107, 33, 168, 0.5), transparent 55%),
    radial-gradient(ellipse 60% 70% at 90% 100%, rgba(236, 72, 153, 0.28), transparent 55%),
    linear-gradient(160deg, #1A0B2E 0%, #2A1046 60%, #1A0B2E 100%);
  color: #E9D5FF;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.6), rgba(245, 158, 11, 0.5), transparent);
}

[data-theme="dark"] .site-footer {
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(107, 33, 168, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 70% at 90% 100%, rgba(236, 72, 153, 0.18), transparent 55%),
    linear-gradient(160deg, #0A0614 0%, #150C24 60%, #0A0614 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(233, 213, 255, 0.7);
  transition: color 0.22s var(--ease), transform 0.22s var(--ease), padding-left 0.22s var(--ease);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(233, 213, 255, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(233, 213, 255, 0.6);
}

.footer-bottom a {
  color: rgba(233, 213, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent2));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(107, 33, 168, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  z-index: 900;
}

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

.back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  background: linear-gradient(135deg, var(--accent), #FBBF24);
  color: #1A0B2E;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 长文内容 ===== */
.prose {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.prose h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.5rem 0 0.6rem;
  color: var(--primary);
  position: relative;
  padding-left: 0.85rem;
}

.prose h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--secondary), var(--accent2));
}

.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 0.9rem;
}

.prose ul {
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.85;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose strong {
  color: var(--text);
}

/* ===== 隐藏辅助类 ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== 锚点偏移 ===== */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .banner-slide {
    padding: 2rem 2.25rem;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .search-box {
    display: none;
  }

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

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

  .banner {
    min-height: 280px;
    border-radius: var(--radius);
  }

  .banner-slide {
    padding: 1.75rem;
  }

  .banner-content h1 {
    font-size: 1.4rem;
  }

  .banner-content p {
    font-size: 0.92rem;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 0.75rem;
  }

  .container {
    padding: 0 0.75rem;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-item {
    padding: 1rem 0.4rem;
  }

  .banner {
    min-height: 300px;
    margin: 1rem auto;
  }

  .banner-slide {
    padding: 1.5rem 1.25rem;
    align-items: flex-end;
    padding-bottom: 2.75rem;
  }

  .banner-content h1 {
    font-size: 1.2rem;
  }

  .banner-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .banner-content .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.88rem;
  }

  .section-header h2 {
    font-size: 1.25rem;
  }

  .section {
    padding: 1.75rem 0;
  }

  .intro-card,
  .card,
  .article-item,
  .howto-step,
  .testimonial,
  .contact-item {
    padding: 1.15rem;
  }

  .prose {
    padding: 1.25rem;
  }

  .howto-step {
    gap: 0.75rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .footer-grid {
    gap: 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .banner-content h1 {
    font-size: 1.1rem;
  }
}

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

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

/* ===== 打印样式 ===== */
@media print {
  .site-header,
  .mobile-nav,
  .back-to-top,
  .banner-dots,
  .theme-toggle,
  .mobile-menu-btn {
    display: none !important;
  }

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

  .banner {
    background: #1A0B2E;
  }
}