/* =========================================================
   智文阁 · 智能协作服务平台 —— 全局样式（浅色学术风）
   ========================================================= */
:root {
  --primary: #2563eb;
  --primary-dark: #1e4fd6;
  --primary-light: #eff4ff;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --danger: #dc2626;
  --danger-light: #fef2f2;
  --success: #16a34a;
  --success-light: #f0fdf4;
  --warning: #d97706;
  --warning-light: #fffbeb;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, .14);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: 9px; border: 1px solid var(--border);
  background: #fff; color: var(--text); font-size: 14px; font-weight: 500;
  transition: all .18s ease; white-space: nowrap; user-select: none;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #15803d; color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--primary); background: var(--primary-light); }
.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 7px; }
.btn-block { width: 100%; }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.7;
}
.badge-blue { background: var(--primary-light); color: var(--primary); }
.badge-amber { background: var(--warning-light); color: var(--warning); }
.badge-green { background: var(--success-light); color: var(--success); }
.badge-red { background: var(--danger-light); color: var(--danger); }
.badge-gray { background: #f3f4f6; color: var(--muted); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 13px; color: #374151; }
.form-control {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px;
  outline: none; transition: border .18s, box-shadow .18s; background: #fff;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { background: #f9fafb; color: #374151; font-weight: 600; position: sticky; top: 0; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8fafc; }
.money { font-variant-numeric: tabular-nums; font-weight: 600; }
.money-in { color: var(--success); }
.money-out { color: var(--danger); }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-bottom: 1px solid var(--border); padding: 10px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--primary); cursor: pointer; }
.brand .logo { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.top-user { display: flex; align-items: center; gap: 14px; }
.balance-chip {
  background: var(--warning-light); color: var(--warning); border: 1px solid #fde68a;
  padding: 4px 14px; border-radius: 999px; font-weight: 600; font-size: 13px;
}
.balance-chip b { font-size: 15px; }

/* ---------- 页签 ---------- */
.tabs {
  display: flex; gap: 4px; background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 24px; overflow-x: auto;
}
.tab {
  padding: 12px 18px; background: none; border: none; border-bottom: 3px solid transparent;
  font-size: 14.5px; font-weight: 500; color: var(--muted); transition: all .15s;
}
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ---------- 视图切换 ---------- */
.view { display: none; padding: 24px; max-width: 1100px; margin: 0 auto; }
.view.active { display: block; animation: fadeUp .25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.view-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.view-head h2 { font-size: 20px; }
.muted { color: var(--muted); font-size: 13px; }

/* ---------- 模态框 ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .18s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: 14px; width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg); animation: pop .22s ease; max-height: 90vh; overflow-y: auto; overflow-x: hidden;
}
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 16px; }
.modal-body { padding: 20px; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
.modal-close { background: none; border: none; font-size: 20px; color: var(--muted); line-height: 1; }
.modal-close:hover { color: var(--danger); }

/* ---------- Toast ---------- */
#toastRoot {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 999;
  display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none;
}
.toast {
  padding: 11px 22px; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); animation: toastIn .25s ease; max-width: 80vw; text-align: center;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: #1f2937; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- 首页 ---------- */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #4f46e5 100%);
  color: #fff; text-align: center; padding: 64px 24px 56px;
}
.hero h1 { font-size: 34px; letter-spacing: 1px; }
.hero p { margin-top: 10px; opacity: .85; font-size: 15px; }
.hero .badges { margin-top: 16px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero .badges span { background: rgba(255,255,255,.15); padding: 4px 14px; border-radius: 999px; font-size: 13px; }
.home-main { max-width: 960px; margin: -28px auto 40px; padding: 0 20px; }
.entry-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.entry-card {
  background: #fff; border-radius: 16px; padding: 30px 26px; text-align: center;
  box-shadow: var(--shadow); cursor: pointer; border: 2px solid transparent;
  transition: all .2s ease; position: relative; overflow: hidden;
}
.entry-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.entry-card .icon { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.entry-card.customer .icon { background: var(--primary-light); }
.entry-card.writer .icon { background: var(--success-light); }
.entry-card h3 { font-size: 19px; margin-bottom: 6px; }
.entry-card p { color: var(--muted); font-size: 13px; }
.entry-card .go { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--primary); font-size: 14px; }
.login-panel {
  max-width: 420px; margin: 28px auto 0; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 28px; animation: fadeUp .25s ease;
}
.login-panel h3 { text-align: center; font-size: 18px; margin-bottom: 20px; }
.login-panel .back { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.demo-hint {
  margin-top: 28px; background: #fff; border: 1px dashed var(--border); border-radius: 12px;
  padding: 14px 18px; font-size: 13px; color: var(--muted); line-height: 1.9;
}
.demo-hint b { color: var(--primary); }
.home-footer { text-align: center; color: var(--muted); font-size: 12.5px; padding: 24px; border-top: 1px solid var(--border); }
.home-footer .admin-trigger { cursor: default; }
.home-footer .admin-trigger:hover { color: #9ca3af; }

/* ---------- 项目卡片 ---------- */
.p-card { display: flex; flex-direction: column; gap: 10px; position: relative; }
.p-card .p-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.p-card .p-title { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.p-card .p-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.p-card .p-info { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 12px; }
.p-card .p-actions { display: flex; gap: 8px; margin-top: 4px; }
.p-card.locked { opacity: .75; background: #fafafa; }
.p-card.locked .p-title::after { content: " 🔒"; }

/* ---------- 向导 ---------- */
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeUp .2s ease; }
.step-title { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.step-title .step-no {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
  background: var(--primary); color: #fff; border-radius: 50%; font-size: 13px; margin-right: 8px;
}
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mode-card {
  border: 2px solid var(--border); border-radius: 14px; padding: 22px; text-align: center;
  cursor: pointer; transition: all .18s; background: #fff;
}
.mode-card:hover { border-color: var(--primary); }
.mode-card.selected { border-color: var(--primary); background: var(--primary-light); }
.mode-card.mode-custom { border-style: dashed; border-color: var(--border); background: #fffdf5; }
.mode-card.mode-custom:hover, .mode-card.mode-custom.selected { border-color: var(--warning); background: #fff7e6; }
.mode-card.mode-custom.selected { border-style: dashed; }
.mode-card.mode-custom .m-name { color: #b45309; }
.mode-card .m-name { font-size: 20px; font-weight: 700; color: var(--primary); }
.mode-card .m-desc { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.price-table { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.category-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.cat-tab { padding: 8px 18px; border-radius: 9px; border: 1px solid var(--border); background: #fff; font-size: 14px; }
.cat-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.subject-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.subject-chip {
  padding: 10px 20px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff;
  font-size: 14px; transition: all .15s;
}
.subject-chip:hover { border-color: var(--primary); color: var(--primary); }
.subject-chip.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.summary-box { background: var(--primary-light); border-radius: 10px; padding: 14px 18px; margin: 14px 0; font-size: 13.5px; line-height: 2; }
.summary-box .price-big { font-size: 22px; font-weight: 700; color: var(--primary); }

/* ---------- 修订时间线 ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 18px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--primary);
}
.tl-item.writer::before { border-color: var(--success); }
.tl-item.admin::before { border-color: var(--danger); }
.tl-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.tl-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.tl-comment { white-space: pre-wrap; color: #374151; font-size: 13.5px; }
.tl-file { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--primary-light); border-radius: 9px; font-size: 13px; color: var(--primary); }
.tl-file:hover { text-decoration: none; background: #dbe7ff; }
.tl-time { margin-left: auto; color: var(--muted); font-size: 12px; }

/* ---------- 统计卡片 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.stat-card .s-label { color: var(--muted); font-size: 12.5px; }
.stat-card .s-value { font-size: 26px; font-weight: 700; margin-top: 4px; }
.stat-card .s-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- 管理员布局 ---------- */
.admin-shell { display: flex; min-height: calc(100vh - 57px); }
.admin-side {
  width: 210px; background: #111827; color: #d1d5db; padding: 16px 10px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.admin-side .side-title { font-size: 12px; color: #6b7280; padding: 8px 12px 4px; text-transform: uppercase; letter-spacing: 1px; }
.side-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px;
  color: #d1d5db; font-size: 14px; cursor: pointer; border: none; background: none; text-align: left; transition: all .15s;
}
.side-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.side-item.active { background: var(--primary); color: #fff; }
.side-item .dot { margin-left: auto; background: var(--danger); color: #fff; font-size: 11px; border-radius: 999px; padding: 0 7px; font-weight: 600; }
.admin-main { flex: 1; padding: 24px; max-width: 1200px; }

/* ---------- 空状态 / 其他 ---------- */
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .e-icon { font-size: 42px; margin-bottom: 10px; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }
.pay-methods { display: flex; gap: 12px; }
.pay-method {
  flex: 1; border: 2px solid var(--border); border-radius: 12px; padding: 16px; text-align: center;
  cursor: pointer; transition: all .18s; background: #fff;
}
.pay-method:hover { border-color: var(--primary); }
.pay-method.selected { border-color: var(--primary); background: var(--primary-light); }
.pay-method .pm-icon { font-size: 26px; }
.pay-method .pm-name { font-weight: 600; margin-top: 4px; font-size: 14px; }
.quick-amounts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.quick-amt { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 13px; }
.quick-amt.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.qr-box { text-align: center; }
.qr-box img { width: 220px; height: 220px; border-radius: 12px; border: 1px solid var(--border); object-fit: contain; background: #fff; }
.notice { background: var(--warning-light); border: 1px solid #fde68a; color: #92400e; padding: 12px 16px; border-radius: 10px; font-size: 13px; margin: 12px 0; }
.lock-banner { display: flex; align-items: center; gap: 8px; background: #f3f4f6; border: 1px solid var(--border); color: var(--muted); padding: 10px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; }

@media (max-width: 720px) {
  .admin-shell { flex-direction: column; }
  .admin-side { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .mode-cards { grid-template-columns: 1fr; }
  .topbar { padding: 10px 14px; }
  .view { padding: 16px; }
  .hero h1 { font-size: 24px; }
}

/* =========================================================
   真实网站美化版（背景 · 内容区块 · 头像 · 动效）
   ========================================================= */
body {
  background:
    radial-gradient(1000px 500px at 85% -100px, rgba(37, 99, 235, .07), transparent 60%),
    radial-gradient(900px 460px at -10% 0px, rgba(124, 58, 237, .06), transparent 55%),
    #f4f6fb;
}

/* ---------- 头像 ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(15,23,42,.14); vertical-align: middle; }
.avatar.ring-primary { box-shadow: 0 0 0 2px var(--primary-light), 0 4px 10px rgba(37,99,235,.25); }
.avatar.rounded-rect { border-radius: 12px; }

/* ---------- 顶部导航（站点版） ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, .7);
}
.site-nav .nav-inner { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: #4b5563; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.brand-badge {
  display: inline-flex; align-items: center; gap: 7px; background: var(--primary-light);
  color: var(--primary); font-size: 12.5px; font-weight: 600; padding: 5px 14px; border-radius: 999px;
}

/* ---------- 新版 Hero（渐变 + 点阵 + 波浪） ---------- */
.hero-v2 {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(700px 380px at 8% 20%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(135deg, #1e3a8a 0%, #2563eb 48%, #4f46e5 100%);
  padding: 78px 24px 150px; text-align: center;
}
.hero-v2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.2px);
  background-size: 26px 26px; mask-image: radial-gradient(60% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-v2 .hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.hero-v2 .hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28); padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 1px;
}
.hero-v2 h1 { font-size: 44px; font-weight: 800; margin: 22px 0 14px; letter-spacing: .5px; line-height: 1.25; }
.hero-v2 .hero-sub { font-size: 16px; opacity: .88; max-width: 640px; margin: 0 auto; line-height: 1.9; }
.hero-v2 .hero-cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2; max-width: 960px; margin: -92px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hero-stat {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 22px 16px; text-align: center;
}
.hero-stat .hs-num { font-size: 28px; font-weight: 800; background: linear-gradient(135deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat .hs-label { color: var(--muted); font-size: 13px; margin-top: 4px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 90px; }

/* 浮动头像装饰 */
.float-avatars { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.float-avatars .fa { position: absolute; opacity: .95; animation: floatY 6s ease-in-out infinite; }
.float-avatars .fa:nth-child(1) { left: 7%; top: 30%; animation-delay: 0s; }
.float-avatars .fa:nth-child(2) { right: 9%; top: 24%; animation-delay: 1.2s; }
.float-avatars .fa:nth-child(3) { left: 14%; bottom: 20%; animation-delay: 2.1s; }
.float-avatars .fa:nth-child(4) { right: 16%; bottom: 16%; animation-delay: .6s; }
.float-avatars .fa:nth-child(5) { left: 42%; top: 12%; animation-delay: 1.7s; }
.float-avatars .fa img { border-radius: 50%; border: 3px solid rgba(255,255,255,.55); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- 内容区块 ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 64px 24px 20px; }
.section-center { text-align: center; }
.section-title { font-size: 28px; font-weight: 800; letter-spacing: .5px; }
.section-sub { color: var(--muted); margin: 10px auto 0; max-width: 620px; line-height: 1.8; }
.section-title .accent { color: var(--primary); }
.sec-badge { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12.5px; font-weight: 700; padding: 5px 16px; border-radius: 999px; letter-spacing: 1px; margin-bottom: 14px; }

/* 特征卡片 */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 36px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 22px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.feature-card::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; height: 70%;
  background: radial-gradient(closest-side, rgba(37,99,235,.10), transparent); border-radius: 50%;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-card .fc-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 25px; margin-bottom: 14px;
}
.feature-card h4 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }

/* 服务流程 */
.flow-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 36px; position: relative; }
.flow-step {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 20px; text-align: center;
  box-shadow: var(--shadow); position: relative;
}
.flow-step .fs-no {
  width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(37,99,235,.32);
}
.flow-step .fs-icon { font-size: 26px; margin-bottom: 6px; }
.flow-step h4 { font-size: 15.5px; margin-bottom: 6px; }
.flow-step p { color: var(--muted); font-size: 12.8px; line-height: 1.8; }

/* 价格卡片 */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 36px; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card .pc-head { padding: 20px 24px; color: #fff; }
.price-card.study .pc-head { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.price-card.nonstudy .pc-head { background: linear-gradient(135deg, #d97706, #ea580c); }
.price-card .pc-head h3 { font-size: 18px; }
.price-card .pc-head p { font-size: 12.5px; opacity: .85; margin-top: 3px; }
.price-card .pc-body { padding: 8px 24px 22px; }
.price-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px dashed var(--border); }
.price-row:last-child { border-bottom: none; }
.price-row .pr-left { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.price-row .pr-left .pctag { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: #f3f4f6; color: #4b5563; }
.price-row .pr-charge { font-weight: 800; font-size: 16px; color: var(--primary); }
.price-row .pr-charge small { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.price-row .pr-earn { font-size: 12.5px; color: var(--success); font-weight: 600; }

/* 常见问题 */
.faq-list { max-width: 800px; margin: 30px auto 0; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 16px 20px; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .faq-arrow { transition: transform .25s; color: var(--muted); font-size: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 16px; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.faq-item.open .faq-a { display: block; animation: fadeUp .22s ease; }

/* 页脚 */
.site-footer { margin-top: 70px; background: #0f172a; color: #94a3b8; padding: 52px 24px 0; }
.site-footer .ft-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 34px; }
.site-footer h5 { color: #e2e8f0; font-size: 15px; margin-bottom: 14px; }
.site-footer p { font-size: 13px; line-height: 1.9; }
.site-footer a { color: #94a3b8; display: block; font-size: 13px; margin-bottom: 9px; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.ft-bottom { border-top: 1px solid rgba(148,163,184,.18); text-align: center; padding: 18px; font-size: 12.5px; }

/* ---------- 渐变按钮 ---------- */
.btn-gradient {
  background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; border: none;
  box-shadow: 0 8px 20px rgba(37,99,235,.32);
}
.btn-gradient:hover { background: linear-gradient(135deg, #1d4ed8, #4338ca); color: #fff; transform: translateY(-1px); }
.btn-ghost-white { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost-white:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------- 面板页顶部横幅 ---------- */
.sub-hero {
  background: linear-gradient(135deg, #1e3a8a, #2563eb 60%, #4f46e5);
  color: #fff; padding: 26px 24px 58px; position: relative; overflow: hidden;
}
.sub-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.sub-hero .sh-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.sub-hero h1 { font-size: 24px; font-weight: 800; }
.sub-hero p { font-size: 13.5px; opacity: .85; margin-top: 4px; }

/* ---------- 顶栏用户区 ---------- */
.user-box { display: flex; align-items: center; gap: 12px; }
.user-box .ub-info { line-height: 1.3; text-align: left; }
.user-box .ub-name { font-weight: 600; font-size: 13.5px; }
.user-box .ub-role { font-size: 11.5px; color: var(--muted); }

/* ---------- 登录面板美化 ---------- */
.login-panel { position: relative; overflow: hidden; }
.login-panel::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(37,99,235,.10), transparent 70%); border-radius: 50%;
}
.login-panel .lp-title { display: flex; align-items: center; gap: 10px; justify-content: center; }
.login-panel .lp-icon {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; background: var(--primary-light);
}

/* 通用卡片悬浮 */
.card { transition: transform .2s, box-shadow .2s; }
.entry-card { position: relative; }
.entry-card .ec-glow {
  position: absolute; inset: auto -20% -50% auto; width: 70%; height: 60%;
  background: radial-gradient(closest-side, rgba(37,99,235,.12), transparent); border-radius: 50%; pointer-events: none;
}

/* 按钮基础动效 */
.btn { position: relative; }
.btn:active { transform: scale(.97); }

/* 表头渐变 */
th { background: linear-gradient(180deg, #f9fafb, #f3f4f6); }

/* 脉冲点（用于状态指示） */
.dot-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 0 0 rgba(217, 119, 6, .6);
  animation: pulse 1.5s infinite;
  display: inline-block;
}
.dot-pulse.ok { background: var(--success); box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: pulseOk 1.5s infinite; }
.dot-pulse.err { background: var(--danger); box-shadow: 0 0 0 0 rgba(220, 38, 38, .6); animation: pulseErr 1.5s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, .55); }
  70% { box-shadow: 0 0 0 10px rgba(217, 119, 6, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}
@keyframes pulseOk {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); }
  70% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
@keyframes pulseErr {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .55); }
  70% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
/* ====== 搜索框 ====== */
.search-box { margin-bottom: 16px; }
.search-input {
  width: 100%; box-sizing: border-box; padding: 12px 16px 12px 42px;
  border: 2px solid #e5e7eb; border-radius: 12px; font-size: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%239ca3af' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") 14px center no-repeat;
  transition: border-color .2s;
}
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
/* ====== 未读徽标（微信风格） ====== */
.unread-badge {
  position: absolute; top: 12px; right: 14px;
  min-width: 22px; height: 22px; line-height: 22px;
  background: #ef4444; color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 11px; text-align: center; padding: 0 6px; box-sizing: border-box;
  z-index: 1; animation: badgePulse .6s ease-in-out;
  box-shadow: 0 2px 6px rgba(239, 68, 68, .45);
}
/* 已读/无消息：灰色 0 */
.unread-badge.zero {
  background: #e5e7eb; color: #9ca3af; box-shadow: none; animation: none;
  font-weight: 600;
}
@keyframes badgePulse {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.tl-file.lost { color: var(--muted); text-decoration: line-through; cursor: not-allowed; opacity: .6; }
/* 文档行：文件名 + 下载按钮 横排 */
.tl-file-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.tl-file-row .tl-file { margin: 0; }
/* 上传进度条 */
.up-progress-track { height: 8px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.up-progress-bar { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, #3b82f6, #06b6d4); transition: width .15s ease; }
.up-progress-text { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
/* 下载进度条 */
.dl-progress { margin-top: 8px; }
/* 个人账户：隐藏账户流水与所有金额信息（管理员后台不受影响） */
body.hide-for-personal .balance-chip,
body.hide-for-personal .money,
body.hide-for-personal .quick-amt,
/* 手机号注册用户：只显示自主发单入口 */
body.can-custom-only .can-custom-only-hide { display: none !important; }
body.can-custom-only .mode-cards { grid-template-columns: 1fr; }
body.hide-for-personal #rechargeBalance,
body.hide-for-personal .price-big,
body.hide-for-personal .personal-hide-block { display: none !important; }
/* 个人账户：隐藏快速金额选择行，但可手动输入金额 */
body.hide-for-personal .quick-amt-row { display: none !important; }
/* 侧边栏子菜单（客户管理下"企业/个人账号"两个子项） */
.side-sub { padding: 0 0 6px 38px; display: flex; flex-direction: column; gap: 4px; }
.side-sub-item {
  background: transparent; border: 0; color: var(--muted);
  text-align: left; padding: 6px 12px; border-radius: 6px;
  font-size: 13.5px; cursor: pointer; transition: all .15s;
}
.side-sub-item:hover { background: rgba(255,255,255,.05); color: var(--text); }
.side-sub-item.active { background: rgba(37, 99, 235, .18); color: var(--primary); font-weight: 600; }

/* ===== V13 全新首页：浅蓝渐变Hero + 双栏布局 ===== */
.site-nav { background: rgba(255,255,255,0.85); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(15,23,42,0.06); }
.site-nav .nav-inner { display: flex; align-items: center; padding: 14px 36px; max-width: 1320px; margin: 0 auto; }
.site-nav .nav-links a { color: var(--text); font-size: 15px; padding: 6px 4px; margin: 0 14px; position: relative; }
.site-nav .nav-links a.active { color: var(--primary); font-weight: 600; }
.site-nav .nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -16px; height: 3px; background: var(--primary); border-radius: 2px; }
.site-nav .nav-links a:hover { color: var(--primary); }
.site-nav .nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hero-v3 { position: relative; padding: 56px 0 84px; background: linear-gradient(180deg, #eef4ff 0%, #f6f8ff 60%, #ffffff 100%); overflow: hidden; }
.hero-v3::before { content: ''; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(124,58,237,0.18), transparent 70%); pointer-events: none; }
.hero-v3::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(37,99,235,0.14), transparent 70%); pointer-events: none; }
.hero-v3 .hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 36px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero-v3 .hero-kicker { display: inline-block; background: rgba(37,99,235,0.10); color: #1d4ed8; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero-v3 h1 { font-size: 52px; line-height: 1.18; font-weight: 800; margin: 22px 0 18px; color: #0f172a; letter-spacing: -0.5px; }
.hero-v3 .hero-sub { font-size: 16px; color: #475569; line-height: 1.85; max-width: 540px; }
.hero-v3 .hero-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-v3 .hero-cta .btn { padding: 13px 28px; font-size: 15px; font-weight: 600; border-radius: 10px; }
.hero-v3 .hero-stats-row { margin-top: 38px; display: flex; align-items: center; gap: 28px; }
.hero-v3 .hs-item .hs-num { font-size: 26px; font-weight: 800; color: var(--primary); }
.hero-v3 .hs-item .hs-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
.hero-v3 .hs-divider { width: 1px; height: 36px; background: rgba(15,23,42,0.10); }

/* 右侧插画 */
.hero-v3 .hero-illustration { position: relative; height: 420px; }
.hero-v3 .ill-flow { position: absolute; right: 0; top: 30px; width: 320px; background: #ffffff; border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 24px 60px -20px rgba(15,23,42,0.20); z-index: 3; }
.hero-v3 .ill-flow-title { font-weight: 700; color: #0f172a; margin-bottom: 16px; font-size: 15px; }
.hero-v3 .ill-flow-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.hero-v3 .ill-flow-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex-shrink: 0; }
.hero-v3 .ill-flow-h { font-size: 14px; font-weight: 600; color: #0f172a; }
.hero-v3 .ill-flow-p { font-size: 12px; color: var(--muted); margin-top: 1px; }
.hero-v3 .ill-engineer { position: absolute; left: 30px; bottom: 30px; font-size: 130px; line-height: 1; z-index: 2; filter: drop-shadow(0 12px 24px rgba(37,99,235,0.18)); }
.hero-v3 .ill-plant { position: absolute; left: 0; bottom: 60px; font-size: 60px; z-index: 1; }
.hero-v3 .ill-bubble { position: absolute; top: 0; left: 50%; font-size: 50px; }
.hero-v3 .ill-chart { position: absolute; right: 20px; bottom: 20px; font-size: 50px; z-index: 2; }

/* 价值卡片 4 列 */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.value-card { background: #fff; border-radius: 14px; padding: 28px 24px; text-align: center; box-shadow: 0 8px 24px -12px rgba(15,23,42,0.10); transition: transform .2s ease, box-shadow .2s ease; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -12px rgba(37,99,235,0.18); }
.value-card .vc-icon { width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px; }
.value-card h4 { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* 简单三步 */
.step3-grid { display: flex; align-items: stretch; gap: 8px; max-width: 1280px; margin: 36px auto 0; padding: 0 36px; justify-content: center; align-items: center; }
.step3-card { background: #fff; border-radius: 16px; padding: 32px 28px; flex: 1; max-width: 360px; box-shadow: 0 12px 32px -16px rgba(15,23,42,0.12); position: relative; min-height: 200px; }
.step3-card .step3-no { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 16px; font-family: ui-monospace, monospace; }
.step3-card h4 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: #0f172a; }
.step3-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.step3-blue { border-top: 4px solid #2563eb; }
.step3-purple { border-top: 4px solid #7c3aed; }
.step3-green { border-top: 4px solid #16a34a; }
.step3-arrow { font-size: 36px; color: #cbd5e1; flex-shrink: 0; padding: 0 4px; }

/* 工具箱 */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.tool-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; cursor: pointer; transition: all .2s ease; }
.tool-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 14px 32px -14px rgba(37,99,235,0.18); }
.tool-card .tc-icon { font-size: 32px; margin-bottom: 12px; }
.tool-card .tc-title { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.tool-card .tc-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 我的空间 */
.ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; padding: 0 36px; }
.ws-card { background: #fff; border-radius: 16px; padding: 36px 32px; cursor: pointer; transition: all .2s ease; box-shadow: 0 10px 30px -14px rgba(15,23,42,0.12); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ws-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -14px rgba(37,99,235,0.20); }
.ws-card .ws-icon { width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; }
.ws-card h4 { font-size: 19px; font-weight: 700; color: #0f172a; }
.ws-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.ws-card .ws-go { color: var(--primary); font-weight: 600; font-size: 14px; margin-top: auto; }

/* 首页响应式（PC优先，移动端降级） */
@media (max-width: 960px) {
  .hero-v3 .hero-inner { grid-template-columns: 1fr; }
  .hero-v3 .hero-illustration { height: 320px; }
  .hero-v3 h1 { font-size: 38px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .ws-grid { grid-template-columns: 1fr; }
  .step3-grid { flex-direction: column; }
  .step3-arrow { transform: rotate(90deg); }
  .site-nav .nav-inner { padding: 12px 18px; }
  .site-nav .nav-links { display: none; }
}

/* ===== V14 品牌 logo 图片样式 ===== */
.brand-logo { display: inline-block; height: 36px; vertical-align: middle; user-select: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-footer .brand-logo { height: 32px; }
/* footer 深底适配：浅色 logo + 文字白底版 */

/* ===== V15 精致首页升级 ===== */
.hero-v4 { position: relative; padding: 70px 0 0; background: linear-gradient(180deg, #eef4ff 0%, #f3f6ff 60%, #ffffff 100%); overflow: hidden; }
.hero-v4::before { content: ''; position: absolute; top: -160px; right: -120px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(124,58,237,0.18), transparent 70%); pointer-events: none; }
.hero-v4::after { content: ''; position: absolute; bottom: -120px; left: -100px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(37,99,235,0.14), transparent 70%); pointer-events: none; }
.hero-v4 .hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 36px 50px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero-v4 .hero-kicker { display: inline-block; background: rgba(37,99,235,0.10); color: #1d4ed8; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero-v4 h1 { font-size: 56px; line-height: 1.18; font-weight: 800; margin: 22px 0 18px; color: #0f172a; letter-spacing: -0.5px; }
.hero-v4 h1 .hl { color: var(--primary); background: linear-gradient(135deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-v4 .hero-sub { font-size: 16px; color: #475569; line-height: 1.85; max-width: 540px; }
.hero-v4 .hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-v4 .hero-cta .btn { padding: 13px 28px; font-size: 15px; font-weight: 600; border-radius: 10px; }

/* 数据行（图标 + 数字 + 标签） */
.stats-bar { position: relative; z-index: 2; max-width: 920px; margin: -36px auto 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-radius: 20px; padding: 24px 36px; box-shadow: 0 24px 60px -28px rgba(37,99,235,0.30); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat-item { display: flex; align-items: center; gap: 16px; }
.stat-ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.stat-body .stat-num { font-size: 24px; font-weight: 800; color: #0f172a; line-height: 1.1; }
.stat-body .stat-lbl { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* 3D 文件清单+聊天气泡+饼图插画 */
.hero-v4 .hero-right { position: relative; height: 420px; }
.ill-stage { position: relative; height: 100%; }
.ill-orbit { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 360px; height: 360px; border: 1.5px solid rgba(124,58,237,0.18); border-radius: 50%; animation: ill-spin 18s linear infinite; }
.ill-orbit-2 { width: 260px; height: 260px; border-color: rgba(37,99,235,0.18); animation-direction: reverse; animation-duration: 12s; }
@keyframes ill-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.ill-doc { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-6deg); width: 200px; background: #ffffff; border-radius: 16px; padding: 18px 18px 22px; box-shadow: 0 24px 60px -16px rgba(37,99,235,0.30); z-index: 2; }
.ill-doc-head { display: flex; gap: 6px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #f0f3fa; }
.ill-doc-dot { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.ill-doc-dot:nth-child(1) { background: #fb7185; }
.ill-doc-dot:nth-child(2) { background: #fbbf24; }
.ill-doc-dot:nth-child(3) { background: #4ade80; }
.ill-doc-lines { display: flex; flex-direction: column; gap: 12px; }
.ill-line { display: flex; align-items: center; gap: 10px; }
.ill-check { width: 18px; height: 18px; border: 1.5px solid #e5e7eb; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; flex-shrink: 0; }
.ill-check.ill-check-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.ill-bar { height: 8px; background: #f1f5f9; border-radius: 4px; }
.ill-bar.ill-bar-on { background: linear-gradient(90deg, #3b82f6, #7c3aed); }

.ill-bubble { position: absolute; top: 0; right: 30px; width: 72px; height: 72px; background: #d1fae5; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 32px; transform: rotate(15deg); box-shadow: 0 12px 24px -10px rgba(16,185,129,0.30); animation: ill-float 4s ease-in-out infinite; }
@keyframes ill-float { 0%,100% { transform: rotate(15deg) translateY(0); } 50% { transform: rotate(15deg) translateY(-12px); } }
.ill-pie { position: absolute; bottom: 0; left: 20px; background: #ffffff; padding: 10px; border-radius: 50%; box-shadow: 0 16px 40px -16px rgba(124,58,237,0.30); }
.ill-cube { position: absolute; top: 60px; left: 0; font-size: 36px; animation: ill-float 5s ease-in-out infinite reverse; }
.ill-sparkle { position: absolute; top: 80px; right: -10px; font-size: 24px; animation: ill-float 6s ease-in-out infinite; }

/* 简单四步（左侧大标题 + 右侧 2x2 卡片） */
.step4-head { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.step4-tag h3 { font-size: 22px; font-weight: 800; color: #0f172a; line-height: 1.5; }
.step4-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.step4-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #ffffff; border-radius: 14px; box-shadow: 0 4px 16px -8px rgba(15,23,42,0.10); }
.step4-no { font-family: ui-monospace, monospace; font-size: 16px; font-weight: 700; color: var(--primary); width: 32px; }
.step4-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.step4-item h4 { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0; }
.step4-item p { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }

/* 价值卡片（横排细线样式） */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.value-card { background: #fff; border-radius: 14px; padding: 28px 24px; box-shadow: 0 4px 16px -10px rgba(15,23,42,0.08); transition: transform .2s ease, box-shadow .2s ease; border-left: 3px solid var(--primary-light); }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -12px rgba(37,99,235,0.18); }
.value-card .vc-icon { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.value-card h4 { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* 客户/工程师大卡片（横向：左侧圆形 icon + 标题 + 描述，右侧渐变按钮） */
.ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; padding: 0 36px; }
.ws-card { display: flex; align-items: center; gap: 22px; padding: 28px 32px; border-radius: 18px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; background: #ffffff; box-shadow: 0 8px 24px -12px rgba(15,23,42,0.10); }
.ws-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -14px rgba(37,99,235,0.20); }
.ws-card.ws-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border: 1px solid #bfdbfe; }
.ws-card.ws-green { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border: 1px solid #bbf7d0; }
.ws-card .ws-circle { width: 64px; height: 64px; border-radius: 50%; background: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 12px -4px rgba(15,23,42,0.18); flex-shrink: 0; }
.ws-card .ws-info { flex: 1; }
.ws-card h4 { font-size: 19px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.ws-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.ws-card .ws-cta { padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; flex-shrink: 0; }

/* 工具箱 section 卡片样式优化（保持，但加上图标圆形色块） */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.tool-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px 22px; cursor: pointer; transition: all .2s ease; }
.tool-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 14px 32px -14px rgba(37,99,235,0.18); }
.tool-card .tc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; }
.tool-card .tc-title { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.tool-card .tc-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 响应式 */
@media (max-width: 960px) {
  .hero-v4 .hero-inner { grid-template-columns: 1fr; padding-bottom: 30px; }
  .hero-v4 h1 { font-size: 38px; }
  .stats-bar { grid-template-columns: 1fr; margin-top: 24px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .ws-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .step4-head { grid-template-columns: 1fr; }
  .step4-list { grid-template-columns: 1fr; }
  .site-nav .nav-inner { padding: 12px 18px; }
  .site-nav .nav-links { display: none; }
}

/* ===== V16 视觉设计服务面板 ===== */
.vd-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-bottom: 36px; }
.vd-head .vd-title { text-align: center; }
.vd-head .vd-title h2 { font-size: 36px; font-weight: 800; color: #0f172a; margin: 0 0 8px; letter-spacing: -0.5px; }
.vd-head .vd-title p { font-size: 14px; color: var(--muted); margin: 0; }
.vd-spark { color: #7c3aed; }
.vd-deco-left, .vd-deco-right { display: flex; align-items: center; justify-content: center; gap: 10px; }
.vd-deco-left { justify-content: flex-start; }
.vd-deco-right { justify-content: flex-end; }
.vd-emoji { font-size: 32px; }
.vd-img { display: inline-block; width: 64px; height: 64px; border-radius: 16px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.vd-img-photo { background: linear-gradient(135deg, #c7d2fe, #a5b4fc); position: relative; }
.vd-img-photo::after { content: '🖼️'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.vd-img-palette { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); position: relative; }
.vd-img-palette::after { content: '🎨'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; }

/* 5 个服务卡片 */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 1320px; margin: 0 auto 24px; padding: 0 36px; }
.svc-card { background: #fff; border-radius: 14px; padding: 22px 18px; box-shadow: 0 4px 16px -10px rgba(15,23,42,0.08); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -10px rgba(37,99,235,0.18); }
.svc-ico { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 14px; }
.svc-ico-blue { background: linear-gradient(135deg, #dbeafe, #93c5fd); }
.svc-ico-purple { background: linear-gradient(135deg, #ede9fe, #c4b5fd); }
.svc-ico-green { background: linear-gradient(135deg, #dcfce7, #86efac); }
.svc-ico-orange { background: linear-gradient(135deg, #fed7aa, #fdba74); }
.svc-ico-cyan { background: linear-gradient(135deg, #cffafe, #67e8f9); }
.svc-card h4 { font-size: 17px; font-weight: 700; color: #0f172a; text-align: center; margin: 0 0 4px; }
.svc-sub { font-size: 12.5px; color: var(--muted); text-align: center; margin: 0 0 16px; }
.svc-list { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13px; color: #475569; line-height: 2; }
.svc-list li::before { content: '✓'; color: #2563eb; font-weight: 700; margin-right: 4px; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid #f1f5f9; margin-top: auto; }
.svc-price { color: #f97316; font-weight: 700; font-size: 13px; }
.svc-price b { font-size: 24px; }
.svc-price span { color: var(--muted); font-size: 12px; font-weight: 400; }
.svc-btn { padding: 6px 14px; border-radius: 999px; border: 0; color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.svc-btn-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.svc-btn-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.svc-btn-green { background: linear-gradient(135deg, #10b981, #059669); }
.svc-btn-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.svc-btn:hover { opacity: 0.9; transform: scale(1.02); }

/* 2 个角色卡片 */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1080px; margin: 0 auto 24px; padding: 0 36px; }
.role-card { display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: 16px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; background: #ffffff; box-shadow: 0 8px 24px -12px rgba(15,23,42,0.10); }
.role-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(37,99,235,0.20); }
.role-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border: 1px solid #bfdbfe; }
.role-green { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border: 1px solid #bbf7d0; }
.role-ico { width: 64px; height: 64px; border-radius: 50%; background: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 12px -4px rgba(15,23,42,0.18); flex-shrink: 0; }
.role-body { flex: 1; }
.role-body h4 { font-size: 19px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.role-body p { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.role-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.role-tags span { font-size: 12.5px; color: #475569; }
.role-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.role-price { color: #f97316; font-weight: 700; font-size: 13px; }
.role-price b { font-size: 22px; }
.role-price span { color: var(--muted); font-size: 12px; font-weight: 400; }
.role-btn { padding: 8px 20px; border-radius: 999px; border: 0; color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.role-blue .role-btn { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.role-green .role-btn { background: linear-gradient(135deg, #10b981, #059669); }
.role-btn:hover { opacity: 0.9; transform: scale(1.02); }

/* 4 列保证 */
.assure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.assure-item { background: #fff; border-radius: 12px; padding: 22px 18px; text-align: center; box-shadow: 0 2px 12px -6px rgba(15,23,42,0.06); }
.assure-ico { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 10px; }
.assure-item h5 { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.assure-item p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* 视觉设计响应式 */
@media (max-width: 1180px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .vd-head { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .assure-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== V17 统一各 section 间距（hero/steps/visual-design/growth 之间一致） ===== */
.hero-v4, .hero-v3 { padding-bottom: 0 !important; }
.stats-bar { margin-bottom: 72px !important; }
.section { padding: 56px 0 !important; }

/* ===== V17 成长工具箱 ===== */
.gt-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 36px; position: relative; }
.gt-head .gt-deco { position: absolute; top: -10px; font-size: 80px; opacity: 0.18; pointer-events: none; }
.gt-head .gt-deco:first-of-type { left: 60px; }
.gt-head .gt-deco:last-of-type { right: 60px; }
.gt-head .section-title { margin-top: 6px; }
.gt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1320px; margin: 0 auto 28px; padding: 0 36px; }
.gt-card { background: #fff; border-radius: 16px; padding: 20px 18px; box-shadow: 0 4px 18px -10px rgba(15,23,42,0.10); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.gt-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 80px; background: linear-gradient(180deg, rgba(219,234,254,0.4), transparent); opacity: 0.6; pointer-events: none; }
.gt-head-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed #e5e7eb; }
.gt-ico { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.gt-card h4 { font-size: 18px; font-weight: 700; color: #0f172a; margin: 0; }
.gt-sub { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.gt-list { list-style: none; padding: 0; margin: 0 0 12px; font-size: 13px; }
.gt-list li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.gt-li-ico { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.gt-list li b { color: #0f172a; font-size: 13px; font-weight: 600; }
.gt-list li p { color: var(--muted); font-size: 11.5px; margin: 2px 0 0; line-height: 1.5; }
.gt-illustration { text-align: center; font-size: 64px; opacity: 0.55; padding: 12px 0; }

/* 学长学姐双卡 */
.senior-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; padding: 0 36px; }
.senior-card { display: flex; align-items: center; gap: 22px; padding: 28px 32px; border-radius: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.senior-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border: 1px solid #bfdbfe; }
.senior-green { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border: 1px solid #bbf7d0; }
.senior-emoji { font-size: 90px; line-height: 1; }
.senior-info { flex: 1; }
.senior-info h4 { font-size: 19px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.senior-info p { font-size: 13.5px; color: var(--muted); margin: 0; }
.senior-btn { padding: 9px 22px; border-radius: 999px; border: 0; color: #fff; font-size: 13.5px; font-weight: 600; flex-shrink: 0; }
.senior-blue .senior-btn { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.senior-green .senior-btn { background: linear-gradient(135deg, #10b981, #059669); }

/* 响应式 */
@media (max-width: 1180px) { .gt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .gt-grid { grid-template-columns: 1fr; }
  .senior-grid { grid-template-columns: 1fr; }
}

/* ===== V18 角色卡：左侧大插画 + 右侧垂直排版 ===== */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; padding: 0 36px; }
.role-card { display: flex; align-items: stretch; gap: 0; padding: 0; border-radius: 18px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; background: #ffffff; box-shadow: 0 8px 24px -12px rgba(15,23,42,0.10); min-height: 200px; }
.role-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(37,99,235,0.20); }
.role-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border: 1px solid #bfdbfe; }
.role-green { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border: 1px solid #bbf7d0; }
/* 左侧人物插画 */
.role-illu { width: 200px; flex-shrink: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.role-body { flex: 1; padding: 22px 26px; display: flex; flex-direction: column; }
.role-body h4 { font-size: 19px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.role-body > p { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.role-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: #475569; margin-bottom: 16px; }
.role-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.role-price { color: #f97316; font-weight: 700; font-size: 13px; }
.role-price b { font-size: 22px; }
.role-price span { color: var(--muted); font-size: 12px; font-weight: 400; }
.role-btn { padding: 9px 22px; border-radius: 999px; border: 0; color: #fff; font-size: 13.5px; font-weight: 600; }
.role-blue .role-btn { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.role-green .role-btn { background: linear-gradient(135deg, #10b981, #059669); }
.role-btn:hover { opacity: 0.9; transform: scale(1.02); }

/* 旧版 role-ico/role-side 隐藏（兼容遗留） */
.role-ico, .role-side { display: none; }

@media (max-width: 960px) {
  .role-grid { grid-template-columns: 1fr; }
  .role-card { flex-direction: column; min-height: 0; }
  .role-illu { width: 100%; height: 180px; }
}

/* ===== V19 学长学姐双卡：左侧大插画+气泡装饰 / 右侧垂直 ===== */
.senior-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; padding: 0 36px; }
.senior-card { display: flex; align-items: center; gap: 0; padding: 24px 28px; border-radius: 18px; min-height: 180px; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.senior-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(37,99,235,0.20); }
.senior-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border: 1px solid #bfdbfe; }
.senior-green { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border: 1px solid #bbf7d0; }
.senior-side { display: flex; align-items: center; gap: 12px; }
.senior-illu { flex: 1.1; position: relative; height: 160px; justify-content: center; }
.senior-emoji { font-size: 110px; line-height: 1; filter: drop-shadow(0 6px 16px rgba(15,23,42,0.10)); z-index: 2; }
.senior-bubble { position: absolute; font-size: 22px; background: #ffffff; border-radius: 14px; padding: 4px 10px; box-shadow: 0 4px 12px -4px rgba(15,23,42,0.10); z-index: 1; }
.senior-bubble-1 { top: 6px; left: 6px; transform: rotate(-8deg); }
.senior-bubble-2 { bottom: 14px; right: 10px; transform: rotate(6deg); }
.senior-info { flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding-left: 8px; }
.senior-info h4 { font-size: 19px; font-weight: 700; color: #0f172a; margin: 0; }
.senior-info p { font-size: 13.5px; color: var(--muted); margin: 0; }
.senior-info .senior-btn { margin-top: 4px; align-self: flex-start; }
.senior-btn { padding: 9px 22px; border-radius: 999px; border: 0; color: #fff; font-size: 13.5px; font-weight: 600; flex-shrink: 0; }
.senior-blue .senior-btn { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.senior-green .senior-btn { background: linear-gradient(135deg, #10b981, #059669); }
.senior-btn:hover { opacity: 0.9; transform: scale(1.02); }

@media (max-width: 960px) {
  .senior-grid { grid-template-columns: 1fr; }
  .senior-card { flex-direction: column; min-height: 0; }
  .senior-illu { width: 100%; }
}

/* ===== V20 成长工具箱：3D 顶部装饰 + 渐变标题 + 底部城市插画 ===== */
.gt-head { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin-bottom: 40px; position: relative; }
.gt-head-center { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.gt-title { font-size: 38px; font-weight: 800; color: #0f172a; margin: 0; letter-spacing: -0.5px; white-space: nowrap; }
.gt-title-grad { background: linear-gradient(135deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* 顶部两侧 3D 风格装饰 */
.gt-deco { display: flex; align-items: center; justify-content: center; }
.gt-deco-left { justify-content: flex-start; }
.gt-deco-right { justify-content: flex-end; }
.gt-deco-icon { width: 92px; height: 92px; border-radius: 26px; display: flex; align-items: center; justify-content: center; font-size: 46px; position: relative; }
.gt-deco-chart { background: linear-gradient(145deg, #dbeafe 0%, #93c5fd 100%); box-shadow: 0 16px 32px -12px rgba(37,99,235,0.45), inset 0 2px 6px rgba(255,255,255,0.7); transform: rotate(-6deg); }
.gt-deco-chart::after { content: ''; position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 8px; background: #fbbf24; opacity: 0.9; box-shadow: 0 6px 12px -4px rgba(251,191,36,0.6); }
.gt-deco-grad { background: linear-gradient(145deg, #ede9fe 0%, #c4b5fd 100%); box-shadow: 0 16px 32px -12px rgba(124,58,237,0.45), inset 0 2px 6px rgba(255,255,255,0.7); transform: rotate(6deg); }
.gt-deco-grad::after { content: ''; position: absolute; bottom: -8px; left: -8px; width: 22px; height: 22px; border-radius: 8px; background: #34d399; opacity: 0.9; box-shadow: 0 6px 12px -4px rgba(52,211,153,0.6); }

/* 卡片底部插画：城市/校园 emoji 组合 */
.gt-illustration { display: flex; align-items: flex-end; justify-content: center; gap: 8px; min-height: 72px; padding: 10px 0 2px; }
.gt-bld { font-size: 52px; line-height: 1; opacity: 0.7; filter: drop-shadow(0 4px 8px rgba(15,23,42,0.08)); }
.gt-tree { font-size: 34px; line-height: 1; opacity: 0.85; }

/* 响应式 */
@media (max-width: 960px) {
  .gt-head { grid-template-columns: 1fr; }
  .gt-deco-left, .gt-deco-right { justify-content: center; }
  .gt-deco-icon { width: 64px; height: 64px; font-size: 32px; }
}

/* ===== V22 角色卡新插画自适应 + 标题居中 ===== */
.role-illu { background-size: cover; background-position: center top; }
.gt-title { font-size: 36px !important; }
@media (max-width: 720px) { .gt-title { font-size: 28px !important; } }

/* ===== 企业账单结算统计卡 ===== */
.billing-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.bs-card { background: #fff; border-radius: 14px; padding: 18px 16px; text-align: center; box-shadow: 0 4px 16px -10px rgba(15,23,42,0.08); border: 1px solid var(--border); }
.bs-due { border-color: #fca5a5; background: linear-gradient(135deg, #fff7f7, #fff); }
.bs-next { border-color: #fdba74; background: linear-gradient(135deg, #fff7ed, #fff); }
.bs-next .bs-num { color: #ea580c; }
.bs-num { font-size: 22px; font-weight: 800; color: #0f172a; }
.bs-lbl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 720px) { .billing-stats { grid-template-columns: 1fr 1fr; } }

/* ===== V25 服务广场 ===== */
.market-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.market-type-card { background: #fff; border: 2px solid transparent; border-radius: 14px; padding: 22px 16px; text-align: center; cursor: pointer; transition: all .2s ease; box-shadow: 0 4px 16px -10px rgba(15,23,42,0.08); }
.market-type-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 16px 32px -12px rgba(37,99,235,0.18); }
.market-type-card.selected { border-color: var(--primary); background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.mt-ico { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.mt-name { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.mt-sub { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.mt-list { font-size: 12px; color: #475569; line-height: 1.9; text-align: left; padding: 0 6px; }
.mt-list li::before { content: '✓'; color: #2563eb; margin-right: 4px; }

/* 下单表单 */
.market-form { background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 4px 16px -10px rgba(15,23,42,0.08); }
.mf-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; margin-bottom: 14px; }
.mf-head .mf-ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.mf-head h3 { margin: 0; font-size: 18px; font-weight: 700; color: #0f172a; }
.mf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mf-grid-full { grid-column: 1/-1; }
.mf-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid #f1f5f9; margin-top: 14px; }
.mf-price { color: #f97316; font-weight: 700; }
.mf-price b { font-size: 24px; }

/* 文件上传列表 */
.file-drop { border: 2px dashed #cbd5e1; border-radius: 12px; padding: 20px; text-align: center; cursor: pointer; transition: all .2s ease; background: #f8fafc; }
.file-drop:hover, .file-drop.dragover { border-color: var(--primary); background: #eff6ff; }
.file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.file-row { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.file-row .file-ico { width: 32px; height: 32px; border-radius: 8px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.file-row .file-info { flex: 1; min-width: 0; }
.file-row .file-name { font-size: 13px; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .file-meta { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.file-row .file-progress { height: 4px; background: #f1f5f9; border-radius: 2px; margin-top: 6px; overflow: hidden; }
.file-row .file-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), #7c3aed); transition: width .15s ease; }
.file-row .file-actions { display: flex; gap: 4px; }
.file-row .file-actions .btn { padding: 3px 8px; font-size: 12px; }

/* 广场订单卡片 */
.market-order-card { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 2px 12px -6px rgba(15,23,42,0.08); display: flex; align-items: center; gap: 14px; }
.market-order-card.locked { opacity: 0.85; }
.mo-ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.mo-info { flex: 1; min-width: 0; }
.mo-info h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-info .meta { font-size: 12.5px; color: var(--muted); }
.mo-info .desc { font-size: 12.5px; color: #475569; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mo-foot { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.mo-price { color: #f97316; font-weight: 700; font-size: 15px; }

@media (max-width: 1180px) { .market-types { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .market-types { grid-template-columns: 1fr 1fr; } .mf-grid { grid-template-columns: 1fr; } }

/* ===== V28 学科管理弹窗 ===== */
.manage-cat-block { transition: box-shadow .15s ease; }
.manage-cat-block:hover { box-shadow: 0 4px 16px -8px rgba(37,99,235,0.15); }
.sub-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; font-size: 13px; color: #0f172a; }
.sub-chip button { width: 18px; height: 18px; border: 0; background: #fee2e2; color: #dc2626; border-radius: 50%; font-size: 12px; line-height: 1; cursor: pointer; padding: 0; }
.sub-chip button:hover { background: #fecaca; }

/* ===== V29 企业学科管理操作栏 ===== */
.cat-mgr-bar { margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; }
.cat-mgr-sep { width: 1px; height: 20px; background: #e2e8f0; margin: 0 4px; }

/* ===== V30 按学校分类 ===== */
.school-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.school-card { background: linear-gradient(135deg, #f0f9ff, #ede9fe); border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: all .15s ease; position: relative; }
.school-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(79,70,229,0.25); border-color: #6366f1; }
.school-card .sc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.school-card .sc-icon { font-size: 22px; }
.school-card .sc-name { flex: 1; font-weight: 700; color: #0f172a; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.school-card .sc-count { background: #4f46e5; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 700; }
.school-card .sc-code { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.school-card .sc-addr { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 6px; }
.school-card .sc-foot { font-size: 11px; color: var(--muted); border-top: 1px dashed #cbd5e1; padding-top: 6px; margin-top: 6px; }
.school-context-bar { background: linear-gradient(90deg, #eef2ff, #f0f9ff); border: 1px solid #c7d2fe; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.school-context-bar .scb-icon { font-size: 20px; }
.school-context-bar .scb-text { flex: 1; color: #1e293b; font-size: 14px; }
.school-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 18px; background: linear-gradient(135deg, #eef2ff, #f0f9ff); border-radius: 12px; border: 1px solid #e0e7ff; }
.sd-title { font-size: 20px; font-weight: 700; color: #0f172a; }
.mode-card.mode-school { border: 2px dashed #c7d2fe; background: linear-gradient(135deg, #f8fafc, #f0f9ff); }
.mode-card.mode-school:hover { border-color: #6366f1; background: linear-gradient(135deg, #f0f9ff, #ede9fe); }

/* ===== V32 学校模板板块 ===== */
.school-templates-block { margin-top: 18px; }
.tmpl-block { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.tmpl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px dashed #e2e8f0; margin-bottom: 10px; }
.tmpl-icon { font-size: 22px; }
.tmpl-name { font-size: 15px; font-weight: 700; color: #0f172a; }
.tmpl-tag { font-size: 11px; background: #eef2ff; color: #4f46e5; padding: 2px 8px; border-radius: 8px; }
.tmpl-count { font-size: 11px; color: var(--muted); background: #f1f5f9; padding: 2px 8px; border-radius: 8px; }
.tmpl-files { display: flex; flex-direction: column; gap: 6px; }
.tfile-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #f8fafc; border-radius: 8px; flex-wrap: wrap; font-size: 13px; }
.tfile-ico { font-size: 16px; }
.tfile-name { flex: 1; min-width: 120px; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfile-meta { font-size: 11.5px; color: var(--muted); }
.tfile-progress { height: 4px; background: #f1f5f9; border-radius: 2px; overflow: hidden; }
.tfile-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), #7c3aed); transition: width .15s ease; }

/* ===== V39 流水管理 ===== */
.tx-user-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tx-user-card { cursor: pointer; transition: all .15s ease; padding: 12px 14px; }
.tx-user-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.tx-user-card.selected { border-color: var(--primary); background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.tu-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* ===== V46 宽弹窗（批量创建等） ===== */
.modal-wide { max-width: 880px; width: 96%; }
@media (max-width: 940px) { .modal-wide { max-width: 100%; } }
