/* ==========================================================================
   黄金鸭殿 Golden Duck - 视觉系统核心样式表
   品牌: cocoduck | 域名: coco-duck.website | 专题: 账户与隐私安全指南
   ========================================================================== */

:root {
  /* 基础色彩体系：黑金宫殿色彩 */
  --bg-primary: #0a0b0e;
  --bg-secondary: #12141a;
  --bg-surface: #181b24;
  --bg-surface-elevated: #202430;
  --bg-card: rgba(24, 27, 36, 0.85);

  /* 金色金属色阶体系 */
  --gold-primary: #d4af37;
  --gold-light: #f7e08b;
  --gold-dark: #997a15;
  --gold-gradient: linear-gradient(135deg, #f7e08b 0%, #d4af37 50%, #997a15 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(247, 224, 139, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  --gold-border: rgba(212, 175, 55, 0.3);
  --gold-border-hover: rgba(247, 224, 139, 0.6);
  --gold-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
  --gold-glow: 0 0 15px rgba(212, 175, 55, 0.35);

  /* 文字色彩（严格满足对比度要求） */
  --text-main: #f5f6f8;
  --text-muted: #abb2bf;
  --text-dim: #767d8a;
  --text-gold: #f3cf65;

  /* 功能状态色 */
  --color-success: #34d399;
  --color-warning: #fbbf24;
  --color-danger: #f87171;
  --color-info: #60a5fa;

  /* 布局与边界 */
  --max-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* 字体系统 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #171b26 0%, #0a0b0e 70%);
}

/* 链接标准 */
a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 头部导航条 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  text-decoration: none;
}

.brand-logo:hover {
  text-decoration: none;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: #0a0b0e;
  font-weight: 900;
  box-shadow: var(--gold-glow);
}

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

.brand-logo span.brand-sub {
  font-size: 0.75rem;
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.25rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
  text-decoration: none;
}

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

/* 规范 CTA 按钮 (严格 44px 级别以上) */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.75rem;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #0a0b0e !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
  filter: brightness(1.05);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--gold-light) !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--gold-border);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-cta-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-light);
  color: #fff !important;
}

/* 主内容容器 */
.main-content {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 黄金鸭殿 Hero 区域 */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-light);
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-title .text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.meta-item svg {
  color: var(--gold-primary);
}

/* 原创金属小鸭雕塑 (Golden Duck Sculpture) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.palace-sculpture-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 30%, #1f2330 0%, #0e1017 80%);
  border: 1px solid var(--gold-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
}

.palace-sculpture-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg at 50% 50%, rgba(212, 175, 55, 0) 0deg, rgba(212, 175, 55, 0.08) 180deg, rgba(212, 175, 55, 0) 360deg);
  animation: rotateGlow 25s linear infinite;
  pointer-events: none;
}

@keyframes rotateGlow {
  100% {
    transform: rotate(360deg);
  }
}

.metal-duck-svg {
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 8px 25px rgba(212, 175, 55, 0.35));
  position: relative;
  z-index: 1;
}

.sculpture-caption {
  margin-top: 1.25rem;
  position: relative;
  z-index: 1;
}

.sculpture-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sculpture-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* 通用区块标题 */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

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

/* 四大安全评估维度卡片 */
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.dimension-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.dim-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient-soft);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.dim-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.dim-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.dim-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-primary);
  width: fit-content;
}

