:root {
  --brand: #ffd000;
  --brand-deep: #f5c400;
  --brand-soft: #fff8d6;
  --ink: #141414;
  --ink-2: #4a4a4a;
  --ink-3: #8a8a8a;
  --line: #ececec;
  --bg: #fafafa;
  --radius: 20px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand small { font-weight: 500; font-size: 13px; color: var(--ink-3); margin-left: 2px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 9px 20px; border-radius: 999px;
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* ---------- 首屏 ---------- */
.hero {
  background: radial-gradient(1200px 500px at 85% 10%, #fff3b0 0%, rgba(255, 243, 176, 0) 60%),
              radial-gradient(900px 500px at 0% 100%, #e3f8f1 0%, rgba(227, 248, 241, 0) 60%),
              linear-gradient(180deg, #fffdf4 0%, #fff 100%);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-soft); color: #8a6a00; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
}
.hero h1 { font-size: 52px; line-height: 1.2; font-weight: 800; margin: 18px 0 16px; letter-spacing: 1px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--brand) 62%); }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-size: 16px; font-weight: 700;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--brand); color: var(--ink); box-shadow: 0 8px 20px rgba(245, 196, 0, 0.35); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn .ver { font-size: 12px; font-weight: 500; opacity: 0.7; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone { width: 290px; transform: rotate(-3deg); }
.hero-visual .phone.back { position: absolute; width: 250px; right: -10px; top: 60px; transform: rotate(6deg); opacity: 0.95; z-index: -1; }

.phone {
  border-radius: 34px; padding: 10px; background: #111;
  box-shadow: 0 30px 60px rgba(20, 20, 20, 0.18), 0 6px 14px rgba(20, 20, 20, 0.08);
}
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 476 / 1024; object-fit: cover; object-position: top; }

/* ---------- 数据条 ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; font-weight: 800; }
.stat span { font-size: 14px; color: var(--ink-3); }

/* ---------- 通用区块 ---------- */
section.block { padding: 96px 0; }
section.block.alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-head .eyebrow { font-size: 13px; letter-spacing: 3px; color: #b38b00; font-weight: 700; }
.sec-head h2 { font-size: 36px; font-weight: 800; margin: 8px 0 12px; }
.sec-head p { color: var(--ink-2); font-size: 16px; }

/* ---------- 功能卡片 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s ease, transform .2s ease;
}
.feature:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06); transform: translateY(-2px); }
.feature .ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-2); }
.feature ul { margin-top: 12px; list-style: none; font-size: 13.5px; color: var(--ink-3); }
.feature li::before { content: "·"; color: #c9a000; font-weight: 900; margin-right: 6px; }

/* ---------- 功能详解（图文交替） ---------- */
.spot { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.spot + .spot { margin-top: 96px; }
.spot.reverse .spot-media { order: 2; }
.spot-media { display: flex; justify-content: center; }
.spot-media .phone { width: 280px; }
.spot-text h3 { font-size: 30px; font-weight: 800; margin: 8px 0 14px; }
.spot-text > p { color: var(--ink-2); font-size: 16px; }
.spot-points { margin-top: 24px; display: grid; gap: 14px; }
.spot-points div { display: flex; gap: 12px; align-items: flex-start; }
.spot-points i {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand);
  display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; margin-top: 2px;
}
.spot-points b { display: block; font-size: 15.5px; }
.spot-points span { font-size: 14px; color: var(--ink-3); }

/* ---------- 截图墙 ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.gallery figure { text-align: center; }
.gallery .phone { padding: 6px; border-radius: 22px; }
.gallery .phone img { border-radius: 17px; }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-2); font-weight: 600; }

/* ---------- 下载 ---------- */
.download { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 22px; }
.dl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column;
}
.dl-card .os { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; }
.dl-card .os svg { width: 30px; height: 30px; }
.dl-card .ver-line { margin: 10px 0 6px; font-size: 14px; color: var(--ink-3); }
.dl-card .desc { font-size: 14px; color: var(--ink-2); flex: 1; }
.dl-card .btn { margin-top: 22px; justify-content: center; }
.dl-card.qr { align-items: center; text-align: center; background: var(--brand-soft); border-color: #f6e7a3; }
.dl-card.qr img { width: 168px; border-radius: 12px; background: #fff; padding: 8px; }
.dl-card.qr b { margin-top: 14px; font-size: 16px; }
.dl-card.qr span { font-size: 13px; color: var(--ink-3); }

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.about-text p { color: var(--ink-2); font-size: 15.5px; }
.about-text p + p { margin-top: 14px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.value b { font-size: 16px; }
.value p { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.contact-item .k { font-size: 13px; color: var(--ink-3); }
.contact-item .v { margin-top: 6px; font-size: 16px; font-weight: 700; word-break: break-all; }
.contact-item .v a:hover { text-decoration: underline; }

/* ---------- 页脚 ---------- */
footer { background: #141414; color: #bdbdbd; padding: 56px 0 32px; font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #2a2a2a; }
.foot-top .brand { color: #fff; }
.foot-top .brand-desc { margin-top: 14px; font-size: 13.5px; color: #8f8f8f; max-width: 320px; }
.foot-top h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot-top li { list-style: none; margin-bottom: 8px; }
.foot-top a:hover { color: #fff; }
.foot-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8f8f8f; }
.foot-bottom a:hover { color: #fff; }

/* ---------- 协议页 ---------- */
.doc { max-width: 860px; margin: 0 auto; padding: 56px 24px 96px; }
.doc h1 { font-size: 32px; font-weight: 800; }
.doc .doc-meta { margin: 10px 0 32px; font-size: 14px; color: var(--ink-3); }
.doc h2 { font-size: 20px; margin: 36px 0 12px; padding-left: 12px; border-left: 4px solid var(--brand); }
.doc h3 { font-size: 16px; margin: 20px 0 8px; }
.doc p, .doc li { font-size: 15px; color: var(--ink-2); }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 22px; margin: 8px 0; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--ink-2); }
.doc th { background: var(--bg); color: var(--ink); }
.doc .notice { background: var(--brand-soft); border-radius: 12px; padding: 16px 18px; margin-bottom: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .download { grid-template-columns: 1fr 1fr; }
  .dl-card.qr { grid-column: span 2; }
  .contact { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-visual .phone { width: 230px; }
  .hero-visual .phone.back { display: none; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  section.block { padding: 64px 0; }
  .sec-head h2 { font-size: 28px; }
  .features { grid-template-columns: 1fr; }
  .spot, .about { grid-template-columns: 1fr; gap: 32px; }
  .spot.reverse .spot-media { order: 0; }
  .spot-media .phone { width: 230px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .download { grid-template-columns: 1fr; }
  .dl-card.qr { grid-column: auto; }
  .values, .contact, .foot-top { grid-template-columns: 1fr; }
}
