.ant-layout {
  min-height: 100vh;
}

.site-header {
  background: #fff;
  padding: 0 50px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.site-header-left {
  display: flex;
  align-items: center;
}

.site-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  height: 32px;
  margin-right: 12px;
}

.menu-items {
  margin-left: 48px;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  padding: 120px 50px;
  text-align: center;
  color: white;
}

.features-section {
  padding: 100px 50px;
  background: #fff;
}

.version-section {
  padding: 100px 50px;
  background: #f8f9fa;
}

.cta-section {
  padding: 80px 50px;
  background: #6366f1;
  color: white;
  text-align: center;
}

.site-footer {
  background: #1f2937;
  padding: 60px 50px;
  color: #9ca3af;
}

.download-button {
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
}

/* WeChatPayQRCode highlight styles */
.qr-highlight-app {
  color: #ef4444;
  margin: 0 4px;
}
.qr-highlight-seconds {
  color: #ef4444;
}

/* Top Notice styles */
.top-notice {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  position: relative;
}

.top-notice-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1;
}

.top-notice-text {
  font-size: 14px;
  font-weight: 500;
}

.top-notice-link {
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0 8px;
  height: auto;
}

.top-notice-link:hover {
  color: #fff !important;
}

.top-notice-btn {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  font-size: 13px;
  height: 28px;
  padding: 0 12px;
}

.top-notice-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.top-notice-close {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: color 0.2s;
}

.top-notice-close:hover {
  color: #fff;
}

/* === 账户设置页面 / 移动端适配 === */

/* 移动端顶部横向可滚动导航条 */
.account-mobile-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}

.account-mobile-nav::-webkit-scrollbar {
  display: none;
}

.account-mobile-nav {
  scrollbar-width: none;
}

.account-mobile-nav-item {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  background: #f5f5f5;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.account-mobile-nav-item.active {
  background: #e6f4ff;
  color: #1677ff;
  border-color: #1677ff;
  font-weight: 600;
}

/* 移动端授权账户卡片列表 */
.account-mobile-card {
  margin-bottom: 12px;
}

.account-mobile-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.account-mobile-card-meta {
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  margin-top: 6px;
  word-break: break-all;
}

.account-mobile-card-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

/* 窄屏微调:账户页容器内边距、卡片内边距 */
@media (max-width: 767px) {
  .account-page-wrap {
    padding: 12px !important;
  }

  .account-content-wrap {
    padding: 16px !important;
    margin-left: 0 !important;
  }

  .account-section-actions {
    width: 100% !important;
  }

  .account-section-actions .ant-btn {
    flex: 1 1 auto;
  }
}

/* ============================================
   米开写作 - 创意设计系统
   美观大方、有创意、有辨识度的视觉风格
   ============================================ */

/* === 全局样式 === */

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5a67d8 0%, #6b46c1 100%);
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 选中文本样式 */
::selection {
  background: rgba(102, 126, 234, 0.3);
  color: #1a1a2e;
}

/* === Hero Section - 首屏英雄区 === */

.hero-creative {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* 动态渐变背景 */
.hero-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 60%, rgba(236, 72, 153, 0.2) 0%, transparent 40%);
  animation: gradientPulse 8s ease-in-out infinite alternate;
}

@keyframes gradientPulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* 浮动装饰元素 */
.hero-creative .floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-creative .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.hero-creative .shape:nth-child(1) {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.hero-creative .shape:nth-child(2) {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(167, 139, 250, 0.3));
  top: 50%;
  right: -50px;
  animation-delay: -5s;
}

.hero-creative .shape:nth-child(3) {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(56, 189, 248, 0.3));
  bottom: 100px;
  left: 10%;
  animation-delay: -10s;
}

.hero-creative .shape:nth-child(4) {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.3), rgba(251, 191, 36, 0.3));
  top: 30%;
  left: 20%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(10px) rotate(-5deg);
  }
  75% {
    transform: translateY(-15px) rotate(3deg);
  }
}

/* Hero 内容区 */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

/* 标签样式 */
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease-out;
}

