:root {
  --green: #21bf65;
  --green-deep: #079452;
  --green-dark: #062017;
  --yellow: #ffe100;
  --paper: #f7faf8;
  --white: #ffffff;
  --ink: #07140e;
  --muted: #64756b;
  --line: #e4ece7;
  --soft: 0 24px 70px rgba(7, 32, 19, 0.10);
  --deep: 0 34px 96px rgba(7, 32, 19, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 40;
  width: min(1180px, calc(100% - 42px));
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 10px 14px 10px 20px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: 0 24px 74px rgba(6, 28, 17, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand,
.h5-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand img,
.footer-brand img,
.h5-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span,
.footer-brand span,
.h5-brand span {
  font-size: 22px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 34px;
  color: #263a30;
  font-size: 15px;
  font-weight: 900;
}

.header-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.header-link,
.header-download,
.primary-action,
.secondary-action,
.download-card,
.h5-home,
.h5-download-card {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.header-link,
.header-download,
.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
}

.header-link {
  color: var(--green-deep);
  background: #eef8f2;
  border: 1px solid var(--line);
}

.header-download,
.primary-action {
  color: #111807;
  background: var(--yellow);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 18px 38px rgba(255, 225, 0, 0.24),
    inset 0 -2px 0 rgba(0, 0, 0, 0.10);
}

.secondary-action {
  color: var(--white);
  background: rgba(7, 32, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 42px rgba(7, 32, 23, 0.24);
  backdrop-filter: blur(14px);
}

.header-link:hover,
.header-download:hover,
.primary-action:hover,
.secondary-action:hover,
.download-card:hover,
.h5-home:hover,
.h5-download-card:hover,
.header-link:focus-visible,
.header-download:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.download-card:focus-visible,
.h5-home:focus-visible,
.h5-download-card:focus-visible {
  transform: translateY(-2px);
}

.reference-hero {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 150px max(30px, calc((100vw - 1180px) / 2)) 108px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.0) 0%, rgba(247, 250, 248, 0.0) 62%, var(--paper) 100%),
    radial-gradient(circle at 74% 16%, rgba(255, 225, 0, 0.25), transparent 22%),
    radial-gradient(circle at 16% 0%, rgba(54, 210, 238, 0.36), transparent 30%),
    linear-gradient(145deg, #b8eef1 0%, #fff2df 38%, #879dae 100%);
}

.reference-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 70%);
}

.reference-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--paper));
}

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

.hero-logo {
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(7, 32, 19, 0.18);
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(7, 20, 14, 0.68);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-deep);
}

.hero-content h1 {
  margin: 0;
  color: var(--ink);
  font-size: 62px;
  line-height: 1.08;
  font-weight: 900;
}

.hero-copy {
  margin: 26px 0 0;
  color: #21362a;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 700;
}

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

.primary-action,
.secondary-action {
  min-width: 184px;
  min-height: 54px;
  font-size: 16px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-device {
  position: absolute;
  overflow: hidden;
  background: #06110b;
  border: 12px solid #06110b;
  border-radius: 34px;
  box-shadow: var(--deep);
}

.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
}

.hero-device-a {
  right: max(56px, calc((100vw - 1180px) / 2 + 72px));
  top: 152px;
  width: 300px;
  height: 610px;
  transform: rotate(-4deg);
}

.hero-device-b {
  right: max(346px, calc((100vw - 1180px) / 2 + 354px));
  top: 244px;
  width: 220px;
  height: 448px;
  opacity: 0.92;
  transform: rotate(6deg);
}

.hero-device-c {
  right: max(-88px, calc((100vw - 1180px) / 2 - 72px));
  top: 292px;
  width: 216px;
  height: 440px;
  opacity: 0.62;
  transform: rotate(8deg);
}

.download-band,
.story-wrap,
.support-section,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.download-band {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: -70px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: 8px;
  box-shadow: var(--soft);
  backdrop-filter: blur(18px);
}

.download-heading h2,
.story-copy h2,
.support-heading h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.18;
  font-weight: 900;
}

