/* ==========================================
   爱迪创思 IdeaTrace — 全站样式系统
   多页面共享 · 亮色主题 · 响应式
   ========================================== */

/* ========== 设计系统 ========== */
:root {
  /* 基础色 */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-tertiary: #eef0f4;
  --bg-card: #ffffff;
  --bg-card-hover: #f7f8fa;
  --border: #e2e5ea;
  --border-light: #eef0f4;

  /* 文字 — WCAG AA 4.5:1 against white */
  --text-primary: #1a1a2e;        /* ratio=15.2 ✅ */
  --text-secondary: #4a5266;      /* ratio=8.0  ✅ (was #5a6378) */
  --text-muted: #6e7581;          /* ratio=4.64 ✅ (was #9ca3af, 2.54) */

  /* 品牌 — WCAG AA */
  --accent: #6c4ff0;              /* ratio=5.23 ✅ */
  --accent-light: #7b5fe5;        /* ratio=4.55 ✅ (was #8b6ff5, 3.69) */
  --accent-glow: rgba(108, 79, 240, 0.10);
  --gradient: linear-gradient(135deg, #6c4ff0 0%, #4ec5a8 100%);
  --gradient-text: linear-gradient(135deg, #6c4ff0 0%, #4ec5a8 100%);

  /* 功能色 — WCAG AA 4.5:1 */
  --success: #008449;             /* ratio=4.78 ✅ (was #2db77c, 2.57) */
  --warning: #a86800;             /* ratio=4.52 ✅ (was #e0a020, 2.28) */
  --danger: #d53b5b;              /* ratio=4.56 ✅ (was #e54b6b, 3.78) */
  --info: #007ab2;                /* ratio=4.74 ✅ (was #2ba8e0, 2.70) */

  /* 入口主题色 — 保留原色 (用于大标题/图标 ≥3:1 可接受),
     提供 WCAG 版本用于正文 */
  --entry-financial: #d69500;      /* 3.39 用于图标/大标题 */
  --entry-financial-aa: #a86700;   /* 4.56 用于正文 */
  --entry-financial-glow: rgba(214, 149, 0, 0.10);
  --entry-health: #2db77c;
  --entry-health-aa: #008449;
  --entry-health-glow: rgba(45, 183, 124, 0.10);
  --entry-relations: #2ba8e0;
  --entry-relations-aa: #007ab2;
  --entry-relations-glow: rgba(43, 168, 224, 0.10);
  --entry-purpose: #a855f7;
  --entry-purpose-aa: #9d4aec;
  --entry-purpose-glow: rgba(168, 85, 247, 0.10);

  /* 圆角 */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 阴影 */
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-glow: 0 4px 24px rgba(108, 79, 240, 0.10);

  /* 动画 */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Reset ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; background: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== 通用容器 ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ========== 导航栏 ========== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 18px; }
.logo-icon { font-size: 22px; }
.logo-text { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo-en { font-size: 12px; color: var(--text-muted); font-weight: 400; letter-spacing: 0.5px; }
footer .logo-en { color: var(--text-secondary); font-weight: 500; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-secondary); font-size: 14px; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-actions { display: flex; gap: 12px; }

/* ========== 按钮 ========== */
.btn-primary {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: #fff;
  padding: 8px 18px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; transition: var(--transition);
  cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--accent-light); box-shadow: 0 4px 16px rgba(108, 79, 240, 0.25); }
.btn-ghost {
  display: inline-block; text-decoration: none;
  background: transparent; color: var(--text-secondary);
  padding: 8px 18px; border-radius: var(--radius);
  font-size: 14px; border: 1px solid var(--border); transition: var(--transition);
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text-primary); }
.btn-outline {
  display: inline-block; text-decoration: none;
  background: transparent; color: var(--text-primary);
  padding: 8px 18px; border-radius: var(--radius);
  font-size: 14px; border: 1px solid var(--border); transition: var(--transition);
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent-glow); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { display: block; width: 100%; padding: 12px; font-size: 15px; text-align: center; }

/* ========== Hero (L1) ========== */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(108, 79, 240, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(78, 197, 168, 0.05), transparent);
  z-index: 0;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; color: var(--text-secondary); margin-bottom: 24px;
}
.hero-content h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero-tagline { font-size: 20px; color: var(--text-secondary); margin-bottom: 20px; font-weight: 500; }
.hero-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 36px; }
.hero-desc strong { color: var(--text-primary); }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-bottom: 36px; flex-wrap: wrap;
}
.stat { padding: 0 24px; text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 700; color: var(--text-primary); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== 四大入口卡片 ========== */
.entry-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 48px;
}
.entry-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: var(--transition-slow); position: relative; overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.entry-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--entry-color, var(--accent));
  transform: scaleX(0); transform-origin: left; transition: var(--transition-slow);
}
.entry-card:hover { border-color: var(--entry-color, var(--accent)); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.entry-card:hover::before { transform: scaleX(1); }
.entry-icon { font-size: 32px; margin-bottom: 12px; }
.entry-card h3 { font-size: 18px; margin-bottom: 6px; }
.entry-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.entry-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); }
.entry-meta span { display: flex; align-items: center; gap: 4px; }

/* 入口主题色 */
.entry-card[data-entry="financial"] { --entry-color: var(--entry-financial); }
.entry-card[data-entry="health"] { --entry-color: var(--entry-health); }
.entry-card[data-entry="relations"] { --entry-color: var(--entry-relations); }
.entry-card[data-entry="purpose"] { --entry-color: var(--entry-purpose); }

