:root {
  --ink: #152531;
  --muted: #71808a;
  --soft-muted: #a0adb4;
  --line: #e5ebee;
  --paper: #fbfcfc;
  --coral: #ef735d;
  --coral-dark: #dc5c49;
  --coral-soft: #fff0eb;
  --mint: #5fb6a7;
  --mint-soft: #eaf8f5;
  --blue: #6389c8;
  --blue-soft: #edf3fd;
  --shadow: 0 24px 70px rgba(22, 43, 52, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, rgba(239, 115, 93, 0.1), transparent 22rem),
    linear-gradient(180deg, #fff 0%, #f8faf9 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(99, 137, 200, 0.42);
  outline-offset: 3px;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(229, 235, 238, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 11px;
  overflow: hidden;
  background: var(--ink);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  background: var(--coral);
  border-radius: 999px;
}

.brand-mark::before {
  width: 27px;
  height: 5px;
  transform: rotate(-39deg);
}

.brand-mark::after {
  width: 27px;
  height: 5px;
  transform: rotate(39deg);
}

.brand-mark span {
  width: 5px;
  height: 25px;
}

.brand-mark span:nth-child(1) {
  transform: translateX(-8px) rotate(39deg);
  opacity: 0.9;
}

.brand-mark span:nth-child(2) {
  transform: translateX(8px) rotate(-39deg);
  opacity: 0.75;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 3px;
  color: var(--soft-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.secure-label svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-phone {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.hero-section {
  min-height: 535px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  padding: 76px 0 66px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-description {
  max-width: 570px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
}

.primary-button,
.small-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background: var(--coral);
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  min-width: 148px;
  padding: 14px 20px;
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(239, 115, 93, 0.22);
}

.primary-button:hover,
.small-buy-button:hover {
  background: var(--coral-dark);
  box-shadow: 0 13px 26px rgba(220, 92, 73, 0.25);
  transform: translateY(-2px);
}

.primary-button svg,
.small-buy-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.text-link {
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 12px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(95, 182, 167, 0.15);
}

.hero-panel {
  position: relative;
  min-height: 360px;
  padding: 25px 27px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #1c303b;
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: -80px;
  top: -110px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  left: -100px;
  bottom: -130px;
  border: 1px solid rgba(239, 115, 93, 0.24);
  border-radius: 50%;
}

.panel-topline,
.panel-bottomline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-topline {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  letter-spacing: 0.11em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  letter-spacing: 0;
}

.status-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #74d0ad;
}

.panel-visual {
  position: relative;
  height: 245px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: rotate(-27deg);
}

.orbit-one {
  width: 190px;
  height: 95px;
}

.orbit-two {
  width: 280px;
  height: 125px;
  transform: rotate(28deg);
  border-color: rgba(239, 115, 93, 0.34);
}

.core-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.035);
}

.core-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.float-tag {
  position: absolute;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.12);
  font-size: 10px;
  font-weight: 700;
}

.tag-one {
  top: 44px;
  left: 22px;
  color: var(--coral-dark);
}

.tag-two {
  top: 92px;
  right: 17px;
  color: #478f82;
}

.tag-three {
  bottom: 22px;
  left: 55px;
  color: #5278b4;
}

.panel-bottomline {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-bottomline strong,
.panel-bottomline span {
  display: block;
}

.panel-bottomline strong {
  font-size: 13px;
  font-weight: 500;
}

.panel-bottomline div span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 11px;
}

.panel-arrow {
  color: var(--coral);
  font-size: 25px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 76px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 25px;
  border-right: 1px solid var(--line);
}

.trust-strip > div:first-child {
  padding-left: 0;
}

.trust-strip > div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip strong {
  font-size: 13px;
}

.trust-strip small {
  margin-top: 5px;
  color: var(--soft-muted);
  font-size: 11px;
}

.strip-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
}

.strip-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.strip-icon.coral {
  color: var(--coral);
  background: var(--coral-soft);
}

.strip-icon.mint {
  color: var(--mint);
  background: var(--mint-soft);
}

.strip-icon.blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.products-section {
  padding-bottom: 76px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section-heading h2,
.payment-guide h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.02em;
}

.section-caption {
  padding-bottom: 3px;
  color: var(--soft-muted);
  font-size: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: #cbd9dc;
  box-shadow: 0 14px 32px rgba(22, 43, 52, 0.07);
  transform: translateY(-3px);
}

.product-card.featured {
  border-color: rgba(239, 115, 93, 0.42);
  background: linear-gradient(180deg, rgba(255, 246, 242, 0.86), #fff);
}

.product-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.product-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
}

.product-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.icon-coral {
  color: var(--coral);
  background: var(--coral-soft);
}

.icon-mint {
  color: var(--mint);
  background: var(--mint-soft);
}

