/* 记录者 官网样式 */

:root {
  --ink: #0b1f1e;          /* 主背景（取自照片暗部） */
  --ink-2: #102b2b;        /* 次级背景 */
  --accent: #e4b309;       /* 品牌黄 */
  --accent-soft: rgba(228, 179, 9, .14);
  --text: #eaf3f1;
  --muted: rgba(234, 243, 241, .68);
  --line: rgba(255, 255, 255, .14);
  --surface: rgba(255, 255, 255, .06);
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 30, .72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: 17px;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  color: var(--muted);
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--accent);
  color: #1a1200;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
}
.nav-cta:hover { filter: brightness(1.08); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: clamp(460px, 64vh, 620px);
  display: flex;
  align-items: center;
  background-image: url("../img/hero-wide.jpg");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 30, .55) 0%, rgba(11, 31, 30, .38) 45%, var(--ink) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px 24px 64px;
  text-align: center;
}
.hero-logo {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  margin: 0 auto 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 52px);
  letter-spacing: .22em;
  font-weight: 600;
  text-indent: .22em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}
.hero .slogan {
  margin: 12px 0 0;
  font-size: clamp(15px, 2.2vw, 19px);
  color: rgba(255, 255, 255, .92);
  letter-spacing: .12em;
}
.hero .desc {
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.9;
}
.hero-meta {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* 按钮 */
.btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 168px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-android {
  background: var(--accent);
  color: #1a1200;
  box-shadow: 0 10px 26px rgba(228, 179, 9, .28);
}
.btn-ios {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn-ios:hover { background: rgba(255, 255, 255, .16); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- 通用区块 ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  letter-spacing: .06em;
}
.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 下载 ---------- */
.download { background: var(--ink); }
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.card-top .plat { font-size: 19px; font-weight: 600; }
.card-top .req { font-size: 13px; color: var(--muted); }
.kv {
  display: grid;
  grid-template-columns: 84px 1fr;
  row-gap: 8px;
  column-gap: 14px;
  font-size: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kv dt { color: var(--muted); margin: 0; }
.kv dd { margin: 0; word-break: break-all; }
.card .btn { width: 100%; margin-top: 18px; }
.note {
  margin-top: 22px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}

/* ---------- 功能 ---------- */
.features { background: var(--ink-2); }
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feat {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.feat .dot {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 14px;
}
.feat h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.feat p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 34px;
  background: var(--ink);
  font-size: 14px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.9;
}

/* ---------- 文档页 ---------- */
.doc { padding: 64px 0 76px; }
.doc h1 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 6px; letter-spacing: .04em; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}
.doc p, .doc li { color: rgba(234, 243, 241, .86); font-size: 15px; line-height: 1.95; }
.doc ul { padding-left: 22px; }
.doc .lead {
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.back { display: inline-block; margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.back:hover { color: var(--accent); }

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .hero {
    background-image: url("../img/hero-tall.jpg");
    background-position: center 30%;
    min-height: 82vh;
  }
  .hero-inner { padding: 56px 20px 48px; }
  .cards, .grid4 { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  section { padding: 54px 0; }
  .nav-inner { gap: 12px; }
}
