/* ============================================
   心商科技官网 - 公共样式
   主色调：天蓝色/科技蓝
   设计风格：高端、简洁、大气、科技感
   ============================================ */

/* CSS变量 */
:root {
  --primary-color: #1677ff;
  --primary-light: #4096ff;
  --primary-dark: #0958d9;
  --primary-bg: #e6f4ff;
  --primary-gradient: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  --primary-gradient-light: linear-gradient(135deg, #4096ff 0%, #1677ff 100%);

  --cyan-color: #13c2c2;
  --purple-color: #722ed1;
  --purple-light: #9254de;

  --success-color: #52c41a;
  --warning-color: #faad14;
  --error-color: #f5222d;
  --info-color: #1677ff;

  --text-primary: #1f1f1f;
  --text-secondary: #595959;
  --text-tertiary: #8c8c8c;
  --text-disabled: #bfbfbf;
  --text-white: #ffffff;

  --bg-body: #ffffff;
  --bg-white: #ffffff;
  --bg-gray: #f5f7fa;
  --bg-hover: #fafafa;
  --bg-active: #f0f0f0;

  --border-color: #e5e7eb;
  --border-light: #f0f0f0;
  --border-lighter: #f5f5f5;

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-base: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 48px rgba(22, 119, 255, 0.18);
  --shadow-primary: 0 8px 24px rgba(22, 119, 255, 0.25);

  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-round: 50%;

  --container-max: 1200px;
  --header-height: 72px;
  --header-height-scrolled: 64px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.35s ease;
  --transition-slower: 0.5s ease;

  --font-size-xs: 12px;
  --font-size-sm: 13px;
  --font-size-base: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-size-5xl: 38px;
  --font-size-6xl: 48px;

  --line-height-base: 1.6;
  --line-height-tight: 1.3;
}

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background-color: var(--bg-body);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  outline: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all var(--transition-fast);
  background-color: var(--bg-white);
  color: var(--text-primary);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--text-primary);
}

/* 容器 */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

/* 工具类 - Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-1 { flex: 1; }
.flex-auto { flex: 0 0 auto; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }
.gap-60 { gap: 60px; }

/* 工具类 - Margin */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-60 { margin-top: 60px; }
.mt-80 { margin-top: 80px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }
.ml-4 { margin-left: 4px; }
.ml-8 { margin-left: 8px; }
.ml-12 { margin-left: 12px; }
.ml-16 { margin-left: 16px; }
.ml-24 { margin-left: 24px; }
.mr-4 { margin-right: 4px; }
.mr-8 { margin-right: 8px; }
.mr-12 { margin-right: 12px; }
.mr-16 { margin-right: 16px; }
.mr-24 { margin-right: 24px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* 工具类 - Padding */
.p-0 { padding: 0; }
.p-8 { padding: 8px; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.p-24 { padding: 24px; }
.p-32 { padding: 32px; }
.p-40 { padding: 40px; }
.p-48 { padding: 48px; }
.pt-0 { padding-top: 0; }
.pt-8 { padding-top: 8px; }
.pt-16 { padding-top: 16px; }
.pt-24 { padding-top: 24px; }
.pt-40 { padding-top: 40px; }
.pt-60 { padding-top: 60px; }
.pt-80 { padding-top: 80px; }
.pt-100 { padding-top: 100px; }
.pb-0 { padding-bottom: 0; }
.pb-8 { padding-bottom: 8px; }
.pb-16 { padding-bottom: 16px; }
.pb-24 { padding-bottom: 24px; }
.pb-40 { padding-bottom: 40px; }
.pb-60 { padding-bottom: 60px; }
.pb-80 { padding-bottom: 80px; }
.pb-100 { padding-bottom: 100px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.py-60 { padding-top: 60px; padding-bottom: 60px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-24 { padding-left: 24px; padding-right: 24px; }

/* 工具类 - 文本 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-justify { text-align: justify; }

.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-error { color: var(--error-color); }
.text-info { color: var(--info-color); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-white { color: var(--text-white); }
.text-cyan { color: var(--cyan-color); }
.text-purple { color: var(--purple-color); }

.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }
.text-6xl { font-size: var(--font-size-6xl); }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* 工具类 - 省略 */
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ellipsis-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 工具类 - 定位 */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }
.z-1000 { z-index: 1000; }

/* 工具类 - 尺寸 */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.max-w-full { max-width: 100%; }
.min-h-screen { min-height: 100vh; }

/* 工具类 - 显示 */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }

/* 工具类 - 其他 */
.pointer { cursor: pointer; }
.pointer-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-visible { overflow: visible; }
.select-none { user-select: none; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-sm {
  padding: 6px 16px;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 32px;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-lg);
}

.btn-xl {
  padding: 16px 40px;
  font-size: var(--font-size-xl);
  border-radius: var(--radius-lg);
}

/* 主按钮 */
.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-gradient-light);
  color: #fff;
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3);
}

