:root {
  color-scheme: light;
  --ink: #16181d;
  --muted: #626a73;
  --line: #e5e8ee;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --green: #05b873;
  --blue: #2968d8;
  --gold: #d69c2f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(229, 232, 238, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(24px, 7vw, 96px) 80px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(10, 16, 28, 0.94) 0%, rgba(10, 16, 28, 0.74) 42%, rgba(10, 16, 28, 0.18) 100%),
    url("/assets/logo.png") right 9vw center / min(46vw, 520px) no-repeat,
    linear-gradient(135deg, #182134 0%, #2e6a6c 48%, #d9b560 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(245, 247, 250, 0), var(--soft));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  color: #07120d;
  background: #fff;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
}

.intro,
.info-section,
.service-section,
.app-section,
.download-section,
.feature-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  padding: 80px 0 36px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.intro p:last-child,
.info-heading p,
.app-copy p,
.download-section p,
.service-note {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.info-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
  padding: 34px 0 72px;
}

.info-heading p {
  margin-top: 22px;
}

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

.info-grid div {
  min-height: 122px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-grid dt {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.info-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 0 70px;
}

.feature-grid article {
  min-height: 250px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 40px 0 14px;
  font-size: 22px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-section {
  padding: 74px clamp(20px, 5vw, 64px);
  margin-bottom: 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-section > div:first-child {
  max-width: 780px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.service-list article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.service-list h3 {
  margin: 0 0 18px;
  font-size: 21px;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-note {
  margin-top: 28px;
  padding: 18px 20px;
  background: #f8fbff;
  border: 1px solid #dce9ff;
  border-radius: 8px;
}

.app-section {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 72px;
  align-items: center;
  padding: 86px clamp(20px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-copy p {
  margin-top: 24px;
}

.app-shot {
  margin: 0;
  width: min(390px, 100%);
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(24, 33, 52, 0.18);
}

.app-shot figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.download-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: center;
  padding: 92px 0;
}

.download-section p {
  margin-top: 20px;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-box {
  width: 210px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px dashed #b8c0cc;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(22, 24, 29, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(22, 24, 29, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
}

.qr-box span {
  color: #929aa6;
  font-size: 36px;
  font-weight: 900;
}

.qr-placeholder strong {
  margin-top: 18px;
}

.qr-placeholder small {
  margin-top: 6px;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 78vh;
    background:
      linear-gradient(180deg, rgba(10, 16, 28, 0.9) 0%, rgba(10, 16, 28, 0.74) 100%),
      url("/assets/logo.png") center 78% / min(68vw, 330px) no-repeat,
      linear-gradient(135deg, #182134 0%, #2e6a6c 54%, #d9b560 100%);
  }

  .intro,
  .info-section,
  .app-section,
  .download-section {
    grid-template-columns: 1fr;
  }

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

  .app-section {
    gap: 38px;
  }

  .app-shot {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
    padding: 112px 22px 270px;
    background:
      linear-gradient(180deg, rgba(10, 16, 28, 0.9) 0%, rgba(10, 16, 28, 0.74) 100%),
      url("/assets/logo.png") center bottom 78px / 260px no-repeat,
      linear-gradient(135deg, #182134 0%, #2e6a6c 54%, #d9b560 100%);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

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

  h2 {
    font-size: 30px;
    word-break: break-all;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.75;
    word-break: break-all;
  }

  .hero-actions {
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .intro {
    padding-top: 56px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }

  .info-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .app-section {
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .download-section {
    padding: 60px 0;
  }

  footer {
    flex-direction: column;
  }
}
