/* ==========================================================================
   吹雪云 (ChuiXueCloud) 官网信息中心 - 方案04: 轻动漫·角色旅程
   设计基调: 低饱和樱花粉、温暖奶白、炭灰高对比正文、轻灵二次元雪精灵吉祥物
   无障碍: WCAG 2.1 AA 级对比度 (>=4.5:1), 44x44px 触控区, 键盘聚焦高亮
   ========================================================================== */

:root {
  /* 品牌核心色彩 - 轻动漫低饱和粉与奶白 */
  --bg-creamy: #FAF7F5;          /* 温暖奶白背景 */
  --bg-card: #FFFFFF;            /* 纯白卡片表面 */
  --bg-card-alt: #F4EFEA;        /* 次级奶白底色 */
  --primary-pink: #D9728E;       /* 核心樱花粉点睛色 */
  --primary-pink-hover: #C65A76; /* 核心粉悬浮加深 */
  --primary-pink-soft: #F7EBEF;  /* 柔粉轻背景 */
  --primary-pink-border: #ECC8D3;/* 柔粉边框线 */
  --accent-snow: #7E97B8;        /* 冰雪晴蓝辅色 (中和甜度) */
  --accent-snow-soft: #EEF3F8;   /* 冰雪淡蓝背景 */
  
  /* 文字与排版色彩 - 严格确保无障碍高对比度 */
  --text-main: #2A272A;          /* 炭灰主文字 (对比度 > 10:1) */
  --text-muted: #5E565D;         /* 稳重茶灰次级字 (对比度 > 5.5:1) */
  --text-light: #7E747C;         /* 辅助信息小字 */
  --text-white: #FFFFFF;         /* 反白文字 */

  /* 边框、阴影与圆角 */
  --border-subtle: #E8DFD8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(90, 60, 70, 0.04);
  --shadow-md: 0 8px 24px rgba(90, 60, 70, 0.08);
  --shadow-hover: 0 12px 32px rgba(217, 114, 142, 0.16);

  /* 布局与层级 */
  --max-width: 1200px;
  --header-height: 72px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-creamy);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 减少动效模式无障碍支持 */
@media (prefers-reduced-motion: reduce) {
  *, *::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: -100px;
  left: 16px;
  background: var(--text-main);
  color: var(--text-white);
  padding: 12px 24px;
  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(--primary-pink);
}

/* 键盘焦点可见性 */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--primary-pink);
  outline-offset: 2px;
}

/* 通用容器 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(250, 247, 245, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--primary-pink-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
  min-height: 44px;
}

.site-logo svg, .site-logo img {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.site-logo:hover svg, .site-logo:hover img {
  transform: rotate(30deg) scale(1.05);
}

.site-logo span {
  letter-spacing: -0.02em;
}

.logo-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--primary-pink-soft);
  color: var(--primary-pink);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-pink-border);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

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

/* 搜索栏组件 */
.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 180px;
  height: 40px;
  padding: 6px 36px 6px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  font-size: 0.85rem;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.search-input:focus {
  width: 230px;
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(217, 114, 142, 0.15);
}

.search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  color: var(--primary-pink);
}

/* 移动端菜单切换按钮 */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-pink);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(217, 114, 142, 0.35);
}

.btn-primary:hover {
  background: var(--primary-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 114, 142, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--primary-pink-border);
}

.btn-secondary:hover {
  background: var(--primary-pink-soft);
  color: var(--primary-pink);
  border-color: var(--primary-pink);
}

/* Hero 首屏核心区 */
.hero-section {
  padding: 48px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(247, 235, 239, 0.7) 0%, rgba(250, 247, 245, 0) 100%);
}

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

