:root {
  --bg: #0b0f1a;
  --bg-soft: #121829;
  --fg: #e8ecf4;
  --muted: #9aa6c0;
  --dim: #6b7793;
  --brand: #6d8bff;
  --brand-2: #9b6dff;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --maxw: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== 背景光晕 ===== */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 460px at 22% 8%, rgba(109, 139, 255, 0.20), transparent 62%),
    radial-gradient(680px 420px at 82% 92%, rgba(155, 109, 255, 0.16), transparent 62%);
  animation: breathe 11s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* ===== 品牌 ===== */
.cs-header {
  position: relative;
  z-index: 1;
  padding: 30px 28px;
}

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

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 18px rgba(109, 139, 255, 0.5);
}

.brand-name {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.2px;
}

/* ===== 主体 ===== */
.cs-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 28px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

h1 {
  margin: 26px 0 0;
  font-size: clamp(44px, 9vw, 76px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.5px;
  background: linear-gradient(180deg, #ffffff 20%, #a9b6d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 .sub {
  display: block;
  margin-top: 18px;
  font-size: clamp(15px, 2.6vw, 19px);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.5;
  background: none;
  -webkit-text-fill-color: var(--muted);
  color: var(--muted);
}

.lead {
  margin-top: 24px;
  max-width: 520px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ===== 进度条 ===== */
.progress {
  margin-top: 40px;
  width: min(360px, 82%);
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.progress .bar {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  animation: slide 2.6s ease-in-out infinite;
}

@keyframes slide {
  0%   { transform: translateX(-105%); }
  100% { transform: translateX(255%); }
}

/* ===== 里程碑 ===== */
.milestones {
  margin-top: 44px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.milestones li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13.5px;
}

.m-icon {
  color: var(--dim);
  font-size: 9px;
}

.m-title {
  color: var(--fg);
}

.m-state {
  color: var(--dim);
  font-size: 12px;
  padding-left: 9px;
  border-left: 1px solid var(--line);
}

.m-state.done  { color: #4ade80; }
.m-state.doing { color: var(--brand); }

.contact {
  margin-top: 44px;
  color: var(--dim);
  font-size: 13.5px;
}

.contact a {
  color: var(--muted);
  border-bottom: 1px solid rgba(154, 166, 192, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.contact a:hover {
  color: var(--brand);
  border-color: var(--brand);
}

/* ===== 页脚 ===== */
.cs-footer {
  position: relative;
  z-index: 1;
  padding: 26px 28px 34px;
  text-align: center;
  color: var(--dim);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.cs-footer a:hover {
  color: var(--muted);
}

@media (max-width: 480px) {
  .cs-header { padding: 24px 20px; }
  .cs-main   { padding: 24px 20px 56px; }
  .milestones { gap: 8px; }
  .milestones li { padding: 8px 12px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .glow, .badge .dot, .progress .bar { animation: none; }
  .progress .bar { width: 45%; transform: none; }
}
