/* ==========================================================================
   龙猫云 (Totoro Cloud) - 吉卜力森系幻想风格样式表 (Ghibli-Inspired Fantasy UI)
   自然暖意草甸绿 (#2d5a27) · 盛夏向阳云朵乳白 (#fffdfa) · 橡果胡桃木质调 (#4a3525)
   纯原生 CSS · 纸质羊皮纸质感 · 仿生物理动效 · 毫秒级秒开
   ========================================================================== */

/* --- 全局色彩变量与自然调色盘 --- */
:root {
  /* 吉卜力自然色系 (默认白天模式：阳光穿透林冠的清晨草甸) */
  --forest-deep: #1b3817;
  --forest-primary: #2d5a27;      /* 暖意草甸深绿 */
  --forest-leaf: #3f7936;         /* 嫩叶鲜绿 */
  --forest-soft: #639855;         /* 苔藓柔绿 */
  --forest-mist: rgba(45, 90, 39, 0.08);

  --parchment-white: #fffdfa;     /* 盛夏向阳云朵乳白 */
  --parchment-cream: #fbf8f0;     /* 羊皮纸暖白 */
  --parchment-sand: #f4eee1;      /* 温暖林地砂土 */
  
  --earth-walnut: #4a3525;       /* 橡果胡桃木深色 */
  --earth-acorn: #7a5032;        /* 橡实暖棕 */
  --earth-bark: #a07855;         /* 树皮温和浅褐 */
  --earth-amber: #dca766;        /* 树脂琥珀金 */
  --sunset-warmth: #e76f51;       /* 吉卜力晚霞温橘 */

  --text-main: #27211b;          /* 天然树皮深木褐文字 */
  --text-sub: #544b41;           /* 柔和石木次级文字 */
  --text-muted: #8c8275;         /* 晨雾微光浅字 */

  --card-bg: rgba(255, 253, 250, 0.92);
  --card-border: #e6decb;
  --card-border-hover: #7a9f6a;
  --card-shadow: 0 10px 30px -6px rgba(45, 90, 39, 0.09), 0 4px 10px -2px rgba(74, 53, 37, 0.05);
  --card-shadow-hover: 0 20px 40px -10px rgba(45, 90, 39, 0.18), 0 8px 16px -4px rgba(74, 53, 37, 0.1);

  --nav-bg: rgba(255, 253, 250, 0.88);
  --nav-border: rgba(230, 222, 203, 0.7);

  --btn-primary-bg: linear-gradient(135deg, #2d5a27 0%, #3f7936 100%);
  --btn-primary-hover: linear-gradient(135deg, #22471d 0%, #33632b 100%);
  --btn-primary-shadow: 0 8px 24px rgba(45, 90, 39, 0.28);

  --btn-secondary-bg: #f5eedf;
  --btn-secondary-border: #d8cdb8;

  --badge-bg: rgba(45, 90, 39, 0.1);
  --badge-border: #9ec293;
  --badge-text: #2d5a27;

  --charm-wood-bg: linear-gradient(145deg, #f7efe1 0%, #e8dcbe 100%);
  --charm-wood-border: #c8b99d;

  --transition-gentle: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- 夜间模式：幽静神木之夜 (深蓝靛青神木林与夜光萤火虫) --- */
[data-theme="dark"] {
  --forest-deep: #0b1411;
  --forest-primary: #52964a;
  --forest-leaf: #6eb563;
  --forest-soft: #88c87e;
  --forest-mist: rgba(82, 150, 74, 0.14);

  --parchment-white: #131c18;
  --parchment-cream: #18241f;
  --parchment-sand: #1f2f29;

  --earth-walnut: #ecd9c6;
  --earth-acorn: #deb887;
  --earth-bark: #b89f82;
  --earth-amber: #f4c582;
  --sunset-warmth: #f28482;

  --text-main: #f5eedf;
  --text-sub: #c9c1b3;
  --text-muted: #878278;

  --card-bg: rgba(24, 36, 31, 0.86);
  --card-border: #2a3d34;
  --card-border-hover: #52964a;
  --card-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.7);

  --nav-bg: rgba(19, 28, 24, 0.88);
  --nav-border: rgba(42, 61, 52, 0.8);

  --btn-primary-bg: linear-gradient(135deg, #3f7936 0%, #52964a 100%);
  --btn-primary-hover: linear-gradient(135deg, #34662d 0%, #46843e 100%);
  --btn-primary-shadow: 0 8px 24px rgba(82, 150, 74, 0.35);

  --btn-secondary-bg: #22322b;
  --btn-secondary-border: #384e44;

  --badge-bg: rgba(82, 150, 74, 0.18);
  --badge-border: rgba(82, 150, 74, 0.45);
  --badge-text: #a8e69d;

  --charm-wood-bg: linear-gradient(145deg, #23342d 0%, #1a2822 100%);
  --charm-wood-border: #384e44;
}

/* --- 全局基础样式 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Serif SC", serif, sans-serif;
  background-color: var(--parchment-cream);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-gentle), color var(--transition-gentle);
}

/* 自然草甸与积雨云水彩背景纹理 (纯原生 CSS 渐变绘制) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(ellipse at 80% 10%, rgba(220, 167, 102, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 30%, rgba(63, 121, 54, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(45, 90, 39, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* 漂浮蒲公英与流萤画布 (轻量 Canvas) */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* --- 容器与布局 --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* --- 页眉导航栏 (Header) --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
  transition: all var(--transition-gentle);
}

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

/* 品牌 Logo (吉卜力龙猫森林图腾感) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest-primary);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  transition: transform var(--transition-gentle);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.logo-light {
  display: block;
}
.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}
[data-theme="dark"] .logo-dark {
  display: block;
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--card-border);
  opacity: 0.7;
}

.brand-cn-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest-primary);
  letter-spacing: 0.04em;
}

/* 导航目录 (包含首页、各板块锚点与推荐资讯) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all var(--transition-gentle);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--forest-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--forest-primary);
  background: var(--forest-mist);
}

.nav-links a:hover::after {
  width: 60%;
}

/* 推荐资讯高亮小徽章 */
.nav-badge-news {
  font-size: 0.75rem;
  background: var(--sunset-warmth);
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 4px;
  font-weight: bold;
}

/* 右侧操作区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 昼夜模式切换按钮 (复古森林铜镜/风铃质感，透明精致) */
.theme-toggle-btn {
  background: rgba(255, 255, 250, 0.5);
  border: 1px solid var(--card-border);
  color: var(--earth-acorn);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(74, 53, 37, 0.08);
  transition: all var(--transition-gentle);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .theme-toggle-btn {
  background: rgba(24, 36, 31, 0.7);
  color: var(--earth-amber);
}

.theme-toggle-btn:hover {
  border-color: var(--forest-soft);
  transform: rotate(20deg) scale(1.08);
  box-shadow: 0 4px 16px rgba(45, 90, 39, 0.2);
}

.theme-toggle-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.4s ease;
}

.icon-sun { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

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

/* --- 统一按钮 (CTA) 体系 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-gentle);
  white-space: nowrap;
  border: 1px solid transparent;
  min-height: 48px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: #fff !important;
  box-shadow: var(--btn-primary-shadow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(45, 90, 39, 0.35);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--text-main);
  border: 1px solid var(--btn-secondary-border);
}

.btn-secondary:hover {
  background: var(--parchment-sand);
  border-color: var(--earth-acorn);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1.08rem;
  min-height: 54px;
}

.btn-block {
  width: 100%;
}

/* --- 主视觉区 (Hero Section) --- */
.hero-section {
  padding: 95px 0 75px;
  text-align: center;
  position: relative;
}

/* 吉卜力风羊皮纸提示胶囊 */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--badge-border);
  color: var(--forest-primary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 20px;
  border-radius: 30px;
  margin-bottom: 26px;
  box-shadow: 0 4px 16px rgba(45, 90, 39, 0.08);
}

.hero-pill-leaf {
  width: 18px;
  height: 18px;
  color: var(--forest-leaf);
  animation: leafSway 3s ease-in-out infinite alternate;
}

@keyframes leafSway {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(12deg); }
}

/* 大标题必须包含‘龙猫云’品牌名 */
.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--text-main);
}

.hero-title .brand-highlight {
  color: var(--forest-primary);
  position: relative;
  display: inline-block;
}

.hero-title .brand-highlight::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(220, 167, 102, 0.35);
  border-radius: 6px;
  z-index: -1;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--forest-primary) 0%, var(--earth-acorn) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 简介文案 */
.hero-desc {
  max-width: 760px;
  margin: 0 auto 38px;
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* 信任指标徽章行 */
.hero-trust-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px dashed var(--card-border);
  max-width: 950px;
  margin: 0 auto;
}

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

.trust-item svg {
  color: var(--forest-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- 通用章节体系 --- */
.section {
  padding: 85px 0;
  position: relative;
}

.section-alt {
  background-color: var(--parchment-sand);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth-acorn);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* --- 产品核心优势 (3个自然纸实质感图文卡片) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px 20px 26px 22px; /* 柔和不对称手作羊皮纸圆角 */
  padding: 38px 30px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-gentle);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

/* 森林图腾图标盒 */
.feature-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px 22px 16px 20px;
  background: var(--forest-mist);
  color: var(--forest-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(6deg);
}

.feature-icon-box svg {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

.feature-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px dashed var(--card-border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feature-metric strong {
  color: var(--forest-primary);
  font-size: 1.15rem;
  font-weight: 800;
}

/* --- 森系悬挂木牌节点展示 (3D Pendulum 物理微摆动) --- */
.wood-charms-row {
  margin-top: 48px;
  padding: 24px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  text-align: center;
}

.wood-charms-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--earth-acorn);
  margin-bottom: 18px;
}

.charms-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.charm-item {
  background: var(--charm-wood-bg);
  border: 1px solid var(--charm-wood-border);
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 4px 10px rgba(74, 53, 37, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transform-origin: top center;
  transition: transform var(--transition-spring), box-shadow 0.3s ease;
  position: relative;
}

.charm-item::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #a07855;
  border-radius: 2px;
}

.charm-item:hover {
  transform: rotate(5deg) translateY(3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(74, 53, 37, 0.2);
}

.charm-flag {
  font-size: 1.1rem;
}

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

.charm-ping {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--forest-primary);
  background: rgba(45, 90, 39, 0.12);
  padding: 2px 6px;
  border-radius: 6px;
}

/* --- 流媒体与 AI 支持图卡区 --- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.showcase-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px 22px 24px 20px;
  padding: 40px 36px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-gentle), box-shadow var(--transition-gentle);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.showcase-badge {
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 16px;
  white-space: nowrap;
}

.badge-media {
  background: rgba(231, 111, 81, 0.15);
  color: var(--sunset-warmth);
  border: 1px solid rgba(231, 111, 81, 0.3);
}

.badge-ai {
  background: var(--forest-mist);
  color: var(--forest-primary);
  border: 1px solid var(--badge-border);
}

.showcase-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.showcase-desc {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 28px;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--parchment-sand);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all var(--transition-gentle);
}

.service-pill:hover {
  background: #fff;
  border-color: var(--forest-primary);
  color: var(--forest-primary);
  transform: translateY(-2px);
}

.service-pill svg {
  width: 18px;
  height: 18px;
}

.card-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--parchment-sand);
  border-radius: 14px;
  border-left: 4px solid var(--forest-primary);
  font-size: 0.92rem;
  color: var(--text-sub);
}

/* --- 套餐价格对比区 (真实市场参考价) --- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px 22px 26px 20px;
  padding: 40px 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-gentle);
}

.pricing-card.popular {
  border: 2px solid var(--forest-primary);
  box-shadow: 0 16px 40px -10px rgba(45, 90, 39, 0.22);
  transform: scale(1.03);
  z-index: 2;
}

.popular-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn-primary-bg);
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(45, 90, 39, 0.3);
  white-space: nowrap;
}

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

.pricing-sub {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  min-height: 48px;
}

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

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

.price-num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-main);
}

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

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--forest-primary);
  flex-shrink: 0;
}

/* 详细参数对比表 */
.comparison-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--card-border);
}