.hero-tagline::before {
  content: '';
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

/* 主标题 */
.hero-title {
  /* Fallback for browsers without clamp() support */
  font-size: 3rem !important;
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 24px !important;
  line-height: 1.1 !important;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 副标题 */
.hero-subtitle {
  /* Fallback for browsers without clamp() support */
  font-size: 1.25rem !important;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 400 !important;
  margin-bottom: 20px !important;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* 描述文字 */
.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* 按钮组 */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* 主按钮 - 渐变发光效果 */
.btn-primary-creative {
  height: 56px !important;
  padding: 0 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 28px !important;
  border: none !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  box-shadow:
    0 4px 15px rgba(102, 126, 234, 0.4),
    0 0 40px rgba(102, 126, 234, 0.2) !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.btn-primary-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary-creative:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(102, 126, 234, 0.5),
    0 0 60px rgba(102, 126, 234, 0.3) !important;
}

.btn-primary-creative:hover::before {
  left: 100%;
}

/* 次要按钮 - 玻璃态 */
.btn-ghost-creative {
  height: 56px !important;
  padding: 0 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
}

.btn-ghost-creative:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
  color: #fff !important;
}

/* 动画关键帧 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* === Features Section - 特性区 === */

.features-creative {
  position: relative;
  padding: 120px 50px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

/* 背景装饰 */
.features-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
}

.features-creative::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Section 标题 */
.section-title-creative {
  text-align: center;
  margin-bottom: 80px;
}

.section-title-creative h2 {
  /* Fallback for browsers without clamp() support */
  font-size: 2.5rem !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  margin-bottom: 16px !important;
  position: relative;
  display: inline-block;
}

.section-title-creative h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.section-title-creative p {
  font-size: 1.15rem;
  color: #64748b;
  max-width: 600px;
  margin: 24px auto 0;
  line-height: 1.7;
}

/* 特性卡片 */
.feature-card-creative {
  height: 100%;
  border-radius: 20px !important;
  border: none !important;
  background: #fff !important;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 20px -5px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden;
  position: relative;
}

.feature-card-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent, #667eea), var(--card-accent-end, #764ba2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card-creative:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px -10px rgba(102, 126, 234, 0.2),
    0 10px 20px -5px rgba(0, 0, 0, 0.1) !important;
}

.feature-card-creative:hover::before {
  opacity: 1;
}

/* 图标容器 */
.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  position: relative;
  transition: all 0.3s ease;
}

/* 不同特性的渐变色 */
.feature-icon-wrapper.ai-writing {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: #667eea;
}

.feature-icon-wrapper.preview {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(56, 189, 248, 0.1) 100%);
  color: #22d3ee;
}

.feature-icon-wrapper.themes {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
  color: #ec4899;
}

.feature-icon-wrapper.publishing {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
  color: #10b981;
}

.feature-icon-wrapper.multilang {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
  color: #f59e0b;
}

.feature-icon-wrapper.export {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
  color: #8b5cf6;
}

.feature-card-creative:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

/* 卡片标题和描述 */
.feature-card-creative h4 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin-bottom: 12px !important;
}

.feature-card-creative p {
  color: #64748b !important;
  line-height: 1.7 !important;
}

/* === Pricing Section - 定价区 === */

.pricing-creative {
  position: relative;
  padding: 120px 50px;
  /* Fallback for older browsers */
  background: #1a1a2e;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}

/* 动态背景 */
.pricing-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* 定价标题 */
.pricing-creative .section-title,
.pricing-creative .section-title-creative {
  position: relative;
  z-index: 10;
}

.pricing-creative .section-title h2,
.pricing-creative .section-title-creative h2 {
  color: #fff !important;
}

.pricing-creative .section-title p,
.pricing-creative .section-title-creative p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 定价卡片 */
.pricing-card-creative {
  position: relative;
  z-index: 10;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  /* Fallback background for browsers without backdrop-filter support */
  background: rgba(26, 26, 46, 0.9) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .pricing-card-creative {
    background: rgba(26, 26, 46, 0.95) !important;
  }
}

.pricing-card-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.pricing-card-creative:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3) !important;
}

/* 推荐标签 */
.pricing-card-creative.featured {
  border-color: rgba(102, 126, 234, 0.5) !important;
  background: rgba(102, 126, 234, 0.1) !important;
}

.pricing-card-creative.featured::after {
  content: '推荐';
  position: absolute;
  top: 20px;
  right: -30px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 6px 40px;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(45deg);
}

/* 价格显示 */
.pricing-card-creative .price-display {
  text-align: center;
  padding: 30px 0;
}

.pricing-card-creative .price-currency {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  vertical-align: top;
}

.pricing-card-creative .price-amount {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.pricing-card-creative .price-period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 8px;
}

