/* ============================================================
   AI 万能混剪 · 设计系统
   暗夜 Noir + 电光青 + 紫罗兰 + 霓虹粉 · 杂志衬线标题
   ============================================================ */
:root {
  /* Surfaces — 深空黑 + 紫调蓝 */
  --bg-0: #04060f;
  --bg-1: #080d1f;
  --bg-2: #0f1633;
  --bg-3: #161d44;
  --surface: rgba(15, 22, 51, 0.55);
  --surface-hi: rgba(22, 29, 68, 0.72);
  --sidebar-bg: rgba(4, 6, 15, 0.82);
  --hairline: rgba(130, 145, 220, 0.10);
  --hairline-hi: rgba(130, 145, 220, 0.24);

  /* Brand — 电光青 + 紫罗兰 + 霓虹粉 */
  --brand-1: #00e5ff;
  --brand-2: #7c3aed;
  --brand-3: #ec4899;
  --brand-4: #38bdf8;
  --grad-brand: linear-gradient(135deg, #00e5ff 0%, #7c3aed 50%, #ec4899 100%);
  --grad-cool: linear-gradient(135deg, #00e5ff 0%, #7c3aed 100%);
  --grad-warm: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --grad-mesh: radial-gradient(at 20% 20%, rgba(0, 229, 255, 0.16) 0px, transparent 50%),
               radial-gradient(at 80% 10%, rgba(124, 58, 237, 0.20) 0px, transparent 50%),
               radial-gradient(at 50% 100%, rgba(236, 72, 153, 0.10) 0px, transparent 50%);

  /* Semantic */
  --ok: #00ffa3;
  --warn: #ffb547;
  --err: #ff4d6d;
  --info: #00e5ff;

  /* Text */
  --t1: #ffffff;
  --t2: rgba(240, 245, 255, 0.86);
  --t3: rgba(190, 205, 240, 0.62);
  --t4: rgba(150, 170, 220, 0.40);

  /* Shadows */
  --sh-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --sh-md: 0 8px 30px rgba(0, 0, 0, 0.45);
  --sh-lg: 0 18px 60px rgba(0, 0, 0, 0.55);
  --sh-glow: 0 0 40px rgba(0, 229, 255, 0.12);

  --radius: 14px;
  --radius-sm: 10px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Georgia", "Times New Roman", "Songti SC", "STSong", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--t2);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--t1); font-weight: 700; }

/* 背景光晕 */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--grad-mesh), var(--bg-0);
  pointer-events: none;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-brand);
  color: #04060f;
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.22);
}
.btn-primary:hover { box-shadow: 0 8px 34px rgba(0, 229, 255, 0.38); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline-hi);
  color: var(--t2);
}
.btn-ghost:hover { border-color: var(--brand-1); color: var(--brand-1); }
.btn-danger { background: rgba(255, 77, 109, 0.12); border-color: rgba(255, 77, 109, 0.4); color: var(--err); }
.btn-danger:hover { background: rgba(255, 77, 109, 0.2); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ============ 顶部导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(4, 6, 15, 0.72);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: var(--grad-brand);
  color: #04060f;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-serif);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; color: var(--t1); font-size: 16px; }
.logo-text em { font-style: normal; font-size: 11px; color: var(--t3); font-weight: 500; letter-spacing: 2px; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--t3); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-1); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* ============ 通用排版 ============ */
.page-main { min-height: 60vh; }
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--brand-1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  margin-bottom: 14px;
  background: linear-gradient(120deg, #fff 20%, #9fe8ff 50%, #e8b3ff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { color: var(--t3); font-size: 16px; }

/* ============ Hero ============ */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { font-size: 17px; color: var(--t3); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 36px; }
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  background: var(--grad-cool);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats .stat span { font-size: 13px; color: var(--t4); }

/* Hero 右侧视觉卡片 */
.hero-visual {
  position: relative;
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(22, 29, 68, 0.85), rgba(8, 13, 31, 0.9));
  border: 1px solid var(--hairline-hi);
  box-shadow: var(--sh-lg), var(--sh-glow);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: var(--grad-brand);
  opacity: .16;
  z-index: -1;
  filter: blur(28px);
}
.hv-window { border-radius: 12px; overflow: hidden; background: #05081a; border: 1px solid var(--hairline); }
.hv-bar { display: flex; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--hairline); }
.hv-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.hv-bar i:nth-child(1) { background: #ff5f57; }
.hv-bar i:nth-child(2) { background: #febc2e; }
.hv-bar i:nth-child(3) { background: #28c840; }
.hv-body { padding: 18px; display: grid; gap: 12px; }
.hv-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; position: relative; }
.hv-line::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.5), transparent);
  animation: scan 2.6s infinite;
}
.hv-line:nth-child(2) { width: 82%; }
.hv-line:nth-child(3) { width: 64%; }
.hv-line:nth-child(4) { width: 90%; }
.hv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.hv-tile {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(0,229,255,.10), rgba(124,58,237,.14));
  border: 1px solid var(--hairline);
}
@keyframes scan { 0% { transform: translateX(-100%);} 100% { transform: translateX(100%);} }

