/* 首页、使用说明页 */

/* ---------- 顶栏 ---------- */
.site-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.scrolled { border-bottom-color: var(--border); }
.site-nav .container { display: flex; align-items: center; height: 68px; gap: 32px; }
.site-nav nav { display: flex; gap: 2px; }
.site-nav nav a { color: var(--muted); font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.site-nav nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 860px) { .site-nav nav { display: none; } }
@media (max-width: 520px) { .site-nav .actions .btn.ghost { display: none; } }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 96px 0 40px; text-align: center; overflow: hidden; }
.hero::before { /* 背景：淡淡的网格，四周渐隐 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .6;
}
.hero::after { /* 背景：顶部一抹强调色的光 */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-soft), transparent); filter: blur(10px);
}
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 6px; border: 1px solid var(--border); background: var(--surface);
  border-radius: 99px; font-size: 13px; color: var(--text-2); box-shadow: var(--shadow-sm); transition: border-color .15s; }
.pill:hover { border-color: var(--border-strong); }
.pill b { background: var(--accent-soft); color: var(--accent-strong); padding: 1px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; margin: 28px auto 0; max-width: 14em; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin: 24px auto 0; max-width: 34em; line-height: 1.7; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero .meta { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 28px; color: var(--faint); font-size: 13.5px; }
.hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero .meta svg { color: var(--accent); }

/* 首屏下方的产品示意：手机收到短信 → 同时出现在四个地方 */
.showcase { position: relative; margin: 72px auto 0; max-width: 1040px; padding: 0 24px; }
.stage { position: relative; border: 1px solid var(--border); border-radius: 28px; background: var(--bg-soft); box-shadow: var(--shadow-lg);
  padding: 56px 56px; display: grid; grid-template-columns: 1fr auto 1.15fr; align-items: center; gap: 0; text-align: left; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, var(--accent-soft), transparent 45%); pointer-events: none; }

