/* ==========================================================================
   牧牛云 - 全局样式表 style.css
   设计风格：简约红色科技风 (Dark Minimalist Red Tech)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --primary: #ff2d2d;
  --primary-rgb: 255, 45, 45;
  --dark-red: #3a0508;
  --bg-dark: #08090d;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 45, 45, 0.05);
  --border-card: rgba(255, 80, 80, 0.15);
  --border-card-hover: rgba(255, 45, 45, 0.45);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-highlight: #ff4d4d;
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-red: 0 0 20px rgba(255, 45, 45, 0.25);
  --shadow-red-hover: 0 0 35px rgba(255, 45, 45, 0.5);
  --nav-height: 70px;
}

/* 基础重置 & 页面滚动 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 背景粒子与光晕特效 */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, #150204 0%, var(--bg-dark) 70%);
}

.bg-glow {
  position: fixed;
  top: -10%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
  animation: glow-pulse 12s infinite alternate ease-in-out;
}

@keyframes glow-pulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  100% { transform: scale(1.2) translate(-5%, 5%); opacity: 0.9; }
}

/* 统一排版与容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--text-highlight);
}

/* 导航栏设计 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 80, 80, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(255, 45, 45, 0.6);
}

.logo-icon {
  margin-right: 8px;
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

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

.nav-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: var(--shadow-red);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
}

.nav-btn:hover {
  background: #ff4d4d;
  color: #fff;
  box-shadow: var(--shadow-red-hover);
  transform: translateY(-2px);
}

/* 移动端菜单按钮 */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  margin: 5px 0;
  transition: var(--transition);
}

/* 按钮全局样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-red);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: #ff4d4d;
  box-shadow: var(--shadow-red-hover);
  transform: translateY(-2px);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-card);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-text {
  color: var(--text-highlight);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-text:hover {
  color: #fff;
}

/* 首屏 (Hero) 模块 */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding-top: 50px;
}

.hero-left h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 40%, #ff8888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-left p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  text-align: justify;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-right {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.tech-card {
  background: linear-gradient(135deg, rgba(30, 5, 8, 0.6) 0%, rgba(8, 9, 13, 0.85) 100%);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  animation: float-slow 6s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
  100% { transform: translateY(-12px) rotateX(-2deg) rotateY(2deg); }
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.tech-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-card-list {
  list-style: none;
}

.tech-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.tech-card-item:last-child {
  border-bottom: none;
}

.tech-icon-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 45, 45, 0.15);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: bold;
}

.tech-text h4 {
  font-size: 0.95rem;
  color: #fff;
}

.tech-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* 核心优势模块 (Advantages) */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition);
  position: relative;
}

.adv-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 45, 45, 0.08);
}

.adv-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(255, 45, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 45, 45, 0.2);
}

.adv-icon-box svg {
  width: 26px;
  height: 26px;
  fill: var(--primary);
}

.adv-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.adv-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: justify;
}

/* 套餐价格模块 (Pricing) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 35px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.price-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(255, 45, 45, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  box-shadow: 0 10px 30px rgba(255, 45, 45, 0.1);
}

.price-card.popular::before {
  content: 'POPULAR';
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 30px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-card-hover);
  box-shadow: 0 15px 35px rgba(255, 45, 45, 0.15);
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.price-card .price-tag {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
}

.price-card .price-tag span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-left: 4px;
}

.price-card .price-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  min-height: 40px;
}

.price-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.price-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  flex-shrink: 0;
}

.price-btn {
  width: 100%;
}

/* 使用教程模块 (Tutorials) */
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tuto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tuto-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.tuto-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tuto-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 45, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tuto-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.tuto-header h3 {
  font-size: 1.15rem;
}

.tuto-steps {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.tuto-steps li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tuto-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  background: rgba(255, 45, 45, 0.15);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tuto-steps {
  counter-reset: step-counter;
}

.tuto-card .btn-text {
  margin-top: auto;
  align-self: flex-start;
}

/* SEO 介绍与文章 (Knowledge Base) */
.seo-intro {
  background: linear-gradient(90deg, rgba(255, 45, 45, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
}

.seo-intro h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-highlight);
}

.seo-intro p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 标签云模块 (Tags) */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.tag-item {
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition);
}

.tag-item:hover {
  background: rgba(255, 45, 45, 0.1);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 45, 45, 0.15);
}