/* ========== Section 通用 ========== */
.section { padding: 80px 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.section-header p { font-size: 15px; color: var(--text-secondary); }

/* ========== 三步流程 ========== */
.steps-grid {
  display: flex; align-items: stretch; gap: 0;
  max-width: 1000px; margin: 0 auto;
}
.step-card {
  flex: 1; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 24px; position: relative;
  box-shadow: var(--shadow);
}
.step-num { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.step-icon { font-size: 36px; margin-bottom: 12px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.step-tag {
  display: inline-block; margin-top: 12px;
  font-size: 12px; color: var(--accent);
  background: var(--accent-glow); padding: 4px 10px; border-radius: 100px;
}
.step-arrow { display: flex; align-items: center; padding: 0 8px; color: var(--text-muted); font-size: 24px; }

/* ========== 创意卡片 ========== */
.idea-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.idea-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--transition); cursor: pointer;
  box-shadow: var(--shadow);
}
.idea-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.idea-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.idea-category {
  font-size: 11px; padding: 3px 10px; border-radius: 100px;
  font-weight: 500;
}
.idea-category[data-cat="financial"] { background: var(--entry-financial-aa); color: #fff; }
.idea-category[data-cat="health"] { background: var(--entry-health-aa); color: #fff; }
.idea-category[data-cat="relations"] { background: var(--entry-relations-aa); color: #fff; }
.idea-category[data-cat="purpose"] { background: var(--entry-purpose-aa); color: #fff; }
.idea-price { font-size: 13px; color: var(--text-muted); }
.idea-price strong { color: var(--success); }
.idea-card h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.5; }
.idea-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.idea-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.idea-author { display: flex; align-items: center; gap: 6px; }
.idea-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; }
.idea-stats { display: flex; gap: 10px; }

/* ========== Fork链可视化 ========== */
.fork-chain {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow);
}
.fork-chain-title { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; font-weight: 500; }
.fork-node {
  display: flex; align-items: flex-start; gap: 12px;
  position: relative; padding-bottom: 24px;
}
.fork-node:last-child { padding-bottom: 0; }
.fork-node:not(:last-child)::before {
  content: ''; position: absolute; left: 15px; top: 32px; bottom: 0;
  width: 2px; background: var(--border);
}
.fork-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0; z-index: 1;
}
.fork-avatar[data-level="0"] { background: var(--accent); color: #fff; }
.fork-avatar[data-level="1"] { background: var(--entry-health); color: #fff; }
.fork-avatar[data-level="2"] { background: var(--entry-relations); color: #fff; }
.fork-avatar[data-level="3"] { background: var(--entry-purpose); color: #fff; }
.fork-content { flex: 1; }
.fork-content-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.fork-name { font-size: 14px; font-weight: 500; }
.fork-time { font-size: 12px; color: var(--text-muted); }
.fork-badge {
  font-size: 10px; padding: 2px 8px; border-radius: 100px;
  background: var(--accent-glow); color: var(--accent);
}
.fork-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ========== 区块链存证 ========== */
.cert-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-tertiary); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12px; color: var(--text-secondary);
}
.cert-badge svg { width: 14px; height: 14px; }
.cert-info {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  font-size: 13px; line-height: 1.8;
  box-shadow: var(--shadow);
}
.cert-info-row { display: flex; justify-content: space-between; padding: 4px 0; }
.cert-info-label { color: var(--text-muted); }
.cert-info-value { color: var(--text-primary); font-family: "SF Mono", "Consolas", monospace; font-size: 12px; }

/* ========== 收益分配 ========== */
.revenue-split {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow);
}
.revenue-bar {
  height: 32px; border-radius: var(--radius-sm);
  display: flex; overflow: hidden; margin: 16px 0;
}
.revenue-seg { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; transition: var(--transition); }
.revenue-seg[data-role="platform"] { background: var(--text-muted); color: #fff; }
.revenue-seg[data-role="author"] { background: var(--accent); color: #fff; }
.revenue-seg[data-role="upstream"] { background: var(--entry-health); color: #fff; }
.revenue-list { display: flex; flex-direction: column; gap: 8px; }
.revenue-item { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.revenue-item-left { display: flex; align-items: center; gap: 8px; }
.revenue-dot { width: 8px; height: 8px; border-radius: 50%; }
.revenue-amount { font-weight: 600; }

/* ========== L2: Landing Page Hero ========== */
.l2-hero {
  position: relative; padding: 120px 24px 60px;
  overflow: hidden;
}
.l2-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--entry-glow, var(--accent-glow)), transparent);
}
.l2-hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.l2-hero-icon { font-size: 48px; margin-bottom: 16px; }
.l2-hero-icon.it-icon{width:48px;height:48px;}
.l2-hero h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.l2-hero-tagline { font-size: 18px; color: var(--text-secondary); margin-bottom: 24px; }
.l2-hero-stats { display: flex; justify-content: center; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }

/* ========== L3: 详情页 ========== */
.l3-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 88px 24px 60px; }
.l3-main { min-width: 0; }
.l3-sidebar { position: sticky; top: 80px; align-self: start; }
.l3-header { margin-bottom: 24px; }
.l3-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.l3-breadcrumb a:hover { color: var(--accent); }
.l3-title { font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.l3-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.l3-author { display: flex; align-items: center; gap: 8px; }
.l3-author-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; }
.l3-author-name { font-size: 14px; font-weight: 500; }
.l3-author-role { font-size: 12px; color: var(--text-muted); }
.l3-content { font-size: 15px; line-height: 1.9; color: var(--text-primary); }
.l3-content h2 { font-size: 20px; margin: 28px 0 12px; }
.l3-content h3 { font-size: 16px; margin: 20px 0 8px; }
.l3-content p { margin-bottom: 14px; color: var(--text-secondary); }
.l3-content strong { color: var(--text-primary); }
.l3-content ul, .l3-content ol { margin: 12px 0 14px 20px; }
.l3-content li { margin-bottom: 6px; color: var(--text-secondary); }
.l3-content code { background: var(--bg-tertiary); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.l3-content blockquote {
  border-left: 3px solid var(--accent); padding: 12px 16px;
  background: var(--bg-secondary); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 16px 0; color: var(--text-secondary); font-size: 14px;
}
.l3-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.l3-section-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* L3 Sidebar */
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.sidebar-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.sidebar-cta { display: flex; flex-direction: column; gap: 8px; }

/* ========== 定价 ========== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: var(--transition); position: relative;
  box-shadow: var(--shadow);
}
.pricing-card:hover { border-color: var(--accent); }
.pricing-card.featured { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.pricing-card.featured::before {
  content: '推荐'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px;
  padding: 2px 12px; border-radius: 100px; font-weight: 500;
}
.pricing-name { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
.pricing-price { font-size: 32px; font-weight: 700; margin-bottom: 4px; }
.pricing-price small { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.pricing-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.pricing-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pricing-features li { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.pricing-features li::before { content: '\2713'; color: var(--success); font-weight: 700; }

/* ========== FAQ ========== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 15px; font-weight: 500; transition: var(--transition); }
.faq-q:hover { color: var(--accent); }
.faq-icon { font-size: 20px; color: var(--text-muted); transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 0 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ========== 为什么选我们 ========== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.why-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.why-icon { font-size: 28px; margin-bottom: 12px; }
.why-card h3 { font-size: 16px; margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ========== Footer ========== */
footer { border-top: 1px solid var(--border-light); padding: 48px 24px 24px; margin-top: 40px; background: var(--bg-secondary); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 13px; color: var(--text-secondary); margin-top: 8px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 14px; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { max-width: 1200px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--border-light); display: flex; justify-content: space-between; font-size: 12px; color: var(--text-secondary); }

/* ========== 积分系统 ========== */
.points-table { width: 100%; border-collapse: collapse; }
.points-table th, .points-table td { padding: 10px 14px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--border-light); }
.points-table th { color: var(--text-muted); font-weight: 500; }
.points-table td { color: var(--text-secondary); }

/* ========== AI社区 ========== */
.ai-feed { display: flex; flex-direction: column; gap: 12px; }
.ai-post { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; transition: var(--transition); box-shadow: var(--shadow); }
.ai-post:hover { border-color: var(--accent); }
.ai-post-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ai-bot-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--entry-purpose); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.ai-post-title { font-size: 14px; font-weight: 500; }
.ai-post-meta { font-size: 12px; color: var(--text-muted); }

/* ========== 收益计算器 ========== */
.calculator { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; max-width: 700px; margin: 0 auto; box-shadow: var(--shadow); }
.calc-row { margin-bottom: 20px; }
.calc-label { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.calc-label span:last-child { color: var(--accent); font-weight: 600; }
.calc-slider { width: 100%; height: 4px; background: var(--bg-tertiary); border-radius: 2px; -webkit-appearance: none; appearance: none; outline: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--accent); border-radius: 50%; cursor: pointer; transition: var(--transition); }
.calc-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 12px rgba(108, 79, 240, 0.3); }
.calc-result { background: var(--bg-secondary); border-radius: var(--radius); padding: 20px; margin-top: 16px; }
.calc-result-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.calc-result-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 16px; }

