/* ==========================================================================
   魔戒 (Mojie) - 浅绿色系 ＋ 翡翠晶体 ＋ 现代高质感 SaaS 官方核心样式库
   Theme: Fresh Light Mint (#F2F9F5) + Clean Porcelain (#FFFFFF) + Deep Pine (#0A291B) + Emerald (#10b981)
   ========================================================================== */

:root {
  /* 浅绿色系品牌色彩系统 */
  --bg-main: #F2F8F4;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F6FAF7;
  --bg-card-elevated: #EBF5EF;
  --bg-mint-soft: #E6F4EC;
  --bg-mint-glow: rgba(16, 185, 129, 0.12);

  /* 翡翠与自然重音 */
  --emerald-primary: #059669;
  --emerald-bright: #10b981;
  --emerald-hover: #047857;
  --emerald-light: #d1fae5;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  
  --jade-crystal: #a7f3d0;
  --jade-border: rgba(16, 185, 129, 0.22);
  --jade-border-strong: rgba(5, 150, 105, 0.4);
  
  --moss-accent: #2e5a3c;
  --accent-gold: #b45309;
  --accent-gold-soft: #fef3c7;
  --accent-gold-glow: rgba(180, 83, 9, 0.15);

  /* 文字系统（浅色底下的高对比度深色文字） */
  --text-title: #0A291B;
  --text-heading: #103826;
  --text-body: #284436;
  --text-muted: #537564;
  --text-light-sub: #769686;

  /* 边框与阴影 */
  --border-light: rgba(16, 185, 129, 0.16);
  --border-card: rgba(16, 185, 129, 0.22);
  --border-hover: #10b981;
  
  --shadow-sm: 0 2px 8px rgba(10, 41, 27, 0.04);
  --shadow-card: 0 10px 30px -4px rgba(10, 41, 27, 0.06), 0 2px 8px rgba(16, 185, 129, 0.04);
  --shadow-hover: 0 18px 42px -6px rgba(10, 41, 27, 0.12), 0 0 24px rgba(16, 185, 129, 0.18);
  --shadow-glow: 0 0 35px rgba(16, 185, 129, 0.22);

  /* 几何与切面 */
  --radius-leaf: 22px 6px 22px 6px;
  --radius-leaf-reverse: 6px 22px 6px 22px;
  --radius-mineral: 14px;
  --radius-pill: 9999px;

  /* 动效 */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-body);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-main);
  color: var(--text-body);
}

/* 清新浅绿色微晶背景网格 */
.bio-matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 15% 18%, rgba(16, 185, 129, 0.14) 0%, transparent 48%),
    radial-gradient(circle at 85% 25%, rgba(167, 243, 208, 0.28) 0%, transparent 52%),
    radial-gradient(circle at 50% 80%, rgba(5, 150, 105, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #F5FAF6 0%, #EBF4EE 50%, #F0F6F2 100%);
}

.bio-matrix-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(5, 150, 105, 0.06) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  opacity: 0.85;
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

/* 顶部导航条 (Header & Nav) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(245, 250, 246, 0.92);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(10, 41, 27, 0.03);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 8px 24px rgba(10, 41, 27, 0.06);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-crystal-ring {
  width: 38px;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ring-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(5, 150, 105, 0.25));
  animation: logoBreath 6s ease-in-out infinite alternate;
}

@keyframes logoBreath {
  0% { transform: rotate(0deg) scale(0.98); }
  100% { transform: rotate(180deg) scale(1.02); }
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0A291B 20%, #059669 80%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.72rem;
  background: var(--bg-mint-soft);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: var(--emerald-primary);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.03em;
}

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

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--emerald-bright), var(--emerald-primary));
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-mineral);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.28);
  position: relative;
  overflow: hidden;
}

.btn-emerald::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4);
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

.btn-emerald:hover::before {
  opacity: 1;
  transform: rotate(30deg) translate(30%, 30%);
}

.btn-crystal {
  background: #ffffff;
  color: var(--emerald-primary);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-crystal:hover {
  background: var(--bg-mint-soft);
  border-color: var(--emerald-primary);
  color: var(--emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15);
}

.btn-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.35);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-mineral);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-title);
  cursor: pointer;
  padding: 8px;
}

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

/* ==========================================================================
   首屏 (Hero Section) - 浅绿色系质感呈现
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-card);
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.1);
}

.status-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald-primary);
  position: relative;
  box-shadow: 0 0 8px var(--emerald-bright);
}

.status-dot-pulse::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--emerald-primary);
  animation: pulseRing 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

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

.status-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--emerald-hover);
  letter-spacing: 0.02em;
}

.status-metric {
  color: var(--accent-gold);
  font-weight: 800;
  border-left: 1px solid var(--border-light);
  padding-left: 10px;
  margin-left: 2px;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text-title);
}

.hero-title .highlight-gradient {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 185, 129, 0.16);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
}

.guarantee-item svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-primary);
}

/* 首屏交互式翡翠能量环容器 */
.hero-visual-stage {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emerald-ring-canvas-container {
  position: relative;
  width: 480px;
  height: 480px;
  max-width: 100%;
}

#emeraldRingCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 10px 30px rgba(16, 185, 129, 0.22));
}

/* 交互式线路加速与状态切换控制器浮层 */
.simulation-control-box {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-mineral);
  padding: 12px 20px;
  box-shadow: 0 10px 30px rgba(10, 41, 27, 0.1);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  width: max-content;
  max-width: 90%;
}

