/* 私密加密相册 · 官网样式（对齐 App 紫渐变品牌） */
:root {
  --brand: #7c3aed;
  --brand-2: #a78bfa;
  --brand-deep: #5b21b6;
  --ink: #1f1b2e;
  --ink-2: #55506b;
  --ink-3: #8b85a0;
  --bg: #faf9fd;
  --card: #ffffff;
  --line: #ece8f6;
  --ok: #10b981;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* 导航 */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 249, 253, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; gap: 22px; height: 56px; }
nav .logo { font-weight: 700; color: var(--brand-deep); display: flex; align-items: center; gap: 8px; }
nav .logo svg { width: 22px; height: 22px; }
nav a.item { color: var(--ink-2); font-size: 14.5px; }
nav a.item:hover { color: var(--brand); text-decoration: none; }
nav .spacer { flex: 1; }
nav .cta {
  background: var(--brand); color: #fff; padding: 7px 16px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
}
nav .cta:hover { text-decoration: none; background: var(--brand-deep); }

/* Hero */
.hero { text-align: center; padding: 84px 0 64px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f1ebfe; color: var(--brand-deep);
  font-size: 13px; font-weight: 600;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 5.5vw, 46px); line-height: 1.28;
  letter-spacing: -0.5px; margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 17px; color: var(--ink-2); max-width: 620px; margin: 0 auto 30px;
}
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; transition: 0.15s;
}
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-deep); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--brand-deep); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--brand-2); text-decoration: none; }

.hero .pillbar {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px; color: var(--ink-2); font-size: 13.5px;
}
.pillbar .pill {
  background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
}

/* 区块 */
section { padding: 58px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2.sec {
  font-size: clamp(23px, 3.6vw, 30px); letter-spacing: -0.4px;
  text-align: center; margin-bottom: 10px;
}
p.sec-sub { text-align: center; color: var(--ink-3); margin-bottom: 40px; font-size: 15px; }

/* 功能卡 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 21px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-2); }

/* 隐私承诺 */
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.promise .card .ico { background: linear-gradient(135deg, #10b981, #34d399); }

/* 价格 */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 760px; margin: 0 auto; }
.plan {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; text-align: center;
}
.plan.hot { border-color: var(--brand-2); box-shadow: 0 10px 34px rgba(124, 58, 237, 0.12); position: relative; }
.plan .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 600;
  padding: 3px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 16px; color: var(--ink-2); }
.plan .price { font-size: 32px; font-weight: 800; margin: 8px 0 2px; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.plan .note { font-size: 12.5px; color: var(--ink-3); margin-bottom: 18px; }
.plan ul { list-style: none; text-align: left; font-size: 14px; color: var(--ink-2); }
.plan ul li { padding: 6px 0 6px 26px; position: relative; }
.plan ul li::before {
  content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 700;
}

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 22px; margin-bottom: 12px;
}
details summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details summary::after { content: "+"; color: var(--brand); font-size: 20px; }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  border-radius: 24px; color: #fff; text-align: center; padding: 56px 26px;
}
.cta-band h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 26px; font-size: 15px; }
.cta-band .btn { background: #fff; color: var(--brand-deep); }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--ink-3); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--ink-2); }

/* 隐私/支持页正文 */
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px clamp(22px, 5vw, 56px); }
.doc h1 { font-size: 28px; margin-bottom: 4px; }
.doc .updated { color: var(--ink-3); font-size: 13.5px; margin-bottom: 30px; }
.doc h2 { font-size: 19px; margin: 32px 0 10px; color: var(--brand-deep); }
.doc h3 { font-size: 15.5px; margin: 20px 0 6px; }
.doc p, .doc li { font-size: 15px; color: var(--ink-2); }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 5px 0; }
.doc .callout {
  background: #f6f2fe; border-left: 4px solid var(--brand-2);
  border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: 14.5px;
}

@media (max-width: 560px) {
  nav a.item { display: none; }
  .hero { padding: 56px 0 44px; }
}