/* ========== 响应式 ========== */
@media (max-width: 968px) {
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .idea-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .l3-layout { grid-template-columns: 1fr; }
  .l3-sidebar { position: static; }
  .steps-grid { flex-direction: column; gap: 12px; }
  .step-arrow { transform: rotate(90deg); justify-content: center; padding: 4px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .ai-feed-grid { grid-template-columns: 1fr; }
  .ai-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .entry-grid { grid-template-columns: 1fr; }
  .idea-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 12px; }
  .stat { padding: 0 12px; }
  .stat-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 32px; }
  .ai-hero-stats { flex-direction: column; gap: 16px; }
}

/* ========== 区块编号（参考lingualite） ========== */
.section-num {
  display: inline-block;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-subtitle {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ========== 动画计数器 ========== */
.counter-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ========== 跑马灯 ========== */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 12px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.marquee-tag:hover { border-color: var(--accent); color: var(--text-primary); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== 争议解决流程 ========== */
.dispute-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}
.dispute-step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 24px;
}
.dispute-step:last-child { padding-bottom: 0; }
.dispute-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.dispute-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  z-index: 1;
  box-shadow: var(--shadow);
}
.dispute-step-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.dispute-step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.dispute-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.dispute-step-meta {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 6px;
}

/* ========== 费用对比表 ========== */
.fee-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.fee-compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.fee-compare-card.current { border-color: var(--danger); opacity: 0.7; }
.fee-compare-card.new { border-color: var(--success); box-shadow: 0 0 20px rgba(45, 183, 124, 0.08); }
.fee-compare-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.fee-compare-card.current .fee-compare-badge { background: var(--danger); color: #fff; }
.fee-compare-card.new .fee-compare-badge { background: var(--success); color: #fff; }
.fee-compare-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.fee-compare-list { display: flex; flex-direction: column; gap: 8px; }
.fee-compare-item { font-size: 13px; color: var(--text-secondary); display: flex; justify-content: space-between; }
.fee-compare-item strong { color: var(--text-primary); }

/* ========== 质量门槛标签 ========== */
.quality-gate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-secondary);
}
.quality-gate-icon { font-size: 14px; }

/* ========== 合规资质卡片 ========== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.compliance-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.compliance-card.required { border-left: 3px solid var(--danger); }
.compliance-card.recommended { border-left: 3px solid var(--warning); }
.compliance-card.optional { border-left: 3px solid var(--info); }
.compliance-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.compliance-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 8px; }
.compliance-card .compliance-meta { font-size: 11px; color: var(--text-muted); }

@media (max-width: 768px) {
  .fee-compare { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
}

/* ========== 动画 ========== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.6s ease forwards; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.pulse { animation: pulse 2s infinite; }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.shimmer-text {
  background: linear-gradient(90deg, var(--text-secondary) 0%, var(--text-primary) 50%, var(--text-secondary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ========== 滚动出现 ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== 分割线 ========== */
.divider { height: 1px; background: var(--border-light); margin: 32px 0; }

/* ========== 标签 ========== */
.tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 100px; background: var(--bg-tertiary); color: var(--text-secondary); margin-right: 6px; margin-bottom: 4px; }

/* ========== 贡献者排行 ========== */
.contributor-list { display: flex; flex-direction: column; gap: 8px; }
.contributor-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--radius); transition: var(--transition); }
.contributor-item:hover { background: var(--bg-card-hover); }
.contributor-rank { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.contributor-rank[data-rank="1"] { background: var(--entry-financial); color: #fff; }
.contributor-rank[data-rank="2"] { background: var(--text-muted); color: #fff; }
.contributor-rank[data-rank="3"] { background: #cd7f32; color: #fff; }
.contributor-info { flex: 1; }
.contributor-name { font-size: 13px; font-weight: 500; }
.contributor-stat { font-size: 11px; color: var(--text-muted); }

/* ========== AI智能体社区 ========== */
.ai-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  overflow: hidden;
}
.ai-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 30% 50%, rgba(108, 79, 240, 0.05), transparent),
              radial-gradient(ellipse 50% 40% at 70% 50%, rgba(78, 197, 168, 0.04), transparent);
  pointer-events: none;
}
.ai-section .container { position: relative; z-index: 1; }
.ai-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(108, 79, 240, 0.08); border: 1px solid rgba(108, 79, 240, 0.2);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; color: var(--accent); margin-bottom: 20px;
}
.ai-hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse 2s infinite;
}
.ai-hero-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.ai-hero-desc { font-size: 16px; color: var(--text-secondary); max-width: 640px; margin: 0 auto 36px; line-height: 1.8; }
.ai-hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.ai-hero-stat { text-align: center; }
.ai-hero-stat-num { font-size: 28px; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ai-hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.ai-hero-stat-divider { width: 1px; height: 32px; background: var(--border); }

/* AI Feed */
.ai-feed-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-bottom: 40px;
}
.ai-feed-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: var(--transition); position: relative;
  box-shadow: var(--shadow);
}
.ai-feed-card:hover { border-color: rgba(108, 79, 240, 0.3); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ai-feed-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ai-feed-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, rgba(108, 79, 240, 0.12), rgba(78, 197, 168, 0.10));
  border: 1px solid rgba(108, 79, 240, 0.2);
}
.ai-feed-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ai-feed-name .bot-badge {
  font-size: 10px; padding: 2px 6px; border-radius: 4px;
  background: rgba(108, 79, 240, 0.10); color: var(--accent);
}
.ai-feed-did { font-size: 11px; color: var(--text-muted); font-family: monospace; }
.ai-feed-time { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.ai-feed-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.ai-feed-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.ai-feed-footer { display: flex; align-items: center; justify-content: space-between; }
.ai-feed-tags { display: flex; gap: 6px; }
.ai-feed-tag {
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  background: var(--bg-tertiary); color: var(--text-secondary);
}
.ai-feed-price { font-size: 13px; color: var(--accent); font-weight: 600; }
.ai-feed-price .locked { color: var(--text-muted); font-size: 12px; }

/* AI 特性 */
.ai-feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 40px;
}
/* ===== AI 智能体 3 步上手（区别于 6 大服务卡，水平流程卡） ===== */
.ai-steps-header {
  text-align: center;
  margin: 60px 0 32px;
}
.ai-steps-eyebrow {
  display: inline-block;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.ai-steps-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: #fff;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}
.ai-steps-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.ai-step-flow-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #fbbf24;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all 0.3s;
}
.ai-step-flow-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateX(4px);
}
.ai-step-flow-card:nth-child(2) { border-left-color: #6c4ff0; }
.ai-step-flow-card:nth-child(2):hover { border-color: rgba(108, 79, 240, 0.4); }
.ai-step-flow-card:nth-child(3) { border-left-color: #2db77c; }
.ai-step-flow-card:nth-child(3):hover { border-color: rgba(45, 183, 124, 0.4); }
.ai-step-num {
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 32px;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  min-width: 50px;
  text-align: center;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(108, 79, 240, 0.1));
  padding: 12px 0;
  border-radius: 12px;
}
.ai-step-flow-card:nth-child(2) .ai-step-num {
  color: #6c4ff0;
  background: linear-gradient(135deg, rgba(108, 79, 240, 0.2), rgba(78, 197, 168, 0.1));
}
.ai-step-flow-card:nth-child(3) .ai-step-num {
  color: #2db77c;
  background: linear-gradient(135deg, rgba(45, 183, 124, 0.2), rgba(78, 197, 168, 0.1));
}
.ai-step-content { flex: 1; }
.ai-step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}
.ai-step-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.7;
  margin-bottom: 10px;
}
.ai-step-content strong { color: #fbbf24; font-weight: 700; }
.ai-step-meta {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

@media (max-width: 768px) {
  .ai-step-flow-card { flex-direction: column; gap: 12px; }
  .ai-step-num { min-width: auto; align-self: flex-start; padding: 6px 16px; }
}

/* ===== AI 智能体特性卡（深色区，3 卡架构） ===== */
.ai-feature-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.ai-feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #fbbf24, #6c4ff0);
  opacity: 0;
  transition: opacity 0.3s;
}
.ai-feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}
.ai-feature-card:hover::before { opacity: 1; }
.ai-feature-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  font-size: 28px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(108, 79, 240, 0.2));
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.ai-feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}
.ai-feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75) !important;
  line-height: 1.7;
}

