/* =============================================================
   高贝译拍 · 前台样式表
   纯手写 CSS 设计系统（对应原 Tailwind 主题变量）
   ============================================================= */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --primary-soft: #eff6ff;
  --foreground: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --success: #16a34a;
  --success-soft: #dcfce7;
  --warn: #d97706;
  --warn-soft: #fef3c7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --info: #0891b2;
  --info-soft: #cffafe;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);

  /* 全站整体缩放系数：只改这一个值即可等比放大／缩小整站
     1 = 原始尺寸；1.5 = 适配 2K/4K 大屏，内容约占窗口 70%；1.35 = 在 1.5 基础上缩小 10% */
  --ui-scale: 1.35;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: #fbfbff; }

/* 整体放大只作用于鼠标／触控板设备，手机、平板保持原始尺寸，避免小屏被放大后拥挤 */
@media (hover: hover) and (pointer: fine) {
  html { zoom: var(--ui-scale); }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--foreground);
  background: transparent;
}

/* ---------------- 全站动态渐变背景 ----------------
   参考风格：大面积留白 + 粉／紫／蓝柔和光晕缓慢流动
   三层叠加：底层大色块漂移，上层两片光斑以不同速率游走，整体再叠加轻微色相漂移 */
.aurora-bg {
  position: fixed; inset: -18%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 50% at 12% 84%, rgba(255, 166, 206, .56), transparent 70%),
    radial-gradient(42% 46% at 86% 16%, rgba(174, 201, 255, .54), transparent 70%),
    radial-gradient(48% 48% at 80% 90%, rgba(210, 188, 255, .48), transparent 72%),
    linear-gradient(160deg, #fdfeff 0%, #fbf9ff 46%, #fff7fc 100%);
  animation: auroraDrift 26s ease-in-out infinite alternate,
             auroraHue 56s ease-in-out infinite alternate;
}
.aurora-bg::before, .aurora-bg::after { content: ''; position: absolute; inset: 0; }
.aurora-bg::before {
  background:
    radial-gradient(46% 44% at 54% 28%, rgba(255, 255, 255, .58), transparent 72%),
    radial-gradient(34% 38% at 30% 20%, rgba(186, 224, 255, .46), transparent 72%),
    radial-gradient(30% 34% at 6% 44%, rgba(255, 190, 222, .40), transparent 74%),
    radial-gradient(28% 32% at 62% 44%, rgba(198, 234, 240, .30), transparent 74%);
  animation: auroraDriftB 34s ease-in-out infinite alternate;
}
.aurora-bg::after {
  background:
    radial-gradient(28% 32% at 64% 80%, rgba(255, 202, 212, .44), transparent 74%),
    radial-gradient(26% 28% at 44% 62%, rgba(212, 198, 255, .36), transparent 76%),
    radial-gradient(24% 26% at 94% 52%, rgba(255, 222, 236, .42), transparent 76%),
    radial-gradient(30% 34% at 18% 68%, rgba(255, 176, 208, .30), transparent 76%);
  animation: auroraDriftC 42s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -2%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
}
@keyframes auroraDriftB {
  0%   { transform: translate3d(0, 0, 0) scale(1.05); }
  50%  { transform: translate3d(-3.5%, 2.5%, 0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.1); }
}
@keyframes auroraDriftC {
  0%   { transform: translate3d(0, 0, 0) scale(1.03); }
  50%  { transform: translate3d(2%, 2.5%, 0) scale(1.12); }
  100% { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
}
@keyframes auroraHue {
  0%   { filter: hue-rotate(0deg) saturate(1); }
  50%  { filter: hue-rotate(10deg) saturate(1.06); }
  100% { filter: hue-rotate(-8deg) saturate(1); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-bg, .aurora-bg::before, .aurora-bg::after { animation: none; filter: none; }
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.3; font-weight: 700; }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }

hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

/* ---------------- 布局 ---------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-body { min-height: 60vh; padding: 32px 0 56px; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; min-width: 0; }
.shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 20px; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warn { color: var(--warn); }
.text-white { color: #fff; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.ml-auto { margin-left: auto; }
.w-full { width: 100%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hidden { display: none; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--primary); }
.brand svg { width: 24px; height: 24px; }
.brand-logo { height: 28px; width: auto; max-width: 160px; object-fit: contain; }

/* 产品图上传列表 */
.product-image-list { display: flex; flex-wrap: wrap; gap: 12px; }
.product-image-item {
    position: relative;
    width: 120px;
    height: 120px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}
.product-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-image-item .remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 2px 6px;
    font-size: 12px;
    opacity: 0.9;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--muted); }
