/* ===================================================================
   山水云 (SHANSHUIYUN) - 现代东方数字美学样式库
   Modern Eastern Digital Aesthetics · Deep Ink Slate · Mineral Cyan & Jade Green
   =================================================================== */

:root {
  /* 基础字体与圆角 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --header-height: 74px;

  /* 东方矿物色彩系统 (Mineral Pigments) */
  --mineral-cyan: #149174;         /* 传统矿物青 */
  --mineral-cyan-deep: #0e6b55;
  --jade-green: #4ebd8f;           /* 翡翠绿 / 碧玉色 */
  --jade-light: #70dfb2;
  --gold-leaf: #d4af37;            /* 泥金 / 金箔色 */
  --gold-leaf-hover: #f3cf65;

  /* 默认：深水墨砚石黑夜模式 (Deep Ink Slate Dark) */
  --bg-body: #0a0f0d;
  --bg-surface: #101815;
  --bg-surface-elevated: #16221e;
  --bg-surface-glass: rgba(10, 15, 13, 0.82);
  --bg-card: rgba(16, 26, 22, 0.65);
  --bg-card-hover: rgba(22, 36, 30, 0.88);
  --bg-badge: rgba(20, 145, 116, 0.16);
  --text-badge: #5eead4;

  --text-primary: #f0fdf4;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-light: rgba(78, 189, 143, 0.15);
  --border-subtle: rgba(212, 175, 55, 0.2);
  --border-hover: rgba(78, 189, 143, 0.45);
  --border-gold: rgba(212, 175, 55, 0.4);

  --primary: #149174;
  --primary-glow: #4ebd8f;
  --primary-hover: #17a987;
  --primary-gradient: linear-gradient(135deg, #0e6b55 0%, #149174 50%, #4ebd8f 100%);
  --gold-gradient: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #f3cf65 100%);
  --card-gradient: linear-gradient(180deg, rgba(20, 32, 27, 0.8) 0%, rgba(12, 19, 16, 0.9) 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(20, 145, 116, 0.15);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.7), 0 0 24px rgba(78, 189, 143, 0.2);
  --shadow-glow: 0 0 30px rgba(78, 189, 143, 0.28);
  --shadow-ink-bleed: 0 0 25px rgba(20, 145, 116, 0.35), inset 0 0 16px rgba(78, 189, 143, 0.12);

  --hero-glow: radial-gradient(circle at 50% 20%, rgba(20, 145, 116, 0.25) 0%, rgba(78, 189, 143, 0.1) 40%, transparent 75%);
}

/* 白天模式 (Porcelain Jade & Ink Wash 瓷白水墨) */
[data-theme="light"] {
  --bg-body: #f4f8f6;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ebf3f0;
  --bg-surface-glass: rgba(244, 248, 246, 0.88);
  --bg-card: #ffffff;
  --bg-card-hover: #f0f7f4;
  --bg-badge: #dcfce7;
  --text-badge: #0f766e;

  --text-primary: #0f1f1a;
  --text-secondary: #334e45;
  --text-muted: #6b877e;

  --border-light: #d3e2db;
  --border-subtle: #c2d6ce;
  --border-hover: #149174;
  --border-gold: rgba(212, 175, 55, 0.6);

  --primary: #0f766e;
  --primary-glow: #149174;
  --primary-hover: #115e59;
  --primary-gradient: linear-gradient(135deg, #0f766e 0%, #149174 55%, #10b981 100%);
  --gold-gradient: linear-gradient(135deg, #a16207 0%, #ca8a04 50%, #eab308 100%);
  --card-gradient: linear-gradient(180deg, #ffffff 0%, #f4f9f6 100%);

  --shadow-sm: 0 2px 6px rgba(15, 31, 26, 0.05);
  --shadow-md: 0 8px 20px -3px rgba(15, 31, 26, 0.08), 0 2px 6px rgba(20, 145, 116, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(15, 31, 26, 0.12), 0 0 20px rgba(20, 145, 116, 0.15);
  --shadow-glow: 0 8px 26px -3px rgba(20, 145, 116, 0.25);
  --shadow-ink-bleed: 0 0 20px rgba(20, 145, 116, 0.2), inset 0 0 12px rgba(20, 145, 116, 0.06);

  --hero-glow: radial-gradient(circle at 50% 20%, rgba(20, 145, 116, 0.15) 0%, rgba(78, 189, 143, 0.08) 40%, transparent 75%);
}

/* ===================================================================
   基础排版与滚动行为
   =================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 流体光晕背景层 */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 960px;
  background: var(--hero-glow);
  pointer-events: none;
  z-index: 0;
}

/* 水墨微粒光晕光标跟随器 (Fluid Ripple / Cursor Follower) */
.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(78, 189, 143, 0.08) 0%, rgba(20, 145, 116, 0.03) 50%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.4s ease, transform 0.12s ease-out;
  opacity: 0;
}

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

img, svg {
  vertical-align: middle;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-badge);
  color: var(--text-badge);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  border: 1px solid var(--border-light);
  box-shadow: 0 0 16px rgba(78, 189, 143, 0.1);
}

.section-title {
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===================================================================
   导航栏 Header (Sleek Frosted Glass + Gold-Leaf Hover State)
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 145, 116, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* 导航项金箔浮光动画 (Gold-leaf trimmed hover states) */
.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 4px;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

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

/* 推荐资讯特殊金标高亮 */
.nav-link-special {
  color: var(--gold-leaf);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link-special::before {
  content: "✦";
  font-size: 0.75rem;
  color: var(--gold-leaf);
  animation: pulse-dot 2.5s infinite;
}

.nav-link-special:hover {
  color: var(--gold-leaf-hover);
}

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

/* 昼夜模式切换按钮 (精致晶莹半透明，原生SVG无缝切换) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(20, 145, 116, 0.1);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  color: var(--primary-glow);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.theme-icon-sun, .theme-icon-moon {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* 黑夜模式 (默认) 下：显示月亮 */
.theme-icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
.theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* 白天模式下：显示太阳 */
[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.mobile-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  background: transparent;
}

/* ===================================================================
   CTA 按钮设计规范
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: 0.65s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 145, 116, 0.5);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0d1411 !important;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* ===================================================================
   Hero 区域与 3D WebGL / Canvas Topography Mesh
   =================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
}

/* 交互式 3D 水墨山峦地形网格与丝绸河流 Canvas */
.topography-canvas-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

#topography-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(16, 26, 22, 0.75);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jade-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  max-width: 100%;
}

[data-theme="light"] .hero-pill {
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade-green);
  box-shadow: 0 0 10px var(--jade-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.75; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.75; }
}

.hero-title {
  font-size: clamp(1.15rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 22px;
  white-space: nowrap;
}

.hero-brand-name {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-right: 6px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #4ebd8f 0%, #149174 60%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 52px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 960px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
}

.stat-item {
  text-align: center;
  padding: 10px;
  border-right: 1px solid var(--border-light);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--jade-green);
  line-height: 1.2;
}

[data-theme="light"] .stat-value {
  color: var(--primary);
}

.stat-label {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===================================================================
   产品核心优势 (3个图文卡片 · 水墨晕染光效 Ink-Bleed Glow)
   =================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* 水墨晕染边缘光效 (Subtle Ink-bleed border glow) */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(20, 145, 116, 0.4), rgba(78, 189, 143, 0.1), rgba(212, 175, 55, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-ink-bleed);
}

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

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--bg-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jade-green);
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

[data-theme="light"] .feature-icon-wrapper {
  color: var(--primary);
}

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

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.35;
}

