/* 座头鲸门户主题 —— 灵感源自极光蓝白风格，独立原创设计 */
:root {
  --primary: #1b6ef3;
  --primary-600: #125fd6;
  --primary-50: #eef5ff;
  --ink: #17233d;
  --ink-2: #4c5b76;
  --ink-3: #8a97ad;
  --line: #e6ecf5;
  --canvas: #f4f7fc;
  --surface: #ffffff;
  --ok: #18a058;
  --warn: #d8871a;
  --danger: #d5493f;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(23, 35, 61, .05);
  --shadow-md: 0 10px 34px rgba(23, 55, 120, .10);
  --shadow-lg: 0 24px 70px rgba(23, 55, 120, .16);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; }

/* ========== 认证页（登录/注册/找回） ========== */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: url("/theme/humpback/assets/images/auth-bg.jpg") center / cover no-repeat;
}
.auth-card {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(230, 236, 245, .9);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 40px 36px 32px;
  animation: rise .45s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.auth-brand { text-align: center; margin-bottom: 26px; }
.auth-brand img { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow-md); }
.auth-brand h1 { font-size: 22px; margin: 14px 0 6px; letter-spacing: .01em; }
.auth-brand p { margin: 0; color: var(--ink-3); font-size: 13.5px; }
.auth-title { font-size: 17px; font-weight: 600; margin: 0 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 7px; font-weight: 500; }
.field input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 14px; outline: none; background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 110, 243, .10);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border: 0; border-radius: 12px; cursor: pointer;
  font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
  transition: transform .12s, box-shadow .15s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  width: 100%; color: #fff;
  background: linear-gradient(135deg, #2f7cf6, #1663e0);
  box-shadow: 0 8px 20px rgba(27, 110, 243, .32);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(27, 110, 243, .42); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: var(--primary-50); color: var(--primary); height: 38px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13.5px; }
.auth-back { text-align: center; margin-top: 22px; color: var(--ink-3); font-size: 13px; }
.form-msg { min-height: 20px; font-size: 13px; margin: 2px 0 10px; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--ok); }

