/**
 * dream-cloud-palace.css
 * 视觉风格：梦幻云宫 Dream Cloud Palace
 * 核心色调：白色玻璃宫殿、粉紫天空、缓慢云雾、高对比稳定阅读背景
 */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* 天空与云宫底色 */
  --bg-sky-top: #fcf8fd;
  --bg-sky-mid: #f5ebf8;
  --bg-sky-bottom: #eee4f5;

  /* 玻璃宫殿与卡片 */
  --card-bg: rgba(255, 255, 255, 0.90);
  --card-bg-solid: #ffffff;
  --card-border: rgba(216, 195, 240, 0.85);
  --card-shadow: 0 12px 36px -4px rgba(160, 130, 205, 0.12);
  --card-shadow-hover: 0 18px 42px -4px rgba(140, 100, 190, 0.20);

  /* 文字颜色 (确保 WCAG AAA 高对比度，严禁泛白发粉) */
  --text-main: #1b152f;
  --text-heading: #120b24;
  --text-muted: #534b6b;
  --text-light: #7a7194;

  /* 宫殿琉璃与梦幻粉紫强调色 */
  --brand-violet: #6d28d9;
  --brand-violet-hover: #5b21b6;
  --brand-pink: #db2777;
  --brand-pink-hover: #be185d;
  --brand-gradient: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  --brand-gradient-hover: linear-gradient(135deg, #6d28d9 0%, #be185d 100%);

  /* 辅助状态色 */
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --border-light: #e5dbf0;

  --container-max: 1200px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6, p, a, span, button {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-sky-top) 0%, var(--bg-sky-mid) 35%, var(--bg-sky-bottom) 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* 梦幻云宫背景缓慢云雾光晕 (桌面端渐进增强) */
.cloud-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud-aura-1 {
  position: absolute;
  top: -15%;
  left: 10%;
  width: 65vw;
  height: 65vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.18) 0%, rgba(244, 114, 182, 0) 70%);
  filter: blur(60px);
  animation: cloudDriftSlow 32s ease-in-out infinite alternate;
}

.cloud-aura-2 {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.20) 0%, rgba(167, 139, 250, 0) 70%);
  filter: blur(70px);
  animation: cloudDriftReverse 38s ease-in-out infinite alternate;
}

@keyframes cloudDriftSlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.06); }
  100% { transform: translate(-30px, 60px) scale(0.96); }
}

@keyframes cloudDriftReverse {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -30px) scale(1.05); }
  100% { transform: translate(30px, -50px) scale(0.95); }
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* 导航栏 (白色水晶玻璃条) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(180, 150, 220, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.brand-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand-pink);
  margin-left: 4px;
}

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

.nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  padding: 8px 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-violet);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

.mobile-nav-cta {
  display: none;
}

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

/* 按钮规范 (满足 44px 触控标准) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.38);
}

.btn-secondary {
  background: #ffffff;
  color: var(--brand-violet) !important;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(160, 130, 205, 0.08);
}

.btn-secondary:hover {
  border-color: var(--brand-violet);
  background: #faf7fd;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  font-size: 1.35rem;
  color: var(--text-heading);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

/* 主要内容区域 */
main {
  flex: 1;
  position: relative;
  z-index: 1;
}

/* 1. 云宫 Hero 首屏 */
.palace-hero {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--card-border);
  color: var(--brand-violet);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(140, 100, 190, 0.08);
}

.hero-pill-badge {
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.22;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

/* 首屏核心稳定性指标速览看板 */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.stat-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: left;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.stat-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* 通用板块规范 */
.section {
  padding: 64px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-pink);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 2. 指标深度说明板块 */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.metric-deep-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
}

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

.metric-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
}

.metric-unit {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  background: #f3e8ff;
  color: var(--brand-violet);
  border-radius: var(--radius-sm);
}

.metric-essence {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-pink);
  margin-bottom: 12px;
}

.metric-clarification {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* 3. 实用工具：测试记录整理器 */
.tool-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--card-shadow);
  max-width: 960px;
  margin: 0 auto;
}

.tool-intro {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.tool-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
}

.form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 16px; /* 严格保证 16px 防止 iOS Safari 聚焦时自动放大视口 */
  font-family: inherit;
  color: var(--text-main);
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-violet);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.14);
}

.tool-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.tool-output {
  margin-top: 24px;
  display: none;
}

.tool-output.show {
  display: block;
}

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

.output-textarea {
  width: 100%;
  min-height: 180px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 16px;
  background: #faf7fd;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  resize: vertical;
  line-height: 1.6;
}

/* 4. 六篇文章卡片流 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(167, 139, 250, 0.7);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.article-tag {
  background: #fdf2f8;
  color: var(--brand-pink);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

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

.article-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.article-title a:hover {
  color: var(--brand-violet);
}

.article-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-footer-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-violet);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.article-footer-link:hover {
  gap: 10px;
}

/* 5. 套餐选购板块 */
.plans-wrapper {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.plans-notice-box {
  background: #fefce8;
  border-left: 4px solid var(--accent-amber);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.65;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.plan-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  border-color: var(--brand-violet);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.12);
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.plan-price {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--brand-violet);
}