/* ===== AI 服务卡片（6 张大卡，highlighted） ===== */
.ai-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.ai-service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}
.ai-service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.15);
}
.ai-service-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.ai-service-card h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}
.ai-service-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.ai-service-price {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0a0e1a;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  margin-top: auto;
  align-self: flex-start;
}
.ai-service-price.free {
  background: linear-gradient(135deg, #2db77c 0%, #008449 100%);
  color: #fff;
}

/* AI 打工方式 */
.ai-jobs {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px;
}
.ai-job-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 100px;
  font-size: 13px; color: var(--text-secondary); transition: var(--transition);
  box-shadow: var(--shadow);
}
.ai-job-pill:hover { border-color: var(--accent); color: var(--text-primary); }
.ai-job-pill .price { color: var(--accent); font-weight: 600; }

/* ========== 可访问性:尊重用户的运动偏好 ========== */
@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 {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 8px;
}

/* ========== 可访问性:focus-visible 增强 ========== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* AI CTA */
.ai-cta {
  text-align: center; padding: 32px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); max-width: 640px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.ai-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.ai-cta p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.ai-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================
   实用 utility classes — 替换 inline style
   v2.0 (2026-07-28): Day 2 inline style 清理
   ========================================== */

/* 字体大小 + 颜色组合 */
.fs-11-muted { font-size: 11px; color: var(--text-muted); }
.fs-12-muted { font-size: 12px; color: var(--text-muted); }
.fs-13-muted { color: var(--text-muted); font-size: 13px; }
.fs-13-secondary { font-size: 13px; color: var(--text-secondary); }
.fs-14-secondary { font-size: 14px; color: var(--text-secondary); }
.fs-15-semi { font-size: 15px; font-weight: 600; }
.fs-13-semi { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.fs-13-semi-tight { font-size: 13px; font-weight: 500; margin-bottom: 4px; line-height: 1.4; }

/* 纯文本颜色 utility */
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary { color: var(--text-primary); }

/* 背景 utility */
.bg-muted { background: var(--text-muted); }
.bg-accent { background: var(--accent); }
.bg-secondary { background: var(--bg-secondary); }

/* 宽度 utility */
.w-20 { width: 20%; }
.w-40 { width: 40%; }

/* 间距 utility */
.mt-12 { margin-top: 12px; }

/* 入口标签 (L3 详情页用) */
.entry-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.entry-tag.entry-financial { background: var(--entry-financial); color: #0a0e14; }
.entry-tag.entry-health { background: var(--entry-health); color: #0a0e14; }
.entry-tag.entry-relations { background: var(--entry-relations); color: #0a0e14; }
.entry-tag.entry-purpose { background: var(--entry-purpose); color: #0a0e14; }

/* L3 页面组件 utility */
.l3-step-title { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.l3-callout-link {
  display: block; padding: 10px;
  border-radius: var(--radius);
  background: var(--bg-tertiary);
  transition: var(--transition);
}
.l3-row { display: flex; justify-content: space-between; font-size: 13px; }
.l3-row-baseline { display: flex; justify-content: space-between; align-items: baseline; }
.l3-stack { display: flex; flex-direction: column; gap: 12px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.text-center-p32 { text-align: center; padding: 32px; }

/* ==========================================
   Utility classes Batch 2 (2026-07-28)
   ========================================== */
.divider-h { height: 1px; background: var(--border-light); }
.fs-20-bold { font-size: 20px; font-weight: 700; }
.fs-13-muted-color { font-size: 13px; color: var(--text-muted); }
.fs-12 { font-size: 12px; }
.l3-step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cursor-pointer { cursor: pointer; }
.text-center { text-align: center; }
.fs-28-mb12 { font-size: 28px; margin-bottom: 12px; }
.fs-13-success { font-size: 13px; color: var(--success); font-weight: 600; }
.cta-row-16 { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-desc { color: var(--text-secondary); margin-bottom: 32px; font-size: 16px; }
.text-center.mt-32 { text-align: center; margin-top: 32px; }
.mt-12.fs-13 { margin-top: 12px; font-size: 13px; }
.fw-600 { font-weight: 600; }
.fs-24-bold { font-size: 24px; font-weight: 700; }
.fs-18-mb8 { font-size: 18px; margin-bottom: 8px; }
/* Batch 3 utilities */
.text-entry-purpose { color: var(--entry-purpose); }
.text-entry-financial { color: var(--entry-financial); }
.l3-toggle-row { display: block; font-size: 13px; color: var(--text-secondary); line-height: 1.5; transition: var(--transition); }
.l3-paragraph-16 { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.l3-section-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.text-entry-health { color: var(--entry-health); }
.fs-18-bold { font-size: 18px; font-weight: 700; }
.l3-row-mb4 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.overflow-x-auto { overflow-x: auto; }
.fs-12-muted-fw-400 { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.text-center mt-24 { text-align: center; margin-top: 24px; }
.l3-callout-box { padding: 10px; border-radius: var(--radius); background: var(--bg-tertiary); }
.l3-paragraph-mb12 { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.fs-12-muted-mb12 { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.fs-11-muted-mt8 { font-size: 11px; color: var(--text-muted); margin-top: 8px; }

/* 替代原 onmouseover/onmouseout 改 background */
.l3-hover-card:hover { background: var(--bg-card-hover) !important; }
.l3-hover-link:hover { color: var(--entry-financial) !important; }

/* ==========================================
   设计优化 v2.0 (2026-07-28)
   - 深色 Hero + 玻璃态
   - 交替 Section 背景
   - 卡片阴影 + 主题色左边框
   - 渐变数字 + 装饰
   ========================================== */

/* ===== Hero 区改深色 ===== */
#hero {
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1a2e 50%, #2d1b4e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(108, 79, 240, 0.4), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(45, 183, 124, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 90%, rgba(214, 149, 0, 0.2), transparent 60%);
  z-index: 0;
}
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  opacity: 0.6;
  z-index: 0;
}
#hero .hero-bg { display: none; }
#hero .hero-content { position: relative; z-index: 1; }
#hero .hero-content h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  white-space: nowrap;
}
#hero .hero-tagline {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
#hero .hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
#hero .hero-desc strong { color: #fbbf24; }
#hero .hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#hero .stat { color: rgba(255, 255, 255, 0.95); }
#hero .stat-num {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 32px;
  font-weight: 800;
}
#hero .stat-label { color: rgba(255, 255, 255, 0.6); }
#hero .stat-divider { background: rgba(255, 255, 255, 0.2); }
#hero p[style*="color: var(--text-muted)"] { color: rgba(255, 255, 255, 0.5) !important; }

/* Hero 按钮在深色下的调整 */
#hero .btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0a0e1a;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}
#hero .btn-primary:hover {
  box-shadow: 0 6px 28px rgba(251, 191, 36, 0.6);
  transform: translateY(-1px);
}
#hero .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
}
#hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Section 交替背景 ===== */
.section.alt-bg-warm {
  background: linear-gradient(180deg, #fffaf0 0%, #fef3e2 100%);
  position: relative;
}
.section.alt-bg-cool {
  background: linear-gradient(180deg, #f0f4ff 0%, #e0e7ff 100%);
  position: relative;
}
.section.alt-bg-dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
  color: #fff;
}
.section.alt-bg-dark .section-subtitle,
.section.alt-bg-dark .section-header p { color: rgba(255, 255, 255, 0.7); }
.section.alt-bg-dark .section-num { color: #fbbf24; }
.section.alt-bg-dark h2 {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== 卡片增强 ===== */
.entry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}
.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.entry-card[data-entry="financial"] { border-left-color: var(--entry-financial); }
.entry-card[data-entry="health"] { border-left-color: var(--entry-health); }
.entry-card[data-entry="relations"] { border-left-color: var(--entry-relations); }
.entry-card[data-entry="purpose"] { border-left-color: var(--entry-purpose); }

.entry-card .entry-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  font-size: 32px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f7f8fa 0%, #eef0f4 100%);
}
.entry-card[data-entry="financial"] .entry-icon { background: linear-gradient(135deg, #fef3e2 0%, #fde2b9 100%); }
.entry-card[data-entry="health"] .entry-icon { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }
.entry-card[data-entry="relations"] .entry-icon { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.entry-card[data-entry="purpose"] .entry-icon { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); }

.entry-card[data-entry="financial"]:hover { box-shadow: 0 12px 32px rgba(214, 149, 0, 0.2); }
.entry-card[data-entry="health"]:hover { box-shadow: 0 12px 32px rgba(45, 183, 124, 0.2); }
.entry-card[data-entry="relations"]:hover { box-shadow: 0 12px 32px rgba(43, 168, 224, 0.2); }
.entry-card[data-entry="purpose"]:hover { box-shadow: 0 12px 32px rgba(168, 85, 247, 0.2); }

/* ===== Section num badge 主题色 ===== */
.section-num {
  display: inline-block;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ===== Section header 增强 ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

/* ===== L2 列表页 / L3 详情页通用增强 ===== */
.step-card,
.featured-card,
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.step-card:hover,
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ===== Marquee 增强 ===== */
.marquee {
  background: linear-gradient(90deg, #1a1a2e 0%, #2d1b4e 50%, #1a1a2e 100%);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.marquee-tag {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

/* ===== AI 智能体社区 dark 卡片 ===== */
.ai-feed-item,
.ai-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.25s;
}
.ai-feed-item:hover,
.ai-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 79, 240, 0.12);
}

/* ===== Calculator 增强 ===== */
.calculator {
  background: linear-gradient(135deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.calculator::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(108, 79, 240, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.calc-result-row {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  margin-bottom: 6px;
  font-size: 13px;
}
.calc-result-row:nth-child(odd) { background: var(--bg-tertiary); }

/* ===== FAQ 增强 ===== */
.faq-item { margin-bottom: 12px; overflow: hidden; }
.faq-q {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-secondary); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  color: var(--text-secondary);
  font-size: 14px; line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 20px 18px; }
.faq-item.open .faq-q { background: var(--bg-secondary); }

/* ===== Footer 增强 ===== */
footer {
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1a2e 100%);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 64px 24px 24px;
  margin-top: 80px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}
footer .logo-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
footer .footer-col h3 { color: #fff; }
footer .footer-col a { color: rgba(255, 255, 255, 0.6); }
footer .footer-col a:hover { color: #fbbf24; }
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Utility 主题色背景 ===== */
.gradient-bg-1 { background: linear-gradient(135deg, #fef3e2 0%, #fde2b9 100%); }
.gradient-bg-2 { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }
.gradient-bg-3 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.gradient-bg-4 { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); }

/* ===== 数字大字号渐变 ===== */
.gradient-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  background: linear-gradient(135deg, #6c4ff0 0%, #4ec5a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
/* Fix: dark section h2 显式颜色 */
.section.alt-bg-dark h2 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}
.section.alt-bg-dark .section-header p { color: rgba(255, 255, 255, 0.7) !important; }
.section.alt-bg-dark .section-num { color: #fbbf24; background: rgba(251, 191, 36, 0.15); }
/* ==========================================
   分享栏 + 收益快照 (L2/L3 右侧 sticky)
   ========================================== */
.share-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 200px;
  display: none;
}
@media (min-width: 1280px) {
  .share-rail { display: block; }
}
.share-rail-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.share-btn:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.earnings-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  font-size: 13px;
}
.earnings-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.earnings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  color: var(--text-secondary);
}
.earnings-row .num {
  font-weight: 700;
  color: var(--text-primary);
}
.earnings-row.total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}
.earnings-row.total .num {
  color: var(--success);
  font-size: 14px;
}
.earnings-card hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 8px 0;
}
.earnings-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 8px;
}
.earnings-forkers {
  list-style: none;
  padding: 0;
  margin: 0;
}
.earnings-forkers li {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  color: var(--text-secondary);
}
.earnings-forkers li span {
  color: var(--accent);
  font-weight: 600;
}

/* Share toast 通知 */
.share-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--text-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  z-index: 9999;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: all 0.3s;
}
.share-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}


/* ==========================================
   技能商城 (skill-store.html)
   ========================================== */
.store-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.store-tab {
  padding: 8px 16px;
  border-radius: 100px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.store-tab:hover { background: var(--bg-secondary); color: var(--text-primary); }
.store-tab.active {
  background: var(--accent);
  color: #fff;
}
.store-tabs-sep {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 8px;
}

.store-section { margin-bottom: 48px; }
.store-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}
.store-section-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}
.store-section-count {
  font-size: 13px;
  color: var(--text-muted);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.store-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.store-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #4ec5a8);
  opacity: 0;
  transition: opacity 0.3s;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(108, 79, 240, 0.15);
  border-color: var(--accent);
}
.store-card:hover::before { opacity: 1; }
.store-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.store-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--text-primary);
}
.store-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.store-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
}
.skill-chip {
  padding: 2px 8px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.store-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
}
.store-price {
  font-weight: 700;
  color: var(--success);
}
.store-card-footer .store-views {
  color: var(--text-muted);
  font-size: 12px;
}

/* == DUAL-CURRENCY & PRICING & CALC HELPERS (added 2026-07-31) == */

/* ===== 双币制：荣誉侧创点 / 现金侧¥收益 ===== */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 940px;
  margin: 0 auto;
}
.dual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  box-shadow: var(--shadow);
}
.dual-card.dual-honor { border-top: 3px solid var(--accent); }
.dual-card.dual-cash  { border-top: 3px solid var(--success); }
.dual-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.dual-honor .dual-badge { background: var(--accent-glow); color: var(--accent); }
.dual-cash  .dual-badge { background: rgba(0,132,73,0.10); color: var(--success); }
.dual-card h3 { font-size: 22px; margin-bottom: 4px; color: var(--text-primary); }
.dual-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.dual-list { list-style: none; margin: 0 0 16px; padding: 0; }
.dual-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border-light);
  color: var(--text-secondary);
}
.dual-k {
  flex: 0 0 44px;
  color: var(--text-muted);
  font-weight: 600;
}
.dual-note {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-card-hover);
  border-radius: var(--radius);
  padding: 12px 14px;
  line-height: 1.55;
}
.dual-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}
.dual-sep span {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 12px;
  white-space: nowrap;
}
.dual-redline {
  max-width: 940px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--danger);
  background: rgba(213,59,91,0.06);
  border: 1px solid rgba(213,59,91,0.18);
  border-radius: var(--radius);
  padding: 12px 16px;
  line-height: 1.5;
}
.dual-redline strong { color: var(--danger); }

