:root {
  color-scheme: light;
  --primary: #0ea5e9;
  --primary-dark: #075985;
  --primary-light: #e0f2fe;
  --accent: #f97316;
  --accent-soft: #fff7ed;
  --price: #e92b2b;
  --surface: #ffffff;
  --surface-soft: #f0f9ff;
  --text: #0c4a6e;
  --muted: #475569;
  --line: #d7e6f3;
  --shadow: 0 22px 60px rgba(8, 47, 73, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: var(--surface-soft);
  line-height: 1.65;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--primary-dark);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 230, 243, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  font-family: "Outfit", "Work Sans", sans-serif;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  border-radius: 6px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:focus-visible,
.button:focus-visible,
.download-card a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.32);
  outline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.24);
}

.button.primary:hover {
  background: #ea580c;
}

.button.secondary {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.22);
  background: #fff;
}

.button.secondary:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(14, 165, 233, 0.14), transparent 28%),
    radial-gradient(circle at 85% 5%, rgba(249, 115, 22, 0.12), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #eff8ff 100%);
}

.hero-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 40px;
  align-items: center;
  padding: 60px 0 54px;
}

.hero-copy-wrap {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: var(--primary-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  margin: 0;
  max-width: 720px;
  font-family: "Outfit", "Work Sans", sans-serif;
  font-size: clamp(44px, 6.8vw, 84px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin-top: 42px;
}

.trust-item {
  padding: 18px 16px 16px;
  border: 1px solid rgba(219, 227, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(8, 47, 73, 0.04);
}

.trust-item strong {
  display: block;
  color: var(--primary-dark);
  font-family: "Outfit", "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.trust-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.phone-wrap {
  display: grid;
  place-items: center;
}

.phone-wrap img {
  width: min(380px, 100%);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-qr {
  width: min(100%, 380px);
  padding: 18px;
  border: 1px solid rgba(215, 230, 243, 0.94);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(8, 47, 73, 0.08);
  text-align: center;
}

.hero-qr-title {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-qr img {
  width: min(100%, 300px);
  margin: 0 auto;
  border: 1px solid rgba(215, 230, 243, 0.9);
  border-radius: 16px;
  background: #fff;
  image-rendering: pixelated;
}

.hero-qr span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: #fff;
}

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

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-family: "Outfit", "Work Sans", sans-serif;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--primary);
  background: var(--primary-light);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-card h3,
.download-card h3,
.compliance-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.feature-card p,
.download-card p,
.compliance-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(290px, 390px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.96), rgba(37, 99, 235, 0.94));
  box-shadow: var(--shadow);
}

.download-card {
  display: grid;
  gap: 14px;
}

.qr-card {
  padding: 22px;
  border-radius: 16px;
  background: #fff;
}

.qr-card img {
  display: block;
  width: min(100%, 320px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(215, 230, 243, 0.9);
  border-radius: 14px;
  image-rendering: pixelated;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.download-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.download-content h2 {
  margin: 0;
  font-family: "Outfit", "Work Sans", sans-serif;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.16;
}

.download-content p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.download-notes {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.download-notes li {
  position: relative;
  padding-left: 18px;
}

.download-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
}

.download-actions .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.download-actions .button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.store-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compliance-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.download-h5-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-h5-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.download-h5-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
}

.download-h5-card h3 {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.25;
  font-family: "Outfit", "Work Sans", sans-serif;
}

.download-h5-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.download-h5-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.download-h5-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.download-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #eff8ff 100%);
}

.download-app-shell {
  width: min(1080px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 24px;
  align-items: center;
  padding: 34px 0;
}

.download-app-hero,
.download-preview-panel,
.download-qr-note {
  border: 1px solid rgba(215, 230, 243, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(8, 47, 73, 0.08);
}

.download-app-hero {
  padding: 28px;
}

.download-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.download-brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.download-app-logo {
  width: 54px;
  height: 54px;
  border-radius: 12px;
}

.download-app-hero h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.05;
}

.download-app-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.wechat-guide {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 8px;
  background: var(--accent-soft);
}

.wechat-guide strong {
  color: #c2410c;
  font-size: 16px;
}

.wechat-guide span {
  color: #7c2d12;
  font-size: 14px;
}

.download-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.download-version {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.download-version div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.download-version dt {
  color: var(--muted);
  font-size: 12px;
}

.download-version dd {
  margin: 6px 0 0;
  color: var(--text);
  font-weight: 800;
}

.download-safety-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.download-safety-list li {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.download-safety-list strong {
  color: var(--text);
  font-size: 13px;
}

.download-safety-list span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.download-safety-list a {
  color: #0369a1;
  font-weight: 800;
  text-decoration: none;
}

.download-safety-list a:hover {
  text-decoration: underline;
}

.download-preview-panel {
  padding: 20px 20px 18px;
  text-align: center;
}

.download-preview-panel h2,
.download-qr-note h2 {
  margin: 0;
  font-family: "Outfit", "Work Sans", sans-serif;
  font-size: 24px;
  line-height: 1.25;
}

.download-qr-note p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.download-phone-preview {
  width: min(100%, 260px);
  margin: 0 auto;
}

.download-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.download-feature-grid span {
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-dark);
  background: var(--primary-light);
  font-size: 13px;
  font-weight: 800;
}

.download-qr-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.download-qr-note img {
  width: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.meta-list strong {
  color: var(--text);
}

.site-footer {
  padding: 34px 0;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e2e8f0;
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 13px;
}

@media (max-width: 880px) {
  .nav {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 42px 0 48px;
  }

  .hero-visual {
    order: -1;
  }

  .phone-wrap img {
    width: min(280px, 76vw);
  }

  .hero-stats,
  .feature-grid,
  .compliance-grid,
  .download-panel,
  .download-h5-panel,
  .download-app-shell {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .nav,
  .container,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 18px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .download-panel {
    padding: 20px;
  }

  .download-app-shell {
    padding: 20px 0;
  }

  .download-app-hero {
    padding: 22px;
  }

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

  .download-qr-note {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-qr-note img {
    margin: 0 auto;
  }

  .hero-qr {
    width: min(100%, 340px);
  }
}

@media (min-width: 881px) {
  .download-panel {
    overflow: hidden;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
