/* CSS 变量 */
:root {
  --color-primary: rgb(1, 97, 239);
  --color-secondary: rgb(1, 84, 207);
  --color-accent: rgb(109, 40, 217);
  --color-text: rgb(16, 16, 16);
  --color-text-muted: rgba(16, 16, 16, 0.66);
  --color-bg: rgb(255, 255, 255);
  --color-bg-light: rgb(239, 246, 255);
  --color-success: rgb(22, 163, 74);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.dark {
  --color-text: rgb(229, 236, 246);
  --color-text-muted: rgba(229, 236, 246, 0.66);
  --color-bg: rgb(3, 6, 32);
  --color-bg-light: rgb(15, 23, 42);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 容器 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-secondary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dark .btn-secondary {
  border-color: #4b5563;
}

.dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 警告横幅 */
.warning-banner {
  background: linear-gradient(to right, #E014B0, #802FF3);
  color: white;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  color: white;
  opacity: 0.8;
}

.close-btn:hover {
  opacity: 1;
}

/* 公告栏 */
.announcement-bar {
  background: #000;
  color: #9ca3af;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.new-badge {
  background: var(--color-secondary);
  color: #cbd5e1;
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.announcement-bar a {
  color: #9ca3af;
}

.announcement-bar a:hover {
  text-decoration: underline;
}

/* 导航栏 */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.header.scroll {
  border-bottom-color: #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .header.scroll {
  border-bottom-color: #1e293b;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 1.5rem;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* 导航 */
.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text);
}

.nav-link:hover {
  color: var(--color-primary);
}

.chevron {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 下拉菜单 */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg);
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 0.5rem 0;
  z-index: 50;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.dropdown-menu a:hover {
  background: #f3f4f6;
  color: var(--color-primary);
}

.dark .dropdown-menu a:hover {
  background: #374151;
}

/* 头部操作区 */
.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }
}

.theme-toggle {
  padding: 0.625rem;
  border-radius: 0.5rem;
  color: var(--color-text-muted);
}

.theme-toggle:hover {
  background: #f3f4f6;
}

.dark .theme-toggle:hover {
  background: #374151;
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 提示区域 */
.notice-section {
  background: var(--color-bg-light);
  padding: 1rem;
}

.notice-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.info-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.domain {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Hero 区域 */
.hero {
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 48rem;
  margin: 0 auto 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* 轮播图 */
.carousel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.carousel-container {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #374151;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--color-primary);
}

/* 背景色 */
.bg-light {
  background: var(--color-bg-light);
}

/* 区块头部 */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.dark .section-label {
  color: #93c5fd;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 0 auto;
}

/* 功能区域 */
.features-section {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid.reverse {
    direction: rtl;
  }

  .features-grid.reverse > * {
    direction: ltr;
  }
}

.features-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .features-content h3 {
    font-size: 1.875rem;
  }
}

.features-desc {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 0.75rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-text h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.feature-text p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.features-image img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 步骤区域 */
.steps-section {
  padding: 4rem 0;
}

.steps-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.steps-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 1rem;
  padding-bottom: 2rem;
  position: relative;
}

.step-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dark .step-icon {
  border-color: #3b82f6;
}

.dark .step-icon svg {
  stroke: #e2e8f0;
}

.step-line {
  position: absolute;
  left: 1.1875rem;
  top: 2.5rem;
  width: 1px;
  height: calc(100% - 2.5rem);
  background: rgba(0, 0, 0, 0.1);
}

.dark .step-line {
  background: rgba(255, 255, 255, 0.2);
}

.step:last-child .step-line {
  display: none;
}

.step-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-text code {
  display: inline-block;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.dark .step-text code {
  background: rgba(255, 255, 255, 0.1);
  color: #9ca3af;
}

.step-or {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0.5rem 0;
}

.steps-image img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* 统计区域 */
.stats-section {
  padding: 4rem 0;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: -1rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
  width: 50%;
  min-width: 220px;
}

@media (min-width: 768px) {
  .stat-item {
    width: 25%;
    border-right: 1px solid #e5e7eb;
  }

  .stat-item:last-child {
    border-right: none;
  }

  .dark .stat-item {
    border-color: #475569;
  }
}

.stat-value {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .stat-value {
    font-size: 3.75rem;
  }
}

.dark .stat-value {
  color: white;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1f2937;
}

@media (min-width: 1024px) {
  .stat-label {
    font-size: 1rem;
  }
}

.dark .stat-label {
  color: #9ca3af;
}

/* 博客区域 */
.blog-section {
  padding: 4rem 0;
}

.blog-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .blog-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.blog-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .blog-header h2 {
    font-size: 1.875rem;
  }
}

.view-all {
  color: var(--color-text-muted);
}

.view-all:hover {
  color: var(--color-primary);
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  margin-bottom: 1.5rem;
}

.blog-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  background: #9ca3af;
}

.dark .blog-card img {
  background: #475569;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .blog-card h3 {
    font-size: 1.5rem;
  }
}

.blog-card h3 a {
  transition: color 0.2s;
}

.blog-card h3 a:hover {
  color: var(--color-primary);
}

.dark .blog-card h3 a:hover {
  color: #3b82f6;
}

.blog-card p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

/* 社区区域 */
.community-section {
  padding: 4rem 0;
  text-align: center;
}

.community-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .community-section .section-title {
    font-size: 3rem;
  }
}

