/* 首页各区块（docs/19 §3）。基础样式、按钮、顶栏页脚和按来源显示的规则在 site.css */

/* 首屏 */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.hero-decor { position: absolute; top: 0; left: 50%; width: 1440px; max-width: none; transform: translateX(-50%); pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 72px; padding-bottom: 64px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border: 1px solid var(--night-line-2); border-radius: 999px; background: #121838; color: #c9cde8; font-size: 13px; }
.hero-title { font-size: clamp(40px, 6vw, 72px); line-height: 1.15; font-weight: 700; letter-spacing: 0.06em; }
.hero-tagline { margin-top: -6px; color: var(--on-night); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; font-weight: 500; }
.hero-lead { max-width: 640px; color: var(--on-night-2); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.hero-actions .js-download { box-shadow: 0 10px 30px rgba(79, 70, 229, 0.35); }
.hero-meta { color: var(--on-night-3); font-size: 14px; }
.invite-chip { flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 12px 18px; border: 1px solid #6b5a2e; border-radius: 12px; background: #1a1b33; color: var(--on-night); font-size: 14px; }
.has-invite .invite-chip { display: inline-flex; }
.is-mobile .invite-chip, .is-wechat-mobile .invite-chip { display: none; }
.invite-chip strong { color: var(--gold); font: 600 17px var(--mono); letter-spacing: 0.12em; }
.invite-chip .muted { color: var(--on-night-2); }

/* 手机端：首屏里的"请在电脑端下载"卡片 */
.get-card { width: 100%; max-width: 420px; padding: 22px 20px; border-radius: 18px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 18px 44px rgba(11, 16, 38, 0.3); }
.get-head { display: flex; align-items: center; gap: 12px; }
.get-icon { flex: 0 0 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--primary-soft); color: var(--primary-text); }
.get-title { font-size: 17px; font-weight: 700; }
.get-sub { color: var(--muted); font-size: 13px; }
.get-text { margin: 14px 0; color: var(--muted); font-size: 14px; }
.get-link { overflow: hidden; height: 44px; margin-bottom: 12px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font: 13px/44px var(--mono); white-space: nowrap; text-overflow: ellipsis; }
.get-invite { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--gold-line); border-radius: 10px; background: var(--gold-soft); color: var(--gold-ink); font-size: 13px; }
.get-invite strong { font-family: var(--mono); letter-spacing: 0.1em; }
.get-tip { margin-top: 14px; padding-top: 14px; border-top: 1px solid #eceef5; color: var(--muted); font-size: 13px; }

/* 首屏下方的产品窗口：上半压在深色区，下半落在浅色区 */
.hero-shot { background: linear-gradient(var(--night) 0 58%, var(--bg) 58% 100%); }
.shot { width: 100%; border: 1px solid var(--night-line); border-radius: 14px; box-shadow: 0 40px 90px rgba(6, 9, 32, 0.45); }

/* 通用区块。锚点跳转时让出吸顶的顶栏 */
section[id] { scroll-margin-top: 76px; }
.section { padding-top: 96px; padding-bottom: 40px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.eyebrow { color: var(--primary-text); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.25; font-weight: 700; }
.lead { max-width: 620px; color: var(--muted); font-size: 17px; }

/* 事实条 */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; padding-top: 56px; text-align: center; }
.facts strong { display: block; font-size: 28px; }
.facts span { color: var(--muted); font-size: 14px; }

/* 全链路四个环节 */
.flow { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin-top: 44px; padding: 0; }
.flow li { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.flow-no, .stage-no { color: var(--primary-text); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.flow-name { margin-top: 6px; font-size: 20px; font-weight: 700; }
.flow-apps { margin-top: 4px; color: var(--muted); font-size: 14px; }
.flow-icons { display: flex; gap: 6px; margin-top: 14px; }

/* 软件图标：纯色圆角方块加白色线条（docs/10） */
.app-icon { flex: 0 0 auto; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 11px; }
.app-icon.sm { width: 28px; height: 28px; border-radius: 8px; }
.c-ai { background: var(--primary); }
.c-pod2d { background: #2563eb; }
.c-pod3d { background: #7c3aed; }
.c-dxm { background: #ea580c; }
.c-imgtool { background: #db2777; }
.c-caipian { background: #0f766e; }
.c-designer { background: #0891b2; }

/* 各环节的软件 */
.stage { padding-top: 40px; padding-bottom: 40px; }
.stage-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 20px; }
.stage-head span:last-child { color: var(--muted); font-size: 15px; }
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.feature-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feature-text .stage-head { margin-bottom: 0; }
.feature-media { flex: 1 1 460px; min-width: 0; }
.feature-media img { width: 100%; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 20px; }
.app-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.app-card > img { width: 100%; border-bottom: 1px solid var(--line); }
.app-body { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.app-title { display: flex; align-items: center; gap: 12px; }
.app-title h3 { font-size: 22px; }
.feature-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }
.tag-new { height: 22px; padding: 0 9px; border-radius: 999px; background: #1e2350; color: var(--gold); font-size: 12px; font-weight: 600; line-height: 22px; }
.app-claim { color: var(--ink-2); font-size: 16px; font-weight: 500; }
.app-points { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; color: var(--ink-2); font-size: 15px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 7px; border-left: 2.2px solid var(--primary); border-bottom: 2.2px solid var(--primary); transform: rotate(-45deg); }

/* 持续上新 */
.upcoming { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: var(--night-2); color: #fff; }
.upcoming-decor { position: absolute; left: -60px; bottom: -120px; pointer-events: none; }
.upcoming-text { position: relative; flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.upcoming-text .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #c9cde8; }
.upcoming-text p { max-width: 460px; color: var(--on-night-2); }
.upcoming-cards { position: relative; flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.soon { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--night-line-2); border-radius: 16px; background: var(--night-3); }
.soon.dashed { border: 1.5px dashed #3a427e; background: transparent; }
.soon-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.soon-tag { height: 24px; padding: 0 10px; border-radius: 999px; background: var(--night-line); color: #c9cde8; font-size: 12px; font-weight: 600; line-height: 24px; }
.soon h3 { font-size: 17px; }
.soon p { color: #a9aed3; font-size: 14px; }
.soon .app-icon.ghost { background: var(--night-3); color: #c9cde8; }

/* 平台能力 */
.band { margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.band .section { padding-bottom: 96px; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 36px 40px; margin-top: 48px; }
.perk { display: flex; gap: 16px; }
.perk-icon { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); }
.perk h3 { font-size: 17px; }
.perk p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* 定价 */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 48px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.plan-name { font-size: 17px; font-weight: 700; }
.plan-days { color: var(--muted-2); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price span { font-size: 20px; font-weight: 600; }
.price strong { font-size: 46px; line-height: 1; }
.plan-note { display: flex; align-items: center; min-height: 28px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.plan-note.offer { display: inline-flex; padding: 0 12px; border-radius: 999px; background: #fdf0d2; color: #7a4b00; font-size: 13px; font-weight: 600; }
.plan .checks { padding-top: 20px; border-top: 1px solid #eceef5; }
.plan.featured { border-color: var(--night-2); background: var(--night-2); color: #fff; box-shadow: 0 24px 60px rgba(20, 25, 56, 0.25); }
.plan.featured .plan-days { color: #a9aed3; }
.plan.featured .plan-note { color: var(--gold); }
.plan.featured .checks { border-color: var(--night-line-2); color: var(--on-night); }
.plan.featured .checks li::before { border-color: var(--gold); }
.badge { position: absolute; top: 24px; right: 24px; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--gold); color: #3a2700; font-size: 13px; font-weight: 700; line-height: 26px; }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 20px; }
.addon { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.addon h3 { font-size: 16px; }
.addon p { color: var(--muted); font-size: 14px; }
.addon .perk-icon { flex-basis: 40px; height: 40px; border-radius: 11px; }
.pricing-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; text-align: center; }
.fine { color: var(--muted-2); font-size: 13px; }

/* 常见问题 */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 0 48px; margin-top: 48px; }
.faq div { padding: 22px 0; border-top: 1px solid #e1e3ee; }
.faq dt { font-size: 17px; font-weight: 700; }
.faq dd { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* 渠道合作 */
.partner { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.partner .h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; }
.partner p { color: var(--muted); font-size: 15px; }

/* 收尾 */
.cta-final { position: relative; overflow: hidden; margin-top: 56px; background: var(--night); color: #fff; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 96px; padding-bottom: 96px; text-align: center; }
.cta-inner > p { color: var(--on-night-2); font-size: 17px; }
.cta-inner .hero-meta { font-size: 14px; }
.quick { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; width: 100%; max-width: 920px; margin-top: 20px; padding: 0; text-align: left; }
.quick li { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--night-line); border-radius: 14px; background: #121838; }
.quick b { color: var(--gold); font: 600 14px var(--mono); }
.quick strong { display: block; font-size: 16px; }
.quick span { display: block; margin-top: 2px; color: #a9aed3; font-size: 14px; }

/* 下载已开始（docs/19 §5） */
.started-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 72px; padding-bottom: 80px; text-align: center; }
.started-arrow { position: absolute; top: 12px; right: 24px; display: flex; gap: 8px; color: var(--primary-text); font-size: 14px; font-weight: 600; }
.started-arrow span { margin-top: 52px; }
.started-icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 20px; background: var(--primary); color: #fff; box-shadow: 0 14px 34px rgba(79, 70, 229, 0.3); }
.started h1 { margin-top: 8px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; }
.file-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 14px; }
.started-retry { color: var(--muted); font-size: 15px; }
.started-retry a { font-weight: 600; }
.invite-note { padding: 12px 18px; border: 1px solid var(--gold-line); border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); font-size: 14px; }
.invite-note strong { font-family: var(--mono); letter-spacing: 0.12em; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; width: 100%; margin-top: 24px; padding: 0; text-align: left; }
.steps li { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.steps img { width: 100%; }
.steps div { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 26px; }
.steps h2 { font-size: 18px; }
.steps p { color: var(--muted); font-size: 15px; }
.steps .stage-no { color: var(--primary-text); font-size: 13px; }
.started-back { margin-top: 16px; font-size: 15px; }

@media (max-width: 880px) {
  .started-arrow { display: none; }
}

@media (max-width: 560px) {
  .hero-inner { padding-top: 40px; padding-bottom: 40px; gap: 14px; }
  .section { padding-top: 64px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; }
  .facts strong { font-size: 20px; }
  .feature, .app-body { gap: 20px; }
  .app-body { padding: 22px; }
  .plan { padding: 24px; }
}
