* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.download-page {
  color: #eef4ff;
  background-color: #202c47;
  background-image: linear-gradient(180deg, rgba(22, 30, 50, .28), rgba(22, 30, 50, .72)), url('/img/download-bg.png');
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
body.download-page::before,
body.download-page::after {
  content: ""; position: fixed; width: 300px; height: 300px; border-radius: 50%;
  filter: blur(88px); opacity: .28; pointer-events: none; z-index: 0;
}
body.download-page::before { top: -120px; left: -120px; background: #5078e8; }
body.download-page::after { right: -140px; bottom: 40px; background: #6b51bd; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.download-shell { position: relative; z-index: 1; width: min(100%, 430px); margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 16px max(26px, env(safe-area-inset-bottom)); }
.download-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; letter-spacing: .01em; }
.topbar-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.88); box-shadow: 0 0 0 5px rgba(255,255,255,.12); }
.download-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.download-brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 7px 18px #07112666; }
.download-brand strong, .download-brand span { display: block; }
.download-brand strong { font-size: 17px; letter-spacing: .04em; }
.download-brand span { margin-top: 3px; color: #b7c6e5; font-size: 11px; }
.download-actions { display: flex; gap: 7px; }
.ghost-button { min-width: 74px; border: 1px solid #ffffff24; border-radius: 999px; padding: 10px 14px; color: #fff; background: linear-gradient(180deg, #ffffff33, #ffffff18); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 1px #ffffff1a; backdrop-filter: blur(12px); }
.ghost-button:active, .primary-download:active, .secondary-download:active { transform: scale(.98); }
.safe-notice { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding: 13px 14px; border: 1px solid #ffffff1f; border-radius: 18px; background: linear-gradient(135deg, #ffffff20, #ffffff0d); box-shadow: inset 0 1px #ffffff12; }
.safe-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #5a85ee; color: white; font-weight: 800; }
.safe-notice b { display: block; font-size: 13px; }
.safe-notice p { margin: 4px 0 0; color: #b9c7e1; font-size: 11px; }
.web-access-wrap { margin: 14px 0 0; }
.web-access-button { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 1px solid #c7b7ff; border-radius: 15px; padding: 13px 16px; color: #fff; background: linear-gradient(115deg, #8958ed 0%, #6848cf 55%, #5742b9 100%); font-size: 14px; font-weight: 700; box-shadow: 0 8px 22px #5c43c966, inset 0 1px #ffffff45; }
.web-access-button:active { transform: scale(.98); }
.qa-chat { margin-top: 20px; padding: 20px 0; }
.qa-chat-title { margin: 0 0 16px; color: #eaf2ff; text-align: center; font-size: 20px; font-weight: 700; }
.qa-chat-list { display: flex; flex-direction: column; gap: 14px; }
.qa-msg { display: flex; align-items: flex-start; gap: 10px; animation: qaMsgIn .3s ease; }
.qa-msg.is-mine { flex-direction: row-reverse; }
.qa-avatar { flex: none; width: 40px; height: 40px; overflow: hidden; border-radius: 6px; background: linear-gradient(135deg, #e8ecf4, #d4dae8); }
.qa-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.qa-bubble { position: relative; max-width: 78%; padding: 14px 16px; border-radius: 18px; color: #1a1a2e; font-size: 15px; line-height: 1.5; }
.qa-msg:not(.is-mine) .qa-bubble { border-radius: 4px 18px 18px 18px; background: rgba(255,255,255,.32); box-shadow: 0 2px 12px rgba(0,0,0,.08); backdrop-filter: blur(10px); }
.qa-msg.is-mine .qa-bubble { border-radius: 18px 4px 18px 18px; background: #95ec69; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.qa-text { margin: 0; }
.qa-options { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.qa-option, .qa-download-button { width: 100%; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, rgba(248,255,108,.78), rgba(255,64,129,.72)); font-size: 16px; font-weight: 600; text-align: center; box-shadow: 0 8px 24px rgba(255,64,129,.18); }
.qa-option { padding: 12px 18px; }
.qa-option:active, .qa-download-button:active { transform: scale(.97); opacity: .9; }
.qa-download-wrap { margin-top: 24px; text-align: center; }
.qa-download-button { display: inline-block; width: auto; padding: 16px 48px; font-size: 18px; font-weight: 700; }
@keyframes qaMsgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.qa-chat[hidden], #downloadPage[hidden] { display: none !important; }
.download-hero { padding: 36px 0 24px; text-align: center; }
.app-logo-wrap { display: grid; place-items: center; width: 94px; height: 94px; margin: 0 auto 17px; padding: 5px; border-radius: 28px; background: linear-gradient(145deg, #ffffff4d, #ffffff0b); box-shadow: 0 18px 35px #07112666; }
.app-logo-wrap img { width: 84px; height: 84px; border-radius: 24px; object-fit: cover; }
.hero-kicker { margin: 0 0 8px; color: #aebde0; font-size: 12px; letter-spacing: .2em; }
.download-hero h1 { margin: 0; font-size: 29px; letter-spacing: .02em; line-height: 1.3; }
.hero-description { max-width: 340px; margin: 11px auto 0; color: #becae2; font-size: 13px; line-height: 1.7; }
.device-meta { display: flex; justify-content: center; gap: 9px; margin: 22px 0 20px; }
.meta-item { display: flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid #ffffff18; border-radius: 999px; background: #ffffff0d; color: #b9c7e1; font-size: 11px; }
.meta-item b { color: #eff4ff; font-weight: 600; }
.meta-icon { color: #9dbaff; font-size: 14px; }
.primary-download, .secondary-download { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 16px; padding: 15px 18px; text-align: left; transition: transform .16s ease, box-shadow .2s ease, filter .16s ease; }
.primary-download { color: #fff; background: linear-gradient(135deg, #6e9aff, #4f72e9); box-shadow: 0 12px 25px #4569d94d; }
.secondary-download { margin-top: 10px; color: #edf3ff; background: #ffffff12; border: 1px solid #ffffff22; }
.button-platform { font-size: 15px; font-weight: 700; }
.button-arrow { font-size: 22px; line-height: 1; }
.download-tip { min-height: 18px; margin: 13px 0 0; color: #93a7cf; font-size: 11px; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 13px 8px; border: 1px solid #ffffff18; border-radius: 18px; background: #ffffff0b; }
.feature-strip div { min-width: 0; text-align: center; }
.feature-strip span, .feature-strip b, .feature-strip small { display: block; }
.feature-strip span { color: #a6beff; font-size: 17px; }
.feature-strip b { margin-top: 4px; color: #eaf0ff; font-size: 12px; }
.feature-strip small { margin-top: 3px; color: #93a6c9; font-size: 10px; white-space: nowrap; }
.guide-section { margin-top: 29px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.eyebrow { color: #8097c7; font-size: 9px; letter-spacing: .18em; }
.section-heading h2 { margin: 5px 0 0; font-size: 20px; }
.text-button { border: 0; padding: 0 0 2px; color: #a9c0ff; background: transparent; font-size: 12px; }
.faq-card { margin-top: 9px; overflow: hidden; border: 1px solid #ffffff18; border-radius: 15px; background: #ffffff0c; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; padding: 15px 14px; color: #e9efff; background: transparent; text-align: left; font-size: 13px; }
.faq-question i { width: 8px; height: 8px; flex: 0 0 auto; border-right: 1px solid #a9b9db; border-bottom: 1px solid #a9b9db; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.faq-card.is-open .faq-question i { transform: rotate(225deg) translate(-1px, -1px); }
.faq-answer { padding: 0 14px 15px; color: #aab9d5; font-size: 12px; line-height: 1.7; }
.download-footer { padding: 28px 0 5px; color: #7f93bc; text-align: center; font-size: 11px; }
.download-status { margin: 10px 0 0; color: #ffd38a; text-align: center; font-size: 12px; }
@media (min-width: 700px) { .download-shell { padding-top: 34px; } .download-hero { padding-top: 55px; } }
@media (max-width: 380px) { .download-shell { padding-left: 14px; padding-right: 14px; } .download-actions { gap: 4px; } .ghost-button { min-width: 68px; padding-left: 9px; padding-right: 9px; } .download-hero h1 { font-size: 27px; } .feature-strip small { font-size: 9px; } }
