/* ==========================================================================
   60cpapp下载 内页骨架：下载面板风 · 暗色 Hero + 下载浮层 + 平台标签页 + 版本列表
   ========================================================================== */

:root {
  --dc-cyan: #0284c7;
  --dc-cyan-dk: #075985;
  --dc-sky: #38bdf8;
  --dc-bg: #f0f9ff;
  --dc-ink: #0c2d40;
  --dc-muted: #5a7488;
  --dc-line: #d3e8f2;
  --dc-panel: #0c2d40;
}

body.dc-page {
  background: var(--dc-bg);
  color: var(--dc-ink);
}

.dc-page .brand-mark { background: linear-gradient(140deg, #38bdf8, #0284c7); color: #e0f2fe; box-shadow: 0 6px 16px rgba(2, 132, 199, .3); }
.dc-page .brand-text em { color: var(--dc-cyan); }
.dc-page .site-nav a.is-active { color: var(--dc-cyan); }
.dc-page .site-nav a::after { background: var(--dc-cyan); }
.dc-page .btn-login { background: linear-gradient(135deg, #0ea5e9, #0369a1); box-shadow: 0 8px 20px rgba(2, 132, 199, .3); }
.dc-page .btn-login:hover { box-shadow: 0 12px 26px rgba(2, 132, 199, .4); }

/* ---------------- Hero（暗色） ---------------- */
.dc-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 130px;
  background:
    radial-gradient(760px 480px at 82% 12%, rgba(56, 189, 248, .22), transparent 64%),
    radial-gradient(560px 400px at 4% 96%, rgba(14, 165, 233, .16), transparent 68%),
    linear-gradient(160deg, #0c2d40, #0a3550 60%, #075985 130%);
  color: #e0f2fe;
}

.dc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(125, 211, 252, .12) 1px, transparent 1.4px);
  background-size: 24px 24px;
  pointer-events: none;
}

.dc-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}

.dc-hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(56, 189, 248, .14);
  border: 1px solid rgba(125, 211, 252, .3);
  font-size: 13px;
  font-weight: 700;
  color: #7dd3fc;
}

.dc-hero h1 {
  margin: 24px 0 16px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.6px;
  color: #fff;
}

.dc-hero h1 span {
  background: linear-gradient(100deg, #7dd3fc, #38bdf8 55%, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dc-hero .lead {
  font-size: 16.5px;
  line-height: 1.9;
  color: #bae6fd;
  max-width: 560px;
}

.dc-hero .lead strong { color: #fff; }

/* 下载浮层 */
.dc-visual { position: relative; }

.dc-visual img {
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-m);
}

.dc-visual .dc-panel {
  position: absolute;
  inset: auto -10px -34px auto;
  width: min(340px, 86%);
}

.dc-panel {
  position: relative;
  background: #fff;
  color: var(--dc-ink);
  border-radius: var(--radius-l);
  box-shadow: 0 30px 70px rgba(2, 8, 23, .4);
  overflow: hidden;
}

.dc-panel .panel-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px;
  background: linear-gradient(140deg, #f0f9ff, #e0f2fe);
}

.dc-panel .app-ico {
  flex: none;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(140deg, #0ea5e9, #075985);
  color: #e0f2fe;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.dc-panel .panel-top h3 { font-size: 19px; font-weight: 900; }

.dc-panel .panel-top p { font-size: 13.5px; color: var(--dc-muted); }

.dc-panel .dl-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
}

.dc-panel .dl-main .meta { font-size: 13.5px; color: var(--dc-muted); line-height: 1.7; }

.dc-panel .dl-main .meta b { color: var(--dc-ink); font-size: 15px; }

.dc-panel .btn-primary {
  flex: none;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #fff;
  box-shadow: 0 10px 26px rgba(2, 132, 199, .35);
}

.dc-panel .panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 18px 28px 26px;
  border-top: 1px solid var(--dc-line);
}

.dc-panel .panel-foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--dc-muted);
}

.dc-panel .panel-foot i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.dc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.dc-page .btn-ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(125, 211, 252, .4);
  color: #e0f2fe;
}

/* ---------------- 平台标签页（纯 CSS） ---------------- */
.dc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 44px 0 26px;
}

.dc-tabs a {
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid var(--dc-line);
  background: #fff;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dc-muted);
  transition: all .2s;
}

