/* ===== 模灵智能 ModelGhost · 深空科技风设计系统 =====
   干净、克制、少装饰。深色底 + 一处强调色，靠留白与层级撑起秩序感。 */

:root {
  --bg: #0a0e17;
  --bg-soft: #0d1320;
  --surface: #131a28;
  --surface-2: #18202f;
  --border: rgba(120, 160, 210, 0.08);
  --border-strong: rgba(62, 198, 255, 0.18);
  --text: #e8eef7;
  --text-muted: #93a3ba;
  --text-dim: #647089;
  --accent: #3ec6ff;
  --accent-2: #7c8bff;
  --grad: linear-gradient(135deg, #3ec6ff 0%, #6f7bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(62, 198, 255, 0.16), rgba(111, 123, 255, 0.16));
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --maxw: 1140px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 背景：一层极淡的顶部光晕，仅用于撑开空间，不做炫技 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 72% -12%, rgba(62, 198, 255, 0.07), transparent 62%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ===== 顶部导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 23, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .2px; }
.brand img { width: 42px; height: 42px; }
.brand b { font-size: 17px; }
.brand span { color: var(--accent); }
.nav__links { display: flex; gap: 26px; margin-left: 14px; }
.nav__links a { color: var(--text-muted); font-size: 14.5px; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--accent); }
.nav__cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }

/* 导航用户头像下拉 */
.nav-user { position: relative; }
.nav-user__btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; padding: 5px 12px 5px 6px; font-family: var(--font); font-size: 14px;
  transition: border-color .2s, background .2s;
}
.nav-user__btn:hover { border-color: var(--border-strong); background: var(--surface-2); }
.nav-user__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--grad-soft); flex: none; border: 1px solid var(--border-strong); }
.nav-user__name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user__caret { color: var(--text-dim); transition: transform .2s; flex: none; }
.nav-user__btn[aria-expanded="true"] .nav-user__caret { transform: rotate(180deg); }
.nav-user__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; min-width: 210px;
  background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  box-shadow: var(--shadow); padding: 8px; overflow: hidden;
}
.nav-user__head { display: flex; gap: 11px; align-items: center; padding: 8px 10px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.nav-user__head .nav-user__avatar { width: 40px; height: 40px; }
.nav-user__hi { min-width: 0; }
.nav-user__n { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user__e { font-size: 12px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user__item {
  display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--text);
  font-family: var(--font); font-size: 14px; padding: 9px 11px; border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none;
}
.nav-user__item:hover { background: var(--surface-2); color: var(--text); }
.nav-user__item--danger { color: #ff9aa5; }
.nav-user__item--danger:hover { background: rgba(255, 92, 108, .12); color: #ff9aa5; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--grad); color: #06121f; box-shadow: 0 10px 28px rgba(62, 198, 255, 0.24); }
.btn--primary:hover { box-shadow: 0 14px 34px rgba(62, 198, 255, 0.34); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }
.btn--sm { padding: 8px 15px; font-size: 13.5px; }

/* ===== 区块通用 ===== */
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--grad-soft);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.section-title { font-size: 33px; line-height: 1.28; font-weight: 700; margin: 18px 0 14px; letter-spacing: .2px; }
.section-desc { color: var(--text-muted); font-size: 16px; max-width: 720px; }
.center { text-align: center; }
.center .section-desc { margin-left: auto; margin-right: auto; }

/* ===== Hero ===== */
.hero { padding: 96px 0 72px; position: relative; }
.hero__badge { margin-bottom: 22px; }
.hero h1, .hero__title { font-size: 50px; line-height: 1.18; font-weight: 800; letter-spacing: .2px; max-width: 880px; }
.hero h1 .grad,
.hero__title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead,
.hero__desc { color: var(--text-muted); font-size: 18px; line-height: 1.8; margin: 24px 0 34px; max-width: 700px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; }
.hero__stats .num { font-size: 28px; font-weight: 800; color: var(--text); }
.hero__stats .num span { color: var(--accent); }
.hero__stats .lbl { color: var(--text-dim); font-size: 13.5px; }

/* ===== 卡片栅格 ===== */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s, background .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); background: var(--surface-2); border-color: var(--border-strong); }
.card__ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); margin-bottom: 18px;
}
.card__ico svg { width: 26px; height: 26px; }
.card__ico img { width: 30px; height: 30px; }
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14.6px; }
.card__list { margin-top: 18px; display: grid; gap: 8px; list-style: none; }
.card__list li { color: var(--text-muted); font-size: 13.5px; padding-left: 18px; position: relative; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.card__foot { display: block; margin-top: 22px; color: var(--accent); font-size: 14px; font-weight: 600; }

/* ===== 步骤 / 流程 ===== */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--border); }
.step:last-child { border-bottom: 1px solid var(--border); }
.step__no {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; color: #06121f; background: var(--grad); font-size: 16px;
}
.step__body h3 { font-size: 17px; margin-bottom: 6px; }
.step__body p { color: var(--text-muted); font-size: 14.6px; }

