﻿:root {
  --bg: #0a0f14;
  --bg2: #0d141b;
  --panel: #111a23;
  --panel2: #16212c;
  --line: #1e2b38;
  --text: #e8eef5;
  --muted: #8b9aab;
  --accent: #2dd4bf;
  --accent2: #22a89b;
  --glow: rgba(45, 212, 191, .22);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: min(1120px, 100% - 48px);
  margin: 0 auto;
}

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1120px) / 2));
  background: rgba(10, 15, 20, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: 17px;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(150deg, var(--accent), var(--accent2));
  box-shadow: 0 0 18px var(--glow);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px 8px 6px 8px;
  border-radius: 2px;
  background: #06251f;
  clip-path: polygon(50% 0, 100% 45%, 68% 45%, 68% 100%, 32% 100%, 32% 45%, 0 45%);
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { background: var(--panel2); border-color: #2b3d4e; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(150deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #06251f;
  box-shadow: 0 8px 30px var(--glow);
}
.btn-primary:hover { background: linear-gradient(150deg, #45e2cd, #26b3a4); }

.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
}

.hero-bg {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(600px 320px at 22% 30%, rgba(45, 212, 191, .18), transparent 70%),
    radial-gradient(520px 300px at 78% 12%, rgba(56, 130, 246, .14), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: .4px;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: 16.5px;
  margin: 0 0 28px;
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13.5px;
}
.hero-notes li { display: flex; align-items: center; gap: 7px; }
.hero-notes li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
}

/* ---------------- 手机样机 ---------------- */
.hero-art { position: relative; display: grid; place-items: center; }

.phone {
  position: relative;
  width: min(300px, 78%);
  aspect-ratio: 300 / 610;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(160deg, #1b2733, #0f161d);
  border: 1px solid #263544;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 76px; height: 6px;
  border-radius: 999px;
  background: #0a1016;
}

.phone-screen {
  height: 100%;
  border-radius: 30px;
  background: var(--bg);
  padding: 30px 12px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 4px;
  font-size: 14px;
  font-weight: 600;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

.phone .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 12px;
}
.phone .label { font-size: 10.5px; color: var(--muted); margin-bottom: 6px; }
.row-line {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--panel2); border: 1px solid var(--line);
  border-radius: 9px; padding: 9px 11px; font-size: 13px;
}
.row-line b { color: var(--muted); font-weight: 400; }

.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px;
  display: flex; flex-direction: column; gap: 2px;
}
.pick b { font-size: 12.5px; }
.pick small { font-size: 10px; color: var(--muted); }
.pick.accent {
  background: linear-gradient(150deg, #164e48, #12262b);
  border-color: #1f6a62;
}
.pick.accent small { color: #7fd8ce; }

.qitem {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 11px;
}
.qitem.done { border-color: #1e4d3a; }
.qrow { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.qrow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qrow small { color: var(--muted); font-size: 10.5px; flex: none; }
.bar { height: 4px; border-radius: 3px; background: #223040; margin: 7px 0 5px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.qitem.done .bar i { background: #4ade80; }
.qmeta { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.qmeta .ok { color: #4ade80; }

.glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  filter: blur(6px);
  z-index: -1;
}

/* ---------------- 数据条 ---------------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
  padding: 26px 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.strip-grid b { display: block; font-size: 22px; color: var(--accent); letter-spacing: -.5px; }
.strip-grid span { font-size: 13px; color: var(--muted); }

/* ---------------- 通用 section ---------------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -.6px;
}
.section-head p { margin: 0; color: var(--muted); }

/* ---------------- 功能卡 ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card-f {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .18s, border-color .18s, background .18s;
}
.card-f:hover {
  transform: translateY(-3px);
  border-color: #2b4a4a;
  background: var(--panel2);
}
.card-f h3 { margin: 14px 0 6px; font-size: 17px; }
.card-f p { margin: 0; color: var(--muted); font-size: 14.5px; }

.ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #164e48, #12262b);
  border: 1px solid #1f6a62;
  color: var(--accent);
}
.ico svg { width: 20px; height: 20px; }

/* ---------------- 步骤 ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.num {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(45, 212, 191, .12);
  border: 1px solid #1f6a62;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.step h3 { margin: 14px 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.flow pre {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius);
  background: #0b1218;
  border: 1px solid var(--line);
  color: #9fb3c8;
  font-size: 13px;
  line-height: 1.55;
  overflow-x: auto;
  font-family: Consolas, "Cascadia Mono", monospace;
}

/* ---------------- 隐私 ---------------- */
.privacy {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.privacy h2 { margin: 0 0 14px; font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.5px; }

.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; }
.ticks li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.privacy-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.node {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel2);
  font-size: 14px;
}
.node.big {
  border-color: #1f6a62;
  background: linear-gradient(150deg, #164e48, #12262b);
  color: var(--accent);
  font-weight: 700;
}
.node.ghost { opacity: .35; text-decoration: line-through; }
.line { width: 42px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); border-radius: 2px; }
.line.dim { background: linear-gradient(90deg, #3a4a58, transparent); }
.cross {
  position: absolute;
  right: 26px; bottom: 22px;
  color: #f16a6a;
  font-size: 20px;
}

/* ---------------- 下载 ---------------- */
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}
.dl {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .18s, border-color .18s, background .18s;
}
.dl:hover { transform: translateY(-2px); border-color: #2b4a4a; background: var(--panel2); }
.dl-ico {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #16212c; border: 1px solid var(--line);
  color: var(--text);
}
.dl-ico svg { width: 22px; height: 22px; }
.dl-main { display: flex; flex-direction: column; }
.dl-main b { font-size: 15.5px; }
.dl-main span { font-size: 12.5px; color: var(--muted); }
.dl-arrow { margin-left: auto; color: var(--accent); font-size: 18px; }

.fineprint { text-align: center; color: var(--muted); font-size: 13px; margin: 22px 0 0; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 16px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------------- 页脚 ---------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: var(--bg2);
}
.footer-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brand.small { font-size: 15px; }
.brand.small .brand-mark { width: 18px; height: 18px; border-radius: 6px; }
.footer-links { display: flex; gap: 20px; color: var(--muted); font-size: 13.5px; margin-left: auto; }
.footer-links a:hover { color: var(--text); }
.footer-note { color: var(--muted); font-size: 12.5px; }

/* ---------------- 动效 ---------------- */


/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .phone { width: min(260px, 70%); }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; gap: 30px; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .download-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .nav { padding: 12px 16px; }
  .hero { padding: 56px 0 44px; }
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .cta .btn { flex: 1; justify-content: center; }
  .footer-links { gap: 14px; font-size: 12.5px; }
}

/* 手机内的底部导航 */
.phone-screen { background: #0b1218; }
.tabbar-mini {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 8px 4px 2px;
  border-top: 1px solid var(--line);
}
.tabbar-mini .tab {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  font-size: 13px; color: var(--muted);
}
.tabbar-mini .tab span { font-size: 9px; }
.tabbar-mini .tab.on { color: var(--accent); }

/* 流程图 */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: #0b1218;
  border: 1px solid var(--line);
}
.fnode {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: center;
}
.fnode b { display: block; font-size: 15px; }
.fnode span { font-size: 12px; color: var(--muted); }
.fnode.accent {
  border-color: #1f6a62;
  background: linear-gradient(150deg, #164e48, #12262b);
}
.fnode.accent b { color: var(--accent); }
.farrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 96px;
}
.farrow i {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: relative;
}
.farrow i::after {
  content: "";
  position: absolute;
  right: 0; top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--accent);
}
.farrow em { font-style: normal; font-size: 11px; color: var(--muted); }

@media (max-width: 760px) {
  .farrow { min-width: 60px; transform: rotate(90deg); }
  .farrow em { font-size: 10px; }
  .fnode { min-width: 200px; }
}
