:root {
  --bg: #0b0c10;
  --card: #151821;
  --text: #f4f5f7;
  --muted: #9aa3b2;
  --red: #e11d48;
  --red2: #fb7185;
  --line: rgba(255, 255, 255, 0.08);
  --ok: #22c55e;
  --warn: #f59e0b;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  min-height: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

body.locked-recording {
  filter: blur(18px);
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 14px 120px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 22px 18px 18px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(225, 29, 72, 0.35), transparent 55%),
    linear-gradient(160deg, #1a1020, #12151e 60%, #0d111a);
  border: 1px solid var(--line);
}

.hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #fecdd3;
  background: rgba(225, 29, 72, 0.18);
  border: 1px solid rgba(251, 113, 133, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

.hero h1 {
  margin: 12px 0 8px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero p,
.hero .lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.sell-points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sell-points li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: #e8eaef;
}

.sell-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red2);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.2);
}

.price-row {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-row .num {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
}

.price-row .unit {
  color: var(--red2);
  font-size: 16px;
  font-weight: 600;
}

.price-row .sub {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.section {
  margin-top: 18px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 650;
}

.section .desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  margin-bottom: 12px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.shot .cap {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  background: var(--card);
  border-top: 1px solid var(--line);
}

.shot .shield {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.gate {
  border-radius: 16px;
  border: 1px dashed rgba(251, 113, 133, 0.45);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(225, 29, 72, 0.16), transparent 55%),
    var(--card);
  padding: 20px 16px 18px;
  text-align: center;
}

.gate-lock {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
  filter: grayscale(0.15);
}

.gate h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.gate > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.gate-list {
  margin: 14px auto 0;
  padding: 0;
  list-style: none;
  max-width: 260px;
  text-align: left;
  display: grid;
  gap: 8px;
}

.gate-list li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 13px;
  color: #d5dae3;
}

.gate-list li::before {
  content: "·";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-52%);
  color: var(--red2);
  font-size: 22px;
  font-weight: 700;
}

.gate-tip {
  margin-top: 14px !important;
  font-size: 12px !important;
  color: #fecdd3 !important;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}

.step .hd {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px 8px;
}

.step .badge {
  flex: 0 0 auto;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #be123c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step .hd .t {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.step .hd .s {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.step .body {
  position: relative;
}

.step .body img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.step .body .shield {
  position: absolute;
  inset: 0;
}

.paybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(11, 12, 16, 0.92) 28%);
}

.paybar .inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-main {
  flex: 1;
  color: #fff;
  background: linear-gradient(90deg, #ef4444, #e11d48 55%, #be123c);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.35);
}

.btn-main:disabled {
  opacity: 0.55;
  box-shadow: none;
}

.btn-ghost {
  color: var(--text);
  background: #222633;
  border: 1px solid var(--line);
}

.toast {
  position: fixed;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  z-index: 80;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  max-width: 80%;
  text-align: center;
  display: none;
}

.toast.show {
  display: block;
}

.banner-ok {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
  font-size: 13px;
  line-height: 1.5;
}

.banner-ok.show {
  display: block;
}

.hidden {
  display: none !important;
}

.note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

#devUnlock {
  margin-top: 8px;
  width: 100%;
}