/* 定价卡片描述文字 */
.pricing-card-creative .ant-card-meta-description {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 订阅按钮 */
.pricing-card-creative .subscribe-btn {
  width: 100%;
  height: 52px !important;
  border-radius: 26px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.pricing-card-creative .subscribe-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4) !important;
}

/* === CTA Section - 行动召唤区 === */

.cta-creative {
  position: relative;
  padding: 120px 50px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
  text-align: center;
}

.cta-creative::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-creative .cta-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
}

.cta-creative h2 {
  /* Fallback for browsers without clamp() support */
  font-size: 2.5rem !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  margin-bottom: 20px !important;
}

.cta-creative p {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-creative .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-creative .btn-download {
  height: 56px !important;
  padding: 0 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 28px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4) !important;
  transition: all 0.3s ease !important;
}

.cta-creative .btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5) !important;
}

.cta-creative .btn-docs {
  height: 56px !important;
  padding: 0 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 28px !important;
  background: #fff !important;
  border: 2px solid #e2e8f0 !important;
  color: #1a1a2e !important;
  transition: all 0.3s ease !important;
}

.cta-creative .btn-docs:hover {
  border-color: #667eea !important;
  color: #667eea !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

/* === Header - 导航栏 === */

.header-creative {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-creative .logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-creative .logo-section img {
  transition: transform 0.3s ease;
}

.header-creative .logo-section:hover img {
  transform: rotate(-10deg) scale(1.1);
}

.header-creative .nav-menu {
  border: none !important;
  background: transparent !important;
}

.header-creative .nav-menu .ant-menu-item {
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Hide the underline on all menu items by default. */
.header-creative .nav-menu .ant-menu-item::after {
  border-bottom: none !important;
  transform: none !important;
  opacity: 0 !important;
}

/* Only the selected (active) menu item shows the blue underline. */
.header-creative .nav-menu .ant-menu-item-selected::after {
  border-bottom: 3px solid #667eea !important;
  opacity: 1 !important;
}

.header-creative .download-btn {
  height: 42px !important;
  padding: 0 24px !important;
  border-radius: 21px !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3) !important;
  transition: all 0.3s ease !important;
}

.header-creative .download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
}

/* === Footer - 页脚 === */

.footer-creative {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%) !important;
  position: relative;
  overflow: hidden;
}

.footer-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
}

.footer-creative .footer-title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #667eea 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-creative .footer-section-title {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  margin-bottom: 20px !important;
}

.footer-creative .footer-link {
  color: rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-creative .footer-link:hover {
  color: #a78bfa !important;
  transform: translateX(4px);
}

.footer-creative .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-creative .social-icon:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: translateY(-3px);
}

.footer-creative .social-icon .anticon {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-creative .social-icon:hover .anticon {
  color: #fff;
}

/* === 响应式设计 === */

@media (max-width: 768px) {
  .hero-creative {
    min-height: auto;
    padding: 120px 24px 80px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .features-creative,
  .pricing-creative,
  .cta-creative {
    padding: 80px 24px;
  }

  .section-title-creative {
    margin-bottom: 50px;
  }

  .feature-card-creative {
    margin-bottom: 24px;
  }

  .pricing-card-creative {
    margin-bottom: 24px;
  }
}

/* === 特殊效果 === */

/* 功能对比表格样式 */
.pricing-creative .ant-table {
  background: transparent !important;
}

.pricing-creative .ant-table-thead > tr > th {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-weight: 600 !important;
}

.pricing-creative .ant-table-tbody > tr > td {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.pricing-creative .ant-table-tbody > tr:hover > td {
  background: rgba(255, 255, 255, 0.05) !important;
}

.pricing-creative .ant-table-cell {
  padding: 16px 24px !important;
  text-align: center;
}

.pricing-creative .ant-table-cell:first-child {
  text-align: left;
}

/* 鼠标跟随光效 - 需要JS配合 */
.glow-effect {
  position: relative;
}

.glow-effect::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-effect:hover::after {
  opacity: 1;
}

/* 加载动画 */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* 打字机效果 */
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 玻璃态卡片 */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}

/* 霓虹光效按钮 */
.neon-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.neon-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.neon-btn:hover::before {
  left: 100%;
}

/* 浮动动画 */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float-slow 4s ease-in-out infinite;
}

/* 淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* 缩放动画 */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scale-in {
  animation: scaleIn 0.5s ease-out;
}

/* 滑入动画 */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}
/* 文档导航菜单样式 - menu.css */
/* 现代科技文档风格 - 简洁清爽，参考 Trae 设计 */