/* ===== 定价 ===== */
.price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.price--hot { background: var(--surface-2); border-color: var(--border-strong); }
.price__tag { align-self: flex-start; font-size: 12px; color: var(--accent); background: rgba(62, 198, 255, 0.1); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px; }
.price h3 { font-size: 20px; }
.price .amt { font-size: 38px; font-weight: 800; margin: 10px 0 2px; }
.price .amt small { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.price ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 11px; }
.price li { color: var(--text-muted); font-size: 14.5px; padding-left: 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price .btn { margin-top: auto; justify-content: center; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq p { color: var(--text-muted); font-size: 14.8px; padding: 14px 0 18px; }

/* ===== CTA 区 ===== */
.cta {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 52px 40px; text-align: center;
}
.cta h2 { font-size: 28px; margin-bottom: 12px; }
.cta p { color: var(--text-muted); margin-bottom: 26px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== 页脚 ===== */
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 40px; color: var(--text-dim); }
.footer__grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__grid a { color: var(--text-muted); font-size: 14px; }
.footer__grid a:hover { color: var(--text); }
.footer__col h4 { color: var(--text); font-size: 14.5px; margin-bottom: 14px; }
.footer__col { display: grid; gap: 10px; }
.footer__about { color: var(--text-muted); font-size: 13.5px; margin-top: 12px; max-width: 280px; line-height: 1.7; }
.footer__title { color: var(--text); font-size: 14.5px; margin-bottom: 14px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__contact { list-style: none; }
.footer__contact li { margin-bottom: 10px; font-size: 13.5px; color: var(--text-muted); }
.footer__bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ===== 说明列表 ===== */
.plist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.plist li { color: var(--text-muted); font-size: 14.8px; padding-left: 26px; position: relative; line-height: 1.7; }
.plist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }

/* ===== 论坛 ===== */
.forum-list { display: grid; gap: 12px; margin-top: 20px; }
.fthread { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; cursor: pointer; transition: background .2s, transform .15s, border-color .2s; }
.fthread:hover { background: var(--surface-2); transform: translateY(-2px); border-color: var(--border-strong); }
.fthread__main { min-width: 0; flex: 1; }
.fthread__title { font-size: 16px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.fthread__meta { color: var(--text-dim); font-size: 12.5px; margin-top: 6px; }
.fthread__excerpt { color: var(--text-muted); font-size: 13.5px; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fthread__side { display: flex; align-items: center; gap: 14px; flex: none; }
.fthread__go { color: var(--accent); font-size: 13.5px; font-weight: 600; }
.fthread__del { background: none; border: 1px solid var(--border); color: var(--text-dim); font-size: 12px; padding: 5px 10px; border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font); transition: border-color .2s, color .2s; }
.fthread__del:hover { border-color: rgba(255, 92, 108, .4); color: #ff9aa5; }
.forum-loading, .forum-empty { padding: 40px; text-align: center; color: var(--text-dim); }
.pager { display: flex; gap: 12px; align-items: center; margin-top: 18px; justify-content: center; }
.pager__btn { background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 8px 16px; border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font); font-size: 13.5px; transition: border-color .2s; }
.pager__btn:hover:not(:disabled) { border-color: var(--border-strong); }
.pager__btn:disabled { opacity: .45; cursor: not-allowed; }
.pager__info { color: var(--text-dim); font-size: 13px; }
.tv-title { font-size: 24px; font-weight: 700; margin: 16px 0 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tv-meta { color: var(--text-dim); font-size: 13px; margin-bottom: 16px; }
.tv-content { font-size: 15px; line-height: 1.8; color: var(--text); }
.tv-content p { white-space: normal; }
.tv-replies { margin-top: 30px; }
.tv-replies__title { font-size: 16px; margin-bottom: 14px; }
.fpost { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 12px; }
.fpost__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fpost__author { font-weight: 600; font-size: 14px; }
.fpost__time { color: var(--text-dim); font-size: 12px; }
.fpost__del { margin-left: auto; background: none; border: 1px solid var(--border); color: var(--text-dim); font-size: 12px; padding: 4px 9px; border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font); transition: border-color .2s, color .2s; }
.fpost__del:hover { border-color: rgba(255, 92, 108, .4); color: #ff9aa5; }
.fpost__body { color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.tv-reply { margin-top: 22px; }
.tv-reply textarea { width: 100%; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14.6px; font-family: var(--font); resize: vertical; line-height: 1.6; }
.tv-reply textarea:focus { outline: none; border-color: var(--border-strong); box-shadow: 0 0 0 3px rgba(62, 198, 255, .12); }
.forum-needlogin, .tv-reply-needlogin { color: var(--text-dim); font-size: 13.5px; margin-top: 8px; }
.forum-needlogin a, .tv-reply-needlogin a { color: var(--accent); }

/* ===== 响应式 ===== */
@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .hero h1, .hero__title { font-size: 36px; }
  .section-title { font-size: 26px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 56px; }
}

@media (max-width: 640px) {
  .fthread { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fthread__side { width: 100%; justify-content: space-between; }
}
