/* ===== DreamGameBuild 官网 · 深空科技风 × 像素游戏风 =====
   与模灵智能(ModelGhost)共用同一套组件词汇；本站点为深空暗色 + 游戏感。
   视觉关键词：CRT 扫描线 / 像素方块 / 霓虹青紫 / 硬边阴影 / 等宽字标签 */

:root {
  --bg: #070b13;
  --bg-soft: #0d1320;
  /* 面用实体感的填充承载，不靠描边勾轮廓 */
  --surface: #111826;
  --surface-2: #161e2d;
  --border: rgba(120, 160, 210, 0.07);
  --border-strong: rgba(62, 198, 255, 0.16);
  --text: #e8eef7;
  --text-muted: #93a3ba;
  --text-dim: #6b7789;
  --accent: #3ec6ff;
  --accent-2: #7c8bff;
  --accent-3: #ff5cc8;
  --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: 4px;
  --radius-md: 4px;
  --radius-sm: 3px;
  --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", "Cascadia Mono", 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: -2;
  background:
    radial-gradient(900px 520px at 78% -8%, 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(7, 11, 19, 0.82);
  border-bottom: 1px solid var(--border);
}
/* 导航底部细线 */
.nav::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .35;
}

.nav__inner { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .2px; }
.brand img { width: 40px; height: 40px; }
.brand b { font-size: 17px; }
.brand span { color: var(--accent); }
.nav .brand { flex-shrink: 0; white-space: nowrap; }
.nav__links { display: flex; flex-shrink: 0; gap: 24px; margin-left: 14px; white-space: nowrap; }
.nav__links a { color: var(--text-muted); font-size: 14.5px; transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--accent); }
.nav__links a.is-active::before {
  content: ""; position: absolute; left: -11px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; background: var(--accent);
}
.nav__cta { margin-left: auto; display: flex; flex: none; gap: 12px; align-items: center; white-space: nowrap; }

/* 导航用户头像下拉 */
.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; width: 260px; max-width: calc(100vw - 32px); 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: var(--radius-sm); font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, border-color .2s, background .2s;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--grad); color: #04101c;
  box-shadow: 0 10px 26px rgba(62, 198, 255, 0.22);
}
.btn--primary:hover { box-shadow: 0 14px 32px rgba(62, 198, 255, 0.3); }
.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: 62px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: 1.4px;
  padding: 6px 14px; border: 0; border-radius: var(--radius-sm);
  background: rgba(62, 198, 255, 0.12);
  text-transform: uppercase;
}
.eyebrow .dot, .hero__badge .dot {
  width: 7px; height: 7px; border-radius: 0; background: var(--accent);
}

.section-title { font-size: 33px; line-height: 1.28; font-weight: 800; margin: 18px 0 14px; letter-spacing: .2px; }
/* 标题前像素方块 */
.section-title::before {
  content: ""; display: inline-block; width: 11px; height: 11px;
  background: var(--accent); margin-right: 11px; vertical-align: middle;
}
.center .section-title::before { display: none; }
.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 78px; position: relative; overflow: hidden;
}

/* hero 徽章（此前无样式，导致裸文字 + 圆点不显示） */
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 1.2px;
  color: var(--accent);
  padding: 6px 14px;
  border: 0;
  background: rgba(62, 198, 255, 0.13);
}

.hero h1 { font-size: 50px; line-height: 1.18; font-weight: 800; letter-spacing: .2px; max-width: 880px; }
.hero h1 .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* hero 描述（此前无样式，字号颜色失控） */
.hero__desc, .hero p.lead {
  color: var(--text-muted); font-size: 18px; line-height: 1.75;
  margin: 22px 0 32px; max-width: 700px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* 像素方块条 */
.pixel-strip { display: inline-flex; gap: 3px; height: 8px; margin-bottom: 22px; }
.pixel-strip i {
  display: block; width: 8px; height: 8px; background: var(--accent);
}
.pixel-strip i:nth-child(2) { background: var(--accent-2); }
.pixel-strip i:nth-child(4) { background: var(--accent-2); }
.pixel-strip i:nth-child(6) { background: var(--accent-2); }

/* Hero 数据条：终端风格 */
.hero__stats {
  display: flex; gap: 14px; margin-top: 52px; flex-wrap: wrap;
}
.hero__stats > div {
  flex: 1 1 190px;
  border: 0;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  padding: 16px 18px;
}
.hero__stats .num {
  font-family: var(--mono); font-size: 27px; font-weight: 700; color: var(--text);
  letter-spacing: -1px;
}
.hero__stats .num span { color: var(--accent); }
.hero__stats .lbl { color: var(--text-dim); font-size: 13px; font-family: var(--mono); letter-spacing: .3px; }

/* ===== 卡片栅格 ===== */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* 卡片：像素切角 + hover 描边 */
.card {
  position: relative; overflow: hidden;
  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: 54px; height: 54px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--grad-soft); border: 0;
  margin-bottom: 18px;
  color: var(--accent);
}
.card__ico svg { width: 30px; height: 30px; color: var(--accent); }
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14.6px; }

