/* Foldesk 官网样式：石墨深灰加橙，和程序界面同一套配色。 */
:root {
  --bg: #111113;
  --bg2: #18181b;
  --card: #1f1f23;
  --line: #2e2e33;
  --line2: #3a3a40;
  --text: #fafafa;
  --text2: #d4d4d8;
  --mute: #a1a1aa;
  --mute2: #71717a;
  --orange: #f97316;
  --orange2: #fb923c;
  --orange-soft: #2b211a;
  --orange-line: #4a2f1c;
  --green: #22c55e;
  --font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; color-scheme: dark; }
body { background: var(--bg); color: var(--text2); font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { color: var(--text); line-height: 1.25; font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.01em; }
.sub { color: var(--mute); margin-top: 12px; max-width: 640px; }

/* 顶栏 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(17,17,19,.82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid #222226; }
.top-in { height: 60px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: .01em; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--mute); }
.nav a:hover { color: var(--text); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 6px 18px rgba(249,115,22,.28); transition: background .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: #ea6a0e; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--text2); border: 1px solid var(--line2); box-shadow: none; }
.btn-ghost:hover { background: #1c1c1f; color: var(--text); }
.btn-off { opacity: .55; cursor: default; pointer-events: none; }

/* 首屏 */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 40%; height: 680px; background: radial-gradient(closest-side, rgba(249,115,22,.16), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--orange2); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
h1 { font-size: clamp(38px, 5.4vw, 60px); margin-top: 14px; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--orange); }
.lead { margin-top: 22px; font-size: 17px; color: var(--mute); max-width: 500px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--mute2); }