.simulation-info {
  display: flex;
  flex-direction: column;
}

.sim-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sim-status {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--emerald-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-btn {
  background: var(--bg-mint-soft);
  border: 1px solid var(--emerald-primary);
  color: var(--emerald-hover);
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sim-btn:hover {
  background: var(--emerald-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

/* ==========================================================================
   浅色叶片切面与卡片规范
   ========================================================================== */
.leaf-facet-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-leaf);
  padding: 34px 28px;
  transition: var(--transition-smooth);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.leaf-facet-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, transparent 50%, rgba(16, 185, 129, 0.1) 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}

.leaf-facet-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

/* 矿石标签 */
.mineral-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 11px;
  background: var(--bg-mint-soft);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--emerald-hover);
  border-radius: 6px 2px 6px 2px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.mineral-badge.gold {
  background: var(--accent-gold-soft);
  border-color: rgba(180, 83, 9, 0.25);
  color: var(--accent-gold);
}

/* ==========================================================================
   核心优势 (Core Advantages)
   ========================================================================== */
.section-padding {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.45rem;
  line-height: 1.25;
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: 16px;
}

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

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

.advantage-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-mineral);
  background: var(--bg-mint-soft);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--emerald-primary);
}

.advantage-icon-wrapper svg {
  width: 30px;
  height: 30px;
}

.advantage-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.68;
}

/* ==========================================================================
   实时网络健康度与节点控制台 (Real-time Network Console)
   ========================================================================== */
.network-console-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 34px;
  margin-top: 50px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.console-meta-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.meta-stat-item {
  display: flex;
  flex-direction: column;
}

.meta-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--emerald-primary);
  font-family: monospace;
}

.node-cards-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.node-crystal-item {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-card);
  border-radius: 12px 3px 12px 3px;
  padding: 16px 14px;
  transition: var(--transition-smooth);
}

.node-crystal-item:hover {
  border-color: var(--emerald-primary);
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15);
}

.node-flag-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.node-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-heading);
}

.node-ping-indicator {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-primary);
  font-family: monospace;
}

.node-stat-bar {
  width: 100%;
  height: 5px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.node-stat-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 3px;
}

.node-subtext {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

/* ==========================================================================
   套餐价格 (SaaS Pricing Plans)
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, #F2F8F4 0%, #E8F4EC 50%, #F2F8F4 100%);
  position: relative;
}

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

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  background: #ffffff;
  border: 2px solid var(--emerald-primary);
  box-shadow: 0 14px 40px rgba(5, 150, 105, 0.16);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--emerald-primary);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-bright));
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.pricing-tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 6px;
}

.pricing-tier-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald-primary);
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-title);
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.45;
}

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

.pricing-feature-item strong {
  color: var(--text-title);
}

/* ==========================================================================
   适合人群 (Target Audience)
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-leaf);
  padding: 30px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.audience-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

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

.audience-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--bg-mint-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.audience-avatar svg {
  width: 26px;
  height: 26px;
}

.audience-role {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-heading);
}

.audience-match-tag {
  font-size: 0.74rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.audience-body {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.68;
}

/* ==========================================================================
   教程站 (Clash & Clash Party Tutorials)
   ========================================================================== */
.tutorial-tabs-header {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--text-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-mineral);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.tab-btn svg {
  width: 20px;
  height: 20px;
  color: var(--emerald-primary);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--bg-mint-soft);
  border-color: var(--emerald-primary);
  color: var(--emerald-hover);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.18);
}

.tab-content-panel {
  display: none;
}

.tab-content-panel.active {
  display: block;
}

.tutorial-step-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.tutorial-step-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-leaf);
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.step-number-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-bright));
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
}

.code-snippet-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--emerald-hover);
  margin-top: 14px;
  word-break: break-all;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copy-mini-btn {
  background: var(--bg-mint-soft);
  border: 1px solid var(--emerald-primary);
  color: var(--emerald-primary);
  cursor: pointer;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.copy-mini-btn:hover {
  background: var(--emerald-primary);
  color: #ffffff;
}

/* ==========================================================================
   用户真实评价 (Testimonials)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-leaf-reverse);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.68;
  margin-bottom: 20px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--emerald-primary);
  background: var(--bg-mint-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-hover);
  font-weight: 800;
}

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

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

/* ==========================================================================
   常见问题 FAQ (Accordion)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--emerald-primary);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: var(--text-title);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--emerald-primary);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 26px;
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
  max-height: 600px;
}

/* ==========================================================================
   文章目录 / 知识库 (Articles Hub Preview)
   ========================================================================== */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-leaf);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  text-decoration: none;
  box-shadow: var(--shadow-card);
}

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

