:root {
  --mint: #28c8b7;
  --mint-soft: #c9f7ef;
  --mint-pale: #effcf9;
  --ink: #172321;
  --muted: #60706d;
  --line: rgba(40, 200, 183, 0.22);
  --shadow: 0 18px 48px rgba(29, 122, 114, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f8fffd;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(120deg, #f8fffd 0%, #ffffff 48%, #e9fbf8 100%);
}

img {
  max-width: 100%;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.hero,
.site-footer {
  width: min(1180px, calc(100vw - 72px));
  margin-inline: auto;
}

.site-header {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(36, 185, 167, 0.2);
}

.hero {
  flex: 1;
  min-height: calc(100vh - 124px);
  display: grid;
  grid-template-columns: minmax(520px, 0.82fr) minmax(560px, 1.18fr);
  gap: 20px;
  align-items: center;
  padding: 26px 0 22px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  color: #0f7f71;
  font-size: 21px;
  font-weight: 800;
  background: var(--mint-soft);
}

h1 {
  margin: 52px 0 34px;
  max-width: 640px;
  font-size: clamp(50px, 4vw, 66px);
  line-height: 1.17;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 23px;
  line-height: 1.7;
}

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

.qr-card,
.note-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.qr-card {
  flex: 1 1 auto;
  min-width: 510px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 30px;
}

.qr-card > img {
  flex: none;
  width: 130px;
  height: 130px;
  border-radius: 24px;
  object-fit: cover;
}

.qr-card strong,
.note-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 25px;
  font-weight: 800;
}

.qr-card span,
.note-card span {
  color: var(--muted);
  font-size: 18px;
}

.scan-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  height: 42px;
  margin-top: 22px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  background: var(--mint);
}

.note-card {
  appearance: none;
  border: 1px solid var(--line);
  position: relative;
  flex: 0 0 154px;
  min-height: 154px;
  padding: 18px 16px 14px;
  border-radius: 30px;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.note-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 52px rgba(29, 122, 114, 0.16);
}

.note-card img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  object-fit: cover;
  object-position: top center;
}

.note-card strong {
  position: absolute;
  left: 18px;
  right: 18px;
  top: -26px;
  height: 42px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #0f7f71;
  font-size: 17px;
  background: var(--mint-soft);
}

.note-card span {
  display: none;
}

.phone-area {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  margin-right: -42px;
}

.phone-frame {
  width: min(540px, 100%);
  padding: 15px;
  border: 2px solid rgba(40, 200, 183, 0.26);
  border-radius: 52px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 104, 99, 0.12);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
}

.seo-content {
  width: min(1180px, calc(100vw - 72px));
  margin: 48px auto 72px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.74);
}

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

.seo-heading span {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: #0f7f71;
  font-weight: 800;
  background: var(--mint-soft);
}

.seo-heading h2 {
  margin: 0;
  max-width: 760px;
  font-size: 30px;
  line-height: 1.4;
  text-align: right;
}

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

.seo-grid article {
  padding: 24px;
  border: 1px solid rgba(40, 200, 183, 0.16);
  border-radius: 24px;
  background: #fff;
}

.seo-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.seo-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.site-footer {
  min-height: 36px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #81908e;
  font-size: 14px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.wechat-modal {
  width: min(380px, calc(100vw - 32px));
  padding: 34px 30px 30px;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 28px 90px rgba(20, 80, 75, 0.24);
}

.wechat-modal::backdrop {
  background: rgba(13, 37, 34, 0.34);
  backdrop-filter: blur(3px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #6d7b79;
  background: #f2faf8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-avatar {
  width: 78px;
  height: 78px;
  margin: 0 auto 12px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--mint-pale);
}

.modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.wechat-modal h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.wechat-modal p {
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.wechat-qr {
  width: 238px;
  height: 238px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.wechat-modal span {
  display: block;
  margin-top: 14px;
  color: #0f7f71;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  body {
    background: linear-gradient(180deg, #f8fffd 0%, #ffffff 52%, #e9fbf8 100%);
  }

  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 32px, 760px);
  }

  .site-header {
    height: 68px;
  }

  .brand {
    font-size: 24px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 34px;
    align-items: stretch;
    padding: 22px 0 30px;
  }

  .eyebrow {
    height: 38px;
    padding: 0 18px;
    font-size: 17px;
  }

  h1 {
    margin: 28px 0 20px;
    font-size: clamp(38px, 10vw, 54px);
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 34px;
    flex-direction: column;
    align-items: stretch;
  }

  .qr-card {
    min-width: 0;
  }

  .note-card {
    display: none;
  }

  .phone-area {
    justify-content: center;
    margin-right: 0;
  }

  .phone-frame {
    width: min(440px, 100%);
    border-radius: 42px;
  }

  .phone-frame img {
    border-radius: 30px;
  }

  .seo-content {
    width: min(100% - 32px, 760px);
    margin: 22px auto 48px;
    padding: 24px;
    border-radius: 28px;
  }

  .seo-heading {
    display: block;
  }

  .seo-heading h2 {
    margin-top: 16px;
    font-size: 24px;
    text-align: left;
  }

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

@media (max-width: 560px) {
  .qr-card {
    padding: 20px;
    gap: 18px;
  }

  .qr-card > img {
    width: 104px;
    height: 104px;
    border-radius: 20px;
  }

  .qr-card strong {
    font-size: 20px;
  }

  .qr-card span {
    font-size: 15px;
  }

  .scan-pill {
    min-width: 150px;
    height: 38px;
    margin-top: 16px;
    font-size: 15px;
  }
}