.feature-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li svg {
  color: var(--jade-green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===================================================================
   Bento 风格节点状态矩阵 (Bento-style Node Status Cards)
   含竹节律动式 Ping 延迟测速条 (Rhythmic Bamboo-Joint Progress Bars)
   =================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.bento-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-ink-bleed);
}

.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bento-region {
  display: flex;
  align-items: center;
  gap: 10px;
}

.region-flag {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(20, 145, 116, 0.15);
  border: 1px solid var(--border-light);
}

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

.bento-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jade-green);
  background: rgba(78, 189, 143, 0.15);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(78, 189, 143, 0.3);
}

.bento-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.ping-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ping-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--jade-green);
}

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

/* 竹节律动式延迟进度条 (Bamboo-Joint Progress Bar) */
.bamboo-meter {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 12px;
  padding: 2px;
  background: rgba(16, 26, 22, 0.5);
  border-radius: 6px;
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

[data-theme="light"] .bamboo-meter {
  background: rgba(220, 235, 228, 0.5);
}

.bamboo-joint {
  flex: 1;
  height: 6px;
  border-radius: 2px;
  background: rgba(78, 189, 143, 0.15);
  position: relative;
  transition: var(--transition);
}

.bamboo-joint.active {
  background: var(--jade-green);
  box-shadow: 0 0 8px rgba(78, 189, 143, 0.5);
}

.bamboo-joint.pulse {
  animation: bamboo-pulse 1.8s infinite ease-in-out;
}

@keyframes bamboo-pulse {
  0%, 100% { opacity: 0.7; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.35); box-shadow: 0 0 12px var(--jade-green); }
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bento-tag {
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

/* ===================================================================
   图卡大模块：流媒体支持 & AI 专线支持
   =================================================================== */
.showcase-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
  transition: var(--transition);
}

.showcase-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-ink-bleed);
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.showcase-info h2,
.showcase-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.showcase-info p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.75;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.logo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.logo-badge:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.logo-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-badge span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