.article-cover-header {
  height: 120px;
  background: linear-gradient(135deg, #e6f5ec 0%, #d1fae5 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.article-cover-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(5, 150, 105, 0.12) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

.article-cat-badge {
  position: relative;
  z-index: 2;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--emerald-hover);
  background: #ffffff;
  padding: 4px 11px;
  border-radius: 4px;
  border: 1px solid rgba(5, 150, 105, 0.3);
  box-shadow: 0 2px 6px rgba(10, 41, 27, 0.05);
}

.article-body-content {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.45;
  margin-bottom: 10px;
}

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

.article-snippet {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 18px;
  flex-grow: 1;
}

.article-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   底栏 (Footer & Sitemap)
   ========================================================================== */
.site-footer {
  background: #0A261A;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  color: #d1fae5;
  padding-top: 70px;
  padding-bottom: 40px;
  position: relative;
}

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

.footer-brand-desc {
  font-size: 0.9rem;
  color: #a7f3d0;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

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

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #94d8b6;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: #84c7a5;
}

.footer-compliance-text {
  max-width: 620px;
  line-height: 1.6;
}

/* ==========================================================================
   文章详情页排版 (Article Detail Typography)
   ========================================================================== */
.article-header-hero {
  padding-top: 150px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #E6F4EC 0%, #F2F8F4 100%);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-weight: 600;
}

.breadcrumb-nav a {
  color: var(--emerald-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumb-nav a:hover {
  color: var(--emerald-hover);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.article-hero-title {
  font-size: 2.5rem;
  line-height: 1.25;
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: 18px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  font-weight: 600;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.article-main-content {
  font-size: 1.05rem;
  line-height: 1.88;
  color: var(--text-body);
}

.article-main-content h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-title);
  margin-top: 48px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-main-content h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 24px;
  background: var(--emerald-primary);
  border-radius: 3px;
}

.article-main-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 32px;
  margin-bottom: 14px;
}

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

.article-main-content ul, .article-main-content ol {
  margin-left: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-main-content li {
  line-height: 1.75;
}

.article-main-content blockquote {
  background: var(--bg-card-subtle);
  border-left: 4px solid var(--emerald-primary);
  padding: 18px 24px;
  margin: 26px 0;
  border-radius: 0 12px 12px 0;
  color: var(--emerald-hover);
  font-weight: 600;
  font-style: italic;
}

.article-main-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
}

.article-main-content th, .article-main-content td {
  padding: 15px 18px;
  border: 1px solid var(--border-light);
  text-align: left;
  font-size: 0.94rem;
}

.article-main-content th {
  background: var(--bg-mint-soft);
  color: var(--text-title);
  font-weight: 800;
}

.article-main-content tr:nth-child(even) {
  background: #fbfdfc;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-sticky-widget {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-mineral);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.sidebar-widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.sidebar-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-article-item a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.48;
  display: block;
  transition: var(--transition-smooth);
}

.sidebar-article-item a:hover {
  color: var(--emerald-primary);
  padding-left: 3px;
}

/* 法律条款页面 */
.legal-page-container {
  padding-top: 140px;
  padding-bottom: 80px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  font-size: 2.2rem;
  color: var(--text-title);
  margin-bottom: 24px;
  font-weight: 900;
}

.legal-card h2 {
  font-size: 1.4rem;
  color: var(--emerald-primary);
  margin-top: 32px;
  margin-bottom: 14px;
  font-weight: 800;
}

.legal-card p {
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.85;
}

/* ==========================================================================
   响应式断点适配 (Media Queries)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group, .hero-guarantee {
    justify-content: center;
  }

  .advantages-grid, .pricing-grid, .audience-grid, .articles-preview-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .node-cards-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .tutorial-step-flow {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .article-layout-grid {
    grid-template-columns: 1fr;
  }
}

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

  .section-title {
    font-size: 1.85rem;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: #ffffff;
    flex-direction: column;
    padding: 30px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .nav-menu.open {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .advantages-grid, .pricing-grid, .audience-grid, .articles-preview-grid, .testimonials-grid, .node-cards-row, .tutorial-step-flow {
    grid-template-columns: 1fr;
  }

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

  .hero-visual-stage {
    height: 380px;
  }

  .emerald-ring-canvas-container {
    width: 320px;
    height: 320px;
  }
  
  .legal-card {
    padding: 24px;
  }
}
