/* 艮安挪车 · 扠码页（晴空浅色） */

.wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 22px 18px calc(44px + env(safe-area-inset-bottom));
}

/* ---------- 品牌头 ---------- */
.brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 26px;
}
.logo { width: 40px; height: 40px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: 1px; color: var(--ink); }
.brand-tag {
  padding: 3px 10px;
  font-size: 11.5px; font-weight: 700;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.32);
  border-radius: 999px;
  letter-spacing: 2px;
}

/* ---------- 主卡 ---------- */
.hero {
  position: relative;
  padding: 34px 22px 30px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -90px; left: 50%;
  width: 340px; height: 240px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.16), transparent);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: #047857; font-weight: 700;
  margin-bottom: 20px;
}
.hero-eyebrow.gray { color: var(--ink-dim); }

/* 车牌徽章（拟真蓝牌） */
.plate {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 216px;
  padding: 10px 20px 11px;
  font-size: 30px; font-weight: 800; letter-spacing: 4px;
  color: #fff;
  background: linear-gradient(180deg, #2569e8 0%, #12449f 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 28px rgba(18, 68, 159, 0.35);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.plate::before {
  content: "";
  width: 8px; height: 8px; margin-right: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e2f3ff, #2f6fe0 70%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}
.plate-missing {
  display: block;
  padding: 12px 0 10px;
  font-size: 15px; color: var(--ink-faint); letter-spacing: 1px;
}

.hero-tail { margin-top: 18px; font-size: 16px; color: var(--ink-dim); }
.hero-tail b {
  font-size: 24px; color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.hero-hint {
  margin-top: 14px;
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.09);
  border: 1px dashed rgba(14, 165, 233, 0.4);
  border-radius: 999px;
}

/* 状态页（未激活/停用/勿扰/异常） */
.state-ico {
  width: 74px; height: 74px;
  margin: 2px auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 24px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.18);
}
.state-ico svg { width: 36px; height: 36px; }
.state-title { font-size: 20px; font-weight: 800; letter-spacing: 1px; color: var(--ink); }
.state-sub { margin-top: 10px; font-size: 14px; color: var(--ink-dim); }
.state-plate { margin: 16px 0 4px; }

/* 未激活态的激活入口 */
.as-block {
  display: inline-flex;
  width: auto;
  margin-top: 22px;
  padding: 13px 30px;
  font-size: 16px;
  text-decoration: none;
}

/* ---------- 主操作 ---------- */
.actions { margin-top: 22px; }
.actions .btn-hero { margin-bottom: 13px; }
.note {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.actions.hidden { display: none; }

/* ---------- 流程说明 ---------- */
.steps {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px;
  padding: 16px 20px;
}
.step { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.step b {
  width: 27px; height: 27px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: 50%;
}
.step span { font-size: 12px; color: var(--ink-dim); letter-spacing: 1px; }
.dash { flex: 1; height: 1.5px; margin: 0 10px 20px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 28px;
  padding-bottom: 24px;
  text-align: center;
  font-size: 12px; line-height: 1.9;
  color: var(--ink-faint);
}
.foot b { color: var(--ink-dim); }

/* ---------- 屩叫弹层 ---------- */
.call-stage { text-align: center; padding: 6px 4px 2px; position: relative; }
.call-pill { margin-bottom: 18px; }
.call-pill .pill { font-size: 13px; padding: 6px 14px; }

.radar {
  position: relative;
  width: 96px; height: 96px;
  margin: 8px auto 20px;
}
.radar i {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.radar i svg { width: 40px; height: 40px; color: #0284c7; }
.radar span {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(14, 165, 233, 0.55);
  border-radius: 50%;
  animation: radar 2.1s ease-out infinite;
}
.radar span:nth-child(2) { animation-delay: 0.7s; }
.radar span:nth-child(3) { animation-delay: 1.4s; }
@keyframes radar {
  from { transform: scale(0.35); opacity: 1; }
  to   { transform: scale(1.15); opacity: 0; }
}

.call-label { font-size: 15px; color: var(--ink-dim); }
.call-number {
  display: block;
  margin: 10px 0 20px;
  font-size: 38px; font-weight: 800; letter-spacing: 2px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.call-number:active { opacity: 0.8; }
.call-note { margin-top: 16px; font-size: 13px; color: var(--ink-faint); line-height: 1.9; }
.call-note a { color: #0369a1; text-decoration: none; border-bottom: 1px dashed rgba(3, 105, 161, 0.4); }
.demo-note { margin-top: 10px; font-size: 11.5px; color: var(--ink-faint); letter-spacing: 1px; }

/* ---------- 留言弹层 ---------- */
.msg-chips { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 14px; }
.chip {
  padding: 13px 16px;
  text-align: left;
  font-size: 15px;
  color: var(--ink);
  background: #f5faff;
  border: 1px solid #dbe9f6;
  border-radius: var(--radius-s);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chip:active, .chip.on { border-color: rgba(14, 165, 233, 0.55); background: rgba(14, 165, 233, 0.08); }
.msg-input { min-height: 84px; resize: none; }
.msg-count { text-align: right; font-size: 12px; color: var(--ink-faint); margin: 6px 2px 14px; }
.msg-send { margin-top: 2px; }

/* 发送成功 */
.sent-ico {
  width: 84px; height: 84px;
  margin: 14px auto 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  animation: rise 0.4s ease backwards;
}
.sent-ico svg { width: 42px; height: 42px; }
.sent-ico svg path {
  stroke: #10b981; stroke-width: 2.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: draw 0.5s ease 0.15s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
