:root {
  --bg: #f3f4f6;
  --text: #0f172a;
  --muted: #6b7280;
  --line: #d8dde6;
  --mint: #e7f5ef;
  --green: #10a37f;
  --dark: #020d26;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

.page {
  width: min(1120px, calc(100% - 48px));
  margin: 24px auto 42px;
}

.hero-shell {
  background: linear-gradient(135deg, #edf7f1 0%, #f8fafc 45%, #f4f7fb 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  box-shadow: inset 0 -10px 40px rgba(15, 23, 42, 0.04);
}

.badge {
  display: inline-flex;
  padding: 10px 20px;
  background: #cfeee3;
  color: #0b7d63;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  transform: none;
  margin-bottom: 22px;
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  margin: 20px 0 28px;
  font-size: clamp(16px, 1.35vw, 34px);
  color: #6a7383;
  line-height: 1.5;
  max-width: 760px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.value {
  font-size: clamp(28px, 2.35vw, 46px);
  font-weight: 800;
  margin-bottom: 5px;
}

.label {
  color: #6b7280;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 600;
}

.guarantee h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(28px, 2.5vw, 46px);
}

.guarantee h2 span {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 2px solid #cfd4dc;
  color: #848b98;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.guarantee p {
  margin: 10px 0 20px;
  color: #707988;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 600;
}

.buy-card {
  background: #f7f7f8;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.buy-card label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.buy-card input {
  width: 100%;
  border: 1px solid #d4d8e0;
  background: #fff;
  height: 58px;
  border-radius: 16px;
  padding: 0 20px;
  font-size: 18px;
  margin-bottom: 14px;
  margin-top: 0;
}

.buy-card button {
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 16px;
  background: #101d3a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  cursor: pointer;
}

.buy-card p {
  margin: 0;
  color: #7a8290;
  line-height: 1.58;
  font-size: clamp(13px, 0.92vw, 16px);
}

.hero-right {
  background: linear-gradient(170deg, #041232 0%, #020a1f 100%);
  color: #eef2ff;
  border-radius: 38px;
  padding: 30px 28px;
  box-shadow: 0 42px 60px rgba(15, 23, 42, 0.24);
}

.hero-right h3 {
  margin: 0;
  color: #b5c0dd;
  font-size: clamp(14px, 1.1vw, 18px);
}

.hero-right h2 {
  margin: 8px 0 18px;
  font-size: clamp(24px, 2.05vw, 40px);
}

.right-price {
  font-size: clamp(46px, 3.15vw, 68px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
}

.right-price span {
  font-size: clamp(15px, 1.15vw, 22px);
  color: #96a3c5;
  font-weight: 600;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.35;
}

.feature-list i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1c2a4f;
  color: #f8fbff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
}

.section {
  margin-top: 72px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 2.45vw, 44px);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: #6f7785;
  font-size: clamp(14px, 1.05vw, 18px);
}

.section-head a {
  color: #0b9768;
  font-weight: 700;
  text-decoration: none;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.small-card {
  background: #f6f7f9;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  min-height: 280px;
}

.num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dcece7;
  color: #0f8e68;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 8px;
}

.small-card h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.52vw, 28px);
  line-height: 1.35;
}

.small-card p {
  margin: 0;
  color: #2e3646;
  font-size: clamp(14px, 1.28vw, 18px);
  line-height: 1.55;
}

.migrate-btn {
  margin-top: 14px;
  border: 0;
  background: #0fa37a;
  color: #fff;
  height: 46px;
  border-radius: 12px;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
}

.floating {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: 174px;
  height: 70px;
  border-radius: 36px;
  background: linear-gradient(145deg, #1aa873 0%, #0b9c67 100%);
  color: #f1fff8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(16, 163, 127, 0.34);
  line-height: 1.2;
}

.floating small {
  font-size: 12px;
  font-weight: 600;
}

.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 28, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 16px;
}

.contact-overlay.open {
  display: flex;
}

.contact-modal {
  width: min(560px, 100%);
  background: #f5f6f8;
  border: 1px solid #dbe0e8;
  border-radius: 26px;
  padding: 28px 26px 24px;
  position: relative;
}

.contact-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d8dde6;
  background: #f1f3f7;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contact-modal h3 {
  margin: 0 0 20px;
  font-size: 26px;
}