/* 用户评价模块 (Reviews) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 30px;
  position: relative;
}

.review-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 4rem;
  color: rgba(255, 45, 45, 0.1);
  line-height: 1;
  font-family: Georgia, serif;
}

.review-card p {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-align: justify;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-red);
  border: 1.5px solid var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.user-info h4 {
  font-size: 0.95rem;
}

.user-info span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* FAQ 常见问题手风琴 */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-card-hover);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  outline: none;
}

.faq-icon {
  width: 18px;
  height: 18px;
  fill: var(--text-secondary);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-content p {
  margin-bottom: 16px;
  text-align: justify;
}

.faq-content p:last-child {
  margin-bottom: 20px;
}

/* 激活的手风琴状态 */
.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(255, 45, 45, 0.05);
}

.faq-item.active .faq-trigger {
  color: var(--text-highlight);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  fill: var(--primary);
}

.faq-item.active .faq-content {
  max-height: 1000px;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease;
  padding: 0 24px 20px 24px;
}

/* 页脚区域 (Footer) */
footer {
  background: #040508;
  border-top: 1px solid rgba(255, 80, 80, 0.1);
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  display: block;
}

.footer-logo span {
  color: var(--primary);
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: justify;
}

.footer-col h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
  padding-left: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-disclaimer {
  grid-column: span 4;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.footer-disclaimer h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: rgba(156, 163, 175, 0.6);
  line-height: 1.5;
  text-align: justify;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-meta-links {
  display: flex;
  gap: 20px;
}

.footer-meta-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   文章详情页专有样式 (Article Pages Layout)
   ========================================================================== */
.article-page {
  padding-top: 120px;
}

.article-breadcrumbs {
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.article-breadcrumbs a {
  color: var(--text-secondary);
}

.article-breadcrumbs a:hover {
  color: #fff;
}

.article-breadcrumbs span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.2);
}

.article-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.article-header {
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.article-header h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.article-summary-box {
  background: rgba(255, 45, 45, 0.04);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin-bottom: 30px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-primary);
}

.article-toc {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.article-toc-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #fff;
}

.article-toc ul {
  list-style: none;
  padding-left: 10px;
}

.article-toc li {
  margin-bottom: 8px;
}

.article-toc a {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.article-toc a:hover {
  color: var(--text-highlight);
}

/* 文章排版排版 */
.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e5e7eb;
}

.article-content h2 {
  font-size: 1.6rem;
  text-align: left;
  margin: 40px 0 20px 0;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-card);
}

.article-content h2::after {
  display: none;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 30px 0 15px 0;
  color: #fff;
}

.article-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--primary);
  padding: 12px 20px;
  margin: 24px 0;
  color: var(--text-secondary);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 0.95rem;
}

.article-content th, .article-content td {
  border: 1px solid var(--border-card);
  padding: 12px 16px;
  text-align: left;
}

.article-content th {
  background: rgba(255, 45, 45, 0.08);
  font-weight: 600;
  color: #fff;
}

.article-content td {
  background: rgba(255, 255, 255, 0.01);
}

.article-content tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.article-content strong {
  color: var(--text-highlight);
}

/* 文章底部动作区 */
.article-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-card);
}

/* 侧边栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 24px;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  border-left: 3px solid var(--primary);
  padding-left: 10px;
}

.sidebar-post-list {
  list-style: none;
}

.sidebar-post-list li {
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.sidebar-post-list li:last-child {
  margin-bottom: 0;
}

.sidebar-post-list a {
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
}

.sidebar-post-list a:hover {
  color: #fff;
}

/* ==========================================================================
   响应式断点 (Media Queries)
   ========================================================================== */

@media (max-width: 1100px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tutorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 20px;
  }
  
  .hero-left h1 {
    font-size: 2.2rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-right {
    margin-top: 20px;
  }
  
  .article-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-disclaimer {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  /* 导航折叠 */
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(8, 9, 13, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 40px 24px;
    align-items: center;
    gap: 25px;
    transition: left 0.4s ease-in-out;
    border-top: 1px solid rgba(255, 80, 80, 0.1);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-disclaimer {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 580px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .tutorial-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
  .article-body {
    padding: 20px;
  }
  .article-header h1 {
    font-size: 1.6rem;
  }
}
