:root {
  --bg: #0b1020;
  --card: #151c33;
  --line: #24304f;
  --text: #e8ecf7;
  --muted: #96a0bd;
  --accent: #5eead4;
  --accent2: #a78bfa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #1b2450 0%, var(--bg) 60%);
  color: var(--text);
  font: 15px/1.7 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.hero { text-align: center; margin-bottom: 28px; }

.logo {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 8px;
  background: linear-gradient(100deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub { margin: 6px 0 4px; color: var(--text); opacity: .9; }
.note { margin: 0; font-size: 12px; color: var(--muted); }

.card, .result {
  background: rgba(21, 28, 51, .82);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(8px);
}

.result { margin-top: 20px; }

[hidden] { display: none !important; }

.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

select, input[type="text"], textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f1528;
  color: var(--text);
  font: inherit;
  outline: none;
}
select:focus, input:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0f1528;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.chips button.on {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(94, 234, 212, .08);
}

.primary {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(100deg, var(--accent), var(--accent2));
  color: #08111f;
  font: 700 16px/1 inherit;
  cursor: pointer;
}
.primary:disabled { opacity: .6; cursor: default; }

.ghost {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.hint { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }

h2 {
  font-size: 15px;
  margin: 22px 0 10px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
h2 small { font-size: 12px; color: var(--muted); font-weight: 400; }

.list { margin: 0; padding: 0; list-style: none; }
.list li {
  background: #0f1528;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  color: var(--text);
}
.list.warn li { border-color: rgba(248, 113, 113, .4); }
.list.warn li::before { content: "× "; color: #f87171; }

.levelTag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(167, 139, 250, .15);
  color: var(--accent2);
  margin-right: 6px;
  vertical-align: 1px;
}

.locked {
  margin-top: 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.lockedText { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.payRow { display: grid; gap: 10px; }

.foot {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* 方案与价格页 */
.sec { font-size: 15px; color: var(--accent); margin: 6px 0 12px; }

.plan {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  background: #0f1528;
}
.planHot { border-color: rgba(94, 234, 212, .45); }
.planTop { display: flex; align-items: baseline; justify-content: space-between; }
.planTop strong { font-size: 16px; }
.price { font: 700 20px/1 inherit; color: var(--accent); }
.planList { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.planList li { margin-bottom: 5px; }

.payBadge {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #0f1528;
  margin-bottom: 16px;
}
.aliIcon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #1677ff;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payBadge strong { font-size: 14px; }
.payBadge p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }

.asLink {
  display: block;
  text-align: center;
  text-decoration: none;
  margin: 4px 0 18px;
}

.fine { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0; }
