/* ==========================================================================
   FurCore Cloud 绒核云端 — 全局样式表
   深色开源技术项目官网风格
   主色：#60c5de 淡青蓝   底色：#121418 深炭黑
   说明：所有样式内置，不依赖任何外部 CDN，离线也能正常渲染。
   需要改主题色，只改下面的 :root 变量即可。
   ========================================================================== */

:root {
  /* —— 主题配色 —— */
  --bg:            #121418;
  --bg-soft:       #16191f;
  --surface:       #1a1e25;
  --surface-2:     #1f242c;
  --border:        #272d37;
  --text:          #eef2f6;
  --text-muted:    #8b95a5;
  --text-dim:      #5f6b7c;
  --primary:       #60c5de;
  --primary-dark:  #3fa9c4;
  --primary-soft:  rgba(96, 197, 222, 0.10);
  --primary-line:  rgba(96, 197, 222, 0.30);

  /* —— 尺寸与排版 —— */
  --maxw:      1140px;
  --radius:    14px;
  --radius-sm: 9px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
               Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* 固定导航栏高度补偿 */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
p  { margin: 0; }

::selection { background: rgba(96, 197, 222, 0.28); }

/* 页面背景的极简网格纹理（纯 CSS，无图片） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(96, 197, 222, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 197, 222, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 75%);
}

/* ==========================================================================
   布局容器
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 84px 0; position: relative; z-index: 1; }
.section--tight { padding: 56px 0; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}

.section-title { font-size: 30px; margin-bottom: 14px; }
.section-desc  { color: var(--text-muted); font-size: 15px; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 22%, var(--border) 78%, transparent);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   导航栏
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18, 20, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(18, 20, 24, 0.94);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}

/* Logo */
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 30px; height: 30px; color: var(--primary); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
.brand__sub  { font-size: 10.5px; color: var(--text-dim); font-family: var(--font-mono); letter-spacing: .05em; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: color .18s ease, background .18s ease;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link.is-active { color: var(--primary); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

/* 汉堡按钮（移动端） */
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}
.nav__toggle:hover { border-color: var(--primary-line); }

.nav__mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(18, 20, 24, 0.98);
  padding: 10px 24px 18px;
}
.nav__mobile.is-open { display: block; }
.nav__mobile .nav__link { display: block; padding: 11px 12px; font-size: 15px; }
.nav__mobile .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--primary); color: #0b1114; }
.btn--primary:hover { background: #78d3e8; }

.btn--ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--primary-line); color: var(--primary); }

.btn--sm { padding: 9px 15px; font-size: 13px; }
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* ==========================================================================
   卡片
   ========================================================================== */
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.card--hover:hover { border-color: var(--primary-line); transform: translateY(-3px); }

.card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  color: var(--primary);
  margin-bottom: 16px;
}
.card__title { font-size: 16.5px; margin-bottom: 8px; }
.card__text  { color: var(--text-muted); font-size: 14px; }

/* 网格布局 */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
  position: relative;
  padding: 150px 0 92px;
  text-align: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 780px; height: 480px;
  background: radial-gradient(ellipse at center, rgba(96, 197, 222, 0.16) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero__title {
  font-size: 54px;
  letter-spacing: -0.03em;
  margin: 18px 0 16px;
  background: linear-gradient(180deg, #ffffff 30%, #9fb2c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle { font-size: 18px; color: var(--text-muted); max-width: 720px; margin: 0 auto; }
.hero__note {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 26px;
  padding: 11px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: left;
  max-width: 640px;
}
.hero__note svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* 首屏技术指标条 */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 58px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(26, 30, 37, 0.55);
  overflow: hidden;
}
.hero__stat { flex: 1 1 180px; padding: 20px 16px; border-right: 1px solid var(--border); }
.hero__stat:last-child { border-right: 0; }
.hero__stat-value { font-family: var(--font-mono); font-size: 20px; color: var(--primary); }
.hero__stat-label { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }

/* ==========================================================================
   月度运维目标 / 进度条
   ========================================================================== */
.fund { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }

.fund__main { display: flex; flex-direction: column; }

.progress {
  height: 10px;
  width: 100%;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin: 20px 0 12px;
  border: 1px solid var(--border);
}
.progress__bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  transition: width 1.1s cubic-bezier(.22, .61, .36, 1);
}

.fund__numbers {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.fund__raised { font-family: var(--font-mono); font-size: 26px; color: var(--text); }
.fund__target { font-size: 13.5px; color: var(--text-dim); font-family: var(--font-mono); }
.fund__percent { font-family: var(--font-mono); color: var(--primary); font-size: 14px; }

.fund__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.fund__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fund__list li strong { color: var(--text); font-weight: 600; }
.fund__list svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }

/* ==========================================================================
   赞助档位
   ========================================================================== */
.tier { display: flex; flex-direction: column; position: relative; }
.tier--featured { border-color: var(--primary-line); background: linear-gradient(180deg, rgba(96,197,222,.07), var(--bg-soft)); }
.tier__tag {
  position: absolute; top: -11px; left: 26px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  background: var(--primary); color: #0b1114;
  border-radius: 999px; padding: 3px 11px; font-weight: 700;
}
.tier__price { font-family: var(--font-mono); font-size: 28px; color: var(--primary); line-height: 1.2; }
.tier__price span { font-size: 14px; color: var(--text-dim); font-family: var(--font-sans); }
.tier__name { font-size: 15px; margin-bottom: 4px; }
.tier__perks { margin: 18px 0 22px; flex: 1; }
.tier__perks li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 5px 0 5px 22px;
  position: relative;
}
.tier__perks li::before {
  content: "";
  position: absolute; left: 6px; top: 14px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .75;
}

