*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #f8fafc;
  color: #1f2937;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

main {
  min-height: calc(100vh - 84px);
}

.wechat-section {
  min-height: calc(100vh - 84px);
  padding: 80px 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.container {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.wechat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: #22c55e;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.wechat-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

h2,
h3,
p {
  margin: 0;
}

h2 {
  margin-bottom: 16px;
  color: #1f2937;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.section-heading p {
  max-width: 576px;
  margin: 0 auto;
  color: #4b5563;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 32px;
}

.card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.qr-card,
.account-card,
.guide-card {
  padding: 32px;
}

h3 {
  margin-bottom: 24px;
  color: #1f2937;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.qr-card {
  min-height: 360px;
}

.qr-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 224px;
  margin: 0 auto;
  transition: transform 150ms ease;
}

.qr-wrap:hover {
  transform: scale(1.05);
}

.qr-wrap img {
  display: block;
  width: 224px;
  height: 224px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  object-fit: cover;
}

.qr-wrap span {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 4px 16px;
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.account-card h3,
.guide-card h3 {
  margin-bottom: 16px;
}

.account-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

code {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 18px;
  line-height: 28px;
}

button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #22c55e;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  line-height: 24px;
  transition: background 150ms ease, transform 150ms ease;
}

button:hover {
  background: #16a34a;
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
}

button svg {
  width: 16px;
  height: 16px;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #4b5563;
  list-style: none;
}

li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

li b {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 14px;
  font-weight: 500;
}

footer {
  padding: 32px 16px;
  background: #f8fafc;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 767px) {
  .wechat-section {
    padding: 56px 16px;
  }

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

  .qr-card,
  .account-card,
  .guide-card {
    padding: 24px;
  }

  .account-row {
    align-items: stretch;
    flex-direction: column;
  }

  button {
    justify-content: center;
  }
}