.site-nav a:hover { color: var(--foreground); }
.site-nav a.active { color: var(--primary); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.user-chip .avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; font-size: 14px; font-weight: 500; line-height: 1.4;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  background: #fff; color: var(--foreground); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  font-family: inherit;
}
.btn:hover { color: var(--foreground); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--bg); color: var(--foreground); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: #15803d; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 12px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; }

/* ---------------- 卡片 ---------------- */
.card { background: rgba(255, 255, 255, .88); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card-hover { transition: box-shadow .2s, transform .2s; }
.card-hover:hover { box-shadow: var(--shadow); }
.card-body { padding: 20px; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 700; }
.card-footer { padding: 12px 20px; border-top: 1px solid var(--border); }
.card-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.card-pad-sm { padding: 14px; }

/* ---------------- 徽标 ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: var(--bg); color: var(--muted); border: 1px solid var(--border);
  white-space: nowrap;
}
.badge-success { background: var(--success-soft); color: #166534; border-color: transparent; }
.badge-warn { background: var(--warn-soft); color: #92400e; border-color: transparent; }
.badge-danger { background: var(--danger-soft); color: #991b1b; border-color: transparent; }
.badge-info { background: var(--info-soft); color: #155e75; border-color: transparent; }
.badge-muted { background: #f1f5f9; color: var(--muted); border-color: transparent; }
.badge-secondary { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: middle; animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------------- 表单 ---------------- */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #334155; }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%; padding: 9px 12px; font-size: 14px; font-family: inherit;
  color: var(--foreground); background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
textarea.form-control { min-height: 96px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }
.checkbox, .radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.checkbox input, .radio input { width: 16px; height: 16px; accent-color: var(--primary); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 20px; padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.filter-bar .form-group { margin-bottom: 0; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { background: var(--bg); font-weight: 600; color: var(--muted); font-size: 12px; text-transform: none; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #f8fafc; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------------- 提示 ---------------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; border: 1px solid transparent; }
.alert-success { background: var(--success-soft); color: #166534; border-color: #bbf7d0; }
.alert-error { background: var(--danger-soft); color: #991b1b; border-color: #fecaca; }
.alert-info { background: var(--info-soft); color: #155e75; border-color: #a5f3fc; }
.alert-warn { background: var(--warn-soft); color: #92400e; border-color: #fde68a; }

/* ---------------- 首页 ---------------- */
.hero { position: relative; padding: 96px 0 88px; text-align: center; overflow: hidden; min-height: 800px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% 0;
  background:
    radial-gradient(56% 66% at 44% 40%, rgba(167, 139, 250, .18), transparent 70%),
    radial-gradient(44% 56% at 66% 52%, rgba(255, 140, 190, .15), transparent 72%);
  animation: heroGlow 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero .badge { padding: 7px 18px; font-size: 14px; }
.hero h1 { font-size: 52px; margin-bottom: 22px; letter-spacing: -.01em; }
.hero h1 .text-primary {
  background: linear-gradient(100deg, #2563eb 0%, #7c3aed 28%, #06b6d4 52%, #8b5cf6 76%, #2563eb 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: heroGradientText 8s linear infinite;
}
@keyframes heroGlow {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: .85; }
  50%  { transform: translate3d(-4%, 2%, 0) scale(1.15); opacity: 1; }
  100% { transform: translate3d(4%, -2%, 0) scale(1.08); opacity: .9; }
}
@keyframes heroGradientText { to { background-position: 220% center; } }
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero h1 .text-primary { animation: none; }
}
.hero .lead { font-size: 20px; color: var(--muted); max-width: 760px; margin: 0 auto 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.hero-actions .btn-lg { padding: 16px 34px; font-size: 18px; border-radius: 12px; }

/* 首页 · 向下滚动引导（仅电脑端） */
html { scroll-behavior: smooth; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 12px;
  text-decoration: none; z-index: 2;
}
@media (min-width: 992px) { .scroll-hint { display: flex; } }
.scroll-hint-text {
  font-size: 11px; letter-spacing: .32em; text-indent: .32em;
  color: var(--muted); animation: hintFade 2.6s ease-in-out infinite;
}
.scroll-hint-arrows { display: flex; flex-direction: column; align-items: center; gap: 1px; animation: arrowBounce 2s ease-in-out infinite; }
.scroll-hint-arrow {
  width: 18px; height: 9px; opacity: 0;
  filter: drop-shadow(0 3px 8px rgba(99, 102, 241, .38)) hue-rotate(0deg);
  animation: arrowFlow 1.8s ease-in-out infinite, arrowHue 6s linear infinite;
}
.scroll-hint-arrow:nth-child(2) { animation-delay: .18s, 0s; }
.scroll-hint-arrow:nth-child(3) { animation-delay: .36s, 0s; }
.scroll-hint:hover .scroll-hint-text { color: var(--primary); }
.scroll-hint:hover .scroll-hint-arrow { filter: drop-shadow(0 4px 12px rgba(124, 58, 237, .5)) hue-rotate(45deg); }
@keyframes arrowFlow {
  0%   { transform: translateY(-6px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}
@keyframes arrowHue {
  0%   { filter: drop-shadow(0 3px 8px rgba(99, 102, 241, .38)) hue-rotate(0deg); }
  100% { filter: drop-shadow(0 3px 8px rgba(99, 102, 241, .38)) hue-rotate(360deg); }
}
@keyframes hintFade { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}
.section { padding: 64px 0; }
.section-alt { background: rgba(248, 250, 252, .45); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; gap: 16px; }
.section-head.row p { margin: 0; }

.feature-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }

/* 首页 · 平台优势（高大上版） */
.features-section { position: relative; overflow: hidden; }
.features-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 60% at 12% 20%, rgba(37, 99, 235, .07), transparent 70%),
    radial-gradient(40% 56% at 88% 30%, rgba(124, 58, 237, .08), transparent 72%),
    radial-gradient(46% 60% at 55% 100%, rgba(6, 182, 212, .06), transparent 74%);
}
.features-section > .container { position: relative; z-index: 1; }
.features-kicker {
  display: inline-block; margin-bottom: 14px; padding: 6px 16px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, .18); border-radius: 999px;
}
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.feature-card {
  position: relative; overflow: hidden;
  padding: 34px 30px 30px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 16px 40px -18px rgba(15, 23, 42, .14);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #06b6d4);
  opacity: 0; transition: opacity .35s ease;
}
.feature-card::after {
  content: ''; position: absolute; top: -70px; right: -70px;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, .10), transparent 70%);
  transition: transform .5s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(124, 58, 237, .22); box-shadow: 0 28px 56px -20px rgba(79, 70, 229, .28); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { transform: scale(1.25); }
.feature-num {
  position: absolute; top: 18px; right: 24px;
  font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(180deg, rgba(15, 23, 42, .10), rgba(15, 23, 42, .02));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.feature-icon-xl {
  position: relative; z-index: 1;
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 22px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 12px 24px -10px rgba(124, 58, 237, .55);
}
.feature-icon-xl svg { width: 28px; height: 28px; }
.feature-card:nth-child(2) .feature-icon-xl { background: linear-gradient(135deg, #f59e0b, #ef4444); box-shadow: 0 12px 24px -10px rgba(239, 68, 68, .5); }
.feature-card:nth-child(3) .feature-icon-xl { background: linear-gradient(135deg, #06b6d4, #2563eb); box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .5); }
.feature-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 20px; }
.feature-tag {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--primary-light); border: 1px solid rgba(37, 99, 235, .16);
}
.feature-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-num { font-size: 36px; }
}
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.stat-value { font-size: 42px; font-weight: 900; color: var(--primary); line-height: 1.1; letter-spacing: -0.02em; }
.stat-icon { width: 48px; height: 48px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; color: var(--primary); margin: 0 auto 14px; }
.stat-icon svg { width: 26px; height: 26px; display: block; }

.thumb { position: relative; aspect-ratio: 16 / 9; background: #f1f5f9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-hover:hover .thumb img { transform: scale(1.05); }
.thumb .badge { position: absolute; top: 10px; left: 10px; }

.avatar { border-radius: 50%; background: var(--primary-light); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-56 { width: 56px; height: 56px; font-size: 20px; }
.avatar-40 { width: 40px; height: 40px; font-size: 15px; }
.avatar-72 { width: 72px; height: 72px; font-size: 24px; }

.stars { color: #f59e0b; letter-spacing: 1px; }

.empty-state { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty-state .icon { font-size: 40px; margin-bottom: 12px; opacity: .5; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.info-item .label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.info-item .value { font-weight: 500; }

/* ---------------- 分页 ---------------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pagination a, .pagination span {
  min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; background: #fff; color: var(--muted);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled { opacity: .5; pointer-events: none; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 48px 0 0; margin-top: 64px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 13px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 32px; padding: 20px 0; text-align: center; font-size: 12px; color: #64748b; }
.footer-kefu img { display: block; width: 110px; height: 110px; border-radius: 8px; background: #fff; padding: 4px; }
.footer-kefu p { margin: 8px 0 0; font-size: 12px; color: #94a3b8; }

/* ---------------- 控制台布局 ---------------- */
.console { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 64px); background: var(--bg); }
.console-sidebar { background: #fff; border-right: 1px solid var(--border); padding: 20px 12px; }
.console-user { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.console-user .name { font-weight: 600; margin-top: 8px; }
.console-nav { list-style: none; padding: 0; margin: 0; }
.console-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); color: #475569; font-size: 14px; margin-bottom: 2px; }
.console-nav a:hover { background: var(--bg); color: var(--foreground); }
.console-nav a.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.console-main { padding: 24px 28px 48px; min-width: 0; }
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.console-head h1 { font-size: 22px; margin: 0; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.kpi .label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.kpi .value { font-size: 26px; font-weight: 700; color: var(--foreground); }
.kpi .value.primary { color: var(--primary); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 9px 14px; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--foreground); }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.msg-list { display: flex; flex-direction: column; gap: 14px; max-height: 460px; overflow-y: auto; padding: 4px; }
.msg { display: flex; gap: 10px; }
.msg .bubble { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; max-width: 76%; }
.msg .meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.msg.mine { flex-direction: row-reverse; }
.msg.mine .bubble { background: var(--primary-soft); border-color: var(--primary-light); }
.msg.mine .meta { text-align: right; }

.flow-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.flow-steps li { flex: 1; min-width: 120px; padding: 10px 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.flow-steps li.done { border-color: var(--success); color: var(--success); background: var(--success-soft); }
.flow-steps li.current { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); font-weight: 600; }

/* ---------------- 登录 / 注册 ---------------- */
.auth-wrap { max-width: 520px; margin: 40px auto; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 24px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 13px; }

/* ---------------- 错误页 ---------------- */
.error-page { max-width: 480px; margin: 100px auto; text-align: center; }
.error-page h1 { font-size: 64px; color: var(--primary); margin-bottom: 8px; }
.error-page p { color: var(--muted); margin-bottom: 24px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .console { grid-template-columns: 1fr; }
  .console-sidebar { border-right: none; border-bottom: 1px solid var(--border); }
  .console-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .console-nav a { margin-bottom: 0; }
}
@media (max-width: 768px) {
  .site-nav, .header-actions { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  /* 手机端合作高校：一行两列 */
  .schools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .schools-grid .school-hide-mobile { display: none; }
  .schools-grid .card-body { padding: 12px 10px; gap: 8px; }
  .schools-grid .avatar-56 { width: 42px; height: 42px; }
  .schools-grid .card-body h3 { font-size: 13px; }
  .schools-grid .card-body .text-sm { font-size: 11px; }
  .form-row, .info-list { grid-template-columns: 1fr; }
  /* 手机端首屏整体缩小（电脑端不受影响） */
  .hero { min-height: auto; padding: 52px 0 56px; }
  .hero .badge { padding: 4px 12px; font-size: 12px; }
  .hero h1 { font-size: 26px; margin-bottom: 14px; }
  .hero .lead { font-size: 15px; max-width: 100%; margin-bottom: 26px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-lg { padding: 11px 22px; font-size: 15px; border-radius: 10px; }
  /* 手机端平台数据数字缩小 */
  .stats-grid { gap: 18px; }
  .stat-value { font-size: 30px; }
  .stat-icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .stat-icon svg { width: 22px; height: 22px; }
  /* 手机端平台优势三模块缩小 */
  .features-grid { gap: 14px; }
  .feature-card { padding: 22px 18px; border-radius: 16px; }
  .feature-num { font-size: 30px; top: 14px; right: 18px; }
  .feature-icon-xl { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 15px; }
  .feature-icon-xl svg { width: 22px; height: 22px; }
  .feature-card h3 { font-size: 16px; margin-bottom: 8px; }
  .feature-card p { font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
  .feature-tag { padding: 5px 12px; font-size: 11px; }
  .section { padding: 44px 0; }
  .mobile-open .site-nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px; }
  .mobile-open .header-actions { display: flex; }
  /* 页脚在手机上保持两列，避免单列堆叠过长（品牌块仍占满整行） */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .site-footer { padding: 34px 0 0; margin-top: 48px; }
  .site-footer h4 { margin-bottom: 10px; }
  .site-footer li { margin-bottom: 6px; }
  .footer-bottom { margin-top: 22px; padding: 16px 0; }
  .console { grid-template-columns: 1fr; }
}

/* 页脚客服微信二维码 */
@media (max-width: 640px) {
  .footer-kefu img { width: 96px; height: 96px; }
}

/* ---------------- 面包屑导航（SEO 内链） ---------------- */
.breadcrumb { padding: 18px 0 0; font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #cbd5e1; }
.breadcrumb [aria-current="page"] { color: var(--foreground); }

/* ---------------- 常见问题（与 FAQPage 结构化数据同源） ---------------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 16px; margin: 0; }
.faq-item summary:hover h3 { color: var(--primary); }
.faq-plus { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .2s ease; }
.faq-plus::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-plus::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-answer { padding: 0 22px 18px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.faq-answer p { margin: 0; }

@media (max-width: 768px) {
  .breadcrumb { padding-top: 12px; }
  .faq-item summary { padding: 14px 16px; }
  .faq-item summary h3 { font-size: 15px; }
  .faq-answer { padding: 0 16px 14px; }
}

/* ---------------- 条款类页面（免责声明 / 用户协议 / 隐私政策） ---------------- */
.legal-doc { max-width: 900px; margin: 0 auto; }
.legal-doc h1 { font-size: 28px; margin: 0 0 10px; }
.legal-doc .legal-lead { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 0 0 14px; }
.legal-doc .legal-meta { font-size: 12px; color: var(--muted-2); line-height: 1.8; }
.legal-doc .legal-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; list-style: none; padding: 0; margin: 0; }
.legal-doc .legal-toc li { margin-bottom: 0; font-size: 13px; line-height: 1.8; }
.legal-doc .legal-toc a { color: var(--muted); }
.legal-doc .legal-toc a:hover { color: var(--primary); }
.legal-doc [id] { scroll-margin-top: 84px; }
.legal-doc h2 { font-size: 17px; margin: 0 0 12px; padding-left: 12px; border-left: 3px solid var(--primary); line-height: 1.45; }
.legal-doc h3 { margin-bottom: 6px; }
.legal-doc p, .legal-doc li { font-size: 14px; line-height: 1.95; color: #334155; }
.legal-doc p { margin: 0 0 12px; }
.legal-doc p:last-child { margin-bottom: 0; }
.legal-doc ul, .legal-doc ol { padding-left: 20px; margin: 0 0 12px; }
.legal-doc ul:last-child, .legal-doc ol:last-child { margin-bottom: 0; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc .legal-note { color: var(--muted); font-size: 13px; }
.legal-doc .info-list { margin-top: 6px; }
@media (max-width: 768px) {
  .legal-doc h1 { font-size: 23px; }
  .legal-doc .legal-toc { grid-template-columns: 1fr; }
  .legal-doc .legal-lead { font-size: 14px; }
}
