/* ============================================================
   云数工具集 · 官网（worktools.plover.store）
   与应用一致的深色现代主题
   ============================================================ */
:root {
  color-scheme: dark;
  --bg: #0a0e17;
  --bg-2: #0d1320;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2fa;
  --text-2: #9aa7c0;
  --text-3: #5d6a85;
  --accent: #6c8cff;
  --accent-2: #9a6bff;
  --warm-1: #ff9a62;
  --warm-2: #ff6a3c;
  --grad-cool: linear-gradient(135deg, #6c8cff, #9a6bff);
  --grad-warm: linear-gradient(135deg, #ff9a62, #ff6a3c);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei",
               "PingFang SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 520px at 8% -10%, rgba(108, 140, 255, .18), transparent 62%),
    radial-gradient(900px 500px at 104% 8%, rgba(154, 107, 255, .15), transparent 60%),
    radial-gradient(800px 680px at 50% 118%, rgba(255, 138, 92, .09), transparent 62%);
}
main, header, footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
/* [hidden] 优先于任何 display 规则 */
[hidden] { display: none !important; }

.muted { color: var(--text-2); }
::selection { background: rgba(108, 140, 255, .35); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 14, 23, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(92deg, #fff 20%, #aab8dd 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 13px;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: .5px;
  transition: all .15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.nav-cta {
  background: var(--grad-warm);
  color: #200f06;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 106, 60, .3);
}
.nav-links a.nav-cta:hover { filter: brightness(1.08); background: var(--grad-warm); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0 72px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero-badge b { color: #8fa5ff; font-weight: 600; }
.hero-title {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(100deg, #ffffff 10%, #b9c6e8 55%, #8fa5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 16.5px;
  color: var(--text-2);
  max-width: 460px;
  margin-bottom: 34px;
  line-height: 1.9;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-big {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .16s ease;
  border: 1px solid transparent;
}
.btn-big svg { width: 17px; height: 17px; }
.btn-warm {
  background: var(--grad-warm);
  color: #200f06;
  box-shadow: 0 10px 28px rgba(255, 106, 60, .35);
}
.btn-warm:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateY(-2px); }
.hero-meta { margin-top: 22px; font-size: 12.5px; color: var(--text-3); letter-spacing: .5px; }

/* Hero 右侧：应用窗口示意 */
.window-mock {
  background: rgba(13, 19, 32, .85);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-1), 0 30px 80px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.window-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.window-title { margin-left: 8px; font-size: 11.5px; color: var(--text-3); letter-spacing: 1.5px; }
.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}
.mock-cell {
  border-radius: 12px;
  padding: 14px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  min-height: 74px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.mock-cell .mi {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.mock-cell .mi svg { width: 17px; height: 17px; }
.mock-cell .mn { font-size: 11.5px; color: var(--text-2); letter-spacing: .5px; }
.mock-cell.hot {
  border-color: rgba(255, 138, 92, .5);
  background: linear-gradient(180deg, rgba(255,138,92,.12), rgba(255,138,92,.03));
}
.mock-cell.hot .mn { color: var(--text); font-weight: 600; }

/* ---------- 区块标题 ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-kicker {
  font-size: 12px;
  letter-spacing: 4px;
  color: #8fa5ff;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title { font-size: 30px; font-weight: 800; letter-spacing: 2px; }
.section-sub { margin-top: 12px; color: var(--text-2); font-size: 14.5px; }

/* ---------- 特性 ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: transform .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.feature .fi {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--fc, #6c8cff);
  background: var(--fc-soft, rgba(108, 140, 255, .12));
  border: 1px solid var(--fc-line, rgba(108, 140, 255, .3));
}
.feature .fi svg { width: 22px; height: 22px; }
.feature h3 { font-size: 15.5px; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--text-2); line-height: 1.8; }

/* ---------- 工具矩阵 ---------- */
.matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
}
.tile .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tile .ti {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--tc, #6c8cff);
  background: var(--tc-soft, rgba(108, 140, 255, .12));
  border: 1px solid var(--tc-line, rgba(108, 140, 255, .3));
}
.tile .ti svg { width: 22px; height: 22px; }
.tile .tag {
  font-size: 10.5px;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-3);
}
.tile.ready .tag {
  background: var(--grad-warm);
  color: #200f06;
  border-color: transparent;
  font-weight: 700;
}
.tile h3 { font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.tile p { font-size: 12.5px; color: var(--text-2); margin-top: 5px; }
.tile.locked { opacity: .55; }

/* ---------- 下载 CTA ---------- */
.cta-band {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 52px 40px;
  text-align: center;
  background:
    radial-gradient(600px 200px at 50% -40%, rgba(108, 140, 255, .22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
}
.cta-band h2 { font-size: 28px; font-weight: 800; letter-spacing: 2px; margin-bottom: 12px; }
.cta-band p { color: var(--text-2); font-size: 14.5px; margin-bottom: 28px; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(8, 11, 19, .6);
  padding: 26px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-2);
}
.footer-inner a:hover { color: var(--text); }
.footer-corp { display: flex; align-items: center; gap: 8px; letter-spacing: .5px; }
.footer-corp svg { width: 15px; height: 15px; color: #8fa5ff; }
.footer-tag { color: var(--text-3); font-size: 12px; }

/* ============================================================
   更新页
   ============================================================ */
.page-head { padding: 72px 0 40px; text-align: center; }
.page-head h1 { font-size: 38px; font-weight: 800; letter-spacing: 3px; margin-bottom: 12px; }
.page-head p { color: var(--text-2); font-size: 14.5px; }

.latest-card {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    radial-gradient(500px 160px at 20% -30%, rgba(255, 138, 92, .16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  padding: 40px;
  box-shadow: var(--shadow-1);
}
.latest-top { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.latest-ver {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.latest-date { color: var(--text-3); font-size: 13px; letter-spacing: 1px; }
.latest-badge {
  font-size: 11px;
  letter-spacing: 1px;
  color: #ffb08a;
  border: 1px solid rgba(255, 138, 92, .45);
  background: rgba(255, 138, 92, .1);
  padding: 3px 11px;
  border-radius: 999px;
}
.latest-notes { margin: 18px 0 30px; }
.latest-notes li {
  list-style: none;
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 2.1;
}
.latest-notes li::before {
  content: "";
  position: absolute;
  left: 4px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--grad-warm);
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
a.dl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .03);
  transition: all .15s ease;
}
a.dl:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }
a.dl .dl-name { font-size: 14px; font-weight: 700; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
a.dl .dl-name svg { width: 15px; height: 15px; color: #8fa5ff; }
a.dl .dl-meta { font-size: 11.5px; color: var(--text-3); letter-spacing: .5px; }
.dl-note { margin: 14px 2px 0; font-size: 12.5px; color: var(--text-3); line-height: 1.7; }
.log-dl { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.log-dl a { font-size: 12px; color: #8fa5ff; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.log-dl a:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); }

.changelog { max-width: 860px; margin: 56px auto 0; }
.changelog h2 { font-size: 22px; font-weight: 800; letter-spacing: 2px; margin-bottom: 22px; text-align: center; }
.log-item {
  border-left: 2px solid var(--line);
  padding: 0 0 30px 26px;
  position: relative;
}
.log-item::before {
  content: "";
  position: absolute;
  left: -7px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grad-cool);
  box-shadow: 0 0 0 4px rgba(108, 140, 255, .15);
}
.log-item h3 { font-size: 16px; font-weight: 700; letter-spacing: .5px; }
.log-item .log-date { font-size: 12px; color: var(--text-3); margin: 3px 0 10px; letter-spacing: 1px; }
.log-item ul { padding-left: 4px; }
.log-item li {
  list-style: none;
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 2;
}
.log-item li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--text-3);
  font-weight: 700;
}
.log-tip {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.log-tip b { color: var(--text-2); font-weight: 600; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .hero-title { font-size: 40px; }
  .features, .matrix { grid-template-columns: repeat(2, 1fr); }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 600px) {
  .features, .matrix { grid-template-columns: 1fr; }
  .latest-card { padding: 28px 22px; }
}

/* ============================================================
   许愿页（wishes.html）
   ============================================================ */
.nav-links a.active { color: var(--text); background: var(--surface); }

.wish-form-card {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  box-shadow: var(--shadow-1);
}
.wish-form-title { font-size: 16px; font-weight: 700; letter-spacing: 1px; margin-bottom: 18px; }
.wish-field { margin-bottom: 16px; }
.wish-field label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 7px; letter-spacing: .5px; }
.wish-field label .opt { color: var(--text-3); font-weight: 400; }
.wish-input {
  width: 100%;
  background: rgba(10, 14, 23, .55);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.wish-input:focus { border-color: rgba(255, 138, 92, .55); background: rgba(10, 14, 23, .8); }
.wish-input::placeholder { color: var(--text-3); }
textarea.wish-input { resize: vertical; min-height: 96px; line-height: 1.7; }
.wish-count { font-size: 11.5px; color: var(--text-3); text-align: right; margin-top: 5px; letter-spacing: .5px; }
.wish-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.wish-actions .mini-btn { padding: 10px 18px; font-size: 13px; }
.wish-hint { margin-top: 18px; font-size: 12.5px; color: var(--text-3); line-height: 1.9; }
.wish-hint b { color: var(--text-2); font-weight: 600; }
.wish-hint a { color: #8fa5ff; border-bottom: 1px dotted rgba(143, 165, 255, .5); cursor: pointer; }

@media (max-width: 600px) {
  .wish-form-card { padding: 26px 18px; }
}