/* ===== 月卡定价卡片 ===== */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.price-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.price-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-card h3 { font-size: 16px; color: var(--text-secondary); margin-bottom: 6px; }
.price-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 2px;
}
.price-unit { font-size: 15px; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.price-list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.price-list li {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.45;
}
.price-list li strong { color: var(--text-primary); }
.btn-block { width: 100%; }
.pricing-foot {
  max-width: 900px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.pricing-foot strong { color: var(--text-secondary); }

/* ===== 计算器辅助元素 ===== */
.calc-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 6px 0 0;
}
.calc-divider-label {
  margin: 12px 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
}
.calc-threshold {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: var(--radius);
}
.calc-threshold.ok {
  background: rgba(0,132,73,0.08);
  color: var(--success);
  border: 1px solid rgba(0,132,73,0.18);
}
.calc-threshold.wait {
  background: rgba(168,104,0,0.08);
  color: var(--warning);
  border: 1px solid rgba(168,104,0,0.18);
}
.calc-foot {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
}
.calc-foot strong { color: var(--text-secondary); }
#calc-upstream-list { margin: 0; }
#calc-upstream-list .calc-result-row { font-size: 13px; }

/* ===== 响应式：双币制与定价卡片 ===== */
@media (max-width: 760px) {
  .dual-grid { grid-template-columns: 1fr; gap: 16px; }
  .dual-sep { padding: 4px 0; }
  .pricing-grid { grid-template-columns: 1fr; gap: 22px; max-width: 420px; }
  .price-card.price-featured { order: -1; }
}


/* == DUAL-CURRENCY & PRICING & CALC HELPERS (added 2026-07-31) == */

/* ===== 双币制：荣誉侧创点 / 现金侧¥收益 ===== */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 940px;
  margin: 0 auto;
}
.dual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  box-shadow: var(--shadow);
}
.dual-card.dual-honor { border-top: 3px solid var(--accent); }
.dual-card.dual-cash  { border-top: 3px solid var(--success); }
.dual-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.dual-honor .dual-badge { background: var(--accent-glow); color: var(--accent); }
.dual-cash  .dual-badge { background: rgba(0,132,73,0.10); color: var(--success); }
.dual-card h3 { font-size: 22px; margin-bottom: 4px; color: var(--text-primary); }
.dual-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.dual-list { list-style: none; margin: 0 0 16px; padding: 0; }
.dual-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border-light);
  color: var(--text-secondary);
}
.dual-k {
  flex: 0 0 44px;
  color: var(--text-muted);
  font-weight: 600;
}
.dual-note {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-card-hover);
  border-radius: var(--radius);
  padding: 12px 14px;
  line-height: 1.55;
}
.dual-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}
.dual-sep span {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 12px;
  white-space: nowrap;
}
.dual-redline {
  max-width: 940px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--danger);
  background: rgba(213,59,91,0.06);
  border: 1px solid rgba(213,59,91,0.18);
  border-radius: var(--radius);
  padding: 12px 16px;
  line-height: 1.5;
}
.dual-redline strong { color: var(--danger); }