.plan-cycle {
  font-size: 0.85rem;
  color: var(--text-light);
}

.plan-specs {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.plan-spec-item {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  justify-content: space-between;
}

.plan-spec-item:last-child {
  border-bottom: none;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.plans-cta-center {
  text-align: center;
  padding-top: 12px;
}

/* 6. 真实评价空态板块 */
.reviews-box {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 42px 28px;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

.reviews-empty-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: inline-block;
  opacity: 0.85;
}

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

.reviews-empty-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* 7. FAQ 常见问题手风琴 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(160, 130, 205, 0.06);
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--brand-violet);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  min-height: 44px;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--brand-violet);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.72;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* 8. 页脚 */
.site-footer {
  margin-top: 80px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 36px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.68;
  margin-top: 16px;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-violet);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* 文章详情页样式 */
.article-header-box {
  padding: 48px 0 32px;
  max-width: 860px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

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

.breadcrumb-nav a:hover {
  color: var(--brand-violet);
}

.article-main-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-light);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.article-body-container {
  max-width: 860px;
  margin: 0 auto 64px;
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--card-shadow);
}

.article-content {
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--text-main);
}

.article-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border-light);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 28px 0 14px;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.6rem;
}

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

.article-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  background: #f5edf8;
  color: var(--brand-violet);
  border-radius: 4px;
}

.article-content pre {
  background: #1e152d;
  color: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
}

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

/* Callout 提示框 */
.callout {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin: 1.6rem 0;
  font-size: 0.95rem;
  line-height: 1.68;
}

.callout-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.callout-note {
  background: #f5f3ff;
  border-left: 4px solid var(--brand-violet);
  color: #3b1d75;
}

.callout-tip {
  background: #ecfdf5;
  border-left: 4px solid var(--accent-emerald);
  color: #064e3b;
}

.callout-warning {
  background: #fffbeb;
  border-left: 4px solid var(--accent-amber);
  color: #78350f;
}

.callout-important {
  background: #fdf2f8;
  border-left: 4px solid var(--brand-pink);
  color: #831843;
}

/* 表格规范与响应式水平滚动 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6rem 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f8f4fc;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #d8c3f0;
  border-radius: 3px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  min-width: 580px;
}

th {
  background: #f8f4fc;
  color: var(--text-heading);
  font-weight: 800;
  padding: 14px 16px;
  border-bottom: 1.5px solid var(--border-light);
  white-space: nowrap;
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background: #faf7fd;
}

/* 任务清单样式 */
.checklist-item {
  list-style: none;
  margin-left: -1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-box-icon {
  font-weight: 900;
  color: var(--brand-violet);
}

/* 文章底部导航与服务中心 CTA 卡片 */
.article-footer-cta {
  background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin-top: 48px;
}

.article-footer-cta h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.article-footer-cta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* 移动端与自适应优化 (360px, 390px, 430px, 768px) */
@media (max-width: 992px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* 移动端关闭复杂透明叠层与持续模糊动画，确保高性能顺畅滑动 */
  .cloud-backdrop {
    display: none;
  }

  .container {
    padding: 0 12px;
    max-width: 100%;
  }

  .header-inner {
    height: 58px;
  }

  .brand-logo {
    font-size: 0.95rem;
    gap: 6px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .desktop-header-cta {
    display: none !important;
  }

  .mobile-nav-cta {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
  }

  .mobile-nav-cta .btn {
    width: 100%;
    min-height: 44px;
    display: flex;
    justify-content: center;
    font-size: 0.95rem;
  }

  .site-header, .stat-card, .metric-deep-card, .tool-card,
  .article-card, .plans-wrapper, .reviews-box, .faq-item, .site-footer {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--card-bg-solid) !important;
  }

  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.3rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }

  .nav-menu {
    position: fixed;
    top: 58px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 0;
    border-bottom: 2px solid var(--card-border);
    box-shadow: 0 14px 32px rgba(120, 90, 160, 0.14);
    display: none;
    z-index: 999;
  }

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

  .nav-menu li {
    width: 100%;
    list-style: none;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px dashed var(--border-light);
  }

  .nav-menu .nav-link.active::after {
    display: none;
  }

  .container {
    padding: 0 14px;
    max-width: 100%;
  }

  .palace-hero {
    padding: 36px 0 28px;
  }

  .hero-pill {
    max-width: 100%;
    font-size: 0.78rem;
    padding: 4px 10px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.4;
  }

  .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.32;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

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

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

  .hero-stats-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-actions {
    flex-direction: column;
    gap: 12px;
  }

  .tool-actions .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .articles-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .plans-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 18px 18px;
    font-size: 0.92rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-body-container {
    padding: 24px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* 针对小屏无横向滚动安全兜底 (360px ~ 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.45rem !important;
  }

  .tool-card {
    padding: 20px 14px;
  }

  .plans-wrapper {
    padding: 20px 14px;
  }

  .section {
    padding: 44px 0;
  }
}

/* 遵循 prefers-reduced-motion 系统级减弱动态规范 */
@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;
  }
  .cloud-aura-1, .cloud-aura-2 {
    animation: none !important;
  }
}