.contact-row {
  border: 1px solid #cde6df;
  background: #edf7f4;
  border-radius: 16px;
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-row span {
  color: #6b7280;
  font-size: 18px;
}

.contact-row strong {
  font-size: 28px;
  color: #111827;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 28, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  padding: 20px;
}

.overlay.open {
  display: flex;
}

.pay-modal {
  width: min(880px, 100%);
  background: #f3f5f8;
  border-radius: 28px;
  border: 1px solid #dbe0e8;
  padding: 36px 40px 34px;
  position: relative;
}

.pay-modal.hidden {
  display: none;
}

.modal-close {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #d8dde6;
  background: #f1f3f7;
  color: #6b7280;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.pay-modal h3 {
  margin: 26px 0 22px;
  text-align: center;
  font-size: 46px;
}

.pay-options {
  margin-top: 10px;
}

.pay-option {
  width: 100%;
  border: 2px solid #16a37d;
  background: #eef8f4;
  border-radius: 24px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}

.pay-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: #2179f2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
}

.pay-copy {
  display: grid;
  gap: 6px;
  text-align: left;
}

.pay-copy strong {
  font-size: 42px;
  line-height: 1;
}

.pay-copy em {
  font-style: normal;
  color: #6f7785;
  font-size: 32px;
  line-height: 1;
}

.pay-check {
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #16a37d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.pay-confirm {
  margin: 38px auto 4px;
  width: min(420px, 100%);
  display: block;
  height: 58px;
  border: 0;
  border-radius: 16px;
  background: #18a47f;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
}

.pay-confirm.loading {
  opacity: 0.85;
  pointer-events: none;
}

.flow-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #6b7280;
  font-size: 24px;
  margin: 2px 0 20px;
}

.flow-steps span.active {
  color: #111827;
  font-weight: 700;
}

.qr-box {
  margin: 0 auto;
  width: 220px;
  height: 220px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #dbe0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.qr-image {
  width: 170px;
  height: 170px;
  object-fit: contain;
  display: none;
}

.qr-image.show {
  display: block;
}

.fake-qr {
  width: 170px;
  height: 170px;
  background:
    linear-gradient(45deg, #000 25%, #fff 25%, #fff 50%, #000 50%, #000 75%, #fff 75%);
  background-size: 16px 16px;
}

.fake-qr.hide {
  display: none;
}

#qr-modal h3 {
  margin-bottom: 10px;
}

#qr-modal p {
  margin: 0;
  text-align: center;
  color: #6b7280;
  font-size: 24px;
}

.order-meta {
  min-height: 24px;
  font-size: 14px !important;
  margin-top: 12px !important;
}

.amount-box {
  margin: 22px auto 0;
  width: min(280px, 100%);
  height: 84px;
  border-radius: 18px;
  border: 1px solid #b7ddd3;
  background: #edf7f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}

.amount-box span {
  color: #6b7280;
  font-size: 24px;
}

.amount-box strong {
  color: #0f9e78;
  font-size: 44px;
}

.mock-paid-btn {
  margin: 14px auto 0;
  display: block;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
}

.pay-link-btn {
  margin: 14px auto 0;
  display: block;
  width: fit-content;
  border-radius: 10px;
  padding: 10px 16px;
  background: #10a37f;
  color: #fff;
  text-decoration: none;
}

.success-wrap {
  text-align: center;
  padding: 12px 8px 6px;
}

.success-emoji {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 8px;
}

.success-email {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #a8dbc9;
  background: #edf7f4;
  color: #0b8e67;
  font-size: 26px;
  margin: 8px 0 12px;
}

.success-subtitle {
  margin-top: 8px !important;
  color: #374151 !important;
  font-size: 24px !important;
}

.success-steps {
  margin-top: 18px;
  border: 1px solid #cde6df;
  background: #f5f7fa;
  border-radius: 16px;
  text-align: left;
  padding: 14px 16px;
}

.success-steps strong {
  font-size: 24px;
}

.success-steps p {
  margin: 8px 0 0;
  font-size: 21px !important;
  color: #4b5563 !important;
  text-align: left !important;
}

@media (max-width: 1200px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page {
    width: calc(100% - 16px);
    margin-top: 12px;
  }

  .hero-shell {
    border-radius: 20px;
    padding: 20px;
    gap: 18px;
  }

  h1 {
    font-size: 38px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section {
    margin-top: 44px;
  }

  .section-head {
    display: block;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .floating {
    width: 138px;
    height: 58px;
    font-size: 13px;
  }

  .contact-modal h3 {
    font-size: 22px;
  }

  .contact-row strong {
    font-size: 22px;
  }

  .pay-modal {
    padding: 24px 18px 20px;
  }

  .pay-modal h3 {
    font-size: 34px;
  }

  .pay-copy strong {
    font-size: 30px;
  }

  .pay-copy em {
    font-size: 22px;
  }

  .flow-steps {
    font-size: 18px;
    gap: 12px;
  }

  .success-email {
    font-size: 20px;
  }

  .success-subtitle {
    font-size: 18px !important;
  }

  .success-steps strong {
    font-size: 18px;
  }

  .success-steps p {
    font-size: 16px !important;
  }
}
