:root {
  --orange: #ef6549;
  --orange-dark: #df5036;
  --ink: #243449;
  --muted: #788395;
  --line: #edf0f4;
  --paper: #fff;
  --tint: #fff6f3;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.hero { position: relative; overflow: hidden; min-height: 610px; background: linear-gradient(118deg, #fff8f5 0%, #fff 57%, #fff9f7 100%); }
.hero::after { content: ""; position: absolute; width: 720px; height: 720px; right: -290px; top: -250px; border-radius: 50%; background: #fff0eb; }
.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: .5px; }
.brand img { width: 39px; height: 39px; border-radius: 11px; object-fit: cover; box-shadow: 0 5px 14px #df65462d; }
.nav-link { color: #58667a; text-decoration: none; font-size: 14px; }
.nav-link:hover { color: var(--orange); }

.hero-content { min-height: 526px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.hero-copy { width: 53%; padding-bottom: 48px; }
.eyebrow { margin: 0 0 13px; color: var(--orange); font-size: 12px; letter-spacing: 1.7px; font-weight: 700; }
h1 { margin: 0; font-size: clamp(36px, 4vw, 55px); letter-spacing: -1.4px; line-height: 1.25; }
.intro { max-width: 420px; margin: 24px 0 31px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.primary { min-width: 160px; padding: 13px 21px; border-radius: 9px; color: #fff; background: var(--orange); box-shadow: 0 10px 20px #ef65493b; font-size: 15px; }
.primary:hover { background: var(--orange-dark); }
.button-icon { font-size: 21px; line-height: 15px; }

.hero-art { width: 410px; height: 470px; position: relative; margin-right: 34px; }
.halo { position: absolute; border-radius: 50%; }
.halo-one { width: 350px; height: 350px; top: 51px; left: 29px; background: #ffe9e2; }
.halo-two { width: 280px; height: 280px; top: 86px; left: 64px; border: 1px solid #ffd8cd; background: #fff7f4aa; }
.phone { position: absolute; width: 218px; height: 432px; left: 94px; top: 18px; padding: 43px 15px 17px; border: 8px solid #263246; border-radius: 35px; background: #fbfcff; box-shadow: 0 23px 45px #626b7a35; }
.phone-top { width: 62px; height: 7px; position: absolute; top: 13px; left: calc(50% - 31px); border-radius: 8px; background: #263246; }
.phone-bottom { position: absolute; width: 74px; height: 4px; bottom: 9px; left: calc(50% - 37px); border-radius: 9px; background: #263246; }
.message { display: flex; align-items: center; gap: 7px; width: fit-content; max-width: 165px; margin: 16px 0; padding: 10px; border-radius: 12px; font-size: 10px; line-height: 1.35; box-shadow: 0 3px 10px #65718612; }
.message-left { background: #fff; color: #647086; border-top-left-radius: 3px; }
.message-right { margin-left: auto; background: #ffddcf; color: #9a4d3a; border-top-right-radius: 3px; }
.message.small { margin-top: 38px; }
.message i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: url('assets/logo.jpg') center / cover; }
.float-card { position: absolute; display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 12px 28px #48526224; color: var(--orange); font-size: 16px; }
.float-card span { color: #657084; font-size: 12px; white-space: nowrap; }
.card-call { top: 95px; right: -11px; }
.card-safe { bottom: 67px; left: 0; }

.downloads { padding: 103px 0 80px; }
.section-heading { text-align: center; margin-bottom: 39px; }
.section-heading h2 { margin: 0; font-size: 30px; letter-spacing: -.4px; }
.section-heading > p:last-child { margin: 13px 0 0; color: var(--muted); font-size: 14px; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.download-card { min-height: 136px; display: flex; align-items: center; padding: 23px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.download-card:hover { transform: translateY(-3px); border-color: #f6d8d0; box-shadow: 0 13px 30px #3141530c; }
.platform-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; margin-right: 16px; border-radius: 13px; font-size: 25px; font-weight: 700; }
.platform-icon.android { color: #50a848; background: #eff9ec; }
.platform-icon.ios { color: #33435a; background: #eef2f8; }
.platform-icon.windows { color: #2589df; background: #edf7ff; }
.platform-icon.macos { color: #656f80; background: #f1f2f4; }
.platform-icon.linux { color: #ef944a; background: #fff4e9; }
.platform-icon.web { color: var(--orange); background: #fff0eb; }
.card-content { min-width: 0; flex: 1; }
.card-title-row { display: flex; gap: 8px; align-items: center; }
.card-title-row h3 { margin: 0; font-size: 17px; }
.version { padding: 2px 7px; border-radius: 99px; color: #738095; background: #f4f6f9; font-size: 11px; white-space: nowrap; }
.platform-description, .file-name { margin: 7px 0 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.file-name { margin-top: 4px; color: #a0a8b5; font-family: Consolas, monospace; font-size: 10px; }
.card-button { flex: none; min-width: 74px; margin-left: 12px; padding: 9px 11px; border: 1px solid #f1d3cb; border-radius: 8px; color: var(--orange); background: #fff; font-size: 13px; }
.card-button:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.card-button b { font-size: 16px; font-weight: 400; }
.card-button.disabled { pointer-events: none; color: #aeb5c0; border-color: #e8ebef; background: #f8f9fb; }

.tips { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 90px; padding: 20px 24px; border-radius: 12px; background: var(--tint); }
.tip-icon { display: grid; place-items: center; flex: none; width: 23px; height: 23px; border-radius: 50%; color: var(--orange); border: 1px solid #ee9b89; font-size: 13px; font-weight: 700; }
.tips h3 { margin: 1px 0 7px; font-size: 14px; }
.tips p { margin: 0; color: #788395; font-size: 13px; line-height: 1.75; }
footer { border-top: 1px solid #f0f1f3; color: #9aa3b0; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; padding: 25px 0; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 520px); }
  .hero { min-height: auto; }
  .hero-content { min-height: 0; display: block; padding: 66px 0 50px; }
  .hero-copy { width: 100%; padding: 0; text-align: center; }
  .intro { margin: 18px auto 26px; font-size: 14px; }
  .hero-art { display: none; }
  .downloads { padding: 66px 0 48px; }
  .download-grid { grid-template-columns: 1fr; gap: 12px; }
  .download-card { min-height: 115px; padding: 18px 14px; }
  .platform-icon { width: 42px; height: 42px; margin-right: 11px; font-size: 21px; }
  .card-title-row h3 { font-size: 15px; }
  .card-button { min-width: 58px; margin-left: 8px; padding: 8px; }
  .card-button span { display: none; }
  .tips { margin-bottom: 55px; padding: 16px; }
}
