/* ==========================================================================
   蓝胖云 (LanPangYun) 官网服务介绍与落地页样式库
   技术规范：原生纯 CSS3，无重型外部框架，轻量级秒开，移动端优先自适应
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

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

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

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

/* 布局容器 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.narrow-container {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 顶部导航栏 */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.site-logo span.badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   新设计 Hero 模版（兼顾紧凑纯粹、高辨识度与现代网关质感）
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 44px 0 36px 0;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 280px;
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

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

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid var(--primary-border);
  color: #1e40af;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-highlight {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-btn-main {
  padding: 12px 28px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-trust-note .dot {
  color: #cbd5e1;
}

/* 右侧网关状态视觉卡片（纯原生 CSS 构造，0 外部图请求） */
.hero-visual-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-visual-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(15, 23, 42, 0.12), 0 10px 12px -6px rgba(15, 23, 42, 0.06);
}

.gateway-header {
  background: #f8fafc;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.control-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.gateway-title {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-light);
  font-weight: 600;
}

.gateway-status {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.gateway-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.node-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: background 0.15s ease;
}

.node-status-row:hover {
  background: #f1f5f9;
}

.node-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.node-flag {
  font-size: 15px;
  line-height: 1;
}

.node-name-wrap {
  display: flex;
  flex-direction: column;
}

.node-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.node-desc {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.node-status-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 6px;
  border-radius: 4px;
}

.node-ping {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

.gateway-footer {
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-light);
}

.gateway-footer span.secure-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-brand-pill {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-note {
    justify-content: center;
  }
  .hero-visual-card {
    max-width: 440px;
    margin: 0 auto;
    text-align: left;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--text-main) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

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

/* 套餐价格区域 */
.pricing-section {
  padding: 50px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
}

/* 同排价格卡片网格 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light), var(--shadow-md);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.plan-price-wrap {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
}

.plan-currency {
  font-size: 18px;
  font-weight: 600;
  margin-right: 2px;
}

.plan-period {
  font-size: 14px;
  color: var(--text-muted);
}

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

.plan-features li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

.plan-cta {
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #ffffff !important;
  transition: background 0.2s ease;
}

.plan-cta:hover {
  background: var(--primary-hover);
}

.pricing-card:not(.featured) .plan-cta {
  background: var(--bg-alt);
  color: var(--text-main) !important;
  border: 1px solid var(--border-color);
}

.pricing-card:not(.featured) .plan-cta:hover {
  background: var(--border-color);
}

.pricing-note {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

/* 核心优势板块 */
.features-section {
  padding: 50px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.feature-card {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: bold;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 流媒体与 AI 支持图卡 */
.support-media-section {
  padding: 50px 0;
}

.support-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.media-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.media-box-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-box-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  font-size: 13px;
  background: var(--bg-alt);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-weight: 500;
}

/* 内容导航与文章卡片区 */
.articles-section {
  padding: 50px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.content-nav-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.content-nav-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.content-nav-btn:hover, .content-nav-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.article-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.article-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.article-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
}

.article-card-title a {
  color: var(--text-main);
}

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

.article-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.article-card-footer {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

/* 用户评价板块 */
.reviews-section {
  padding: 50px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
}

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

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.review-meta h4 {
  font-size: 14px;
  font-weight: 600;
}

.review-meta span {
  font-size: 12px;
  color: var(--text-light);
}

.review-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 首页 FAQ 区域 */
.faq-section {
  padding: 50px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.faq-q::before {
  content: "Q.";
  color: var(--primary);
  font-weight: 800;
}

.faq-a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 底部 CTA 通栏 */
.bottom-cta-section {
  padding: 50px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  text-align: center;
}

.bottom-cta-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}

.bottom-cta-desc {
  font-size: 15px;
  color: #dbeafe;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #1e3a8a !important;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

/* 页脚 (只保留四个指定标题并新页面打开) */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 36px 0;
  font-size: 14px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   独立文章与内容页面专用样式
   ========================================================================== */

.page-wrapper {
  padding: 36px 0 60px 0;
}

/* 面包屑导航 */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}

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

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

.breadcrumbs span.sep {
  color: #cbd5e1;
}

/* 文章头部 */
.article-header {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
}

.article-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.article-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* 摘要与轻量注册入口 */
.article-summary-box {
  background: var(--bg-body);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin-top: 16px;
}

.summary-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.summary-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 12px;
  background: #ffffff;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.summary-cta:hover {
  background: var(--primary);
  color: #ffffff;
}

/* 正文容器 */
.article-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  font-size: 16px;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 32px;
}

.article-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.article-content h2:first-of-type {
  margin-top: 0;
}

.article-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 10px;
}

