:root {
  --bg: #3d3b4f;
  --ink: #f2ecde;
  --muted: rgba(242, 236, 222, 0.64);
  --muted-2: rgba(242, 236, 222, 0.44);
  --line: rgba(242, 236, 222, 0.16);
  --line-soft: rgba(242, 236, 222, 0.09);
  --accent: #88ada6;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 背景光晕 ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.g1 {
  width: 1100px;
  height: 620px;
  left: 50%;
  top: -320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(136, 173, 166, 0.42), rgba(136, 173, 166, 0) 68%);
}

.g2 {
  width: 760px;
  height: 460px;
  left: 4%;
  top: -180px;
  background: radial-gradient(circle, rgba(194, 204, 208, 0.22), rgba(194, 204, 208, 0) 66%);
}

.fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61, 59, 79, 0) 0%, rgba(61, 59, 79, 0.35) 34%, var(--bg) 62%);
}

/* ---------- 悬浮导航 ---------- */
.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 100px;
  background: rgba(52, 50, 66, 0.74);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav-brand { display: inline-flex; align-items: center; gap: 9px; }

.mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #474459;
  border: 1px solid var(--line);
}

.mark svg { width: 16px; height: 16px; fill: none; stroke: #f2ecde; stroke-width: 1.6; }
.mark.small { width: 24px; height: 24px; }

.nav-name {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #f2ecde;
}

.badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 100px;
  color: rgba(242, 236, 222, 0.66);
  border: 1px solid var(--line);
}

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links a {
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 100px;
  color: rgba(242, 236, 222, 0.74);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover { color: #f2ecde; background: rgba(242, 236, 222, 0.08); }

.nav-cta {
  background: #f2ecde;
  color: #3d3b4f !important;
  margin-left: 4px;
}

.nav-cta:hover { background: #fbf7ed !important; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 116px 24px 0;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(32px, 4.2vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #f2ecde;
}

.hero-desc {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 15px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: #f2ecde;
  color: #3d3b4f;
  box-shadow: 0 10px 30px rgba(242, 236, 222, 0.1);
}

.btn-primary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.btn-primary:hover { transform: translateY(-1px); background: #fbf7ed; }

.btn-ghost {
  border: 1px solid var(--line);
  color: rgba(242, 236, 222, 0.84);
}

.btn-ghost:hover { background: rgba(242, 236, 222, 0.07); }

/* ---------- 应用窗口 ---------- */
.stage { margin: 62px 0 0; }

.stage-frame {
  border-radius: 18px;
  overflow: hidden;
  background: #35333f;
  border: 1px solid rgba(242, 236, 222, 0.16);
  box-shadow:
    inset 0 0 0 0.5px rgba(242, 236, 222, 0.16),
    0 40px 120px rgba(24, 23, 32, 0.55);
}

.stage-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(242, 236, 222, 0.03);
}

.dots { display: inline-flex; gap: 6px; }

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(242, 236, 222, 0.18);
}

.stage-title { font-size: 12px; color: var(--muted-2); }

.stage-live {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stage-live b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.7);
}

.stage-frame img { display: block; width: 100%; height: auto; }

/* ---------- 区块 ---------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 0;
}

.section h2 {
  margin: 0 0 44px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: center;
  color: #f2ecde;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid3 {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  min-width: 0;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, #4a4759 0%, #434050 100%);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 0 0 0.5px rgba(242, 236, 222, 0.07);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover { border-color: rgba(242, 236, 222, 0.2); transform: translateY(-3px); }

.card.tight { padding: 26px; }

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  color: #f2ecde;
}

.card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.shot {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #35333f;
}

.shot img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.94;
}

/* ---------- 开发者 ---------- */
.dev .code {
  max-width: 100%;
  margin: 18px 0 0;
  padding: 16px;
  border-radius: 12px;
  background: #322f3d;
  border: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: #e8e2d4;
  overflow-x: auto;
}

.code .c { color: rgba(242, 236, 222, 0.38); }

/* ---------- 收尾 CTA ---------- */
.cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 130px 24px 0;
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.cta p {
  margin: 16px 0 30px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 130px;
  border-top: 1px solid var(--line-soft);
}

.foot-top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.foot-brand { display: flex; gap: 12px; align-items: flex-start; }

.foot-name {
  margin: 1px 0 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(242, 236, 222, 0.86);
}

.foot-tag { margin: 0; font-size: 12.5px; color: var(--muted-2); }

.foot-links { display: flex; gap: 26px; align-items: center; }

.foot-links a { font-size: 13px; color: var(--muted); transition: color 0.2s ease; }
.foot-links a:hover { color: #f2ecde; }

.foot-legal {
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  color: rgba(242, 236, 222, 0.4);
}

.foot-legal a:hover { color: rgba(242, 236, 222, 0.8); }
.foot-legal .dot { color: rgba(242, 236, 222, 0.22); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid3 { grid-template-columns: 1fr; }
  .section h2 { margin-bottom: 32px; }
}

@media (max-width: 820px) {
  .grid2 { grid-template-columns: 1fr; }
  .hero { padding-top: 84px; }
  .stage { margin-top: 44px; }
  .shot img { height: 190px; }
}

@media (max-width: 640px) {
  .nav { margin: 10px 12px 0; top: 10px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-name { display: none; }
  .section { padding-top: 84px; }
  .foot { margin-top: 92px; }
  .cta { padding-top: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn-primary { transition: none; }
}
