/* WorkFit 作品页：产品本身是清爽的商务风格，这一页跟着产品走，不用街机风 */

:root {
  --bg: #f5f4f0;
  --card: #ffffff;
  --ink: #15171c;
  --mut: #6b6f78;
  --line: #e2e0da;
  --accent: #2f6bff;
  --accent-soft: #e8eeff;
  --pad: clamp(16px, 4vw, 56px);
  --sans: "Inter Tight", "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

.top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); font-size: 14px; }
.home { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 700; background: #050505; color: #d4ff3a; padding: 4px 10px; }
.home:hover { background: #ff2d95; color: #fff; }
.top .crumb { color: var(--mut); }
.top-end { display: flex; align-items: center; gap: 16px; }
.lang { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; color: var(--mut); border: 1px solid currentColor; padding: 2px 8px; white-space: nowrap; }
.lang span { padding: 0 3px; }
.lang .on { color: #050505; font-weight: 700; }
.lang:hover { color: #050505; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.hero h1 { font-size: clamp(56px, 9vw, 120px); line-height: .95; letter-spacing: -.045em; margin: 22px 0 14px; font-weight: 700; }
.tagline { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; margin: 0 0 14px; letter-spacing: -.01em; }
.lead { color: var(--mut); font-size: 17px; max-width: 560px; margin: 0 0 30px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store + .store { background: var(--card); color: var(--ink); border: 1px solid var(--line); }

.hero-phone { position: relative; display: grid; place-items: center; }
.hero-phone::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); }
.phone { position: relative; width: min(300px, 70vw); border-radius: 40px; padding: 10px; background: #111; box-shadow: 0 40px 80px rgba(21, 23, 28, .18); }
.phone img { width: 100%; border-radius: 31px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 22px 0; }
.facts dt { font-size: 13px; color: var(--mut); }
.facts dd { margin: 4px 0 0; font-size: 20px; font-weight: 600; }

.section { padding: clamp(64px, 8vw, 110px) 0 0; }
.section h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; margin: 0 0 12px; font-weight: 700; }
.section > .wrap > p { color: var(--mut); margin: 0 0 32px; max-width: 640px; }

.features { display: grid; gap: clamp(40px, 6vw, 80px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.feature:nth-child(even) .phone { order: 2; }
.feature .phone { justify-self: center; width: min(280px, 70vw); }
.feature-copy .num { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--accent); font-size: 14px; }
.feature-copy h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; margin: 8px 0 10px; }
.feature-copy p { color: var(--mut); font-size: 17px; margin: 0; max-width: 420px; }

/* AI 连接：ChatGPT / Claude 插件 */
.ai-tag { display: inline-flex; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.ai-hosts { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 28px; }
.ai-host { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.ai-host i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.chat { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px rgba(21, 23, 28, .08); }
.chat-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mut); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.chat .b { max-width: 85%; padding: 12px 16px; border-radius: 18px; margin: 0 0 12px; font-size: 15px; }
.chat .b.me { margin-left: auto; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.chat .b.ai { background: var(--bg); border-bottom-left-radius: 6px; }
.chat .tool { display: block; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: var(--accent); margin-bottom: 4px; }
.confirm { padding: 12px 14px; border: 1px dashed var(--accent); border-radius: 14px; color: var(--accent); font-weight: 600; font-size: 14px; }
.chat-note { font-size: 12px; color: var(--mut); margin: 10px 0 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.steps .n { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--accent); font-size: 14px; padding-top: 4px; }
.steps h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--mut); }

.langs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.langs li { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }

.cta-band { margin-top: clamp(64px, 8vw, 110px); padding: clamp(36px, 5vw, 56px); border-radius: 28px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; }
.cta-band .store { background: #fff; color: var(--ink); }
.cta-band .store + .store { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }

.foot { margin-top: 64px; padding: 24px var(--pad) 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mut); }
.foot a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .hero, .feature, .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .phone { order: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(odd) { padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
