/* ==========================================================================
   【风格 03 · 翡翠安舱】品牌「放心云」(FANGXIN CLOUD)
   深墨绿 #0E2A22 背景 | 唯一强调色翡翠青 #34D399 | 冷白正文 #E6F4F1
   中文标题 Noto Sans SC / 苹方 / 雅黑 | 数字原生等宽感 | 六边形/状态指示灯/扫描线
   零外部字体依赖 | 纯原生 CSS | 无障碍键盘焦点与减弱动效适配
   ========================================================================== */

:root {
  --bg-vault: #0E2A22;         /* 深墨绿主背景 */
  --bg-darker: #081a15;        /* 舱体深底 */
  --bg-card: #12332a;          /* 保险舱卡片背景 */
  --bg-card-hover: #174236;    /* 卡片悬停背景 */
  --bg-glass: rgba(18, 51, 42, 0.78);
  
  --emerald: #34D399;          /* 唯一核心强调色：翡翠青 */
  --emerald-dark: #059669;
  --emerald-glow: rgba(52, 211, 153, 0.35);
  --emerald-subtle: rgba(52, 211, 153, 0.12);
  
  --text-white: #E6F4F1;       /* 冷白正文 (对比度 > 11.5:1) */
  --text-muted: #9DC0B7;       /* 灰绿次要字 (对比度 > 6.8:1) */
  --text-dim: #8BAEA5;         /* 灰绿弱化字 (优化至对比度 > 4.5:1) */
  
  --border-vault: rgba(52, 211, 153, 0.22);
  --border-vault-hover: rgba(52, 211, 153, 0.6);
  --border-vault-glow: 0 0 18px rgba(52, 211, 153, 0.28);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* 采用原生系统字体栈，彻底摒弃外部 Google Fonts，确保国内秒开与零布局抖动 */
  --font-cn: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", monospace, sans-serif;

  --container-max: 1200px;
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-cn);
  background-color: var(--bg-vault);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-vault);
  overflow-x: hidden;
}

/* 锚点防遮挡规则（配合固定页眉） */
section[id], .section, .hero-section {
  scroll-margin-top: 80px;
}

/* 无障碍：跳过导航直达主内容 (Skip Link) */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--emerald);
  color: #071914;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.6);
  transition: top 0.2s ease-in-out;
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid #ffffff;
}

/* 键盘可访问性焦点状态 */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.num-font, .stat-num, .price-amount, .price-currency {
  font-family: var(--font-num);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 28px;
  min-height: 44px; /* 满足触摸热区最小 44px 要求 */
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--emerald);
  color: #071914;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

.btn-primary:hover {
  background: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.65);
}

.btn-secondary {
  background: rgba(18, 51, 42, 0.6);
  color: var(--text-white);
  border: 1px solid var(--border-vault);
}

.btn-secondary:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: var(--emerald);
  color: var(--emerald);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
  min-height: 48px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  min-height: 44px;
}

.btn-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 42, 34, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-vault);
  padding: 16px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
  font-size: 1.35rem;
  font-weight: 900;
}

.brand-logo svg {
  width: 30px;
  height: 30px;
  color: var(--emerald);
}

.brand-logo span {
  color: var(--emerald);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--emerald);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 子页面文章样式 */
.page-header {
  padding: 60px 0 35px;
  text-align: center;
  border-bottom: 1px solid var(--border-vault);
  background: rgba(18, 51, 42, 0.4);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 12px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

.article-body {
  max-width: 860px;
  margin: 40px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-vault);
  border-radius: var(--radius-md);
  padding: 48px;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--emerald);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-vault);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-muted);
}

.article-body li {
  margin-bottom: 10px;
}

.article-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.highlight-box {
  background: rgba(52, 211, 153, 0.08);
  border-left: 4px solid var(--emerald);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-white);
}

.back-home-bar {
  text-align: center;
  margin-top: 40px;
}

.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-vault);
  padding: 48px 0 32px;
  margin-top: auto;
}

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

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  transition: var(--transition);
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
}

.footer-nav a:hover {
  color: var(--emerald);
  background: rgba(52, 211, 153, 0.08);
}

.footer-bottom {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid rgba(52, 211, 153, 0.1);
  padding-top: 22px;
}

/* 遵循系统级减弱动效偏好 (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;
  }
}
