/* ==========================================================================
   鹿语云 (luyu-yun.mom) - 清新自然·云境叙事 原生样式系统
   自然调色板：暖白 (Warm White) / 雾绿 (Foggy Sage) / 浅木暖沙 (Light Wood/Sand)
   ========================================================================== */

:root {
  /* 基础色彩 */
  --bg-primary: #FAF9F5;       /* 暖白柔光 */
  --bg-surface: #FFFFFF;       /* 纯净白板 */
  --bg-subtle: #F3EFEA;        /* 浅木暖沙底色 */
  --bg-sage-light: #EBF1EC;    /* 晨雾淡绿底色 */
  --bg-sage-soft: #DCE7DE;     /* 柔和雾绿 */
  
  /* 强调与文字色 */
  --primary-sage: #385E46;     /* 沉静森林墨绿 - 对比度极佳 */
  --primary-hover: #294634;    /* 墨绿悬停加深 */
  --accent-wood: #8C6D4F;      /* 质感暖木棕 */
  --accent-wood-hover: #73573C;
  --text-main: #232926;        /* 炭墨绿黑 - 正文可读性高 */
  --text-muted: #57635D;       /* 柔和次级字色 - 对比度 ≥ 4.8:1 */
  --text-light: #76857E;       /* 辅助微注释 */
  
  /* 边框与阴影 */
  --border-light: #E3DDD4;     /* 浅木色微边框 */
  --border-sage: #CAD8CE;      /* 淡绿边框 */
  --shadow-subtle: 0 4px 20px -2px rgba(45, 58, 50, 0.05);
  --shadow-hover: 0 10px 30px -4px rgba(45, 58, 50, 0.09);
  
  /* 字体系统 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  /* 布局容器与间距 */
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 尊重用户的平滑滚动与动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 无障碍 Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--primary-sage);
  color: #FFFFFF;
  padding: 10px 18px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--accent-wood);
}

/* 锚点偏移量，配合固定页眉 */
section, [id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

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

/* 排版基础 */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-main); }
p.lead { font-size: 1.125rem; color: var(--text-muted); line-height: 1.7; }

a {
  color: var(--primary-sage);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-hover);
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary-sage);
  outline-offset: 3px;
}

/* 顶栏 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--primary-sage);
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-sage);
  border-radius: 2px;
}

/* 站内简易本地搜索 */
.search-widget {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  font-family: inherit;
  font-size: 0.875rem;
  padding: 8px 14px 8px 34px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-main);
  width: 170px;
  min-height: 40px;
  transition: width 0.2s ease, border-color 0.2s ease;
}
.search-input:focus {
  width: 230px;
  outline: none;
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 3px rgba(56, 94, 70, 0.15);
}

.search-icon-btn {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 10px;
  max-height: 380px;
  overflow-y: auto;
  display: none;
  z-index: 1050;
}
.search-results-dropdown.active {
  display: block;
}
.search-result-item {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover, .search-result-item:focus {
  background: var(--bg-sage-light);
}
.search-result-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 3px;
  color: var(--primary-sage);
}
.search-result-snippet {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 按钮通用组件 (触控面积保证 >= 44x44px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 22px;
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--primary-sage);
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(56, 94, 70, 0.25);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 94, 70, 0.35);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--primary-sage) !important;
  border-color: var(--border-sage);
}
.btn-secondary:hover {
  background-color: var(--bg-sage-light);
  border-color: var(--primary-sage);
}

.btn-wood {
  background-color: var(--accent-wood);
  color: #FFFFFF !important;
}
.btn-wood:hover {
  background-color: var(--accent-wood-hover);
}

/* 首页 Hero 区域 (清新自然·云境叙事) */
.hero-section {
  position: relative;
  padding: 72px 0 54px;
  background-color: #FAF9F5;
  background-image: url('/images/hero-bg.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-clouds-bg {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-sage);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-sage);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-main);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 0 12px rgba(255, 255, 255, 0.6);
}
.hero-title .highlight {
  color: var(--primary-sage);
}

.hero-lead {
  font-size: 1.15rem;
  color: #1F2E24;
  font-weight: 500;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

/* 最低价提示栏 */
.lowest-price-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-sage);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-subtle);
  font-size: 0.95rem;
}
.price-pill {
  background: var(--bg-sage-light);
  color: var(--primary-sage);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 1rem;
}

/* 热门套餐推荐卡片网格 (3卡片，首屏可见) */
.featured-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
  text-align: left;
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-sage);
}

.plan-card.is-popular {
  border: 2px solid var(--primary-sage);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFA 100%);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--primary-sage);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 42px;
  margin-bottom: 16px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-light);
}

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

.plan-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

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

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

.plan-features li {
  font-size: 0.875rem;
  color: var(--text-main);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features li::before {
  content: "✓";
  color: var(--primary-sage);
  font-weight: bold;
}

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

/* 错位自然留版式模块 (非机械对称三卡片) */
.natural-narrative-section {
  padding: 72px 0;
}

.narrative-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.narrative-row.reversed {
  grid-template-columns: 0.85fr 1.15fr;
}

.narrative-text {
  padding-right: 16px;
}
.narrative-row.reversed .narrative-text {
  padding-right: 0;
  padding-left: 16px;
}

.narrative-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-wood);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.narrative-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-subtle);
}

