/* ============================================================
   ICO 图标工坊 · 蓝色主题
   主色 rgb(45,122,250) / #2D7AFA，配色参考 fnnas.com 的蓝色体系
   ============================================================ */
:root {
  --primary: #2D7AFA;          /* rgb(45,122,250) 主色 */
  --primary-deep: #0F5FFF;
  --primary-light: #4593FF;
  --primary-soft: #EBF3FF;
  --bg-soft: #F6FAFF;
  --bg-softer: #F3F8FF;
  --line: #DFEDFF;
  --line-2: #E9F0FB;
  --btn-line: #8AB2E8;         /* 按钮未选中态描边，明显深于 --line */
  --ink: #212229;
  --body: #4A5261;
  --muted: #7A8697;
  --navy: #0B1B38;
  --navy-soft: #123A78;
  --footer-dim: #93A4C2;
  --gold: #C99A4E;             /* 仅备案图标 hover 使用 */
  --radius: 16px;             /* 卡片圆角：与官网 site.css 一致 */
  --radius-sm: 10px;          /* 按钮 / 小控件圆角 */
  --radius-xs: 6px;
  --container: 1200px;        /* 与官网 site.css 完全一致的容器宽度 */
  --shadow: 0 8px 28px rgba(45, 122, 250, .10);
  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 15px; color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; }
