
/* === Screen Lock: fixed single-screen, no scroll/no bounce === */
html, body{
  height: 100vh;
  width: 100vw;
  height: 100svh;
  width: 100dvw;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  position: fixed;
  inset: 0;
  -webkit-overflow-scrolling: auto;
}
.stage{
  position: fixed;
  inset: 0;
  height: 100svh;
  width: 100dvw;
  overflow: hidden;
  touch-action: manipulation;
}

:root {
  --phone: 430px;
  /* 以移动端视觉为准，PC 也按此宽度展示中置预览 */
  --bg: #0b0c12;
  --surface: #12151e;
  /* 卡片底 */
  --surface-2: #0e1118;
  /* 进度条/标签底 */
  --text: #e9edf3;
  --muted: #94a3b8;
  --line: #232634;

  /* ===== 安全绿色主题 ===== */
  --primary: #22c55e;
  /* emerald-500 */
  --primary-2: #10b981;
  /* teal-500 */
  --accent: #34d399;
  /* emerald-400 */
  --glow: rgba(34, 197, 94, 0.45);

  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI",
    Roboto, Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

body {
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* 背景：细网格 + 径向暗角 + 顶部微微扫光（绿色） */
.stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}

.grid {
  position: absolute;
  inset: -10%;
  background: radial-gradient(
      1200px 800px at 50% -10%,
      rgba(34, 197, 94, 0.22),
      transparent 50%
    ),
    radial-gradient(
      800px 500px at 80% 0%,
      rgba(45, 212, 191, 0.16),
      transparent 60%
    ),
    linear-gradient(var(--bg), var(--bg));
}

.grid::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background: linear-gradient(
        transparent 31px,
        rgba(255, 255, 255, 0.05) 32px,
        transparent 33px
      )
      0 0/32px 32px,
    linear-gradient(
        90deg,
        transparent 31px,
        rgba(255, 255, 255, 0.05) 32px,
        transparent 33px
      )
      0 0/32px 32px;
  mask-image: radial-gradient(
    1000px 1000px at 50% 40%,
    #000 40%,
    transparent 80%
  );
}

.phone {
  width: min(100%, var(--phone));
  padding: 24px;
}

/* 卡片 */
.card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* 顶部霓虹描边（绿色） */
.card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(90deg, var(--accent), var(--primary-2), var(--primary)) top/100% 3px no-repeat;
  filter: drop-shadow(0 0 8px var(--glow));
  /* 只显示顶部 3px，且两端沿用卡片上圆角 */
  clip-path: inset(0 0 calc(100% - 3px) 0 round var(--radius) var(--radius) 0 0);
}

/* 版本号 */
.ver {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.wrap {
  padding: 28px 22px 24px;
}

/* 中央 Logo 圆环（绿色脉冲） */
.orb {
  width: 86px;
  height: 86px;
  margin: 8px auto 18px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(
      60% 60% at 50% 45%,
      rgba(255, 255, 255, 0.22),
      transparent
    ),
    radial-gradient(
      120% 120% at 50% 50%,
      rgba(34, 197, 94, 0.14),
      rgba(34, 197, 94, 0.04) 60%,
      transparent 70%
    ),
    linear-gradient(160deg, #16a34a, rgba(22, 163, 74, 0.55));
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08),
    0 0 40px rgba(34, 197, 94, 0.25) inset;
  animation: pulse 2.2s ease-in-out infinite;
}

.orb::after {
  /* “播放”符号 */
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid #0b0c12;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.35));
  transform: translateX(2px);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.06),
      0 0 40px rgba(34, 197, 94, 0.22) inset;
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(34, 197, 94, 0.12),
      0 0 55px rgba(34, 197, 94, 0.35) inset;
    transform: scale(1.03);
  }
}

h1 {
  text-align: center;
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: 0.5px;
  background: linear-gradient(180deg, #fff, #e9edf3 60%, #d1d5db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.08);
}

.sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

/* 步骤点 */
.steps {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 16px 0 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2b2f3c;
  position: relative;
}

.dot.active {
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
}

/* 进度条 */
.bar {
  height: 10px;
  background: var(--surface-2);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bar > .fill {
  --w: 18%;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), transparent 35%),
    linear-gradient(90deg, var(--accent), var(--primary-2), var(--primary));
  background-size: 160px 100%, 100% 100%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 10px var(--glow));
  animation: shine 1.2s linear infinite;
}

@keyframes shine {
  from {
    background-position: -160px 0, 0 0;
  }

  to {
    background-position: 0 0, 0 0;
  }
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 2px;
  color: var(--muted);
  font-size: 14px;
}

.row strong {
  color: var(--text);
}

.pct {
  font-variant-numeric: tabular-nums;
}

.tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
}

.cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: #062a1c;
  background: linear-gradient(90deg, var(--primary-2), var(--primary));
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
  filter: saturate(0.6);
}

.btn:not(:disabled):active {
  transform: translateY(1px);
}

.hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  text-align: right;
}
