/* VitePress风格样式 */
:root {
  --vp-c-white: #ffffff;
  --vp-c-black: #000000;
  --vp-c-gray-1: #dddde3;
  --vp-c-gray-2: #e4e4e9;
  --vp-c-gray-3: #ebebef;
  --vp-c-gray-soft: #f6f6f7;
  --vp-c-indigo-1: #3451b2;
  --vp-c-indigo-2: #3a5ccc;
  --vp-c-indigo-3: #5672cd;
  --vp-c-indigo-soft: #eef2ff;
  --vp-c-purple-1: #6f42c1;
  --vp-c-purple-2: #7c3aed;
  --vp-c-purple-3: #8b5cf6;
  --vp-c-purple-soft: #f3f1ff;
  --vp-c-green-1: #18794e;
  --vp-c-green-2: #299764;
  --vp-c-green-3: #30a46c;
  --vp-c-green-soft: #f0fff4;
  --vp-c-yellow-1: #915930;
  --vp-c-yellow-2: #946300;
  --vp-c-yellow-3: #9f6a00;
  --vp-c-yellow-soft: #fdf6ec;
  --vp-c-red-1: #b8272c;
  --vp-c-red-2: #d5393e;
  --vp-c-red-3: #e0575b;
  --vp-c-red-soft: #ffeaea;
  --vp-c-blue-1: #1d4ed8;
  --vp-c-blue-2: #3b82f6;
  --vp-c-blue-3: #60a5fa;
  --vp-c-blue-soft: #eff6ff;
  --vp-c-orange-1: #ea580c;
  --vp-c-orange-2: #fb923c;
  --vp-c-orange-3: #fdba74;
  --vp-c-orange-soft: #fff7ed;
  --vp-c-teal-1: #0f766e;
  --vp-c-teal-2: #14b8a6;
  --vp-c-teal-3: #5eead4;
  --vp-c-teal-soft: #f0fdfa;
  --vp-c-pink-1: #be185d;
  --vp-c-pink-2: #ec4899;
  --vp-c-pink-3: #f9a8d4;
  --vp-c-pink-soft: #fdf2f8;
  --vp-c-sponsor: #db2777;
  --vp-c-text-1: rgba(60, 60, 67);
  --vp-c-text-2: rgba(60, 60, 67, 0.78);
  --vp-c-text-3: rgba(60, 60, 67, 0.56);
  --vp-c-bg: #ffffff;
  --vp-c-bg-alt: #f6f6f7;
  --vp-c-bg-elv: #ffffff;
  --vp-c-bg-soft: #f6f6f7;
}

/* 黑暗模式变量 */
html.dark {
  --vp-c-gray-1: #515c67;
  --vp-c-gray-2: #414853;
  --vp-c-gray-3: #32363f;
  --vp-c-gray-soft: #252529;
  --vp-c-indigo-1: #a8b1ff;
  --vp-c-indigo-2: #5c73e7;
  --vp-c-indigo-3: #3e63dd;
  --vp-c-indigo-soft: #161618;
  --vp-c-purple-1: #c8abfa;
  --vp-c-purple-2: #a879e6;
  --vp-c-purple-3: #8e5cd9;
  --vp-c-purple-soft: #161618;
  --vp-c-green-1: #3dd68c;
  --vp-c-green-2: #30a46c;
  --vp-c-green-3: #298459;
  --vp-c-green-soft: #161618;
  --vp-c-yellow-1: #f9b71c;
  --vp-c-yellow-2: #da8b17;
  --vp-c-yellow-3: #a46a0a;
  --vp-c-yellow-soft: #161618;
  --vp-c-red-1: #f66f81;
  --vp-c-red-2: #f14158;
  --vp-c-red-3: #b62a5b;
  --vp-c-red-soft: #161618;
  --vp-c-blue-1: #93c5fd;
  --vp-c-blue-2: #60a5fa;
  --vp-c-blue-3: #3b82f6;
  --vp-c-blue-soft: #1e293b;
  --vp-c-orange-1: #fdba74;
  --vp-c-orange-2: #fb923c;
  --vp-c-orange-3: #ea580c;
  --vp-c-orange-soft: #451a03;
  --vp-c-teal-1: #5eead4;
  --vp-c-teal-2: #14b8a6;
  --vp-c-teal-3: #0f766e;
  --vp-c-teal-soft: #042f2e;
  --vp-c-pink-1: #f9a8d4;
  --vp-c-pink-2: #ec4899;
  --vp-c-pink-3: #be185d;
  --vp-c-pink-soft: #4c0519;
  --vp-c-text-1: rgba(255, 255, 245, 0.86);
  --vp-c-text-2: rgba(235, 235, 245, 0.6);
  --vp-c-text-3: rgba(235, 235, 245, 0.38);
  --vp-c-bg: #1b1b1f;
  --vp-c-bg-alt: #161618;
  --vp-c-bg-elv: #202127;
  --vp-c-bg-soft: #202127;
}

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--vp-c-text-1);
  background-color: var(--vp-c-bg);
  direction: ltr;
  font-synthesis: style;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 0.25s, background-color 0.25s;
  overflow-x: hidden; /* 只隐藏水平滚动 */
  overflow-y: auto; /* 保持垂直滚动 */
  scroll-behavior: smooth;
  /* 超透明滚动条样式 */
  scrollbar-width: thin; /* Firefox - 细滚动条 */
  scrollbar-color: rgba(0, 0, 0, 0.05) transparent; /* Firefox - 更淡的颜色 */
}

/* WebKit浏览器（Chrome, Safari等）超透明滚动条样式 */
body::-webkit-scrollbar {
  width: 6px; /* 更细的滚动条 */
}

body::-webkit-scrollbar-track {
  background: transparent; /* 透明轨道 */
}

body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.05); /* 超淡的灰色 */
  border-radius: 3px;
  transition: background 0.3s ease;
}

body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.15); /* 悬停时稍微明显一点 */
}

/* 暗黑模式下的超透明滚动条样式 */
html.dark body {
  scrollbar-color: rgba(255, 255, 255, 0.05) transparent;
}

html.dark body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
}

html.dark body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* 隐藏辅助功能 */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.VPSkipLink {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  text-align: center;
  background: var(--vp-c-bg);
  color: var(--vp-c-text-1);
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  transform: translateY(-100%);
  transition: transform 0.3s;
}

.VPSkipLink:focus {
  transform: translateY(0);
}

/* 布局容器 */
.Layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 导航栏 */
.VPNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 8px 0 24px;
  background-color: var(--vp-c-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .VPNav {
    padding: 0 32px;
  }
}

.VPNavBar {
  position: relative;
  background-color: transparent;
  pointer-events: none;
  white-space: nowrap;
}

.VPNavBar .wrapper {
  padding: 0 8px 0 24px;
}

@media (min-width: 768px) {
  .VPNavBar .wrapper {
    padding: 0 32px;
  }
}

.VPNavBar .container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: calc(100vw - 64px);
  height: 64px;
  pointer-events: none;
}

.VPNavBar .title {
  flex-shrink: 0;
  height: 64px;
  transition: opacity 0.25s;
}

@media (min-width: 960px) {
  .VPNavBar .title {
    width: 190px;
  }
}

.VPNavBarTitle {
  display: flex;
  align-items: center;
  height: 64px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.25s;
  pointer-events: auto;
}

.VPNavBarTitle .title {
  display: flex;
  align-items: center;
  color: var(--vp-c-text-1);
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  transition: opacity 0.25s;
}

.VPNavBarTitle .title:hover {
  opacity: 0.6;
}

.logo-icon {
  margin-right: 0px;
  width: 45px;
  height: 45px;
  display: inline-block;
  transition: opacity 0.25s, transform 0.25s;
}

.VPNavBar .content {
  flex-grow: 1;
}

.VPNavBar .content-body {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 64px;
  transition: opacity 0.25s;
  pointer-events: auto;
}

.VPNavBarMenu {
  display: flex; /* 默认显示 */
  pointer-events: auto;
}

@media (max-width: 767px) {
  .VPNavBarMenu {
    display: none !important; /* 只在移动端隐藏 */
  }
}



.VPLink {
  display: inline-block;
  border-radius: 6px;
  color: var(--vp-c-text-1);
  text-decoration: none;
  transition: color 0.25s;
}

.VPNavBarMenuLink {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 64px;
  font-size: 14px;
  font-weight: 500;
  color: var(--vp-c-text-2);
  transition: color 0.25s;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.VPNavBarMenuLink:hover,
.VPNavBarMenuLink.active {
  background: linear-gradient(135deg, #bd34fe 0%, #8b5cf6 50%, #41d1ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.VPNavBarAppearance {
  display: flex;
  align-items: center;
  margin-left: 16px;
  pointer-events: auto;
  order: 3; /* 确保在最后 */
}

.VPSwitch {
  position: relative;
  border-radius: 11px;
  display: block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid var(--vp-c-gray-1);
  background-color: var(--vp-c-gray-soft);
  transition: border-color 0.25s, background-color 0.25s;
  cursor: pointer;
}

.VPSwitch:hover {
  border-color: var(--vp-c-gray-2);
}

.VPSwitch .check {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--vp-c-white);
  box-shadow: var(--vp-shadow-1);
  transition: transform 0.25s;
}

/* 黑暗模式下切换按钮的圆形背景变为黑色 */
html.dark .VPSwitch .check {
  background-color: var(--vp-c-black);
}

.VPSwitchAppearance {
  width: 40px;
  height: 22px;
}

.VPSwitchAppearance .check .icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
}

.VPSwitchAppearance .check .vpi-sun {
  opacity: 1;
  transition: opacity 0.25s;
}

.VPSwitchAppearance .check .vpi-moon {
  opacity: 0;
  transition: opacity 0.25s;
}

html.dark .VPSwitchAppearance .check {
  transform: translateX(18px);
}

html.dark .VPSwitchAppearance .check .vpi-sun {
  opacity: 0;
}

html.dark .VPSwitchAppearance .check .vpi-moon {
  opacity: 1;
}

.vpi-sun,
.vpi-moon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.vpi-sun:before {
  content: '☀️';
  font-size: 12px;
  filter: brightness(1);
}

.vpi-moon:before {
  content: '🌙';
  font-size: 12px;
  filter: brightness(1);
}

/* 黑暗模式下的图标样式 */
html.dark .vpi-sun:before {
  filter: brightness(1.2);
}

html.dark .vpi-moon:before {
  filter: brightness(1.5) contrast(1.2);
}

.VPNavBar .divider {
  width: 100%;
  height: 1px;
  display: none;
}

.VPNavBar .divider-line {
  width: 100%;
  height: 1px;
  background-color: transparent;
  display: none;
}

/* 主要内容区域 */
.VPContent {
  flex-grow: 1;
  flex-shrink: 0;
  margin: 0;
  margin-top: 64px;
  width: 100%;
  background-color: var(--vp-c-bg);
}

.VPContent.is-home {
  width: 100%;
  max-width: none;
}

.VPHome {
  margin: 0 auto;
  width: 100%;
  max-width: none;
  background-color: var(--vp-c-bg);
}

