/* 官网首页（/）专用样式。
   站点外壳（header/footer/shell）在 style.css，这里只管首页的版块。 */

.landing { display: block; }

/* ---------- 通用版块 ---------- */
.lp-section {
  padding: 76px 0;
  background: var(--bg);
}
.lp-section--tight { padding: 56px 0; }
.lp-section--alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lp-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}

.lp-h2 {
  margin: 0 0 40px;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -.01em;
}

.lp-grad {
  background: linear-gradient(96deg, var(--brand), #4d8cff 60%, #7aa9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-footnote {
  margin: 32px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 760px;
}
.lp-footnote strong { color: var(--text); }

/* ---------- 首屏 ---------- */
.lp-hero {
  position: relative;
  padding: 76px 0 68px;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(11, 95, 255, .14), transparent 70%),
    radial-gradient(700px 380px at 92% 8%, rgba(77, 140, 255, .12), transparent 72%),
    var(--bg);
  overflow: hidden;
}
.lp-badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(11, 95, 255, .18);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}
.lp-h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -.02em;
}
.lp-lead {
  margin: 0 0 30px;
  max-width: 660px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--text-muted);
}
.lp-lead strong { color: var(--text); }

.lp-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.lp-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.lp-btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 95, 255, .24);
}
.lp-btn--primary:hover { background: var(--brand-strong); transform: translateY(-1px); }
.lp-btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.lp-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.lp-btn--lg { padding: 15px 34px; font-size: 16px; }
.lp-actions--center { justify-content: center; }

.lp-note {
  margin: 26px 0 0;
  max-width: 620px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- 首屏视频 ---------- */
.lp-video {
  position: relative;
  margin: 40px 0 0;
  max-width: 940px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #050b1a;
  border: 1px solid rgba(11, 95, 255, .18);
  box-shadow: 0 18px 48px rgba(11, 95, 255, .16);
}
.lp-video-el { display: block; width: 100%; height: 100%; object-fit: cover; }

.lp-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 11, 26, .40), rgba(5, 11, 26, .62));
  transition: opacity .25s, visibility .25s;
}
.lp-video.is-playing .lp-video-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lp-play-icon {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 10px 30px rgba(11, 95, 255, .45);
  transition: transform .18s, background-color .18s;
}
.lp-play-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-36%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent #fff;
}
.lp-video-play:hover .lp-play-icon { transform: scale(1.06); background: var(--brand-strong); }
/* 封面帧内容随机，文案压在自己的暗色胶囊上，保证任何海报都读得清 */
.lp-play-text {
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(5, 11, 26, .68);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(4px);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- 输码卡片 ---------- */
.lookup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}
.lookup-card h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: .01em; }
.lookup-card p { margin: 0 0 20px; color: var(--text-muted); font-size: 14px; }

.lookup-form { display: flex; flex-wrap: wrap; gap: 12px; }
.lookup-form input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 13px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
}
.lookup-form input::placeholder { font-weight: 500; letter-spacing: 2px; color: #9aa3ae; }
.lookup-form input:focus { border-color: var(--brand); background: var(--surface); }
.lookup-form button {
  flex: 0 0 auto;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .18s;
}
.lookup-form button:hover { background: var(--brand-strong); }
.lookup-hint { margin: 14px 0 0 !important; font-size: 12px !important; }

/* 注：.lookup-card p 会覆盖普通 .lookup-error 的边距，故提升一级选择器 */
.lookup-card .lookup-error {
  margin: 14px 0 0;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--bad-soft);
  color: var(--bad);
  font-size: 13px;
  font-weight: 500;
}

/* ---------- 下载 ---------- */
.dl-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 34px 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 95, 255, .22);
  background:
    radial-gradient(560px 260px at 8% 0%, rgba(11, 95, 255, .1), transparent 70%),
    var(--surface);
  box-shadow: 0 10px 34px rgba(11, 95, 255, .08);
}
.dl-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
}
.dl-lead { margin: 0 0 24px; font-size: 14px; line-height: 1.85; color: var(--text-muted); }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.dl-meta { margin: 0 0 6px; font-size: 12.5px; color: var(--text-muted); }
.dl-meta strong { color: var(--text); }
.dl-hash {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-muted);
  word-break: break-all;
}
.dl-hash .mono { color: var(--text); }

