/* ============================================
   NutraPaper v 原型站 · 继承 www.nutrapaper.com 视觉系统
   （Google Material + 深海军蓝品牌色，提取自线上版 index-*.css）
   ============================================ */
:root {
  --navy-900: #011D35; --navy-700: #002A50; --navy-500: #01396A;
  --navy-300: #1B5586; --navy-100: #B3CBE0; --navy-50: #E6EDF5;
  --navy-a12: rgba(1,57,106,.12); --navy-a8: rgba(1,57,106,.08); --navy-a6: rgba(1,57,106,.06);
  --ink: #000; --ink-2: #3C4043; --ink-muted: #80868B; --ink-disabled: #BDC1C6;
  --canvas: #F6F6F6; --surface: #FFFFFF; --surface-hover: #F0F2F4; --hairline: #E0E0E0;
  --success: #34A853; --warning: #FBBC04; --danger: #EA4335; --info: #4285F4;
  --font-en: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-zh: -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --r-btn: 6px; --r-card: 10px; --r-input: 8px; --r-sm: 4px; --r-pill: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08); --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --t-fast: .15s; --e-out: ease-out;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-en), var(--font-zh);
  color: var(--ink); background: var(--canvas);
  line-height: 1.6; -webkit-font-smoothing: antialiased; padding-top: 60px;
}
/* 顶栏：navy-500 实底 60px（与主站一致） */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px; background: var(--navy-500);
}
.nav-inner {
  max-width: 1128px; width: 100%; margin: 0 auto; padding: 0 15px;
  display: flex; align-items: center; height: 100%;
}
.nav-logo { display: flex; align-items: center; color: #fff; text-decoration: none; flex-shrink: 0; gap: 8px; font-weight: 600; }
.nav-logo img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.nav-logo .v-tag { font-size: 11px; font-weight: 600; background: #ffffff26; padding: 2px 8px; border-radius: var(--r-sm); color: #ffffffc7; }
.nav-links { display: flex; gap: clamp(12px, 2vw, 28px); margin: 0 auto; }
.nav-links a {
  color: #ffffffc7; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 4px 0; position: relative; transition: color var(--t-fast) var(--e-out);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active:after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: #fff; border-radius: 1px;
}
.page { max-width: 1128px; margin: 0 auto; padding: 15px 0 0; }
/* Hero */
.hero-section { text-align: center; padding: 48px 0 36px; }
.hero-section .brand-icon { font-size: 46px; margin-bottom: 10px; }
.hero-section h1 {
  font-family: var(--font-en); font-size: clamp(28px, 4vw, 38px);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 16px;
}
.hero-section h1 .accent { color: var(--navy-500); }
.hero-section .subtitle { font-size: 17px; color: var(--ink-2); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
/* 按钮（与主站 btn/btn-primary/btn-ghost 一致） */
.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 24px;
  font-size: 14px; font-weight: 500; border-radius: var(--r-btn); border: none;
  cursor: pointer; font-family: inherit; transition: all var(--t-fast) var(--e-out); text-decoration: none;
}
.btn-primary { background: var(--navy-500); color: #fff; }
.btn-primary:hover { background: var(--navy-300); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-hover); }
/* 卡片网格 */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 8px; }
.card {
  display: block; background: var(--surface); border-radius: var(--r-card);
  padding: 22px; text-decoration: none; color: inherit; border: 1px solid var(--hairline);
  transition: all var(--t-fast) var(--e-out);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: transparent; }
.card .ico { font-size: 26px; }
.card .tag {
  display: inline-block; font-size: 11px; font-weight: 600; color: var(--navy-500);
  text-transform: uppercase; letter-spacing: .03em; background: var(--navy-50);
  padding: 2px 8px; border-radius: var(--r-pill); margin: 10px 0 8px;
}
.card h3 { font-size: 16.5px; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.card .go { color: var(--navy-500); font-size: 13px; font-weight: 600; margin-top: 10px; display: inline-block; }
/* 内容卡片（content-card） */
.content-card {
  background: var(--surface); border-radius: var(--r-card); padding: 32px 36px; margin-bottom: 22px;
}
.content-card h1 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.content-card .page-sub { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.content-card h2 { font-size: 20px; font-weight: 600; margin: 26px 0 12px; letter-spacing: -.01em; }
.content-card h3 { font-size: 16px; font-weight: 600; margin: 18px 0 8px; }
.content-card p { font-size: 15px; line-height: 1.8; color: var(--ink-2); margin-bottom: 14px; }
.content-card ul, .content-card ol { font-size: 15px; line-height: 1.8; color: var(--ink-2); margin-bottom: 14px; padding-left: 22px; }
.content-card li { margin-bottom: 6px; }
.content-card .back { display: inline-block; color: var(--ink-muted); text-decoration: none; font-size: 13px; margin-bottom: 14px; }
.content-card .back:hover { color: var(--navy-500); }
/* 高亮/提示框 */
.highlight { background: var(--navy-50); border-left: 3px solid var(--navy-500); padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 18px 0; }
.highlight p { margin: 0; color: var(--navy-500); font-weight: 500; }
.warn-box { border-left: 3px solid var(--warning); background: #fef7e0; padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 18px 0; }
.warn-box p { font-size: 14px; color: #8a6d00; margin: 0; line-height: 1.6; }
/* 阶段时间线（路线图） */
.phase { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.phase:last-child { border-bottom: none; }
.phase .no {
  flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--navy-500);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; font-family: var(--font-en);
}
.phase.done .no { background: var(--success); }
.phase.now .no { background: var(--warning); color: #4d3b00; }
.phase h3 { font-size: 16px; margin-bottom: 4px; }
.phase h3 .pill { font-size: 11px; padding: 2px 8px; border-radius: var(--r-pill); margin-left: 8px; font-weight: 600; vertical-align: 2px; }
.pill.done { background: #e6f4ea; color: #1e7e34; }
.pill.now { background: #fef7e0; color: #8a6d00; }
.pill.next { background: var(--surface-hover); color: var(--ink-muted); }
.phase p { font-size: 13.5px; color: var(--ink-2); }
/* 页脚（与主站 footer 一致） */
.footer { width: 100%; margin-top: 40px; border-top: 1px solid var(--hairline); background: var(--surface); }
.footer-inner { max-width: 1128px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 18px 24px; font-size: 13px; color: var(--ink-muted); flex-wrap: wrap; }
.footer-inner a { color: var(--ink-muted); text-decoration: none; }
.footer-inner a:hover { color: var(--navy-500); }
.footer-inner .sep { color: var(--hairline); }
/* 状态徽标（状态胶囊） */
.status { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: var(--r-pill); }
.status.active { background: #e6f4ea; color: #1e7e34; }
.status.paused { background: #fef7e0; color: #8a6d00; }
.status.archived { background: #f0f2f4; color: #80868b; }
@media (max-width: 768px) {
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 13.5px; }
  .page { padding: 12px 14px 0; }
  .hero-section { padding: 32px 0 24px; }
  .content-card { padding: 22px 18px; }
}