.community-section .section-desc {
  margin-bottom: 1.5rem;
}

.community-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* CTA 区域 */
.cta-section {
  padding: 4rem 0;
}

.cta-box {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.dark .cta-box {
  border-color: #475569;
  box-shadow: none;
}

.cta-box h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* 页脚 */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0 2rem;
}

.dark .footer {
  border-color: #1e293b;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-links-inline {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-links-inline a:hover {
  text-decoration: underline;
}

.footer-column h4 {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-column a:hover {
  text-decoration: underline;
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.dark .footer-bottom {
  border-color: #1e293b;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  padding: 0.625rem;
  border-radius: 0.5rem;
  color: var(--color-text-muted);
}

.social-links a:hover {
  background: #f3f4f6;
}

.dark .social-links a:hover {
  background: #374151;
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copyright {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* 响应式隐藏 */
@media (max-width: 767px) {
  .announcement-bar {
    display: none;
  }
}

/* ========== 定价页面 ========== */
.pricing-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.pricing-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .pricing-hero h1 {
    font-size: 3rem;
  }
}

.pricing-subtitle {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 auto;
}

.pricing-section {
  padding: 2rem 0 4rem;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--color-bg);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
}

.dark .pricing-card {
  border-color: #374151;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 10px 40px rgba(1, 97, 239, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.dark .pricing-header {
  border-color: #374151;
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.pricing-price .price {
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-price .period {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.pricing-desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.pricing-features {
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}

.pricing-features svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--color-success);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* FAQ 区域 */
.faq-section {
  padding: 4rem 0;
  background: var(--color-bg-light);
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  background: var(--color-bg);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.faq-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ========== 博客列表页面 ========== */
.blog-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.blog-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .blog-hero h1 {
    font-size: 3rem;
  }
}

.blog-subtitle {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 auto;
}

.blog-list-section {
  padding: 2rem 0 4rem;
}

.blog-list {
  max-width: 900px;
  margin: 0 auto;
}

.blog-list-item {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .blog-list-item {
    grid-template-columns: 280px 1fr;
  }
}

.dark .blog-list-item {
  border-color: #374151;
}

.blog-list-item:first-child {
  padding-top: 0;
}

.blog-list-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.blog-list-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.blog-meta svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.blog-meta a:hover {
  color: var(--color-primary);
}

.blog-list-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-list-content h2 a:hover {
  color: var(--color-primary);
}

.blog-list-content p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--color-bg-light);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.dark .tag {
  background: #1e293b;
}

/* ========== 文档页面 ========== */
.docs-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.docs-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .docs-hero h1 {
    font-size: 3rem;
  }
}

.docs-subtitle {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 0 auto;
}

.docs-section {
  padding: 2rem 0 4rem;
}

.docs-content {
  max-width: 800px;
  margin: 0 auto;
}

.docs-block {
  margin-bottom: 2.5rem;
}

.docs-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.dark .docs-block h2 {
  border-color: #374151;
}

.docs-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.docs-list li {
  padding: 0.375rem 0;
  color: var(--color-text-muted);
}

.docs-list a {
  color: var(--color-primary);
}

.docs-list a:hover {
  text-decoration: underline;
}

.docs-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .docs-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.docs-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s;
}

.dark .docs-card {
  border-color: #374151;
}

.docs-card:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-light);
}

.docs-card svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* 导航激活状态 */
.nav-link.active {
  color: var(--color-primary);
}