.phone { position: relative; justify-self: center; width: 250px; height: 500px; border-radius: 44px; padding: 11px;
  background: linear-gradient(145deg, #2a2a2e, #0e0e10); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), inset 0 0 0 1.5px #3a3a3f; }
.phone .screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #f4f4f6; padding: 54px 12px 12px; }
.phone .island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #0b0b0c; border-radius: 14px; }
.phone .clock { position: absolute; top: 14px; left: 26px; font-size: 12px; font-weight: 650; color: #0b0b0c; }
.phone .date { text-align: center; color: #0b0b0c; margin: 18px 0 22px; }
.phone .date b { display: block; font-size: 50px; font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.phone .date span { font-size: 12px; color: #55555c; }
.notif { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-radius: 18px; padding: 11px 12px; color: #0b0b0c;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.18); font-size: 12px; line-height: 1.45; animation: drop .7s var(--ease) both .3s; }
.notif .head { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #6b6b74; margin-bottom: 4px; }
.notif .head i { width: 18px; height: 18px; border-radius: 5px; background: #34c759; display: grid; place-items: center; color: #fff; font-style: normal; }
.notif .head em { margin-left: auto; font-style: normal; }
.notif b { font-weight: 600; }
.notif mark { background: none; color: #0b9b74; font-weight: 700; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

.wire { position: relative; width: 120px; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px); }
.wire::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft); animation: travel 2.4s var(--ease) infinite 1s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

.dest { display: grid; gap: 12px; position: relative; }
.dest-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow); animation: slide .6s var(--ease) both; }
.dest-item:nth-child(1) { animation-delay: 1.1s; } .dest-item:nth-child(2) { animation-delay: 1.25s; }
.dest-item:nth-child(3) { animation-delay: 1.4s; } .dest-item:nth-child(4) { animation-delay: 1.55s; }
@keyframes slide { from { opacity: 0; transform: translateX(-12px); } }
.dest-item .app { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.dest-item .txt { min-width: 0; flex: 1; }
.dest-item b { display: block; font-size: 14px; font-weight: 600; }
.dest-item small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest-item small code { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 650; font-size: 13px; }
.dest-item .time { color: var(--faint); font-size: 12px; flex: none; }

/* 各渠道的图标底色：浅色底 + 同色图标，克制但认得出 */
.app.mail { background: #e8f0fe; color: #2563eb; }
.app.wx { background: #e7f8ee; color: #16a34a; }
.app.tg { background: #e6f4fc; color: #0284c7; }
.app.wa { background: #e6f8ef; color: #059669; }
@media (prefers-color-scheme: dark) {
  .app.mail { background: rgba(59,130,246,.14); color: #60a5fa; }
  .app.wx { background: rgba(34,197,94,.14); color: #4ade80; }
  .app.tg { background: rgba(14,165,233,.14); color: #38bdf8; }
  .app.wa { background: rgba(16,185,129,.14); color: #34d399; }
}

@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; padding: 40px 20px; gap: 28px; }
  .wire { width: 2px; height: 48px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--border-strong) 0 6px, transparent 6px 12px); }
  .wire::after { left: -3px; animation-name: travel-v; }
  @keyframes travel-v { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
  .phone { width: 220px; height: 440px; }
}

.supported { margin-top: 56px; text-align: center; }
.supported p { color: var(--faint); font-size: 13px; letter-spacing: .02em; }
.supported ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 0; margin: 18px 0 0; }
.supported li { color: var(--muted); font-weight: 600; font-size: 16px; letter-spacing: -.01em; opacity: .85; }

/* ---------- 区块 ---------- */
section.block { padding: 128px 0; }
section.block.tight { padding-top: 64px; }
section.block.soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .04em; margin-bottom: 14px; }
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.15; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 16px; line-height: 1.7; }

/* 三步 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.step { padding: 36px 36px 8px 0; position: relative; }
.step + .step { padding-left: 36px; border-left: 1px solid var(--border); }
.step .num { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .04em; }
.step h3 { font-size: 22px; margin: 18px 0 10px; }
.step p { color: var(--muted); line-height: 1.75; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--border); }
}

/* 渠道 */
.channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.channel { padding: 32px; border-radius: var(--radius-xl); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.channel:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.channel .top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.channel .app { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.channel h3 { font-size: 20px; }
.channel p { color: var(--muted); line-height: 1.75; }
.channel .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.channel .tags span { font-size: 12.5px; color: var(--text-2); padding: 3px 10px; border-radius: 99px; background: var(--surface-2); }
@media (max-width: 760px) { .channels { grid-template-columns: 1fr; } }

/* 安卓 / iPhone */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.platform { padding: 40px; border-radius: var(--radius-xl); display: flex; flex-direction: column; }
.platform .icon { width: 52px; height: 52px; border-radius: 15px; background: var(--surface-2); display: grid; place-items: center; margin-bottom: 24px; }
.platform h3 { font-size: 24px; }
.platform .sub { color: var(--muted); margin-top: 6px; }
.platform ol { list-style: none; counter-reset: s; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.platform ol li { counter-increment: s; display: flex; gap: 14px; color: var(--text-2); line-height: 1.6; }
.platform ol li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 1px; }
.platform .note { font-size: 13.5px; color: var(--muted); line-height: 1.7; padding-top: 20px; border-top: 1px solid var(--border); margin-top: auto; }
.platform .foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 820px) { .platform-grid { grid-template-columns: 1fr; } .platform { padding: 28px; } }

/* 放心使用 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 56px; }
.feature .icon { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; color: var(--text); margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.feature h4 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); line-height: 1.75; font-size: 14.5px; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr 1fr; gap: 36px 28px; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* 常见问题 */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 108px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; line-height: 1.8; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } .faq-wrap .section-head { position: static; } }

/* 收尾 */
.cta-band { padding: 0 0 120px; }
.cta-panel { position: relative; overflow: hidden; border-radius: 32px; padding: 96px 32px; text-align: center; background: var(--primary); color: var(--on-primary); }
.cta-panel::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, rgba(61, 220, 159, .28), transparent); pointer-events: none; }
.cta-panel h2 { position: relative; font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.04em; }
.cta-panel p { position: relative; opacity: .7; font-size: 17px; margin: 16px 0 36px; }
.cta-panel .btn { position: relative; background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
.cta-panel .btn:hover { opacity: .9; background: var(--on-primary); }

footer.site { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--faint); font-size: 13.5px; }
footer.site .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer.site .links { display: flex; gap: 24px; }
footer.site a { color: var(--muted); transition: color .15s; }
footer.site a:hover { color: var(--text); }

/* ---------- 使用说明页 ---------- */
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; padding-top: 56px; padding-bottom: 120px; }
.guide aside { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 1px; }
.guide aside a { color: var(--muted); padding: 6px 12px; border-radius: 8px; font-size: 14px; transition: color .15s, background .15s; }
.guide aside a:hover { background: var(--surface-2); color: var(--text); }
.guide aside .group { font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: .04em; margin: 22px 12px 6px; }
.guide aside .group:first-child { margin-top: 0; }
.guide article { max-width: 720px; }
.guide article h1 { font-size: 44px; letter-spacing: -.04em; font-weight: 700; margin-bottom: 18px; }
.guide article h2 { font-size: 28px; margin: 72px 0 16px; padding-top: 8px; scroll-margin-top: 96px; letter-spacing: -.03em; }
.guide article h3 { font-size: 19px; margin: 36px 0 12px; scroll-margin-top: 96px; }
.guide article p, .guide article li { color: var(--text-2); line-height: 1.85; }
.guide article p { margin: 12px 0; }
.guide article li { margin: 8px 0; }
.guide article ol, .guide article ul { padding-left: 22px; }
.guide article li b, .guide article p b { color: var(--text); font-weight: 600; }
.guide article a { color: var(--accent); }
.guide article a:hover { text-decoration: underline; }
.guide article .notice { margin: 20px 0; }
.guide article table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0; font-size: 14px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.guide article th, .guide article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.65; }
.guide article tr:last-child td { border-bottom: 0; }
.guide article th { color: var(--text); background: var(--bg-soft); font-weight: 600; }
.guide article td { color: var(--text-2); }
.guide pre { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.7; }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; gap: 0; padding-top: 32px; } .guide aside { display: none; } .guide article h1 { font-size: 34px; } }