/* ============================================
   CSS 变量定义
   ============================================ */
:root {
  --doc-primary: #6366f1;
  --doc-primary-hover: #4f46e5;
  --doc-primary-light: rgba(99, 102, 241, 0.08);
  --doc-bg: #fafbfc;
  --doc-sidebar-bg: rgba(255, 255, 255, 0.92);
  --doc-card-bg: #ffffff;
  --doc-border: rgba(0, 0, 0, 0.06);
  --doc-border-strong: rgba(0, 0, 0, 0.08);
  --doc-text-primary: #1a1a1a;
  --doc-text-secondary: #5f5f5f;
  --doc-text-muted: #8f8f8f;
  --doc-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
  --doc-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --doc-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --doc-radius: 8px;
  --doc-radius-sm: 6px;
  --doc-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Sidebar 主容器
   ============================================ */
.doc-sidebar {
  width: 280px;
  background: var(--doc-sidebar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-right: 1px solid var(--doc-border);
  position: sticky;
  top: 64px;
  left: 0;
  height: calc(100vh - 64px);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  flex-shrink: 0;
  align-self: flex-start;
  transition: width var(--doc-transition);
}

/* 折叠状态 */
.doc-sidebar.collapsed {
  width: 56px;
  overflow: hidden;
  background: var(--doc-card-bg);
}

/* 自定义滚动条 */
.doc-sidebar::-webkit-scrollbar {
  width: 4px;
}

.doc-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.doc-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.doc-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* ============================================
   展开/隐藏切换按钮
   ============================================ */
.doc-sidebar-toggle {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 52px;
  background: var(--doc-card-bg);
  border: 1px solid var(--doc-border);
  border-radius: var(--doc-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  box-shadow: var(--doc-shadow-md);
  transition: all var(--doc-transition);
}

.doc-sidebar-toggle:hover {
  background: var(--doc-primary-light);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--doc-shadow-lg);
}

.doc-sidebar-toggle svg {
  color: var(--doc-text-muted);
  transition: color var(--doc-transition);
}

.doc-sidebar-toggle:hover svg {
  color: var(--doc-primary);
}

/* 折叠状态下切换按钮 */
.doc-sidebar.collapsed .doc-sidebar-toggle {
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  top: 20px;
  transform: none;
}

/* ============================================
   Sidebar Header
   ============================================ */
.doc-sidebar-header {
  padding: 20px 16px 16px 16px;
  border-bottom: 1px solid var(--doc-border);
}

.doc-sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--doc-text-primary);
  margin: 0;
  letter-spacing: 0.3px;
}

/* ============================================
   导航容器
   ============================================ */
.doc-nav {
  padding: 8px 0;
}

/* ============================================
   隐藏所有图标
   ============================================ */
.doc-nav-icon {
  display: none !important;
}

/* ============================================
   导航项基础样式 - 无图标简洁风格
   ============================================ */
.doc-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 12px);
  margin: 1px 6px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  color: var(--doc-text-secondary);
  transition: all var(--doc-transition);
  border-radius: var(--doc-radius-sm);
  position: relative;
}

/* 左侧选中指示条 */
.doc-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 20px;
  background: var(--doc-primary);
  border-radius: 2px;
  transition: transform var(--doc-transition);
}

.doc-nav-item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--doc-text-primary);
}

.doc-nav-item:hover::before {
  transform: translateY(-50%) scaleY(0.6);
  background: rgba(99, 102, 241, 0.3);
}

.doc-nav-item.active {
  background: var(--doc-primary-light);
  color: var(--doc-primary);
  font-weight: 500;
}

.doc-nav-item.active::before {
  transform: translateY(-50%) scaleY(1);
  background: var(--doc-primary);
}

/* ============================================
   目录项样式 - 参考 Trae arco-menu-inline-header
   ============================================ */
.doc-nav-item.directory {
  font-weight: 600;
  font-size: 16px;
  color: var(--doc-text-primary);
  padding: 10px 12px;
  margin: 2px 6px;
}

/* 目录项右侧箭头 - 使用 CSS 实现 */
.doc-nav-item.directory::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--doc-text-muted);
  border-bottom: 2px solid var(--doc-text-muted);
  transform: rotate(-45deg);
  transition: transform var(--doc-transition), border-color var(--doc-transition);
  flex-shrink: 0;
}

/* 展开状态箭头旋转 */
.doc-nav-item.directory.expanded::after {
  transform: rotate(45deg);
  border-color: var(--doc-primary);
}