.icon-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.recommend-label,
.product-type {
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 10px;
}

.recommend-label {
  color: var(--coral-dark);
  background: #ffe2da;
}

.product-type {
  color: var(--muted);
  background: #f2f5f5;
}

.product-card h3 {
  margin: 22px 0 9px;
  font-size: 18px;
  line-height: 1.45;
}

.product-card > p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

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

.feature-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #51616a;
  font-size: 12px;
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--mint);
}

.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

.price strong {
  font-size: 29px;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--muted);
  font-size: 12px;
}

.small-buy-button {
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 12px;
}

.payment-guide {
  display: grid;
  grid-template-columns: auto 1.05fr 1.4fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 76px;
  padding: 28px 30px;
  border-radius: 7px;
  color: #fff;
  background: #1c303b;
}

.payment-guide .eyebrow {
  margin-bottom: 9px;
  color: #ff9a86;
}

.payment-guide h2 {
  color: #fff;
  font-size: 22px;
}

.guide-number {
  color: rgba(255, 255, 255, 0.25);
  font-size: 42px;
  font-weight: 300;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.guide-steps > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-steps span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ff9a86;
  font-size: 11px;
}

.guide-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 29px;
  border-top: 1px solid var(--line);
  color: var(--soft-muted);
  font-size: 11px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  padding: 20px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(15, 28, 35, 0.62);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal-backdrop.is-visible {
  visibility: visible;
  opacity: 1;
}

.payment-modal {
  position: relative;
  width: min(480px, 100%);
  padding: 30px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 28, 35, 0.27);
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
}

.modal-backdrop.is-visible .payment-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: #f5f7f7;
}

.modal-close:hover {
  color: var(--ink);
  background: #edf1f1;
}

.modal-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.modal-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 30px;
}

.alipay-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #1677ff;
  font-size: 23px;
  font-weight: 700;
}

.modal-heading .eyebrow {
  margin-bottom: 5px;
  color: #1677ff;
  font-size: 10px;
}

.modal-heading h2 {
  margin: 0;
  font-size: 22px;
}

.selected-product {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  margin: 24px 0 20px;
  padding: 14px 16px;
  border: 1px solid #e7edf2;
  border-radius: 6px;
  background: #f8fbfd;
}

.selected-product span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
}

.selected-product strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-product b {
  color: var(--coral-dark);
  font-size: 15px;
}

.qr-area {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 25px;
  align-items: center;
  padding: 14px 7px 20px;
}

.qr-frame {
  position: relative;
  width: 210px;
  height: 210px;
  padding: 8px;
  border: 1px solid #edf0f1;
  border-radius: 5px;
  background: #fff;
}

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

.qr-corner-label {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 3px 5px;
  border-radius: 3px;
  color: #1677ff;
  background: rgba(255, 255, 255, 0.92);
  font-size: 10px;
}

.scan-copy strong,
.scan-copy span,
.scan-copy small {
  display: block;
}

.scan-copy strong {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 14px;
}

.scan-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.scan-copy small {
  margin-top: 17px;
  color: var(--soft-muted);
  font-size: 10px;
  line-height: 1.6;
}

.modal-tip {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--soft-muted);
  font-size: 10px;
  line-height: 1.6;
}

.modal-tip svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-width: 1.7;
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 58px;
  }

  .hero-panel {
    min-height: 330px;
  }

  .trust-strip {
    margin-bottom: 58px;
  }

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

  .product-card:last-child {
    grid-column: 1 / -1;
  }

  .product-card:last-child .product-card > p {
    max-width: 500px;
  }

  .payment-guide {
    grid-template-columns: auto 1fr;
  }

  .guide-steps {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 32px, 500px);
  }

  .site-header {
    min-height: 70px;
  }

  .header-meta {
    display: none;
  }

  .hero-section {
    min-height: 0;
    padding: 52px 0 50px;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-note {
    align-items: flex-start;
    line-height: 1.6;
  }

  .hero-panel {
    min-height: 310px;
    padding: 22px;
  }

  .panel-visual {
    height: 210px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 52px;
    padding: 19px 0;
  }

  .trust-strip > div,
  .trust-strip > div:first-child {
    padding: 0;
    border-right: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .section-caption {
    display: block;
    margin-top: 9px;
  }

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

  .product-card:last-child {
    grid-column: auto;
  }

  .product-card {
    min-height: 0;
  }

  .payment-guide {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  .guide-number {
    font-size: 32px;
  }

  .guide-steps {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 10px;
  }

  .site-footer {
    display: grid;
    gap: 9px;
    line-height: 1.5;
  }

  .payment-modal {
    padding: 24px 18px 19px;
  }

  .qr-area {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 19px;
  }

  .scan-copy {
    text-align: center;
  }

  .scan-copy small {
    margin-top: 10px;
  }
}