/* 首屏里的程序界面示意（按定稿设计稿画） */
.app { background: var(--bg2); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); font-size: 13px; color: #e4e4e7; }
.app-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; font-size: 12px; color: var(--mute); border-bottom: 1px solid #27272a; }
.app-bar .sp { flex: 1; }
.app-bar span:not(.sp) { width: 34px; text-align: center; opacity: .7; }
.app-body { display: flex; min-height: 330px; }
.app-side { width: 140px; flex: none; background: var(--bg); border-right: 1px solid #27272a; padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; }
.app-brand { display: flex; align-items: center; gap: 8px; margin: 0 4px 16px; }
.app-brand b { color: var(--text); font-size: 15px; }
.app-nav { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--mute); white-space: nowrap; }
.app-nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-nav.on { background: var(--orange); color: #fff; font-weight: 600; }
.app-side .sp { flex: 1; }
.app-st { font-size: 11px; line-height: 1.6; padding: 8px 10px; border-radius: 8px; background: #1c1c1f; border: 1px solid #27272a; color: var(--mute); }
.app-st b { color: var(--text); }
.app-st i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 5px; vertical-align: 1px; }
.app-main { flex: 1; min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.app-card { background: #202024; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.app-h { font-size: 12px; color: var(--mute); font-weight: 600; margin-bottom: 8px; }
.app-ids { display: flex; gap: 26px; flex-wrap: wrap; }
.app-lab { font-size: 11px; color: var(--mute2); }
.app-big { font-size: 26px; font-weight: 700; color: var(--text); line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: .04em; white-space: nowrap; }
.app-code { color: var(--orange2); }
.app-row { display: flex; gap: 8px; }
.app-inp { flex: 1.5; min-width: 0; height: 34px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line2); padding: 0 10px; display: flex; align-items: center; color: var(--mute2); font-size: 12px; white-space: nowrap; overflow: hidden; }
.app-inp-s { flex: 1; }
.app-btn { width: 72px; flex: none; height: 34px; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(249,115,22,.3); }
.app-chips { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; }
.app-q { margin-left: 12px; color: var(--mute); }
.tg { width: 26px; height: 15px; border-radius: 8px; background: #3f3f46; position: relative; flex: none; }
.tg::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.tg.on { background: var(--orange); }
.tg.on::after { left: auto; right: 2.5px; }

/* 数字条 */
.stats { border-top: 1px solid #222226; border-bottom: 1px solid #222226; background: #141416; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid #222226; }
.stat b { font-size: 38px; line-height: 1.1; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 18px; color: var(--orange2); margin-left: 3px; }
.stat span { font-size: 13px; color: var(--mute); line-height: 1.6; }

/* 区块 */
.sec { padding: 96px 0; }
.sec-alt { background: #141416; border-top: 1px solid #1e1e22; border-bottom: 1px solid #1e1e22; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: border-color .15s; }
.card:hover { border-color: var(--orange-line); }
.card h3 { font-size: 18px; margin-top: 16px; }
.card p { margin-top: 8px; font-size: 14.5px; color: var(--mute); }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--orange-soft); border: 1px solid var(--orange-line); display: flex; align-items: center; justify-content: center; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: var(--orange2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 为什么快 */
.speed { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 4px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 34px 92px 1fr; gap: 0 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid #222226; counter-increment: s; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--orange-soft); color: var(--orange2); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; align-self: center; }
.steps b { color: var(--text); font-weight: 600; }
.steps span { color: var(--mute); font-size: 14.5px; }
.bars { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.bars figcaption { color: var(--text); font-weight: 600; margin-bottom: 20px; }
.bar { display: grid; grid-template-columns: 76px 1fr 84px; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 14px; }
.bar-l { color: var(--text2); }
.bar-t { height: 12px; border-radius: 6px; background: #2a2a2f; overflow: hidden; }
.bar-t i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--orange), var(--orange2)); }
.bar-v { color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.bar-goal .bar-t i { background: #52525b; }
.bar-goal .bar-v, .bar-goal .bar-l { color: var(--mute); }
.note { font-size: 12.5px; color: var(--mute2); margin-top: 18px; line-height: 1.7; }

/* 平台 */
.plats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.plat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.plat h3 { font-size: 17px; }
.plat p { font-size: 13px; color: var(--mute); flex: 1; }
.tag { align-self: flex-start; margin-top: 10px; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--orange-line); color: var(--orange2); background: var(--orange-soft); }
.tag-on { background: var(--orange); border-color: var(--orange); color: #fff; }
.tag-off { background: transparent; border-color: var(--line2); color: var(--mute2); }

/* 价格 */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 18px; margin-top: 40px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.price-hi { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange) inset; }
.price h3 { font-size: 18px; }
.amt { font-size: 40px; font-weight: 700; color: var(--text); margin-top: 8px; }
.amt-s { font-size: 28px; color: var(--mute); padding: 6px 0; }
.price ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.price li { padding-left: 24px; position: relative; }
.price li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--orange2); border-bottom: 2px solid var(--orange2); transform: rotate(-45deg); }

/* 下载 */
.dl { text-align: center; position: relative; overflow: hidden; }
.dl::before { content: ""; position: absolute; left: 50%; top: 0; width: 760px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(249,115,22,.12), transparent 70%); pointer-events: none; }
.dl-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.dl-in h2 { margin-top: 20px; }
.cta-c { justify-content: center; }

/* 常见问题 */
.faq { max-width: 800px; }
.faq h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid #26262a; }
summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; color: var(--text); font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--orange2); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 20px; color: var(--mute); font-size: 15px; }

/* 页脚 */
.foot { border-top: 1px solid #222226; padding: 28px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot .brand { font-size: 16px; }
.foot p { font-size: 13px; color: var(--mute2); }

/* 平板 */
@media (max-width: 960px) {
  .hero-in, .speed { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 56px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .plats { grid-template-columns: repeat(3, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid #222226; }
}
/* 手机 */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .sec { padding: 64px 0; }
  .grid, .prices { grid-template-columns: 1fr; }
  .plats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 14px; }
  .stat b { font-size: 30px; }
  .app-side { display: none; }
  .app-body { min-height: 0; }
  .app-big { font-size: 22px; }
  .steps li { grid-template-columns: 34px 1fr; }
  .steps li span { grid-column: 2; }
  .bar { grid-template-columns: 64px 1fr 72px; }
  .bars { padding: 22px 18px; }
}