.tier-note {
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tier-note svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }

/* ==========================================================================
   开发日志卡片 / 时间线
   ========================================================================== */
.log-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.log-item:last-child { border-bottom: 0; }
.log-item__date { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); padding-top: 3px; }
.log-item__title { font-size: 16px; margin-bottom: 8px; }
.log-item__text { color: var(--text-muted); font-size: 14px; }
.log-item__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}
.tag--feat { color: var(--primary); border-color: var(--primary-line); background: var(--primary-soft); }
.tag--fix  { color: #86d99a; border-color: rgba(134, 217, 154, .3); background: rgba(134, 217, 154, .08); }
.tag--docs { color: #d9c78a; border-color: rgba(217, 199, 138, .3); background: rgba(217, 199, 138, .08); }

/* 时间线（log.html） */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--primary-line), var(--border) 60%, transparent);
}
.timeline__item { position: relative; padding-bottom: 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px; top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
}
.timeline__meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.timeline__version { font-family: var(--font-mono); font-size: 13px; color: var(--primary); }
.timeline__date { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim); }
.timeline__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.timeline__card ul { margin-top: 12px; }
.timeline__card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0 4px 20px;
  position: relative;
}
.timeline__card li::before {
  content: "–";
  position: absolute; left: 4px;
  color: var(--primary);
  opacity: .7;
}

/* ==========================================================================
   鸣谢名单
   ========================================================================== */
.thanks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.thanks__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-muted);
  transition: border-color .2s ease, color .2s ease;
}
.thanks__item:hover { border-color: var(--primary-line); color: var(--text); }
.thanks__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  opacity: .65;
  flex-shrink: 0;
}

/* ==========================================================================
   文档页 / FAQ
   ========================================================================== */
.doc { max-width: 860px; margin: 0 auto; }
.doc h2 { font-size: 23px; margin: 46px 0 14px; scroll-margin-top: 90px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16.5px; margin: 26px 0 8px; color: var(--text); }
.doc p  { color: var(--text-muted); margin-bottom: 12px; }
.doc ul { margin: 12px 0; }
.doc ul li {
  color: var(--text-muted);
  font-size: 14.5px;
  padding: 5px 0 5px 20px;
  position: relative;
}
.doc ul li::before {
  content: "";
  position: absolute; left: 5px; top: 14px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); opacity: .65;
}

/* 目录侧栏（文档页） */
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.doc-toc { position: sticky; top: 92px; font-size: 13.5px; }
.doc-toc__title {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px;
}
.doc-toc a {
  display: block;
  color: var(--text-muted);
  padding: 6px 12px;
  border-left: 2px solid var(--border);
  transition: color .18s ease, border-color .18s ease;
}
.doc-toc a:hover { color: var(--primary); border-left-color: var(--primary); }

/* 提示框 */
.callout {
  display: flex;
  gap: 13px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  color: var(--text-muted);
  font-size: 14px;
  margin: 20px 0;
}
.callout svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }
.callout strong { color: var(--text); }

/* FAQ 折叠面板 */
.faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  padding: 17px 22px;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary); }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 22px 20px; color: var(--text-muted); font-size: 14px; }

/* ==========================================================================
   内页页头
   ========================================================================== */
.page-head {
  padding: 132px 0 46px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.page-head__title { font-size: 38px; letter-spacing: -0.025em; margin-bottom: 12px; }
.page-head__desc { color: var(--text-muted); max-width: 700px; }

/* ==========================================================================
   CTA 区块
   ========================================================================== */
.cta {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(96, 197, 222, .09) 0%, var(--surface) 55%);
  padding: 46px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__title { font-size: 26px; margin-bottom: 12px; }
.cta__desc  { color: var(--text-muted); max-width: 620px; margin: 0 auto 26px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 52px 0 30px;
  position: relative;
  z-index: 1;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}
.footer__brand-desc { color: var(--text-dim); font-size: 13.5px; margin-top: 14px; max-width: 320px; }
.footer__col-title {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer__links li { margin-bottom: 9px; }
.footer__links a {
  color: var(--text-muted);
  font-size: 13.5px;
  transition: color .18s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer__links a:hover { color: var(--primary); }

.footer__disclaimer {
  margin-top: 30px;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--text-dim);
}
.footer__disclaimer strong { color: var(--text-muted); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ==========================================================================
   滚动淡入动画
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .progress__bar { transition: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__title { font-size: 46px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .fund { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; gap: 28px; }
  .doc-toc { position: static; display: none; }
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding: 122px 0 66px; }
  .hero__title { font-size: 34px; }
  .hero__subtitle { font-size: 15.5px; }
  .hero__stats { flex-direction: column; }
  .hero__stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .hero__stat:last-child { border-bottom: 0; }
  .section-title { font-size: 24px; }
  .page-head { padding: 116px 0 34px; }
  .page-head__title { font-size: 28px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .log-item { grid-template-columns: 1fr; gap: 8px; }
  .cta { padding: 34px 22px; }
  .cta__title { font-size: 21px; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .timeline { padding-left: 24px; }
  .timeline__item::before { left: -24px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}