[v-cloak] { display: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* 与官网 index.html 完全一致的容器规格：内容区 1200 + 24px 内边距 */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------- 按钮（规格与官网 index.html 一致） */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; transition: transform .24s ease, box-shadow .24s ease, background .24s ease, border-color .24s ease, color .24s ease; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-lg { height: 54px; padding: 0 32px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(45, 122, 250, .22); }
.btn-primary:hover { background: var(--primary-deep); box-shadow: 0 14px 30px rgba(45, 122, 250, .32); transform: translateY(-2px); }
.btn-primary:disabled { background: #A9C8F7; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: #fff; color: #20293C; border-color: #E7EBF2; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-outline { background: #fff; color: #20293C; border-color: #E7EBF2; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-outline:disabled { opacity: .5; cursor: not-allowed; transform: none; }
/* 工具页首屏是深蓝渐变，仅这里把幽灵按钮换成透明白边，尺寸与动效保持同一套 */
.hero .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.42); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ---------------------------------------------------------- 顶部公告条 */
/* 公告条暂时隐藏：HTML 与样式都原样保留，需要用的时候删除下面这一行即可恢复 */
.topbar { display: none !important; }
.topbar { background: var(--navy); color: #A9C4E8; height: 44px; }
.topbar-inner { height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.tb-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tb-left > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-tag { flex: none; color: var(--primary-light); font-weight: 500; }
.tb-right { display: flex; gap: 22px; flex: none; }
.tb-right a:hover { color: var(--primary-light); }

/* ---------------------------------------------------------- 导航 */
.nav { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 30; }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 20px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand strong { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.brand em { font-family: var(--serif); font-size: 9px; letter-spacing: .14em; color: var(--primary-light); font-style: normal; }

/* 公司 logo + 右上角 pngtoico 角标（头部 / 页脚共用） */
.brand-logo { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-logo-tag { position: absolute; top: -10px; right: -16px; padding: 2px 5px; border-radius: var(--radius-xs); background: var(--primary); color: #fff; font-size: 9px; font-weight: 600; line-height: 1.25; letter-spacing: .01em; font-style: normal; white-space: nowrap; box-shadow: 0 0 0 2px #fff; }
/* 菜单文字规格与 hover 下划线滑入特效，完全对齐官网 index.html 的 .site-nav */
.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a { position: relative; font-size: 15px; color: #20293C; transition: color .2s; white-space: nowrap; }
.nav-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; border-radius: 2px; background: var(--primary); transition: right .24s ease; }
.nav-menu a:hover, .nav-menu a.on { color: var(--primary); }
.nav-menu a:hover::after, .nav-menu a.on::after { right: 0; }
.btn-bookmark { height: 38px; padding: 0 18px; font-size: 13.5px; flex: none; }

/* ---------------------------------------------------------- 首屏 */
.hero { background: linear-gradient(100deg, #0A1A38 0%, #0F5FFF 100%); color: #fff; }
.hero-inner { min-height: 470px; padding-top: 88px; padding-bottom: 88px; display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.hero-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: 1.2px; color: var(--primary); }
.eyebrow i { display: block; width: 24px; height: 1px; background: var(--primary); }
.hero .eyebrow { color: #8FC0FF; }
.hero .eyebrow i { background: #8FC0FF; }
.hero h1 { font-size: 42px; line-height: 1.38; font-weight: 700; color: #fff; text-wrap: balance; }
/* 中文标题避免把「任意图片」「标准 ICO 图标」这类词组拆到两行 */
.hero h1 .nw { white-space: nowrap; }
.hero-sub { font-size: 16px; line-height: 1.9; color: #C8DCFA; max-width: 700px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { font-size: 14px; color: #A9C4E8; }
.hero-visual { flex: none; width: 420px; background: rgba(9, 40, 100, .55); border: 1px solid rgba(143,192,255,.22); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 26px; }
.visual-label { font-size: 11px; letter-spacing: 1.6px; color: #8FC0FF; }
.visual-squares { display: flex; align-items: flex-end; justify-content: center; gap: 10px; }
/* 6 个尺寸预览：同一张公司 logo 按尺寸阶梯展示，白底托底保证深蓝部分在深色 Hero 上可辨 */
.visual-squares i {
  display: block; flex: none; border-radius: var(--radius-xs);
  background-color: #fff;
  background-image: url('../img/company-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 88%;
  box-shadow: 0 3px 12px rgba(2, 16, 46, .28);
}
/* 轻微递减，保留尺寸层次但不让小尺寸 logo 消失 */
.visual-squares i:nth-child(1) { opacity: 1; }
.visual-squares i:nth-child(2) { opacity: .96; }
.visual-squares i:nth-child(3) { opacity: .92; }
.visual-squares i:nth-child(4) { opacity: .88; }
.visual-squares i:nth-child(5) { opacity: .84; }
.visual-squares i:nth-child(6) { opacity: .80; }
.visual-cap { font-size: 13px; color: #C8DCFA; }

/* ---------------------------------------------------------- 数据条 */
.stats { background: #fff; }
.stats-inner { padding-top: 44px; padding-bottom: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat b { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--primary); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.stat-sep { width: 1px; height: 44px; background: var(--line); flex: none; }

/* ---------------------------------------------------------- 通用区块 */
.section { padding: 88px 0; background: #fff; }
.section-soft { padding: 88px 0; background: var(--bg-soft); }
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 48px; }
.sec-head .eyebrow { justify-content: center; }
.sec-head h2 { font-size: 32px; font-weight: 700; color: var(--ink); }
.sec-head p { font-size: 16px; color: var(--body); }

/* ---------------------------------------------------------- 工具卡片 */
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.tool-row { display: flex; gap: 32px; align-items: stretch; }
.drop { flex: 1 1 auto; min-width: 0; min-height: 340px; background: var(--bg-softer); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; text-align: center; cursor: pointer; transition: border-color .18s, background .18s; }
.drop:hover, .drop.is-over { border-color: var(--primary); background: var(--primary-soft); }
.drop-icon { width: 56px; height: 56px; color: var(--primary); flex: none; }
.drop-title { font-size: 18px; font-weight: 500; color: var(--ink); }
.drop-sub { font-size: 14px; color: var(--muted); }
.drop .btn { margin-top: 4px; }

/* 已选图片直接覆盖上传提示区 */
.drop.has-file { background: var(--primary-soft); border: 2px solid var(--btn-line); gap: 0; padding: 24px; }
.drop-file { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.drop-file-img { width: 150px; height: 150px; flex: none; border: 2px solid var(--btn-line); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.drop-file-img img { width: 100%; height: 100%; object-fit: contain; }
.drop-file-name { font-size: 16px; font-weight: 600; color: var(--ink); max-width: 100%; word-break: break-all; }
.drop-file-meta { font-size: 13px; color: var(--primary-deep); }
.drop-file-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.drop-file-acts .btn { height: 38px; padding: 0 18px; font-size: 14px; margin-top: 0; }

/* 透明棋盘格底：让预览图片边界一眼可见 */
.checker {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #E4EEFC 25%, transparent 25%, transparent 75%, #E4EEFC 75%),
    linear-gradient(45deg, #E4EEFC 25%, transparent 25%, transparent 75%, #E4EEFC 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}

.preview { flex: none; width: 340px; min-height: 340px; background: var(--bg-softer); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.preview-label { width: 100%; font-size: 11px; letter-spacing: 1.4px; color: var(--muted); }
.preview-box { width: 160px; height: 160px; flex: none; border: 2px solid var(--btn-line); border-radius: var(--radius-sm); padding: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(45,122,250,.08); }
.preview-box img { width: 100%; height: 100%; object-fit: contain; image-rendering: auto; }
.preview-empty svg { width: 88px; height: 88px; }
.preview-name { font-size: 15px; font-weight: 500; color: var(--ink); text-align: center; word-break: break-all; }
.preview-meta { font-size: 13px; color: var(--muted); text-align: center; }
.preview-note { font-size: 12px; color: var(--primary); text-align: center; }

.status-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--primary-soft); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14px; font-weight: 500; color: var(--ink); }
.status-left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.status-left svg { width: 18px; height: 18px; flex: none; }
.link-btn { border: 0; background: none; padding: 0; color: var(--primary-deep); font-size: 14px; font-weight: 500; flex: none; }
.link-btn:hover { text-decoration: underline; }

.size-block { display: flex; flex-direction: column; gap: 16px; }
.size-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.size-head strong { font-size: 15px; font-weight: 500; color: var(--ink); }
.size-head span { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { height: 44px; padding: 0 22px; border: 1px solid var(--btn-line); border-radius: var(--radius-sm); background: #fff; color: var(--body); font-size: 15px; transition: all .15s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 500; }
.chip.on:hover { background: var(--primary-deep); color: #fff; }
.chip-action { color: var(--primary); border-style: dashed; border-color: var(--btn-line); padding: 0 16px; font-size: 14px; font-weight: 500; }
.size-tip { font-size: 12px; color: var(--muted); line-height: 1.8; }

.action { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.action-btns { display: flex; gap: 16px; }
.action-note { font-size: 13px; color: var(--muted); text-align: center; }
.progress { width: 100%; max-width: 520px; height: 6px; background: var(--primary-soft); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); border-radius: 99px; transition: width .2s; }
.progress-text { font-size: 13px; color: var(--primary); }

/* ---------------------------------------------------------- 结果 */
.result-card { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.result-head > div { display: flex; flex-direction: column; gap: 6px; }
.result-head strong { font-size: 17px; color: var(--ink); }
.result-head span { font-size: 13px; color: var(--muted); }
.result-head .zip-filename { font-size: 12px; color: var(--primary-deep); word-break: break-all; }
.result-head .btn { flex: none; }

.result-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.result-item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; border: 1px solid var(--btn-line); border-radius: var(--radius-sm); background: var(--bg-softer); text-align: left; position: relative; transition: border-color .18s, transform .18s; }
.result-item:hover { border-color: var(--primary); transform: translateY(-2px); }
.ri-name { font-size: 14px; font-weight: 500; color: var(--ink); word-break: break-all; }
.ri-meta { font-size: 12px; color: var(--muted); }
.ri-dl { position: absolute; right: 14px; top: 14px; font-size: 12px; color: var(--primary); }

/* ---------------------------------------------------------- 步骤 / 特性 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step-card .idx { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--primary); }
.step-card h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.step-card p { font-size: 15px; line-height: 1.9; color: var(--body); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feat-card svg { width: 32px; height: 32px; color: var(--primary); }
.feat-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.feat-card p { font-size: 14px; line-height: 1.9; color: var(--body); }

/* ---------------------------------------------------------- 怎么使用 ICO */
.usage-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.usage-steps { min-width: 0; }
.usage-steps > h3 { font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.usage-step { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.usage-step:first-of-type { border-top: 1px solid var(--line-2); }
.us-num { flex: none; width: 34px; font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.05; color: var(--primary); }
.usage-step > div { min-width: 0; }
.usage-step strong { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.usage-step p { margin-top: 7px; font-size: 14px; line-height: 1.85; color: var(--body); }

.usage-card { min-width: 0; background: var(--bg-softer); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 28px; }
.usage-card > strong { display: block; font-size: 18px; font-weight: 700; color: var(--ink); }
.usage-card > p { margin: 12px 0 18px; font-size: 14px; line-height: 1.9; color: var(--body); }
.usage-card code:not(.code-text), .faq-item code { padding: 1px 5px; border-radius: var(--radius-xs); background: var(--primary-soft); color: var(--primary-deep); font-size: 12px; font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace; }
.code-box { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-xs); background: #0B1B38; }
.code-text { flex: 1; min-width: 0; max-width: 100%; overflow-x: auto; white-space: nowrap; color: #E8F2FF; font-size: 13px; line-height: 1.5; font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace; }
.copy-btn { flex: none; height: 32px; padding: 0 14px; border: 1px solid #5C7CA8; border-radius: var(--radius-xs); background: rgba(255,255,255,.06); color: #fff; font-size: 12px; font-weight: 500; transition: background .18s, border-color .18s; }
.copy-btn:hover { background: var(--primary); border-color: var(--primary); }
.usage-card > a { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--primary-deep); text-decoration: underline; }
.usage-card > a:hover { color: var(--primary); }

/* ---------------------------------------------------------- FAQ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.faq-item:first-child { border-top: 1px solid var(--line-2); }
.faq-item h3 { font-size: 16px; font-weight: 500; color: var(--ink); }
.faq-item p { font-size: 15px; line-height: 1.9; color: var(--body); }

/* ---------------------------------------------------------- 页脚（视觉与官网 index.html 统一） */
.footer { background: #0C1730; color: #93A4C2; padding: 66px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 40px; padding-bottom: 52px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-head { display: flex; align-items: center; gap: 20px; }
.footer-brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-logo-footer { width: 46px; height: 46px; padding: 4px; background: #fff; border-radius: var(--radius-sm); }
.brand-logo-footer .brand-logo-tag { right: -18px; }
.footer-brand strong { font-size: 17px; font-weight: 600; color: #fff; }
.footer-brand em { font-family: var(--serif); font-size: 9px; letter-spacing: 1.4px; color: #6FA8FF; font-style: normal; }
.footer-brand p { margin-top: 6px; max-width: 340px; font-size: 13px; line-height: 1.9; color: #93A4C2; }
.footer-links { display: flex; justify-content: space-between; gap: 40px; }
.fcol { display: flex; flex-direction: column; }
.fcol strong { margin-bottom: 18px; font-size: 14px; font-weight: 600; color: #fff; }
.fcol a { display: block; font-size: 13px; line-height: 2.25; color: #93A4C2; transition: color .2s; }
.fcol a:hover { color: #6FA8FF; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px 26px; flex-wrap: wrap; font-size: 12.5px; }
.fb-left, .fb-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.company-link { color: #93A4C2; }
.company-link:hover { color: #6FA8FF; }
.record { display: inline-flex; align-items: center; gap: 7px; color: #93A4C2; transition: color .18s; }
.record .rec-icon { width: 16px; height: 16px; color: currentColor; flex: none; }
.record:hover { color: var(--gold); }       /* 悬停变金色，与官网备案链接一致 */
.record:hover .rec-icon { color: currentColor; }

/* ---------------------------------------------------------- Toast */
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 100; background: var(--ink); color: #fff; font-size: 14px; padding: 14px 22px; border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(10,27,56,.28); max-width: 90vw; text-align: center; }
.fade-enter-active, .fade-leave-active { transition: opacity .25s; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* ---------------------------------------------------------- 响应式 */
@media (max-width: 1100px) {
  .hero-visual { width: 340px; padding: 26px; }
  .hero-inner { gap: 40px; }
  .preview { width: 300px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .result-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; flex-direction: column; align-items: flex-start; }
  .hero-visual { width: 100%; max-width: 420px; }
  .hero h1 { font-size: 34px; }
  .tool-row { flex-direction: column; }
  .drop, .preview { width: 100%; min-height: 260px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { width: 100%; }
  .footer-links { gap: 24px; }
  .result-list { grid-template-columns: repeat(2, 1fr); }
  .usage-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 640px) {
  .section, .section-soft { padding: 60px 0; }
  .sec-head h2 { font-size: 26px; }
  .topbar-inner { font-size: 12px; }
  .tb-right { display: none; }
  .nav-inner { height: 68px; }
  .brand strong { font-size: 17px; }
  .btn-bookmark { padding: 0 14px; font-size: 14px; }
  .stats-inner { flex-wrap: wrap; justify-content: flex-start; gap: 20px 28px; }
  .stat-sep { display: none; }
  .stat b { font-size: 24px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }
  .hero-visual { padding: 22px; }
  .visual-squares { gap: 6px; }
  .tool-card { padding: 20px; gap: 20px; }
  .drop.has-file { padding: 16px; min-height: 300px; }
  .drop-file { gap: 8px; }
  .drop-file-img { width: 110px; height: 110px; }
  .drop-file-acts .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .size-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .chips { gap: 8px; }
  .chip { padding: 0 14px; height: 40px; font-size: 14px; }
  .action-btns { flex-direction: column; width: 100%; }
  .action-btns .btn { width: 100%; }
  .result-card { padding: 20px; }
  .result-head { flex-direction: column; align-items: flex-start; }
  .result-head .btn { width: 100%; }
  .result-list { grid-template-columns: 1fr 1fr; }
  .result-item { padding: 12px; }
  .ri-dl { position: static; align-self: flex-end; margin-top: 2px; }
  .status-strip { flex-wrap: wrap; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fb-right { gap: 14px; }
  .footer-links { flex-wrap: wrap; }
  .fcol { min-width: 90px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-logo-footer { width: 40px; height: 40px; }
  .brand, .footer-brand-head { gap: 16px; }
  .brand-logo-tag { font-size: 8px; padding: 2px 4px; right: -14px; top: -9px; }
  .brand-logo-footer .brand-logo-tag { right: -16px; }
  .usage-card { padding: 20px; }
  .usage-steps > h3 { font-size: 22px; }
  .code-box { flex-direction: column; align-items: stretch; gap: 10px; }
  .copy-btn { align-self: flex-start; }
}

/* 窄屏内边距与官网 site.css 保持同一断点、同一数值 */
@media (max-width: 620px) { .container { padding: 0 18px; } }
