/* ============================================================
   流量统计分析平台 · 设计系统（参考 51.la V6 风格重构）
   ============================================================ */
:root {
  --brand: #1e6fff;
  --brand-600: #1557e0;
  --brand-700: #0f45bd;
  --brand-50: #eef4ff;
  --brand-100: #dbe7ff;
  --ink: #0f1e3d;
  --ink-2: #44557a;
  --ink-3: #8a94a8;
  --line: #e6eaf2;
  --bg: #f3f5fa;
  --card: #ffffff;
  --sidebar: #0c1730;
  --sidebar-2: #122040;
  --ok: #10b981;
  --ok-bg: #e7f9f1;
  --danger: #ef4444;
  --danger-bg: #fdeeee;
  --warn: #f59e0b;
  --warn-bg: #fff6e5;
  --violet: #7c5cff;
  --cyan: #06b6d4;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 61, .05);
  --shadow: 0 4px 16px rgba(15, 30, 61, .06);
  --shadow-lg: 0 12px 40px rgba(15, 30, 61, .12);
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand-600); }
code {
  background: var(--brand-50);
  color: var(--brand-700);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  word-break: break-all;
  font-family: Consolas, "SF Mono", Menlo, monospace;
}
.muted { color: var(--ink-3); font-size: 13px; }
.center { text-align: center; }
.inline { display: inline-block; }
.mt10 { margin-top: 10px; } .mt15 { margin-top: 16px; } .mt20 { margin-top: 20px; } .mb15 { margin-bottom: 16px; }
.text-success { color: var(--ok); font-weight: 600; }
.text-error { color: var(--danger); font-weight: 600; }
.ell { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
::selection { background: var(--brand-100); }

/* ================= 顶部导航（访客页） ================= */
.topbar {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.topbar-dark { background: var(--sidebar); border-bottom: none; }
.topbar-dark a, .topbar-dark .muted { color: #aeb9d4; }
.topbar-dark .brand { color: #fff; }
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 60px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  font-size: 17px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 9px; letter-spacing: .2px;
}
.brand .logo-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #2f7bff 0%, #1e6fff 55%, #7c5cff 130%);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(30, 111, 255, .35);
}
.brand .logo-mark svg { width: 17px; height: 17px; }
.topnav { display: flex; gap: 6px; flex: 1; }
.topnav a {
  color: var(--ink-2); padding: 7px 16px; border-radius: 8px;
  font-size: 14px; transition: all .15s;
}
.topnav a:hover { background: var(--brand-50); color: var(--brand); }
.topnav a.active { color: var(--brand); background: var(--brand-50); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right a { color: var(--ink-2); font-size: 14px; }
.topbar-dark .topnav a:hover { background: var(--sidebar-2); color: #fff; }

/* ================= 侧边栏应用布局 ================= */
.app-wrap { display: flex; min-height: 100vh; width: 100%; }
.sidebar {
  width: 232px; flex: none;
  background: linear-gradient(180deg, var(--sidebar) 0%, #0a1329 100%);
  color: #aeb9d4;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.sidebar-brand {
  height: 60px; flex: none;
  display: flex; align-items: center; gap: 10px; padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.sidebar-brand .brand { color: #fff; font-size: 15.5px; }
.sidebar-nav { flex: 1; padding: 14px 12px; overflow-y: auto; }
.sidebar-nav .nav-group {
  font-size: 11px; letter-spacing: 2px; color: #5a6a8f;
  padding: 14px 12px 6px; text-transform: uppercase;
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 11px;
  color: #aeb9d4; padding: 10px 12px; border-radius: 9px;
  font-size: 14px; margin-bottom: 2px; transition: all .15s;
}
.sidebar-nav a svg { width: 17px; height: 17px; flex: none; opacity: .85; }
.sidebar-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.sidebar-nav a.active {
  background: linear-gradient(135deg, var(--brand) 0%, #4d8bff 100%);
  color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px rgba(30, 111, 255, .4);
}
.sidebar-foot {
  flex: none; padding: 14px; border-top: 1px solid rgba(255, 255, 255, .07);
}
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; }
.sidebar-user .avatar {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, #2f7bff, #7c5cff);
  color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-user .uname { color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.sidebar-user .ugroup { font-size: 11.5px; color: #7d8bab; }
.sidebar-links { display: flex; gap: 6px; }
.sidebar-links a {
  flex: 1; text-align: center; font-size: 12.5px; color: #8a97b8;
  background: rgba(255, 255, 255, .06); border-radius: 8px; padding: 7px 0;
  transition: all .15s;
}
.sidebar-links a:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.app-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.appbar {
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0 28px; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  position: sticky; top: 0; z-index: 90;
}
.appbar-title { font-size: 16px; font-weight: 700; }
.appbar-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.appbar-right { display: flex; align-items: center; gap: 12px; }

@media (max-width: 920px) {
  .app-wrap { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .sidebar-nav { display: flex; overflow-x: auto; padding: 8px 12px; }
  .sidebar-nav .nav-group, .sidebar-foot { display: none; }
  .sidebar-nav a { flex: none; margin-bottom: 0; }
}

/* ================= 布局 ================= */
.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 24px 28px 40px; flex: 1; }
.app-main .container { max-width: none; padding: 24px 28px 44px; }
.footer {
  padding: 20px 0; text-align: center; background: var(--card);
  border-top: 1px solid var(--line); margin-top: 28px;
  font-size: 12.5px; color: var(--ink-3);
}
.app-main .footer { margin-top: auto; }
.page-title { font-size: 22px; font-weight: 700; margin: 4px 0 18px; letter-spacing: .2px; }
.page-title .muted { font-size: 13px; font-weight: 400; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* ================= 卡片 / 表格 ================= */
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
  border: 1px solid rgba(230, 234, 242, .8);
  transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 {
  font-size: 15px; margin-bottom: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.card h3::before {
  content: ""; width: 3.5px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), #7c5cff); flex: none;
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  padding: 11px 12px; text-align: left;
  border-bottom: 1px solid #eef1f7; font-size: 13px;
}
.table th {
  color: var(--ink-3); font-weight: 500; background: #f8fafd;
  font-size: 12px; letter-spacing: .4px; white-space: nowrap;
}
.table th:first-child { border-radius: 8px 0 0 8px; }
.table th:last-child { border-radius: 0 8px 8px 0; }
.table tr:hover td { background: #f7faff; }
.table td { color: var(--ink-2); }
.table td b { color: var(--ink); }
.table-wrap { overflow-x: auto; }
.kv-table td { padding: 9px 12px; border-bottom: 1px dashed #eef1f7; font-size: 13.5px; }
.kv-table td:first-child { color: var(--ink-3); width: 130px; }
.edit-row > td { background: #f5f9ff !important; }

/* ================= 统计卡 ================= */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat-card {
  background: var(--card); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
  border: 1px solid rgba(230, 234, 242, .8);
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-card::after {
  content: ""; position: absolute; right: -24px; top: -24px;
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--brand-50); opacity: .7; z-index: 0;
}
.stat-card.c-green::after { background: #e7f9f1; }
.stat-card.c-violet::after { background: #f0ecff; }
.stat-card.c-orange::after { background: #fff3e2; }
.stat-card > * { position: relative; z-index: 1; }
.stat-label { color: var(--ink-3); font-size: 13px; display: flex; align-items: center; gap: 7px; }
.stat-num {
  font-size: 30px; font-weight: 700; margin: 6px 0 2px; color: var(--ink);
  font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: .5px;
  line-height: 1.2;
}
.stat-card .muted { font-size: 12px; }

/* ================= 按钮 / 表单 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, #2f7bff, var(--brand));
  color: #fff; border: none; border-radius: 9px;
  padding: 10px 24px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .18s; letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(30, 111, 255, .25);
  font-family: inherit;
}
.btn:hover { filter: brightness(1.07); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30, 111, 255, .35); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 7px; box-shadow: none; }
.btn-block { width: 100%; }
.btn-danger {
  background: linear-gradient(135deg, #f87171, var(--danger));
  box-shadow: 0 4px 12px rgba(239, 68, 68, .25);
}
.btn-danger:hover { box-shadow: 0 6px 18px rgba(239, 68, 68, .35); }
.btn-outline {
  background: var(--card); color: var(--brand);
  border: 1.5px solid var(--brand); box-shadow: none;
}
.btn-outline:hover { background: var(--brand-50); box-shadow: none; }
.btn-primary { background: linear-gradient(135deg, #2f7bff, var(--brand)); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea, .filter-bar input, .filter-bar select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: 9px; font-size: 14px;
  background: var(--card); color: var(--ink); outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .filter-bar input:focus, .filter-bar select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3.5px rgba(30, 111, 255, .12);
}
.form-group input::placeholder, .filter-bar input::placeholder { color: #b6bfd0; }
.form-group.inline { display: inline-block; width: auto; min-width: 160px; margin-right: 10px; }
.inline-form input[type="email"], .inline-form input[type="text"] {
  padding: 9px 13px; border: 1.5px solid var(--line); border-radius: 9px; outline: none;
}
.inline-form input:focus { border-color: var(--brand); }
.inline-form-wrap .form-group.inline input { min-width: 220px; }
.filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { width: auto; min-width: 130px; }

/* ================= 提示 ================= */
.alert {
  padding: 11px 16px; border-radius: 10px; margin-bottom: 14px; font-size: 13.5px;
  display: flex; align-items: center; gap: 8px;
}
.alert-success { background: var(--ok-bg); color: #067a55; border: 1px solid #b8ead6; }
.alert-error { background: var(--danger-bg); color: #c0353a; border: 1px solid #f6c9cb; }

/* ================= 标签 ================= */
.badge {
  display: inline-flex; align-items: center; padding: 2.5px 11px;
  border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: .3px;
}
.badge-free { background: #eef1f6; color: #6b7688; }
.badge-vip {
  background: linear-gradient(135deg, #fff2d9, #ffe4b3);
  color: #b06f0a; border: 1px solid #ffd98e;
}
.badge-off { background: var(--danger-bg); color: var(--danger); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot-on { background: var(--ok); box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }

/* ================= 登录注册（分屏） ================= */
.auth-topbar {
  height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.auth-topbar .back-home { color: var(--ink-3); font-size: 13.5px; display: inline-flex; align-items: center; gap: 5px; }
.auth-topbar .back-home:hover { color: var(--brand); }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 60px); flex: 1; }
.auth-side {
  background:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(124, 92, 255, .35) 0%, transparent 55%),
    radial-gradient(ellipse 80% 70% at 90% 100%, rgba(6, 182, 212, .22) 0%, transparent 55%),
    linear-gradient(150deg, #0c1730 0%, #10245a 55%, #0d1e4f 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: 60px 64px; position: relative; overflow: hidden;
}
.auth-side::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.auth-side > * { position: relative; }
.auth-side h2 { font-size: 32px; font-weight: 700; line-height: 1.35; margin-bottom: 16px; letter-spacing: .5px; }
.auth-side p { color: #a9b8dc; font-size: 15px; max-width: 420px; }
.auth-side .side-points { margin-top: 36px; display: grid; gap: 14px; }
.auth-side .side-points div { display: flex; align-items: center; gap: 10px; color: #c6d2ef; font-size: 14px; }
.auth-side .side-points svg { width: 17px; height: 17px; color: #5f9bff; flex: none; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 28px; background: var(--bg); }
.auth-card {
  width: 100%; max-width: 400px; background: var(--card);
  border-radius: 16px; padding: 38px 36px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(230, 234, 242, .8);
}
.auth-card h2 { text-align: center; margin-bottom: 6px; font-size: 24px; letter-spacing: .5px; }
.auth-card .auth-sub { text-align: center; color: var(--ink-3); font-size: 13px; margin-bottom: 24px; }
.auth-card .btn-block { padding: 12px; font-size: 15px; margin-top: 4px; }
.auth-card .muted.center { margin-top: 18px; }
@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

/* ================= 站点卡片 ================= */
.site-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.site-name { font-size: 16.5px; margin-right: 10px; }
.stat-mini {
  display: flex; gap: 26px; color: var(--ink-3); font-size: 13px;
  flex-wrap: wrap; align-items: center;
  padding: 12px 0; border-top: 1px dashed #eef1f7; border-bottom: 1px dashed #eef1f7;
}
.stat-mini b {
  color: var(--ink); font-size: 16px; font-weight: 700;
  font-family: var(--font-num); font-variant-numeric: tabular-nums; margin-left: 4px;
}
.code-box { margin-top: 14px; }
.code-box pre, .token-box {
  background: #0d1830; color: #9fc0ff;
  padding: 13px 16px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.7;
  white-space: pre-wrap; word-break: break-all; margin-top: 7px;
  border: 1px solid #1c2c52; position: relative;
  font-family: Consolas, "SF Mono", Menlo, monospace;
}
.code-box pre { margin-top: 7px; }
.token-box { color: #8fe3c4; }

/* ================= 价格卡 ================= */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.price-card {
  background: var(--card); border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow); border: 2px solid transparent;
  position: relative; transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-vip {
  border-color: #ffd98e;
  background: linear-gradient(180deg, #fffdf7 0%, #fff 30%);
}
.price-card .price-tag {
  position: absolute; top: -11px; right: 20px;
  background: linear-gradient(135deg, #ff9d2e, #f5820b);
  color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px; letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(245, 130, 11, .35);
}
.price-name { font-size: 18px; font-weight: 700; }
.price-value {
  font-size: 36px; font-weight: 700; color: var(--brand);
  margin: 10px 0 14px; font-family: var(--font-num); letter-spacing: .5px;
}
.price-value .muted { font-size: 14px; font-weight: 400; font-family: inherit; }
.price-features { list-style: none; margin-bottom: 18px; }
.price-features li {
  padding: 8px 0 8px 24px; border-bottom: 1px dashed #eef1f7;
  font-size: 13.5px; color: var(--ink-2); position: relative;
}
.price-features li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 700;
}

/* ================= 分页 ================= */
.pager { margin-top: 16px; display: flex; gap: 7px; flex-wrap: wrap; }
.pager a {
  padding: 6px 13px; background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; color: var(--ink-2); font-size: 13px; transition: all .15s;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager a.cur { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }

/* ================= 门户首页 ================= */
.hero {
  text-align: center; padding: 88px 24px 72px; position: relative; overflow: hidden;
  margin: -24px -28px 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% -8%, rgba(30, 111, 255, .14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(124, 92, 255, .08) 0%, transparent 60%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(15,30,61,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,30,61,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 20%, transparent 75%);
}
.hero > * { position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  color: var(--brand-700); font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 30px; margin-bottom: 22px;
}
.hero h1 {
  font-size: 46px; margin-bottom: 18px; letter-spacing: 1px;
  background: linear-gradient(120deg, #0f1e3d 30%, #1e6fff 75%, #7c5cff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1.25;
}
.hero p { color: var(--ink-2); font-size: 17px; margin-bottom: 34px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero .btn { padding: 13px 40px; font-size: 15.5px; margin: 0 7px; }
.hero .btn-outline { background: rgba(255,255,255,.7); }
.notice-bar {
  background: var(--brand-50); color: var(--brand-700);
  padding: 11px 18px; border-radius: 10px; margin-top: 26px;
  font-size: 13px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--brand-100);
}
.section { max-width: 1120px; margin: 0 auto; padding: 30px 24px 10px; }
.section-title { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; }
.section-sub { text-align: center; color: var(--ink-3); margin-bottom: 34px; font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature {
  background: var(--card); border-radius: 14px; padding: 28px 26px;
  box-shadow: var(--shadow); border: 1px solid rgba(230, 234, 242, .7);
  transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature h3 { font-size: 16px; margin: 14px 0 8px; font-weight: 700; }
.feature p { color: var(--ink-3); font-size: 13.5px; line-height: 1.75; }
.ficon {
  width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
}
.ficon svg { width: 23px; height: 23px; }
.ficon.blue { background: var(--brand-50); color: var(--brand); }
.ficon.green { background: var(--ok-bg); color: var(--ok); }
.ficon.violet { background: #f0ecff; color: var(--violet); }
.ficon.orange { background: var(--warn-bg); color: var(--warn); }
.brand-stats { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; padding: 26px 0 8px; }
.brand-stats .bs-num {
  font-size: 34px; font-weight: 700; font-family: var(--font-num);
  background: linear-gradient(120deg, var(--brand), var(--violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-stats .bs-label { color: var(--ink-3); font-size: 13px; margin-top: 2px; }

/* ================= 表格卡片响应 ================= */
@media (max-width: 640px) {
  .container, .app-main .container { padding: 16px 14px 32px; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 56px 16px 46px; margin: -16px -14px 0; }
  .topbar-inner { padding: 0 14px; gap: 12px; }
  .topnav { overflow-x: auto; }
  .brand-stats { gap: 36px; }
}

/* 滚动条美化 */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #c6cddd; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #a8b3c9; }
::-webkit-scrollbar-track { background: transparent; }

/* 入场动画 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero > *, .stat-card, .feature, .price-card, .card { animation: fadeUp .5s ease both; }
.stat-card:nth-child(2), .feature:nth-child(2), .price-card:nth-child(2) { animation-delay: .06s; }
.stat-card:nth-child(3), .feature:nth-child(3), .price-card:nth-child(3) { animation-delay: .12s; }
.stat-card:nth-child(4), .feature:nth-child(4), .price-card:nth-child(4) { animation-delay: .18s; }
