/* OfficeAgent 官网 · 白底、绿色强调、少量装饰。零外部依赖。 */
:root {
  --bg: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #eaecf0;
  --line-strong: #d0d5dd;
  --green: #12b76a;
  --green-deep: #039855;
  --green-soft: #ecfdf3;
  --radius: 16px;
  --max: 1120px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-deep); }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(18, 183, 106, .2); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -.035em; line-height: 1.12; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 10px 14px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 13px;
}
.skip:focus { top: 16px; color: #fff; }

.wrap { width: min(var(--max), calc(100vw - 48px)); margin-inline: auto; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-deep);
}
.muted { color: var(--muted); }

/* ── 顶栏 ─────────────────────────────────────────────── */
.head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
}
.head-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 9px; background: var(--green); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: -.02em;
}
.brand-name { font-size: 16px; font-weight: 750; letter-spacing: -.02em; }
.brand-sub { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--faint); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14px; transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; }

/* ── 按钮 ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--line-strong);
  border-radius: 10px; background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 650; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 0 26px;
  border-radius: 10px; border: 1px solid var(--green);
  background: var(--green); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  transition: background .15s, transform .15s;
}
.dl-btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; transform: translateY(-1px); }
.dl-btn svg { width: 20px; height: 20px; }
.dl-btn small { display: block; font-size: 10px; font-weight: 500; opacity: .8; letter-spacing: .04em; }
.dl-btn .dl-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }

/* ── 首页 Hero ─────────────────────────────────────────── */
.hero { padding: 96px 0 0; text-align: center; }
.hero h1 {
  margin: 18px auto 22px; max-width: 860px;
  font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; letter-spacing: -.05em;
}
.hero h1 .mark { color: var(--green-deep); }
.hero-lead {
  max-width: 640px; margin: 0 auto;
  color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75;
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { margin-top: 18px; color: var(--faint); font-size: 12px; letter-spacing: .02em; }
.hero-meta span + span::before { content: "·"; margin: 0 8px; color: var(--line-strong); }

/* ── 产品示意（纯 CSS，无外部图片） ─────────────────────── */
.stage { position: relative; overflow: hidden; margin-top: 52px; padding: 20px 0 0; }
.stage::before {
  content: ""; position: absolute; left: 50%; top: 31%;
  width: 150vw; height: 84%; transform: translateX(-50%);
  background: var(--green); border-radius: 50% 50% 0 0 / 26% 26% 0 0;
  z-index: 0;
}
.shot {
  position: relative; z-index: 1; width: min(980px, 100%);
  margin: 0 auto; border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 14px; background: #fff; overflow: hidden;
  box-shadow: 0 34px 80px rgba(16, 24, 40, .22);
}
.shot-bar {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--line); background: #fff;
}
.shot-logo {
  display: grid; place-items: center; width: 20px; height: 20px;
  border-radius: 6px; background: var(--green); color: #fff;
  font-size: 8px; font-weight: 800;
}
.shot-title { font-size: 12px; font-weight: 650; }
.shot-tools { display: flex; gap: 6px; margin-left: auto; }
.shot-tools i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.shot-body { display: grid; grid-template-columns: 190px 1fr 200px; min-height: 380px; }
.shot-side, .shot-rail { padding: 18px 14px; background: #fcfcfd; }
.shot-side { border-right: 1px solid var(--line); }
.shot-rail { border-left: 1px solid var(--line); }
.shot-label {
  display: block; margin-bottom: 10px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--faint);
  text-transform: uppercase;
}
.shot-action {
  padding: 9px 10px; margin-bottom: 4px; border-radius: 7px;
  color: var(--muted); font-size: 11px;
}
.shot-action.active { background: var(--green-soft); color: var(--green-deep); font-weight: 650; }
.shot-drop {
  display: grid; place-items: center; height: 96px; margin-top: 16px;
  border: 1px dashed var(--line-strong); border-radius: 10px;
  color: var(--faint); font-size: 10px; text-align: center; padding: 0 10px;
}
.shot-canvas { padding: 22px; }
.shot-file {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 11px;
}
.shot-file span { color: var(--faint); font-size: 10px; }
.shot-line { height: 7px; margin-top: 12px; border-radius: 4px; background: var(--line); }
.shot-line.w80 { width: 80%; }
.shot-line.w60 { width: 60%; }
.shot-line.w70 { width: 70%; }
.shot-result {
  display: flex; align-items: center; gap: 8px; margin-top: 22px;
  padding: 11px 14px; border-radius: 9px;
  background: var(--green-soft); color: var(--green-deep);
  font-size: 11px; font-weight: 600;
}
.shot-result::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.shot-task {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px;
}
.shot-task b { font-weight: 600; }
.shot-task span { color: var(--green-deep); font-size: 9px; }

/* ── 胶囊标签 ─────────────────────────────────────────── */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 34px 0 0; }
.tab {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--muted); font-size: 13px; font-weight: 550;
}
.tab.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ── 通用区块 ─────────────────────────────────────────── */
.section { padding: 104px 0; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 12px 0 14px; font-size: clamp(30px, 3.4vw, 46px); }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
}
.feature-icon {
  display: grid; place-items: center; width: 38px; height: 38px;
  margin-bottom: 18px; border-radius: 10px;
  background: var(--green-soft); color: var(--green-deep);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 19px; letter-spacing: -.02em; }
