/* ==========================================================================
   XSUS 机场官网 (xsusvip.buzz) - 原生高性能样式系统
   纯 CSS3 架构 · 零外部框架依赖 · 秒开级加载优化
   ========================================================================== */

:root {
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* 核心色彩系统 - 深空赛博与霓虹冷翠 */
  --bg-primary: #070a12;
  --bg-secondary: #0d121f;
  --bg-card: rgba(16, 23, 38, 0.78);
  --bg-card-hover: rgba(22, 32, 54, 0.92);
  --bg-card-glow: rgba(255, 173, 196, 0.08);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(56, 189, 248, 0.2);
  --border-highlight: rgba(255, 173, 196, 0.45);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-cyan: #ffadc4;
  --text-blue: #38bdf8;
  --text-purple: #a855f7;

  /* 核心主色调 - 淡冰粉色系统 (Light Ice Pink Theme) */
  --primary: #ffadc4;
  --primary-hover: #ff94b4;
  --primary-glow: rgba(255, 173, 196, 0.42);

  --ice-pink-light: #ffe5ee;
  --ice-pink: #ffadc4;
  --ice-pink-deep: #f472b6;
  --ice-pink-glow: rgba(255, 173, 196, 0.42);
  --grad-ice-pink: linear-gradient(135deg, #ffe5ee 0%, #ffadc4 50%, #f472b6 100%);

  --accent-blue: #0284c7;
  --accent-cyan: #06b6d4;
  --accent-orange: #f97316;
  --accent-green: #10b981;

  --grad-primary: linear-gradient(135deg, #ffadc4 0%, #38bdf8 100%);
  --grad-card: linear-gradient(180deg, rgba(25, 34, 56, 0.6) 0%, rgba(13, 18, 31, 0.8) 100%);
  --grad-hero: radial-gradient(circle at 50% 20%, rgba(255, 173, 196, 0.15) 0%, rgba(56, 189, 248, 0.05) 45%, transparent 70%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(255, 173, 196, 0.35);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

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

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* 动态背景容器 */
#dynamic-canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.88;
}

.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 60vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(255, 173, 196, 0.12) 0%, rgba(56, 189, 248, 0.03) 50%, transparent 70%);
  filter: blur(80px);
  animation: floatGlow1 16s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, rgba(14, 165, 233, 0.03) 50%, transparent 70%);
  filter: blur(90px);
  animation: floatGlow2 20s ease-in-out infinite alternate;
}

@keyframes floatGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 8%) scale(1.12); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8%, -6%) scale(1.08); }
}

/* 页面主体层级 */
.page-content-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 按钮规范与CTA体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-ice-pink);
  color: #2b0b1a;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 18px var(--ice-pink-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fff0f5 0%, #ffbed2 50%, #f687b3 100%);
  box-shadow: 0 6px 26px rgba(255, 173, 196, 0.65);
  color: #1a030d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-light);
}

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

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-glow {
  animation: pulseGlow 2.5s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 4px 16px var(--ice-pink-glow); }
  100% { box-shadow: 0 6px 28px rgba(255, 173, 196, 0.75); }
}