.download-heading p,
.story-copy p,
.contact-item span,
.download-card em,
.download-card small,
.h5-hero p,
.h5-download-card em {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.download-card {
  min-height: 184px;
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 6px 16px;
  align-items: start;
  padding: 22px;
  background: #f8fcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.download-card:hover {
  box-shadow: 0 24px 58px rgba(7, 32, 19, 0.12);
}

.system-badge {
  grid-row: span 3;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.system-badge.ios {
  color: var(--white);
  background: var(--green-deep);
}

.system-badge.apk {
  color: var(--ink);
  background: var(--yellow);
}

.download-card strong {
  font-size: 22px;
  line-height: 1.26;
}

.download-card small {
  align-self: end;
  font-weight: 900;
}

.story-wrap {
  padding-top: 72px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(540px, 1fr);
  gap: 64px;
  align-items: center;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.story-row.reverse .story-copy {
  order: 2;
}

.story-row.reverse .story-visuals {
  order: 1;
}

.story-copy p + p {
  margin-top: 16px;
}

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

.phone-card {
  position: relative;
  margin: 0;
  padding: 18px 18px 0;
  overflow: hidden;
  background: linear-gradient(145deg, #182018, #3b403f);
  border-radius: 8px;
  box-shadow: var(--soft);
}

.phone-card.dark-card {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 225, 0, 0.18), transparent 24%),
    linear-gradient(145deg, #242a28, #4a4e4d);
}

.phone-card img {
  width: min(230px, 88%);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  object-fit: cover;
  object-position: top center;
  background: #edf3ef;
  border: 8px solid #07110c;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.phone-card figcaption {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.mini-screen {
  position: relative;
  margin: 0;
  padding: 10px 10px 0;
  overflow: hidden;
  background: linear-gradient(145deg, #111f17 0%, #07110c 64%, #020806 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: var(--soft);
}

.mini-screen.active {
  background: linear-gradient(145deg, #12311f 0%, #07110c 64%, #020806 100%);
  border-color: rgba(255, 225, 0, 0.36);
  transform: translateY(-16px);
}

.mini-screen img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px 18px 8px 8px;
}

.mini-screen figcaption {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
}

.mini-screen figcaption::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(33, 191, 101, 0.14);
}

.mini-screen.active figcaption::before {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 225, 0, 0.14);
}

.support-section {
  padding: 84px 0 64px;
}

.support-heading {
  margin-bottom: 32px;
  text-align: center;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1fr);
  gap: 54px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-item {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(7, 32, 19, 0.06);
}

.contact-item strong {
  font-size: 18px;
  line-height: 1.55;
}

.support-image {
  overflow: hidden;
  background: #dfe8e2;
  border-radius: 8px;
  box-shadow: var(--soft);
}

.support-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
}

.site-footer {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--ink);
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 900;
}