.feature-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* ── 本地优先 ─────────────────────────────────────────── */
.local {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: 22px; background: #f9fafb;
}
.local h2 { font-size: clamp(28px, 3vw, 40px); }
.local p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.local-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.local-list li {
  display: flex; gap: 10px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 11px; background: #fff;
  color: var(--ink); font-size: 13px;
}
.local-list li::before { content: "✓"; color: var(--green-deep); font-weight: 800; }

/* ── 下载/开始 ─────────────────────────────────────────── */
.start {
  padding: 72px 48px; border-radius: 24px;
  background: var(--green); color: #fff; text-align: center;
}
.start h2 { font-size: clamp(30px, 3.6vw, 48px); }
.start p { max-width: 560px; margin: 14px auto 0; color: rgba(255, 255, 255, .82); font-size: 14px; }
.start .btn-row { justify-content: center; margin-top: 30px; }
.start .btn { border: 0; background: #fff; color: var(--green-deep); }
.start .btn:hover { background: var(--green-soft); }
.start .btn.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.start .btn.ghost:hover { background: rgba(255, 255, 255, .1); }

/* ── 产品列表 ─────────────────────────────────────────── */
.product-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-tile {
  display: flex; flex-direction: column; min-height: 210px;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, transform .15s;
}
.product-tile:hover { border-color: var(--green); transform: translateY(-2px); }
.product-tile .num { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--faint); }
.product-tile h3 { margin-top: 14px; font-size: 22px; }
.product-tile p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.product-tile .go { margin-top: auto; padding-top: 24px; color: var(--green-deep); font-size: 13px; font-weight: 650; }

/* ── 页脚 ─────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 30px 0 38px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.foot span { color: var(--faint); font-size: 12px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--muted); font-size: 12px; }
.foot-links a:hover { color: var(--ink); }

/* ── 产品页 ───────────────────────────────────────────── */
.page-hero { padding: 88px 0 32px; text-align: center; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.05em; }
.page-hero .lead { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.page-hero .hero-actions { margin-top: 30px; }

.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cap {
  display: flex; gap: 14px; padding: 22px;
  border: 1px solid var(--line); border-radius: 14px;
}
.cap b { display: block; font-size: 15px; }
.cap p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.cap .idx { font-family: var(--mono); color: var(--faint); font-size: 11px; }

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-card {
  padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.price-card.featured { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.price-card span { color: var(--muted); font-size: 12px; }
.price-card b { display: block; margin: 10px 0 2px; font-size: 34px; letter-spacing: -.04em; }
.price-card b small { font-size: 12px; font-weight: 500; color: var(--faint); }
.price-card p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.price-note { margin-top: 16px; color: var(--faint); font-size: 12px; }

/* ── 下载页 ───────────────────────────────────────────── */
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.download-card {
  padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
}
.download-card .os { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--green-deep); }
.download-card h2 { margin-top: 10px; font-size: 26px; letter-spacing: -.03em; }
.download-card p { margin: 8px 0 22px; color: var(--muted); font-size: 13px; }
.download-card .btn { width: 100%; justify-content: space-between; }
.download-card .btn small { color: var(--faint); font-size: 11px; font-weight: 500; }
.download-card .sub-link { display: inline-block; margin-top: 12px; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
.step b { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--green-deep); }
.step p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

/* ── 404 ──────────────────────────────────────────────── */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(64px, 12vw, 120px); font-weight: 800; color: var(--green); letter-spacing: -.06em; }
.notfound p { margin: 12px 0 26px; color: var(--muted); font-size: 15px; }

/* ── 响应式 ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-grid, .product-row, .pricing, .steps { grid-template-columns: 1fr 1fr; }
  .local { grid-template-columns: 1fr; padding: 32px; }
  .shot-body { grid-template-columns: 150px 1fr; }
  .shot-rail { display: none; }
}
@media (max-width: 720px) {
  .head-inner { height: 62px; gap: 14px; }
  .nav-toggle {
    display: grid; place-items: center; gap: 4px; width: 40px; height: 40px;
    margin-left: auto; border: 0; background: transparent; cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); }
  .nav {
    position: absolute; top: 62px; left: 16px; right: 16px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px; border: 1px solid var(--line);
    border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(16, 24, 40, .12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; border-radius: 8px; }
  .nav a:hover { background: #f9fafb; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .stage { margin-top: 34px; }
  .shot-body { grid-template-columns: 1fr; min-height: 0; }
  .shot-side { display: none; }
  .shot-canvas { padding: 18px; }
  .feature-grid, .product-row, .pricing, .steps, .cap-grid, .download-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .start { padding: 48px 24px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .btn, .dl-btn { width: 100%; justify-content: center; }
  .hero-actions .dl-btn { width: auto; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100vw - 32px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .dl-btn { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}