/* 移动端菜单切换按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* 区域通用样式 */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: rgba(255, 173, 196, 0.12);
  border: 1px solid rgba(255, 173, 196, 0.35);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.text-ice-pink {
  background: var(--grad-ice-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient {
  background: linear-gradient(135deg, #ffadc4 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Hero 首屏展示区
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4.5rem;
  position: relative;
  text-align: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  background: rgba(13, 18, 31, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.status-dot-pulse {
  width: 9px;
  height: 9px;
  background-color: var(--accent-green);
  border-radius: 50%;
  position: relative;
}

.status-dot-pulse::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  opacity: 0.75;
  animation: pulseRing 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.hero-stat-card {
  background: var(--grad-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-cyan);
  line-height: 1.2;
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   套餐价格区 (Pricing Section - 必须严格同排)
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 18, 31, 0.4) 50%, transparent 100%);
  position: relative;
}

.pricing-row-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch; /* 保证所有卡片等高 */
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.5rem 1.8rem;
  backdrop-filter: blur(14px);
  transition: var(--transition);
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

/* 热门主推爆款卡片 */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(20, 32, 58, 0.92) 0%, rgba(13, 20, 36, 0.95) 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(255, 173, 196, 0.25);
}

.pricing-card.featured:hover {
  box-shadow: 0 12px 42px rgba(255, 173, 196, 0.45);
  transform: translateY(-8px);
}

.pricing-badge-hot {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f97316, #ef4444);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45);
}

.pricing-card-top {
  margin-bottom: 1.5rem;
}

.plan-type-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-card.featured .plan-type-tag {
  background: rgba(255, 173, 196, 0.18);
  color: var(--primary);
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.plan-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px; /* 保持文字行高对齐 */
  line-height: 1.5;
}

.plan-price-wrapper {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.plan-price-main {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  font-family: var(--font-mono);
}

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

.plan-sub-cycle {
  font-size: 0.82rem;
  color: var(--text-cyan);
  margin-top: 0.5rem;
  font-weight: 500;
  min-height: 20px;
}

/* 核心特性清单 */
.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1; /* 撑满中间空间使底部按钮绝对对齐 */
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.plan-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-feature-item strong {
  color: var(--text-main);
}

.plan-cta-wrapper {
  margin-top: auto; /* 保证位于底部且同排对其 */
}

/* ==========================================================================
   核心卖点与优势网格 (Core Features)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition);
}

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

.feature-box:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 173, 196, 0.12);
  border: 1px solid rgba(255, 173, 196, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.feature-heading {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   全球节点分布矩阵 (Global Nodes)
   ========================================================================== */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

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

.node-info-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.node-flag {
  font-size: 1.8rem;
  line-height: 1;
}

.node-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.node-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.node-metrics {
  text-align: right;
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.node-rate {
  font-size: 0.78rem;
  color: var(--accent-green);
  font-weight: 600;
}

/* ==========================================================================
   客户端下载与配置中心 (Clients)
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
}

.client-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-blue);
}

.client-icon svg {
  width: 28px;
  height: 28px;
}

.client-platform {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.client-recommend {
  font-size: 0.85rem;
  color: var(--text-cyan);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.client-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   精选文章与深度SEO导读区 (Articles Grid)
   ========================================================================== */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.article-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.article-preview-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.article-badge-category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ice-pink);
  background: rgba(255, 173, 196, 0.15);
  border: 1px solid rgba(255, 173, 196, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  width: fit-content;
}

.article-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

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

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

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

.article-read-more {
  color: var(--ice-pink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.article-read-more:hover {
  color: var(--ice-pink-light);
  text-decoration: underline;
}

/* ==========================================================================
   真实用户评价区 (User Testimonials)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
  font-size: 1rem;
}

.review-content {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.author-meta {
  flex-grow: 1;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.verified-badge {
  font-size: 0.75rem;
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 600;
}

/* ==========================================================================
   常见问题 FAQ (手风琴)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

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

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   外链推荐与生态支持导航 (Outbound Directory)
   ========================================================================== */
.outbound-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.outbound-link-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: var(--transition);
}

.outbound-link-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.outbound-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.outbound-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
}

.outbound-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   文章详情页排版系统 (Article Reading System)
   ========================================================================== */
.article-header-area {
  padding: 4rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3.5rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb-separator {
  color: var(--text-dim);
}

.article-main-title {
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.article-content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.article-toc-sticky {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.toc-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.toc-link {
  color: var(--text-muted);
  line-height: 1.4;
  padding-left: 0.5rem;
  border-left: 2px solid transparent;
}

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

.article-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2.8rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2rem 0 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body strong {
  color: #fff;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body ul {
  list-style-type: disc;
}

.article-body ol {
  list-style-type: decimal;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-callout {
  background: rgba(255, 173, 196, 0.08);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
  color: #e2e8f0;
}

.article-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

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

.article-table th {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}

.article-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(20, 32, 58, 0.9) 0%, rgba(9, 14, 26, 0.95) 100%);
  border: 1px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  margin: 3.5rem 0;
  box-shadow: 0 8px 30px var(--primary-glow);
}

.article-cta-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.article-cta-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.article-related-section {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   页脚区域 (Site Footer)
   ========================================================================== */
.site-footer {
  background: #04060c;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem;
  max-width: 360px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-link {
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-legal-note {
  max-width: 600px;
  line-height: 1.5;
}

/* ==========================================================================
   响应式断点设计 (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .pricing-row-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .outbound-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-content-layout {
    grid-template-columns: 1fr;
  }
  .article-toc-sticky {
    display: none;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .pricing-row-container {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: 1fr;
  }
  .articles-preview-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .outbound-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(7, 10, 18, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}