/* 次要按钮 */
.btn-secondary {
  background-color: var(--primary-bg);
  color: var(--primary-color);
  border-color: var(--primary-bg);
}

.btn-secondary:hover {
  background-color: #bae0ff;
  color: var(--primary-color);
}

/* 描边按钮 */
.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

/* 幽灵按钮 */
.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--primary-bg);
  color: var(--primary-color);
}

/* 白色按钮（深色背景上） */
.btn-white {
  background-color: #fff;
  color: var(--primary-color);
  border-color: #fff;
}

.btn-white:hover {
  background-color: var(--primary-bg);
  border-color: var(--primary-bg);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* 白色描边按钮 */
.btn-white-outline {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-white-outline:hover {
  background-color: #fff;
  color: var(--primary-color);
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* 卡片样式 */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-lighter);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
}

.card-body {
  padding: 24px;
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-lighter);
  background-color: var(--bg-hover);
}

/* 表单样式 */
.form-item {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.form-label.required::before {
  content: '*';
  color: var(--error-color);
  margin-right: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  padding: 10px 14px;
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
  background-color: var(--bg-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-item {
  flex: 1;
}

.form-error {
  color: var(--error-color);
  font-size: var(--font-size-xs);
  margin-top: 6px;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error-color);
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(245, 34, 45, 0.1);
}

/* 标签/Tag */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  line-height: 1.5;
  white-space: nowrap;
  font-weight: 500;
}

.tag-primary {
  background-color: var(--primary-bg);
  color: var(--primary-color);
}

.tag-success {
  background-color: #f6ffed;
  color: var(--success-color);
}

.tag-warning {
  background-color: #fffbe6;
  color: var(--warning-color);
}

.tag-error {
  background-color: #fff1f0;
  color: var(--error-color);
}

.tag-info {
  background-color: #e6fffb;
  color: var(--cyan-color);
}

.tag-purple {
  background-color: #f9f0ff;
  color: var(--purple-color);
}

.tag-default {
  background-color: #f5f5f5;
  color: var(--text-secondary);
}

.tag-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* 表格样式 */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-base);
}

.table th {
  background-color: var(--bg-gray);
  color: var(--text-secondary);
  font-weight: 600;
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
  font-size: var(--font-size-sm);
}

.table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-lighter);
  color: var(--text-primary);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background-color: var(--bg-hover);
}

/* 分页样式 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination .page-info {
  margin-right: 12px;
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
}

.pagination .page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--font-size-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination .page-btn:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.pagination .page-btn.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: var(--primary-color);
}

.pagination .page-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination .page-btn[disabled]:hover {
  color: var(--text-primary);
  border-color: var(--border-color);
}

/* 模态框样式 */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
  backdrop-filter: blur(4px);
}

.modal {
  background-color: var(--bg-white);
  border-radius: var(--radius-xl);
  width: 560px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-lighter);
}

.modal-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 20px;
}

.modal-close:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.modal-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-lighter);
  background-color: var(--bg-hover);
}