/* Hero区域 */
.VPHero {
  margin: 0 auto;
  padding: 120px 24px 64px;
}

@media (min-width: 640px) {
  .VPHero {
    padding: 20px 48px 96px;
  }
}

@media (min-width: 960px) {
  .VPHero {
    padding: 30px 64px 112px;
  }
}

.VPHero.has-image .container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (min-width: 960px) {
  .VPHero.has-image .container,
  .VPHomeHero .container {
    flex-direction: row;
    gap: 40px;
  }
}

.VPHero .main {
  position: relative;
  z-index: 10;
  order: 2;
  flex-grow: 1;
  flex-shrink: 0;
  text-align: center;
}

.VPHero.has-image .main {
  max-width: 592px;
  text-align: left;
  margin: 0;
}

@media (min-width: 960px) {
  .VPHero.has-image .main,
  .VPHomeHero .main {
    order: 1;
    flex: 0 0 500px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
  }
}

.VPHero .heading {
  margin: 0;
  max-width: 512px;
  font-size: 20px;
  font-weight: 900;
  line-height: 28px;
  text-align: left;
}

@media (min-width: 640px) {
  .VPHero .heading {
    max-width: 576px;
    font-size: 28px;
    line-height: 36px;
  }
}

@media (min-width: 960px) {
  .VPHero .heading {
    font-size: 40px;
    line-height: 48px;
  }
}

.VPHero .name {
  color: var(--vp-c-brand-1);
}


.VPHero .clip {
  background: var(--vp-home-hero-name-background);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--vp-home-hero-name-color);
}

.VPHero .text {
  display: block;
  margin: 0;
  max-width: 392px;
  font-size: 30px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  white-space: pre-wrap;
  line-height: 38px;
}

@media (min-width: 640px) {
  .VPHero .text {
    max-width: 576px;
    font-size: 40px;
    line-height: 48px;
  }
}

@media (min-width: 960px) {
  .VPHero .text {
    font-size: 48px;
    line-height: 56px;
  }
}

.VPHero .actions {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: -6px !important;
  padding-top: 24px !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

@media (min-width: 640px) {
  .VPHero .actions {
    padding-top: 32px;
  }
}

.VPHero .action {
  flex-shrink: 0;
  padding: 6px;
}

.VPButton {
  display: inline-block;
  border: 1px solid transparent;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
  cursor: pointer;
  text-decoration: none;
}

.VPButton:active {
  transition: color 0.1s, border-color 0.1s, background-color 0.1s;
}



.VPButton.medium {
  border-radius: 20px;
  padding: 0 20px;
  line-height: 38px;
  font-size: 14px;
}

.VPButton.alt {
  border-color: var(--vp-c-brand-1);
  color: var(--vp-c-brand-1);
  background-color: var(--vp-c-brand-soft);
}

.VPButton.alt:hover {
  border-color: var(--vp-c-brand-2);
  color: var(--vp-c-white);
  background-color: var(--vp-c-brand-1);
}

.VPHero .image {
  order: 1;
  margin: 0 -24px -48px;
}

@media (min-width: 640px) and (max-width: 959px) {
  .VPHero .image {
    margin: -40px -24px -48px;
  }

  .VPHero.has-image .container {
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
  }

  .VPHero.has-image .main {
    order: 1;
    text-align: left;
  }

  .VPHero .image {
    order: 2;
    margin: 0 auto;
  }
}

@media (min-width: 960px) {
  .VPHero .image {
    flex: 0 0 620px;
    order: 2;
    margin: 0;
    min-height: 620px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.VPHero .image-container {
  position: relative;
  margin: 0 auto;
  width: 320px;
  height: 320px;
}

@media (min-width: 640px) {
  .VPHero .image-container {
    width: 392px;
    height: 392px;
  }
}

@media (min-width: 960px) {
  .VPHero .image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 620px;
    height: 620px;
    transform: none;
    position: relative;
  }
}

.VPHero .image-bg {
  position: absolute;
  top: calc(50% - 96px);
  left: calc(50% - 96px);
  border-radius: 50%;
  width: 192px;
  height: 192px;
  background-image: var(--vp-home-hero-image-background-image);
  filter: var(--vp-home-hero-image-filter);
  opacity: 0.6;
  pointer-events: none;
}

@media (min-width: 640px) {
  .VPHero .image-bg {
    top: calc(50% - 128px);
    left: calc(50% - 128px);
    width: 256px;
    height: 256px;
  }
}

@media (min-width: 960px) {
  .VPHero .image-bg {
    top: calc(50% - 280px);
    left: calc(50% - 280px);
    width: 560px !important;
    height: 560px !important;
    opacity: 0.4;
  }
}

.VPHero .image-src {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  max-height: 320px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(189, 52, 254, 0.15),
              0 4px 16px rgba(65, 209, 255, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  padding: 8px;
  transition: all 0.3s ease;
}

.VPHero .image-src:hover {
  /* 移除 transform 避免滚动时移动 */
  box-shadow: 0 12px 48px rgba(189, 52, 254, 0.25),
              0 8px 24px rgba(65, 209, 255, 0.25);
}

@media (min-width: 640px) {
  .VPHero .image-src {
    max-width: 400px;
    max-height: 400px;
    border-radius: 20px;
    padding: 12px;
  }
  
  .VPHero .image-src:hover {
    /* 移除 transform 避免滚动时移动 */
    box-shadow: 0 12px 48px rgba(189, 52, 254, 0.25),
                0 8px 24px rgba(65, 209, 255, 0.25);
  }
}

@media (min-width: 960px) {
  .VPHero .image-src {
    max-width: 560px !important;
    max-height: 560px !important;
    width: auto;
    height: auto;
    border-radius: 24px;
    padding: 16px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    transition: all 0.3s ease;
  }
  
  .VPHero .image-src:hover {
    /* 移除 transform 避免滚动时移动 */
    box-shadow: 0 12px 48px rgba(189, 52, 254, 0.25),
                0 8px 24px rgba(65, 209, 255, 0.25);
  }
}

/* 特性区域 */
.VPFeatures {
  position: relative;
  padding: 0 24px;
}

@media (min-width: 640px) {
  .VPFeatures {
    padding: 0 48px;
  }
}

@media (min-width: 960px) {
  .VPFeatures {
    padding: 0 64px;
  }
}

.VPFeatures .container {
  margin: 0 auto;
  max-width: 1152px;
}

.VPFeatures-title {
  margin: 0 auto;
  max-width: 392px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--vp-c-text-1);
  padding-bottom: 12px;
}

@media (min-width: 640px) {
  .VPFeatures-title {
    max-width: 576px;
    font-size: 32px;
    line-height: 40px;
  }
}

@media (min-width: 960px) {
  .VPFeatures-title {
    font-size: 36px;
    line-height: 44px;
  }
}

.VPFeatures .items {
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
}

.VPFeatures .item {
  padding: 8px;
  width: 100%;
}

@media (min-width: 640px) {
  .VPFeatures .item.grid-2 {
    width: calc(100% / 2);
  }
  
  .VPFeatures .item.grid-3 {
    width: calc(100% / 3);
  }
  
  .VPFeatures .item.grid-4 {
    width: calc(100% / 4);
  }
  
  .VPFeatures .item.grid-6 {
    width: calc(100% / 6);
  }
}

@media (min-width: 960px) {
  .VPFeatures .item {
    width: calc(100% / 3);
  }
}

.VPFeature {
  display: block;
  border: 1px solid var(--vp-c-bg-soft);
  border-radius: 12px;
  height: 100%;
  background-color: var(--vp-c-bg-soft);
  transition: border-color 0.25s, background-color 0.25s;
  padding: 24px;
}

.VPFeature:hover {
  border-color: var(--vp-c-brand-1);
}

.VPFeature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 6px;
  background-color: var(--vp-c-default-soft);
  width: 48px;
  height: 48px;
  font-size: 24px;
  transition: background-color 0.25s;
}

.VPFeature .title {
  line-height: 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin: 0 0 8px 0;
}

.VPFeature .details {
  flex-grow: 1;
  padding-top: 8px;
  line-height: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--vp-c-text-2);
  margin: 0;
}

.VPFeature .features-list {
  margin: 16px 0;
}

.VPFeature .feature-item {
  margin: 4px 0;
  padding: 4px 0;
  font-size: 14px;
  color: var(--vp-c-text-2);
}

.VPFeature .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--vp-c-divider);
}

.VPFeature .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--vp-c-brand-1);
}

.VPFeature .join-btn {
  background-color: var(--vp-c-brand-1);
  color: var(--vp-c-white);
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s;
}

.VPFeature .join-btn:hover {
  background-color: var(--vp-c-brand-2);
}

/* 教程区域 */
.VPTutorial {
  position: relative;
  padding: 64px 24px;
  background-color: var(--vp-c-bg-alt);
}

@media (min-width: 640px) {
  .VPTutorial {
    padding: 96px 48px;
  }
}

@media (min-width: 960px) {
  .VPTutorial {
    padding: 128px 64px;
  }
}

.VPTutorial .container {
  margin: 0 auto;
  max-width: 1152px;
}

.VPTutorial .tutorial-title {
  margin: 0 auto 48px;
  max-width: 392px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--vp-c-text-1);
}

@media (min-width: 640px) {
  .VPTutorial .tutorial-title {
    max-width: 576px;
    font-size: 32px;
    line-height: 40px;
  }
}

@media (min-width: 960px) {
  .VPTutorial .tutorial-title {
    font-size: 36px;
    line-height: 44px;
  }
}

.VPTutorial .tutorial-items {
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
}

.VPTutorial .tutorial-item {
  padding: 8px;
  width: 100%;
}

@media (min-width: 640px) {
  .VPTutorial .tutorial-item {
    width: calc(100% / 2);
  }
}

@media (min-width: 960px) {
  .VPTutorial .tutorial-item {
    width: calc(100% / 3);
  }
}

.tutorial-item {
  display: block;
  border: 1px solid var(--vp-c-bg-soft);
  border-radius: 12px;
  height: 100%;
  background-color: var(--vp-c-bg);
  transition: border-color 0.25s, background-color 0.25s;
  padding: 24px;
  text-align: center;
}

.tutorial-item:hover {
  border-color: var(--vp-c-brand-1);
}

.tutorial-item .tutorial-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.tutorial-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin: 0 0 12px 0;
}

.tutorial-item p {
  font-size: 14px;
  color: var(--vp-c-text-2);
  line-height: 20px;
  margin: 0;
}

/* 文档容器 */
.vp-doc {
  padding: 32px 24px 96px;
}

@media (min-width: 768px) {
  .vp-doc {
    padding: 48px 32px 128px;
  }
}

/* 工具类 */
.hidden {
  display: none !important;
}