.hero-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-pink-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

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

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(217, 114, 142, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* 官方最低价专属展示条 (紧随标题下方) */
.hero-lowest-price-banner {
  background: #FFFDFD;
  border: 1.5px solid var(--primary-pink-border);
  border-left: 5px solid var(--primary-pink);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lowest-price-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lowest-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-pink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lowest-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.lowest-price-val .price-num {
  color: var(--primary-pink);
  font-size: 1.65rem;
}

.lowest-price-val .price-cycle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.lowest-price-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero CTA 按钮组 */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-security-note {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.82rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.hero-security-note span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 轻动漫吉祥物雪精灵插画区 (带专属卡片飘雪特效) */
.hero-mascot-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FDF7FA 100%);
  border: 2px solid var(--primary-pink-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden; /* 保证飘雪粒子局限在卡片内 */
}

/* 卡片内部独立浪漫飘雪层 */
.snow-fall-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.snowflake {
  position: absolute;
  top: -24px;
  color: #ECC8D3;
  text-shadow: 0 0 6px rgba(236, 200, 211, 0.8);
  user-select: none;
  animation-name: snowfall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* 错落有致的雪花粒子参数 */
.snowflake.s1  { left: 6%;  font-size: 14px; animation-duration: 5.2s; animation-delay: 0s;   opacity: 0.65; }
.snowflake.s2  { left: 16%; font-size: 19px; animation-duration: 6.8s; animation-delay: 1.8s; opacity: 0.85; }
.snowflake.s3  { left: 28%; font-size: 11px; animation-duration: 4.5s; animation-delay: 3.2s; opacity: 0.55; }
.snowflake.s4  { left: 40%; font-size: 16px; animation-duration: 6.0s; animation-delay: 0.8s; opacity: 0.75; }
.snowflake.s5  { left: 52%; font-size: 13px; animation-duration: 5.5s; animation-delay: 2.4s; opacity: 0.60; }
.snowflake.s6  { left: 64%; font-size: 20px; animation-duration: 7.2s; animation-delay: 1.2s; opacity: 0.90; }
.snowflake.s7  { left: 75%; font-size: 12px; animation-duration: 4.8s; animation-delay: 3.6s; opacity: 0.50; }
.snowflake.s8  { left: 86%; font-size: 17px; animation-duration: 6.4s; animation-delay: 0.3s; opacity: 0.80; }
.snowflake.s9  { left: 94%; font-size: 14px; animation-duration: 5.8s; animation-delay: 2.1s; opacity: 0.70; }
.snowflake.s10 { left: 22%; font-size: 12px; animation-duration: 5.0s; animation-delay: 4.0s; opacity: 0.60; }
.snowflake.s11 { left: 48%; font-size: 18px; animation-duration: 6.6s; animation-delay: 2.9s; opacity: 0.75; }
.snowflake.s12 { left: 82%; font-size: 10px; animation-duration: 4.2s; animation-delay: 1.5s; opacity: 0.50; }

@keyframes snowfall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  50% {
    transform: translateY(140px) translateX(12px) rotate(180deg);
  }
  85% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(300px) translateX(-8px) rotate(360deg);
    opacity: 0;
  }
}

.mascot-avatar {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: floatMascot 4s ease-in-out infinite;
}

@keyframes floatMascot {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* 挥手招手萌萌微动效 */
.mascot-waving-arm {
  transform-origin: 135px 105px;
  animation: waveHand 2.4s ease-in-out infinite;
}

@keyframes waveHand {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-14deg);
  }
  50% {
    transform: rotate(8deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

/* 星星微闪动效 */
.mascot-sparkle {
  animation: sparkleTwinkle 2s ease-in-out infinite alternate;
}
.mascot-sparkle.delay {
  animation-delay: 1s;
}

@keyframes sparkleTwinkle {
  0% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.mascot-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

/* 雪宝头像点击交互按钮 */
.mascot-avatar-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-full);
  outline-offset: 4px;
  transition: transform 0.25s ease;
}

.mascot-avatar-btn:hover {
  transform: scale(1.03);
}

.mascot-avatar-btn:active {
  transform: scale(0.97);
}

.mascot-click-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  top: 10px;
  right: -6px;
  background: linear-gradient(135deg, var(--primary-pink) 0%, #E87290 100%);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(217, 114, 142, 0.4);
  z-index: 3;
  animation: hintPulse 2s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
}

@keyframes hintPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.mascot-speech {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--primary-pink-border);
  display: inline-block;
  line-height: 1.5;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(217, 114, 142, 0.06);
  transition: opacity 0.25s ease;
}

/* 点击雪宝展开的专属向导菜单面板 */
.mascot-menu-panel {
  display: none;
  background: #FFFFFF;
  border: 1.5px solid var(--primary-pink-border);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  margin-top: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(217, 114, 142, 0.12);
  text-align: left;
  animation: panelSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-menu-panel.is-active {
  display: block;
}

@keyframes panelSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mascot-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--primary-pink-soft);
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.mascot-menu-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-pink);
  display: flex;
  align-items: center;
  gap: 5px;
}

.mascot-menu-close {
  background: transparent;
  border: none;
  font-size: 0.76rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  min-height: 24px;
}
.mascot-menu-close:hover {
  color: var(--primary-pink);
  background: var(--primary-pink-soft);
}