/* Toast消息提示 */
.toast-container {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.toast {
  padding: 12px 24px;
  border-radius: var(--radius-base);
  color: #fff;
  font-size: var(--font-size-base);
  box-shadow: var(--shadow-lg);
  animation: toastSlideDown 0.3s ease;
  max-width: 90vw;
  word-break: break-all;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.success {
  background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
}

.toast.error {
  background: linear-gradient(135deg, #f5222d 0%, #cf1322 100%);
}

.toast.warning {
  background: linear-gradient(135deg, #faad14 0%, #d48806 100%);
}

.toast.info {
  background: var(--primary-gradient);
}

/* 轮播图 */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex-shrink: 0;
  width: 100%;
}

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-base);
}

.carousel-dot.active {
  background-color: #fff;
  width: 28px;
  border-radius: 5px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
  font-size: 20px;
}

.carousel-arrow:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.carousel-arrow.prev {
  left: 24px;
}

.carousel-arrow.next {
  right: 24px;
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fadeIn { animation: fadeIn 0.5s ease; }
.animate-slideUp { animation: slideUp 0.5s ease; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* 加载中 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-light);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-lg {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

/* 分割线 */
.divider {
  height: 1px;
  background-color: var(--border-lighter);
  margin: 24px 0;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-lighter);
}

/* 徽章 */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background-color: var(--error-color);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 600;
}

/* 空状态 */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-text {
  font-size: var(--font-size-lg);
}

.empty-desc {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* 进度条 */
.progress {
  width: 100%;
  height: 8px;
  background-color: var(--bg-active);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* 头像 */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--primary-bg);
  color: var(--primary-color);
  font-weight: 500;
  flex-shrink: 0;
}

.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.avatar-base { width: 40px; height: 40px; font-size: 14px; }
.avatar-lg { width: 56px; height: 56px; font-size: 18px; }
.avatar-xl { width: 80px; height: 80px; font-size: 24px; }

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 响应式断点 */

/* 大屏设备（大于 1200px */
@media (max-width: 1200px) {
  :root {
    --container-max: 100%;
  }
}

/* 平板设备（小于等于 992px） */
@media (max-width: 992px) {
  .hide-tablet {
    display: none !important;
  }
  
  .text-6xl { font-size: 40px; }
  .text-5xl { font-size: 32px; }
  .text-4xl { font-size: 26px; }
  
  .py-100 { padding-top: 70px; padding-bottom: 70px; }
  .py-80 { padding-top: 60px; padding-bottom: 60px; }
  .py-60 { padding-top: 48px; padding-bottom: 48px; }
}

/* 移动端设备（小于等于 768px） */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --header-height-scrolled: 56px;
  }
  
  .hide-mobile {
    display: none !important;
  }
  
  .show-mobile {
    display: block !important;
  }
  
  .flex-mobile-col {
    flex-direction: column;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .modal {
    width: 95vw;
    max-height: 95vh;
  }
  
  .card-body {
    padding: 20px;
  }
  
  .text-6xl { font-size: 32px; }
  .text-5xl { font-size: 26px; }
  .text-4xl { font-size: 22px; }
  .text-3xl { font-size: 20px; }
  
  .py-100 { padding-top: 50px; padding-bottom: 50px; }
  .py-80 { padding-top: 40px; padding-bottom: 40px; }
  .py-60 { padding-top: 32px; padding-bottom: 32px; }
  .py-40 { padding-top: 24px; padding-bottom: 24px; }
  
  .container {
    padding: 0 16px;
  }
  
  .btn-xl {
    padding: 12px 28px;
    font-size: var(--font-size-base);
  }
  
  .btn-lg {
    padding: 10px 24px;
    font-size: var(--font-size-base);
  }
}

/* 小屏移动端（小于等于 480px） */
@media (max-width: 480px) {
  .hide-mobile-xs {
    display: none !important;
  }
  
  .text-6xl { font-size: 26px; }
  .text-5xl { font-size: 22px; }
  .text-4xl { font-size: 20px; }
  .text-3xl { font-size: 18px; }
  
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .carousel-arrow.prev { left: 12px; }
  .carousel-arrow.next { right: 12px; }
  
  .pagination .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: var(--font-size-sm);
  }
}