.logo-badge small {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===================================================================
   参考网上真实套餐价格对比表 (Real-Market Referenced Pricing)
   =================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.pricing-card.featured {
  border-color: var(--primary-glow);
  background: var(--bg-surface);
  box-shadow: var(--shadow-ink-bleed);
  transform: scale(1.03);
  z-index: 2;
}

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

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #0d1411;
  padding: 5px 22px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.45);
  white-space: nowrap;
  width: max-content;
  max-width: 92%;
  z-index: 5;
}

.plan-header {
  margin-bottom: 24px;
  text-align: center;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.plan-price-wrap {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.plan-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jade-green);
  vertical-align: super;
}

[data-theme="light"] .plan-currency {
  color: var(--primary);
}

.plan-price {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

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

.plan-discount-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-leaf);
  background: rgba(212, 175, 55, 0.12);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  white-space: nowrap;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  color: var(--jade-green);
  flex-shrink: 0;
}

.plan-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.plan-features li.disabled svg {
  color: var(--text-muted);
}

.pricing-card .btn {
  width: 100%;
}

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

.review-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--gold-leaf);
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-badge);
  color: var(--jade-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

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

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

/* ===================================================================
   常见问题解答 FAQ
   =================================================================== */
.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

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

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

[data-theme="light"] .faq-question:hover {
  color: var(--primary);
}

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

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--jade-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 26px;
}

.faq-answer p {
  padding-bottom: 22px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
}

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

/* ===================================================================
   页脚 Footer (严格遵循：只保留四个标题，内容打开新页面)
   =================================================================== */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface);
  padding: 42px 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.footer-nav-link:hover {
  color: var(--jade-green);
  background: var(--bg-card-hover);
}

/* ===================================================================
   子页面通用与资讯文章样式
   =================================================================== */
.subpage-hero {
  padding: 64px 0 44px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  background: var(--card-gradient);
}

.subpage-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.subpage-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.subpage-content {
  max-width: 900px;
  margin: 50px auto 80px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.subpage-article h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.subpage-article p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.subpage-article ul, .subpage-article ol {
  margin: 14px 0 20px 24px;
  color: var(--text-secondary);
}

.subpage-article li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.info-alert {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.info-alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
}

.info-alert-success {
  background: rgba(78, 189, 143, 0.1);
  border: 1px solid rgba(78, 189, 143, 0.25);
  color: var(--jade-green);
}

.info-alert-info {
  background: rgba(20, 145, 116, 0.1);
  border: 1px solid rgba(20, 145, 116, 0.25);
  color: var(--jade-light);
}

/* 推荐资讯卡片流 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.news-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-ink-bleed);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--gold-leaf);
  margin-bottom: 12px;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-snippet {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jade-green);
}

.news-readmore:hover {
  color: var(--jade-light);
}

/* ===================================================================
   SEO 深度长文通用样式 (Table of Contents, FAQs, Related Posts)
   =================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a:hover {
  color: var(--jade-green);
}

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

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

/* 目录容器 (Table of Contents) */
.article-toc {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0 36px;
  box-shadow: var(--shadow-sm);
}

.article-toc-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc ol {
  margin: 0 0 0 20px;
  padding: 0;
}

.article-toc li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

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

.article-toc a:hover {
  color: var(--jade-green);
  text-decoration: underline;
}

/* 深度科普数据对比表格 */
.article-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
}

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

.article-table th, .article-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
}

.article-table th {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-weight: 700;
}

.article-table tr:nth-child(even) td {
  background: rgba(20, 145, 116, 0.03);
}

/* 文章内部 FAQ 模块 */
.article-faq-section {
  margin: 44px 0;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.article-faq-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.article-faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

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

.article-faq-a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* 相关阅读网格 (Related Posts) */
.related-posts-section {
  margin: 50px 0 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
}

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

.related-post-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.related-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.related-post-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.45;
  flex-grow: 1;
}

.related-post-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   响应式媒体查询 (@media)
   =================================================================== */
@media (max-width: 1024px) {
  .features-grid, .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: clamp(1.02rem, 4.3vw, 1.85rem);
    white-space: nowrap;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .features-grid, .bento-grid {
    grid-template-columns: 1fr;
  }

  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .subpage-content {
    padding: 24px;
  }

  .mobile-toggle-btn {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
  }

  .header-actions .btn {
    display: none;
  }

  .footer-nav-container {
    gap: 18px;
  }
}