/* ============ 功能网格 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: transform .2s ease, border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-hi);
  box-shadow: var(--sh-md);
}
.feature-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .25s;
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(145deg, rgba(0,229,255,.14), rgba(124,58,237,.18));
  border: 1px solid var(--hairline-hi);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--t3); }

/* ============ 定价 ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative;
  padding: 34px 28px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.price-card.popular {
  border-color: transparent;
  background:
    linear-gradient(160deg, rgba(0,229,255,.10), rgba(124,58,237,.12), rgba(236,72,153,.08)),
    var(--bg-1);
  box-shadow: 0 0 0 1px rgba(0,229,255,.35), 0 20px 60px rgba(0,229,255,.10);
}
.price-card.popular::before {
  content: "最受欢迎";
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand);
  color: #04060f;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.price-card h3 { font-size: 18px; margin-bottom: 6px; }
.price-card .price {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--t1);
  margin: 14px 0 4px;
}
.price-card .price small { font-size: 15px; color: var(--t4); font-weight: 400; font-family: var(--font-sans); }
.price-card .price-origin { font-size: 13px; color: var(--t4); text-decoration: line-through; }
.price-card ul { list-style: none; margin: 20px 0 26px; display: grid; gap: 10px; }
.price-card ul li { font-size: 14px; color: var(--t3); display: flex; gap: 8px; }
.price-card ul li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.price-card .btn { margin-top: auto; }

/* ============ 演示区 ============ */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.demo-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.demo-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 18px; }
.demo-card p { color: var(--t3); font-size: 14px; margin-bottom: 18px; }
.demo-cred {
  display: grid;
  gap: 8px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--hairline-hi);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.demo-cred code { color: var(--brand-1); font-family: ui-monospace, "SF Mono", Consolas, monospace; }
.demo-cred .row { display: flex; justify-content: space-between; }
.demo-cred .row span:first-child { color: var(--t4); }

/* ============ 页脚 ============ */
.footer { border-top: 1px solid var(--hairline); background: rgba(4, 6, 15, 0.6); margin-top: 40px; }
.footer-inner { display: flex; gap: 60px; padding: 56px 24px 40px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--t4); font-size: 13px; margin-top: 14px; line-height: 1.8; }
.footer-cols { display: flex; gap: 72px; margin-left: auto; }
.footer-cols h4 { font-size: 14px; margin-bottom: 14px; color: var(--t1); }
.footer-cols a { display: block; font-size: 13px; color: var(--t4); margin-bottom: 10px; transition: color .2s; }
.footer-cols a:hover { color: var(--brand-1); }
.footer-bar {
  border-top: 1px solid var(--hairline);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--t4);
  max-width: 1180px;
  margin: 0 auto;
}

