@charset "UTF-8";

:root {
  --navy: #123f59;
  --navy-deep: #0b3047;
  --blue: #347ea4;
  --teal: #2b968d;
  --coral: #df7b70;
  --gold: #d5a13d;
  --violet: #7d78a8;
  --ink: #17384c;
  --muted: #647c8b;
  --line: #dce8ed;
  --paper: #f6fafb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(250, 210, 116, 0.13), transparent 27%),
    radial-gradient(circle at 93% 22%, rgba(87, 173, 181, 0.12), transparent 28%),
    linear-gradient(135deg, #fbfdfd 0%, #f4f9fa 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.3;
  pointer-events: none;
  background-image: radial-gradient(rgba(26, 81, 105, 0.18) 0.65px, transparent 0.65px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to right, black, transparent 42%, black);
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.ambient-one {
  width: 360px;
  height: 360px;
  right: -170px;
  top: -150px;
  border: 1px solid rgba(52, 126, 164, 0.13);
  box-shadow: 0 0 0 45px rgba(52, 126, 164, 0.025), 0 0 0 90px rgba(52, 126, 164, 0.02);
}

.ambient-two {
  width: 280px;
  height: 280px;
  left: -180px;
  bottom: -100px;
  border: 1px solid rgba(213, 161, 61, 0.16);
  box-shadow: 0 0 0 42px rgba(213, 161, 61, 0.025);
}

.page-shell {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 58px 0 26px;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.78fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 150px);
  min-height: calc(100svh - 150px);
}

.content-column {
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.brand-logo {
  display: block;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 76, 96, 0.09);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.brand-copy span {
  color: #78909d;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.eyebrow span {
  width: 25px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.28;
  letter-spacing: 0.015em;
  font-weight: 700;
}

h1 em {
  color: var(--blue);
  font-style: normal;
  background: linear-gradient(100deg, #216488, #33978e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  margin: 22px 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.value-tags span {
  padding: 6px 12px;
  border: 1px solid #d9e7eb;
  border-radius: 999px;
  color: #537180;
  background: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 0;
  margin-top: 33px;
  border-top: 1px solid var(--line);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line);
}

.service-item-wide {
  grid-column: 1 / -1;
  padding-right: 36%;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  margin-top: 1px;
  border-radius: 11px;
}

.service-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-blue { color: var(--blue); background: #e9f3f8; }
.icon-teal { color: var(--teal); background: #e8f5f2; }
.icon-coral { color: var(--coral); background: #fcf0ed; }
.icon-gold { color: var(--gold); background: #faf3e4; }
.icon-violet { color: var(--violet); background: #f0eef7; }

.service-item h2 {
  margin: 0 0 7px;
  color: #21475b;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
}

.service-item h2 span {
  margin-right: 8px;
  color: #9bafb9;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  vertical-align: 2px;
}

.service-item p {
  margin: 0;
  color: #6b818e;
  font-size: 13px;
  line-height: 1.75;
}

.qr-column {
  position: relative;
}

.qr-column::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 92%;
  left: 12%;
  top: 8%;
  z-index: -1;
  border-radius: 38px;
  background: linear-gradient(150deg, rgba(73, 146, 170, 0.09), rgba(249, 207, 114, 0.08));
  transform: rotate(4deg);
}

.qr-card {
  position: relative;
  overflow: hidden;
  padding: 35px 38px 0;
  border: 1px solid rgba(208, 225, 231, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(25, 73, 94, 0.11), 0 4px 14px rgba(25, 73, 94, 0.04);
  text-align: center;
  backdrop-filter: blur(12px);
}

.qr-card-topline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3a88a8, #43a395 58%, #edc66e);
}

.miniapp-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #248c63;
  background: #edf8f2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.miniapp-label svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qr-card h2 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.42;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.qr-card h2 span {
  color: var(--blue);
}

.qr-intro {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.qr-frame {
  position: relative;
  width: min(100%, 270px);
  margin: 24px auto 21px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(29, 69, 87, 0.08);
}

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

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #45988f;
  border-style: solid;
  border-width: 0;
  border-radius: 3px;
}

.corner-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 10px; }
.corner-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 10px; }
.corner-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 10px; }
.corner-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 10px; }

.scan-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--navy);
}

.scan-hint svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scan-hint strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.scan-note {
  margin: 8px 0 25px;
  color: #879ba6;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.qr-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 -38px;
  padding: 19px 20px 21px;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.09), transparent 33%),
    linear-gradient(115deg, #123f59, #1b596b);
}

.qr-card-footer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.14em;
}

.qr-card-footer strong {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.small-star {
  color: #ebc874;
  font-size: 17px;
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(206, 222, 228, 0.8);
  color: #8297a2;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.page-footer p {
  margin: 0;
}

.page-footer p:first-child {
  color: #617d8c;
}

.page-footer span {
  margin: 0 5px;
  color: #c2a35c;
}

.medical-note {
  text-align: right;
}

@media (max-width: 1080px) {
  .page-shell {
    width: min(960px, calc(100% - 56px));
    padding-top: 42px;
  }

  .intro-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.8fr);
    gap: 38px;
  }

  .brand {
    margin-bottom: 30px;
  }

  .brand-logo {
    width: 68px;
    height: 68px;
  }

  h1 {
    font-size: 40px;
  }

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

  .desktop-break {
    display: none;
  }

  .services {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .service-item-wide {
    grid-column: auto;
    padding-right: 0;
  }

  .service-item {
    padding: 16px 0;
  }

  .qr-card {
    padding: 30px 28px 0;
  }

  .qr-card-footer {
    margin: 0 -28px;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(600px, calc(100% - 36px));
    padding: 28px 0 22px;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  .brand {
    margin-bottom: 32px;
  }

  .brand-copy strong {
    font-size: 22px;
  }

  h1 {
    font-size: clamp(34px, 8.5vw, 46px);
  }

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

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

  .service-item p {
    font-size: 13px;
  }

  .qr-column {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .qr-card {
    padding: 32px 34px 0;
  }

  .qr-card-footer {
    margin: 0 -34px;
  }

  .qr-frame {
    width: min(100%, 280px);
  }

  .page-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.7;
  }

  .medical-note {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
    border-radius: 17px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy span {
    font-size: 8px;
  }

  .eyebrow {
    font-size: 12px;
  }

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

  .qr-card {
    padding: 28px 24px 0;
    border-radius: 24px;
  }

  .qr-card h2 {
    font-size: 25px;
  }

  .qr-card-footer {
    margin: 0 -24px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .qr-card {
    animation: card-enter 0.7s ease-out both;
  }

  .content-column {
    animation: content-enter 0.65s ease-out both;
  }
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes content-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
