/* ============================================================
   Make文档 (makeym.com) · Design System v3
   Make蓝 #2563EB 为主、辅助紫 #6D5CE7 少量使用
   简洁、专业、可信、办公工具化；动效仅保留 hover/上传/进度/状态
   ============================================================ */

:root {
  --primary: #2563EB;
  --primary-2: #6D5CE7;
  --primary-dark: #1D4ED8;
  --primary-soft: #EFF4FE;
  --grad: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  --bg: #F6F8FC;
  --card: #ffffff;
  --text: #111827;
  --text-light: #64748B;
  --border: #E5E7EB;
  --success: #16a34a;
  --danger: #e0342f;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05), 0 1px 3px rgba(17, 24, 39, .04);
  --shadow-md: 0 4px 12px rgba(17, 24, 39, .06), 0 12px 28px rgba(17, 24, 39, .07);
  --shadow-lg: 0 10px 24px rgba(17, 24, 39, .10), 0 24px 56px rgba(17, 24, 39, .12);
  --ring: 0 0 0 3px rgba(37, 99, 235, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "HarmonyOS Sans SC", "PingFang SC", "MiSans", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------------- Header ---------------- */
.site-header {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 234, 244, .9);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; letter-spacing: -.01em;
  color: var(--text); text-decoration: none;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 107, 246, .35);
}
/* 渐变文字只作用于「文档」二字（原写法 .logo span 会误伤 .logo-mark，
   把图标背景裁成 text 导致图标整块不可见） */
