/* ---------- hero ---------- */
.hero {
  padding: 64px 0 34px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -30%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle at 40% 40%, rgba(104, 64, 200, .12), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  position: relative;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(104, 64, 200, .18);
  border-radius: 4px;
  z-index: -1;
}

.hero-note {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.hero-note span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.check {
  color: var(--brand);
  font-weight: 900;
  font-style: normal;
}

/* hero 扫码下载卡片 */
.hero-qr {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 16px 24px 16px 16px;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(23, 19, 38, .08);
  scroll-margin-top: 96px;
}

.hero-qr-code {
  width: 192px;
  height: 192px;
  flex: none;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.hero-qr-code svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-qr-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hero-qr-info b {
  font-size: 17px;
  color: var(--ink);
}

.hero-qr-info span {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.55;
}

.hero-qr-info .hero-qr-tag {
  width: fit-content;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(104, 64, 200, .1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

/* device mock */
.stage {
  position: relative;
  height: 440px;
}

.phone {
  position: absolute;
  right: 26px;
  top: 6px;
  width: 250px;
  height: 420px;
  background: #1A1233;
  border-radius: 34px;
  padding: 9px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.screen {
  width: 100%;
  height: 100%;
  background: #F7F9FC;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

.scr-head {
  background: linear-gradient(135deg, #6840C8, #7C4DE0);
  color: #fff;
  padding: 14px 14px 12px;
}

.scr-head .t {
  font-size: 12px;
  opacity: .9;
}

.scr-head .n {
  font-size: 15px;
  font-weight: 800;
  margin-top: 2px;
}

.bubble {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  margin: 9px 10px;
  font-size: 11.5px;
  color: #334;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .03);
}

.bubble b {
  color: var(--brand-d);
}

.bub-me {
  margin-left: 52px;
  background: #EDE6FB;
  border-color: #DCCEF8;
}

.printer {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 236px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.printer .row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--sub);
  margin-bottom: 8px;
}

.printer .tag {
  background: var(--brand-l);
  color: var(--brand-d);
  border-radius: 6px;
  padding: 2px 7px;
  font-weight: 700;
  font-size: 11px;
}

.label {
  background: #fff;
  border: 1px dashed #D8D2E6;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: #1F2937;
  line-height: 1.9;
}

.label .no {
  font-size: 15px;
  font-weight: 800;
  color: #111;
  letter-spacing: .5px;
}

.label .price {
  color: var(--accent-d);
  font-weight: 800;
}

.float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.f1 {
  top: 34px;
  left: 8px;
  animation: float 5s ease-in-out infinite;
}

.f2 {
  top: 118px;
  left: 8px;
  bottom: auto;
  right: auto;
  animation: float 6s ease-in-out infinite .8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- cards ---------- */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  transition: .25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #D8E0EC;
}

.ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-l);
  color: var(--brand-d);
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 16.5px;
  margin: 0 0 7px;
}

.card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--sub);
}

.card ul {
  margin: 8px 0 0;
  padding-left: 16px;
  font-size: 13px;
  color: var(--sub);
}

.card li {
  margin: 3px 0;
}

/* ---------- rules ---------- */
.rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.rule {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
}

.rule b {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.rule span {
  color: var(--sub);
  font-size: 12.5px;
}

/* ---------- version table ---------- */
.plans-table {
  width: 100%;
}

.yes {
  color: var(--brand);
  font-weight: 900;
}

.no {
  color: #C9C2DC;
  font-weight: 700;
}

.tagx {
  background: var(--accent-l);
  color: #9A5B00;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  margin-left: 6px;
}

.table-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: s;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  position: relative;
}

.step .n {
  counter-increment: s;
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 40px;
  font-weight: 900;
  color: #F0EBFB;
  line-height: 1;
}

.step h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
}

.step p {
  margin: 0;
  font-size: 13px;
  color: var(--sub);
}

/* ---------- download ---------- */
.dl {
  background: #1A1233;
  color: #fff;
  border-radius: 24px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.dl::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 64, 200, .55), transparent 65%);
}

.dl-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.dl h2 {
  color: #fff;
  font-size: 32px;
  margin: 6px 0 12px;
}

.dl p {
  color: #B9B1CC;
  font-size: 14px;
  margin: 0 0 22px;
}

.dl .kicker {
  color: #C9B8F5;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pf {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: .2s;
  text-align: left;
}

.pf:hover {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .24);
  transform: translateY(-1px);
}

.pf .pi {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
}

.pf-text {
  display: block;
  min-width: 0;
}

.pf-text b {
  display: block;
  font-size: 13.5px;
  color: #fff;
}

.pf-text span {
  font-size: 11px;
  color: #A79FB8;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qrbox {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  color: #111;
}

.qr {
  width: 168px;
  height: 168px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.qr svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr:empty {
  background:
    repeating-linear-gradient(90deg, #1A1233 0 8px, #fff 8px 16px),
    repeating-linear-gradient(0deg, #1A1233 0 8px, #fff 8px 16px);
  background-blend-mode: multiply;
  opacity: .9;
  position: relative;
}

.qr:empty::after {
  content: "扫码下载";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .92);
  font-size: 12px;
  color: #334;
  font-weight: 700;
}

.qrbox b {
  font-size: 13px;
}

.qrbox small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 3px;
}

.qrbox .qr-version {
  margin-top: 8px;
  color: #A79FB8;
}

/* ---------- official ---------- */
.official {
  background: linear-gradient(180deg, #FAF8FE 0%, #F7F5FC 100%);
  border-top: 1px solid var(--line);
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cert {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  margin-bottom: 26px;
}

.cert-card {
  background: #fff;
  border: 1px solid #E3DBF7;
  border-radius: 18px;
  padding: 24px 26px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(104, 64, 200, .10);
}

.cert-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #6840C8, #7C4DE0);
}

.cert-card h3 {
  margin: 10px 0 4px;
  font-size: 20px;
  letter-spacing: -.2px;
}

.cert-card .sub {
  color: var(--sub);
  font-size: 12.5px;
  margin: 0 0 18px;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.cert-grid .k {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 2px;
}

.cert-grid .v {
  font-size: 13.5px;
  font-weight: 700;
  color: #171326;
  overflow-wrap: anywhere;
}

.cert-grid .v i {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}

.verify-card {
  background: #1A1233;
  color: #fff;
  border-radius: 18px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
}

.verify-card h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.verify-card .hint {
  color: #A79FB8;
  font-size: 12px;
  margin: 0 0 14px;
}

.verify-card ol {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 12.5px;
  color: #D6CDE8;
  line-height: 2;
}

.verify-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.adv .card {
  border-color: #EDE6FB;
}

.adv .card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adv .card h3 em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--brand-d);
  background: var(--brand-l);
  border-radius: 5px;
  padding: 2px 6px;
}

.official .foot-line {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--sub);
  text-align: center;
}

.official .foot-line b {
  color: var(--brand-d);
}