.mascot-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mascot-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-creamy);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  min-height: 44px;
}

.mascot-menu-item:hover {
  background: var(--primary-pink-soft);
  border-color: var(--primary-pink);
  color: var(--primary-pink);
  transform: translateY(-1px);
}

.mascot-menu-item .item-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.mascot-menu-item .item-text {
  line-height: 1.25;
}

.mascot-menu-item .item-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
}

/* 热门套餐区 */
.featured-plans-section {
  padding: 40px 0 60px;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-pink);
  background: var(--primary-pink-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--primary-pink-border);
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* 热门卡片网格 */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

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

.plan-badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-pink);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(217, 114, 142, 0.4);
}

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

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

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

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

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

.plan-price-unit {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

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

.plan-features li svg {
  flex-shrink: 0;
  color: var(--primary-pink);
}

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

/* 三步角色旅程区 */
.journey-section {
  padding: 60px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.step-card {
  background: var(--bg-creamy);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: all 0.25s ease;
}

.step-card:hover {
  border-color: var(--primary-pink-border);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-pink);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(217, 114, 142, 0.3);
}

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

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 全量套餐对比表格区 */
.all-plans-section {
  padding: 60px 0;
}

.table-responsive-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

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

.plans-table caption {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 16px 20px;
  background: var(--primary-pink-soft);
  text-align: left;
  border-bottom: 1.5px solid var(--primary-pink-border);
}

.plans-table th, .plans-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.plans-table th {
  background: #FDFBF9;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.plans-table tr:hover td {
  background: rgba(247, 235, 239, 0.4);
}

.plans-table td.price-cell {
  font-weight: 700;
  color: var(--primary-pink);
  white-space: nowrap;
}

.table-source-note {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* 知识文章聚合与卡片 */
.articles-preview-section {
  padding: 60px 0;
  background: var(--bg-card-alt);
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

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

.article-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-pink);
  background: var(--primary-pink-soft);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}

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

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

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

/* FAQ 常见问题 (details/summary 纯HTML原生) */
.faq-section {
  padding: 60px 0;
}

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

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

.faq-item[open] {
  border-color: var(--primary-pink-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  min-height: 44px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary-pink);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(232, 223, 216, 0.4);
  padding-top: 14px;
}

/* 文章正文页面通用排版 */
.article-page-wrap {
  padding: 48px 0 80px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary-pink);
  text-decoration: underline;
}

.breadcrumbs span.current {
  color: var(--text-main);
  font-weight: 600;
}

.article-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

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

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.content-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-main);
  max-width: 820px;
}

.content-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-pink-soft);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.content-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.content-body p {
  margin-bottom: 18px;
}

.content-body ul, .content-body ol {
  margin: 0 0 20px 24px;
}

.content-body li {
  margin-bottom: 8px;
}

.content-body code {
  background: var(--primary-pink-soft);
  color: var(--primary-pink-hover);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  font-family: Consolas, Monaco, monospace;
}

.content-body pre {
  background: #252227;
  color: #F8F5F8;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 20px 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.content-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.callout-box {
  background: var(--primary-pink-soft);
  border-left: 4px solid var(--primary-pink);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
}

.callout-box.info {
  background: var(--accent-snow-soft);
  border-left-color: var(--accent-snow);
}

.callout-title {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 官方 CTA 横幅组件 */
.official-cta-box {
  background: linear-gradient(135deg, #FFFDFD 0%, #FAF0F4 100%);
  border: 2px solid var(--primary-pink-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}

.official-cta-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.official-cta-box p {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 20px;
}

/* 页脚 Footer */
.site-footer {
  margin-top: auto;
  background: #262227;
  color: #DDD6DD;
  padding: 48px 0 24px;
  font-size: 0.9rem;
}

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

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 24px;
}

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

.footer-brand-desc {
  font-size: 0.85rem;
  color: #A89FA7;
  margin-top: 4px;
}

/* 严格限定页脚仅4个入口 */
.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #DDD6DD;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--primary-pink);
  text-decoration: underline;
}

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

/* 响应式断点控制 */
@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-mascot-card {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
    padding: 24px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  .journey-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-creamy);
    border-bottom: 1px solid var(--primary-pink-border);
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .search-input {
    width: 100%;
  }
  .search-input:focus {
    width: 100%;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-lowest-price-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