/* ===== 月卡定价卡片 ===== */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.price-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.price-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-card h3 { font-size: 16px; color: var(--text-secondary); margin-bottom: 6px; }
.price-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 2px;
}
.price-unit { font-size: 15px; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.price-list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.price-list li {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.45;
}
.price-list li strong { color: var(--text-primary); }
.btn-block { width: 100%; }
.pricing-foot {
  max-width: 900px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.pricing-foot strong { color: var(--text-secondary); }

/* ===== 计算器辅助元素 ===== */
.calc-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 6px 0 0;
}
.calc-divider-label {
  margin: 12px 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
}
.calc-threshold {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: var(--radius);
}
.calc-threshold.ok {
  background: rgba(0,132,73,0.08);
  color: var(--success);
  border: 1px solid rgba(0,132,73,0.18);
}
.calc-threshold.wait {
  background: rgba(168,104,0,0.08);
  color: var(--warning);
  border: 1px solid rgba(168,104,0,0.18);
}
.calc-foot {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
}
.calc-foot strong { color: var(--text-secondary); }
#calc-upstream-list { margin: 0; }
#calc-upstream-list .calc-result-row { font-size: 13px; }

/* ===== 响应式：双币制与定价卡片 ===== */
@media (max-width: 760px) {
  .dual-grid { grid-template-columns: 1fr; gap: 16px; }
  .dual-sep { padding: 4px 0; }
  .pricing-grid { grid-template-columns: 1fr; gap: 22px; max-width: 420px; }
  .price-card.price-featured { order: -1; }
}

/* ===== 全站账号体系（auth-ui.js） ===== */
.auth-mask {
  position: fixed; inset: 0; background: rgba(15,18,28,.5); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .18s;
}
.auth-mask.show { opacity: 1; pointer-events: auto; }
.auth-box {
  background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 400px;
  box-shadow: 0 24px 80px rgba(0,0,0,.28); overflow: hidden;
}
.auth-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 0; }
.auth-tabs { display: flex; gap: 4px; }
.auth-tab {
  border: none; background: none; padding: 10px 16px; font-size: 15px; cursor: pointer;
  color: var(--text-muted); border-bottom: 2px solid transparent; font-weight: 600;
}
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.auth-close { border: none; background: var(--bg-secondary); border-radius: 8px; width: 30px; height: 30px; cursor: pointer; color: var(--text-secondary); font-size: 14px; }
.auth-body { padding: 14px 24px 26px; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 12.5px; color: var(--text-secondary); margin-bottom: 6px; font-weight: 600; }
.auth-field input {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 15px; background: var(--bg-card); color: var(--text-primary); outline: none; transition: var(--transition); box-sizing: border-box;
}
.auth-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.auth-err {
  background: rgba(224,36,94,.08); color: #c91f4e; border: 1px solid rgba(224,36,94,.2);
  border-radius: 8px; padding: 9px 12px; font-size: 13px; margin-bottom: 12px;
}
.auth-submit {
  width: 100%; padding: 11px; border: none; border-radius: var(--radius); background: var(--accent);
  color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.auth-submit:hover { opacity: .88; }
.auth-submit:disabled { opacity: .5; cursor: wait; }
.auth-note { font-size: 12px; color: var(--text-muted); line-height: 1.7; margin: 14px 0 0; text-align: center; }
.auth-menu {
  position: fixed; z-index: 320; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg, 0 12px 40px rgba(0,0,0,.18)); min-width: 180px; overflow: hidden;
}
.auth-menu-head { padding: 12px 16px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 8px; }
.auth-crown { font-size: 11px; background: rgba(214,149,0,.14); color: #a86700; border-radius: 999px; padding: 2px 8px; font-weight: 600; }
.auth-menu-item { display: block; padding: 11px 16px; font-size: 13.5px; color: var(--text-primary); text-decoration: none; transition: var(--transition); }
.auth-menu-item:hover { background: var(--bg-card-hover); color: var(--accent); }
/* 验证码输入框 + 获取验证码按钮（auth-ui v2.0） */
.auth-code-field .auth-send-code {
  flex: 0 0 auto; padding: 10px 14px; border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: var(--transition);
}
.auth-code-field .auth-send-code:hover { opacity: .88; }
.auth-code-field .auth-send-code:disabled { opacity: .5; cursor: not-allowed; }


/* ========= KMAP v1.2 publication trace ========= */
.v12-pub { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 6px; }
.v12-pub.v12-showcase, .v12-pub.v12-public { background: #dcfce7; color: #166534; }
.v12-pub.v12-pending { background: #fef3c7; color: #92400e; }
.v12-pub.v12-internal { background: #f1f5f9; color: #64748b; }

.v12-trace { margin: 18px 0 8px; padding: 16px 18px; border: 1px solid var(--border, #e2e8f0); border-radius: 14px; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.v12-trace[data-stage="featured"] { border-color: #16a34a; background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%); }
.v12-trace[data-stage="unstarted"] { border-color: #fde68a; background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%); }
.v12-trace-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.v12-stage-label { font-size: 13px; font-weight: 700; color: #0f172a; }
.v12-stage-rule { font-size: 11.5px; color: #64748b; }
.v12-trace-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; }
.v12-step { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--border, #e2e8f0); border-radius: 10px; background: #ffffff; }
.v12-step.ok { border-color: #bbf7d0; background: #f0fdf4; }
.v12-step.pending { border-color: #fde68a; background: #fffbeb; }
.v12-step-no { width: 22px; height: 22px; border-radius: 999px; background: #0f172a; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.v12-step.ok .v12-step-no { background: #16a34a; }
.v12-step.pending .v12-step-no { background: #d97706; }
.v12-step-label { font-weight: 700; font-size: 13px; color: #0f172a; }
.v12-step small { font-size: 11.5px; color: #64748b; }
.v12-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; margin-right: 4px; vertical-align: middle; }
.v12-dot.ok { background: #16a34a; }
.v12-dot.pending { background: #d97706; }
@media (max-width: 720px) { .v12-trace-list { grid-template-columns: 1fr; } }

/* Home showcase: v1.2 strip */
.v12-trace-strip { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e2e8f0; align-items: center; }
.v12-strip-label { font-size: 11px; font-weight: 700; color: #475569; margin-right: 4px; }
.v12-strip-status { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.v12-strip-status.ok { background: #dcfce7; color: #166534; }
.v12-strip-status.pending { background: #fef3c7; color: #92400e; }

/* ========== KMAP 四象限：来源 / 知识本体 / 可执行技能 / 适用边界 ========== */
.qd-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0 8px;}
.qd-section{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px;}
.qd-section header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.qd-section h3{margin:0;font-size:16px;font-weight:800;color:var(--ink);}
.qd-num{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:800;}
.qd-pill{font-size:11px;font-weight:700;padding:3px 10px;border-radius:999px;background:#f1f5f9;color:#475569;}
.qd-pill.ok{background:#dcfce7;color:#166534;}
.qd-pill.pending{background:#fef3c7;color:#92400e;}
.qd-count{margin-left:auto;font-size:12px;color:#475569;background:#fff;border:1px solid var(--line);padding:2px 10px;border-radius:999px;}
.qd-meta{margin:0;font-size:12.5px;color:#475569;line-height:1.6;}
.qd-quote{margin:0;padding:10px 14px;border-left:3px solid var(--blue);background:#fff;border-radius:0 10px 10px 0;color:#1f2937;font-size:13px;line-height:1.7;}
.qd-meta-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0;font-size:11.5px;color:#475569;}
.qd-meta-list li{background:#fff;border:1px solid var(--line);padding:3px 9px;border-radius:999px;}
.qd-concepts{display:grid;grid-template-columns:1fr;gap:10px;}
.qd-concept{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;}
.qd-concept header{display:flex;align-items:baseline;gap:10px;}
.qd-concept h4{margin:0;font-size:14px;font-weight:750;color:var(--ink);}
.qd-concept-id{font-size:11px;font-weight:800;color:#1d4ed8;background:#eff6ff;padding:2px 8px;border-radius:6px;letter-spacing:.5px;}
.qd-concept p{margin:6px 0;font-size:12.5px;color:#1f2937;line-height:1.7;display:flex;gap:8px;}
.qd-tag{flex:0 0 auto;font-size:10.5px;font-weight:800;padding:2px 6px;border-radius:5px;background:#0f172a;color:#fff;min-width:24px;text-align:center;}
.qd-prop .qd-tag{background:#1d4ed8;}
.qd-mech .qd-tag{background:#0e7490;}
.qd-trig .qd-tag{background:#7c3aed;}
.qd-bnd .qd-tag{background:#b45309;}
.qd-detail{margin-top:8px;border-top:1px dashed var(--line);padding-top:8px;}
.qd-detail summary{cursor:pointer;font-size:12px;color:var(--muted);font-weight:700;}
.qd-cells{display:grid;grid-template-columns:88px 1fr;gap:6px 12px;margin:8px 0 0;font-size:12px;}
.qd-cells dt{color:#475569;font-weight:800;}
.qd-cells dd{margin:0;color:#1f2937;line-height:1.65;white-space:pre-wrap;}
.qd-keyword{display:inline-block;background:#eef3ff;color:#3b6ee0;border-radius:999px;padding:2px 8px;font-size:11.5px;margin:0 4px 4px 0;}
.qd-boundary-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:#1f2937;line-height:1.6;}
.qd-empty{margin:0;font-size:12.5px;color:#92400e;background:#fff7ed;border:1px dashed #fcd34d;padding:10px 12px;border-radius:10px;}
@media (max-width:880px){.qd-grid{grid-template-columns:1fr;}}

/* ========== KMAP v1.3 四象限：本体优先 ========== */
.qd-grid.qd-grid-main{display:grid;grid-template-columns:1.1fr 1.5fr 0.9fr 0.9fr;gap:16px;margin:18px 0;}
.qd-section.qd-main{background:linear-gradient(180deg,#ffffff 0%,#f0fdf4 100%);border:2px solid #16a34a;}
.qd-section header{align-items:baseline;}
.qd-concept{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;}
.qd-concept header{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;}
.qd-concept h4{margin:0;font-size:15px;font-weight:800;color:var(--ink);}
.qd-concept p{margin:8px 0;font-size:12.5px;color:#1f2937;line-height:1.7;display:flex;gap:8px;}
.qd-prop.empty{color:#92400e;background:#fff7ed;padding:6px 8px;border-radius:6px;}
.qd-principles{margin-top:10px;border-top:1px dashed var(--line);padding-top:8px;}
.qd-principles summary{cursor:pointer;font-size:12.5px;color:#475569;font-weight:700;}
.qd-concepts-source .qd-concept{border-color:#bfdbfe;background:#eff6ff;}
@media (max-width:1080px){.qd-grid.qd-grid-main{grid-template-columns:1fr 1fr;}}
@media (max-width:720px){.qd-grid.qd-grid-main{grid-template-columns:1fr;}}

/* ========== UI P0 品牌增强层 (2026-08-09) ========== */
/* 1. 品牌 SVG 图标系统：替换 emoji 的统一几何化图标 */
.it-icon{display:inline-flex;align-items:center;justify-content:center;width:1.4em;height:1.4em;vertical-align:-0.28em;flex-shrink:0;}
.it-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.it-icon.lg{width:2em;height:2em;}
.it-icon.sm{width:1em;height:1em;}
/* 四象限品牌图标色 */
.it-icon.gold{color:var(--gold,#d69500);}
.it-icon.green{color:var(--green,#16a34a);}
.it-icon.blue{color:var(--blue,#2563eb);}
.it-icon.purple{color:var(--purple,#7c3aed);}

/* 2. 卡片变体：统一 hover 微交互 */
.it-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.it-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(26,26,46,.08);}
.it-card.flat:hover{transform:none;box-shadow:none;border-color:var(--accent);}

/* 3. Badge 系统：A/B/C 质量分级 + 主题徽章 */
.it-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.6;letter-spacing:.02em;}
.it-badge.A{background:#dcfce7;color:#15803d;border:1px solid #86efac;}
.it-badge.B{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;}
.it-badge.C{background:#fef3c7;color:#92400e;border:1px solid #fde68a;}
.it-badge.ff{background:#fef7e6;color:#b45309;border:1px solid #fde68a;}
.it-badge.hw{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;}
.it-badge.rel{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe;}
.it-badge.lp{background:#f5f3ff;color:#6d28d9;border:1px solid #ddd6fe;}
.it-badge.neutral{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;}

/* 4. stagger reveal 动画：区块淡入 */
.it-stagger{opacity:0;animation:itFadeUp .5s ease forwards;}
@keyframes itFadeUp{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:translateY(0);}}
.it-stagger:nth-child(1){animation-delay:.05s;}
.it-stagger:nth-child(2){animation-delay:.12s;}
.it-stagger:nth-child(3){animation-delay:.19s;}
.it-stagger:nth-child(4){animation-delay:.26s;}
.it-stagger:nth-child(5){animation-delay:.33s;}
.it-stagger:nth-child(6){animation-delay:.40s;}
@media (prefers-reduced-motion:reduce){.it-stagger{opacity:1;animation:none;}}

/* 5. 数字动画：积分/统计滚动 */
.it-num{display:inline-block;font-variant-numeric:tabular-nums;}
.it-count-up{transition:opacity .2s ease;}

/* 6. 信任元素：存证时间线 / Fork 链路 */
.it-timeline{position:relative;padding-left:20px;margin:10px 0;}
.it-timeline::before{content:'';position:absolute;left:6px;top:4px;bottom:4px;width:2px;background:linear-gradient(180deg,var(--accent),transparent);}
.it-timeline-item{position:relative;padding:6px 0;font-size:13px;color:var(--text-secondary);}
.it-timeline-item::before{content:'';position:absolute;left:-17px;top:12px;width:8px;height:8px;border-radius:50%;background:var(--accent);border:2px solid #fff;box-shadow:0 0 0 2px var(--accent-soft);}

/* 7. Skeleton 加载占位 */
.it-skeleton{background:linear-gradient(90deg,#eef0f4 25%,#f7f8fa 50%,#eef0f4 75%);background-size:200% 100%;animation:shimmer 1.6s linear infinite;border-radius:8px;}

/* 8. Tooltip */
.it-tip{position:relative;cursor:help;border-bottom:1px dashed var(--border);}
.it-tip::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%) scale(.95);background:#1a1a2e;color:#fff;padding:6px 10px;border-radius:8px;font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease;z-index:50;}
.it-tip:hover::after{opacity:1;transform:translateX(-50%) scale(1);}