.comparison-table th {
  background: var(--parchment-sand);
  color: var(--text-main);
  font-weight: 800;
}

.comparison-table tbody tr:hover {
  background: var(--forest-mist);
}

.comparison-table .feature-col {
  width: 28%;
  font-weight: 700;
  color: var(--text-main);
}

.comparison-table .tier-col {
  width: 24%;
  text-align: center;
}

.comparison-table .tier-popular {
  background: rgba(45, 90, 39, 0.05);
  font-weight: 700;
  color: var(--forest-primary);
}

.check-icon {
  color: var(--forest-primary);
  font-weight: 900;
}

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

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-gentle), box-shadow var(--transition-gentle);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

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

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.review-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px dashed var(--card-border);
}

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest-mist);
  color: var(--forest-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--badge-border);
}

.user-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
}

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

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

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

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

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 26px;
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 1.75;
}

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

/* --- 森林行动召集区 (CTA Banner) --- */
.cta-banner {
  margin: 70px 0 20px;
  background: var(--btn-primary-bg);
  border-radius: 26px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 16px 40px rgba(45, 90, 39, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.12rem;
  max-width: 640px;
  margin: 0 auto 34px;
  opacity: 0.92;
  line-height: 1.7;
}

.cta-banner .btn-white {
  background: #fff;
  color: var(--forest-primary) !important;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-white:hover {
  background: var(--parchment-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* --- 页脚 (Footer) 严格按要求只保留四个标题 --- */
.site-footer {
  background-color: var(--parchment-sand);
  border-top: 1px solid var(--card-border);
  padding: 50px 0 42px;
  transition: background-color var(--transition-gentle);
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all var(--transition-gentle);
}

.footer-nav-link:hover {
  color: var(--forest-primary);
  background: var(--forest-mist);
}

.footer-copy {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- 独立信息页面与推荐资讯通用样式 --- */
.doc-page {
  padding: 65px 0 110px;
}

.doc-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 52px 46px;
  box-shadow: var(--card-shadow);
  max-width: 920px;
  margin: 0 auto;
}

.doc-header {
  border-bottom: 1px dashed var(--card-border);
  padding-bottom: 26px;
  margin-bottom: 38px;
}

.doc-header h1 {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

.doc-content section {
  margin-bottom: 38px;
}

.doc-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-content p, .doc-content li {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.doc-content ul {
  padding-left: 24px;
  margin-top: 12px;
}

.doc-content li {
  margin-bottom: 10px;
}

.callout-box {
  background: var(--parchment-sand);
  border-left: 4px solid var(--forest-primary);
  padding: 18px 22px;
  border-radius: 10px;
  margin: 20px 0;
  font-size: 0.96rem;
}

.callout-box.warning {
  border-left-color: var(--sunset-warmth);
  background: rgba(231, 111, 81, 0.08);
}

/* 资讯文章卡片列表 */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 24px;
}

.article-card {
  background: var(--parchment-white);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px 28px;
  transition: all var(--transition-gentle);
}

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

.article-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--forest-mist);
  color: var(--forest-primary);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
}

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

.article-summary {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 14px;
}

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

/* --- 响应式适配 (@media 媒体查询) --- */
@media (max-width: 992px) {
  .features-grid,
  .pricing-cards,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    padding: 26px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--nav-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-desc {
    font-size: 1.02rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .features-grid,
  .showcase-grid,
  .pricing-cards,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .showcase-card,
  .pricing-card,
  .review-card {
    padding: 28px 22px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .doc-box {
    padding: 32px 22px;
  }

  .doc-header h1 {
    font-size: 1.85rem;
  }
}

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

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

  .cta-banner {
    padding: 38px 20px;
  }

  .cta-banner h2 {
    font-size: 1.65rem;
  }
}

/* --- 长篇深度 SEO 科普文章通用排版体系 --- */
.article-detail-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 56px 48px;
  box-shadow: var(--card-shadow);
  max-width: 960px;
  margin: 0 auto;
}

.article-header {
  border-bottom: 1px dashed var(--card-border);
  padding-bottom: 28px;
  margin-bottom: 34px;
}

.article-header h1 {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 16px;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

/* 文章目录 (Table of Contents) */
.article-toc {
  background: var(--parchment-sand);
  border: 1px solid var(--card-border);
  border-left: 5px solid var(--forest-primary);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

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

.article-toc-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-toc-list li {
  margin: 0;
  font-size: 0.95rem;
}

.article-toc-list a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-gentle);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-toc-list a:hover {
  color: var(--forest-primary);
  text-decoration: underline;
}

/* 文章正文段落与层级 */
.article-body section {
  margin-bottom: 46px;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-primary);
  margin: 24px 0 12px;
}

.article-body p {
  font-size: 1.02rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 16px;
}

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

.article-body li {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 10px;
}

.article-body strong {
  color: var(--text-main);
}

.article-body a {
  color: var(--forest-primary);
  text-decoration: underline;
  font-weight: 600;
}

.article-body a:hover {
  color: var(--earth-acorn);
}

/* 正文内图文小贴士与高亮框 */
.article-callout {
  background: var(--parchment-sand);
  border-left: 4px solid var(--forest-primary);
  border-radius: 12px;
  padding: 18px 24px;
  margin: 24px 0;
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.75;
}

.article-callout.highlight {
  border-left-color: var(--earth-amber);
  background: rgba(220, 167, 102, 0.12);
}

/* 正文内嵌推广 CTA 卡片 */
.in-article-cta {
  background: var(--btn-primary-bg);
  color: #fff;
  border-radius: 20px;
  padding: 34px 30px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 12px 30px rgba(45, 90, 39, 0.25);
}

.in-article-cta h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.in-article-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  max-width: 600px;
  margin: 0 auto 20px;
}

.in-article-cta .btn-cta-gold {
  background: #fff;
  color: var(--forest-primary) !important;
  font-weight: 800;
  padding: 12px 30px;
  border-radius: 24px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-gentle);
}

.in-article-cta .btn-cta-gold:hover {
  transform: translateY(-2px);
  background: var(--parchment-white);
}

/* 文章 FAQ 模块 */
.article-faq-wrap {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-faq-item {
  background: var(--parchment-sand);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 24px;
}

.article-faq-q {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* 相关阅读模块 */
.related-posts-wrap {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px dashed var(--card-border);
}

.related-posts-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-post-card {
  background: var(--parchment-sand);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  transition: all var(--transition-gentle);
  display: flex;
  flex-direction: column;
}

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

.related-post-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest-primary);
  margin-bottom: 8px;
}

.related-post-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 8px;
  flex-grow: 1;
}

.related-post-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .article-detail-box {
    padding: 34px 22px;
  }
  .article-header h1 {
    font-size: 1.85rem;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

