:root {
  --blue: #168ff1;
  --blue-dark: #057be2;
  --ink: #0c2237;
  --muted: #657689;
  --line: #dcecff;
  --shell: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 1080px;
  min-height: 100%;
  background: #fff;
  scroll-behavior: smooth;
}

body {
  min-width: 1080px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

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

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: 80px minmax(636px, 1fr) 58px;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .12)),
    radial-gradient(circle at 68% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 28%),
    linear-gradient(116deg, #e6f5ff 0%, #e8f5ff 54%, #d3edff 100%);
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 9px 15px;
  color: #fff;
  background: #086fce;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #edf4fb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #253647;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.brand strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .01em;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #0d8eee 0%, #159bf5 100%);
  border: 1px solid rgba(0, 112, 211, .2);
  box-shadow: 0 10px 24px rgba(10, 135, 233, .2);
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.download-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 135, 233, .3);
  filter: brightness(1.04);
}

.download-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(17, 143, 239, .45);
  outline-offset: 4px;
}

.download-button:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.download-button--header {
  min-width: 150px;
  height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 16px;
}

.landing {
  position: relative;
  min-height: 636px;
  overflow: hidden;
  background: transparent;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(125deg, transparent 0 12%, rgba(255, 255, 255, .24) 12.2% 13%, transparent 13.2% 100%),
    radial-gradient(circle at 83% 33%, rgba(51, 161, 255, .13), transparent 23%);
  opacity: .72;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  height: 470px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: start;
  padding-top: 54px;
}

.hero h1 {
  margin: 0;
  color: #10283b;
  font-size: clamp(45px, 3.45vw, 61px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.hero h1 span {
  display: inline-block;
  margin-left: 10px;
  color: var(--blue);
}

.hero-summary {
  width: 630px;
  max-width: 100%;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.8;
}

.download-button--primary {
  gap: 12px;
  min-width: 292px;
  height: 68px;
  margin-top: 30px;
  padding: 0 34px;
  border-radius: 11px;
  font-size: 20px;
}

.download-button--primary img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.product-visual {
  position: absolute;
  top: 18px;
  right: -104px;
  z-index: 1;
  width: 775px;
  margin: 0;
}

.product-visual::before {
  display: none;
}

.product-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-tags {
  position: absolute;
  bottom: 26px;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 44px;
  padding: 0 22px;
  color: #176da9;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(22, 143, 241, .17);
  border-radius: 999px;
  box-shadow: 0 9px 24px rgba(41, 118, 179, .09);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hero-tag::before {
  width: 7px;
  height: 7px;
  margin-right: 12px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(22, 143, 241, .1);
  content: "";
}

.hero-tag:hover:not(.is-active) {
  color: #0e65a3;
  background: rgba(255, 255, 255, .92);
  border-color: rgba(22, 143, 241, .3);
  transform: translateY(-1px);
}

.hero-tag.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0e88e7 0%, #1b9cf5 100%);
  border-color: rgba(0, 112, 211, .28);
  box-shadow: 0 10px 24px rgba(10, 135, 233, .23);
}

.hero-tag.is-active::before {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .18);
}

.hero-tag:focus-visible {
  outline: 3px solid rgba(17, 143, 239, .38);
  outline-offset: 3px;
}

.feature-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 0;
}

.feature-card {
  min-height: 164px;
  padding: 26px 18px 22px;
  text-align: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(219, 235, 251, .95);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(60, 135, 195, .09);
}

.feature-grid.is-switching .feature-card {
  animation: feature-card-in .28s ease both;
}

.feature-grid.is-switching .feature-card:nth-child(2) {
  animation-delay: .035s;
}

.feature-grid.is-switching .feature-card:nth-child(3) {
  animation-delay: .07s;
}

.feature-grid.is-switching .feature-card:nth-child(4) {
  animation-delay: .105s;
}

.feature-card > img {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.feature-card h2 {
  margin: 0;
  color: #24384a;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 500;
}

.feature-card p {
  margin: 8px 0 0;
  color: #728294;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 24px;
  color: #718596;
  background: transparent;
  font-size: 12px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@keyframes feature-card-in {
  from {
    opacity: .35;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.metadata,
.metadata[hidden],
.metadata div[hidden] {
  display: none;
}

@media (min-height: 900px) {
  .page-shell {
    grid-template-rows: 88px minmax(694px, 1fr) 70px;
  }

  .header-inner {
    height: 88px;
  }

  .hero {
    height: 516px;
  }

  .hero-copy {
    padding-top: 68px;
  }

  .product-visual {
    top: 20px;
    width: 790px;
  }

  .feature-card {
    min-height: 178px;
    padding-top: 29px;
  }
}

@media (max-height: 820px) {
  .page-shell {
    grid-template-rows: 72px minmax(608px, 1fr) 48px;
  }

  .header-inner {
    height: 72px;
  }

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

  .hero {
    height: 444px;
  }

  .hero-copy {
    padding-top: 42px;
  }

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

  .hero-summary {
    margin-top: 18px;
    font-size: 18px;
  }

  .download-button--primary {
    height: 60px;
    margin-top: 23px;
  }

  .product-visual {
    top: 12px;
    right: -88px;
    width: 685px;
  }

  .feature-card {
    min-height: 154px;
    padding-top: 21px;
  }

  .feature-card > img {
    width: 46px;
    height: 46px;
    margin-bottom: 9px;
  }

  .site-footer {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
