:root {
  --bg: #eef2f7;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #94a3b8;
  --line: #e8edf5;
  --indigo: #6366f1;
  --violet: #7c3aed;
  --purple: #a855f7;
  --green: #10b981;
  --orange: #f97316;
  --red: #ef4444;
  --blue: #3b82f6;
  --grad: linear-gradient(135deg, #6366f1 0%, #7c3aed 55%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  --shadow: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow-lg: 0 18px 50px rgba(79, 70, 229, .16);
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }
input, select, textarea { font-family: inherit; font-size: 14px; }

/* ============ 通用 ============ */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; padding: 12px 20px; font-size: 14px; font-weight: 600;
  transition: .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(99, 102, 241, .28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(99, 102, 241, .34); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-ghost { background: #f1f5f9; color: #334155; }
.btn-ghost:hover { background: #e8eef7; }
.btn-soft { background: #eef2ff; color: #4f46e5; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; border-radius: 10px; font-size: 13px; }
.btn-danger { background: #fef2f2; color: #dc2626; }

.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; background: #eef2ff; color: #4f46e5;
}
.badge-green { background: #ecfdf5; color: #059669; }
.badge-gray { background: #f1f5f9; color: #64748b; }
.badge-red { background: #fef2f2; color: #dc2626; }
.badge-orange { background: #fff7ed; color: #ea580c; }

/* ============ 认证页 ============ */
.auth-page {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 16px; position: relative; overflow: hidden;
  background: radial-gradient(900px 500px at 12% 0%, rgba(99, 102, 241, .16), transparent 60%),
              radial-gradient(800px 500px at 92% 12%, rgba(168, 85, 247, .14), transparent 62%),
              #eef2f7;
}
.auth-back { position: absolute; top: 22px; left: 24px; color: #475569; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.auth-back:hover { color: var(--indigo); }
.auth-card {
  width: 100%; max-width: 440px; background: #fff; border-radius: 26px; padding: 38px 34px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12); position: relative; z-index: 1;
}
.auth-brand { display: inline-flex; align-items: center; gap: 8px; color: #6366f1; font-weight: 700; font-size: 13px; }
.auth-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.auth-title { font-size: 27px; font-weight: 800; margin-top: 16px; letter-spacing: -.5px; }
.auth-sub { color: var(--muted); margin-top: 6px; font-size: 13px; }

.form-group { margin-top: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 7px; }
.input, .select {
  width: 100%; height: 48px; border: 1px solid #e2e8f0; border-radius: 13px; background: #f8fafc;
  padding: 0 14px; color: var(--ink); outline: none; transition: .18s;
}
.input::placeholder { color: #a8b3c4; }
.input:focus, .select:focus { border-color: #a5b4fc; background: #fff; box-shadow: 0 0 0 4px rgba(99, 102, 241, .12); }
textarea.input { height: auto; padding: 12px 14px; min-height: 92px; resize: vertical; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 64px; }
.input-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #64748b; font-size: 13px; padding: 8px 10px; }

.agree-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; font-size: 13px; color: #475569; }
.agree-row input { width: 17px; height: 17px; margin-top: 1px; accent-color: #6366f1; flex: none; }
.agree-row a { color: var(--indigo); font-weight: 600; }
.auth-submit { margin-top: 22px; height: 48px; border-radius: 14px; font-size: 15px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--indigo); font-weight: 600; }
.auth-copyright { margin-top: 26px; text-align: center; color: #94a3b8; font-size: 12px; }

/* ============ 面板骨架 ============ */
.panel-body { background: var(--bg); min-height: 100vh; }
.panel-shell { width: 100%; max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; }
.topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 18px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.topbar-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.topbar-title .ti { color: var(--violet); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; border: 0; display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-soft); color: #6366f1; font-size: 17px; position: relative;
}
.icon-btn:hover { filter: brightness(.97); }
.icon-btn .red-dot { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.top-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: none; }
.top-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-content { padding: 16px 16px 104px; }

/* 桌面侧栏 */
.desktop-sidebar { display: none; }

/* 底部导航 */
.bottom-nav {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 560px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid #edf1f7; display: flex; z-index: 50; padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: #8b98ab; font-size: 11px; font-weight: 500; border-radius: 12px; }
.bottom-nav a .ni { font-size: 19px; line-height: 1; filter: grayscale(1); opacity: .55; }
.bottom-nav a.active { color: #5b4be0; font-weight: 700; }
.bottom-nav a.active .ni { filter: none; opacity: 1; }

/* ============ 面板组件 ============ */
.hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 22px 20px; color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 55%, #a855f7 100%);
  box-shadow: var(--shadow-lg);
}
.hero::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; right: -60px; top: -80px; background: rgba(255, 255, 255, .16); }
.hero::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: 40px; bottom: -80px; background: rgba(255, 255, 255, .1); }
.hero-head { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.hero-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 255, 255, .55); flex: none; background: rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-hello { font-size: 19px; font-weight: 800; letter-spacing: .2px; }
.hero-desc { font-size: 12.5px; opacity: .88; margin-top: 2px; }
.hero-foot { position: relative; z-index: 1; margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-chip { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; padding: 6px 11px; font-size: 12px; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.stat-card { background: var(--card); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-icon { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.stat-icon.blue { background: #eff6ff; color: #3b82f6; }
.stat-icon.orange { background: #fff7ed; color: #f97316; }
.stat-icon.green { background: #ecfdf5; color: #10b981; }
.stat-icon.purple { background: #f5f3ff; color: #8b5cf6; }
.stat-label { font-size: 12px; color: #64748b; }
.stat-value { font-size: 26px; font-weight: 800; margin-top: 8px; letter-spacing: -.5px; line-height: 1.1; }
.stat-value small { font-size: 13px; font-weight: 600; color: #94a3b8; margin-left: 3px; }
.stat-foot { font-size: 11.5px; color: #94a3b8; margin-top: 4px; }

.section-card { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-top: 14px; }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-title { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.section-title .ti { color: var(--violet); font-size: 16px; }
.section-desc { font-size: 12px; color: var(--muted); }
.section-link { margin-left: auto; font-size: 12.5px; color: #6366f1; font-weight: 600; }
.section-link:hover { text-decoration: underline; }

.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quick-item { display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 16px; background: #fbfcff; border: 1px solid #f0f3fa; transition: .18s; }
.quick-item:hover { border-color: #dcd9ff; box-shadow: 0 8px 20px rgba(99, 102, 241, .08); transform: translateY(-1px); }
.quick-icon { width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.quick-icon.purple { background: #f5f3ff; }
.quick-icon.orange { background: #fff7ed; }
.quick-icon.green { background: #ecfdf5; }
.quick-icon.blue { background: #eff6ff; }
.quick-icon.red { background: #fef2f2; }
.quick-name { font-size: 13.5px; font-weight: 700; }
.quick-sub { font-size: 11px; color: #94a3b8; margin-top: 1px; }

.platform-list { display: flex; flex-direction: column; gap: 10px; }
.platform-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; background: #fbfcff; border: 1px solid #f0f3fa; }
.platform-logo { width: 40px; height: 40px; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex: none; }
.platform-main { min-width: 0; flex: 1; }
.platform-name { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.platform-meta { font-size: 11.5px; color: #94a3b8; margin-top: 2px; }
.platform-side { text-align: right; font-size: 11.5px; color: #64748b; }
.platform-side strong { display: block; color: #0f172a; font-size: 13px; }
.progress { height: 5px; border-radius: 999px; background: #eef2f8; overflow: hidden; margin-top: 7px; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: var(--grad); }

/* 分段控件 */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #fff; padding: 5px; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 14px; }
.seg a { text-align: center; padding: 10px 6px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: #64748b; }
.seg a.active { background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(99, 102, 241, .26); }

.form-row { margin-top: 15px; }
.form-row:first-child { margin-top: 0; }
.form-tip { font-size: 11.5px; color: #94a3b8; margin-top: 6px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.gen-result { background: #f8faff; border: 1px dashed #c7d2fe; border-radius: 16px; padding: 14px; margin-top: 14px; }
.gen-codes { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; max-height: 260px; overflow: auto; }
.gen-code-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #eef2f8; border-radius: 10px; padding: 8px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; letter-spacing: .6px; }
.gen-code-row button { margin-left: auto; border: 0; background: #eef2ff; color: #4f46e5; border-radius: 8px; padding: 4px 9px; font-size: 11px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filter-bar .select, .filter-bar .input { height: 40px; border-radius: 11px; background: #f8fafc; flex: 1; min-width: 120px; }

.card-table { display: flex; flex-direction: column; gap: 10px; }
.card-item { border: 1px solid #eef2f8; border-radius: 15px; padding: 13px 14px; background: #fbfcff; }
.card-item-top { display: flex; align-items: center; gap: 8px; }
.card-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; font-weight: 700; letter-spacing: .7px; word-break: break-all; }
.card-item-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 11.5px; color: #94a3b8; }
.card-item-meta b { color: #475569; font-weight: 600; }
.card-item-actions { margin-left: auto; display: flex; gap: 6px; flex: none; }
.mini-btn { border: 0; background: #eef2ff; color: #4f46e5; border-radius: 8px; padding: 5px 9px; font-size: 11px; font-weight: 600; }
.mini-btn.gray { background: #f1f5f9; color: #64748b; }
.mini-btn.red { background: #fef2f2; color: #dc2626; }

.empty { text-align: center; padding: 34px 16px; color: #94a3b8; }
.empty .emoji { font-size: 34px; display: block; margin-bottom: 8px; opacity: .7; }
.empty a { color: #6366f1; font-weight: 600; }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.pager a, .pager span { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #e8edf5; font-size: 12.5px; color: #475569; }
.pager .current { background: var(--grad); color: #fff; border-color: transparent; font-weight: 700; }
.pager .disabled { opacity: .45; }

/* 下级 */
.sub-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sub-stat { background: #fbfcff; border: 1px solid #f0f3fa; border-radius: 15px; padding: 13px 10px; text-align: center; }
.sub-stat strong { display: block; font-size: 21px; font-weight: 800; }
.sub-stat span { font-size: 11px; color: #94a3b8; }
.agent-row { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid #f1f5f9; }
.agent-row:first-child { border-top: 0; }
.agent-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.agent-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-main { flex: 1; min-width: 0; }
.agent-name { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.agent-meta { font-size: 11.5px; color: #94a3b8; margin-top: 2px; }

/* 额度分配 */
.quota-block { border: 1px solid #eef2f8; border-radius: 16px; padding: 13px; margin-top: 10px; background: #fbfcff; }
.quota-block.off { opacity: .62; }
.quota-head { display: flex; align-items: center; gap: 9px; }
.quota-head .platform-logo { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }
.quota-title { font-size: 13px; font-weight: 700; }
.quota-sub { font-size: 11px; color: #94a3b8; margin-top: 1px; }
.quota-switch { margin-left: auto; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; background: #dbe3ee; border-radius: 999px; transition: .2s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(15, 23, 42, .2); }
.switch input:checked + i { background: var(--indigo); }
.switch input:checked + i::after { transform: translateX(18px); }
.quota-body { display: none; margin-top: 12px; }
.quota-block.on .quota-body { display: block; }
.quota-line { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.quota-line label { font-size: 12px; color: #64748b; flex: none; }
.quota-line .input { height: 40px; border-radius: 10px; }
.quota-line .checkline { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #475569; margin-left: auto; }

/* 个人中心 */
.profile-card { background: var(--grad); color: #fff; border-radius: 22px; padding: 24px 20px; display: flex; align-items: center; gap: 15px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.profile-card::after { content: ""; position: absolute; right: -50px; top: -70px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 255, 255, .6); flex: none; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-name { font-size: 20px; font-weight: 800; }
.profile-account { font-size: 12.5px; opacity: .9; margin-top: 3px; }
.profile-badge { display: inline-block; margin-top: 7px; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.profile-list { display: flex; flex-direction: column; }
.profile-item { display: flex; align-items: center; gap: 12px; padding: 15px 4px; border-top: 1px solid #f1f5f9; }
.profile-item:first-child { border-top: 0; }
.profile-item .quick-icon { width: 38px; height: 38px; border-radius: 12px; }
.profile-item-name { font-size: 13.5px; font-weight: 600; }
.profile-item-sub { font-size: 11.5px; color: #94a3b8; }
.profile-item .arrow { margin-left: auto; color: #cbd5e1; font-size: 18px; }

/* 模态框 */
.modal-layer { position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 900; display: none; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(3px); }
.modal-layer.show { display: flex; }
.modal-box { background: #fff; border-radius: 24px; width: 100%; max-width: 520px; max-height: 86vh; overflow: auto; box-shadow: 0 30px 80px rgba(15, 23, 42, .3); animation: pop .22s ease; }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 20px 22px 0; }
.modal-title { font-size: 17px; font-weight: 800; }
.modal-close { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; color: #64748b; font-size: 18px; }
.modal-body { padding: 16px 22px 22px; }
.modal-foot { display: flex; gap: 10px; padding: 0 22px 22px; }
.modal-foot .btn { flex: 1; }

.notice-item { padding: 13px 0; border-top: 1px solid #f1f5f9; }
.notice-item:first-child { border-top: 0; padding-top: 0; }
.notice-title { font-size: 13.5px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.notice-time { font-size: 11px; color: #94a3b8; margin-left: auto; font-weight: 400; }
.notice-content { font-size: 12.5px; color: #64748b; margin-top: 5px; white-space: pre-wrap; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(10px); background: #0f172a; color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 13px; z-index: 1200; opacity: 0; pointer-events: none; transition: .25s; max-width: 86vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #dc2626; }
.toast.success { background: #0f172a; }

/* ============ 落地页 ============ */
.land-body { background: #f6f8fc; }
.land-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(226, 232, 240, .8); }
.land-header .container { display: flex; align-items: center; height: 66px; gap: 20px; }
.land-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; }
.land-logo .mark { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 8px 18px rgba(99, 102, 241, .3); }
.land-nav { display: flex; gap: 26px; margin-left: 18px; font-size: 13.5px; color: #475569; }
.land-nav a:hover { color: var(--indigo); }
.land-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.land-actions .btn { padding: 9px 16px; border-radius: 11px; font-size: 13px; }

.land-hero { padding: 64px 0 56px; position: relative; overflow: hidden; background: radial-gradient(1000px 520px at 10% -10%, #e0e7ff 0%, transparent 62%), radial-gradient(900px 520px at 90% 0%, #ede9fe 0%, transparent 60%); }
.land-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #e0e7ff; color: #4f46e5; border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; box-shadow: 0 6px 18px rgba(99, 102, 241, .08); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .16); }
.land-h1 { font-size: 46px; line-height: 1.16; font-weight: 900; letter-spacing: -1.6px; margin-top: 20px; }
.land-h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.land-lead { font-size: 15.5px; color: #526074; margin-top: 18px; max-width: 520px; line-height: 1.8; }
.land-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.land-cta .btn { padding: 14px 26px; border-radius: 14px; font-size: 14.5px; }
.land-trust { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.land-trust div { font-size: 12px; color: #8492a6; }
.land-trust strong { display: block; font-size: 20px; color: #0f172a; font-weight: 800; letter-spacing: -.4px; }

.hero-mock { background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(79, 70, 229, .18); padding: 20px; position: relative; }
.hero-mock::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 90px; height: 90px; border-radius: 24px; background: var(--grad); opacity: .14; z-index: -1; }
.mock-head { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; }
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; display: block; }
.mock-title { font-size: 12px; color: #64748b; font-weight: 600; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mock-card { background: #f8faff; border: 1px solid #eef2f8; border-radius: 14px; padding: 12px; }
.mock-card span { font-size: 11px; color: #94a3b8; }
.mock-card strong { display: block; font-size: 20px; font-weight: 800; margin-top: 3px; letter-spacing: -.4px; }
.mock-card .up { font-size: 10.5px; color: #10b981; font-weight: 600; }
.mock-chart { margin-top: 12px; height: 108px; border-radius: 14px; background: linear-gradient(180deg, #f5f3ff, #fff); border: 1px solid #eef2f8; display: flex; align-items: flex-end; gap: 6px; padding: 12px; }
.mock-chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #a855f7, #6366f1); display: block; opacity: .85; }

.land-section { padding: 64px 0; }
.land-section.alt { background: #fff; }
.section-kicker { text-align: center; color: #6366f1; font-weight: 700; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; }
.section-h2 { text-align: center; font-size: 32px; font-weight: 900; letter-spacing: -1px; margin-top: 10px; }
.section-p { text-align: center; color: #64748b; margin-top: 10px; font-size: 14px; }

.platform-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 34px; }
.platform-card { background: #fff; border: 1px solid #eef2f8; border-radius: 18px; padding: 20px 14px; text-align: center; transition: .2s; }
.platform-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, .08); border-color: #e0e7ff; }
.platform-card .platform-logo { margin: 0 auto 12px; width: 46px; height: 46px; border-radius: 14px; font-size: 18px; }
.platform-card b { font-size: 13.5px; }
.platform-card span { display: block; font-size: 11.5px; color: #94a3b8; margin-top: 3px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.feature-card { background: #fbfcff; border: 1px solid #eef2f8; border-radius: 20px; padding: 24px; transition: .2s; }
.feature-card:hover { background: #fff; box-shadow: 0 16px 40px rgba(15, 23, 42, .07); transform: translateY(-2px); }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 21px; background: var(--grad-soft); }
.feature-card h3 { font-size: 16px; font-weight: 800; margin-top: 15px; }
.feature-card p { font-size: 13px; color: #64748b; margin-top: 7px; line-height: 1.7; }

.api-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; margin-top: 34px; }
.api-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.api-list div { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #526074; }
.api-list .tick { width: 22px; height: 22px; border-radius: 50%; background: #ecfdf5; color: #059669; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; font-weight: 700; }
.code-box { background: #0f172a; border-radius: 20px; padding: 22px; color: #cbd5e1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.8; box-shadow: 0 24px 60px rgba(15, 23, 42, .28); overflow: auto; }
.code-box .c1 { color: #93c5fd; }
.code-box .c2 { color: #c4b5fd; }
.code-box .c3 { color: #86efac; }
.code-box .c4 { color: #fca5a5; }

.cta-band { margin: 20px auto 64px; border-radius: 28px; background: var(--grad); color: #fff; padding: 52px 36px; text-align: center; box-shadow: 0 30px 70px rgba(99, 102, 241, .28); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.cta-band h2 { font-size: 30px; font-weight: 900; letter-spacing: -.8px; }
.cta-band p { opacity: .9; margin-top: 10px; }
.cta-band .btn { background: #fff; color: #5b4be0; margin-top: 24px; padding: 14px 30px; border-radius: 14px; font-size: 14.5px; }

.land-footer { border-top: 1px solid #e8edf5; background: #fff; padding: 30px 0; }
.land-footer .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: #94a3b8; font-size: 12.5px; }
.land-footer .land-logo { font-size: 14px; }
.land-footer .links { margin-left: auto; display: flex; gap: 20px; }
.land-footer a:hover { color: var(--indigo); }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .land-hero .container { grid-template-columns: 1fr; gap: 36px; }
  .land-h1 { font-size: 36px; }
  .platform-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .api-wrap { grid-template-columns: 1fr; gap: 28px; }
  .land-nav { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .land-hero { padding: 40px 0 36px; }
  .land-h1 { font-size: 31px; }
  .land-lead { font-size: 14px; }
  .land-trust { gap: 18px; }
  .land-section { padding: 46px 0; }
  .section-h2 { font-size: 25px; }
  .platform-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .land-header .container { height: 60px; }
  .land-actions .btn-ghost { display: none; }
  .cta-band { padding: 38px 22px; }
  .cta-band h2 { font-size: 24px; }
  .auth-card { padding: 30px 22px; border-radius: 22px; }
  .auth-title { font-size: 24px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .sub-stat-grid { gap: 8px; }
  .sub-stat { padding: 11px 6px; }
  .quick-grid { gap: 10px; }
  .quick-item { padding: 11px; gap: 9px; }
  .quick-icon { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
  .stat-card { padding: 14px; }
  .stat-value { font-size: 23px; }
  .land-footer .links { margin-left: 0; }
}

@media (min-width: 1100px) {
  .panel-shell { max-width: 1120px; margin-left: 250px; padding-left: 0; background: var(--bg); box-shadow: none; }
  .topbar { max-width: 760px; margin: 0 auto; border-radius: 0 0 18px 18px; }
  .panel-content { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
  .bottom-nav { display: none; }
  .desktop-sidebar {
    display: flex; flex-direction: column; position: fixed; left: 0; top: 0; bottom: 0; width: 250px;
    background: #fff; border-right: 1px solid #e8edf5; padding: 24px 16px; z-index: 60;
  }
  .desktop-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; padding: 0 8px 22px; }
  .desktop-brand .mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; }
  .desktop-user { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 16px; background: var(--grad-soft); margin-bottom: 18px; }
  .desktop-user .top-avatar { width: 40px; height: 40px; }
  .desktop-user b { display: block; font-size: 13.5px; }
  .desktop-user span { font-size: 11px; color: #64748b; }
  .desktop-nav { display: flex; flex-direction: column; gap: 5px; }
  .desktop-nav a { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 13px; font-size: 13.5px; font-weight: 600; color: #5b687b; }
  .desktop-nav a .ni { font-size: 17px; filter: grayscale(1); opacity: .55; }
  .desktop-nav a:hover { background: #f8faff; color: #4f46e5; }
  .desktop-nav a.active { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(99, 102, 241, .24); }
  .desktop-nav a.active .ni { filter: none; opacity: 1; }
  .desktop-sidebar .side-foot { margin-top: auto; font-size: 11px; color: #a8b3c4; padding: 0 8px; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
  .platform-list { display: grid; grid-template-columns: 1fr 1fr; }
  .toast { bottom: 40px; }
}
