/* ═══════════════════════════════════════════════════════
   找工作喵 · 官网
   ═══════════════════════════════════════════════════════ */

* { box-sizing: border-box; }
:root {
  --bg: #ffffff;
  --bg-alt: #fafaf7;
  --fg: #1b1b19;
  --fg-dim: #6b6b66;
  --line: #e8e8e3;
  --line-strong: #d6d6d0;
  --accent: #c2622f;        /* 橘猫主色 */
  --accent-soft: #faece7;
  --accent-dark: #993c1d;
  --green: #1d9e75;
  --green-soft: #e1f5ee;
  --code-bg: #1f1f1d;
  --code-fg: #e8e8e3;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  background: #f0efe8;
  padding: 1px 6px;
  border-radius: 4px;
  color: #4a3a1a;
}

/* ── 导航 ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand {
  font-weight: 600; font-size: 17px; color: var(--fg);
  display: flex; align-items: center; gap: 4px;
}
.brand span { letter-spacing: -.01em; }
.links { display: flex; gap: 4px; }
.links a {
  padding: 6px 12px; font-size: 14px; color: var(--fg-dim);
  border-radius: 6px; transition: .12s;
}
.links a:hover { color: var(--fg); background: var(--bg-alt); text-decoration: none; }
.links a.gh { background: var(--fg); color: #fff; padding: 6px 14px; }
.links a.gh:hover { background: #000; }

/* ── 第一屏（双栏） ── */
.hero { padding: 72px 0 80px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.tag {
  display: inline-block; font-size: 13px; color: var(--accent-dark);
  background: var(--accent-soft); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 22px; font-weight: 500;
}
.hero h1 {
  font-size: 44px; line-height: 1.18; font-weight: 600;
  margin: 0 0 20px; letter-spacing: -.02em;
}
.lead { font-size: 17px; color: var(--fg-dim); max-width: 540px; margin: 0 0 28px; }
.lead strong { color: var(--fg); font-weight: 500; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 500; transition: .15s; cursor: pointer; border: 0;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn.ghost { border: 1px solid var(--line-strong); color: var(--fg); background: #fff; }
.btn.ghost:hover { border-color: var(--fg); text-decoration: none; }
.meta {
  margin-top: 6px; font-size: 13px; color: var(--fg-dim);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.meta span:not(:last-child)::after { content: '·'; margin-left: 16px; color: var(--line-strong); }
.mirrors { margin-top: 10px; font-size: 13px; color: var(--fg-dim); }

/* ── Hero 右侧：桌面场景 + 透明桌宠（无窗口边框） ── */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.visual-note { font-size: 12px; color: var(--fg-dim); margin: 0; text-align: center; }

.desktop {
  width: 100%; max-width: 470px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 64px -20px rgba(20,40,80,.35), 0 6px 16px -4px rgba(20,40,80,.18);
}

/* 桌面壁纸 */
.desktop-bg {
  position: relative;
  /* 4/3 而不是 16/10：猫是 2:3 竖图，容器太扁会被 overflow 削掉头顶 */
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse 70% 55% at 26% 18%, rgba(126,186,255,.95), transparent 62%),
    radial-gradient(ellipse 60% 50% at 78% 74%, rgba(74,143,208,.75), transparent 58%),
    linear-gradient(158deg, #16305c 0%, #24548f 46%, #3d7fc4 100%);
}

/* 左上角几个桌面图标，强化「这是桌面」 */
.desk-icons {
  position: absolute; top: 16px; left: 16px;
  display: grid; grid-template-columns: repeat(2, 26px); gap: 14px;
}
.dicon {
  width: 26px; height: 26px; border-radius: 5px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(2px);
}
.dicon:nth-child(2) { background: rgba(255,255,255,.14); }
.dicon:nth-child(3) { background: rgba(255,255,255,.18); }
.dicon:nth-child(4) { background: rgba(255,255,255,.12); }

/* 桌宠：透明 PNG 直接浮在桌面上 */
.pet {
  position: absolute;
  left: 50%; bottom: -6px;
  transform: translateX(-50%);
  width: 218px; height: auto;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.38));
  animation: float 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-8px); }
}