.logo .logo-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text-light); text-decoration: none;
  padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500;
  transition: color .15s, background .15s;
}
/* 分类下拉 */
.nav-item { position: relative; }
.nav-item > a::after {
  content: ''; display: inline-block; margin-left: 5px;
  border: 4px solid transparent; border-top-color: currentColor;
  vertical-align: middle; transform: translateY(2px);
}
.nav-drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 10px; min-width: 190px;
  display: none; grid-template-columns: 1fr; gap: 2px; z-index: 80;
  max-height: 420px; overflow-y: auto;
}
.nav-item:hover .nav-drop { display: grid; }
.nav-drop a {
  display: block; padding: 7px 12px; font-size: 13.5px; white-space: nowrap;
  color: var(--text); border-radius: 8px;
}
.nav-drop a:hover { background: var(--primary-soft); color: var(--primary); }
.nav a:hover { color: var(--primary); background: var(--primary-soft); }
.nav a.nav-cta {
  background: var(--grad); color: #fff; font-weight: 600;
  margin-left: 8px; padding: 8px 18px;
  box-shadow: 0 4px 12px rgba(79, 107, 246, .3);
}
.nav a.nav-cta:hover { color: #fff; filter: brightness(1.06); background: var(--grad); }

/* ---------------- Hero ---------------- */
.hero { position: relative; text-align: center; padding: 58px 0 22px; }
.hero h1 {
  font-size: 42px; font-weight: 800; letter-spacing: -.02em;
  line-height: 1.25; margin-bottom: 12px;
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .subtitle { font-size: 17px; color: var(--text-light); font-weight: 500; }
.brand-kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  color: var(--primary); background: var(--primary-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; text-transform: uppercase;
}
.hero-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* Hero 双栏（首页）：文案 + 产品插画 */
.hero.hero-home {
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center;
  gap: 18px; text-align: left; padding: 34px 0 10px;
}
.hero-home .hero-copy h1 { font-size: 44px; }
.hero-home .hero-copy .subtitle { margin-bottom: 13px; }
.hero-art { position: relative; max-width: 430px; margin-left: auto; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }

/* 动效原则（Make文档 §2.1）：仅保留上传、进度、hover、成功/失败等有意义动效，
   装饰性漂浮/旋转/流光动画一律移除 */

/* ---------------- Upload zone（品牌色实底大色块） ---------------- */
.upload-zone {
  position: relative;
  background: linear-gradient(135deg, #2f6bf0 0%, #4a8cf7 100%);
  border-radius: 22px;
  padding: 30px 24px;
  text-align: center; cursor: pointer;
  transition: box-shadow .25s, transform .2s, background .2s;
  margin: 14px 0 18px;
  box-shadow: 0 14px 34px rgba(47, 107, 240, .28);
  overflow: hidden;
}
.upload-zone::before {
  content: ''; position: absolute; inset: 10px;
  border: 2px dashed rgba(255, 255, 255, .38);
  border-radius: 14px; pointer-events: none;
}
.upload-zone:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(47, 107, 240, .38);
}
.upload-zone.dragover {
  background: linear-gradient(135deg, #255fe0 0%, #3f82f2 100%);
  transform: scale(1.01);
  box-shadow: 0 22px 50px rgba(47, 107, 240, .45);
}
.upload-zone .icon {
  width: 60px; height: 60px; margin: 0 auto 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .16);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s;
}
.upload-zone:hover .icon { transform: translateY(-4px) scale(1.03); }
.upload-zone .main-text { font-size: 19px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; color: #fff; }
.upload-zone .hint { color: rgba(255, 255, 255, .85); font-size: 14px; }
.upload-zone .btn {
  background: #fff; color: #2f6bf0; box-shadow: 0 8px 20px rgba(15, 40, 100, .22);
}
.upload-zone .btn:hover { background: #fff; color: #255fe0; filter: brightness(.97); transform: translateY(-1px); }

.format-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 13px; }
.format-tags span {
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  padding: 4px 13px; font-size: 12px; color: #fff; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.upload-zone:hover .format-tags span { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .2); }

/* ---------------- Trust bar ---------------- */
.trust-bar {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 12px; margin: 26px 0 10px;
  box-shadow: var(--shadow-sm);
}
.trust-bar .t-item {
  text-align: center; flex: 1; min-width: 130px;
  border-left: 1px solid var(--border);
}
.trust-bar .t-item:first-child { border-left: none; }
.trust-bar .t-item b {
  display: block; font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-bar .t-item span { color: var(--text-light); font-size: 13px; font-weight: 500; }

.features {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  color: var(--text-light); font-size: 14px; margin: 18px 0 34px; font-weight: 500;
}
.features span::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 7px;
  vertical-align: -3px; border-radius: 50%;
  background: var(--grad) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ---------------- 转换方向大图标（工具页） ---------------- */
.convert-flow {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 6px 0 20px; flex-wrap: wrap;
}
.cf-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cf-ico {
  width: 84px; height: 84px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 800; letter-spacing: .3px;
  box-shadow: 0 10px 24px rgba(24, 39, 75, .16);
  position: relative; overflow: hidden;
}
.cf-ico::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.28) 0%, transparent 45%);
}
.cf-src .cf-ico { background: linear-gradient(135deg, #8b96ac, #64748b); }
.cf-tgt .cf-ico { background: var(--grad); box-shadow: 0 12px 28px rgba(79, 107, 246, .38); }
.cf-label { font-size: 13px; color: var(--text-light); font-weight: 600; }
.cf-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); color: var(--primary);
}
.cf-arrow-ico { display: flex; align-items: center; justify-content: center; }

/* ---------------- 移动端底部操作栏 ---------------- */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(24, 39, 75, .08);
}
.mobile-bar .mb-inner { display: flex; gap: 10px; align-items: center; }
.mobile-bar .btn { flex: 1; text-align: center; padding: 12px 10px; font-size: 15px; }
.mobile-bar .mb-home {
  flex: 0 0 auto; width: 46px; height: 46px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block; background: var(--grad); color: #fff; border: none;
  padding: 13px 30px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600;
  cursor: pointer; text-decoration: none; letter-spacing: .01em;
  box-shadow: 0 4px 14px rgba(79, 107, 246, .32);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 8px 22px rgba(79, 107, 246, .42); }
.btn:active { transform: translateY(0); }
.btn:disabled { background: #a8b3cc; box-shadow: none; cursor: not-allowed; filter: none; transform: none; }
.btn-outline {
  background: #fff; color: var(--primary);
  border: 1.5px solid #c9d3f7; box-shadow: var(--shadow-sm);
}
.btn-outline:hover { background: var(--primary-soft); border-color: var(--primary); box-shadow: var(--shadow-sm); filter: none; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; flex: 0 0 auto; }

/* ---------------- Options panel ---------------- */
.options-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin: 16px 0; box-shadow: var(--shadow-sm);
}
.options-panel .opt-row { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; flex-wrap: wrap; }
.options-panel label { font-size: 14px; color: var(--text-light); min-width: 80px; font-weight: 500; }
.options-panel select, .options-panel input[type="number"], .options-panel input[type="text"] {
  padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px;
  background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.options-panel select:focus, .options-panel input:focus {
  outline: none; border-color: var(--primary); box-shadow: var(--ring);
}
.options-panel input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }

/* ---------------- File list ---------------- */
.file-list { margin: 16px 0; }
.file-list:empty { display: none; }
.file-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 11px 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s;
}
.file-item:hover { box-shadow: var(--shadow-md); border-color: #d8def0; }
.file-item .thumb {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 11px; overflow: hidden;
  background: linear-gradient(135deg, #eef1fe, #e8f2fd); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.file-item .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-item .thumb-icon { font-size: 25px; }
.file-item .f-info { flex: 1; min-width: 0; }
.file-item .name { font-size: 14px; font-weight: 600; word-break: break-all; }
.file-item .meta { color: var(--text-light); font-size: 13px; }
.file-item .status-ok { color: var(--success); font-weight: 600; }
.file-item .status-fail { color: var(--danger); font-weight: 600; }

/* ---------------- Progress ---------------- */
.progress-wrap { margin: 20px 0; display: none; }
.progress-bar {
  height: 10px; background: #e8ebf5; border-radius: 999px; overflow: hidden;
}
.progress-bar .fill {
  height: 100%; border-radius: 999px; width: 0;
  background: var(--grad); transition: width .4s;
  box-shadow: 0 2px 8px rgba(79, 107, 246, .4);
}
.progress-text { text-align: center; margin-top: 9px; color: var(--text-light); font-size: 14px; font-weight: 500; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 20px 0 38px; }
.step-card {
  position: relative;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card .s-num {
  width: 46px; height: 46px; line-height: 46px; margin: 0 auto 14px;
  background: var(--grad); color: #fff; border-radius: 50%;
  font-size: 19px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(79, 107, 246, .35), 0 0 0 6px rgba(79, 107, 246, .10);
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.step-card p { color: var(--text-light); font-size: 14px; }

/* ---------------- Tool cards ---------------- */
.section-title {
  font-size: 26px; font-weight: 800; letter-spacing: -.02em;
  margin: 46px 0 20px;
}
.tool-category { margin-bottom: 34px; }
.tool-category h2 {
  display: flex; align-items: center; gap: 11px;
  font-size: 19px; font-weight: 700; margin-bottom: 16px; color: var(--text);
}
.cat-icon {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 38px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 10px rgba(24, 39, 75, .16);
}
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 15px; }
.tool-card {
  position: relative;
  background: var(--card); border: 1px solid var(--border); border-radius: 15px;
  padding: 20px 18px; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .22s, border-color .18s;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cfd8f2;
}
.tool-card .t-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  padding: 3px 9px; border-radius: 7px; margin-bottom: 10px;
  background: var(--primary-soft); color: var(--primary);
}
.tool-card .t-name { font-weight: 700; font-size: 15px; margin-bottom: 5px; letter-spacing: -.01em; }
.tool-card .t-desc { color: var(--text-light); font-size: 13px; }

/* 分类配色 */
.cat-img .cat-icon { background: linear-gradient(135deg, #7c6cf5, #5b8df8); }
.cat-img .t-badge { background: #eef0fe; color: #5b6cf0; }
.cat-edit .cat-icon { background: linear-gradient(135deg, #14b8c4, #2dd4a7); }
.cat-edit .t-badge { background: #e6faf8; color: #0e9e8f; }
.cat-pdf .cat-icon { background: linear-gradient(135deg, #f4657c, #f2885d); }
.cat-pdf .t-badge { background: #fdeef1; color: #e2546c; }
.cat-doc .cat-icon { background: linear-gradient(135deg, #f2a93b, #ee7d43); }
.cat-doc .t-badge { background: #fdf3e5; color: #d98c22; }

/* ---------------- Content sections ---------------- */
.content-section {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; margin: 26px 0; box-shadow: var(--shadow-sm);
}
.content-section h2 {
  font-size: 21px; font-weight: 700; margin-bottom: 15px; letter-spacing: -.01em;
}
.content-section p { margin-bottom: 12px; color: var(--text); }
.content-section ol, .content-section ul { padding-left: 22px; margin-bottom: 12px; }
.content-section li { margin-bottom: 8px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 15px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item .q { font-weight: 700; margin-bottom: 6px; }
.faq-item .a { color: var(--text-light); font-size: 15px; }

/* ---------------- 联系我们页面 ---------------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin: 22px 0 2px;
}
.contact-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 15px 17px;
}
.contact-item .ci-label { font-size: 12.5px; color: var(--text-light); margin-bottom: 7px; }
.contact-item .ci-value { font-size: 15.5px; font-weight: 600; color: var(--text); word-break: break-all; }
.contact-item .ci-value a { color: var(--primary); text-decoration: none; }
.contact-item .ci-value a:hover { text-decoration: underline; }
.contact-item .ci-copy { cursor: pointer; }
.contact-note {
  margin-top: 18px; padding: 15px 18px; white-space: pre-line;
  background: var(--primary-soft); border-radius: var(--radius-sm);
  color: var(--text); font-size: 14.5px; line-height: 1.85;
}

/* ---------------- Result area ---------------- */
.result-area { display: none; margin: 20px 0; }
.result-summary { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; }
.result-summary .stat {
  background: var(--card); border: 1px solid var(--border); border-radius: 13px;
  padding: 13px 20px; box-shadow: var(--shadow-sm);
}
.result-summary .stat b {
  display: block; font-size: 19px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: linear-gradient(180deg, #1a2338 0%, #121a2c 100%);
  margin-top: 64px; padding: 40px 0 34px;
  color: #97a3bd;
}
.privacy-note {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 13px; padding: 15px 19px;
  font-size: 14px; color: #b3bed8; margin-bottom: 20px;
}
.footer-links { margin-bottom: 12px; }
.footer-links a {
  color: #b3bed8; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.copyright { color: #6d7a99; font-size: 13px; }

/* ---------------- Misc ---------------- */
.badge-recommend {
  background: #dcfce7; color: var(--success);
  font-size: 12px; font-weight: 600; padding: 2px 9px;
  border-radius: 999px; margin-left: 6px;
}

/* 通用输入（登录/注册/账户页） */
.opt-row input[type="text"], .opt-row input[type="password"],
.opt-row input[type="tel"], .opt-row input[type="email"] {
  padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.opt-row input:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }

/* ---------------- 工具卡文件叠层图标 ---------------- */
.t-icon { line-height: 0; margin-bottom: 12px; }
.t-icon .fstack { filter: drop-shadow(0 6px 14px rgba(30, 41, 80, .16)); transition: transform .25s; }
.tool-card:hover .t-icon .fstack { transform: translateY(-3px) scale(1.06); }

/* ---------------- 三栏叙事（怎么转/免费/安全） ---------------- */
.feature-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 30px 0;
}
.f3-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  transition: transform .22s, box-shadow .22s;
}
.f3-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.f3-card .f3-ico {
  width: 56px; height: 56px; margin: 0 auto; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.f3-card h3 { font-size: 16.5px; margin: 14px 0 8px; letter-spacing: -.01em; }
.f3-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.85; margin: 0; }

/* ---------------- 页脚备案行 ---------------- */
.footer-icp {
  margin-top: 12px; display: flex; justify-content: center; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255, 255, 255, .55); flex-wrap: wrap;
}
.footer-icp a { color: rgba(255, 255, 255, .55); text-decoration: none; }
.footer-icp a:hover { color: #fff; }

/* ---------------- 权益徽章（Make文档 §5） ---------------- */
.t-badge.b-free {
  background: #e7f8ef; color: #17965f;
}
.t-badge.b-basic {
  background: var(--primary-soft); color: var(--primary);
}
.t-badge.b-pro {
  background: #eeeafd; color: #6D5CE7;
}

/* 即将上线占位卡 */
.tool-card.card-soon {
  cursor: default; opacity: .62;
  background: #fafbfe; border-style: dashed;
}
.tool-card.card-soon:hover {
  transform: none; box-shadow: var(--shadow-sm); border-color: var(--border);
}

/* ---------------- 永久免费专区（Make文档 §4） ---------------- */
.free-zone {
  background: linear-gradient(180deg, #f2fbf6 0%, #f7fdf9 100%);
  border: 1px solid #d7efe2;
  border-radius: 22px;
  padding: 30px 26px 24px;
  margin: 30px 0;
}
.free-head { text-align: center; margin-bottom: 22px; }
.free-head h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -.02em;
  color: #12704a; margin-bottom: 7px;
}
.free-head p { color: #4b7c67; font-size: 14.5px; margin: 0; }
.free-zone .tool-card { border-color: #dcefe5; }
.free-zone .tool-card:hover { border-color: #b9e2cd; }

/* ---------------- 智能匹配条 ---------------- */
.smart-match {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--primary-soft); border: 1px solid #d9e2fd;
  border-radius: 14px; padding: 13px 18px; margin-bottom: 16px;
}
.smart-match .sm-text { font-size: 14px; color: var(--text); }
.smart-match .sm-text b { color: var(--primary); }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }

/* ---------------- 权益说明卡（Make文档 §5） ---------------- */
.plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 8px 0 10px;
}
.plan-card {
  position: relative;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .22s;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-card .p-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .4px;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
  background: #e7f8ef; color: #17965f;
}
.plan-card .p-tag.p-pro {
  background: linear-gradient(135deg, #6D5CE7 0%, #8b7cf6 100%); color: #fff;
}
.plan-card:nth-child(2) .p-tag { background: var(--primary-soft); color: var(--primary); }
.plan-card h3 { font-size: 17px; margin: 0 0 9px; letter-spacing: -.01em; }
.plan-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.85; margin: 0; }
.plan-featured {
  border-color: #bcd0fb;
  box-shadow: 0 10px 26px rgba(37, 99, 235, .14);
}

/* ---------------- 页脚多列（Make文档 §2.2） ---------------- */
.footer-cols {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 26px; margin-bottom: 26px;
}
.f-col h4 {
  color: #e8edf8; font-size: 14.5px; font-weight: 700;
  letter-spacing: .02em; margin: 0 0 12px;
}
.f-col p { font-size: 13.5px; line-height: 1.85; color: #97a3bd; margin: 0 0 10px; }
.f-col .f-domain {
  font-weight: 700; color: #7fb0ff; letter-spacing: .03em; margin: 0;
}
.f-col a {
  display: block; color: #b3bed8; text-decoration: none;
  font-size: 13.5px; margin-bottom: 9px; transition: color .15s;
}
.f-col a:hover { color: #fff; }

/* ---------------- 导航补充（即将上线/移动菜单） ---------------- */
.nav-soon {
  color: var(--text-light); font-size: 14.5px; font-weight: 500;
  padding: 8px 12px; opacity: .65; cursor: default;
}
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 10px;
  width: 38px; height: 38px; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--card); border-top: 1px solid var(--border);
  padding: 8px 20px 14px;
  box-shadow: var(--shadow-md);
}
.nav-mobile a {
  padding: 11px 4px; color: var(--text); text-decoration: none;
  font-size: 15px; border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  .hero { padding: 36px 0 16px; }
  .hero h1 { font-size: 28px; }
  .hero .subtitle { font-size: 15px; }
  .hero.hero-home { grid-template-columns: 1fr; text-align: center; padding: 30px 0 10px; }
  .hero-home .hero-copy h1 { font-size: 27px; }
  .hero-art { max-width: 340px; margin: 6px auto 0; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .feature-3 { grid-template-columns: 1fr; }
  .upload-zone { padding: 26px 16px; }
  .upload-zone .icon { width: 54px; height: 54px; border-radius: 16px; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .content-section { padding: 22px 18px; }
  .steps { grid-template-columns: 1fr; }
  .trust-bar .t-item { min-width: 45%; border-left: none; }
  .trust-bar .t-item b { font-size: 22px; }
  .section-title { font-size: 22px; }
  .convert-flow { gap: 10px; }
  .cf-ico { width: 66px; height: 66px; border-radius: 18px; font-size: 15px; }
  .cf-arrow { width: 46px; height: 46px; }
  /* 底部操作栏：仅移动端 + 有上传区的页面 */
  body.has-mobile-bar .mobile-bar { display: block; }
  body.has-mobile-bar { padding-bottom: 84px; }
  .plan-grid { grid-template-columns: 1fr; }
  .smart-match { flex-direction: column; align-items: stretch; text-align: center; }
  .free-zone { padding: 22px 14px 16px; border-radius: 18px; }
  .free-head h2 { font-size: 20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 430px) {
  .tool-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tool-card { padding: 15px 13px; }
  .btn { width: 100%; text-align: center; }
  .logo { font-size: 16px; }
  .mobile-bar .btn { width: auto; }
}