.doc-nav-item.directory:hover {
  background: rgba(0, 0, 0, 0.04);
}

.doc-nav-item.directory:hover::after {
  border-color: var(--doc-text-secondary);
}

.doc-nav-item.directory.expanded {
  background: transparent;
  color: var(--doc-primary);
}

/* 目录项选中指示条隐藏 */
.doc-nav-item.directory::before {
  display: none;
}

/* ============================================
   子导航项缩进
   ============================================ */
.doc-nav-children {
  padding-left: 12px;
}

.doc-nav-item.level-1 {
  padding-left: 24px;
  font-size: 16px;
}

.doc-nav-item.level-2 {
  padding-left: 36px;
  font-size: 16px;
}

.doc-nav-item.level-3 {
  padding-left: 48px;
  font-size: 15px;
  color: var(--doc-text-muted);
}

/* ============================================
   右侧 TOC
   ============================================ */
.doc-toc {
  position: sticky;
  top: 64px;
  right: 0;
  width: 220px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 24px 16px;
  background: var(--doc-sidebar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 1px solid var(--doc-border);
  flex-shrink: 0;
  align-self: flex-start;
}

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

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

.doc-toc::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.doc-toc-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--doc-text-muted);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--doc-border);
  letter-spacing: 0.3px;
}

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

.doc-toc-item {
  margin: 0;
  padding: 0;
  position: relative;
}

/* TOC 连接线 */
.doc-toc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--doc-border);
}

.doc-toc-link {
  display: block;
  padding: 6px 0 6px 12px;
  color: var(--doc-text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: all var(--doc-transition);
  cursor: pointer;
  position: relative;
  border-left: 2px solid transparent;
  margin-left: -1px;
}

.doc-toc-link:hover {
  color: var(--doc-primary);
  border-left-color: rgba(99, 102, 241, 0.3);
}

.doc-toc-link.active {
  color: var(--doc-primary);
  font-weight: 500;
  border-left-color: var(--doc-primary);
  background: var(--doc-primary-light);
}

.doc-toc-link.level-2 {
  padding-left: 8px;
}

.doc-toc-link.level-3 {
  padding-left: 20px;
  font-size: 12px;
}

.doc-toc-link.level-4 {
  padding-left: 32px;
  font-size: 11px;
  color: var(--doc-text-muted);
}

/* ============================================
   响应式样式
   ============================================ */
@media (max-width: 1200px) {
  .doc-toc {
    display: none;
  }

  .doc-sidebar {
    width: 260px;
  }
}

@media (max-width: 768px) {
  .doc-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    height: auto;
    max-height: 300px;
    border-right: none;
    border-bottom: 1px solid var(--doc-border);
    backdrop-filter: none;
    background: var(--doc-card-bg);
  }

  .doc-sidebar.collapsed {
    width: 100%;
    height: auto;
    min-height: 56px;
    max-height: 56px;
  }

  .doc-sidebar-toggle {
    right: 20px;
    top: 14px;
    transform: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  .doc-nav {
    padding: 6px 0;
  }

  .doc-nav-item {
    padding: 8px 10px;
    font-size: 14px;
  }

  .doc-nav-children {
    padding-left: 8px;
  }
}
/* 文档内容样式 - article.css */
/* 现代科技文档风格 - 精致的排版与视觉层次 */

/* ============================================
   文章容器 - 优雅卡片设计
   ============================================ */
.doc-article {
  background: var(--doc-card-bg, #ffffff);
  border-radius: var(--doc-radius, 12px);
  padding: 48px 56px;
  box-shadow: var(--doc-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.04)),
              var(--doc-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
  width: 100%;
  max-width: 1200px;
  min-height: calc(100vh - 200px);
  position: relative;
  overflow: hidden;
}

/* 微妙的顶部渐变装饰 */
.doc-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--doc-primary, #6366f1),
    var(--doc-primary-hover, #4f46e5),
    rgba(99, 102, 241, 0.5));
  opacity: 0.6;
}

/* ============================================
   文章主体 - 精致排版
   ============================================ */
.doc-article-body {
  line-height: 1.75;
  color: var(--doc-text-primary, #0f172a);
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

/* ============================================
   标题样式 - 层级分明
   ============================================ */
.doc-article-body h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--doc-text-primary, #0f172a);
  margin: 0 0 32px 0;
  padding-bottom: 20px;
  border-bottom: 2px solid transparent;
  background: linear-gradient(90deg, var(--doc-border, rgba(0, 0, 0, 0.06)), transparent) bottom / 100% 2px no-repeat;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.doc-article-body h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--doc-text-primary, #0f172a);
  margin: 40px 0 20px 0;
  padding-bottom: 12px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  position: relative;
}

/* H2 装饰线条 */
.doc-article-body h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--doc-primary, #6366f1);
  border-radius: 2px;
}

.doc-article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--doc-text-primary, #0f172a);
  margin: 32px 0 16px 0;
  line-height: 1.5;
}