.dl-steps { list-style: none; margin: 0; padding: 0; }
.dl-steps li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.dl-steps li:first-child { border-top: 0; padding-top: 0; }
.dl-step-n {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-steps strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.dl-steps p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text-muted); }

/* ---------- 卡片网格 ---------- */
.lp-grid { display: grid; gap: 18px; }
.lp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.lp-section--alt .lp-card { background: var(--bg); }
.lp-card:hover {
  border-color: rgba(11, 95, 255, .35);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.lp-card h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.lp-card p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--text-muted); }
.lp-num {
  display: block;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(11, 95, 255, .28);
}

/* ---------- 四步 ---------- */
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}
.lp-steps li { position: relative; padding-top: 4px; }
.lp-step-num {
  display: block;
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 800;
  color: rgba(11, 95, 255, .28);
  letter-spacing: -.02em;
}
.lp-steps h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.lp-steps p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--text-muted); }

/* ---------- 价格 ---------- */
.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.lp-plan--hot {
  border-color: rgba(11, 95, 255, .4);
  box-shadow: 0 10px 30px rgba(11, 95, 255, .1);
}
.lp-hot {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}
.lp-plan-aud {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-muted);
}
.lp-plan h3 { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.lp-price {
  margin: 0 0 20px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.lp-price span { font-size: 14px; font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.lp-plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.lp-plan li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.lp-plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  opacity: .55;
}

/* ---------- 常见问题 ---------- */
.lp-faq { max-width: 820px; }
.lp-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
  margin-bottom: 10px;
}
.lp-section--alt .lp-faq details { background: var(--bg); }
.lp-faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq details p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
}
.lp-faq details p strong { color: var(--text); }

/* ---------- 结尾 ---------- */
.lp-final {
  text-align: center;
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(11, 95, 255, .12), transparent 70%),
    var(--bg);
}
.lp-final .lp-h2 { margin-bottom: 16px; }
.lp-final p {
  margin: 0 auto 30px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ---------- 入场动画 ---------- */
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.lp-hero .lp-badge,
.lp-hero .lp-h1,
.lp-hero .lp-lead,
.lp-hero .lp-actions,
.lp-hero .lp-note,
.lp-hero .lp-video {
  animation: lp-rise .55s ease-out both;
}
.lp-hero .lp-h1 { animation-delay: .06s; }
.lp-hero .lp-lead { animation-delay: .12s; }
.lp-hero .lp-actions { animation-delay: .18s; }
.lp-hero .lp-note { animation-delay: .24s; }
.lp-hero .lp-video { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .lp-hero .lp-badge,
  .lp-hero .lp-h1,
  .lp-hero .lp-lead,
  .lp-hero .lp-actions,
  .lp-hero .lp-note,
  .lp-hero .lp-video { animation: none; }
  .lp-card, .lp-btn { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .lp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .lp-grid--3 { grid-template-columns: 1fr; }
  .dl-card { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; }
}
@media (max-width: 620px) {
  .lp-section { padding: 56px 0; }
  .lp-hero { padding: 54px 0 48px; }
  .lp-grid--4, .lp-steps { grid-template-columns: 1fr; }
  .lp-h2 { margin-bottom: 28px; }
  .lookup-card { padding: 24px 20px; }
  .lookup-form button { flex: 1 1 100%; }
  .dl-actions .lp-btn { flex: 1 1 100%; }
  .lp-video { margin-top: 30px; border-radius: 14px; }
  .lp-play-icon { width: 60px; height: 60px; }
  .lp-play-icon::after { border-width: 10px 0 10px 17px; }
  .lp-play-text { font-size: 13px; }
}