:root {
  --brand: #126bff;
  --brand-2: #00c9df;
  --ink: #12335e;
  --muted: #5f6f8c;
  --bg: #f5f8fc;
  --card: #ffffff;
  --line: #dce6f4;
  --ok: #20c997;
  --warning: #f5a623;
  --danger: #e5484d;
  --shadow: 0 16px 40px rgba(18, 107, 255, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

#download {
  scroll-margin-top: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  min-height: 62px;
  margin: 14px auto 0;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e3ebf7;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(18, 51, 94, 0.08);
  backdrop-filter: blur(16px);
}

.site-header,
.footer-inner,
.hero,
.band,
.feature-band {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

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

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

.site-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--brand);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 700;
}

.nav-download:hover {
  color: #fff;
  background: #0e55e6;
}

.hero {
  position: relative;
  padding: 76px 0 68px;
  text-align: center;
  background:
    linear-gradient(180deg, #eef5ff 0%, #f7faff 55%, #f5f8fc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 107, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 107, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.hero > * {
  position: relative;
}

.hero-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 24px rgba(18, 107, 255, 0.20));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.band h2,
.feature-band h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.15;
}

.lead {
  max-width: 650px;
  margin: 16px auto 28px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #0e55e6 100%);
  box-shadow: 0 8px 18px rgba(18, 107, 255, 0.26);
}

.btn-secondary {
  color: var(--brand);
  background: #fff;
  border-color: #c5d9ff;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.meta {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.band,
.feature-band {
  padding: 74px 0;
}

.band-heading {
  text-align: center;
  margin-bottom: 38px;
}

.band h2,
.feature-band h2 {
  font-size: 32px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.download-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-top img {
  width: 56px;
  height: 56px;
}

.tag {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tag-light {
  color: #0d7b54;
  background: #e9faf3;
}

.tag-blue {
  color: var(--brand);
  background: #e9f1ff;
}

.tag-cyan {
  color: #087f95;
  background: #e1f7fb;
}

.download-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.download-card > p {
  margin: 0 0 20px;
  min-height: 52px;
  color: var(--muted);
}

.download-card dl {
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}

.download-card dl > div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.download-card dt {
  color: var(--muted);
}

.download-card dd {
  margin: 0;
  font-weight: 700;
}

.android-card {
  background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
  border-style: dashed;
}

.btn-disabled {
  color: #8794ab;
  background: #edf1f7;
  border-color: #d9e2ef;
  pointer-events: none;
  cursor: default;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: feature;
}

.feature-list article {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-index {
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 800;
}

.feature-list h3 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  background: #eaf6ff;
  border-top: 1px solid #cde9f6;
  border-bottom: 1px solid #cde9f6;
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
}

.online-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(32, 201, 151, 0.16);
}

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

.notice p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 30px 0 38px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 860px) {
  .download-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-band,
  .band {
    padding: 54px 0;
  }

  .hero {
    padding: 54px 0 46px;
  }

  .notice-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .site-nav {
    gap: 18px;
  }

  .hero-actions {
    flex-direction: column;
    width: min(100%, 320px);
  }

  .btn {
    width: 100%;
  }
}