.doc-article-body h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--doc-text-secondary, #64748b);
  margin: 24px 0 12px 0;
  line-height: 1.5;
}

/* ============================================
   段落和文本 - 舒适阅读
   ============================================ */
.doc-article-body p {
  margin: 0 0 20px 0;
}

/* 首段增强 */
.doc-article-body p:first-of-type {
  font-size: 16px;
  color: var(--doc-text-secondary, #64748b);
  line-height: 1.85;
}

/* ============================================
   列表样式 - 精致标记
   ============================================ */
.doc-article-body ul,
.doc-article-body ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.doc-article-body li {
  margin: 6px 0;
  line-height: 1.7;
  position: relative;
}

.doc-article-body ul li::marker {
  color: var(--doc-primary, #6366f1);
  font-size: 1.1em;
}

.doc-article-body ol li::marker {
  color: var(--doc-primary, #6366f1);
  font-weight: 600;
  font-size: 1em;
}

/* 列表项hover效果 */
.doc-article-body li:hover {
  background: var(--doc-primary-light, rgba(99, 102, 241, 0.05));
  border-radius: var(--doc-radius-sm, 8px);
  margin-left: -8px;
  padding-left: 8px;
  padding-right: 8px;
}

/* ============================================
   链接样式 - 优雅交互
   ============================================ */
.doc-article-body a {
  color: var(--doc-primary, #6366f1);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

/* 链接底部动画线 */
.doc-article-body a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--doc-primary, #6366f1);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.doc-article-body a:hover {
  color: var(--doc-primary-hover, #4f46e5);
}

.doc-article-body a:hover::after {
  width: 100%;
}

/* ============================================
   代码样式 - 精致代码块
   ============================================ */
.doc-article-body code {
  background: rgba(99, 102, 241, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'SF Mono', 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.85em;
  color: #c7254e;
  font-weight: 500;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.doc-article-body pre {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 20px 24px;
  border-radius: var(--doc-radius-sm, 8px);
  overflow-x: auto;
  margin: 24px 0;
  position: relative;
  box-shadow: var(--doc-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.15));
}

/* 代码块语言标签装饰 */
.doc-article-body pre::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--doc-primary, #6366f1);
  opacity: 0.5;
}

.doc-article-body pre code {
  background: transparent;
  color: #e2e8f0;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
  border: none;
  font-weight: 400;
}

/* ============================================
   引用样式 - 优雅边框
   ============================================ */
.doc-article-body blockquote {
  border-left: 4px solid var(--doc-primary, #6366f1);
  padding: 16px 20px;
  margin: 24px 0;
  background: linear-gradient(90deg, var(--doc-primary-light, rgba(99, 102, 241, 0.08)), transparent);
  color: var(--doc-text-secondary, #64748b);
  border-radius: 0 var(--doc-radius-sm, 8px) var(--doc-radius-sm, 8px) 0;
  position: relative;
}

/* 引用装饰 */
.doc-article-body blockquote::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 32px;
  color: var(--doc-primary, #6366f1);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.doc-article-body blockquote p {
  margin: 0;
  font-style: italic;
}

/* ============================================
   表格样式 - 现代设计
   ============================================ */
.doc-article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 14px;
  border-radius: var(--doc-radius-sm, 8px);
  overflow: hidden;
  box-shadow: var(--doc-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.04));
}

.doc-article-body th {
  padding: 14px 20px;
  text-align: left;
  background: linear-gradient(135deg, var(--doc-primary-light, rgba(99, 102, 241, 0.1)), rgba(99, 102, 241, 0.05));
  font-weight: 600;
  color: var(--doc-text-primary, #0f172a);
  border-bottom: 2px solid var(--doc-primary, #6366f1);
}

.doc-article-body td {
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid var(--doc-border, rgba(0, 0, 0, 0.06));
  transition: background 0.2s ease;
}

.doc-article-body tr:hover td {
  background: var(--doc-primary-light, rgba(99, 102, 241, 0.05));
}

.doc-article-body tr:last-child td {
  border-bottom: none;
}

/* ============================================
   图片样式 - 精致框架
   ============================================ */
.doc-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--doc-radius, 12px);
  margin: 24px 0;
  box-shadow: var(--doc-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doc-article-body img:hover {
  transform: scale(1.02);
  box-shadow: var(--doc-shadow-lg, 0 8px 24px rgba(0, 0, 0, 0.15));
}

/* ============================================
   分隔线 - 优雅渐变
   ============================================ */
.doc-article-body hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--doc-border, rgba(0, 0, 0, 0.12)), transparent);
  margin: 32px 0;
}

/* ============================================
   文档底部导航 - 精致卡片
   ============================================ */
.doc-nav-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 32px;
  position: relative;
}

/* 分隔装饰线 */
.doc-nav-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--doc-border, rgba(0, 0, 0, 0.12)), transparent);
}

