:root {
  /* 基础色板 */
  --color-dark: #231334;
  --color-paper: #F5F3F7;
  --color-text: #1C1523;
  --color-brand: #7D14EB;
  --color-accent: #EDD26E;

  /* 上下文取色变量（默认纸面） */
  --color-bg: var(--color-paper);
  --color-fg: var(--color-text);
  --color-hl: var(--color-brand);
  --color-border: var(--color-text);
  --color-shadow: var(--color-text);

  /* 结构 Token */
  --radius-card: 20px;
  --radius-btn: 12px;
  --card-border: 2px solid var(--color-border);
  --card-shadow: 4px 4px 0 var(--color-shadow);
  --section-y: clamp(2.5rem, 5vw, 4rem);
  --gap: clamp(0.75rem, 1.5vw, 1.25rem);
  --content-max: 960px;
  --line-height: 1.55;
}

/* 深色面覆盖 */
.dark-surface {
  --color-bg: var(--color-dark);
  --color-fg: var(--color-paper);
  --color-hl: var(--color-accent);
  --color-border: var(--color-paper);
  --color-shadow: var(--color-paper);
}

/* 浅色卡片覆盖（用于深色面上的独立面板） */
.paper-card {
  --color-bg: var(--color-paper);
  --color-fg: var(--color-text);
  --color-hl: var(--color-brand);
  --color-border: var(--color-text);
  --color-shadow: var(--color-text);
}

/* 全局重置与基础 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-fg);
  line-height: var(--line-height);
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--color-hl); text-decoration: none; transition: opacity 0.2s; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.5em; }

/* 布局容器 */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gap); }
section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.flex-col { display: flex; flex-direction: column; gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--gap); }
@media (min-width: 768px) {
  .flex-row-reverse { flex-direction: row-reverse; }
  .flex-row { flex-direction: row; }
}
@media (max-width: 767px) {
  .flex-row, .flex-row-reverse { flex-direction: column; }
}
/* 防横向溢出 */
.flex-item, .grid-item { min-width: 0; }
.long-text { overflow-wrap: anywhere; word-break: break-word; }

/* 排版层级 */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-hl);
  margin-bottom: 0.5rem;
}
h1, h2, h3 { font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { max-width: 38em; margin-bottom: 1rem; }
.hl { color: var(--color-hl); font-weight: inherit; }

/* 组件：按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0 1.5rem; height: 52px; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--color-accent); color: var(--color-dark); }
.btn-primary:hover { transform: translateY(-2px); background: #f4d97a; }
.btn-secondary { background: transparent; border: 2px solid var(--color-fg); color: var(--color-fg); }
.btn-secondary:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--color-fg) 10%, transparent); }
.btn:focus-visible { outline: 3px solid var(--color-hl); outline-offset: 2px; }

/* 组件：卡片 */
.card {
  background: var(--color-bg);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-2px); }

/* 组件：表格 */
.table-wrap { overflow-x: auto; margin-bottom: 1rem; }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
th, td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-fg); }
th { font-weight: 700; white-space: nowrap; }
td { vertical-align: top; }

/* 组件：FAQ */
details { margin-bottom: 0.75rem; border: var(--card-border); border-radius: var(--radius-card); background: var(--color-bg); }
summary { cursor: pointer; font-weight: 600; padding: 1rem; list-style: none; position: relative; padding-left: 1.5rem; }
summary::-webkit-details-marker { display: none; }
summary::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-right: 2px solid var(--color-fg); border-bottom: 2px solid var(--color-fg);
  transform: translateY(-60%) rotate(45deg); transition: transform 0.2s;
}
details[open] summary::before { transform: translateY(-40%) rotate(-45deg); }
details > div { padding: 0 1rem 1rem 1.5rem; }

/* 组件：步骤徽标 */
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; background: var(--color-accent);
  color: var(--color-dark); font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.step-list { counter-reset: step; list-style: none; padding: 0; }