/* ============ 表单 ============ */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--t3); margin-bottom: 7px; font-weight: 500; }
.input, .select, .textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-hi);
  background: rgba(255, 255, 255, 0.04);
  color: var(--t1);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand-1);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}
.input::placeholder { color: var(--t4); }
.textarea { min-height: 100px; resize: vertical; }
.select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #0b0f1f;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' stroke='%238291dc' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: calc(100% - 14px) center;
  background-size: 12px 8px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}
.select option {
  background-color: #0b0f1f;
  color: #ffffff;
  padding: 10px 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--t4); margin-top: 6px; }

/* 密码框眼睛 */
.pwd-wrap { position: relative; }
.pwd-wrap .input { padding-right: 44px; }
.pwd-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  cursor: pointer; font-size: 16px; color: var(--t4); user-select: none;
}

/* ============ 登录卡 ============ */
.login-wrap { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(22, 29, 68, 0.7), rgba(8, 13, 31, 0.9));
  border: 1px solid var(--hairline-hi);
  box-shadow: var(--sh-lg);
}
.login-card .login-head { text-align: center; margin-bottom: 28px; }
.login-card .login-head .logo-mark { width: 52px; height: 52px; font-size: 22px; border-radius: 14px; margin: 0 auto 14px; }
.login-card h1 { font-size: 22px; font-family: var(--font-serif); margin-bottom: 6px; }
.login-card .login-head p { font-size: 13px; color: var(--t4); }
.tabs { display: flex; background: rgba(255,255,255,.04); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.tabs a { flex: 1; text-align: center; padding: 8px; font-size: 14px; color: var(--t3); border-radius: 8px; transition: all .2s; }
.tabs a.active { background: var(--grad-cool); color: #04060f; font-weight: 700; }

/* ============ 表格 ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.card-head h2 { font-size: 16px; }
.card-body { padding: 22px; }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 13px 16px; text-align: left; white-space: nowrap; }
.table th { font-size: 12px; color: var(--t4); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--hairline); }
.table td { border-bottom: 1px solid var(--hairline); color: var(--t2); }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: rgba(0, 229, 255, 0.03); }
.table .num { font-family: var(--font-serif); }

/* ============ 徽章 ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}
.badge-ok { color: var(--ok); background: rgba(0, 255, 163, 0.08); border-color: rgba(0, 255, 163, 0.3); }
.badge-warn { color: var(--warn); background: rgba(255, 181, 71, 0.08); border-color: rgba(255, 181, 71, 0.3); }
.badge-err { color: var(--err); background: rgba(255, 77, 109, 0.08); border-color: rgba(255, 77, 109, 0.3); }
.badge-info { color: var(--info); background: rgba(0, 229, 255, 0.08); border-color: rgba(0, 229, 255, 0.3); }
.badge-muted { color: var(--t4); background: rgba(255,255,255,.05); border-color: var(--hairline-hi); }
.badge-vip { color: #04060f; background: var(--grad-brand); border: none; }

/* ============ 分页 ============ */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 20px 0 6px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid var(--hairline-hi);
  color: var(--t3);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--brand-1); color: var(--brand-1); }
.pagination .cur { background: var(--grad-cool); color: #04060f; font-weight: 700; border: none; }
.pagination .gap { border: none; color: var(--t4); }

/* ============ Toast ============ */
.toast {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(12px);
  box-shadow: var(--sh-md);
  animation: toast-in .25s ease;
}
.toast-ok { background: rgba(0, 255, 163, 0.14); color: var(--ok); border: 1px solid rgba(0, 255, 163, 0.4); }
.toast-err { background: rgba(255, 77, 109, 0.14); color: var(--err); border: 1px solid rgba(255, 77, 109, 0.4); }
.toast-info { background: rgba(0, 229, 255, 0.12); color: var(--info); border: 1px solid rgba(0, 229, 255, 0.4); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -8px);} to { opacity: 1; transform: translate(-50%, 0);} }