.doc-nav-link {
  display: flex;
  flex-direction: column;
  max-width: 45%;
  padding: 16px 20px;
  border-radius: var(--doc-radius-sm, 8px);
  background: linear-gradient(135deg, var(--doc-primary-light, rgba(99, 102, 241, 0.08)), transparent);
  transition: all var(--doc-transition, 0.25s cubic-bezier(0.4, 0, 0.2, 1));
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
}

.doc-nav-link:hover {
  background: var(--doc-primary-light, rgba(99, 102, 241, 0.15));
  border-color: var(--doc-primary, #6366f1);
  box-shadow: var(--doc-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.1));
  transform: translateY(-2px);
}

.doc-nav-link.prev {
  text-align: left;
  margin-right: auto;
}

.doc-nav-link.prev::before {
  content: '←';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--doc-primary, #6366f1);
  opacity: 0.3;
  font-size: 18px;
  transition: opacity 0.2s ease;
}

.doc-nav-link.prev:hover::before {
  opacity: 1;
}

.doc-nav-link.next {
  text-align: right;
  margin-left: auto;
}

.doc-nav-link.next::after {
  content: '→';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--doc-primary, #6366f1);
  opacity: 0.3;
  font-size: 18px;
  transition: opacity 0.2s ease;
}

.doc-nav-link.next:hover::after {
  opacity: 1;
}

.doc-nav-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--doc-text-muted, #94a3b8);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.doc-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--doc-text-primary, #0f172a);
  transition: color 0.2s ease;
}

.doc-nav-link:hover .doc-nav-title {
  color: var(--doc-primary, #6366f1);
}

.doc-nav-link.disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* ============================================
   特殊元素增强
   ============================================ */

/* 强调文本 */
.doc-article-body strong {
  color: var(--doc-text-primary, #0f172a);
  font-weight: 600;
}

/* 斜体文本 */
.doc-article-body em {
  color: var(--doc-text-secondary, #64748b);
  font-style: italic;
}

/* 标记文本 */
.doc-article-body mark {
  background: rgba(255, 235, 59, 0.3);
  padding: 2px 4px;
  border-radius: 3px;
}

/* 键盘按键 */
.doc-article-body kbd {
  background: linear-gradient(180deg, #f8f9fa, #e9ecef);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--doc-border, rgba(0, 0, 0, 0.12));
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  box-shadow: 0 2px 0 var(--doc-border, rgba(0, 0, 0, 0.12));
}

/* ============================================
   响应式优化
   ============================================ */
@media (max-width: 768px) {
  .doc-article {
    padding: 32px 24px;
    border-radius: 0;
    box-shadow: none;
  }

  .doc-article::before {
    height: 3px;
  }

  .doc-article-body h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .doc-article-body h2 {
    font-size: 22px;
    margin-top: 32px;
  }

  .doc-article-body h3 {
    font-size: 18px;
  }

  .doc-nav-link {
    padding: 12px 16px;
    max-width: 48%;
  }
}
/* 文档页面布局样式 - layout.css */
/* 现代科技文档风格 - 优雅的页面结构 */

/* ============================================
   CSS 变量继承
   ============================================ */
:root {
  --doc-bg: #f4f6f8;
  --doc-bg-gradient: linear-gradient(180deg, #f8fafc 0%, #f4f6f8 100%);
  --doc-content-bg: #ffffff;
  --doc-border: rgba(0, 0, 0, 0.06);
  --doc-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --doc-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --doc-shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.12);
  --doc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   文档页面整体布局
   ============================================ */
.docs-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--doc-bg-gradient);
  position: relative;
}

/* 背景装饰 - 微妙的渐变效果 */
.docs-layout::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   页面内容容器
   ============================================ */
.docs-page-container {
  display: flex;
  flex: 1;
  padding-top: 16px;
  position: relative;
  z-index: 1;
}

/* sidebar 折叠状态 */
.docs-page-container.sidebar-collapsed .docs-main-content {
  margin-left: 56px;
}

/* ============================================
   主内容区域 - 充分利用宽度
   ============================================ */
.docs-main-content {
  flex: 1;
  padding: 16px 32px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-left: 16px;
  transition: margin-left var(--doc-transition);
  box-sizing: border-box;
}

/* 内容区域微妙的背景 */
.docs-main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 280px;
  right: 240px;
  bottom: 0;
  background: transparent;
  transition: left var(--doc-transition);
  pointer-events: none;
}

.docs-page-container.sidebar-collapsed .docs-main-content::before {
  left: 56px;
}

/* ============================================
   加载状态 - 优雅等待
   ============================================ */
.docs-page-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 64px);
  background: var(--doc-bg-gradient);
  position: relative;
}