/* 模态框 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--vp-c-bg);
  margin: 10% auto;
  border: 1px solid var(--vp-c-divider);
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  background: var(--vp-c-brand-1);
  color: var(--vp-c-white);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.close {
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.25s;
}

.close:hover {
  opacity: 1;
}

.modal-body {
  padding: 24px;
}

.qr-container {
  text-align: center;
  margin-bottom: 24px;
}

.qr-placeholder {
  width: 240px;
  height: 240px;
  background: var(--vp-c-bg-soft);
  border: 2px dashed var(--vp-c-divider);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--vp-c-text-2);
}

.qr-placeholder .qr-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.qr-placeholder p {
  margin: 8px 0 4px;
  font-weight: 600;
}

.qr-placeholder small {
  font-size: 12px;
  opacity: 0.7;
}

.modal-tips h4 {
  margin-bottom: 12px;
  color: var(--vp-c-text-1);
  font-weight: 600;
}

.modal-tips ol {
  color: var(--vp-c-text-2);
  line-height: 1.6;
  padding-left: 20px;
}

.modal-tips ol li {
  margin-bottom: 4px;
}

/* 品牌颜色 */
:root {
  --vp-c-brand-1: #646cff;
  --vp-c-brand-2: #747bff;
  --vp-c-brand-3: #9499ff;
  --vp-c-brand-soft: rgba(100, 108, 255, 0.14);
  --vp-c-brand-mute: rgba(100, 108, 255, 0.08);
}

html.dark {
  --vp-c-brand-1: #a777e3;
  --vp-c-brand-2: #ad85e4;
  --vp-c-brand-3: #b794f6;
  --vp-c-brand-soft: rgba(167, 119, 227, 0.16);
  --vp-c-brand-mute: rgba(167, 119, 227, 0.08);
}

/* Hero背景 */
:root {
  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);
  --vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
  --vp-home-hero-image-filter: blur(44px);
}

/* 响应式 */
@media (max-width: 768px) {
  .VPHero.has-image .container {
    flex-direction: column;
  }
  
  .VPHero .main {
    text-align: left;
  }
  
  .VPFeatures .item {
    width: 100% !important;
  }
  
  .VPTutorial .tutorial-item {
    width: 100% !important;
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .qr-placeholder {
    width: 200px;
    height: 200px;
  }
}

/* 导航栏品牌文字样式 */
.VPNavBarTitle .title .nav-brand-text {
  background: linear-gradient(135deg, #bd34fe 0%, #8b5cf6 50%, #41d1ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  text-transform: uppercase !important;
}

/* Logo组合样式 */
.VPNavBarTitle .title {
  align-items: center;
  padding: 2px 0;
  gap: 4px;
}

.VPNavBarTitle .title:hover .logo-icon {
  opacity: 0.8;
  transform: scale(1.3);
}

.VPNavBarTitle .title:hover .nav-brand-text {
  opacity: 0.85;
  transform: translateY(-0.5px);
}

/* 分隔符和背景色 */
:root {
  --vp-c-grayAlpha-200: rgba(60, 60, 67, 0.08);
  --vp-c-divider: var(--vp-c-grayAlpha-200);
  --vp-c-divider-light: rgba(60, 60, 67, 0.06);
  --vp-c-default-soft: var(--vp-c-gray-soft);
  --vp-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
}

html.dark {
  --vp-c-grayAlpha-200: rgba(255, 255, 255, 0.08);
  --vp-c-divider-light: rgba(255, 255, 255, 0.06);
}

/* 强制应用导航栏品牌样式 */
span.nav-brand-text {
  background: linear-gradient(135deg, #bd34fe 0%, #8b5cf6 50%, #41d1ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.8px !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  text-transform: uppercase !important;
}

/* 社区页面样式 */
.VPCommunity {
  padding-top: 8px;
  min-height: calc(100vh - 64px);
  height: calc(100vh - 64px);
  overflow: hidden;
}

.community-layout {
  display: flex;
  height: 100%;
  overflow: hidden;
}

/* 左侧目录 */
.community-sidebar {
  width: 280px;
  background: var(--vp-c-bg);
  border-right: 1px solid var(--vp-c-divider);
  overflow-y: auto;
  flex-shrink: 0;
  position: relative;
  /* 隐藏滚动条但保留滚动功能 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 和 Edge */
}

/* 隐藏 Webkit 浏览器的滚动条 */
.community-sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-nav {
  padding: 8px 0 16px 0;
  margin-left: 0;
  width: 100%;
  padding-left: 32px;
}

@media (min-width: 768px) {
  .sidebar-nav {
    padding-left: 40px;
  }
}

.nav-section {
  margin-bottom: 12px;  /* 从 16px 减少到 12px */
  position: relative;
  left: 0;
}

.nav-section-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--vp-c-text-1);
  margin: 0 0 4px 0;  /* 从 8px 进一步减少到 4px */
  letter-spacing: 0.5px;
  position: relative;
  left: 0;
  padding: 4px 32px 4px 32px;  /* 从 6px 减少到 4px */
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .nav-section-title {
    font-size: 15px;
    padding: 0 40px 4px 40px;  /* 从 6px 减少到 4px */
  }
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 8px 32px 8px 48px;  /* 从 10px 减少到 8px */
  color: var(--vp-c-text-1);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
  border-radius: 0 12px 12px 0;
  margin-right: 12px;
  font-size: 12px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .nav-link {
    padding: 8px 40px 8px 56px;  /* 从 10px 减少到 8px */
  }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0;
}

.nav-link:hover {
  background: var(--vp-c-bg-soft);
  color: var(--vp-c-text-1);
  transform: translateX(4px);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--vp-c-brand-soft), rgba(189, 52, 254, 0.1));
  color: var(--vp-c-brand-1);
  border-left-color: var(--vp-c-brand-1);
  font-weight: 600;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(189, 52, 254, 0.15);
}

.nav-link.active:hover {
  background: linear-gradient(135deg, var(--vp-c-brand-soft), rgba(189, 52, 254, 0.15));
  transform: translateX(4px);
}



.nav-text {
  font-size: 13px;
  font-weight: 400;
  margin-left: 0;
}

/* 右侧内容 */
.community-main {
  flex: 1;
  overflow-y: auto;
  background: var(--vp-c-bg);
  /* 淡化滚动条样式 */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent; /* Firefox */
}

/* Webkit 浏览器的淡化滚动条 */
.community-main::-webkit-scrollbar {
  width: 4px;
}

.community-main::-webkit-scrollbar-track {
  background: transparent;
}

.community-main::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.community-main::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

/* 黑暗模式下的滚动条颜色 */
html.dark .community-main {
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

html.dark .community-main::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
}