/* ========== 门户框架 ========== */
.shell { display: flex; min-height: 100vh; }
.sider {
  position: fixed; z-index: 40; left: 0; top: 0;
  width: 240px; height: 100vh;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--line);
  transition: transform .22s ease;
}
.sider-brand {
  display: flex; align-items: center; gap: 12px;
  height: 68px; padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
.sider-brand img { width: 36px; height: 36px; border-radius: 10px; }
.sider-brand b { font-size: 16.5px; letter-spacing: .02em; }
.nav { flex: 1; padding: 14px 12px; display: grid; gap: 4px; align-content: start; overflow-y: auto; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  height: 42px; padding: 0 14px;
  border-radius: 12px; color: var(--ink-2);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:hover { background: var(--primary-50); color: var(--primary); }
.nav-item.active {
  background: linear-gradient(135deg, #2f7cf6, #1b62e0);
  color: #fff; box-shadow: 0 6px 16px rgba(27, 110, 243, .30);
}
.sider-foot { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }

.main {
  flex: 1; margin-left: 240px; min-width: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)),
    url("images/auth-bg.jpg") center / cover no-repeat fixed;
}
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: 68px; padding: 0 30px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(244, 247, 252, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar h2 { font-size: 17px; margin: 0; }
.user-chip { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.user-chip img { width: 34px; height: 34px; border-radius: 50%; }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; height: 38px; width: 42px; cursor: pointer; font-size: 17px; }

.content { padding: 28px 30px 48px; max-width: 1080px; }
.page { animation: rise .3s ease both; }

/* ========== 组件 ========== */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.card.hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); transition: all .18s; }
.card h3 { margin: 0 0 4px; font-size: 15px; }
.card .sub { color: var(--ink-3); font-size: 12.5px; margin: 0 0 14px; }
.stat-num { font-size: 26px; font-weight: 700; letter-spacing: .01em; }
.stat-num small { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.progress { height: 8px; border-radius: 99px; background: var(--primary-50); overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4d94ff, #1663e0); transition: width .4s ease; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.muted { color: var(--ink-3); font-size: 12.5px; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }

.sub-box {
  display: flex; gap: 10px; align-items: center;
  background: var(--primary-50); border: 1px dashed rgba(27, 110, 243, .35);
  border-radius: 12px; padding: 12px 14px;
}
.sub-box code { flex: 1; font-size: 12.5px; color: var(--ink-2); word-break: break-all; user-select: all; }

.plan-card { position: relative; display: flex; flex-direction: column; }
.plan-card.hot { border-color: rgba(27, 110, 243, .5); box-shadow: 0 14px 40px rgba(27, 110, 243, .16); }
.plan-badge {
  position: absolute; top: -10px; right: 16px;
  background: linear-gradient(135deg, #ff9a3d, #ff6a00); color: #fff;
  font-size: 11.5px; padding: 3px 10px; border-radius: 99px; font-weight: 600;
}
.plan-price { font-size: 30px; font-weight: 800; color: var(--primary); }
.plan-price small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.periods { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.periods button {
  border: 1.5px solid var(--line); background: #fbfcfe; color: var(--ink-2);
  border-radius: 10px; padding: 7px 13px; font-size: 12.5px; cursor: pointer;
}
.periods button.on { border-color: var(--primary); color: var(--primary); background: var(--primary-50); font-weight: 600; }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; color: var(--ink-3); font-weight: 500; font-size: 12.5px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid #f0f4fa; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 500; }
.tag.ok { background: #e8f7ef; color: var(--ok); }
.tag.warn { background: #fdf3e3; color: var(--warn); }
.tag.gray { background: #eef1f6; color: var(--ink-2); }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(16px);
  background: rgba(23, 35, 61, .88); color: #fff; padding: 11px 22px;
  border-radius: 12px; font-size: 13.5px; opacity: 0; pointer-events: none;
  transition: all .25s ease; z-index: 999; backdrop-filter: blur(8px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: rgba(190, 50, 42, .92); }

.empty { text-align: center; color: var(--ink-3); padding: 46px 0; font-size: 13.5px; }
.empty svg { width: 46px; height: 46px; stroke: #c4cede; fill: none; stroke-width: 1.5; margin-bottom: 10px; }

.scrim { display: none; }

@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .sider { transform: translateX(-100%); }
  .sider.open { transform: none; box-shadow: 20px 0 60px rgba(20, 40, 90, .25); }
  .main { margin-left: 0; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .content { padding: 20px 16px 40px; }
  .topbar { padding: 0 16px; }
  .scrim.show { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(15, 25, 50, .38); }
}

/* ===== 扩展组件：工单对话 / 教程 / 表格扩展 ===== */
.field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field textarea:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,119,255,.12); }

.table tr.row-link { cursor: pointer; transition: background .15s; }
.table tr.row-link:hover { background: #f6f9ff; }

.msg-list { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.msg { max-width: 78%; }
.msg .msg-body {
  padding: 11px 15px; border-radius: 14px; font-size: 14px; line-height: 1.65;
  background: #f1f4f9; color: var(--ink); border-top-left-radius: 4px; word-break: break-word;
}
.msg.me { align-self: flex-end; }
.msg.me .msg-body { background: var(--primary); color: #fff; border-radius: 14px; border-top-right-radius: 4px; }
.msg .msg-meta { font-size: 12px; color: var(--ink-3); margin-top: 5px; }
.msg.me .msg-meta { text-align: right; }

.k-list { display: flex; flex-direction: column; }
.k-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 6px; font-size: 14.5px; cursor: pointer; border-bottom: 1px solid var(--line);
  transition: color .15s, padding-left .15s;
}
.k-item:last-child { border-bottom: none; }
.k-item:hover { color: var(--primary); padding-left: 10px; }

.article-body {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.85; color: var(--ink-2); word-break: break-word;
}
.article-body h2 { font-size: 18px; color: var(--ink); margin: 22px 0 8px; font-weight: 700; }
.article-body h3 { font-size: 15.5px; color: var(--ink); margin: 18px 0 6px; font-weight: 600; }
.article-body p { margin: 8px 0; }
.article-body img { max-width: 320px; width: 100%; border-radius: 10px; border: 1px solid var(--line); margin: 10px 0; display: block; box-shadow: 0 4px 14px rgba(30,60,120,.10); }
.article-body ol, .article-body ul { padding-left: 22px; margin: 8px 0; }
.article-body li { margin: 4px 0; }
.article-body .tip { background: #fff8ec; border: 1px solid #ffe1b3; color: #9a5b00; border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 13.5px; }
.article-body .ok { background: #ecfbf3; border: 1px solid #b9ecd2; color: #0a7a4b; border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 13.5px; }
.article-body a { color: var(--primary); }

/* 一键导入客户端按钮 */
.client-btn {
  display: inline-flex; align-items: center; padding: 8px 16px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink); background: #fff;
  cursor: pointer; text-decoration: none; transition: all .18s;
}
.client-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,119,255,.12); }

/* 公告卡片 */
.notice-card { border-left: 4px solid var(--primary); }
.notice-item { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.notice-item:last-child { border-bottom: none; padding-bottom: 0; }
.notice-title { font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; }
.notice-title .muted { font-weight: 400; font-size: 12px; flex-shrink: 0; }
.notice-body { margin-top: 6px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); word-break: break-word; }

/* 功能入口卡片 */
.entry-card { cursor: pointer; text-align: left; }
.entry-card .entry-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(22,119,255,.1); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.entry-card .entry-icon svg { width: 22px; height: 22px; }
.entry-card h3 { margin-bottom: 6px; }

/* 客户端下载 */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.dl-item {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: 12px; text-decoration: none; color: var(--ink); transition: all .18s; background: #fff;
}
.dl-item:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(22,119,255,.12); }
.dl-item b { font-size: 14.5px; }
.dl-item span { font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 860px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dl-grid { grid-template-columns: 1fr; } }

/* ===== 科技感深色框架 ===== */
body {
  background: #0a1128;
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(27, 110, 243, .22), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(0, 210, 255, .14), transparent 60%),
    radial-gradient(600px 400px at 110% 90%, rgba(124, 77, 255, .16), transparent 60%);
  background-attachment: fixed;
}

.sider {
  background: linear-gradient(180deg, #0d1b3e 0%, #0a1430 100%);
  border-right: 1px solid rgba(120, 160, 255, .14);
}
.sider-brand { border-bottom: 1px solid rgba(120, 160, 255, .14); }
.sider-brand b { color: #fff; letter-spacing: .06em; }
.nav-item { color: #93a8d4; }
.nav-item:hover { background: rgba(120, 160, 255, .12); color: #dbe7ff; }
.nav-item.active {
  background: linear-gradient(90deg, var(--primary) 0%, #3b8cff 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(27, 110, 243, .45), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.sider-foot { border-top: 1px solid rgba(120, 160, 255, .14); color: #5f739f; }

.topbar {
  background: rgba(10, 17, 40, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120, 160, 255, .14);
}
.topbar h2 { color: #eef3ff; }
.menu-btn { color: #eef3ff; }
.user-chip { color: #b9c8e8; background: rgba(120, 160, 255, .1); padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(120, 160, 255, .18); }

/* 白色卡片在深色背景上更立体 */
.card { box-shadow: 0 10px 30px rgba(2, 8, 26, .45); }
.notice-card { border-left-color: #3b8cff; }

/* 邀请完整链接 */
.invite-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; color: var(--ink-3); word-break: break-all; margin-top: 3px; user-select: all;
}

/* 内容卡片：天空蓝 */
.card {
  background: linear-gradient(165deg, #f3f9ff 0%, #e8f3ff 100%);
  border: 1px solid rgba(120, 170, 255, .28);
  box-shadow: 0 10px 30px rgba(2, 8, 26, .45), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.sub-box { background: rgba(255, 255, 255, .65); }
.dl-item, .client-btn { background: rgba(255, 255, 255, .72); }
.field input, .field textarea, .field select { background: rgba(255, 255, 255, .85); }
.msg .msg-body { background: rgba(255, 255, 255, .75); }
.msg.me .msg-body { background: var(--primary); }
.client-btn { gap: 8px; }
.client-btn img { width: 20px; height: 20px; border-radius: 5px; box-shadow: 0 1px 3px rgba(23, 55, 120, .2); }

/* 登录/注册页：整页统一大背景（地球与座头鲸铺满全屏） */
body .auth-wrap {
  position: relative;
  background: #dce9fb;
  overflow: hidden;
}
body .auth-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/auth-bg.jpg') center / cover no-repeat;
  pointer-events: none;
}
body .auth-card {
  position: relative; z-index: 1;
  background: #ffffff;
  border: 1px solid #e8eefb;
  box-shadow: 0 24px 70px rgba(23, 55, 120, .14);
}
body .auth-card .field input {
  background: #f7faff;
  border-color: #dce7f7;
}
body .auth-card .field input:focus { background: #ffffff; border-color: #8fbcff; }

/* 待支付订单提醒（置后覆盖天空蓝卡片底色） */
.card.pending-card {
  border-left: 4px solid var(--warn);
  background: linear-gradient(165deg, #fff8ec 0%, #fdeed4 100%);
}

/* 套餐周期选择弹窗 */
.modal-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 20, 45, .5); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadein .2s ease both;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  width: min(100%, 430px); background: #fff; border-radius: 20px;
  padding: 24px 22px; box-shadow: 0 24px 70px rgba(23, 55, 120, .3);
  animation: rise .3s ease both; max-height: 86vh; overflow-y: auto;
}
.modal-x {
  border: 0; background: var(--primary-50); color: var(--ink-2);
  width: 32px; height: 32px; border-radius: 10px; cursor: pointer; font-size: 14px;
}
.modal-x:hover { background: #dfeaff; color: var(--primary); }
.period-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  margin-top: 10px; cursor: pointer; transition: border-color .15s, background .15s;
}
.period-row:hover { border-color: rgba(27, 110, 243, .4); }
.period-row.on { border-color: var(--primary); background: var(--primary-50); }
.period-row .muted { margin-left: 8px; font-size: 12px; }
.save-tag {
  background: linear-gradient(135deg, #ff9a3d, #ff6a00); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 99px; margin-right: 8px; font-weight: 600;
}

/* 套餐说明 */
.plan-desc { margin: 10px 0 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.plan-desc p { margin: 5px 0; }
.plan-desc b { color: var(--ink); }

/* 套餐标签（突出卡片右上角，后台套餐标签驱动） */
.plan-tags {
  position: absolute; top: -11px; right: 14px;
  display: flex; flex-direction: row; gap: 6px; z-index: 2;
}
.plan-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ff9a3d, #ff6a00); color: #fff;
  font-size: 11.5px; padding: 3px 10px; border-radius: 99px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 106, 0, .4);
}

/* 购买套餐页：周期标签 */
.period-tabs { display: flex; gap: 14px; justify-content: center; margin: 4px 0 24px; }
.period-tab { position: relative; padding: 9px 36px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; font-family: inherit; }
.period-tab:hover { border-color: var(--primary); color: var(--primary); }
.period-tab.on { border-color: var(--primary); color: var(--primary); background: var(--primary-50); box-shadow: 0 4px 14px rgba(27,110,243,.16); }
.period-tab.reco { margin-right: 8px; }
.reco-badge { position: absolute; top: -10px; right: -14px; background: linear-gradient(135deg, #ff7a45, #ff2d55); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; box-shadow: 0 3px 10px rgba(255,45,85,.45); transform: rotate(6deg); white-space: nowrap; }
.plan-card .btn[disabled] { opacity: .45; cursor: not-allowed; }

/* 套餐卡片加高，给价格区留出空间 */
.plan-card { padding: 24px 24px; }
.plan-card .plan-price { margin-top: 6px; }
.plan-card .btn { margin-top: auto; }

/* ========== 门户首页（落地页 · 浅色版） ========== */
body.ztj-landing #ztj-footer { display: none !important; }
body.ztj-landing #app > div { max-width: none !important; }

.home {
  min-height: 100vh; color: #17233d;
  background:
    radial-gradient(900px 480px at 12% -6%, rgba(27, 110, 243, .10), transparent 60%),
    radial-gradient(800px 460px at 92% 4%, rgba(53, 196, 255, .10), transparent 55%),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 42%);
}
.home .btn { border: none; cursor: pointer; border-radius: 10px; font-weight: 600; transition: all .25s ease; }
.home .btn-primary {
  background: linear-gradient(135deg, #2f8dff, #1b6ef3); color: #fff;
  box-shadow: 0 6px 18px rgba(27, 110, 243, .32);
}
.home .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(27, 110, 243, .42); filter: brightness(1.06); }
.home .btn-ghost {
  background: #fff; color: #1b6ef3;
  border: 1.5px solid #c9defc !important;
}
.home .btn-ghost:hover { background: #f0f6ff; transform: translateY(-2px); border-color: #8fbcff !important; }
.home .btn-lg { width: 136px; padding: 13px 0; font-size: 15.5px; border-radius: 999px; text-align: center; box-sizing: border-box; }
/* 认证页（登录/注册/找回）提交按钮与首页同风格 */
.auth-card .btn-primary { border-radius: 12px; height: 46px; font-size: 15.5px; letter-spacing: 4px; background: linear-gradient(135deg, #2f8dff, #1b6ef3); }
.auth-card .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(27, 110, 243, .42); }
.auth-links a { color: #1b6ef3; }
.auth-card .field input { border-radius: 10px; padding: 11px 14px; }
.home .btn-sm { width: 76px; padding: 8px 0; font-size: 13.5px; text-align: center; box-sizing: border-box; }

/* ---------- 顶部导航（整行居中） ---------- */
.home-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 4vw; gap: 40px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e8eefb;
}
.home-brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: 1px; color: #123a6d; white-space: nowrap; }
.home-brand img { width: 34px; height: 34px; border-radius: 8px; }
.home-nav-links { display: flex; align-items: center; gap: 30px; }
.home-nav-links a { color: #4c5b76; font-size: 14.5px; text-decoration: none; transition: color .2s; white-space: nowrap; }
.home-nav-links a:hover, .home-nav-links a.on { color: #1b6ef3; }
.home-nav-btns { display: flex; align-items: center; gap: 10px; }
@media (max-width: 860px) {
  .home-nav { gap: 16px; }
  .home-nav-links { display: none; }
}

/* ---------- Hero ---------- */
.home-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 84vh; padding: 56px 5vw 120px; text-align: center;
}
.hero-inner { position: relative; z-index: 3; max-width: 720px; animation: home-rise .7s ease both; }
@keyframes home-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge {
  display: inline-block; padding: 7px 20px; margin-bottom: 26px;
  font-size: 13px; color: #1b6ef3; letter-spacing: 1px;
  background: #eef5ff; border: 1px solid #c9defc; border-radius: 999px;
}
.home-hero h1 {
  margin: 0 0 18px; font-size: clamp(34px, 6vw, 56px); font-weight: 800;
  letter-spacing: 2px; line-height: 1.25;
  background: linear-gradient(120deg, #123a6d 15%, #1b6ef3 55%, #35a5ff 85%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { margin: 0 auto 36px; max-width: 560px; font-size: clamp(15px, 2.2vw, 18px); color: #4c5b76; line-height: 1.9; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-points { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; font-size: 13.5px; color: #8a97ad; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 1; }
.hero-glow.g1 { width: 480px; height: 480px; left: -6%; top: -16%; background: radial-gradient(circle, rgba(27,110,243,.22), transparent 65%); animation: home-float 9s ease-in-out infinite; }
.hero-glow.g2 { width: 420px; height: 420px; right: -4%; top: 8%; background: radial-gradient(circle, rgba(53,196,255,.22), transparent 65%); animation: home-float 11s ease-in-out infinite reverse; }
.hero-glow.g3 { width: 560px; height: 340px; left: 30%; bottom: -20%; background: radial-gradient(circle, rgba(140,190,255,.25), transparent 65%); }
@keyframes home-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(28px, 24px); } }

.hero-whale {
  position: absolute; right: 5%; bottom: 14%; z-index: 2;
  width: clamp(220px, 26vw, 380px); height: auto;
  filter: drop-shadow(0 24px 44px rgba(27, 110, 243, .22));
  animation: home-swim 7s ease-in-out infinite;
  user-select: none; pointer-events: none;
}
@keyframes home-swim {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-22px) rotate(3deg); }
}
@media (max-width: 980px) { .hero-whale { opacity: .35; right: -8%; } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: 64px; }
.hero-wave path { fill: #ffffff; }
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-whale, .hero-inner { animation: none !important; }
}

/* ---------- 通用区块 ---------- */
.home-section { padding: 84px 5vw 26px; max-width: 1180px; margin: 0 auto; }
.home-title { text-align: center; font-size: clamp(24px, 3.6vw, 32px); font-weight: 800; letter-spacing: 1px; margin: 0 0 12px; color: #17233d; }
.home-sub { text-align: center; color: #8a97ad; margin: 0 0 42px; font-size: 15px; }
.home-loading { grid-column: 1 / -1; text-align: center; color: #8a97ad; padding: 30px 0; }
.home-more { text-align: center; margin: 32px 0 0; }

/* ---------- 功能卡片 ---------- */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .home-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .home-grid { grid-template-columns: 1fr; } }
.home-card {
  position: relative; padding: 30px 26px; border-radius: 18px;
  background: #fff; border: 1px solid #e8eefb;
  box-shadow: 0 4px 18px rgba(23, 55, 120, .06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.home-card:hover { transform: translateY(-6px); border-color: #b9d5fd; box-shadow: 0 18px 40px rgba(23, 55, 120, .12); }
.home-card h3 { margin: 16px 0 10px; font-size: 17.5px; color: #17233d; }
.home-card p { margin: 0; font-size: 13.5px; line-height: 1.85; color: #8a97ad; }
.home-card-ic {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(135deg, #e7f1ff, #f2f9ff);
  border: 1px solid #d3e4fd;
}
.home-card-ic svg { width: 26px; height: 26px; stroke: #1b6ef3; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 步骤 ---------- */
.home-steps-sec { padding-top: 66px; }
.home-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .home-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .home-steps { grid-template-columns: 1fr; } }
.home-step { text-align: center; padding: 26px 14px; border-radius: 16px; background: #fff; border: 1px solid #e8eefb; box-shadow: 0 4px 16px rgba(23, 55, 120, .05); }
.home-step i {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  font-style: normal; font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, #2f8dff, #1b6ef3); border-radius: 50%;
  box-shadow: 0 6px 16px rgba(27, 110, 243, .35);
}
.home-step h3 { margin: 0 0 8px; font-size: 16px; color: #17233d; }
.home-step p { margin: 0; font-size: 13px; color: #8a97ad; line-height: 1.7; }

/* ---------- 套餐 ---------- */
.home-plan { text-align: center; padding: 34px 26px 28px; display: flex; flex-direction: column; align-items: center; }
.home-plan h3 { margin: 8px 0 6px; font-size: 19px; }
.home-plan-flow { margin: 0 0 18px; font-size: 13px; color: #8a97ad; }
.home-plan-price { font-size: 36px; font-weight: 800; color: #1b6ef3; margin-bottom: 22px; }
.home-plan-price small { font-size: 14px; font-weight: 500; color: #8a97ad; }
.home-plan .btn { width: 100%; padding: 11px 0; }
.home-plan.hot { border-color: #8fbcff; box-shadow: 0 18px 44px rgba(27, 110, 243, .16); }
.home-plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 1px;
  background: linear-gradient(135deg, #2f8dff, #35c4ff); border-radius: 999px;
  box-shadow: 0 5px 14px rgba(53, 196, 255, .45); white-space: nowrap;
}
.home-plan-tags { display: flex; gap: 6px; justify-content: center; margin-bottom: 4px; min-height: 18px; }
.home-plan-tags span { font-size: 11px; padding: 2px 10px; border-radius: 999px; background: #eef5ff; border: 1px solid #c9defc; color: #1b6ef3; }

/* ---------- 客户端 ---------- */
.home-clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .home-clients { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .home-clients { grid-template-columns: 1fr; } }
.home-client {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px;
  background: #fff; border: 1px solid #e8eefb; text-decoration: none;
  box-shadow: 0 3px 14px rgba(23, 55, 120, .05);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.home-client:hover { transform: translateY(-4px); border-color: #b9d5fd; box-shadow: 0 12px 28px rgba(23, 55, 120, .1); }
.home-client img { width: 40px; height: 40px; border-radius: 10px; }
.home-client b { display: block; color: #17233d; font-size: 15px; }
.home-client span { font-size: 12.5px; color: #8a97ad; }

/* ---------- 页脚 ---------- */
.home-footer { margin-top: 76px; padding: 42px 5vw 50px; text-align: center; border-top: 1px solid #e8eefb; background: #f7faff; }
.home-footer .home-brand { justify-content: center; margin-bottom: 12px; }
.home-footer p { margin: 6px 0; font-size: 13px; color: #8a97ad; }
.home-footer-links a { color: #1b6ef3; text-decoration: none; }
.home-footer-links a:hover { text-decoration: underline; }