.company-info {
  display: grid;
  gap: 5px;
  justify-self: center;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.mobile-download-bar {
  display: none;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  max-width: min(360px, calc(100% - 48px));
  padding: 14px 18px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(16, 36, 22, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.h5-page {
  min-height: 100vh;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.0) 0%, var(--paper) 76%),
    radial-gradient(circle at 70% 0%, rgba(255, 225, 0, 0.28), transparent 30%),
    radial-gradient(circle at 0% 0%, rgba(54, 210, 238, 0.36), transparent 34%),
    linear-gradient(145deg, #b8eef1 0%, #fff2df 46%, #879dae 100%);
}

.h5-shell {
  width: min(560px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 36px;
}

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

.h5-home {
  min-width: 94px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 8px;
  font-weight: 900;
}

.h5-hero {
  display: grid;
  gap: 30px;
  padding: 72px 0 34px;
}

.h5-hero h1 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.14;
  font-weight: 900;
}

.h5-download-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.h5-download-card {
  width: 100%;
  min-height: 98px;
  display: grid;
  grid-template-columns: 68px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--soft);
}

.h5-download-card .system-badge {
  grid-row: span 2;
}

.h5-download-card strong {
  font-size: 20px;
  line-height: 1.3;
}

.h5-phone {
  width: min(300px, 82%);
  margin: 0 auto;
  padding: 12px 12px 0;
  overflow: hidden;
  background: linear-gradient(145deg, #111f17 0%, #07110c 64%, #020806 100%);
  border-radius: 34px;
  box-shadow: var(--deep);
}

.h5-phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px 24px 10px 10px;
}

.h5-phone figcaption {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
}

.h5-note {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 18px 54px rgba(7, 32, 19, 0.08);
}

.h5-note strong {
  color: var(--ink);
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-actions {
    justify-self: end;
  }

  .reference-hero {
    min-height: 780px;
  }

  .hero-device-a {
    right: 28px;
    top: 206px;
    width: 250px;
    height: 510px;
  }

  .hero-device-b {
    right: 250px;
    top: 306px;
    width: 176px;
    height: 360px;
  }

  .hero-device-c {
    display: none;
  }

  .download-band,
  .story-row,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .story-row.reverse .story-copy,
  .story-row.reverse .story-visuals {
    order: initial;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .company-info {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px 10px;
  }

  .brand img,
  .h5-brand img {
    width: 34px;
    height: 34px;
  }

  .brand span,
  .h5-brand span {
    font-size: 18px;
  }

  .header-link {
    display: none;
  }

  .header-download {
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
  }

  .reference-hero {
    min-height: 740px;
    align-items: flex-start;
    padding: 104px 18px 280px;
  }

  .hero-logo {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
  }

  .hero-content h1 {
    max-width: 330px;
    font-size: 46px;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 15px;
    line-height: 1.82;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 330px;
  }

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

  .hero-device-a {
    right: 22px;
    top: auto;
    bottom: 46px;
    width: 172px;
    height: 350px;
  }

  .hero-device-b {
    right: 176px;
    top: auto;
    bottom: 76px;
    width: 124px;
    height: 252px;
  }

  .download-band,
  .story-wrap,
  .support-section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .download-band {
    margin-top: -44px;
    padding: 22px;
  }

  .download-heading h2,
  .story-copy h2,
  .support-heading h2 {
    font-size: 30px;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: 142px;
  }

  .story-wrap {
    padding-top: 36px;
  }

  .story-row {
    gap: 26px;
    padding: 44px 0;
  }

  .story-visuals {
    gap: 10px;
  }

  .phone-card {
    padding: 10px 10px 0;
  }

  .phone-card img {
    width: min(150px, 88%);
    border-width: 6px;
    border-radius: 22px 22px 0 0;
  }

  .phone-card figcaption {
    min-height: 46px;
    font-size: 14px;
  }

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

  .mini-screen.active {
    transform: none;
  }

  .support-section {
    padding: 56px 0 48px;
  }

  .support-layout {
    gap: 24px;
  }

  .support-image img {
    height: 250px;
  }

  .site-footer {
    padding-bottom: 106px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .mobile-download-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(15, 50, 30, 0.18);
    backdrop-filter: blur(16px);
  }

  .mobile-download-bar a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 900;
  }

  .mobile-download-bar a:first-child {
    background: var(--yellow);
  }

  .mobile-download-bar a:last-child {
    color: var(--white);
    background: var(--green-deep);
  }

  .h5-shell {
    width: calc(100% - 28px);
  }

  .h5-hero {
    padding-top: 54px;
  }

  .h5-hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 380px) {
  .h5-shell {
    width: calc(100% - 22px);
    padding-top: 16px;
  }

  .h5-brand img {
    width: 30px;
    height: 30px;
  }

  .h5-brand span {
    font-size: 17px;
  }

  .h5-home {
    min-width: 82px;
    min-height: 38px;
    font-size: 13px;
  }

  .h5-hero {
    gap: 24px;
    padding-top: 42px;
  }

  .h5-hero h1 {
    font-size: 32px;
  }

  .h5-download-card {
    grid-template-columns: 56px 1fr;
    gap: 4px 12px;
    min-height: 88px;
    padding: 14px;
  }

  .h5-download-card .system-badge {
    width: 54px;
    height: 54px;
    font-size: 14px;
  }

  .h5-download-card strong {
    font-size: 18px;
  }

  .h5-download-card em {
    font-size: 14px;
  }

  .h5-phone {
    width: min(278px, 88%);
    border-radius: 28px;
  }

  .h5-note {
    padding: 20px 14px;
  }
}