html.dark .community-main::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.article-layout {
  display: flex;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.article-container {
  flex: 1;
  min-width: 0;
  padding: 8px 0 32px 24px;
}

/* 文章目录样式 */
.article-toc {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 47px; /* 与「x分钟阅读」文字对齐：标题高度(~26px) + margin-bottom(16px) + 部分行高 */
  height: fit-content;
  max-height: calc(100vh - 167px); /* 调整最大高度以适应新的top值 */
  overflow-y: auto;
  padding: 16px 16px 16px 0;
  /* 隐藏目录滚动条 */
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 640px以上屏幕的调整 */
@media (min-width: 640px) {
  .article-toc {
    top: 51px; /* 调整大屏幕下的对齐：标题更大(~31px) + margin-bottom(16px) + 部分行高 */
    max-height: calc(100vh - 171px);
  }
}

.article-toc::-webkit-scrollbar {
  display: none;
}

.toc-line {
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background-color: var(--vp-c-divider-light);
  border-radius: 1px;
}

.toc-nav {
  position: relative;
  padding-left: 16px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toc-nav.updating {
  opacity: 0.6;
  transform: translateY(-2px);
}

.toc-item {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--vp-c-text-3);
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.25s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-8px);
  animation: tocItemFadeIn 0.3s ease forwards;
}

@keyframes tocItemFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toc-item:hover {
  color: var(--vp-c-text-1);
}

.toc-item.active {
  color: var(--vp-c-brand-1);
  font-weight: 500;
}

.toc-item.active::before {
  content: '';
  position: absolute;
  left: -17px; /* 调整位置，使其在竖线上 */
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background-color: var(--vp-c-brand-1);
  border-radius: 2px;
  z-index: 10; /* 确保在竖线之上 */
}

@media (min-width: 640px) {
  .article-container {
    padding: 12px 0 40px 32px;
  }
}

@media (min-width: 960px) {
  .article-container {
    padding: 0px 0 48px 40px;
  }
}

/* 响应式设计 - 目录 */
@media (max-width: 1024px) {
  .article-toc {
    display: none !important;
  }

  .article-layout {
    gap: 0;
  }

  .article-container {
    padding-right: 24px;
    padding-bottom: 32px;
  }
}

.article {
  display: none;
}

.article.active {
  display: block;
}

.article-header {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--vp-c-divider);
  margin-top: 8px;
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--vp-c-text-1);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .article-title {
    font-size: 24px;
    line-height: 1.3;
  }
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.article-tag {
  background: var(--vp-c-brand-soft);
  color: var(--vp-c-brand-1);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.article-time {
  font-size: 14px;
  color: var(--vp-c-text-3);
}

/* 文章标签样式 */
.article-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.article-tags .tag {
  background: var(--vp-c-indigo-soft);
  color: var(--vp-c-indigo-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  border: 1px solid var(--vp-c-indigo-2);
  transition: all 0.2s ease;
  cursor: default;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.article-tags .tag:hover {
  background: var(--vp-c-indigo-2);
  color: var(--vp-c-white);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(60, 81, 178, 0.3);
}

/* 不同类型的标签颜色 */
.article-tags .tag.tag-tutorial {
  background: var(--vp-c-green-soft);
  color: var(--vp-c-green-2);
  border-color: var(--vp-c-green-2);
}

.article-tags .tag.tag-tutorial:hover {
  background: var(--vp-c-green-2);
  color: var(--vp-c-white);
  box-shadow: 0 2px 6px rgba(41, 151, 100, 0.3);
}

.article-tags .tag.tag-quickstart {
  background: var(--vp-c-yellow-soft);
  color: var(--vp-c-yellow-2);
  border-color: var(--vp-c-yellow-2);
}

.article-tags .tag.tag-quickstart:hover {
  background: var(--vp-c-yellow-2);
  color: var(--vp-c-white);
  box-shadow: 0 2px 6px rgba(148, 99, 0, 0.3);
}

.article-tags .tag.tag-guide {
  background: var(--vp-c-purple-soft);
  color: var(--vp-c-purple-2);
  border-color: var(--vp-c-purple-2);
}

.article-tags .tag.tag-guide:hover {
  background: var(--vp-c-purple-2);
  color: var(--vp-c-white);
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

.article-tags .tag.tag-automation {
  background: var(--vp-c-red-soft);
  color: var(--vp-c-red-2);
  border-color: var(--vp-c-red-2);
}

.article-tags .tag.tag-automation:hover {
  background: var(--vp-c-red-2);
  color: var(--vp-c-white);
  box-shadow: 0 2px 6px rgba(213, 57, 62, 0.3);
}

/* 为每篇文章的标签添加不同的颜色 */
.article-tags .tag.tag-article-1 {
  background: var(--vp-c-blue-soft);
  color: var(--vp-c-blue-2);
  border-color: var(--vp-c-blue-2);
}

.article-tags .tag.tag-article-1:hover {
  background: var(--vp-c-blue-2);
  color: var(--vp-c-white);
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.article-tags .tag.tag-article-2 {
  background: var(--vp-c-orange-soft);
  color: var(--vp-c-orange-2);
  border-color: var(--vp-c-orange-2);
}

.article-tags .tag.tag-article-2:hover {
  background: var(--vp-c-orange-2);
  color: var(--vp-c-white);
  box-shadow: 0 2px 6px rgba(251, 146, 60, 0.3);
}

.article-tags .tag.tag-article-3 {
  background: var(--vp-c-teal-soft);
  color: var(--vp-c-teal-2);
  border-color: var(--vp-c-teal-2);
}

.article-tags .tag.tag-article-3:hover {
  background: var(--vp-c-teal-2);
  color: var(--vp-c-white);
  box-shadow: 0 2px 6px rgba(20, 184, 166, 0.3);
}

.article-tags .tag.tag-article-4 {
  background: var(--vp-c-pink-soft);
  color: var(--vp-c-pink-2);
  border-color: var(--vp-c-pink-2);
}

.article-tags .tag.tag-article-4:hover {
  background: var(--vp-c-pink-2);
  color: var(--vp-c-white);
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3);
}

.article-tags .tag.tag-article-5 {
  background: var(--vp-c-indigo-soft);
  color: var(--vp-c-indigo-2);
  border-color: var(--vp-c-indigo-2);
}

.article-tags .tag.tag-article-5:hover {
  background: var(--vp-c-indigo-2);
  color: var(--vp-c-white);
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

/* 黑暗模式下的标签样式 */
html.dark .article-tags .tag {
  background: var(--vp-c-indigo-soft);
  color: var(--vp-c-indigo-1);
  border-color: var(--vp-c-indigo-1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

html.dark .article-tags .tag:hover {
  background: var(--vp-c-indigo-1);
  color: var(--vp-c-bg);
}

html.dark .article-tags .tag.tag-tutorial {
  background: var(--vp-c-green-soft);
  color: var(--vp-c-green-1);
  border-color: var(--vp-c-green-1);
}

html.dark .article-tags .tag.tag-tutorial:hover {
  background: var(--vp-c-green-1);
  color: var(--vp-c-bg);
}

html.dark .article-tags .tag.tag-quickstart {
  background: var(--vp-c-yellow-soft);
  color: var(--vp-c-yellow-1);
  border-color: var(--vp-c-yellow-1);
}

html.dark .article-tags .tag.tag-quickstart:hover {
  background: var(--vp-c-yellow-1);
  color: var(--vp-c-bg);
}

html.dark .article-tags .tag.tag-guide {
  background: var(--vp-c-purple-soft);
  color: var(--vp-c-purple-1);
  border-color: var(--vp-c-purple-1);
}

html.dark .article-tags .tag.tag-guide:hover {
  background: var(--vp-c-purple-1);
  color: var(--vp-c-bg);
}

html.dark .article-tags .tag.tag-automation {
  background: var(--vp-c-red-soft);
  color: var(--vp-c-red-1);
  border-color: var(--vp-c-red-1);
}

html.dark .article-tags .tag.tag-automation:hover {
  background: var(--vp-c-red-1);
  color: var(--vp-c-bg);
}

.article-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--vp-c-text-1);
}

.article-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin: 28px 0 14px 0;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin: 20px 0 10px 0;
  line-height: 1.3;
}

.article-content p {
  margin: 0 0 14px 0;
}

.article-content ul,
.article-content ol {
  margin: 14px 0;
  padding-left: 20px;
}

.article-content li {
  margin: 6px 0;
  line-height: 1.6;
  /* 确保多行文本正确对齐 */
  text-align: left;
  /* 使用悬挂缩进，让多行文本对齐 */
  text-indent: 0;
  padding-left: 0;
}

/* 修复多行列表项的对齐问题 */
.article-content li p {
  margin: 0;
  display: inline;
}

/* 对于包含强调文本和换行的列表项 */
.article-content li strong {
  display: inline-block;
  margin-bottom: 2px;
  width: 100%;
}

/* 处理 Markdown 换行符后的内容对齐 */
.article-content li > br + * {
  display: inline-block;
  margin-top: 2px;
  text-indent: 0;
}

/* 针对特定的Markdown结构：- **标题**<br>描述文本 */
.article-content li {
  /* 使用标准的list-style位置处理，让标记在外面 */
  list-style-position: outside;
  /* 不设置 padding-left，保持第一行原始位置 */
  padding-left: 0;
  /* 确保正确的换行处理 */
  text-indent: 0;
  overflow-wrap: break-word;
  position: relative;
}

/* 处理换行后的文本对齐 - 让第二行及后续行缩进到与第一行文字对齐 */
/* 只对真正包含 <br> 标签的列表项应用此规则 */
.article-content li:has(br) br + * {
  display: block;
  margin-top: 2px;
  /* 缩进到与第一行文字对齐（跳过列表符号的宽度）*/
  margin-left: 1.2em;
  text-indent: 0;
}

/* 备用方案：使用更具体的选择器，只针对真正有换行的情况 */
.article-content li br + span,
.article-content li br + div,
.article-content li br + p {
  display: block;
  margin-top: 2px;
  margin-left: 1.2em;
  text-indent: 0;
}

.faq-item {
  margin: 24px 0;
  padding: 20px;
  background: var(--vp-c-bg-soft);
  border-radius: 12px;
  border-left: 4px solid var(--vp-c-brand-1);
}

.faq-item h3 {
  margin: 0 0 12px 0;
  color: var(--vp-c-brand-1);
}

.faq-item p {
  margin: 0;
  color: var(--vp-c-text-2);
}

.checklist {
  margin: 24px 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  margin: 12px 0;
  padding: 12px 16px;
  background: var(--vp-c-bg-soft);
  border-radius: 8px;
  transition: background-color 0.25s;
}

.checklist-item:hover {
  background: var(--vp-c-bg-elv);
}

.checklist-item input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: var(--vp-c-brand-1);
}

.checklist-item label {
  font-size: 14px;
  color: var(--vp-c-text-1);
  cursor: pointer;
}

/* 响应式设计 - 优化布局优先级 */

/* 大屏幕（桌面）：显示所有内容 */
@media (min-width: 1200px) {
  .community-layout {
    display: flex;
    height: calc(100vh - 64px);
    overflow: hidden;
  }
  
  .community-sidebar {
    width: 280px;
    display: block;
  }
  
  .article-toc {
    display: block;
    width: 200px;
  }
  
  .article-layout {
    gap: 32px;
  }
}

/* 中等屏幕（平板横向）：隐藏右侧目录，保留左侧导航 */
@media (min-width: 900px) and (max-width: 1199px) {
  .community-layout {
    display: flex;
    height: calc(100vh - 64px);
    overflow: hidden;
  }
  
  .community-sidebar {
    width: 260px;
    display: block;
  }
  
  .article-toc {
    display: none;
  }
  
  .article-layout {
    gap: 0;
  }
  
  .article-container {
    padding-right: 24px;
  }
}

/* 小屏幕（平板竖向）：隐藏右侧目录，左侧导航折叠 */
@media (min-width: 768px) and (max-width: 899px) {
  .community-layout {
    display: flex;
    height: calc(100vh - 64px);
    overflow: hidden;
  }
  
  .community-sidebar {
    width: 240px;
    display: block;
  }
  
  .article-toc {
    display: none;
  }
  
  .article-layout {
    gap: 0;
  }
  
  .article-container {
    padding-right: 16px;
    padding-bottom: 40px;
  }
  
  /* 缩小导航字体和间距 */
  .nav-link {
    padding: 6px 24px 6px 40px;  /* 进一步减少到 6px */
    font-size: 11px;
  }
  
  .nav-section-title {
    font-size: 13px;  /* 从 14px 减少到 13px */
    padding: 0 24px 2px 24px;  /* 从 4px 进一步减少到 2px */
    margin: 0 0 2px 0;  /* 添加更小的底部间距 */
  }
}

/* 移动设备：完全隐藏侧边栏，优先显示文章 */
@media (max-width: 767px) {
  .VPCommunity {
    padding-top: 0;
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .community-layout {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .community-sidebar {
    display: none;
  }

  .community-main {
    height: auto;
    overflow-y: visible;
    padding: 0;
    flex: none;
  }

  .article-toc {
    display: none;
  }

  .article-layout {
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .article-container {
    width: 100%;
    padding: 16px 20px;
    max-width: 100%;
  }

  .article-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .article-meta {
    gap: 12px;
    margin-bottom: 20px;
  }

  .article-content {
    font-size: 15px;
    line-height: 1.7;
  }

}

/* === 服务优势区域样式 === */
.VPServiceAdvantages {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--vp-c-bg-alt) 0%, var(--vp-c-bg) 100%);
  border-top: 1px solid var(--vp-c-divider);
  position: relative;
}

.VPServiceAdvantages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, var(--vp-c-brand-1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, var(--vp-c-brand-2) 0%, transparent 50%);
  opacity: 0.05;
  pointer-events: none;
}

.VPServiceAdvantages .container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.VPServiceAdvantages h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vp-c-text-1);
  text-align: center;
  margin: 0 0 48px 0;
  position: relative;
}

.VPServiceAdvantages h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--vp-c-brand-1), var(--vp-c-brand-2));
  border-radius: 2px;
}

.VPServiceAdvantages .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  align-items: center;
}

.VPServiceAdvantages .stat-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--vp-c-bg-soft);
  border: 1px solid var(--vp-c-divider-light);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.VPServiceAdvantages .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vp-c-brand-1), var(--vp-c-brand-2));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.VPServiceAdvantages .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--vp-c-brand-1);
}

.VPServiceAdvantages .stat-item:hover::before {
  transform: scaleX(1);
}

.VPServiceAdvantages .stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--vp-c-brand-1), var(--vp-c-brand-2));
  color: white;
}

.VPServiceAdvantages .stat-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--vp-c-text-1);
  margin: 0 0 8px 0;
  background: linear-gradient(135deg, var(--vp-c-brand-1), var(--vp-c-brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.VPServiceAdvantages .stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--vp-c-text-2);
  margin: 0;
  letter-spacing: 0.5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .VPServiceAdvantages {
    padding: 48px 0;
  }

  .VPServiceAdvantages .container {
    padding: 0 20px;
  }

  .VPServiceAdvantages h2 {
    font-size: 20px;
    margin-bottom: 36px;
  }

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

  .VPServiceAdvantages .stat-item {
    padding: 24px 16px;
  }

  .VPServiceAdvantages .stat-number {
    font-size: 28px;
  }

  .VPServiceAdvantages .stat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .VPServiceAdvantages .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
  .article-container {
    padding: 12px 16px;
  }
  
  .article-title {
    font-size: 18px;
  }
  
  .article-tag {
    font-size: 11px;
    padding: 3px 8px;
  }
  
  .article-time {
    font-size: 12px;
  }
  
  .article-content {
    font-size: 14px;
  }
}

/* 文章内容样式 */
.vp-doc-content {
  max-width: none;
}

.vp-doc-para {
  margin: 16px 0;
  line-height: 28px;
}

