/* ==========================================================================
   扬帆云官网 - 全局样式表 index.css
   背景风格：科技浅白云色图案 (Light Sky Tech theme)
   ========================================================================== */

@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: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-rgb: 37, 99, 235;
  --secondary: #0284c7;
  --bg-light: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --border-card: rgba(37, 99, 235, 0.08);
  --border-card-hover: rgba(37, 99, 235, 0.25);
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-highlight: #1d4ed8;
  --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-blue: 0 10px 30px rgba(37, 99, 235, 0.06);
  --shadow-blue-hover: 0 15px 40px rgba(37, 99, 235, 0.12);
  --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-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 背景 Canvas 和云叠层 */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.bg-clouds-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.4) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(239, 246, 255, 0.4) 0%, transparent 45%);
}

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

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

.section-light {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

.section-gradient {
  background: linear-gradient(180deg, transparent 0%, rgba(224, 242, 254, 0.25) 50%, transparent 100%);
}

.section-dark {
  background: #0f172a;
  color: #f1f5f9;
}

.section-dark h2, .section-dark p.section-desc {
  color: #fff;
}

.section-dark p.section-desc {
  color: #cbd5e1;
}

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

.section-dark h3, .section-dark h4 {
  color: #fff;
}

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

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

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

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

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

/* 导航栏样式 */
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(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.5px;
}

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

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

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

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

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.nav-btn {
  background: var(--primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

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

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

/* 按钮通用 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.25);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
  border-color: rgba(37, 99, 235, 0.15);
  backdrop-filter: blur(5px);
}

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

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

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

/* Hero 首屏 */
.hero-section {
  padding-top: 130px;
  padding-bottom: 90px;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.badge {
  display: inline-flex;
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.hero-left h1 {
  font-size: 2.8rem;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #0f172a;
}

.hero-left h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-left p {
  font-size: 1.1rem;
  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;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
  animation: float-slow 8s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

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

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  padding-bottom: 12px;
}

.tech-card-icon {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.tech-card h3 {
  font-size: 1.25rem;
  color: #0f172a;
}

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

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(37, 99, 235, 0.05);
}

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

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 2px;
}

.tech-item h4 {
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 2px;
}

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

/* 节点列表 (Nodes Grid) */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.node-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue-hover);
}

.node-status {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-dot.active {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.node-flag {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.node-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.node-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.node-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.tag.latency-low {
  background: rgba(16, 185, 129, 0.06);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.15);
}

.tag.latency-medium {
  background: rgba(245, 158, 11, 0.06);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.15);
}

.tag.highlight {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.2);
  font-weight: 600;
}

/* 套餐购买板块 (Pricing) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

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

.price-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue-hover);
}

.price-card.popular {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.price-card.popular:hover {
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.popular-badge {
  position: absolute;
  top: 12px;
  right: -32px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 30px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.price-header {
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  padding-bottom: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.price-header h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #0f172a;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.price-value span {
  font-size: 1.2rem;
  font-weight: 500;
}

.price-body {
  flex-grow: 1;
}

.package-details-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.package-features {
  list-style: none;
  margin-bottom: 20px;
}

.package-features li {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.package-features li::before {
  content: '⚡';
  margin-right: 6px;
}

.package-instructions {
  list-style: decimal;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.package-instructions li {
  margin-bottom: 5px;
}

.package-instructions li.promo-text {
  color: #ea580c;
  font-weight: bold;
  list-style: none;
  margin-left: -18px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.package-instructions li.promo-text::before {
  content: '🎁';
}

.price-btn {
  width: 100%;
}

/* 使用教程 (Tutorial) */
.tutorial-tabs-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-blue);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  padding-bottom: 20px;
  margin-bottom: 30px;
  justify-content: center;
}

.tab-btn {
  background: none;
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.tab-content h3 {
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: #0f172a;
}

.tuto-steps {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 25px;
}

.tuto-steps li {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.tuto-steps li strong {
  color: var(--primary);
}

/* 下载中心 (Download Table) */
.download-table-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow-x: auto;
}

.download-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.download-table th, .download-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.download-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: #fff;
}

.download-table td {
  color: #cbd5e1;
}

.download-table tr:last-child td {
  border-bottom: none;
}

.os-icon {
  margin-right: 8px;
  font-size: 1.1rem;
}

.download-btn-small {
  background: var(--primary);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
}

.download-btn-small:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* 用户评价 (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: 28px;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}

.review-card:hover {
  background: #fff;
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.user-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
}

.review-stars {
  font-size: 0.8rem;
  color: #f59e0b;
  margin-top: 2px;
}

.review-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: justify;
}

/* FAQ手风琴 */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active {
  background: #fff;
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-blue);
}

.faq-item.active .faq-answer {
  max-height: 250px;
}

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

/* 精选文章/教程板块 (Articles Feed) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.article-summary-card:hover {
  background: #fff;
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.article-summary-card h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-summary-card h4 a {
  color: #0f172a;
}

.article-summary-card h4 a:hover {
  color: var(--primary);
}

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

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

/* 热门关键词 (Tags) */
.tags-section {
  background: rgba(224, 242, 254, 0.15);
  border-top: 1px solid rgba(37, 99, 235, 0.05);
}

.tags-section h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 12px;
}

.tags-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.tag-item {
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tag-item:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* 页脚 (Footer) */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 80px 0 30px 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-info h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.footer-info p {
  line-height: 1.7;
}

.footer-links h4, .footer-disclaimer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
}

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

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

.footer-links a {
  color: #94a3b8;
}

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

.footer-disclaimer p {
  line-height: 1.7;
  text-align: justify;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #cbd5e1;
  font-weight: 500;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ==========================================================================
   文章详情页专用样式
   ========================================================================== */
.article-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.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: var(--primary);
}

.article-breadcrumbs span {
  margin: 0 8px;
  color: #cbd5e1;
}

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

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

.article-header {
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.article-header h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: #0f172a;
}

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

.article-summary-box {
  background: rgba(37, 99, 235, 0.05);
  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);
  line-height: 1.6;
}

.article-toc {
  background: rgba(37, 99, 235, 0.02);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

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

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

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

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

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

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-content h2 {
  font-size: 1.5rem;
  text-align: left;
  margin: 35px 0 18px 0;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(37, 99, 235, 0.15);
  color: #0f172a;
}

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

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

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

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

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

.article-content blockquote {
  background: rgba(37, 99, 235, 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 rgba(37, 99, 235, 0.1);
  padding: 12px 16px;
  text-align: left;
}

.article-content th {
  background: rgba(37, 99, 235, 0.05);
  font-weight: 600;
  color: #0f172a;
}

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

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

.article-content strong {
  color: var(--primary);
  font-weight: 600;
}

.article-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
}

/* 侧边栏 */
.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;
  box-shadow: var(--shadow-blue);
  backdrop-filter: blur(10px);
}

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

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

.sidebar-post-list li {
  margin-bottom: 14px;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(37, 99, 235, 0.05);
  padding-bottom: 12px;
}

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

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

.sidebar-post-list a:hover {
  color: var(--primary);
}

/* ==========================================================================
   响应式设计 (Media Queries)
   ========================================================================== */

@media (max-width: 1100px) {
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-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;
    gap: 40px;
  }
  
  .hero-left h1 {
    font-size: 2.3rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-right {
    margin-top: 10px;
  }
  
  .article-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .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(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 24px;
    align-items: center;
    gap: 20px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  
  .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(5px, -5px);
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-disclaimer {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 580px) {
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .article-body {
    padding: 24px 16px;
  }
  .article-header h1 {
    font-size: 1.6rem;
  }
}