.step-list li { counter-increment: step; display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.step-list li::before { content: counter(step, decimal-leading-zero); display: none; } /* 使用徽标替代 */

/* SVG 动效基础 */
svg { width: 100%; height: auto; }
svg.icon-inline { display: inline-block; width: 1em; height: 1em; vertical-align: middle; flex-shrink: 0; }
.anim-child { transform-box: fill-box; transform-origin: center; }
@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes drawLine { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
.anim-float-1 { animation: float1 6s ease-in-out infinite; }
.anim-float-2 { animation: float2 7s ease-in-out infinite 1s; }
.anim-float-3 { animation: float3 5s ease-in-out infinite 2s; }
.anim-draw { pathLength: 1; stroke-dasharray: 1; stroke-dashoffset: 0; animation: drawLine 4s ease forwards; }

/* 减少动态效果 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .anim-float-1, .anim-float-2, .anim-float-3, .anim-draw { animation: none !important; }
}

/* 导航与页脚 */
header { position: sticky; top: 0; z-index: 100; background: var(--color-bg); border-bottom: 1px solid var(--color-fg); padding: 0.75rem 0; transition: box-shadow 0.3s; }
header.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
nav { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 1.1rem; color: var(--color-fg); }
.nav-brand img { width: 32px; height: 32px; object-fit: contain; }
nav ul { display: flex; gap: 1.5rem; list-style: none; }
nav a { color: var(--color-fg); font-weight: 500; }
nav a:hover, nav a[aria-current="page"] { color: var(--color-hl); }
/* 移动端汉堡菜单样式 */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--color-fg); }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 767px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--color-fg);
    gap: 1rem;
  }
  nav ul.open { display: flex; }
}
footer { border-top: 1px solid var(--color-fg); padding: var(--section-y) 0; margin-top: var(--section-y); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--color-fg); font-size: 0.9rem; }

/* 焦点可见性增强 */
:focus-visible { outline: 3px solid var(--color-hl); outline-offset: 2px; }
/* 自定义列表标记 */
.custom-list { list-style: none; padding-left: 0; }
.custom-list li { position: relative; padding-left: 1.5rem; }
.custom-list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px;
  background: var(--color-hl); border-radius: 2px;
}
/* 提示框 */
.callout {
  border-left: 4px solid var(--color-hl); background: color-mix(in srgb, var(--color-hl) 8%, transparent);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius-card) var(--radius-card) 0; margin: 1rem 0;
}
.callout strong { display: block; margin-bottom: 0.25rem; }
/* 视觉面板占位 */
.visual-panel { aspect-ratio: 4/3; background: var(--color-bg); border: var(--card-border); border-radius: var(--radius-card); padding: 1rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* 资讯卡片时间 */
.time-stamp { font-size: 0.85rem; color: var(--color-fg); opacity: 0.8; margin-bottom: 0.5rem; display: block; }
/* 功能分段导航 */
.feature-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tab-btn { padding: 0.5rem 1rem; border: 1px solid var(--color-fg); border-radius: var(--radius-btn); background: transparent; color: var(--color-fg); cursor: pointer; font-weight: 500; }
.tab-btn.active { background: var(--color-fg); color: var(--color-bg); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
/* 纯 CSS Tab 逻辑（无障碍优先） */
#tab-1:checked ~ .feature-tabs label[for="tab-1"],
#tab-2:checked ~ .feature-tabs label[for="tab-2"],
#tab-3:checked ~ .feature-tabs label[for="tab-3"],
#tab-4:checked ~ .feature-tabs label[for="tab-4"] {
  background: var(--color-fg); color: var(--color-bg);
}
#tab-1:checked ~ .panels .panel-1,
#tab-2:checked ~ .panels .panel-2,
#tab-3:checked ~ .panels .panel-3,
#tab-4:checked ~ .panels .panel-4 { display: block; }
input[type="radio"][name="feat-tab"] { position: absolute; opacity: 0; pointer-events: none; }
.panels .panel-content { display: none; }
</file_content>