.vp-doc-h1, .vp-doc-h2, .vp-doc-h3, .vp-doc-h4, .vp-doc-h5, .vp-doc-h6 {
  margin: 32px 0 16px;
  font-weight: 600;
  outline: none;
}

.vp-doc-h1 {
  font-size: 28px;
  line-height: 40px;
}

.vp-doc-h2 {
  font-size: 24px;
  line-height: 32px;
  margin: 48px 0 16px;
  padding-top: 0;
}

.vp-doc-h3 {
  font-size: 20px;
  line-height: 28px;
}

.vp-doc-h4 {
  font-size: 18px;
}

.vp-blockquote {
  margin: 16px 0;
  border-left: 4px solid var(--vp-c-divider);
  padding-left: 16px;
  transition: border-color 0.25s;
}

.vp-blockquote > p {
  margin: 10px 0;
  color: var(--vp-c-text-2);
}

.vp-strong {
  font-weight: 600;
}

.vp-em {
  font-style: italic;
}

.vp-code-inline {
  font-size: 14px;
  color: var(--vp-c-text-1);
  background-color: var(--vp-c-bg-soft);
  border-radius: 4px;
  padding: 3px 6px;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

.vp-list-item {
  margin: 8px 0;
}

.vp-divider {
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vp-c-divider), transparent);
}

/* 简单的短分割线 */
.vp-divider .divider-line {
  width: 120px;
  height: 1px;
  background: var(--vp-c-divider);
  margin: 0 auto;
}

.vp-table-container {
  overflow-x: auto;
  margin: 16px 0;
}

.vp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background-color: var(--vp-c-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.vp-table th,
.vp-table td {
  border: 1px solid var(--vp-c-divider);
  padding: 12px 16px;
  text-align: left;
}

.vp-table th {
  background-color: var(--vp-c-bg-soft);
  font-weight: 600;
}

.vp-table tr:nth-child(2n) {
  background-color: var(--vp-c-bg-soft);
}

.success-icon {
  color: var(--vp-c-green-1);
}

.vp-code-block {
  position: relative;
  margin: 16px 0;
  background-color: var(--vp-c-bg-alt);
  border-radius: 8px;
  overflow: hidden;
}

.vp-code-block pre {
  margin: 0;
  padding: 20px 24px;
  background: transparent;
  overflow-x: auto;
}

.vp-code-block code {
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  font-size: 14px;
  line-height: 1.7;
  color: var(--vp-c-text-1);
}

.vp-terminal {
  background-color: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
}

.vp-terminal-header {
  background-color: #2d2d30;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vp-terminal-dots {
  display: flex;
  gap: 6px;
}

.vp-terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.vp-terminal-dot.red {
  background-color: #ff5f56;
}

.vp-terminal-dot.yellow {
  background-color: #ffbd2e;
}

.vp-terminal-dot.green {
  background-color: #27c93f;
}

.vp-terminal-title {
  color: #cccccc;
  font-size: 12px;
  font-weight: 500;
}

.vp-terminal pre {
  background-color: #1e1e1e;
  color: #cccccc;
  padding: 16px;
  margin: 0;
  overflow-x: auto;
}

.vp-emphasis-para {
  background: linear-gradient(135deg, var(--vp-c-purple-soft), var(--vp-c-indigo-soft));
  border-left: 4px solid var(--vp-c-purple-1);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
}

/* 文档头部样式 */
.VPDocHeader {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--vp-c-divider);
  margin-bottom: 32px;
}

.VPDocHeader .title {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin: 0 0 8px;
}

.VPDocMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0;
}

.VPDocMeta .meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--vp-c-text-2);
}

.VPDocMeta .category {
  background-color: var(--vp-c-indigo-soft);
  color: var(--vp-c-indigo-1);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.VPDocMeta .read-time {
  color: var(--vp-c-text-3);
}

.VPDocHeader .description {
  font-size: 18px;
  line-height: 28px;
  color: var(--vp-c-text-2);
  margin: 16px 0 0;
}

/* 文档页面侧边栏 */
.VPDocAside {
  position: relative;
}

.VPDocSidebarNav {
  position: sticky;
  top: calc(64px + 32px);
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  padding-right: 16px;
}

.VPDocSidebarNav .group {
  padding: 0;
}

.VPDocSidebarNav .item {
  margin: 8px 0;
}

.VPDocSidebarNav .text {
  font-size: 13px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  padding: 4px 0;
}

.VPDocSidebarNav .items {
  padding-left: 16px;
  border-left: 1px solid var(--vp-c-divider);
}

.VPDocSidebarNav .link {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--vp-c-text-2);
  text-decoration: none;
  transition: color 0.25s;
}

.VPDocSidebarNav .link:hover {
  color: var(--vp-c-text-1);
}

.VPDocSidebarNav .link.active {
  color: var(--vp-c-brand-1);
  font-weight: 600;
  position: relative;
}

.VPDocSidebarNav .link.active::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background-color: var(--vp-c-brand-1);
  border-radius: 2px;
}

/* 文档页面布局 */
.VPDoc {
  padding-top: 64px;
}

.VPDoc .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 64px;
}

.VPDocAside {
  width: 256px;
  flex-shrink: 0;
}

.VPDoc .content {
  flex: 1;
  min-width: 0;
}

.VPDoc .content-container {
  max-width: 784px;
}

@media (max-width: 960px) {
  .VPDoc .container {
    flex-direction: column;
    gap: 32px;
  }
  
  .VPDocAside {
    width: 100%;
    order: -1;
  }
  
  .VPDocSidebarNav {
    position: static;
    max-height: none;
    padding-right: 0;
  }
}

/* 加载动画 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hero副标题样式 - 字号更合理 */
.VPHero .subtitle {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--vp-c-text-2);
  margin-top: 6px;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .VPHero .subtitle {
    font-size: 15px;
    margin-top: 8px;
  }
}

@media (min-width: 960px) {
  .VPHero .subtitle {
    font-size: 16px;
    margin-top: 10px;
  }
}

/* 立即拼车按钮样式 - 增强颜色 */
.VPHero .actions .action:nth-child(2) .VPButton {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(238, 90, 36, 0.3);
  transition: all 0.3s ease;
}

.VPHero .actions .action:nth-child(2) .VPButton:hover {
  background: linear-gradient(135deg, #ee5a24, #d63031);
  box-shadow: 0 6px 20px rgba(238, 90, 36, 0.4);
  transform: translateY(-2px);
}


/* 页脚版权信息样式 */
.footer-content {
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}



.copyright {
  color: var(--vp-c-text-3);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.copyright p {
  margin: 4px 0;
}

.copyright a {
  color: var(--vp-c-brand-1);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: var(--vp-c-brand-2);
  text-decoration: underline;
}

/* 响应式页脚 */
@media (max-width: 768px) {
  .footer-content {
    padding: 15px 0;
    margin-top: 30px;
  }

  .copyright {
    font-size: 13px;
    font-weight: 600;
  }
}

/* 新增内容区域样式 */

/* 特性展示区域 */
.VPFeatures {
  padding: 64px 24px;
  background-color: var(--vp-c-bg-alt);
}

.VPFeatures .container {
  max-width: 1152px;
  margin: 0 auto;
}

.VPFeatures .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.VPFeatures .feature {
  background: var(--vp-c-bg);
  border: 1px solid var(--vp-c-gray-soft);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.VPFeatures .feature:hover {
  border-color: var(--vp-c-brand-1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.VPFeatures .feature .icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.VPFeatures .feature h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin: 0 0 12px 0;
}

.VPFeatures .feature p {
  color: var(--vp-c-text-2);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* 快速开始指南 */
.VPQuickStart {
  padding: 64px 24px;
  background-color: var(--vp-c-bg);
}

.VPQuickStart .container {
  max-width: 1152px;
  margin: 0 auto;
  text-align: center;
}

.VPQuickStart h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin: 0 0 48px 0;
}

.VPQuickStart .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.VPQuickStart .step {
  position: relative;
  padding: 24px;
}

.VPQuickStart .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vp-c-brand-1), var(--vp-c-brand-2));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  margin: 0 auto 16px auto;
}

.VPQuickStart .step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin: 0 0 12px 0;
}

.VPQuickStart .step p {
  color: var(--vp-c-text-2);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* 统计数据展示 */
.VPStats {
  padding: 64px 24px;
  background: linear-gradient(135deg, var(--vp-c-brand-soft), var(--vp-c-indigo-soft));
}

.VPStats .container {
  max-width: 1152px;
  margin: 0 auto;
}

.VPStats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.VPStats .stat {
  padding: 24px;
}

.VPStats .stat .number {
  font-size: 48px;
  font-weight: 700;
  color: var(--vp-c-brand-1);
  margin-bottom: 8px;
  display: block;
}

.VPStats .stat .label {
  font-size: 16px;
  color: var(--vp-c-text-2);
  font-weight: 500;
}


/* AI模型展示区域 */
.VPAIShowcase {
  background: var(--vp-c-bg);
  padding: 50px 24px;
}

.VPAIShowcase .container {
  max-width: 1152px;
  margin: 0 auto;
}

.VPAIShowcase .header {
  text-align: center;
  margin-bottom: 64px;
}

.VPAIShowcase .header h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vp-c-text-1);
  margin: 0 0 16px;
}

.VPAIShowcase .header .subtitle {
  font-size: 14px;
  color: var(--vp-c-text-2);
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.VPAIShowcase .models-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 32px;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.VPAIShowcase .model-icon {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vp-c-bg-soft);
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.VPAIShowcase .model-icon:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--vp-c-indigo-2);
  background: var(--vp-c-bg);
}

.VPAIShowcase .model-icon svg {
  width: 48px;
  height: 48px;
  color: var(--vp-c-text-1);
  transition: all 0.3s ease;
}

.VPAIShowcase .model-icon:hover svg {
  color: var(--vp-c-indigo-2);
  transform: scale(1.1);
}

.VPAIShowcase .model-icon.more-models {
  background: var(--vp-c-bg-soft);
  color: var(--vp-c-text-1);
  border: 2px solid var(--vp-c-divider-light);
}

.VPAIShowcase .model-icon.more-models .count {
  font-size: 24px;
  font-weight: 700;
  color: var(--vp-c-text-1);
}

.VPAIShowcase .model-icon.more-models:hover {
  background: var(--vp-c-bg);
  border-color: var(--vp-c-indigo-2);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.VPAIShowcase .tooltip {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vp-c-bg-soft);
  color: var(--vp-c-text-1);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--vp-c-gray-2);
  z-index: 10;
}

.VPAIShowcase .model-icon:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

/* AI模型图标集合样式 */
.VPAIModels {
  background: var(--vp-c-bg-soft);
  padding: 96px 24px;
  border-top: 1px solid var(--vp-c-gray-1);
}

.VPAIModels .container {
  max-width: 1152px;
  margin: 0 auto;
}

.VPAIModels h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vp-c-text-1);
  margin: 0 0 48px;
}

.VPAIModels .models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  justify-items: center;
  margin-bottom: 48px;
}

