:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --line: rgba(15, 23, 42, 0.1);
  --text: #152033;
  --muted: #667085;
  --primary: #1677ff;
  --primary-deep: #0f5fdb;
  --primary-soft: rgba(22, 119, 255, 0.1);
  --accent: #ff7a1a;
  --accent-deep: #e75f00;
  --success: #15a46f;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(255, 122, 26, 0.08), transparent 28%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

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

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin: 12px 0 28px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.24);
}

.brand-title,
.brand-subtitle,
.company-label,
.panel-label,
.pay-merchant,
.footer p {
  margin: 0;
}

.brand-title {
  font-size: 17px;
  font-weight: 850;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.topbar-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.company-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 190px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
}

.company-label {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.company-name {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a,
.pay-chip {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav a {
  padding: 8px 11px;
  color: #334155;
}

.nav a:hover,
.pay-chip:hover {
  transform: translateY(-1px);
}

.nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff9b2f);
  box-shadow: 0 12px 24px rgba(255, 122, 26, 0.22);
  white-space: nowrap;
}

.site-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -10px 0 18px;
  padding: 13px 16px;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 16px;
  color: #334155;
  background: #f3f8ff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.site-notice strong {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  background: var(--primary);
}

.site-notice span {
  line-height: 1.7;
}

.site-notice b {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.section,
.panel-card,
.pay-card,
.pay-method-card,
.faq-card,
.contact-card,
.modal-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 54px;
  border-radius: var(--radius-lg);
}

.hero-copy::after {
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 280px;
  height: 280px;
  border: 34px solid rgba(22, 119, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero h1 {
  max-width: 680px;
  margin: 18px 0 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 670px;
  margin: 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.22);
}

.button-alipay {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff9b2f);
  box-shadow: 0 12px 24px rgba(255, 122, 26, 0.22);
}

.button-secondary {
  color: #334155;
  background: #eef2f7;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.wide {
  width: 100%;
}

.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.hero-metrics article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 22px;
}

.hero-metrics span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.panel-card {
  padding: 22px;
  border-radius: 20px;
}

.panel-highlight {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(21, 32, 51, 0.92), rgba(22, 119, 255, 0.88)),
    #152033;
}

.panel-highlight .panel-label,
.panel-highlight p,
.panel-highlight li {
  color: rgba(255, 255, 255, 0.82);
}

.panel-card h2,
.panel-card strong {
  margin: 0;
}

.panel-card h2 {
  margin-top: 10px;
  font-size: 30px;
}

.panel-card p {
  color: var(--muted);
  line-height: 1.7;
}

.panel-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.panel-grid {
  display: grid;
  gap: 14px;
}

.panel-grid .panel-card {
  min-height: 140px;
}

.panel-grid span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section {
  margin-top: 24px;
  padding: 34px;
  border-radius: var(--radius-lg);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.section-heading p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.compact-heading {
  margin-bottom: 18px;
}

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

.category-card,
.policy-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}

.category-card strong,
.category-card span {
  display: block;
}

.category-card strong,
.policy-card h3 {
  margin: 0;
  font-size: 18px;
}

.category-card span,
.policy-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.product-card.featured {
  grid-column: span 1;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 0.74;
  overflow: hidden;
  background: #eef2f7;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  background: rgba(21, 32, 51, 0.78);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-top h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.product-price {
  flex: 0 0 auto;
  color: var(--accent-deep);
  font-size: 20px;
}

.product-summary {
  min-height: 76px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 5px 9px;
  border-radius: 999px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  background: #eef4ff;
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.meta-list dt,
.meta-list dd {
  margin: 0;
  font-size: 13px;
}

.meta-list dt {
  color: var(--muted);
}

.meta-list dd {
  font-weight: 750;
}

.product-pay {
  margin-top: auto;
}

.pay-grid,
.dual-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 18px;
}

.pay-card,
.pay-method-card,
.faq-card,
.contact-card {
  padding: 24px;
  border-radius: 20px;
}

.pay-merchant {
  color: var(--muted);
}

.pay-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.pay-summary div {
  padding: 18px;
  border-radius: 16px;
  background: var(--panel-soft);
}

.pay-summary span,
.pay-summary strong {
  display: block;
}

.pay-summary span {
  color: var(--muted);
  font-size: 13px;
}

.pay-summary strong {
  margin-top: 8px;
  font-size: 20px;
}

.pay-note,
.contact-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.pay-note input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.pay-note input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(22, 119, 255, 0.48);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.pay-card .button {
  margin-top: 16px;
}

.pay-hint,
.form-note,
.confirm-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.pay-method-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.alipay-method {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 18px;
  background: #f3f8ff;
}

.alipay-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 900;
  background: var(--primary);
}

.alipay-method-body p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.method-badge {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 850;
  background: #fff;
}

.order-info {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.order-info p,
.contact-panel p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
}

.policy-card p {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-panel {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: var(--panel-soft);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  display: grid;
  gap: 8px;
  margin: 24px 0 34px;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer p:first-child {
  color: var(--text);
  font-weight: 900;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.52);
}

.modal-overlay.is-open {
  display: flex;
}

.modal-card {
  width: min(420px, 100%);
  padding: 24px;
  border-radius: 20px;
}

.modal-card-lg {
  width: min(620px, 100%);
}

.modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.modal-desc {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.modal-actions {
  margin-top: 20px;
}

.modal-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.confirm-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.confirm-row span,
.confirm-label {
  color: var(--muted);
  font-size: 14px;
}

.confirm-row strong {
  text-align: right;
}

.confirm-block {
  margin-top: 18px;
}

.confirm-label {
  margin: 0 0 10px;
  font-weight: 850;
}

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

.confirm-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  font-weight: 800;
}

.confirm-note {
  min-height: 42px;
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  color: #475569;
  background: var(--panel-soft);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar-center {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero,
  .pay-grid,
  .dual-section {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    min-height: auto;
    padding: 40px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .topbar-actions {
    display: none;
  }

  .topbar-center,
  .inline-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .site-notice {
    align-items: flex-start;
    margin-top: 0;
  }

  .company-display {
    width: 100%;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-copy,
  .section {
    padding: 24px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-metrics,
  .product-grid,
  .category-grid,
  .policy-grid,
  .pay-summary,
  .confirm-options,
  .modal-actions-row {
    grid-template-columns: 1fr;
  }

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

  .alipay-method {
    grid-template-columns: auto 1fr;
  }

  .method-badge {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .confirm-row {
    display: grid;
    gap: 6px;
  }

  .confirm-row strong {
    text-align: left;
  }
}
