/* ═══════════════════════════════════════════════════════
   出海会AI综合服务平台 — 前台样式
   V1.2 (2026-09-26) — 设计令牌 + 组件库 + 页面样式
   Equatornova Group · Overseas Service Platform
   ═══════════════════════════════════════════════════════ */

/* ── 设计令牌 (Design Tokens) ────────────────────────── */
:root {
  /* 品牌主色 */
  --brand: #1e4fa1;
  --brand-deep: #0e2a5c;
  --brand-mid: #2a5caa;
  --brand-light: #e8eff9;

  /* 中性色 */
  --ink: #1a2333;
  --ink-2: #5a6a80;
  --line: #dbe4f0;
  --bg: #f4f7fb;
  --card: #ffffff;

  /* 模块主题色 */
  --c-country: #1e4fa1;
  --c-ent: #0e9488;
  --c-project: #d97a06;
  --c-ai: #7c3aed;
  --c-member: #16a34a;
  --c-rose: #e11d6f;
  --c-gold: #c9a227;

  /* 几何与阴影 */
  --radius: 12px;
  --shadow: 0 1px 3px rgba(14,42,92,.08), 0 4px 16px rgba(14,42,92,.06);
  --shadow-hover: 0 8px 24px rgba(14,42,92,.14);

  /* 过渡 */
  --transition: all .2s ease;
}

/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; transition: var(--transition); }
a:hover { opacity: .8; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── Layout ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page { min-height: calc(100vh - 64px - 100px); padding: 24px 0 48px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── 顶栏 Topbar ─────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100; height: 64px;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  box-shadow: 0 2px 8px rgba(14,42,92,.15);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; padding: 0 24px; gap: 16px;
}
.logo-box { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.logo-box img { height: 42px; }
.logo-text .cn { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.logo-text .en { font-size: 10px; font-weight: 400; color: rgba(255,255,255,.7); letter-spacing: 3px; text-transform: uppercase; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px;
  color: rgba(255,255,255,.85); transition: var(--transition);
}
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav a.on { background: rgba(255,255,255,.18); font-weight: 600; color: #fff; }

.nav-user { display: flex; align-items: center; gap: 10px; }
.top-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600;
  background: linear-gradient(135deg, #c9a227, #e8c766);
  color: #3d2f00;
}

/* ── 按钮 Button ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: var(--transition); border: none; white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-mid); }
.btn-outline { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-teal { background: var(--c-ent); color: #fff; }
.btn-gold { background: linear-gradient(135deg, #c9a227, #e8c95a); color: #4a3a00; font-weight: 600; }
.btn-sm { padding: 5px 12px; font-size: 12.5px; border-radius: 6px; }
.btn-lg { padding: 12px 28px; font-size: 16px; }

/* ── 首页 Hero ───────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
}
.hero img.banner {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .38;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,42,92,.92), rgba(30,79,161,.55) 50%, rgba(30,79,161,.25));
}
.hero-inner {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  padding: 44px 24px 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 99px; font-size: 12px; letter-spacing: 1px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9); margin-bottom: 20px;
}
.hero-inner h1 {
  font-size: 34px; font-weight: 800; letter-spacing: 1px;
  color: #fff; margin-bottom: 8px; line-height: 1.3;
}
.hero-inner .sub {
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: 32px;
}
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hstat b { display: block; font-size: 26px; font-weight: 800; color: #fff; }
.hstat span { font-size: 12px; color: rgba(255,255,255,.7); }

/* ── 区块标题 section-head ───────────────────────────── */
.section-head {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 16px;
}
.section-head .bar {
  width: 4px; height: 20px; border-radius: 2px;
  background: var(--brand);
}
.section-head h2 { font-size: 18px; font-weight: 700; color: var(--ink); }
.section-head .hint { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.section-head .more-link { margin-left: auto; font-size: 13px; color: var(--brand); }

/* ── 二级页页头 page-title ───────────────────────────── */
.page-title {
  position: relative; padding-left: 16px; margin-bottom: 8px;
  font-size: 20px; font-weight: 700; color: var(--ink);
}
.page-title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 20px; border-radius: 2px; background: var(--brand);
}
.page-sub {
  padding-left: 16px; margin-bottom: 24px;
  font-size: 13px; color: var(--ink-2); line-height: 1.6;
}

/* ── 卡片 Card ───────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); transition: var(--transition);
}
.card.hoverable:hover, .card.click:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}
.card h3 { font-size: 15px; font-weight: 700; margin: 8px 0 4px; }
.card .card-meta { font-size: 12px; color: var(--ink-2); }

/* ── 徽章 Badge ──────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge-blue { background: #e3ecfa; color: #1e4fa1; }
.badge-teal { background: #dff3f1; color: #0e9488; }
.badge-amber { background: #fdf0dc; color: #b45309; }
.badge-violet { background: #f3e8ff; color: #7c3aed; }
.badge-green { background: #e2f6ec; color: #16a34a; }
.badge-red { background: #fde3e3; color: #dc2626; }
.badge-rose { background: #fbe3ee; color: #e11d6f; }
.badge-gray { background: #eceff4; color: #64748b; }
.badge-gold {
  background: linear-gradient(135deg, #f7efd8, #f0dfa0);
  border: 1px solid #e2cd7a; color: #8a6d00;
}

/* ── 表格 Table ──────────────────────────────────────── */
.table-wrap {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
  background: var(--brand-light); color: var(--brand-deep);
  padding: 10px 12px; font-weight: 600; text-align: left;
}
table.data th:first-child { border-radius: 8px 0 0 0; }
table.data th:last-child { border-radius: 0 8px 0 0; }
table.data td { padding: 11px 12px; border-bottom: 1px solid #edf1f7; vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: #f6f9fe; }
.row-link { color: var(--brand); font-weight: 600; cursor: pointer; }
.row-link:hover { text-decoration: underline; }

/* ── 表单 Form ───────────────────────────────────────── */
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.form-item input, .form-item select, .form-item textarea {
  width: 100%; padding: 11px 14px; font-size: 14px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  transition: var(--transition); outline: none;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,79,161,.1);
}
.sms-row { display: flex; gap: 10px; }
.sms-row input { flex: 1; }

/* ── 筛选栏 filter-bar ───────────────────────────────── */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.filter-bar input, .filter-bar select {
  padding: 9px 14px; font-size: 13px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; outline: none; transition: var(--transition);
}
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--brand); }
.filter-bar input { min-width: 200px; }

/* ── 弹层 Modal ──────────────────────────────────────── */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14,42,92,.45); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  animation: fade-in .2s ease;
}
.modal {
  background: #fff; border-radius: 16px; width: 560px; max-width: 92vw;
  max-height: 84vh; overflow-y: auto; position: relative;
  box-shadow: 0 24px 64px rgba(14,42,92,.35);
}
.modal::before {
  content: ""; height: 5px; background: linear-gradient(90deg, var(--brand-deep), var(--brand), #4f8ae0);
  border-radius: 16px 16px 0 0; position: sticky; top: 0; z-index: 1;
}
.modal-header { padding: 20px 28px 0; }
.modal-header h2 { font-size: 19px; font-weight: 700; }
.modal-body { padding: 16px 28px 28px; }
.modal-footer { padding: 0 28px 24px; display: flex; gap: 10px; justify-content: flex-end; }
.modal-close {
  position: absolute; top: 16px; right: 20px; z-index: 2;
  font-size: 22px; color: var(--ink-2); cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--ink); }