/* 气泡：桌宠在说话，带指向猫的小尖角 */
.pet-bubble {
  position: absolute;
  right: 18px; top: 20%;
  max-width: 190px;
  background: #fff;
  color: var(--fg);
  font-size: 13.5px; line-height: 1.5;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.4);
  transition: opacity .18s;
}
.pet-bubble::after {
  content: ''; position: absolute;
  left: -6px; bottom: 0;
  border: 7px solid transparent;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

/* HUD：半透明毛玻璃状态卡，浮在桌面右上 */
.pet-hud {
  position: absolute;
  left: 16px; top: 18%;
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hud-item { display: flex; align-items: baseline; gap: 6px; }
.hud-item b {
  font-size: 16px; font-weight: 600; color: #fff;
  font-variant-numeric: tabular-nums; min-width: 34px;
}
.hud-item span { font-size: 11px; color: rgba(255,255,255,.82); }

/* Windows 11 任务栏：图标居中，右侧托盘 */
.taskbar {
  position: relative;
  height: 40px;
  background: rgba(24,24,26,.92);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.start {
  width: 22px; height: 22px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px;
}
.start i { background: #4cc2ff; border-radius: 1.5px; display: block; }
.tb-icons { display: flex; gap: 10px; }
.tb-icons i { width: 22px; height: 22px; border-radius: 5px; display: block; }
.tb1 { background: #e8534f; }
.tb2 { background: #f5b83d; }
.tb3 { background: #3aa76d; }
.tray {
  position: absolute; right: 14px;
  font-size: 11.5px; color: rgba(255,255,255,.85);
  font-variant-numeric: tabular-nums;
}

/* ── 通用 section ── */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 28px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.015em; }
.section > .wrap > .lead { margin-bottom: 28px; }

/* ── 卡片网格 ── */
.grid { display: grid; gap: 14px; margin-top: 24px; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.section.alt .card { background: #fff; }
.card-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.card p { margin: 0; font-size: 14px; color: var(--fg-dim); }
.card p b { color: var(--fg); font-weight: 500; }

/* ── 对比：普通 vs 找工作喵 ── */
.compare {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; margin-bottom: 24px;
}
.cmp {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.cmp.muted { opacity: .85; background: #f3f3ef; }
.cmp-head {
  font-size: 13px; color: var(--fg-dim); font-weight: 500;
  margin-bottom: 14px; letter-spacing: .02em;
}
.cmp-flow {
  display: flex; flex-wrap: wrap; gap: 6px 4px;
  font-size: 14px; margin-bottom: 14px;
}
.cmp-flow span {
  background: #f4efe7; padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--line);
}
.cmp.muted .cmp-flow span { background: #e8e7e1; }
.cmp-flow i { color: var(--fg-dim); font-style: normal; padding: 0 2px; }
.cmp-flow .hl { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); font-weight: 500; }
.cmp-flow .end { background: #fff; }
.cmp-flow .loopback { font-size: 18px; color: var(--accent); font-weight: 600; }
.cmp p { margin: 0; font-size: 14px; color: var(--fg-dim); }

/* ── 证据条 128 → 5 → ? ── */
.evidence {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 28px; margin-top: 20px;
}
.ev { flex: 1; text-align: center; }
.ev-num {
  font-size: 36px; font-weight: 600; letter-spacing: -.03em;
  color: var(--fg-dim); font-variant-numeric: tabular-nums;
}
.ev-num.hl { color: var(--accent); }
.ev-label {
  font-size: 13px; color: var(--fg-dim); margin-top: 4px;
}
.ev-label span { font-size: 11px; }
.ev-arrow { color: var(--line-strong); font-size: 24px; }

/* ── 纵向流程 ── */
.steps {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin: 24px auto 0;
  max-width: 360px;
  padding: 18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px;
}
.step {
  padding: 8px 18px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-weight: 500; text-align: center;
  width: 180px;
}
.step.hl { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.steps i { color: var(--fg-dim); font-style: normal; }
.steps i.loopback { font-size: 20px; color: var(--accent); font-weight: 600; }

/* ── 截图占位 ── */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* 主展示：视频是 640×640 正方形，用 contain + 壁纸底，避免上下被裁 */
.shot.lead { grid-column: 1 / -1; }
.shot.lead video {
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background:
    radial-gradient(ellipse 70% 55% at 26% 18%, rgba(126,186,255,.95), transparent 62%),
    radial-gradient(ellipse 60% 50% at 78% 74%, rgba(74,143,208,.75), transparent 58%),
    linear-gradient(158deg, #16305c 0%, #24548f 46%, #3d7fc4 100%);
}
.shot {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.shot video {
  display: block; width: 100%;
  aspect-ratio: 16 / 10; object-fit: cover;
  background: #f0f0ea;
}
.ph {
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; background: linear-gradient(180deg, #fafaf7 0%, #f0f0ea 100%);
}
.shot figcaption {
  padding: 12px 14px; font-size: 13px; font-weight: 500;
  border-top: 1px solid var(--line);
}
.shot figcaption span { display: block; font-weight: 400; color: var(--fg-dim); font-size: 12px; margin-top: 2px; }

/* ── 代码块 ── */
.code {
  background: var(--code-bg); color: var(--code-fg);
  border-radius: 12px; padding: 18px 20px;
  overflow-x: auto; margin: 12px 0;
}
.code pre { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.65; }
.code .c { color: #8a8a82; font-style: italic; }

/* ── 安装提示 ── */
.notice {
  margin-top: 18px; padding: 16px 18px;
  background: var(--green-soft); border: 1px solid #b3dec9;
  border-radius: 12px; font-size: 14px;
}
.notice b { display: block; margin-bottom: 8px; color: #0f6e56; }
.notice ol { margin: 0; padding-left: 22px; color: var(--fg); }
.notice li { margin-bottom: 4px; }

/* ── FAQ ── */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary {
  cursor: pointer; font-weight: 500; font-size: 15px;
  list-style: none; display: flex; align-items: center; gap: 8px;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: '+'; display: inline-block; width: 18px; height: 18px;
  border-radius: 4px; background: var(--bg-alt); color: var(--fg-dim);
  text-align: center; line-height: 18px; font-size: 14px; font-weight: 500;
  transition: .12s; flex-shrink: 0;
}
details[open] summary::before { content: '−'; background: var(--accent-soft); color: var(--accent-dark); }
details p { margin: 12px 0 0 26px; font-size: 14px; color: var(--fg-dim); }

/* ── 注脚文字 ── */
.note {
  margin-top: 18px; padding: 14px 18px; font-size: 13px; color: var(--fg-dim);
  background: var(--bg-alt); border-left: 3px solid var(--line-strong);
  border-radius: 0 8px 8px 0;
}

/* ── 页脚 ── */
.foot {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 36px 0 0;
}
.foot-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 24px;
}
.foot-brand { font-weight: 600; font-size: 15px; }
.foot-sub { font-size: 13px; color: var(--fg-dim); margin-top: 2px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { font-size: 13px; color: var(--fg-dim); }
.foot-legal {
  margin-top: 24px; padding: 16px 24px;
  font-size: 12px; color: var(--fg-dim); text-align: center;
  border-top: 1px solid var(--line);
}

/* ── 响应式 ── */
@media (max-width: 860px) {
  .nav-inner { height: 56px; }
  .links a:not(.gh) { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 32px; }
  .hero-visual { order: -1; }
  .desktop { max-width: 400px; }
  .pet { width: 150px; }
  .pet-bubble { font-size: 12.5px; max-width: 150px; right: 12px; top: 16%; }
  .pet-hud { padding: 8px 10px; left: 12px; top: 14%; }
  .hud-item b { font-size: 14px; min-width: 28px; }
  .hud-item span { font-size: 10px; }
  .compare { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shot.lead video { aspect-ratio: 1 / 1; }
  .evidence { flex-direction: column; gap: 8px; }
  .ev-arrow { transform: rotate(90deg); }
  .section { padding: 56px 0; }
  .section h2 { font-size: 24px; }
  .foot-inner { flex-direction: column; }
}