/* 实用功能：虚构资料脱敏演练演示器 */
.tool-section {
  background: linear-gradient(180deg, rgba(20, 23, 31, 0.6) 0%, rgba(10, 11, 14, 0.8) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  padding: 2.5rem;
  margin: 1rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tool-header {
  margin-bottom: 2rem;
}

.tool-pill {
  font-size: 0.75rem;
  background: rgba(52, 211, 153, 0.15);
  color: var(--color-success);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tool-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

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

.tool-notice-box {
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--gold-primary);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.mask-demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: #0d0f14;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mask-pane {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pane-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pane-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.badge-raw {
  background: rgba(248, 113, 113, 0.15);
  color: var(--color-danger);
}

.badge-masked {
  background: rgba(52, 211, 153, 0.15);
  color: var(--color-success);
}

.demo-data-card {
  background: #141720;
  border-radius: var(--radius-sm);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.data-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.data-row:last-child {
  margin-bottom: 0;
}

.data-title {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.data-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  background: #0b0c10;
  word-break: break-all;
}

.val-raw {
  color: #f87171;
}

.val-masked {
  color: var(--color-success);
  font-weight: 600;
}

.tool-controls {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.toggle-mask-btn {
  background: var(--gold-gradient);
  color: #0a0b0e;
  border: none;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.toggle-mask-btn:hover {
  transform: translateY(-2px);
}

.tool-tip-text {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* 六篇隐私专题文章卡片展示 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

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

.article-category {
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 0.75rem;
}

.article-card-title a {
  color: inherit;
  text-decoration: none;
}

.article-card-title a:hover {
  color: var(--gold-light);
}

.article-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.article-card-footer a.read-more {
  color: var(--gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.article-card-footer a.read-more:hover {
  text-decoration: underline;
}

/* 深色会员套餐卡片 (高可读性、黑金质感) */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.plan-card {
  background: #141720;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--gold-shadow);
}

.plan-card.popular {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, #1d212c 0%, #12141a 100%);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold-gradient);
  color: #0a0b0e;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  min-height: 2.6em;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-currency {
  font-size: 1.25rem;
  color: var(--gold-light);
  font-weight: 700;
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

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

.price-annual-tag {
  font-size: 0.8rem;
  color: var(--gold-primary);
  margin-left: auto;
  background: rgba(212, 175, 55, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-feature-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.plan-feature-item strong {
  color: #ffffff;
}

.plan-verification-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.4;
}

/* 评价区块：真实空态 (严格遵守：目前缺少评价资料，保持真实空态，不编造虚假评价) */
.reviews-section {
  text-align: center;
}

.empty-reviews-card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(20, 23, 31, 0.6);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
}

.empty-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.25rem;
  color: var(--gold-primary);
  opacity: 0.7;
}

.empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.empty-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ 常见问答 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  min-height: 48px;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
}

/* 文章正文页面排版规范 (800-1500字规范排版、表格、面包屑) */
.article-header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.5rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

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

.breadcrumb-nav a:hover {
  color: var(--gold-light);
}

.breadcrumb-sep {
  color: var(--text-dim);
}

.article-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

.article-meta-bar .badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d1d5db;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 2rem 0 0.85rem;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

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

/* 响应式表格容器 (解决手机端横向溢出问题) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: #111319;
}

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

.article-table th {
  background: #181c25;
  color: var(--gold-light);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--gold-border);
  white-space: nowrap;
}

.article-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  line-height: 1.5;
}

.article-table tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}

.article-footer-cta {
  background: linear-gradient(135deg, #181b24 0%, #111319 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 3.5rem 0 2rem;
  text-align: center;
}

.article-footer-cta h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

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

/* 页脚区域 */
.site-footer {
  background: #08090c;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-light);
}

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

.footer-disclaimer {
  max-width: 720px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #636b79;
}

/* 404 页面样式 */
.page-404-container {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.code-404 {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

/* 移动端响应式与断点 (全面适配 1440, 768, 430, 390, 360) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-meta-badges {
    justify-content: center;
  }
  .dimension-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  .nav-links {
    display: none; /* 移动端精简突出主CTA */
  }
  .hero-section {
    padding: 2.5rem 0 2rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .dimension-grid {
    grid-template-columns: 1fr;
  }
  .mask-demo-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .palace-sculpture-card {
    max-width: 320px;
    padding: 1.5rem;
  }
  .metal-duck-svg {
    width: 130px;
    height: 130px;
  }
  .palace-sculpture-card::before {
    display: none; /* 手机端简化反射和金属动画 */
  }
}

@media (max-width: 430px) {
  .container {
    padding: 0 1rem;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .btn-cta-primary, .btn-cta-secondary {
    width: 100%;
    text-align: center;
  }
  .plan-card {
    padding: 1.75rem 1.25rem;
  }
  .tool-section {
    padding: 1.5rem 1rem;
  }
  .article-title {
    font-size: 1.6rem;
  }
}

/* 底部系统安全区域支持 (iPhone Home Indicator 避让) */
.site-footer {
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}

/* 无障碍与减弱动画支持 */
@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;
  }
}
