/* 下载落地页样式（与官网共用设计 token） */
:root {
  --brand: #ff5a0b;
  --brand-light: #ff7a35;
  --brand-soft: #fff4ee;
  --text-muted: #666;
  --text-light: #999;
  --border: #eee;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding: var(--safe-top) max(24px, var(--safe-right)) 0 max(24px, var(--safe-left));
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8a4c, var(--brand));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.brand__name {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.brand__tag {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

body.download-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #fff 0%, #fff9f5 55%, #fff4ee 100%);
}

.download-page__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px - var(--safe-top));
  min-height: calc(100dvh - 72px - var(--safe-top));
  padding: 32px max(20px, var(--safe-right)) calc(48px + var(--safe-bottom))
    max(20px, var(--safe-left));
}

.download-card {
  width: min(100%, 400px);
  padding: 32px 24px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(255, 106, 26, 0.1);
  text-align: center;
}

.download-card__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff8a4c, var(--brand));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 90, 11, 0.28);
}

.download-card__platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.download-card__platform svg {
  width: 16px;
  height: 16px;
}

.download-card h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

.download-card__lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.download-card__features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.download-card__features li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.download-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
}

.download-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--brand) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 90, 11, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.download-card__cta svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.download-card__cta:active {
  transform: scale(0.98);
}

.download-card__hint {
  margin: 14px 0 0;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.5;
}

.download-card__back {
  display: inline-block;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.download-card__back:hover {
  color: var(--brand);
}