.article-content p {
  margin-bottom: 16px;
}

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

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

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--primary-border);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.article-content a:hover {
  color: var(--primary-hover);
  text-decoration-color: var(--primary);
}

.article-content h2 a, .article-content h3 a {
  text-decoration: none;
}

/* 文中内嵌专题导读小卡片 */
.inline-guide-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin: 20px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inline-guide-card span {
  color: var(--text-muted);
}

.inline-guide-card a {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* 全站专题互联矩阵 (深度互联与阅读导航) */
.topic-matrix-section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

.topic-matrix-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.topic-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.topic-matrix-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--primary-light);
}

.topic-matrix-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-matrix-col li {
  margin-bottom: 8px;
  font-size: 13px;
}

.topic-matrix-col li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.topic-matrix-col li a:hover {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .topic-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .topic-matrix-grid {
    grid-template-columns: 1fr;
  }
}

/* 表格样式 */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px 0;
  font-size: 14px;
}

.content-table th, .content-table td {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.content-table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text-main);
}

.content-table tr:nth-child(even) td {
  background: #fbfcfe;
}

/* 提示高亮框 */
.callout {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.65;
}

.callout-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.callout-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* 文中轻量横幅与文末注册入口 */
.article-mid-cta {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-mid-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.article-mid-btn {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  background: var(--primary);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
}

.article-end-cta {
  background: linear-gradient(to right, #f8fafc, #eff6ff);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 36px;
}

.article-end-cta h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.article-end-cta p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* 相关推荐文章卡片 */
.related-posts-section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

.related-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  padding: 14px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: block;
  transition: border-color 0.2s ease;
}

.related-card:hover {
  border-color: var(--primary);
}

.related-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 6px;
}

.related-card p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   移动端与响应式深度适配系统 (Mobile-First / High-End Responsive Framework)
   覆盖: 桌面端、平板、横屏手机、主流手机 (375-430px)、超小屏手机 (320-360px)
   ========================================================================== */

/* 平板与中等屏幕 (<= 992px) */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }
  
  .features-grid-3 {
    grid-template-columns: 1fr;
  }

  .article-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-media-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

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