/* 卡片底部按钮区（此前无样式） */
.card__foot { margin-top: 22px; }

/* 卡片内列表 */
.card__list { list-style: none; margin: 12px 0 0; padding: 0; }
.card__list li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  color: var(--text-muted); font-size: 14px;
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; background: var(--accent);
}

/* ===== 步骤 / 流程 ===== */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; padding: 22px 0; border-top: 1px dashed var(--border); }
.step:last-child { border-bottom: 1px dashed var(--border); }
.step__no {
  flex: none; width: 42px; height: 42px; border-radius: var(--radius-md);
  display: grid; place-items: center; font-family: var(--mono);
  font-weight: 700; color: #04101c; 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; }
.step__body code {
  font-family: var(--mono); font-size: 13px;
  background: rgba(62, 198, 255, .1); color: var(--accent);
  padding: 2px 7px; border-radius: var(--radius-sm); border: 0;
}

/* ===== 定价 ===== */
.price {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column;
}
.price--hot {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.price__tag {
  align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  color: var(--accent); border: 0; border-radius: var(--radius-sm);
  padding: 4px 11px; margin-bottom: 14px; background: rgba(62, 198, 255, .12);
}
.price h3 { font-size: 20px; }
.price .amt { font-family: var(--mono); font-size: 36px; font-weight: 700; 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; top: 8px;
  width: 8px; height: 8px; background: var(--accent);
}
.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; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: 22px; font-weight: 400;
  font-family: var(--mono); flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px dashed 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;
  position: relative; overflow: hidden;
}
.cta h2 { font-size: 29px; margin-bottom: 12px; position: relative; }
.cta p { color: var(--text-muted); margin-bottom: 26px; position: relative; }
.cta__actions {
  position: relative;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* ===== 页脚 ===== */
.footer { border-top: 1px solid var(--border); padding: 48px 0 36px; 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(--accent); }
.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: 14px; line-height: 1.75; max-width: 330px; }
.footer__bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono); letter-spacing: .3px;
}

/* ===== 滚动揭示动画 ===== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== 像素标签 ===== */
.pixel-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px;
  padding: 4px 10px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-muted);
  background: var(--surface); letter-spacing: .5px;
}
.pixel-tag::before {
  content: ""; width: 8px; height: 8px; background: var(--accent);
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(62, 198, 255, .35); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(62, 198, 255, .6); }

::selection { background: rgba(62, 198, 255, .3); color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 1120px) {
  .nav__links { display: none; }
}

@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero__desc, .hero p.lead { font-size: 16.5px; }
  .section-title { font-size: 26px; }
  .section { padding: 64px 0; }
  .hero__stats > div { flex: 1 1 100%; }
  .cta { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .nav__inner { gap: 12px; padding: 0 16px; }
  .nav .brand { gap: 8px; }
  .nav .brand img { width: 32px; height: 32px; }
  .nav .brand b { font-size: 15px; }
  .nav__cta > .btn--primary { display: none; }
  .nav__cta .btn--sm { padding: 8px 10px; font-size: 13px; }
  .nav-user__name { display: none; }
}

/* ===== 即将开放标识（在线工作台重做中）===== */
.nav__soon { color: var(--text-dim); font-size: 14.5px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav__soon i {
  font-style: normal; font-size: 11px; color: var(--accent); border: 0; background: rgba(62, 198, 255, 0.11);
  border-radius: 999px; padding: 1px 7px; line-height: 1.5;
}
.footer__col .nav__soon { font-size: 14px; }
