/* Easy OCR — 苹果极简风设计令牌（零外部依赖） */
:root {
  --bg:#f5f5f7; --surface:#fff; --surface-2:#fbfbfd;
  --text:#1d1d1f; --text-secondary:#6e6e73; --text-tertiary:#86868b;
  --border:#d2d2d7; --border-light:#e8e8ed;
  --apple-blue:#0071e3; --apple-blue-hover:#0077ed; --apple-blue-active:#006edb; --apple-blue-soft:#e8f1fb;
  --danger:#ff3b30; --danger-soft:#fff0ef;
  --shadow-sm:0 1px 2px rgba(0,0,0,.04),0 4px 12px rgba(0,0,0,.04);
  --shadow-md:0 6px 24px rgba(0,0,0,.07),0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:0 20px 50px rgba(0,0,0,.12),0 4px 16px rgba(0,0,0,.06);
  --radius-sm:10px; --radius:16px; --radius-lg:24px;
  --body-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
}
* { box-sizing:border-box; margin:0; padding:0; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body { font-family:var(--body-font); background:var(--bg); color:var(--text); line-height:1.6; min-height:100vh; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }

/* 原生按钮 */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 22px; font-family:var(--body-font); font-size:15px; font-weight:600; border-radius:12px; border:1px solid transparent; cursor:pointer; transition:transform .12s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; white-space:nowrap; }
.btn:hover { transform:translateY(-1px); }
.btn:active { transform:translateY(0); }
.btn:focus-visible { outline:none; box-shadow:0 0 0 4px var(--apple-blue-soft); }
.btn i { font-size:16px; line-height:1; }
.btn:disabled { opacity:.45; cursor:not-allowed; transform:none; box-shadow:none !important; }
.btn-primary { background:linear-gradient(180deg,#0a84ff,#0071e3); color:#fff; box-shadow:0 6px 16px rgba(0,113,227,.28); }
.btn-primary:hover { box-shadow:0 8px 22px rgba(0,113,227,.34); }
.btn-primary:active { background:linear-gradient(180deg,#0077ed,#0066d6); }
.btn-ghost { background:transparent; border-color:var(--border); color:var(--text); }
.btn-ghost:hover { background:var(--surface-2); border-color:var(--apple-blue); color:var(--apple-blue); }
.btn-ghost:active { background:var(--apple-blue-soft); }

/* 徽章 */
.badge { display:inline-flex; align-items:center; gap:6px; height:26px; padding:0 12px; border-radius:999px; font-size:13px; font-weight:600; line-height:1; white-space:nowrap; }
.badge-brand { background:var(--apple-blue-soft); color:var(--apple-blue); }
.badge-info { background:#eef5ff; color:#0a6bd4; }
.badge-subtle { background:rgba(0,0,0,.05); color:var(--text-secondary); }
.tag { height:22px; padding:0 10px; font-size:12px; }

/* 自定义复选框 */
.opt { display:inline-flex; align-items:center; gap:9px; cursor:pointer; font-size:15px; color:var(--text); user-select:none; }
.opt input { position:absolute; opacity:0; width:0; height:0; }
.opt-box { width:20px; height:20px; flex:none; border:1.5px solid var(--border); border-radius:6px; background:#fff; display:inline-flex; align-items:center; justify-content:center; transition:all .18s ease; }
.opt input:checked + .opt-box { background:var(--apple-blue); border-color:var(--apple-blue); }
.opt input:checked + .opt-box::after { content:''; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg) translate(-1px,-1px); }
.opt input:focus-visible + .opt-box { box-shadow:0 0 0 4px var(--apple-blue-soft); }
.opt:hover .opt-box { border-color:var(--apple-blue); }
.opt-label { line-height:1; }

/* 导航栏毛玻璃 */
.app-header { position:sticky; top:0; z-index:100; background:rgba(255,255,255,.72); backdrop-filter:blur(20px) saturate(1.8); -webkit-backdrop-filter:blur(20px) saturate(1.8); border-bottom:1px solid rgba(0,0,0,.06); }
.header-inner { max-width:1180px; margin:0 auto; padding:12px 24px; display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:#000; }
.brand-logo { width:34px; height:34px; border-radius:9px; display:block; object-fit:contain; flex:none; }
.brand-title { font-size:17px; font-weight:600; letter-spacing:-.01em; }
.lang-switch { display:flex; gap:4px; background:rgba(0,0,0,.04); padding:3px; border-radius:999px; }
.lang-btn { border:none; background:transparent; color:var(--text-secondary); border-radius:999px; padding:6px 14px; font-size:13px; font-weight:500; cursor:pointer; transition:all .18s ease; }
.lang-btn:hover { color:var(--text); }
.lang-btn.active { background:#fff; color:var(--text); font-weight:600; box-shadow:0 1px 4px rgba(0,0,0,.1); }

.app-main { max-width:1180px; margin:0 auto; padding:0 24px 80px; }

/* Hero */
.hero { text-align:center; padding:72px 20px 64px; margin:10px 0 12px; border-radius:var(--radius-lg); background:radial-gradient(ellipse 60% 50% at 50% -10%, rgba(0,113,227,.12), transparent 70%), linear-gradient(180deg,#fbfbfd,#f5f5f7); animation:fade-up .7s ease both; }
.hero-badge { margin-bottom:20px; }
.hero-title { font-size:clamp(30px,5.5vw,38px); font-weight:700; letter-spacing:-.025em; line-height:1.18; padding-bottom:.05em; color:var(--text); background:linear-gradient(180deg,#1d1d1f,#4a4a4e); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero-subtitle { font-size:17px; line-height:1.55; color:var(--text-secondary); margin:18px auto 0; max-width:900px; }
@keyframes fade-up { from { opacity:0; transform:translateY(16px);} to { opacity:1; transform:translateY(0);} }

/* 卡片 */
.card { background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius-lg); padding:28px; margin-bottom:24px; box-shadow:var(--shadow-md); }

/* 上传/拖拽 */
.upload-card { max-width:680px; margin-left:auto; margin-right:auto; }
.dropzone { border:2px dashed #c9c9cf; border-radius:var(--radius); padding:60px 24px; text-align:center; cursor:pointer; transition:all .25s ease; background:var(--surface-2); }
.dropzone:hover, .dropzone.dragover { border-color:var(--apple-blue); background:var(--apple-blue-soft); transform:translateY(-2px); box-shadow:0 12px 30px rgba(0,113,227,.1); }
.upload-icon { width:64px; height:64px; margin:0 auto 20px; padding:17px; border-radius:18px; background:linear-gradient(135deg,#0a84ff,#0066d6); color:#fff; display:block; box-shadow:0 10px 24px rgba(0,113,227,.28); }
.dropzone .main-text { font-size:18px; font-weight:600; color:var(--text); }
.dropzone .hint { font-size:13px; color:var(--text-secondary); margin-top:8px; }

/* 高级选项 */
.options { margin-top:20px; }
.options summary { cursor:pointer; font-size:13px; font-weight:500; color:var(--text-secondary); user-select:none; list-style:none; transition:color .15s; }
.options summary:hover { color:var(--apple-blue); }
.options summary::-webkit-details-marker { display:none; }
.options .grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; margin-top:14px; padding:16px; background:var(--surface-2); border-radius:var(--radius-sm); }
.opt { font-size:15px; }

/* 工作区 */
.ws-header { padding:20px 24px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.ws-header .file-info { display:flex; align-items:center; gap:14px; min-width:0; }
.file-icon { width:52px; height:52px; flex:none; border-radius:14px; background:linear-gradient(135deg,#eef5ff,#e0edfb); display:flex; align-items:center; justify-content:center; font-size:26px; }
.file-detail { min-width:0; }
.file-name { font-size:16px; font-weight:600; color:var(--text); max-width:360px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.file-size { font-size:12px; color:var(--text-secondary); margin-top:3px; }
.ws-actions { margin-left:auto; display:flex; gap:10px; flex-wrap:wrap; }
.ws-header .options { flex-basis:100%; margin-top:2px; }
.ws-body { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:stretch; }
.ws-left, .ws-right { margin-bottom:0; min-height:540px; display:flex; flex-direction:column; }
.file-preview { flex:1; border-radius:var(--radius-sm); background:var(--surface-2); border:1px solid var(--border-light); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.pdf-frame { width:100%; height:100%; min-height:540px; border:0; display:block; }
.img-preview { max-width:100%; max-height:100%; object-fit:contain; display:block; }
.preview-placeholder { text-align:center; padding:48px 24px; color:var(--text-secondary); }
.pp-icon { font-size:52px; margin-bottom:14px; }
.pp-name { font-size:15px; font-weight:600; color:var(--text); word-break:break-all; }
.pp-hint { font-size:12px; margin-top:8px; color:var(--text-tertiary); }
.ws-right { overflow:hidden; }
.result-content { display:flex; flex-direction:column; flex:1; }
.result-content .preview { flex:1; }
.result-empty { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:var(--text-secondary); padding:48px 24px; gap:6px; }
.empty-icon { width:60px; height:60px; color:#c9c9cf; margin-bottom:14px; }
.empty-title { font-size:17px; font-weight:600; color:var(--text); }
.empty-hint { font-size:13px; }
.workspace.dragover .ws-body { outline:2px dashed var(--apple-blue); outline-offset:6px; border-radius:var(--radius); }

/* 结果条/徽章/切换 */
.result-bar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:14px; }
.result-meta { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.result-meta .badge { font-size:13px; }
.view-toggle { display:flex; gap:4px; margin-left:auto; background:rgba(0,0,0,.04); padding:3px; border-radius:999px; }
.view-toggle button { padding:7px 16px; font-size:13px; font-weight:500; border-radius:999px; background:transparent; border:none; color:var(--text-secondary); cursor:pointer; transition:all .18s ease; }
.view-toggle button:hover { color:var(--text); }
.view-toggle button.active { background:#fff; color:var(--text); font-weight:600; box-shadow:0 1px 4px rgba(0,0,0,.1); }

/* 预览/源码 */
.preview { border:1px solid var(--border-light); border-radius:var(--radius-sm); padding:24px 28px; background:#fff; max-height:62vh; overflow:auto; font-size:15px; }
.preview h1 { font-size:24px; margin:18px 0 12px; font-weight:700; }
.preview h2 { font-size:19px; margin:16px 0 10px; font-weight:600; }
.preview h3 { font-size:16px; margin:14px 0 8px; font-weight:600; }
.preview p { margin:10px 0; }
.preview table { border-collapse:collapse; margin:12px 0; width:100%; }
.preview th, .preview td { border:1px solid var(--border-light); padding:8px 12px; text-align:left; }
.preview th { background:var(--surface-2); font-weight:600; }
.preview img { max-width:100%; }
.preview code { background:#f1f3f5; padding:2px 6px; border-radius:6px; font-family:"SF Mono",Consolas,monospace; font-size:.9em; }
.preview pre { background:#f6f7f8; padding:16px; border-radius:var(--radius-sm); overflow:auto; }
.preview pre code { background:transparent; padding:0; }
.preview blockquote { border-left:3px solid var(--border); padding-left:16px; color:var(--text-secondary); }
.preview hr { border:none; border-top:1px dashed var(--border); margin:24px 0; }
.raw { width:100%; min-height:420px; border:1px solid var(--border-light); border-radius:var(--radius-sm); padding:18px; font-family:"SF Mono",Consolas,monospace; font-size:13px; line-height:1.6; resize:vertical; background:#1d1d1f; color:#e8e8ed; }
.raw:focus { outline:none; border-color:var(--apple-blue); }
.error-box { background:var(--danger-soft); border:1px solid #ffd0cc; color:var(--danger); border-radius:var(--radius-sm); padding:14px 18px; margin-top:16px; font-size:13px; }
.parsing-box { background:var(--apple-blue-soft); border:1px solid #c5ddfa; color:var(--apple-blue); border-radius:var(--radius-sm); padding:14px 18px; margin:16px auto 0; width:fit-content; max-width:100%; font-size:13px; display:flex; align-items:center; gap:10px; }
.parsing-spinner { width:14px; height:14px; border:2px solid rgba(0,113,227,.25); border-top-color:var(--apple-blue); border-radius:50%; animation:spin .8s linear infinite; flex:none; }

/* 识别场景轮播 */
.demo { margin-top:4px; }
.demo-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; flex-wrap:wrap; }
.demo-title { font-size:24px; font-weight:700; letter-spacing:-.02em; }
.demo-subtitle { font-size:14px; color:var(--text-secondary); margin-top:4px; }
.demo-slider { position:relative; height:480px; border:1px solid var(--border-light); border-radius:var(--radius); background:var(--surface-2); overflow:hidden; outline:none; }
.demo-slider:focus-visible { box-shadow:0 0 0 3px var(--apple-blue-soft); border-color:var(--apple-blue); }
.demo-slides { position:absolute; inset:0; }
.demo-slide { position:absolute; inset:0; margin:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:34px 92px 72px; opacity:0; transform:scale(.98); pointer-events:none; transition:opacity .6s ease, transform .6s ease; cursor:pointer; }
.demo-slide.active { opacity:1; transform:scale(1); pointer-events:auto; z-index:1; }
.demo-slide:focus-visible { outline:none; }
.demo-slide img { max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; border-radius:var(--radius-sm); background:#fff; box-shadow:0 16px 40px rgba(0,0,0,.12); }
.demo-slide figcaption { flex:none; font-size:14px; font-weight:500; color:var(--text); display:flex; align-items:center; gap:8px; }
.demo-slide figcaption::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--apple-blue); flex:none; }
.demo-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.92); border:1px solid var(--border-light); color:var(--apple-blue); display:inline-flex; align-items:center; justify-content:center; padding:0; cursor:pointer; transition:all .2s ease; box-shadow:0 6px 18px rgba(0,0,0,.1); backdrop-filter:blur(8px); }
.demo-arrow:hover { background:var(--apple-blue); border-color:var(--apple-blue); color:#fff; transform:translateY(-50%) scale(1.05); }
.demo-arrow .bi { font-size:22px; }
.demo-arrow-prev { left:18px; }
.demo-arrow-next { right:18px; }
.demo-dots { position:absolute; left:0; right:0; bottom:18px; display:flex; justify-content:center; gap:8px; z-index:2; }
.demo-dot { width:10px; height:10px; border-radius:5px; background:#c9c9cf; border:none; padding:0; cursor:pointer; transition:all .25s ease; }
.demo-dot:hover { background:#a6a6ad; }
.demo-dot.active { width:28px; background:var(--apple-blue); }

/* 灯箱 */
.lightbox { position:fixed; inset:0; z-index:1000; background:rgba(10,10,12,.82); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); display:flex; align-items:center; justify-content:center; animation:lb-fade .2s ease; }
@keyframes lb-fade { from { opacity:0;} to { opacity:1;} }
.lb-figure { margin:0; max-width:90%; max-height:88%; display:flex; flex-direction:column; align-items:center; gap:16px; animation:lb-zoom .25s ease; }
@keyframes lb-zoom { from { transform:scale(.94); opacity:0;} to { transform:scale(1); opacity:1;} }
.lb-figure img { max-width:100%; max-height:82vh; object-fit:contain; border-radius:var(--radius-sm); box-shadow:0 30px 80px rgba(0,0,0,.5); background:#fff; }
.lb-figure figcaption { color:#fff; font-size:14px; font-weight:500; }
.lb-close { position:absolute; top:20px; right:24px; width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.2); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:all .18s ease; padding:0; }
.lb-close:hover { background:rgba(255,255,255,.3); transform:scale(1.05); }
.lb-close .bi { font-size:22px; }
.lb-nav { position:absolute; top:50%; transform:translateY(-50%); width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.2); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:all .18s ease; padding:0; }
.lb-nav:hover { background:rgba(255,255,255,.3); transform:translateY(-50%) scale(1.05); }
.lb-nav .bi { font-size:26px; }
.lb-prev { left:22px; }
.lb-next { right:22px; }

/* spinner */
.spinner { width:14px; height:14px; border:2px solid rgba(255,255,255,.3); border-top-color:#fff; border-radius:50%; animation:spin .8s linear infinite; display:inline-block; vertical-align:-2px; }
@keyframes spin { to { transform:rotate(360deg);} }

/* 服务状态 */
.service-status { display:inline-flex; align-items:center; gap:8px; margin-top:24px; padding:7px 16px; border-radius:999px; background:rgba(255,255,255,.75); border:1px solid var(--border-light); font-size:13px; font-weight:500; color:var(--text-secondary); box-shadow:var(--shadow-sm); }
.status-dot { width:8px; height:8px; border-radius:50%; background:#c9c9cf; flex:none; transition:background .2s ease; }
.service-status[data-state="checking"] .status-dot { background:#ff9500; animation:pulse 1.2s ease infinite; }
.service-status[data-state="ok"] .status-dot { background:#34c759; }
.service-status[data-state="error"] .status-dot { background:#ff3b30; }
@keyframes pulse { 0%,100% { opacity:1;} 50% { opacity:.35;} }

/* 区块通用 */
.section-head { text-align:center; max-width:680px; margin:0 auto 44px; }
.section-title { font-size:clamp(28px,4vw,40px); font-weight:700; letter-spacing:-.02em; }
.section-subtitle { font-size:16px; color:var(--text-secondary); margin-top:12px; line-height:1.6; }

/* 功能特性 */
.features { padding:64px 0 8px; }
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feature-card { background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius); padding:28px 26px; transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.feature-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:transparent; }
.feature-icon { width:48px; height:48px; border-radius:14px; background:linear-gradient(135deg,#0a84ff,#0066d6); color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:18px; box-shadow:0 8px 20px rgba(0,113,227,.22); }
.feature-card h3 { font-size:17px; font-weight:600; margin-bottom:8px; }
.feature-card p { font-size:14px; color:var(--text-secondary); line-height:1.6; }

/* 使用步骤 */
.how { padding:64px 0 8px; }
.steps { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.step { position:relative; background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius); padding:32px 26px; text-align:center; transition:transform .22s ease, box-shadow .22s ease; }
.step:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.step-num { position:absolute; top:-14px; left:50%; transform:translateX(-50%); width:30px; height:30px; border-radius:50%; background:var(--text); color:#fff; font-size:14px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.step-icon { width:54px; height:54px; margin:6px auto 18px; border-radius:16px; background:var(--apple-blue-soft); color:var(--apple-blue); display:flex; align-items:center; justify-content:center; font-size:26px; }
.step h3 { font-size:17px; font-weight:600; margin-bottom:8px; }
.step p { font-size:14px; color:var(--text-secondary); line-height:1.6; }

/* 常见问题 */
.faq { padding:64px 0 8px; max-width:760px; margin-left:auto; margin-right:auto; }
.faq-list { display:flex; flex-direction:column; gap:14px; }
.faq-item { background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius-sm); padding:6px 22px; transition:border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color:var(--apple-blue); box-shadow:var(--shadow-md); }
.faq-item summary { cursor:pointer; font-size:16px; font-weight:600; padding:14px 0; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'+'; font-size:22px; font-weight:400; color:var(--text-tertiary); transition:transform .2s ease; }
.faq-item[open] summary::after { transform:rotate(45deg); color:var(--apple-blue); }
.faq-item p { font-size:14px; color:var(--text-secondary); line-height:1.7; padding:0 0 18px; }

/* 页脚 */
.app-footer { margin-top:24px; background:var(--surface-2); border-top:1px solid var(--border-light); }
.footer-inner { max-width:1180px; margin:0 auto; padding:56px 24px 32px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1fr; gap:32px; padding-bottom:32px; }
.footer-brand .brand { margin-bottom:16px; }
.footer-tagline { font-size:14px; color:var(--text-secondary); line-height:1.7; max-width:280px; }
.footer-heading { font-size:13px; font-weight:600; color:var(--text); text-transform:uppercase; letter-spacing:.04em; margin-bottom:14px; }
.footer-col ul { list-style:none; }
.footer-col a { display:block; font-size:14px; color:var(--text-secondary); text-decoration:none; margin-bottom:10px; transition:color .15s ease; }
.footer-col a:hover { color:var(--apple-blue); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding-top:24px; border-top:1px solid var(--border-light); font-size:13px; color:var(--text-tertiary); }
.footer-contact a { color:var(--text-secondary); text-decoration:none; transition:color .15s ease; }
.footer-contact a:hover { color:var(--apple-blue); }
.footer-sep { color:var(--border); }
.footer-disclaimer { font-size:12px; color:var(--text-tertiary); line-height:1.7; margin-top:16px; max-width:820px; }

/* 主导航 */
.main-nav { display:flex; align-items:center; gap:4px; }
.main-nav a { font-size:14px; font-weight:500; color:var(--text-secondary); text-decoration:none; padding:8px 14px; border-radius:999px; transition:color .15s ease, background-color .15s ease; }
.main-nav a:hover { color:var(--text); background:rgba(0,0,0,.04); }
.header-actions { display:flex; align-items:center; gap:12px; }
.nav-toggle { display:none; flex-direction:column; justify-content:center; gap:5px; width:42px; height:42px; padding:0; background:transparent; border:1px solid var(--border-light); border-radius:10px; cursor:pointer; }
.nav-toggle span { display:block; width:18px; height:2px; margin:0 auto; background:var(--text); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }

/* Hero 能力清单 */
.hero-caps { list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:10px 22px; margin:26px auto 0; max-width:760px; }
.hero-caps li { display:inline-flex; align-items:center; gap:7px; font-size:15px; font-weight:500; color:var(--text); }
.hero-caps .bi { color:var(--apple-blue); font-size:16px; }

/* 识别能力 */
.capabilities, .formats, .usecases, .resources { padding:64px 0 8px; }
.caps-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.cap-card { background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius); padding:24px 20px; text-align:center; transition:transform .22s ease, box-shadow .22s ease; }
.cap-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.cap-icon { width:46px; height:46px; margin:0 auto 16px; border-radius:13px; background:var(--apple-blue-soft); color:var(--apple-blue); display:flex; align-items:center; justify-content:center; font-size:22px; }
.cap-card h3 { font-size:15px; font-weight:600; margin-bottom:8px; }
.cap-card p { font-size:13px; color:var(--text-secondary); line-height:1.6; }

/* 转换格式 */
.formats-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:760px; margin:0 auto; }
.format-card { background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius); padding:28px; }
.format-head { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.format-head .bi { width:40px; height:40px; border-radius:12px; background:var(--apple-blue-soft); color:var(--apple-blue); display:flex; align-items:center; justify-content:center; font-size:20px; }
.format-head h3 { font-size:17px; font-weight:600; }
.format-card ul { list-style:none; }
.format-card li { position:relative; padding:8px 0 8px 24px; font-size:14px; color:var(--text-secondary); border-bottom:1px solid var(--border-light); }
.format-card li:last-child { border-bottom:none; }
.format-card li::before { content:''; position:absolute; left:2px; top:50%; transform:translateY(-50%); width:8px; height:8px; border-radius:50%; background:var(--apple-blue); }

/* 使用场景 */
.usecases-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.usecase-card { background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius); padding:26px 22px; transition:transform .22s ease, box-shadow .22s ease; }
.usecase-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.usecase-icon { width:46px; height:46px; margin-bottom:16px; border-radius:13px; background:linear-gradient(135deg,#0a84ff,#0066d6); color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px; box-shadow:0 8px 20px rgba(0,113,227,.22); }
.usecase-card h3 { font-size:16px; font-weight:600; margin-bottom:8px; }
.usecase-card p { font-size:13px; color:var(--text-secondary); line-height:1.6; }

/* 隐私信任区 */
.privacy-sec { padding:64px 0 8px; }
.privacy-card { max-width:820px; margin:0 auto; display:flex; align-items:flex-start; gap:22px; background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius); padding:32px 34px; }
.privacy-icon { width:56px; height:56px; flex:none; border-radius:16px; background:var(--apple-blue-soft); color:var(--apple-blue); display:flex; align-items:center; justify-content:center; font-size:28px; }
.privacy-body h2 { font-size:22px; font-weight:700; margin-bottom:8px; }
.privacy-body > p { font-size:15px; color:var(--text-secondary); line-height:1.6; }
.privacy-links { margin-top:16px; display:flex; align-items:center; gap:8px; font-size:14px; }
.privacy-links a { color:var(--apple-blue); text-decoration:none; font-weight:500; }
.privacy-links a:hover { text-decoration:underline; }
.privacy-links span { color:var(--text-tertiary); }

/* 资源入口 */
.resources-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; max-width:880px; margin:0 auto; }
.resource-card { display:flex; flex-direction:column; align-items:center; gap:12px; padding:28px 20px; background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius); text-decoration:none; color:var(--text); transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.resource-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--apple-blue); }
.resource-card .bi { font-size:28px; color:var(--apple-blue); }
.resource-card span { font-size:15px; font-weight:500; }

/* 静态页 */
.page-hero { text-align:center; padding:72px 20px 56px; margin-top:75px; }
.page-title { font-size:clamp(32px,5vw,48px); font-weight:700; letter-spacing:-.02em; }
.page-subtitle { font-size:17px; color:var(--text-secondary); margin-top:14px; max-width:680px; margin-left:auto; margin-right:auto; line-height:1.6; }
.prose { max-width:780px; margin:0 auto; padding:0 20px 64px; }
.prose h2 { font-size:22px; font-weight:700; margin:36px 0 12px; }
.prose p { font-size:15px; color:var(--text-secondary); line-height:1.75; }
.prose a { color:var(--apple-blue); text-decoration:none; }
.prose a:hover { text-decoration:underline; }
.prose-list { list-style:none; margin:8px 0 0; }
.prose-list li { position:relative; padding:8px 0 8px 26px; font-size:15px; color:var(--text-secondary); line-height:1.6; }
.prose-list li::before { content:''; position:absolute; left:4px; top:50%; transform:translateY(-50%); width:9px; height:9px; border-radius:50%; background:var(--apple-blue); }
.contact-card { display:flex; align-items:flex-start; gap:20px; background:var(--surface); border:1px solid var(--border-light); border-radius:var(--radius); padding:32px; margin-top:8px; }
.contact-icon { width:52px; height:52px; flex:none; border-radius:14px; background:var(--apple-blue-soft); color:var(--apple-blue); display:flex; align-items:center; justify-content:center; font-size:24px; }
.contact-card h2 { margin:0 0 8px; }
.contact-email { font-size:18px; font-weight:600; color:var(--apple-blue); }
.contact-hint { font-size:13px; color:var(--text-tertiary); margin-top:6px; }

.hidden { display:none !important; }

/* 响应式 */
@media (max-width:900px) {
  .ws-body { grid-template-columns:1fr; }
  .ws-left, .ws-right { min-height:420px; }
  .pdf-frame { min-height:420px; }
  .ws-actions { margin-left:0; }
  .file-name { max-width:100%; }
  .demo-slider { height:400px; }
  .demo-slide { padding:24px 68px 60px; }
  .demo-arrow { width:40px; height:40px; }
  .lb-nav { width:42px; height:42px; }
  .lb-prev { left:12px; }
  .lb-next { right:12px; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .steps { grid-template-columns:repeat(2,1fr); }
  .caps-grid { grid-template-columns:repeat(3,1fr); }
  .usecases-grid { grid-template-columns:repeat(2,1fr); }
  .resources-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px) {
  .hero { padding:48px 16px 44px; }
  .hero-subtitle { font-size:16px; }
  .header-inner { padding:10px 16px; flex-wrap:wrap; }
  .brand-title { display:none; }
  .main-nav { display:none; position:absolute; top:64px; left:16px; right:16px; flex-direction:column; align-items:stretch; gap:2px; background:rgba(255,255,255,.98); border:1px solid var(--border-light); border-radius:var(--radius); padding:10px; box-shadow:var(--shadow-lg); }
  .main-nav.open { display:flex; }
  .main-nav a { padding:12px 16px; border-radius:10px; }
  .nav-toggle { display:flex; }
  .demo-slider { height:300px; }
  .demo-slide { padding:18px 52px 52px; gap:10px; }
  .demo-slide figcaption { font-size:13px; }
  .demo-arrow { width:36px; height:36px; }
  .demo-arrow-prev { left:8px; }
  .demo-arrow-next { right:8px; }
  .demo-dot { width:8px; height:8px; }
  .demo-dot.active { width:20px; }
  .lb-figure { max-width:94%; }
  .lb-close { top:12px; right:12px; width:40px; height:40px; }
  .features-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .caps-grid { grid-template-columns:1fr 1fr; }
  .usecases-grid { grid-template-columns:1fr; }
  .resources-grid { grid-template-columns:1fr; }
  .formats-grid { grid-template-columns:1fr; }
  .privacy-card { flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
}