/* 加载动画背景装饰 */
.docs-page-loading::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.5); opacity: 0.8; }
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(99, 102, 241, 0.1);
  border-top: 3px solid var(--doc-primary, #6366f1);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  position: relative;
  z-index: 1;
}

/* Spinner 内部装饰 */
.loading-spinner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--doc-primary, #6366f1);
  border-radius: 50%;
  opacity: 0.3;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   错误状态 - 清晰提示
   ============================================ */
.docs-page-error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 64px);
  background: var(--doc-bg-gradient);
  color: var(--doc-text-secondary, #64748b);
  position: relative;
}

.docs-page-error::before {
  content: '⚠';
  font-size: 64px;
  color: rgba(99, 102, 241, 0.1);
  margin-bottom: 16px;
}

.docs-page-error p {
  font-size: 16px;
  font-weight: 500;
  color: var(--doc-text-secondary, #64748b);
  background: var(--doc-content-bg);
  padding: 16px 32px;
  border-radius: 12px;
  box-shadow: var(--doc-shadow-md);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1400px) {
  .doc-toc {
    display: none;
  }

  .docs-main-content::before {
    right: 0;
  }
}

@media (max-width: 1200px) {
  .doc-toc {
    display: none;
  }

  .docs-main-content {
    margin-left: 260px;
    padding: 40px 24px;
  }

  .docs-main-content::before {
    left: 260px;
    right: 0;
  }

  .docs-page-container.sidebar-collapsed .docs-main-content {
    margin-left: 56px;
  }

  .docs-page-container.sidebar-collapsed .docs-main-content::before {
    left: 56px;
  }
}

@media (max-width: 768px) {
  .docs-page-container {
    flex-direction: column;
  }

  .docs-page-container.sidebar-collapsed .docs-main-content {
    margin-left: 0;
  }

  .docs-main-content {
    margin-left: 0;
    padding: 24px 16px;
    min-width: 100%;
  }

  .docs-main-content::before {
    left: 0;
  }

  .docs-page-container.sidebar-collapsed .docs-main-content::before {
    left: 0;
  }
}

/* ============================================
   滚动行为优化
   ============================================ */
@supports (scroll-behavior: smooth) {
  .docs-layout,
  .doc-sidebar,
  .doc-toc,
  .docs-main-content {
    scroll-behavior: smooth;
  }
}

/* 平滑滚动条样式 - 全局 */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.4);
}

/* ============================================
   文本选择样式
   ============================================ */
::selection {
  background: rgba(99, 102, 241, 0.2);
  color: var(--doc-text-primary, #0f172a);
}

::-moz-selection {
  background: rgba(99, 102, 241, 0.2);
  color: var(--doc-text-primary, #0f172a);
}

/* ============================================
   打印样式优化
   ============================================ */
@media print {
  .docs-layout {
    background: white;
  }

  .docs-layout::before {
    display: none;
  }

  .doc-sidebar,
  .doc-toc,
  .doc-sidebar-toggle {
    display: none;
  }

  .docs-main-content {
    margin-left: 0;
    padding: 20px;
  }

  .docs-main-content::before {
    display: none;
  }

  .doc-article {
    box-shadow: none;
    padding: 20px;
  }

  .doc-article::before {
    display: none;
  }
}