.dc-tabs a span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #94a9b8;
}

.dc-tabs a.active,
.dc-tabs a:hover {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(2, 132, 199, .3);
}

.dc-tabs a.active span,
.dc-tabs a:hover span { color: #bae6fd; }

/* ---------------- 数据四格 ---------------- */
.dc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 70px;
}

.dc-stats > div {
  padding: 22px;
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--dc-line);
  box-shadow: var(--shadow-s);
}

.dc-stats b {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--dc-cyan);
  line-height: 1.1;
}

.dc-stats span { display: block; margin-top: 7px; font-size: 13.5px; color: var(--dc-muted); }

/* ---------------- 版本列表 ---------------- */
.dc-section { padding: 0 0 70px; }

.dc-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.dc-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.4px; }

.dc-head p { color: var(--dc-muted); font-size: 14.5px; margin-top: 6px; }

.dc-head .k {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--dc-cyan);
  margin-bottom: 12px;
}

.dc-versions { display: grid; gap: 14px; }

.dc-versions .vrow {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--dc-line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}

.dc-versions .vrow.latest {
  background: linear-gradient(140deg, #f0f9ff, #e0f2fe);
  border-color: rgba(2, 132, 199, .4);
}

.dc-versions .vtag {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dc-versions .vtag b { font-family: var(--mono); font-size: 17px; color: var(--dc-cyan-dk); }

.dc-versions .vtag .new {
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 5px;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
}

.dc-versions .vrow h3 { font-size: 16px; font-weight: 800; margin-bottom: 5px; }

.dc-versions .vrow p { font-size: 13.5px; color: var(--dc-muted); }

.dc-versions .vdate { font-family: var(--mono); font-size: 13px; color: var(--dc-muted); white-space: nowrap; }

/* ---------------- FAQ + CTA ---------------- */
.dc-faq { margin-bottom: 70px; }

.dc-faq .faq-acc { display: grid; gap: 12px; }

.dc-faq .acc-item {
  background: #fff;
  border: 1px solid var(--dc-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.dc-faq .acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dc-ink);
  text-align: left;
}

.dc-faq .acc-trigger .sign {
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(2, 132, 199, .12);
  position: relative;
}

.dc-faq .acc-trigger .sign::before,
.dc-faq .acc-trigger .sign::after {
  content: "";
  position: absolute;
  background: var(--dc-cyan);
  border-radius: 2px;
  transition: transform .25s;
}

.dc-faq .acc-trigger .sign::before { width: 12px; height: 2px; }
.dc-faq .acc-trigger .sign::after { width: 2px; height: 12px; }

.dc-faq .acc-item.is-open .sign::after { transform: rotate(90deg); opacity: 0; }

.dc-faq .acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.dc-faq .acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

.dc-faq .acc-panel > div { overflow: hidden; }

.dc-faq .acc-panel p { padding: 0 24px 20px; font-size: 14.5px; line-height: 1.85; color: var(--dc-muted); }

.dc-faq .acc-panel a { color: var(--dc-cyan); font-weight: 600; }

.dc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 40px;
  border-radius: var(--radius-l);
  background: linear-gradient(140deg, #0c2d40, #075985);
  color: #fff;
  box-shadow: var(--shadow-m);
}

.dc-cta h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; }

.dc-cta p { color: #bae6fd; margin-top: 8px; font-size: 15px; }

.dc-cta .row { display: flex; flex-wrap: wrap; gap: 12px; }

.dc-cta .btn-primary {
  background: #fff;
  color: var(--dc-cyan-dk);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.dc-cta .btn-room {
  background: rgba(56, 189, 248, .14);
  border-color: rgba(125, 211, 252, .4);
  color: #e0f2fe;
}

/* ---------------- 动画 ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .dc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .dc-panel { max-width: 520px; }
  .dc-stats { grid-template-columns: 1fr 1fr; }
  .dc-versions .vrow { grid-template-columns: 1fr; gap: 10px; }
  .dc-versions .vdate { white-space: normal; }
}

@media (max-width: 620px) {
  .dc-hero { padding: 52px 0 90px; }
  .dc-hero h1 { font-size: 32px; }
  .dc-stats { grid-template-columns: 1fr; }
  .dc-cta { flex-direction: column; text-align: center; align-items: center; }
}