.VPAIModels .model-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: var(--vp-c-bg);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--vp-c-gray-2);
  min-height: 140px;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.VPAIModels .model-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--vp-c-indigo-2);
}

.VPAIModels .model-item svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--vp-c-text-1);
  transition: all 0.3s ease;
}

.VPAIModels .model-item:hover svg {
  color: var(--vp-c-indigo-2);
}

.VPAIModels .model-item .model-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--vp-c-text-2);
  text-align: center;
  margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .VPFeatures,
  .VPQuickStart,
  .VPStats,
  .VPTestimonials,
  .VPAIModels,
  .VPAIShowcase {
    padding: 48px 16px;
  }

  .VPFeatures .features,
  .VPQuickStart .steps,
  .VPTestimonials .testimonials {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .VPAIModels .models-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 16px;
  }

  .VPAIShowcase .models-showcase {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 20px;
    max-width: 400px;
  }

  .VPAIShowcase .model-icon {
    width: 60px;
    height: 60px;
  }

  .VPAIShowcase .model-icon svg {
    width: 36px;
    height: 36px;
  }

  .VPAIShowcase .header h2 {
    font-size: 28px;
  }

  .VPAIShowcase .header .subtitle {
    font-size: 12px;
  }

  .VPAIModels h2 {
    font-size: 36px;
  }

  .VPQuickStart h2,
  .VPTestimonials h2 {
    font-size: 20px;
  }

  .VPStats .stat .number {
    font-size: 36px;
  }
}

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

/* ===== Footer ===== */
.VPFooter {
  background: var(--vp-c-bg-soft);
  border-top: 1px solid var(--vp-c-divider);
  padding: 6px 0;
}

.VPFooter .container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.VPFooter .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 32px;
}

.VPFooter .footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.VPFooter .copyright {
  color: var(--vp-c-text-2);
  font-size: 14px;
  font-weight: 500;
}

.VPFooter .footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.VPFooter .footer-link {
  background: none;
  border: none;
  color: var(--vp-c-text-2);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.VPFooter .footer-link:hover {
  color: var(--vp-c-brand);
}

.VPFooter .separator {
  color: var(--vp-c-text-3);
  font-size: 14px;
}

.VPFooter .footer-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.VPFooter .service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.VPFooter .service-badge:hover {
  background: rgba(59, 130, 246, 0.2);
}

.VPFooter .service-badge svg {
  width: 12px;
  height: 12px;
}

.VPFooter .status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
}

.VPFooter .status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.VPFooter .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vp-c-success);
  animation: pulse 2s infinite;
}

.VPFooter .status-indicator.online {
  background: #10b981;
}

.VPFooter .status-indicator.offline {
  background: #f87171;
}

.VPFooter .status-text {
  color: var(--vp-c-text-2);
  font-size: 14px;
  font-weight: 500;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Footer responsive design */
@media (max-width: 768px) {
  .VPFooter {
    padding: 24px 0;
  }

  .VPFooter .container {
    padding: 0 16px;
  }

  .VPFooter .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .VPFooter .footer-status {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .VPFooter .footer-status {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== 核心功能区域样式 ===== */
.VPCoreFeatures {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--vp-c-bg) 0%, var(--vp-c-bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.VPCoreFeatures::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, var(--vp-c-indigo-soft) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, var(--vp-c-purple-soft) 0%, transparent 50%);
  opacity: 0.4;
  pointer-events: none;
}

.VPCoreFeatures .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header 样式 */
.VPCoreFeatures .header {
  text-align: center;
  margin-bottom: 64px;
}

.VPCoreFeatures .feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--vp-c-brand-1), var(--vp-c-brand-2));
  color: white;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(100, 108, 255, 0.3);
}

.VPCoreFeatures .feature-badge .sparkles-icon {
  width: 16px;
  height: 16px;
}

.VPCoreFeatures .header h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--vp-c-text-1), var(--vp-c-indigo-1), var(--vp-c-purple-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 16px 0;
}

.VPCoreFeatures .header .subtitle {
  font-size: 16px;
  color: var(--vp-c-text-2);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.VPCoreFeatures .features-section,
.VPCoreFeatures .support-section {
  margin-bottom: 64px;
}

.VPCoreFeatures .features-section h3,
.VPCoreFeatures .support-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--vp-c-text-1);
  text-align: center;
  margin: 0 0 48px 0;
}

.VPCoreFeatures .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

/* Feature Card */
.VPCoreFeatures .feature-card {
  background: var(--vp-c-bg);
  border: 1px solid var(--vp-c-divider-light);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.VPCoreFeatures .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--vp-c-brand-1);
}

.VPCoreFeatures .feature-card.featured {
  background: var(--vp-c-bg);
  border: 1px solid var(--vp-c-divider-light);
  position: relative;
}

/* Feature Badge Corner */
.VPCoreFeatures .feature-badge-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--vp-c-orange-1), var(--vp-c-orange-2));
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.VPCoreFeatures .feature-badge-corner svg {
  width: 12px;
  height: 12px;
}

/* Feature Header */
.VPCoreFeatures .feature-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.VPCoreFeatures .feature-title {
  flex: 1;
}
/* Feature Icon */
.VPCoreFeatures .feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.VPCoreFeatures .feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.VPCoreFeatures .feature-icon.orange {
  background: linear-gradient(135deg, var(--vp-c-orange-1), var(--vp-c-red-1), var(--vp-c-pink-1));
}

.VPCoreFeatures .feature-icon.green {
  background: linear-gradient(135deg, var(--vp-c-green-1), var(--vp-c-teal-1), var(--vp-c-teal-2));
}

.VPCoreFeatures .feature-icon.purple {
  background: linear-gradient(135deg, var(--vp-c-purple-1), var(--vp-c-indigo-1), var(--vp-c-indigo-2));
}

.VPCoreFeatures .feature-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

/* Feature Content */
.VPCoreFeatures .feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--vp-c-text-1);
  margin: 0 0 8px 0;
  text-align: left;
}

.VPCoreFeatures .feature-subtitle {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: left;
}

