:root {
  --red: #d9363e;      /* 幸策红，与 App 顶栏一致 */
  --up: #e0201c;       /* A股：涨 */
  --down: #0e8a4f;     /* A股：跌 */
  --ink: #182230;
  --muted: #5d6878;
  --bg: #ffffff;
  --wash: #f3f5f8;
  --line: #e3e7ed;
  --phone: #1c2431;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e6eaf0; --muted: #9aa5b4; --bg: #10151d; --wash: #171e29; --line: #263041; --phone: #05080c; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; display: block; }

/* 顶栏 */
.top { max-width: 1120px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { border-radius: 9px; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }

/* 首屏 */
.hero { position: relative; max-width: 1120px; margin: 0 auto; padding: 40px 24px 150px;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; overflow: hidden; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 22px; }
.hero-text > p { color: var(--muted); font-size: 18px; max-width: 30em; margin: 0 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-text > .hint { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.phones { position: relative; height: 560px; }
.phone { margin: 0; width: 280px; border-radius: 34px; padding: 9px; background: var(--phone);
  box-shadow: 0 30px 60px -28px rgba(16, 24, 40, .45); }
.phone img { width: 100%; height: auto; border-radius: 26px; }
.phones .phone { position: absolute; }
.phones .back { right: 210px; top: 40px; transform: rotate(-6deg); width: 250px; opacity: .92; }
.phones .front { right: 20px; top: 0; transform: rotate(3deg); }

/* 首屏底部的K线带：一次性生长动画 */
.tape { position: absolute; left: 24px; right: 24px; bottom: 10px; width: calc(100% - 48px); height: 130px; opacity: .7; }
.tape line { stroke-width: 1.2; }
.tape .up line { stroke: var(--up); } .tape .up rect { fill: var(--bg); stroke: var(--up); stroke-width: 1.2; }
.tape .down line { stroke: var(--down); } .tape .down rect { fill: var(--down); }
.tape g { transform-box: fill-box; transform-origin: center bottom; animation: grow .5s ease-out both; animation-delay: calc(var(--i) * 18ms); }
@keyframes grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* 功能 */
#features { border-top: 1px solid var(--line); }
.row { max-width: 1040px; margin: 0 auto; padding: 88px 24px; display: grid; grid-template-columns: 1fr 300px; gap: 72px; align-items: center; }
.row + .row { border-top: 1px solid var(--line); }
.row.flip { grid-template-columns: 300px 1fr; }
.row.flip .copy { order: 2; }
.row .phone { width: 300px; }
.row h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 16px; }
.row p { color: var(--muted); max-width: 32em; margin: 0 0 16px; }
.row ul { margin: 0; padding: 0; list-style: none; }
.row li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; }
.row li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }

/* 下载 */
.download { background: var(--wash); padding: 88px 24px; text-align: center; }
.download h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 10px; }
.download > p { color: var(--muted); margin: 0 auto 36px; max-width: 34em; }
.stores { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.store { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 28px 30px; width: 290px; text-align: left; }
.store h3 { margin: 0 0 4px; font-size: 22px; }
.store p { margin: 0 0 20px; color: var(--muted); font-size: 15px; min-height: 3.4em; }

/* 合规提示 + 页脚 */
.notice { max-width: 880px; margin: 48px auto 0; padding: 0 24px; color: var(--muted); font-size: 13px; text-align: center; }
footer { max-width: 880px; margin: 0 auto; padding: 20px 24px 40px; text-align: center; color: var(--muted); font-size: 13px; }
footer p { margin: 4px 0; }
footer a { margin: 0 8px; color: var(--muted); }

/* 协议、隐私政策页面（沿用旧版结构） */
header:not(.top), main.doc, .doc { max-width: 880px; margin: 0 auto; padding: 0 20px; }
header:not(.top) { display: flex; align-items: center; gap: 12px; padding-top: 28px; }
header:not(.top) img { width: 48px; height: 48px; border-radius: 12px; }
header:not(.top) b { font-size: 22px; } header:not(.top) span { color: var(--muted); font-size: 14px; }
.doc h1 { font-size: 24px; } .doc h2 { font-size: 17px; margin-top: 22px; } .doc p { font-size: 15px; } .doc a { color: var(--red); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 130px; gap: 24px; }
  .phones { height: 420px; }
  .phones .front { right: auto; left: 50%; margin-left: -60px; width: 240px; }
  .phones .back { right: auto; left: 50%; margin-left: -190px; width: 210px; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 36px; padding: 64px 24px; justify-items: center; }
  .row.flip .copy { order: 0; }
  .row .copy { justify-self: stretch; }
  .row .phone { width: 260px; }
  .top nav { gap: 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape g { animation: none; }
}

.about{max-width:760px;margin:0 auto;padding:32px 20px;line-height:1.8}
.about h2{margin:0 0 12px}
.about p{margin:6px 0;color:#475569;word-break:break-word}