/* ============ 后台布局 ============ */
.admin-body { background: var(--bg-0); }
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 236px;
  flex-shrink: 0;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--hairline);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 10;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--hairline);
}
.sidebar-brand strong { display: block; font-size: 14px; color: var(--t1); line-height: 1.3; }
.sidebar-brand small { font-size: 11px; color: var(--t4); letter-spacing: 1px; }
.sidebar-menu { flex: 1; padding: 14px 12px; }
.menu-group { margin-bottom: 18px; }
.menu-group-title { font-size: 11px; color: var(--t4); letter-spacing: 2px; padding: 0 10px 8px; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--t3);
  margin-bottom: 2px;
  transition: all .18s;
  border: 1px solid transparent;
}
.menu-item:hover { color: var(--t1); background: rgba(255,255,255,.04); }
.menu-item.active {
  color: #04060f;
  background: var(--grad-cool);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.25);
}
.menu-item .mi-icon { width: 18px; text-align: center; font-size: 14px; }
.sidebar-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.sidebar-foot a { color: var(--t4); transition: color .2s; }
.sidebar-foot a:hover { color: var(--brand-1); }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(4, 6, 15, 0.7);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.topbar-title { font-size: 15px; font-weight: 700; color: var(--t1); font-family: var(--font-serif); }
.topbar-right { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.topbar-user { color: var(--t3); }
.admin-content { padding: 26px 28px 48px; }

/* 统计卡 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--grad-brand);
}
.stat-card .stat-label { font-size: 12.5px; color: var(--t4); margin-bottom: 8px; }
.stat-card .stat-value { font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--t1); line-height: 1; }
.stat-card .stat-sub { font-size: 12px; color: var(--t4); margin-top: 8px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.section-gap { margin-top: 22px; }

/* 快捷操作 */
.quick-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============ 会员中心 ============ */
.member-hero {
  margin: 34px auto 0;
  max-width: 1180px;
  padding: 0 24px;
}
.welcome-card {
  padding: 30px 34px;
  border-radius: 18px;
  background:
    radial-gradient(at 85% 15%, rgba(0, 229, 255, 0.16), transparent 50%),
    radial-gradient(at 10% 90%, rgba(124, 58, 237, 0.18), transparent 55%),
    var(--surface);
  border: 1px solid var(--hairline-hi);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.welcome-card h2 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 6px; }
.welcome-card p { font-size: 14px; color: var(--t3); }
.welcome-actions { display: flex; gap: 12px; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px auto; max-width: 1180px; padding: 0 24px; }
.module-card {
  display: block;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.module-card:hover { transform: translateY(-3px); border-color: var(--hairline-hi); box-shadow: var(--sh-md); }
.module-card .mi { font-size: 26px; margin-bottom: 12px; display: block; }
.module-card h3 { font-size: 16px; margin-bottom: 6px; }
.module-card p { font-size: 13px; color: var(--t4); }

.member-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px 60px; }
.member-wrap .section-gap { margin-top: 24px; }

/* 任务进度条 */
.progress { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 999px; background: var(--grad-cool); transition: width .3s; }

/* 空状态 */
.empty { padding: 46px 20px; text-align: center; color: var(--t4); font-size: 14px; }
.empty .empty-icon { font-size: 40px; margin-bottom: 12px; opacity: .6; }

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { width: 200px; }
  .footer-inner { gap: 32px; }
  .footer-cols { margin-left: 0; gap: 44px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; flex-direction: row; overflow-x: auto; align-items: center; }
  .sidebar-brand { border: none; padding: 12px 16px; }
  .sidebar-menu { display: flex; padding: 8px; gap: 4px; }
  .menu-group { margin: 0; display: flex; align-items: center; }
  .menu-group-title { display: none; }
  .menu-item { white-space: nowrap; padding: 7px 12px; }
  .sidebar-foot { display: none; }
  .topbar { padding: 0 16px; }
  .admin-content { padding: 18px 16px 40px; }
  .form-row { grid-template-columns: 1fr; }
  .welcome-card { flex-direction: column; align-items: flex-start; }
}