.VPCoreFeatures .feature-subtitle.orange {
  background: linear-gradient(135deg, var(--vp-c-orange-1), var(--vp-c-red-1), var(--vp-c-pink-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.VPCoreFeatures .feature-subtitle.green {
  background: linear-gradient(135deg, var(--vp-c-green-1), var(--vp-c-teal-1), var(--vp-c-teal-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.VPCoreFeatures .feature-subtitle.purple {
  background: linear-gradient(135deg, var(--vp-c-purple-1), var(--vp-c-indigo-1), var(--vp-c-indigo-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.VPCoreFeatures .feature-card p {
  color: var(--vp-c-text-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

/* Feature Points */
.VPCoreFeatures .feature-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.VPCoreFeatures .point {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.VPCoreFeatures .feature-card:hover .point {
  transform: translateX(4px);
}

.VPCoreFeatures .point-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.VPCoreFeatures .point-icon.orange {
  background: linear-gradient(135deg, var(--vp-c-orange-1), var(--vp-c-red-1));
}

.VPCoreFeatures .point-icon.green {
  background: linear-gradient(135deg, var(--vp-c-green-1), var(--vp-c-teal-1));
}

.VPCoreFeatures .point-icon.purple {
  background: linear-gradient(135deg, var(--vp-c-purple-1), var(--vp-c-indigo-1));
}

.VPCoreFeatures .point-icon svg {
  width: 12px;
  height: 12px;
  color: white;
}

.VPCoreFeatures .point span {
  color: var(--vp-c-text-1);
  font-size: 14px;
  font-weight: 500;
}

/* Support Section */
.VPCoreFeatures .support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.VPCoreFeatures .support-card {
  background: var(--vp-c-bg);
  border: 1px solid var(--vp-c-divider-light);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.VPCoreFeatures .support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--vp-c-brand-1);
}

.VPCoreFeatures .support-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.VPCoreFeatures .support-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.VPCoreFeatures .support-card:hover .support-icon {
  transform: scale(1.1);
}

.VPCoreFeatures .support-icon.blue {
  background: linear-gradient(135deg, var(--vp-c-blue-1), var(--vp-c-indigo-1), var(--vp-c-purple-1));
}

.VPCoreFeatures .support-icon.gray {
  background: linear-gradient(135deg, #64748b, #475569, #334155);
}

.VPCoreFeatures .support-icon.red {
  background: linear-gradient(135deg, var(--vp-c-red-1), var(--vp-c-pink-1), var(--vp-c-red-2));
}

.VPCoreFeatures .support-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.VPCoreFeatures .support-title h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--vp-c-text-1);
  margin: 0 0 4px 0;
  text-align: left;
}

.VPCoreFeatures .support-subtitle {
  font-size: 12px;
  font-weight: 600;
}

.VPCoreFeatures .support-subtitle.blue {
  background: linear-gradient(135deg, var(--vp-c-blue-1), var(--vp-c-indigo-1), var(--vp-c-purple-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.VPCoreFeatures .support-subtitle.gray {
  background: linear-gradient(135deg, #64748b, #475569, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.VPCoreFeatures .support-subtitle.red {
  background: linear-gradient(135deg, var(--vp-c-red-1), var(--vp-c-pink-1), var(--vp-c-red-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.VPCoreFeatures .support-card p {
  color: var(--vp-c-text-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.VPCoreFeatures .support-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.VPCoreFeatures .support-point {
  display: flex;
  align-items: center;
  color: var(--vp-c-text-2);
  font-size: 14px;
  position: relative;
  padding-left: 16px;
}

.VPCoreFeatures .support-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vp-c-brand-1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .VPCoreFeatures {
    padding: 64px 0;
  }

  .VPCoreFeatures .container {
    padding: 0 20px;
  }

  .VPCoreFeatures .header h2 {
    font-size: 24px;
  }

  .VPCoreFeatures .header .subtitle {
    font-size: 14px;
  }

  .VPCoreFeatures .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .VPCoreFeatures .support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .VPCoreFeatures .feature-card,
  .VPCoreFeatures .support-card {
    padding: 24px;
  }

  .VPCoreFeatures .features-section h3,
  .VPCoreFeatures .support-section h3 {
    font-size: 24px;
  }
}

/* ===== 用户推荐区域样式 ===== */
.VPTestimonials {
  padding: 120px 0 40px 0;
  background-color: var(--vp-c-bg);
  position: relative;
  margin-top: 40px;
}

.VPTestimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.VPTestimonials h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--vp-c-text-1);
  text-align: center;
  margin: 0 0 48px 0;
}

.VPTestimonials .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Testimonial Card */
.VPTestimonials .testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--vp-c-divider-light);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.VPTestimonials .testimonial-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.VPTestimonials .testimonial-card.blue:hover {
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
}

.VPTestimonials .testimonial-card.green:hover {
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.25);
}

.VPTestimonials .testimonial-card.purple:hover {
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.25);
}

.VPTestimonials .testimonial-card.orange:hover {
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.25);
}

/* Card Background */
.VPTestimonials .card-background {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.VPTestimonials .testimonial-card.blue .card-background {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
}

.VPTestimonials .testimonial-card.green .card-background {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(5, 150, 105, 0.05));
}

.VPTestimonials .testimonial-card.purple .card-background {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), rgba(139, 92, 246, 0.05));
}

.VPTestimonials .testimonial-card.orange .card-background {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(239, 68, 68, 0.05));
}

.VPTestimonials .testimonial-card:hover .card-background {
  opacity: 1;
}

/* Verification Badge */
.VPTestimonials .verification-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.VPTestimonials .testimonial-card.blue .verification-badge {
  background: linear-gradient(135deg, var(--vp-c-blue-1), var(--vp-c-blue-2));
}

.VPTestimonials .testimonial-card.green .verification-badge {
  background: linear-gradient(135deg, var(--vp-c-green-1), var(--vp-c-green-2));
}

.VPTestimonials .testimonial-card.purple .verification-badge {
  background: linear-gradient(135deg, var(--vp-c-purple-1), var(--vp-c-purple-2));
}

.VPTestimonials .testimonial-card.orange .verification-badge {
  background: linear-gradient(135deg, var(--vp-c-orange-1), var(--vp-c-red-1));
}

.VPTestimonials .verification-badge svg {
  width: 12px;
  height: 12px;
  color: white;
}

/* Quote Icon */
.VPTestimonials .quote-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.VPTestimonials .testimonial-card:hover .quote-icon {
  opacity: 0.2;
}

.VPTestimonials .quote-icon svg {
  width: 24px;
  height: 24px;
  color: var(--vp-c-text-3);
}

/* User Profile */
.VPTestimonials .user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 16px 0;
  position: relative;
  z-index: 10;
}

.VPTestimonials .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.VPTestimonials .avatar.blue {
  background: linear-gradient(135deg, var(--vp-c-blue-1), var(--vp-c-blue-2));
}

.VPTestimonials .avatar.green {
  background: linear-gradient(135deg, var(--vp-c-green-1), var(--vp-c-green-2));
}

.VPTestimonials .avatar.purple {
  background: linear-gradient(135deg, var(--vp-c-purple-1), var(--vp-c-purple-2));
}

.VPTestimonials .avatar.orange {
  background: linear-gradient(135deg, var(--vp-c-orange-1), var(--vp-c-red-1));
}

.VPTestimonials .user-info {
  flex: 1;
  min-width: 0;
}

.VPTestimonials .name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.VPTestimonials .user-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--vp-c-text-1);
  margin: 0;
  text-align: left;
}

.VPTestimonials .sparkle {
  width: 12px;
  height: 12px;
  color: #eab308;
}

.VPTestimonials .user-info .title {
  font-size: 12px;
  color: var(--vp-c-text-2);
  font-weight: 600;
  margin: 0;
}

.VPTestimonials .user-info .company {
  font-size: 12px;
  color: var(--vp-c-text-3);
  margin: 0;
}

/* Rating Badge */
.VPTestimonials .rating-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  z-index: 10;
}

.VPTestimonials .stars {
  display: flex;
  gap: 2px;
}

.VPTestimonials .star {
  width: 16px;
  height: 16px;
  color: #eab308;
  fill: #eab308;
  transition: all 0.3s ease;
}

.VPTestimonials .tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.VPTestimonials .tag.blue {
  background: linear-gradient(135deg, var(--vp-c-blue-1), var(--vp-c-blue-2));
}

.VPTestimonials .tag.green {
  background: linear-gradient(135deg, var(--vp-c-green-1), var(--vp-c-green-2));
}

.VPTestimonials .tag.purple {
  background: linear-gradient(135deg, var(--vp-c-purple-1), var(--vp-c-purple-2));
}

.VPTestimonials .tag.orange {
  background: linear-gradient(135deg, var(--vp-c-orange-1), var(--vp-c-red-1));
}

/* Testimonial Content */
.VPTestimonials .testimonial-content {
  flex: 1;
  position: relative;
  z-index: 10;
}

.VPTestimonials .testimonial-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--vp-c-text-1);
  margin: 0;
  position: relative;
}

.VPTestimonials .testimonial-content p::before,
.VPTestimonials .testimonial-content p::after {
  font-size: 18px;
  color: var(--vp-c-text-3);
  line-height: 1;
  position: relative;
  top: 2px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .VPTestimonials {
    padding: 60px 0;
  }

  .VPTestimonials .container {
    padding: 0 20px;
  }

  .VPTestimonials h3 {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .VPTestimonials .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .VPTestimonials .testimonial-card {
    padding: 20px;
  }

  .VPTestimonials .avatar {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .VPTestimonials .user-profile {
    margin: 24px 0 12px 0;
  }

  .VPTestimonials .rating-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================
   Pricing Cards Styles
   ========================== */

/* Grid Layout */
.grid {
  display: grid;
}

.gap-8 {
  gap: 2rem;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Card Base Styles */
.rounded-lg {
  border-radius: 0.5rem;
}

.text-card-foreground {
  color: hsl(240 10% 3.9%);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.group {
  position: relative;
}

.relative {
  position: relative;
}

.border-0 {
  border-width: 0px;
}

.bg-white\/70 {
  background-color: rgb(255 255 255 / 0.7);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.hover\:bg-white\/90:hover {
  background-color: rgb(255 255 255 / 0.9);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.hover\:-translate-y-2:hover {
  transform: translateY(-0.5rem);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.shadow-blue-500\/25 {
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.25), 0 2px 4px -1px rgba(59, 130, 246, 0.1);
}

.shadow-emerald-500\/25 {
  box-shadow: 0 4px 6px -1px rgba(41, 151, 100, 0.25), 0 2px 4px -1px rgba(41, 151, 100, 0.1);
}

.shadow-purple-500\/25 {
  box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.25), 0 2px 4px -1px rgba(124, 58, 237, 0.1);
}

.shadow-orange-500\/25 {
  box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.25), 0 2px 4px -1px rgba(234, 88, 12, 0.1);
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.cursor-pointer {
  cursor: pointer;
}

/* Position and Z-Index */
.absolute {
  position: absolute;
}

.inset-0 {
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

/* Gradient Color Definitions - Using explicit colors for reliability */
.from-blue-500 {
  --tw-gradient-from: #3b82f6;
  --tw-gradient-to: rgba(59, 130, 246, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-purple-500 {
  --tw-gradient-to: rgba(168, 85, 247, 0);
  --tw-gradient-stops: var(--tw-gradient-from), #a855f7, var(--tw-gradient-to);
}

.to-pink-500 {
  --tw-gradient-to: #ec4899;
}

.from-emerald-500 {
  --tw-gradient-from: #10b981;
  --tw-gradient-to: rgba(16, 185, 129, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-green-500 {
  --tw-gradient-to: rgba(34, 197, 94, 0);
  --tw-gradient-stops: var(--tw-gradient-from), #22c55e, var(--tw-gradient-to);
}

.to-teal-500 {
  --tw-gradient-to: #14b8a6;
}

.from-purple-500 {
  --tw-gradient-from: #a855f7;
  --tw-gradient-to: rgba(168, 85, 247, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-violet-500 {
  --tw-gradient-to: rgba(139, 92, 246, 0);
  --tw-gradient-stops: var(--tw-gradient-from), #8b5cf6, var(--tw-gradient-to);
}

.to-indigo-500 {
  --tw-gradient-to: #6366f1;
}

.from-orange-500 {
  --tw-gradient-from: #f97316;
  --tw-gradient-to: rgba(249, 115, 22, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-red-500 {
  --tw-gradient-to: rgba(239, 68, 68, 0);
  --tw-gradient-stops: var(--tw-gradient-from), #ef4444, var(--tw-gradient-to);
}

.opacity-0 {
  opacity: 0;
}

.group-hover\:opacity-5:hover {
  opacity: 0.05;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.rounded-xl {
  border-radius: 0.75rem;
}

/* Badge Styles */
.-top-6 {
  top: -1.5rem;
}

.left-1\/2 {
  left: 50%;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
}

.z-50 {
  z-index: 50;
}

.z-10 {
  z-index: 10;
}

.inline-flex {
  display: inline-flex;
}

.items-center {
  align-items: center;
}

.rounded-full {
  border-radius: 9999px;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.border-transparent {
  border-color: transparent;
}

.bg-primary {
  background-color: hsl(221.2 83.2% 53.3%);
}

.hover\:bg-primary\/80:hover {
  background-color: hsl(221.2 83.2% 53.3% / 0.8);
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-amber-500 {
  --tw-gradient-from: #f59e0b;
  --tw-gradient-to: rgba(245, 158, 11, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-orange-500 {
  --tw-gradient-to: #f97316;
}

.text-white {
  color: rgb(255 255 255);
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.font-bold {
  font-weight: 700;
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.shadow-amber-500\/30 {
  box-shadow: 0 4px 6px -1px rgba(218, 139, 23, 0.3), 0 2px 4px -1px rgba(218, 139, 23, 0.15);
}

.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-white\/20 {
  --tw-ring-color: rgb(255 255 255 / 0.2);
}

/* Arrow */
.top-full {
  top: 100%;
}

.w-0 {
  width: 0px;
}

.h-0 {
  height: 0px;
}

.border-l-\[6px\] {
  border-left-width: 6px;
}

.border-r-\[6px\] {
  border-right-width: 6px;
}

.border-t-\[6px\] {
  border-top-width: 6px;
}

.border-l-transparent {
  border-left-color: transparent;
}

.border-r-transparent {
  border-right-color: transparent;
}

.border-t-orange-500 {
  border-top-color: #f97316;
}

/* Content Styles */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}

.p-6 {
  padding: 1.5rem;
}

.text-center {
  text-align: center;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-0 {
  padding-top: 0px;
}

.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.justify-center {
  justify-content: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.group-hover\:scale-110:hover {
  transform: scale(1.1);
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.drop-shadow-lg {
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-gray-900 {
  color: var(--vp-c-text-1);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-medium {
  font-weight: 500;
}

.bg-clip-text {
  background-clip: text;
  -webkit-background-clip: text;
}

.text-transparent {
  color: transparent;
}

.text-gray-600 {
  color: var(--vp-c-text-2);
}

.leading-relaxed {
  line-height: 1.625;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.font-semibold {
  font-weight: 600;
}

.w-fit {
  width: fit-content;
}

/* Pricing Styles */
.items-baseline {
  align-items: baseline;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-gray-500 {
  color: var(--vp-c-text-3);
}

.ml-2 {
  margin-left: 0.5rem;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.line-through {
  text-decoration-line: line-through;
}

.border {
  border-width: 1px;
}

.bg-green-100 {
  background-color: rgb(220 252 231);
}

.text-green-700 {
  color: rgb(21 128 61);
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* Feature List Styles */
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.text-left {
  text-align: left;
}

.items-start {
  align-items: flex-start;
}

.group-hover\:translate-x-1:hover {
  transform: translateX(0.25rem);
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.w-3 {
  width: 0.75rem;
}

.h-3 {
  height: 0.75rem;
}

.text-gray-700 {
  color: var(--vp-c-text-1);
}

/* Button Styles */
.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded-md {
  border-radius: 0.375rem;
}

.ring-offset-background {
  --tw-ring-offset-color: hsl(0 0% 100%);
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-ring:focus-visible {
  --tw-ring-color: hsl(221.2 83.2% 53.3%);
}

.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}

.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.hover\:bg-primary\/90:hover {
  background-color: hsl(221.2 83.2% 53.3% / 0.9);
}

.h-10 {
  height: 2.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.w-full {
  width: 100%;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
}

.bg-background {
  background-color: hsl(0 0% 100%);
}

.hover\:bg-accent:hover {
  background-color: hsl(210 40% 96%);
}

.border-2 {
  border-width: 2px;
}

.border-gray-200 {
  border-color: rgb(229 231 235);
}

.hover\:border-transparent:hover {
  border-color: transparent;
}

.hover\:bg-gradient-to-r:hover {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.hover\:from-emerald-500:hover {
  --tw-gradient-from: #10b981;
  --tw-gradient-to: rgba(16, 185, 129, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:from-purple-500:hover {
  --tw-gradient-from: #a855f7;
  --tw-gradient-to: rgba(168, 85, 247, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:via-violet-500:hover {
  --tw-gradient-to: rgba(139, 92, 246, 0);
  --tw-gradient-stops: var(--tw-gradient-from), #8b5cf6, var(--tw-gradient-to);
}

.hover\:to-indigo-500:hover {
  --tw-gradient-to: #6366f1;
}

.hover\:from-orange-500:hover {
  --tw-gradient-from: #f97316;
  --tw-gradient-to: rgba(249, 115, 22, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:from-emerald-500:hover {
  --tw-gradient-from: #10b981;
  --tw-gradient-to: rgba(16, 185, 129, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:via-green-500:hover {
  --tw-gradient-to: rgba(34, 197, 94, 0);
  --tw-gradient-stops: var(--tw-gradient-from), #22c55e, var(--tw-gradient-to);
}

.hover\:to-teal-500:hover {
  --tw-gradient-to: #14b8a6;
}

.hover\:text-white:hover {
  color: rgb(255 255 255);
}

@media (min-width: 1024px) {
  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

/* Purchase Modal Styles - Clean and Simple */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  position: relative;
  background: var(--vp-c-bg);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 420px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

/* Dark mode support */
.dark .modal-content {
  background: var(--vp-c-bg);
  border: 1px solid var(--vp-c-divider);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

/* Close Button */
.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--vp-c-bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #10b981;
  transform: scale(1.1);
}

.modal-close-btn svg {
  color: var(--vp-c-text-2);
  width: 16px;
  height: 16px;
}

.modal-close-btn:hover svg {
  color: white;
}

/* Modal header SVG icon */
.modal-header h2 svg {
  color: var(--vp-c-brand-1) !important;
  width: 16px !important;
  height: 16px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* Header */
.modal-header {
  text-align: center;
  padding: 24px 24px 16px;
  background: transparent;
}


.modal-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--vp-c-text-2);
  margin: 0;
  line-height: 1.5;
}

/* Body */
.modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(80vh - 160px);
}

/* Hide scrollbar in webkit browsers */
.modal-body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: transparent;
}

/* For Firefox */
.modal-body {
  scrollbar-width: none;
}

.contact-info {
  text-align: center;
  margin-bottom: 32px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e8f5e8, #f0f9f0);
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin: 0 0 6px;
}

.contact-info p {
  font-size: 12px;
  color: var(--vp-c-text-2);
  margin: 0;
}

/* QR Code */
.qr-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding: 12px;
  background: var(--vp-c-bg-soft);
  border-radius: 8px;
  border: 1px solid var(--vp-c-divider-light);
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

.qr-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 6px;
}

/* Guarantees */
.guarantees {
  text-align: center;
  space-y: 8px;
}

.guarantee-item {
  font-size: 10px;
  color: var(--vp-c-text-3);
  margin: 3px 0;
  opacity: 0.8;
}

/* Footer */
.modal-footer {
  padding: 16px 20px 20px;
  text-align: center;
}

.close-button {
  background: var(--vp-c-bg-soft);
  border: 1px solid var(--vp-c-divider);
  color: var(--vp-c-text-1);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.close-button:hover {
  background: #10b981;
  border-color: #10b981;
  color: white;
  transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .modal-container {
    padding: 16px;
  }

  .modal-content {
    max-width: 100%;
    border-radius: 12px;
  }

  .modal-header {
    padding: 24px 24px 20px;
  }

  .modal-body {
    padding: 24px;
  }

  .modal-footer {
    padding: 20px 24px 24px;
  }

  .qr-image {
    width: 180px;
    height: 180px;
  }

  .modal-header h2 {
    font-size: 20px;
  }
}

/* ================================
   移动端汉堡菜单样式
   ================================ */

/* 汉堡菜单按钮 */
.VPNavBarHamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 12px;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--vp-c-text-1);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* 汉堡菜单激活状态动画 */
.VPNavBarHamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.VPNavBarHamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.VPNavBarHamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端菜单覆盖层 */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--vp-c-bg);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding-top: 80px; /* 为导航栏留出空间 */
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  padding: 20px 0;
}

.mobile-menu-item {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: none;
  border: none;
  color: var(--vp-c-text-1);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-menu-item:hover {
  background: var(--vp-c-bg-soft);
  color: var(--vp-c-brand-1);
}

.mobile-menu-item.active {
  color: var(--vp-c-brand-1);
  background: var(--vp-c-brand-soft);
  border-left-color: var(--vp-c-brand-1);
}

/* 移动端显示汉堡菜单，隐藏桌面导航 */
@media (max-width: 768px) {
  .VPNavBarHamburger {
    display: flex;
  }

  .VPNavBarMenu {
    display: none !important;
  }
}

/* 暗色模式适配 */
.dark .mobile-menu {
  background: var(--vp-c-bg);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

.dark .hamburger-line {
  background-color: var(--vp-c-text-1);
}

.dark .mobile-menu-overlay {
  background: rgba(0, 0, 0, 0.7);
}

/* ===== 悬浮按钮样式 ===== */

/* 左侧边栏悬浮按钮 */
.floating-sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 16px;
  width: 48px;
  height: 48px;
  background: var(--vp-c-brand-1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  z-index: 1100;
  box-shadow: 0 4px 12px rgba(189, 52, 254, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-sidebar-toggle:hover {
  background: var(--vp-c-brand-2);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(189, 52, 254, 0.4);
}

.floating-sidebar-toggle:active {
  transform: scale(0.95);
}

/* 右侧目录悬浮按钮 */
.floating-toc-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: var(--vp-c-brand-1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(189, 52, 254, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-toc-toggle:hover {
  background: var(--vp-c-brand-2);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(189, 52, 254, 0.4);
}

.floating-toc-toggle:active {
  transform: scale(0.95);
}

/* 悬浮目录面板 */
.floating-toc-panel {
  position: fixed;
  top: 80px;
  right: -260px;
  width: 240px;
  max-height: calc(100vh - 120px);
  background: var(--vp-c-bg);
  border: 1px solid var(--vp-c-divider);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1001;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.floating-toc-panel.active {
  right: 16px;
}

.floating-toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--vp-c-divider);
  background: var(--vp-c-bg-soft);
}

.floating-toc-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--vp-c-text-1);
}

.floating-toc-close {
  background: none;
  border: none;
  color: var(--vp-c-text-2);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.floating-toc-close:hover {
  color: var(--vp-c-text-1);
  background: var(--vp-c-bg-alt);
}

.floating-toc-nav {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding: 16px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

/* 浮动TOC内的样式优化 */
.floating-toc-nav .toc-nav {
  padding-left: 36px;
  padding-right: 20px;
}

.floating-toc-nav .toc-line {
  left: 36px;
  top: 16px;
  bottom: 16px;
}

.floating-toc-nav .toc-item {
  padding: 3px 0;
  font-size: 12px;
  line-height: 1.3;
}

.floating-toc-nav .toc-item.active::before {
  left: -1px;
  width: 3px;
  height: 12px;
}

.floating-toc-nav::-webkit-scrollbar {
  width: 4px;
}

.floating-toc-nav::-webkit-scrollbar-track {
  background: transparent;
}

.floating-toc-nav::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

/* 左侧边栏遮罩 */
.floating-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 悬浮目录遮罩 */
.floating-toc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating-toc-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 响应式显示控制 */

/* 在小于768px时显示左侧边栏悬浮按钮 */
@media (max-width: 768px) {
  .floating-sidebar-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .community-sidebar {
    position: fixed;
    left: -280px;
    top: 64px;
    width: 280px;
    height: calc(100vh - 64px);
    z-index: 1000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--vp-c-bg);
    border-right: 1px solid var(--vp-c-divider);
    overflow-y: auto;
    /* 确保滚动条样式 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 确保内容可见 */
    color: var(--vp-c-text-1);
  }

  .community-sidebar::-webkit-scrollbar {
    display: none;
  }

  .community-sidebar.mobile-open {
    left: 0 !important;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
    z-index: 1050 !important;
    display: block !important;
  }

  .community-main {
    width: 100%;
    padding: 0;
  }

  .community-layout {
    display: block;
  }
}

/* 在小于1024px时显示右侧目录悬浮按钮 */
@media (max-width: 1024px) {
  .floating-toc-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* 全屏模式时的调整（保留用于可能的未来功能） */
.fullscreen-mode .community-sidebar {
  display: none;
}

.fullscreen-mode .floating-sidebar-toggle {
  display: none;
}

.fullscreen-mode .article-layout {
  max-width: none;
  margin: 0;
  padding: 0 24px;
}

.fullscreen-mode .article-container {
  padding: 24px 0;
}

/* 暗色模式适配 */
.dark .floating-toc-panel {
  background: var(--vp-c-bg);
  border-color: var(--vp-c-divider);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.dark .floating-toc-header {
  background: var(--vp-c-bg-soft);
  border-color: var(--vp-c-divider);
}

.dark .floating-toc-nav::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
}

.dark .floating-sidebar-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.dark .floating-toc-overlay {
  background: rgba(0, 0, 0, 0.5);
}

/* 折叠板块样式 */
.section-toggle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 32px 0;
  min-height: 60px;
}

.section-toggle-btn {
  background: none;
  border: none;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: var(--vp-c-text-2);
  background: var(--vp-c-bg-soft);
  border: 1px solid var(--vp-c-divider);
}

.section-toggle-btn:hover {
  color: var(--vp-c-text-1);
  background: var(--vp-c-bg-alt);
  border-color: var(--vp-c-brand-1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toggle-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.section-toggle-btn[aria-expanded="true"] .toggle-arrow {
  transform: rotate(180deg);
}

.section-collapsible-content {
  width: 100%;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  visibility: visible;
  max-height: none;
}

.section-collapsible-content.collapsed {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* 暗色模式适配 */
.dark .section-toggle-btn {
  background: var(--vp-c-bg-soft);
  border-color: var(--vp-c-divider);
  color: var(--vp-c-text-2);
}

.dark .section-toggle-btn:hover {
  background: var(--vp-c-bg-alt);
  border-color: var(--vp-c-brand-1);
  color: var(--vp-c-text-1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}