.narrative-metric-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.metric-item {
  background: var(--bg-sage-light);
  padding: 16px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-sage);
}
.metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-sage);
  display: block;
}
.metric-label {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* 完整套餐表格容器 (窄屏必须横向平滑滚动) */
.full-table-section {
  padding: 64px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.table-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
}

.plans-full-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.plans-full-table caption {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  text-align: left;
  background: #FAF8F4;
  border-bottom: 1px solid var(--border-light);
}

.plans-full-table th, .plans-full-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.plans-full-table thead th {
  background-color: var(--bg-sage-light);
  color: var(--primary-sage);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.plans-full-table tbody tr:hover {
  background-color: #FAFDFB;
}

.table-subnote {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 12px;
}

/* 使用场景模块 */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.scenario-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
}

.scenario-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: inline-block;
}

/* 客户端配置引导聚合卡片 */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.client-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}
.client-box:hover {
  border-color: var(--primary-sage);
  transform: translateY(-2px);
}
.client-name {
  font-weight: 700;
  margin-bottom: 6px;
}
.client-meta {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* FAQ 模块 (使用原生 details/summary，默认 open，可键盘交互) */
.faq-section {
  padding: 64px 0;
}

.faq-list {
  max-width: 840px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  transition: border-color 0.2s ease;
}
details.faq-item[open] {
  border-color: var(--border-sage);
  background: #FAFDFB;
}

summary.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  padding: 4px 0;
}
summary.faq-question::-webkit-details-marker {
  display: none;
}
summary.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-sage);
  transition: transform 0.2s ease;
}
details[open] summary.faq-question::after {
  content: "−";
}

.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* 文章列表网格 (聚合页与首页精选通用) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-sage);
  box-shadow: var(--shadow-hover);
}

.article-category {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--accent-wood);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.article-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-main);
}
.article-card:hover .article-card-title {
  color: var(--primary-sage);
}

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

.article-readmore {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-sage);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 文章正文页面专有排版 */
.article-single-main {
  padding: 48px 0 64px;
}

.article-header {
  max-width: 820px;
  margin: 0 auto 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2D3631;
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 2.2rem 0 1rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 1.6rem 0 0.8rem;
}

.article-content ul, .article-content ol {
  margin: 0 0 1.4rem 1.5rem;
  padding-left: 0.5rem;
}

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

.article-content blockquote {
  background: var(--bg-sage-light);
  border-left: 4px solid var(--primary-sage);
  padding: 16px 20px;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-main);
  font-size: 0.95rem;
}

.article-content code {
  font-family: var(--font-mono);
  background: #EFECE6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  color: #A33D24;
}

.article-content pre {
  background: #242B27;
  color: #E2ECE5;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1.5rem 0;
}

.article-cta-box {
  background: linear-gradient(135deg, var(--bg-sage-light), #FFFFFF);
  border: 1px solid var(--border-sage);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 40px 0;
  text-align: center;
}

.article-nav-links {
  max-width: 820px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* 面包屑导航 Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--primary-sage);
  text-decoration: underline;
}
.breadcrumbs span[aria-current="page"] {
  color: var(--text-main);
  font-weight: 600;
}

/* 页脚 Footer */
.site-footer {
  margin-top: auto;
  background-color: #232926;
  color: #C5D1C9;
  padding: 48px 0 32px;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #36403A;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: #FFFFFF;
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #C5D1C9;
  text-decoration: none;
}
.footer-nav a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-disclaimer {
  color: #8E9E94;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #8E9E94;
}

/* 响应式断点适配 (360px, 390px, 768px, 1440px) */
@media (max-width: 992px) {
  .featured-plans-grid, .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .narrative-row, .narrative-row.reversed {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .narrative-text, .narrative-row.reversed .narrative-text {
    padding: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  .hero-title { font-size: 1.75rem; }
  
  .featured-plans-grid, .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .site-nav {
    gap: 10px;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.875rem;
    padding: 6px 2px;
  }
  
  .search-input {
    width: 105px;
    min-height: 36px;
    font-size: 0.8rem;
    padding: 6px 10px 6px 28px;
  }
  .search-input:focus {
    width: 140px;
  }
  .search-icon-btn {
    left: 8px;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .lowest-price-banner {
    flex-direction: column;
    text-align: center;
    padding: 12px 16px;
    gap: 8px;
  }
  .lowest-price-banner span {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-header {
    height: 56px;
  }
  .brand-logo {
    font-size: 1.05rem;
    gap: 6px;
  }
  .brand-icon {
    width: 28px;
    height: 28px;
  }
  .brand-icon img {
    width: 28px;
    height: 28px;
  }
  .site-nav {
    gap: 8px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-links a {
    font-size: 0.825rem;
  }
  .search-input {
    width: 80px;
    font-size: 0.775rem;
    padding: 4px 6px 4px 24px;
    min-height: 32px;
  }
  .search-input:focus {
    width: 115px;
  }
  .search-icon-btn svg {
    width: 13px;
    height: 13px;
  }
  
  .hero-section {
    padding: 36px 0 28px;
  }
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.3;
  }
  .hero-lead {
    font-size: 0.925rem;
    margin-bottom: 18px;
  }
  .plan-card {
    padding: 20px 16px;
  }
  .plan-amount {
    font-size: 1.85rem;
  }
  .narrative-card-box {
    padding: 24px 18px;
  }
  .narrative-metric-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .metric-item {
    padding: 12px;
  }
  
  .plans-full-table th, .plans-full-table td {
    padding: 10px 12px;
    font-size: 0.825rem;
  }
  .plans-full-table caption {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  
  /* 表格左滑轻提示 */
  .table-scroll-container::before {
    content: "↔ 左右滑动可查阅全部套餐数据";
    display: block;
    padding: 6px 12px;
    background: #F3EFEA;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: right;
    border-bottom: 1px solid var(--border-light);
  }
}
