:root {
  color-scheme: light;
  --bg: #f4efe6;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --line: rgba(17, 34, 51, 0.1);
  --text: #182432;
  --muted: #667380;
  --accent: #c79b4a;
  --accent-deep: #a67d37;
  --accent-soft: rgba(199, 155, 74, 0.14);
  --navy: #24364c;
  --shadow: 0 18px 50px rgba(22, 38, 58, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(199, 155, 74, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(36, 54, 76, 0.12), transparent 22%),
    linear-gradient(180deg, #f8f4ec 0%, #f1ece3 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.topbar-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.company-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(36, 54, 76, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.company-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.company-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1677ff, #0b5fd6);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 26px rgba(22, 119, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pay-chip:hover,
.pay-chip:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(22, 119, 255, 0.28);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), #314967);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-title,
.brand-subtitle {
  margin: 0;
}

.brand-title {
  font-size: 16px;
  font-weight: 700;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--navy);
}

.contact-chip {
  flex-shrink: 0;
  padding: 10px 16px;
  border: 1px solid rgba(36, 54, 76, 0.12);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 24px;
  margin-top: 26px;
}

.hero-copy,
.hero-panel,
.section,
.footer {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 241, 231, 0.84)),
    var(--panel);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -30px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 155, 74, 0.18), transparent 68%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h1,
.section-heading h2,
.compact-heading h2 {
  margin: 18px 0 0;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.hero-text {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #314967);
  box-shadow: 0 14px 24px rgba(36, 54, 76, 0.22);
}

.button-alipay {
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #0b5fd6);
  box-shadow: 0 14px 24px rgba(22, 119, 255, 0.26);
}

.button-secondary {
  border: 1px solid rgba(36, 54, 76, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.wide {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics article {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
}

.hero-metrics strong {
  display: block;
  font-size: 24px;
  color: var(--navy);
}

.hero-metrics span,
.panel-card span,
.product-summary,
.meta-list,
.timeline-list p,
.faq-list p,
.contact-panel p,
.form-note,
.footer p,
.section-heading p {
  color: var(--muted);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(35, 52, 73, 0.96), rgba(28, 41, 58, 0.96)),
    var(--navy);
  color: #fff;
}

.panel-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.panel-highlight {
  min-height: 260px;
}

.panel-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-highlight h2 {
  margin: 14px 0 18px;
  font-size: 30px;
  line-height: 1.2;
}

.panel-highlight ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.9;
}

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

.panel-card strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
}

.section {
  margin-top: 22px;
  padding: 34px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.service-grid,
.product-grid,
.dual-section {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

.service-card,
.product-card,
.faq-card,
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
}

.service-card h3,
.product-card h3,
.timeline-list h3,
.faq-list summary,
.contact-card h2 {
  margin: 16px 0 0;
}

.service-card p,
.product-card p,
.timeline-list p,
.faq-list p,
.contact-panel p,
.form-note,
.footer p {
  margin: 10px 0 0;
  line-height: 1.8;
}

.inline-heading {
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-pay {
  margin-top: 6px;
}

.product-card.featured {
  background:
    linear-gradient(180deg, rgba(36, 54, 76, 0.96), rgba(46, 66, 91, 0.96)),
    var(--navy);
  color: #fff;
}

.product-card.featured .product-summary,
.product-card.featured .meta-list,
.product-card.featured .feature-list {
  color: rgba(255, 255, 255, 0.78);
}

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

.product-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
}

.product-card.featured .product-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #f4d79a;
}

.product-price {
  font-size: 28px;
  color: var(--navy);
}

.product-card.featured .product-price {
  color: #fff;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
  line-height: 1.7;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px dashed rgba(17, 34, 51, 0.12);
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.timeline-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.timeline-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), #314967);
  color: #fff;
  font-weight: 700;
}

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

.pay-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 24px;
}

.pay-card,
.pay-method-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.pay-merchant {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

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

.pay-summary {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(36, 54, 76, 0.12);
  background: rgba(248, 243, 235, 0.86);
}

.pay-summary div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

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

.pay-summary strong {
  font-size: 18px;
  color: var(--navy);
}

.pay-note {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
}

.pay-note input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(36, 54, 76, 0.12);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pay-note input:focus {
  border-color: rgba(22, 119, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.pay-hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

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

.alipay-method {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(36, 54, 76, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.alipay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1677ff, #0b5fd6);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}

.alipay-method-body strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
}

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

.method-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.12);
  color: #0b5fd6;
  font-weight: 800;
  font-size: 12px;
}

.order-info {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(17, 34, 51, 0.18);
  background: rgba(249, 246, 240, 0.8);
}

.order-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(11, 18, 28, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 50;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(520px, 100%);
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

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

.modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}

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

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

.modal-actions-row {
  display: flex;
  gap: 12px;
}

.confirm-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(248, 243, 235, 0.86);
}

.confirm-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

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

.confirm-row strong {
  font-weight: 900;
  color: var(--navy);
  text-align: right;
}

.confirm-block {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 34, 51, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.confirm-label {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}

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

.confirm-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17, 34, 51, 0.1);
  background: rgba(249, 246, 240, 0.75);
  font-weight: 700;
  color: var(--text);
}

.confirm-option input {
  width: 16px;
  height: 16px;
}

.confirm-hint {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.confirm-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
  word-break: break-word;
}

.compact-heading h2 {
  font-size: 30px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-list details {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(249, 246, 240, 0.8);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.contact-panel {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(248, 243, 235, 0.86);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(36, 54, 76, 0.12);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(166, 125, 55, 0.55);
  box-shadow: 0 0 0 4px rgba(199, 155, 74, 0.12);
}

.form-note.is-success {
  color: #1f6b3b;
  font-weight: 600;
}

.footer {
  margin-top: 22px;
  padding: 28px 34px;
  text-align: center;
}

.footer p:first-child {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero,
  .dual-section,
  .service-grid,
  .product-grid,
  .timeline-list,
  .pay-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    align-items: start;
  }
}

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

  .topbar,
  .hero,
  .panel-grid,
  .service-grid,
  .product-grid,
  .timeline-list,
  .dual-section,
  .pay-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

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

  .contact-chip {
    text-align: center;
  }

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

  .inline-heading {
    align-items: flex-start;
  }
}