/* 主流移动端与小平板 (<= 768px) */
@media (max-width: 768px) {
  /* 布局与容器安全缩进 */
  .container, .narrow-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 顶部导航与 Header (App 式移动端滑轨) */
  .site-header {
    padding: 0;
  }

  .header-inner {
    height: auto;
    padding: 10px 0 6px 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-logo {
    font-size: 19px;
  }

  .site-logo-icon {
    width: 28px;
    height: 28px;
  }

  .nav-cta {
    font-size: 13px;
    padding: 6px 14px;
    min-height: 36px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 0 6px 0;
    margin-top: 2px;
    gap: 14px;
    display: flex;
    border-top: 1px solid var(--border-light);
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
    font-size: 14px;
    padding: 4px 6px;
    flex-shrink: 0;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }

  /* Hero 首屏移动端优化 */
  .hero-section {
    padding: 28px 0 24px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

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

  .hero-brand-pill {
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    padding: 4px 12px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 20px;
    padding: 0 4px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 14px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    min-height: 46px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-trust-note {
    justify-content: center;
    font-size: 11px;
    gap: 6px 8px;
  }

  .hero-visual-card {
    width: 100%;
    max-width: 100%;
    margin: 8px auto 0 auto;
  }

  .gateway-header {
    padding: 8px 12px;
  }

  .gateway-title {
    font-size: 10px;
  }

  .gateway-status {
    font-size: 10px;
    padding: 2px 6px;
  }

  .gateway-body {
    padding: 12px;
    gap: 8px;
  }

  .node-status-row {
    padding: 8px 10px;
  }

  .node-flag {
    font-size: 14px;
  }

  .node-name {
    font-size: 12px;
  }

  .node-desc {
    font-size: 10px;
  }

  .node-tag {
    font-size: 10px;
    padding: 1px 5px;
  }

  .node-ping {
    font-size: 11px;
  }

  .gateway-footer {
    padding: 8px 12px;
    font-size: 10px;
  }

  /* 套餐卡片自适应 */
  .pricing-section {
    padding: 36px 0;
  }

  .section-title {
    font-size: 20px;
  }

  .section-subtitle {
    font-size: 13px;
  }

  .pricing-card {
    padding: 22px 18px;
  }

  .plan-price {
    font-size: 28px;
  }

  .plan-cta {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 文章卡片与单栏流线 */
  .article-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-card {
    padding: 18px 16px;
  }

  .article-card-title {
    font-size: 15px;
  }

  /* 首页内容分类按钮横向滑动 */
  .content-nav-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
  }

  .content-nav-bar::-webkit-scrollbar {
    display: none;
  }

  .content-nav-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
    padding: 6px 14px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  /* 正文与文章页移动端排版 */
  .page-wrapper {
    padding: 20px 0 40px 0;
  }

  .breadcrumbs {
    font-size: 12px;
    margin-bottom: 16px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .article-header {
    padding: 20px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
  }

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

  .article-meta {
    gap: 10px;
    font-size: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .article-summary-box {
    padding: 14px 14px;
  }

  .summary-text {
    font-size: 13px;
  }

  .summary-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 40px;
  }

  .article-content {
    padding: 22px 16px;
    font-size: 15px;
    line-height: 1.75;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
  }

  .article-content h2 {
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 12px;
  }

  .article-content h3 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  /* 表格在手机端自适应横向滑动，杜绝横向撑开页面 */
  .content-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0 20px 0;
    font-size: 13px;
    border: 1px solid var(--border-color);
  }

  .content-table th, .content-table td {
    padding: 10px 12px;
    white-space: nowrap;
  }

  /* 导读卡片与内嵌 CTA */
  .inline-guide-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }

  .inline-guide-card a {
    align-self: flex-start;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .article-mid-cta {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }

  .article-mid-btn {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .article-end-cta {
    padding: 20px 14px;
  }

  .article-end-cta h3 {
    font-size: 17px;
  }

  .article-end-cta p {
    font-size: 13px;
  }

  /* 全站专题互联矩阵 */
  .topic-matrix-section {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .topic-matrix-title {
    font-size: 16px;
  }

  /* 页脚在移动端兼顾大触控区域与精致排版 */
  .site-footer {
    padding: 28px 0;
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  .footer-link {
    font-size: 13px;
    padding: 8px 12px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .footer-copy {
    font-size: 12px;
    padding: 0 10px;
  }
}

/* 超窄屏手机 (<= 480px, 如 iPhone SE / 360-390px 设备) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 21px;
  }

  .site-logo {
    font-size: 17px;
  }

  .site-logo span.badge {
    font-size: 10px;
    padding: 1px 6px;
  }

  .topic-matrix-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bottom-cta-title {
    font-size: 20px;
  }

  .bottom-cta-desc {
    font-size: 13px;
  }

  .btn-white {
    width: 100%;
    min-height: 46px;
  }
}