/* ── Toast ───────────────────────────────────────────── */
#toast-root {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.toast {
  padding: 11px 24px; border-radius: 10px; font-size: 13px; color: #fff;
  box-shadow: 0 8px 24px rgba(14,42,92,.4); animation: tin .3s ease;
  max-width: 400px;
}
.toast.ok { background: #0e9488; }
.toast.err { background: #dc2626; }
.toast.info { background: var(--brand-deep); }

@keyframes tin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ── 进度条 / 评分条 ─────────────────────────────────── */
.score-bar, .dim-row .bar {
  height: 8px; background: #eef2f8; border-radius: 99px; overflow: hidden;
}
.score-bar i, .dim-row .bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), #4f8ae0);
  transition: width .6s ease;
}
.dim-row { margin-bottom: 10px; }
.dim-row .dim-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-bottom: 4px; }

/* ── 详情页通用 ──────────────────────────────────────── */
.detail-head {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.detail-head .flag { font-size: 48px; line-height: 1; }
.detail-head h2 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.detail-head .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.detail-head .actions { margin-left: auto; display: flex; flex-direction: column; gap: 8px; }

.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

/* KV 表 */
.kv-table { width: 100%; font-size: 13px; }
.kv-table tr td { padding: 8px 0; border-bottom: 1px solid #edf1f7; }
.kv-table tr td:first-child { color: var(--ink-2); width: 120px; }
.kv-table tr:last-child td { border-bottom: none; }

/* ── 分页 pager ──────────────────────────────────────── */
.pager {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 24px; flex-wrap: wrap;
}
.pager button {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 13px; color: var(--ink-2);
  transition: var(--transition);
}
.pager button:hover { border-color: var(--brand); color: var(--brand); }
.pager button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

/* ── 空态 ────────────────────────────────────────────── */
.empty {
  text-align: center; color: var(--ink-2); padding: 50px 0;
  font-size: 14px;
}
.empty .icon { font-size: 48px; margin-bottom: 12px; opacity: .4; }

/* ── 报告内容 report-content ─────────────────────────── */
.report-content {
  font-size: 13.5px; line-height: 1.85; color: var(--ink);
  padding: 4px 0;
}
.report-content h3 {
  font-size: 15px; font-weight: 700; margin: 20px 0 8px;
  color: var(--brand); padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.report-content h4 {
  font-size: 14px; font-weight: 600; margin: 16px 0 6px; color: var(--ink);
}
.report-content ul { padding-left: 20px; margin: 8px 0; list-style: disc; }
.report-content li { margin: 4px 0; }

/* ── 权限墙 lock-wall ────────────────────────────────── */
.lock-wall {
  background: linear-gradient(135deg, #fffdf2, #fff);
  border: 2px dashed #e2cd7a; border-radius: var(--radius);
  padding: 32px; text-align: center; margin-top: 16px;
}
.lock-wall .lock-icon { font-size: 40px; margin-bottom: 12px; }
.lock-wall .lock-text { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }

/* ── AI 助手 ─────────────────────────────────────────── */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.agent-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; cursor: pointer; transition: var(--transition);
  border-top: 3px solid var(--c-ai);
}
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.agent-card .agent-icon { font-size: 32px; margin-bottom: 8px; }
.agent-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.agent-card p { font-size: 12px; color: var(--ink-2); line-height: 1.5; }

.chat-box {
  display: flex; flex-direction: column; gap: 12px;
  max-height: 400px; overflow-y: auto; padding: 16px;
  background: #f8fafc; border-radius: var(--radius); margin-bottom: 16px;
}
.chat-msg { padding: 10px 16px; border-radius: 12px; font-size: 13px; max-width: 80%; }
.chat-msg.user { background: var(--brand); color: #fff; align-self: flex-end; }
.chat-msg.ai { background: #fff; border: 1px solid var(--line); align-self: flex-start; }

.chat-options { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.opt {
  padding: 6px 16px; border-radius: 99px; font-size: 12px;
  background: #f3e8ff; color: var(--c-ai); cursor: pointer;
  border: 1px solid transparent; transition: var(--transition);
}
.opt:hover { border-color: var(--c-ai); }

.chat-input-row { display: flex; gap: 10px; }
.chat-input-row input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px; outline: none;
}
.chat-input-row input:focus { border-color: var(--brand); }

/* ── 会员页 ──────────────────────────────────────────── */
.plan-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 32px; }
.plan-card {
  border: 2px solid transparent; border-radius: var(--radius);
  padding: 20px 16px; text-align: center; transition: var(--transition);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* 1 — 免费体验：浅蓝 */
.plan-card:nth-child(1) {
  background: linear-gradient(160deg, #e8f4fd 0%, #cee6fa 100%);
  border-color: #a8d4f3;
}
.plan-card:nth-child(1) .plan-name { color: #1e4fa1; }
.plan-card:nth-child(1) .plan-price { color: #1e4fa1; }
.plan-card:nth-child(1) .plan-price .unit { color: #4a6a8a; }
.plan-card:nth-child(1) .plan-tagline { color: #4a6a8a; }
.plan-card:nth-child(1) .plan-benefits { color: #4a6a8a; }
.plan-card:nth-child(1) .plan-benefits li::before { color: #1e4fa1; }

/* 2 — 商务会员：深蓝 */
.plan-card:nth-child(2) {
  background: linear-gradient(160deg, #1e4fa1 0%, #0e2a5c 100%);
  border-color: #0e2a5c;
}
.plan-card:nth-child(2) .plan-name { color: #fff; }
.plan-card:nth-child(2) .plan-price { color: #e8c766; }
.plan-card:nth-child(2) .plan-price .unit { color: rgba(255,255,255,.7); }
.plan-card:nth-child(2) .plan-tagline { color: rgba(255,255,255,.8); }
.plan-card:nth-child(2) .plan-benefits { color: rgba(255,255,255,.85); }
.plan-card:nth-child(2) .plan-benefits li::before { color: #e8c766; }

/* 3 — 企业会员：浅黄 */
.plan-card:nth-child(3) {
  background: linear-gradient(160deg, #fff9e6 0%, #fef0c7 100%);
  border-color: #f0d97a;
}
.plan-card:nth-child(3) .plan-name { color: #8a6d00; }
.plan-card:nth-child(3) .plan-price { color: #1e4fa1; }
.plan-card:nth-child(3) .plan-price .unit { color: #8a7a4a; }
.plan-card:nth-child(3) .plan-tagline { color: #8a7a4a; }
.plan-card:nth-child(3) .plan-benefits { color: #8a7a4a; }
.plan-card:nth-child(3) .plan-benefits li::before { color: #c9a227; }

/* 4 — 钻石会员：黄金色 */
.plan-card:nth-child(4) {
  background: linear-gradient(160deg, #e8c766 0%, #c9a227 100%);
  border-color: #b8961f;
}
.plan-card:nth-child(4) .plan-name { color: #3d2f00; }
.plan-card:nth-child(4) .plan-price { color: #3d2f00; }
.plan-card:nth-child(4) .plan-price .unit { color: #5a4a1a; }
.plan-card:nth-child(4) .plan-tagline { color: #5a4a1a; }
.plan-card:nth-child(4) .plan-benefits { color: #5a4a1a; }
.plan-card:nth-child(4) .plan-benefits li::before { color: #3d2f00; }

/* 5 — 创始会员：深蓝 + 黄金 */
.plan-card:nth-child(5) {
  background: linear-gradient(160deg, #0e2a5c 0%, #1e4fa1 50%, #2a6bc4 100%);
  border-color: #c9a227;
}
.plan-card:nth-child(5) .plan-name { color: #e8c766; }
.plan-card:nth-child(5) .plan-price { color: #fff; }
.plan-card:nth-child(5) .plan-price .unit { color: rgba(255,255,255,.7); }
.plan-card:nth-child(5) .plan-tagline { color: rgba(255,255,255,.85); }
.plan-card:nth-child(5) .plan-benefits { color: rgba(255,255,255,.9); }
.plan-card:nth-child(5) .plan-benefits li::before { color: #e8c766; }

.plan-card.popular { border-width: 2px; box-shadow: 0 4px 16px rgba(14,42,92,.18); }
.plan-card.anchor { border-width: 2px; box-shadow: 0 4px 16px rgba(201,162,39,.25); }

.plan-card .ribbon {
  position: absolute; top: 0; right: 0;
  padding: 4px 14px; border-radius: 0 0 0 10px;
  font-size: 11px; font-weight: 600;
  background: linear-gradient(135deg, #c9a227, #e8c766); color: #3d2f00;
}
.plan-card .plan-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.plan-card .plan-price { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.plan-card .plan-price .unit { font-size: 12px; font-weight: 400; }
.plan-card .plan-tagline { font-size: 12px; margin-bottom: 16px; flex-grow: 1; }
.plan-card .plan-benefits { text-align: left; font-size: 12px; margin-bottom: 16px; }
.plan-card .plan-benefits li { padding: 3px 0; padding-left: 18px; position: relative; }
.plan-card .plan-benefits li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }

/* 权益对比表 */
.benefit-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.benefit-table th { background: var(--brand-light); color: var(--brand-deep); padding: 10px 12px; font-weight: 600; text-align: center; }
.benefit-table td { padding: 10px 12px; border-bottom: 1px solid #edf1f7; text-align: center; }
.benefit-table td:first-child { text-align: left; font-weight: 500; }
.benefit-table tr:hover td { background: #f6f9fe; }

/* 服务站徽章云 */
.station-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.station-cloud .badge { font-size: 11px; }

/* ── 个人中心 ────────────────────────────────────────── */
.me-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 20px; }
.me-tabs button {
  padding: 10px 20px; border: none; background: none; cursor: pointer;
  font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: var(--transition);
}
.me-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.me-tabs button:hover { color: var(--brand); }

/* ── 登录页 ──────────────────────────────────────────── */
.login-tabs { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.login-tabs button {
  flex: 1; padding: 10px; border: none; background: none; cursor: pointer;
  font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: var(--transition);
}
.login-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

.login-card {
  max-width: 440px; margin: 40px auto; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}

/* ── 页脚 Footer ─────────────────────────────────────── */
.footer {
  background: var(--brand-deep); padding: 28px 0;
  color: rgba(255,255,255,.75); font-size: 13px;
}
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: #fff; }
.footer .footer-links { display: flex; gap: 20px; }

/* ── 响应式 ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-inner h1 { font-size: 26px; }
  .hero-stats { gap: 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .agent-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .detail-head { flex-direction: column; }
  .detail-head .actions { margin-left: 0; flex-direction: row; }
}

@media (max-width: 600px) {
  .plan-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar input { min-width: 0; }
}

/* ── 工具类 ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }
.text-brand { color: var(--brand); }
.text-ink-2 { color: var(--ink-2); }
.text-sm { font-size: 12px; }
.text-lg { font-size: 16px; }
.font-bold { font-weight: 700; }
.section-spacing { margin-bottom: 40px; }
