:root {
  --primary: #2563eb;
  --primary-d: #1d4ed8;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --green: #16a34a;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.04);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--primary); cursor: pointer; text-decoration: none; }

/* 顶栏 */
.topbar {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border-bottom: 1px solid var(--border);
  padding: 0 20px; height: 96px; position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow);
}
.brand { font-weight: 700; font-size: 18px; color: var(--primary); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.brand-logo { height: 80px; width: auto; max-width: 540px; object-fit: contain; display: inline-block; }
@media (max-width: 640px) { .brand { font-size: 15px; gap: 6px; } .brand-logo { height: 66px; max-width: 420px; } }
.nav { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.nav a {
  padding: 8px 14px; border-radius: 8px; color: var(--muted); font-weight: 500;
}
.nav a:hover { background: #eef2ff; color: var(--primary); }
.nav a.active { background: var(--primary); color: #fff; }
.user-area { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.user-area .who { font-size: 13px; color: var(--muted); }

.container { max-width: 1080px; margin: 24px auto; padding: 0 16px; }

/* 卡片 */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; } }

h2.section-title { font-size: 20px; margin: 4px 0 16px; }
h3 { margin: 0 0 8px; font-size: 16px; }
.muted { color: var(--muted); font-size: 14px; }

/* 按钮 */
.btn {
  border: 1px solid var(--border); background: #fff; color: var(--text);
  padding: 9px 16px; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 500;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn.primary:hover { background: var(--primary-d); color: #fff; }
.btn.sm { padding: 5px 10px; font-size: 13px; }
.btn.green { background: var(--green); color:#fff; border-color: var(--green); }

/* 体系文件：行业 × 分类 两栏布局 */
.docs-layout { display: flex; gap: 20px; align-items: flex-start; }
.docs-sidebar {
  flex: 0 0 200px; background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px; box-shadow: var(--shadow); position: sticky; top: 16px;
}
.docs-sidebar-title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; letter-spacing: .5px; }
.docs-industry {
  padding: 10px 12px; border-radius: 9px; cursor: pointer; font-size: 14px; color: var(--text);
  border: 1px solid transparent; margin-bottom: 4px; transition: all .15s;
}
.docs-industry:hover { background: #f0f4ff; }
.docs-industry.active { background: var(--primary); color: #fff; font-weight: 600; }
.docs-main { flex: 1; min-width: 0; }
.docs-head { font-size: 22px; font-weight: 700; margin: 4px 0 4px; }
.docs-section { font-size: 15px; font-weight: 600; color: var(--muted); margin: 14px 0 12px; padding-left: 10px; border-left: 4px solid var(--primary); }
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.cat-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.cat-head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  cursor: pointer; font-weight: 600; font-size: 15px; user-select: none;
}
.cat-head:hover { background: #f7f9ff; }
.cat-head.open { color: var(--primary); }
.cat-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }
.cat-count { font-size: 12px; background: #eef2ff; color: var(--primary); border-radius: 999px; padding: 1px 8px; }
.cat-arrow { transition: transform .15s; font-size: 12px; }
.cat-body { border-top: 1px solid var(--border); padding: 6px 0; background: #fafbff; }
.cat-file { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 14px; color: var(--text); }
.cat-file:hover { background: #eef2ff; }
.cat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex: 0 0 auto; }
.cat-code { font-size: 11px; color: #9aa3b2; background: #eef1f6; border-radius: 4px; padding: 1px 6px; flex: 0 0 auto; font-family: ui-monospace, Menlo, Consolas, monospace; }
.cat-sub { display: flex; align-items: center; gap: 8px; padding: 8px 16px 4px; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--primary); background: #f1f4fb; border-top: 1px dashed #d8deea; }
.cat-sub:first-child { border-top: none; }
.cat-sub-count { font-weight: 600; color: #8a93a6; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 0 8px; font-size: 11px; }
.cat-empty { padding: 10px 16px; font-size: 13px; }
.cat-dept { padding: 12px 16px 4px; }
.cat-dept-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-dept-btn { padding: 6px 12px; border: 1px solid var(--border); background: #fff; border-radius: 999px; font-size: 13px; color: var(--text); cursor: pointer; transition: all .15s; }
.cat-dept-btn:hover { border-color: var(--primary); color: var(--primary); }
.cat-dept-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.cat-dept-body { padding: 4px 0 6px; }
@media (max-width: 720px) {
  .docs-layout { flex-direction: column; }
  .docs-sidebar { flex: none; width: 100%; position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .docs-sidebar-title { width: 100%; }
  .docs-industry { margin-bottom: 0; }
  .cat-grid { grid-template-columns: 1fr; }
}
.badge { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.badge.cat { background: #dbeafe; color: #1e40af; }
.badge.ok { background: #dcfce7; color: #166534; }
.badge.warn { background: #fef3c7; color: #92400e; }
.badge.off { background: #f3f4f6; color: #6b7280; }

/* 后台表格通用 */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.admin-table th { background: #f8fafc; padding: 9px 10px; text-align: left; border-bottom: 2px solid var(--border); white-space: nowrap; font-weight: 600; color: var(--text); }
.admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; }
.admin-table tr:hover td { background: #f8faff; }
.note-cell { max-width: 200px; white-space: pre-wrap; word-break: break-word; }
.hint { color: var(--muted); font-size: 12px; }

/* tab 标题区：标题 + 操作按钮 */
.tab-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0; }
.tab-head h3 { margin: 8px 0; }

/* 行内小操作按钮 */
.btn-mini { border: 1px solid var(--border); background: #fff; color: var(--text); padding: 4px 9px; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 500; margin-right: 4px; }
.btn-mini:hover { border-color: var(--primary); color: var(--primary); }
.btn-mini.danger { color: #dc2626; border-color: #fecaca; }
.btn-mini.danger:hover { background: #fee2e2; border-color: #dc2626; color: #dc2626; }
.ops { white-space: nowrap; }
select.mini { padding: 4px 8px; border: 1px solid var(--border); border-radius: 7px; font-size: 12px; background: #fff; color: var(--text); cursor: pointer; }

/* 软件卡片 */
.soft-icon { font-size: 34px; }
.soft-features { list-style: none; padding: 0; margin: 8px 0; }
.soft-features li { font-size: 13px; color: var(--muted); padding-left: 16px; position: relative; }
.soft-features li:before { content: "✓"; color: var(--green); position: absolute; left: 0; }
.trial-info { font-size: 12px; background: #f9fafb; border: 1px dashed var(--border); border-radius: 8px; padding: 8px; margin-top: 8px; }
.trial-info code { background: #eef2ff; padding: 1px 5px; border-radius: 4px; }
.soft-card { cursor: pointer; transition: .15s; }
.soft-card:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(37,99,235,.12); }
.soft-more { margin-top: 10px; color: var(--primary); font-size: 13px; font-weight: 500; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 12px 0; }
.shot-grid img { width: 100%; border-radius: 8px; border: 1px solid var(--border); }
.soft-video { margin: 12px 0; }

/* 报价 */
.price { font-size: 30px; font-weight: 800; color: var(--primary); }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan-items { list-style: none; padding: 0; margin: 10px 0; }
.plan-items li { font-size: 14px; padding: 4px 0 4px 20px; position: relative; }
.plan-items li:before { content: "•"; color: var(--primary); position: absolute; left: 4px; }
.pay-tabs { display: flex; gap: 8px; margin: 12px 0; }
.pay-tabs button { flex: 1; }
.pay-tabs button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pay-panel { display: none; }
.pay-panel.active { display: block; }
.qr-img { max-width: 160px; border: 1px solid var(--border); border-radius: 10px; }
.account-box { background: #f9fafb; border: 1px solid var(--border); border-radius: 10px; padding: 12px; font-size: 14px; }

/* 订单 */
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.tag.pending { background: #fef3c7; color: #92400e; }
.tag.paid { background: #dcfce7; color: #166534; }
.tag.cancelled { background: #fee2e2; color: #991b1b; }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal-mask[hidden] { display: none; }
.modal { background: #fff; border-radius: 16px; padding: 24px; width: 340px; max-width: 92vw; position: relative; box-shadow: var(--shadow); }
.modal-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.modal-tabs button { flex: 1; padding: 8px; border: 1px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; }
.modal-tabs button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.modal input { width: 100%; padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: 9px; font-size: 14px; }
.modal input:focus { outline: none; border-color: var(--primary); }
.form-error { color: #dc2626; font-size: 13px; min-height: 18px; }
.modal-close { position: absolute; right: 12px; top: 8px; border: none; background: none; font-size: 24px; cursor: pointer; color: var(--muted); }
.oauth-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 14px 0 10px; }
.oauth-divider::before, .oauth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.oauth-row { display: flex; gap: 8px; }
.oauth-row[hidden] { display: none; }
.oauth-btn { flex: 1; padding: 9px 6px; border: 1px solid var(--border); background: #fff; border-radius: 9px; cursor: pointer; font-size: 13px; transition: .15s; }
.oauth-btn:hover { border-color: var(--primary); background: #f8faff; }
.oauth-ico { width: 18px; height: 18px; vertical-align: -4px; margin-right: 5px; border-radius: 5px; }

/* AI 客服 */
#chatWidget .chat-fab {
  position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; font-size: 26px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(37,99,235,.45); z-index: 200;
}
.chat-panel {
  position: fixed; right: 20px; bottom: 88px; width: 360px; max-width: 94vw; height: 520px; max-height: 80vh;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  overflow: hidden; z-index: 200; border: 1px solid var(--border);
}
.chat-panel[hidden] { display: none; }
.chat-head { background: var(--primary); color: #fff; padding: 12px 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.chat-head button { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; background: #f8fafc; }
.chat-msg { margin-bottom: 12px; max-width: 85%; }
.chat-msg.user { margin-left: auto; text-align: right; }
.chat-bubble { display: inline-block; padding: 9px 12px; border-radius: 12px; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.chat-msg.bot .chat-bubble { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 2px; }
.chat-msg.user .chat-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 2px; }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 9px; font-size: 14px; }
.chat-input button { padding: 0 14px; }
.typing { font-size: 12px; color: var(--muted); padding: 0 14px 8px; }

.footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }

/* ================= AI 对话首页 ================= */
.ai-home {
  position: fixed; inset: 61px 0 0 0;
  display: flex; flex-direction: column; align-items: center;
  background: #fff;
}
.ai-conversation {
  flex: 1; width: 100%; max-width: 860px;
  overflow-y: auto; padding: 20px 16px 120px;
  display: flex; flex-direction: column; gap: 18px;
}
.ai-conversation[hidden] { display: none; }
.ai-welcome {
  flex: 1; width: 100%; max-width: 860px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 16px 140px; text-align: center;
  transition: .25s ease;
}
.ai-welcome.has-messages {
  flex: 0 0 auto; justify-content: flex-start;
  padding: 24px 16px 10px;
}
.ai-title {
  font-size: 32px; font-weight: 700; color: #111827; margin: 0 0 28px;
}
.ai-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 760px;
}
.ai-tag {
  border: 1px solid #e5e7eb; background: #f9fafb; color: #374151;
  padding: 10px 16px; border-radius: 999px; font-size: 14px; cursor: pointer;
  transition: .15s; line-height: 1.4;
}
.ai-tag:hover {
  background: #f3f4f6; border-color: #d1d5db; color: #111827;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.ai-input-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid #f3f4f6;
  padding: 12px 16px 20px;
  display: flex; flex-direction: column; align-items: center;
  z-index: 60;
}
.ai-input-card {
  width: 100%; max-width: 820px;
  border: 1px solid #e5e7eb; border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  background: #fff; padding: 12px 14px;
  position: relative;
}
.ai-input-card textarea {
  width: 100%; min-height: 28px; max-height: 160px;
  border: none; outline: none; resize: none;
  font-size: 15px; line-height: 1.5; color: #111827;
  padding: 2px 12px; background: transparent;
  font-family: inherit;
}
.ai-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ai-attachment {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 4px 8px; font-size: 12px; color: #374151; max-width: 220px;
}
.ai-attach-x { cursor: pointer; color: #9ca3af; font-weight: 700; font-size: 14px; line-height: 1; }
.ai-attach-x:hover { color: #dc2626; }
.ai-attach-size { color: #9ca3af; font-size: 11px; }
.ai-more-panel {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100% - 24px));
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12); padding: 12px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; z-index: 70;
}
.ai-more-panel[hidden] { display: none; }
.ai-more-panel button {
  border: 1px solid #eef0f3; background: #f9fafb; color: #374151;
  border-radius: 10px; padding: 12px 8px; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; text-align: center;
  transition: .15s;
}
.ai-more-panel button:hover { background: #eef2ff; border-color: #c7d2fe; color: #1d4ed8; }
.ai-input-buttons { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.ai-mic {
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: #eef0f3; color: #374151;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .1s;
}
.ai-mic:hover { background: #e2e6ec; }
.ai-mic:active { transform: scale(.94); }
.ai-mic.recording { background: #dc2626; color: #fff; animation: aiMicPulse 1s infinite; }
@keyframes aiMicPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,.5); } 50% { box-shadow: 0 0 0 8px rgba(220,38,38,0); } }
.ai-input-card textarea::placeholder { color: #9ca3af; }
.ai-input-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-top: 8px; padding-top: 8px; border-top: 1px solid #f3f4f6;
}
.ai-tool {
  border: none; background: transparent; color: #6b7280;
  font-size: 13px; padding: 6px 8px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.ai-tool:hover { background: #f3f4f6; color: #374151; }
.ai-tool.ai-fast { color: #2563eb; }
.ai-send {
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: #2563eb; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
  transition: background .15s, transform .1s;
}
.ai-send:hover { background: #1d4ed8; }
.ai-send:active { transform: scale(.94); }
.ai-send-ico { width: 19px; height: 19px; display: block; }
.ai-input-hint {
  height: 18px; margin-top: 6px; font-size: 12px; color: #6b7280;
}
.ai-msg {
  display: flex; gap: 10px; align-items: flex-start; max-width: 100%;
}
.ai-msg.user { flex-direction: row-reverse; }
.ai-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.ai-avatar.bot { background: #2563eb; color: #fff; }
.ai-avatar.user { background: #e5e7eb; color: #374151; }
.ai-content { max-width: calc(100% - 50px); }
.ai-bubble {
  padding: 10px 14px; border-radius: 14px; font-size: 15px;
  line-height: 1.6; white-space: pre-wrap; word-break: break-word;
}
.ai-msg.bot .ai-bubble { background: #f3f4f6; color: #111827; border-bottom-left-radius: 4px; }
.ai-msg.user .ai-bubble { background: #2563eb; color: #fff; border-bottom-right-radius: 4px; }
.ai-bubble code { background: rgba(0,0,0,.08); padding: 1px 4px; border-radius: 4px; font-size: 13px; }
.ai-bubble pre {
  background: #1f2937; color: #f3f4f6; padding: 10px; border-radius: 8px;
  overflow-x: auto; font-size: 13px; margin: 6px 0;
}
.ai-bubble pre code { background: transparent; padding: 0; }
.ai-bubble.typing { background: #f3f4f6; display: flex; gap: 4px; padding: 12px 14px; }
.ai-bubble.typing span {
  width: 7px; height: 7px; border-radius: 50%; background: #9ca3af;
  animation: aiTyping 1s infinite ease-in-out;
}
.ai-bubble.typing span:nth-child(2) { animation-delay: .15s; }
.ai-bubble.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes aiTyping {
  0%, 80%, 100% { transform: scale(.7); opacity: .5; }
  40% { transform: scale(1); opacity: 1; }
}
.ai-voice-overlay {
  position: fixed; inset: 0; background: rgba(255,255,255,.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 200; backdrop-filter: blur(2px); pointer-events: none;
}
.ai-voice-overlay p { color: #374151; font-size: 16px; margin-top: 16px; }
/* hidden 属性必须生效，否则会一直覆盖整页（默认 [hidden]{display:none} 优先级低于 .ai-voice-overlay 的 display:flex） */
.ai-voice-overlay[hidden] { display: none; }
.ai-voice-pulse {
  width: 80px; height: 80px; border-radius: 50%;
  background: #2563eb;
  animation: aiPulse 1.2s infinite ease-in-out;
}
@keyframes aiPulse {
  0% { transform: scale(.85); opacity: .7; box-shadow: 0 0 0 0 rgba(37,99,235,.4); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 20px rgba(37,99,235,0); }
  100% { transform: scale(.85); opacity: .7; box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

@media (max-width: 640px) {
  .ai-title { font-size: 24px; margin-bottom: 20px; }
  .ai-tag { padding: 8px 12px; font-size: 13px; }
  .ai-tool { font-size: 12px; padding: 5px 6px; }
  .ai-tool span { display: none; }
  .ai-mic, .ai-send { width: 34px; height: 34px; }
  .ai-input-card { padding: 10px 12px; }
}

/* ================= 登录落地页（简约商务高级风） ================= */
body.landing-page {
  background: #f4f6f9;
}
body.landing-page .topbar {
  display: none;
}
body.landing-page .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  margin: 0 auto;
  padding: 24px;
}
.login-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08), 0 2px 10px rgba(15, 23, 42, 0.04);
  width: 100%;
  max-width: 560px;
  padding: 0 40px 48px;
  text-align: center;
  box-sizing: border-box;
}
.login-brand {
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.login-icon {
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 124px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.login-title {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0 0;
  letter-spacing: 0.04em;
}
.login-tagline {
  color: #64748b;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.02em;
}
.login-highlights {
  color: #94a3b8;
  font-size: 13px;
  margin: 18px 0 36px;
  letter-spacing: 0.02em;
}
.login-highlights i {
  font-style: normal;
  color: #d4dbe6;
  margin: 0 6px;
}
.btn-login-main {
  width: 100%;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}
.btn-login-main:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* 登录弹窗表单优化 */
.modal-login { width: 420px; max-width: 94vw; padding: 32px; border-radius: 20px; }
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}
.modal input {
  margin-bottom: 0;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color .15s, box-shadow .15s;
}
.modal input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; }
#captchaCanvas {
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  background: #f8fafc;
}
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin: 8px 0 14px;
}
.remember-me { color: #4b5563; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.remember-me input { width: auto; margin: 0; }
.forgot-link { color: var(--primary); font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }
.btn-block { width: 100%; padding: 12px; font-size: 15px; font-weight: 600; border-radius: 10px; }

/* 页脚 */
.footer {
  padding: 32px 24px;
  background: transparent;
  color: #6b7280;
}
.footer-contact {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-line strong { color: #374151; font-weight: 500; margin-right: 4px; }
.footer-line a { color: #4b5563; }
.footer-line a:hover { color: var(--primary); }
.footer-copy {
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.8;
}
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
.footer-links a { color: #6b7280; }
.footer-links a:hover { color: var(--primary); }
.footer-divider { color: #d1d5db; }
.footer-beian {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
  line-height: 1.8;
}
.footer-beian a { color: #9ca3af; }
.footer-beian a:hover { color: var(--primary); }

/* 响应式 */
@media (max-width: 560px) {
  .topbar { height: auto; flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .brand { font-size: 15px; }
  .nav a { padding: 6px 10px; font-size: 13px; }
  .container { margin: 16px auto; }
  body.landing-page .container { min-height: calc(100vh - 180px); padding: 16px; }
  .login-card { padding: 0 22px 36px; }
  .login-brand { padding: 32px 0 0; gap: 8px; }
  .login-icon { max-width: 110px; max-height: 90px; }
  .login-title { font-size: 26px; }
  .login-tagline { font-size: 14px; }
  .login-highlights { margin: 12px 0 26px; font-size: 12px; }
  .footer-contact { flex-direction: column; gap: 8px; }
  .footer-links { display: block; margin-left: 0; margin-top: 6px; }
}

/* 协议弹窗 */
.modal-policy {
  width: 720px;
  max-width: 94vw;
  max-height: 82vh;
  padding: 28px 32px 32px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}
.policy-head { border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 16px; }
.policy-head h3 { margin: 0 0 6px; font-size: 19px; color: #111827; }
.policy-updated { font-size: 13px; color: #9ca3af; }
.policy-body {
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.9;
  color: #374151;
  padding-right: 6px;
}
.policy-body h3 {
  font-size: 15px;
  margin: 18px 0 6px;
  color: #1f2937;
}
.policy-body p { margin: 0 0 10px; }
.policy-body .policy-todo {
  color: #b45309;
  background: #fffbeb;
  border: 1px dashed #fcd34d;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 14px;
}
@media (max-width: 560px) {
  .modal-policy { padding: 22px 18px 24px; max-height: 88vh; }
  .policy-body { font-size: 13px; line-height: 1.8; }
}

/* ================= 合作方案（营销单页） ================= */
.coop-page { max-width: 1040px; margin: 0 auto; }
.coop-hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 55%, #172554 100%);
  color: #fff; padding: 42px 36px; border-radius: 0 0 22px 22px; position: relative; overflow: hidden;
}
.coop-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.coop-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,.9) 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,.9) 0%, transparent 60%);
}
.coop-orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; }
.coop-orb-1 { width: 260px; height: 260px; background: #60a5fa; right: -60px; top: -70px; }
.coop-orb-2 { width: 180px; height: 180px; background: #34d399; left: 40%; bottom: -80px; opacity: .35; }
.coop-hero-left { position: relative; z-index: 1; }
.coop-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .5px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 6px 12px 6px 6px; border-radius: 999px; backdrop-filter: blur(4px); }
.coop-logo { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.coop-brand small { display: block; font-weight: 400; font-size: 11px; opacity: .85; }
.coop-hero h1 { font-size: 34px; margin: 22px 0 12px; font-weight: 900; line-height: 1.18; letter-spacing: .5px; }
.coop-hero .coop-highlight { background: linear-gradient(90deg, #fbbf24, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 2px 14px rgba(251,191,36,.25); }
.coop-hero .coop-em { font-weight: 700; border-bottom: 2px solid rgba(251,191,36,.6); }
.coop-hero-lead { font-size: 15.5px; opacity: .92; max-width: 560px; line-height: 1.65; }
.coop-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.coop-badges span {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  backdrop-filter: blur(4px);
}
.coop-badges span:before { content: "✓"; color: #34d399; font-weight: 800; }
.coop-hero-right { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; min-height: 230px; }
.coop-viz { position: relative; width: 260px; height: 260px; }
.coop-viz-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 110px; height: 110px; }
.coop-viz-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); }
.coop-viz-ring:before, .coop-viz-ring:after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.coop-viz-ring:before { inset: -22px; }
.coop-viz-ring:after { inset: -44px; border-style: dashed; }
.coop-viz-icon { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; letter-spacing: 1px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.coop-viz-pulse { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(96,165,250,.5); animation: coop-pulse 2.4s ease-out infinite; }
@keyframes coop-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.coop-viz-card { position: absolute; left: 50%; top: 50%; width: 92px; padding: 9px 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; backdrop-filter: blur(6px); text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.15); transform: translate(-50%,-50%) rotate(calc(var(--i) * 90deg)) translateX(115px) rotate(calc(var(--i) * -90deg)); animation: coop-float 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .25s); }
.coop-viz-card b { display: block; font-size: 16px; font-weight: 800; }
.coop-viz-card span { display: block; font-size: 10.5px; opacity: .85; margin-top: 2px; }
@keyframes coop-float { 0%,100% { transform: translate(-50%,-50%) rotate(calc(var(--i) * 90deg)) translateX(115px) rotate(calc(var(--i) * -90deg)) translateY(0); } 50% { transform: translate(-50%,-50%) rotate(calc(var(--i) * 90deg)) translateX(115px) rotate(calc(var(--i) * -90deg)) translateY(-6px); } }
.coop-sec { margin-top: 30px; }
.coop-h2 { font-size: 19px; color: var(--primary-d); border-left: 5px solid var(--primary); padding-left: 11px; margin-bottom: 14px; }
.coop-h2 span { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.coop-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.coop-grid2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; }
.coop-pillar, .coop-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.coop-pillar .coop-n { font-size: 12px; color: var(--primary); font-weight: 700; letter-spacing: 1px; }
.coop-pillar h3 { font-size: 15px; margin: 6px 0; }
.coop-pillar p { font-size: 12.5px; color: var(--muted); }
.coop-card h3 { font-size: 15px; margin-bottom: 8px; }
.coop-card.coop-lead { border-color: #f59e0b; background: #fffbeb; }
.coop-card.coop-main { border-color: var(--primary); background: #eff6ff; }
.coop-item { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.coop-item:last-child { border-bottom: 0; }
.coop-item b { color: var(--primary-d); }
.coop-note { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 10px; padding: 11px 14px; font-size: 13px; margin-top: 14px; }
.coop-note-inline { font-size: 12px; color: var(--muted); margin-top: 8px; }
.coop-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.coop-pkg { border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow); }
.coop-pkg.coop-hot { border: 2px solid var(--primary); box-shadow: 0 6px 20px rgba(37,99,235,.15); position: relative; }
.coop-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 11px; padding: 3px 12px; border-radius: 999px; }
.coop-pkg h3 { font-size: 16px; }
.coop-fit { font-size: 11.5px; color: var(--muted); margin: 3px 0 10px; }
.coop-price { font-size: 24px; font-weight: 800; color: var(--primary-d); }
.coop-price small { font-size: 12px; color: var(--muted); font-weight: 400; }
.coop-save { display: block; font-size: 11.5px; color: var(--green); font-weight: 600; margin-top: 2px; }
.coop-pkg ul { list-style: none; margin: 10px 0 0; padding: 0; font-size: 12.5px; flex: 1; }
.coop-pkg li { padding: 4px 0 4px 16px; position: relative; color: #374151; }
.coop-pkg li:before { content: "✓"; color: var(--green); position: absolute; left: 0; font-weight: 700; }
.coop-disc { margin-top: 10px; font-size: 11.5px; color: #92400e; background: #fffbeb; border-radius: 8px; padding: 6px 9px; }
.coop-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 6px; }
.coop-table th, .coop-table td { border: 1px solid var(--border); padding: 8px 9px; text-align: left; vertical-align: top; }
.coop-table th { background: #f1f5f9; color: var(--primary-d); font-weight: 700; }
.coop-table tbody tr:nth-child(even) { background: #fafcff; }
.coop-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.coop-rule { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; box-shadow: var(--shadow); }
.coop-rule h4 { font-size: 13.5px; color: var(--primary-d); margin-bottom: 4px; }
.coop-rule p { font-size: 12.5px; color: #374151; }
.coop-renew { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-top: 12px; }
.coop-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%); color: #fff; border-radius: 14px; padding: 22px 24px; margin-top: 30px; text-align: center; }
.coop-cta h2 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.coop-cta p { opacity: .95; font-size: 14px; }
.coop-contact { margin-top: 12px; font-size: 15px; font-weight: 700; }
.coop-footer { text-align: center; color: var(--muted); font-size: 11.5px; margin-top: 22px; }
@media (max-width: 860px) {
  .coop-hero { grid-template-columns: 1fr; padding: 30px 22px; }
  .coop-hero h1 { font-size: 26px; }
  .coop-hero-right { min-height: 210px; order: -1; }
  .coop-viz { width: 220px; height: 220px; }
  .coop-viz-core { width: 90px; height: 90px; }
  .coop-viz-icon { font-size: 22px; }
  .coop-viz-card { width: 80px; padding: 7px 8px; transform: translate(-50%,-50%) rotate(calc(var(--i) * 90deg)) translateX(95px) rotate(calc(var(--i) * -90deg)); }
  @keyframes coop-float { 0%,100% { transform: translate(-50%,-50%) rotate(calc(var(--i) * 90deg)) translateX(95px) rotate(calc(var(--i) * -90deg)) translateY(0); } 50% { transform: translate(-50%,-50%) rotate(calc(var(--i) * 90deg)) translateX(95px) rotate(calc(var(--i) * -90deg)) translateY(-5px); } }
}
@media (max-width: 820px) { .coop-grid3, .coop-grid2, .coop-pkgs, .coop-rules { grid-template-columns: 1fr; } }
