/* B 端工作台首页 */
.site-home {
  min-height: 100vh;
  background: #f0f2f5;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e4e7ed;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #303133;
}

.site-brand i {
  font-size: 22px;
  color: #409eff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-hero {
  background: linear-gradient(135deg, #1d2b3a 0%, #304156 55%, #1a2332 100%);
  color: #fff;
  padding: 80px 24px 88px;
}

.site-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.site-hero-badge {
  display: inline-block;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.site-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.site-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.88;
  margin-bottom: 32px;
}

.site-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-features {
  padding: 64px 24px;
  flex: 1;
}

.site-features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 8px;
}

.site-section-sub {
  text-align: center;
  font-size: 14px;
  color: #909399;
  margin-bottom: 40px;
}

.site-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.site-feature-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.site-feature-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.site-feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  color: #fff;
}

.feature-icon.fc-blue { background: linear-gradient(135deg, #409eff, #337ecc); }
.feature-icon.fc-green { background: linear-gradient(135deg, #67c23a, #529b2e); }
.feature-icon.fc-orange { background: linear-gradient(135deg, #e6a23c, #cf9236); }
.feature-icon.fc-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

.site-feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 8px;
}

.site-feature-card p {
  font-size: 13px;
  color: #909399;
  line-height: 1.6;
}

.site-cta {
  background: #fff;
  border-top: 1px solid #ebeef5;
  padding: 56px 24px;
}

.site-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.site-cta-inner h2 {
  font-size: 22px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 10px;
}

.site-cta-inner p {
  font-size: 14px;
  color: #909399;
  margin-bottom: 24px;
}

.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #909399;
  background: #fff;
  border-top: 1px solid #ebeef5;
}

.home-page {
  max-width: 1280px;
  margin: 0 auto;
}

.home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: linear-gradient(135deg, #1d2b3a 0%, #304156 60%, #243447 100%);
  border-radius: 8px;
  padding: 32px 36px;
  margin-bottom: 20px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(48, 65, 86, 0.25);
}

.home-hero-greet {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.home-hero-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.home-hero-desc {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 16px;
  max-width: 480px;
  line-height: 1.6;
}

.home-hero-tags {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.home-hero-date {
  font-size: 13px;
  opacity: 0.75;
}

.home-hero-date i {
  margin-right: 4px;
}

.home-hero-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.home-section {
  margin-bottom: 20px;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.home-section-head h2 {
  font-size: 16px;
  font-weight: 600;
  color: #303133;
}

.home-section-sub {
  font-size: 13px;
  color: #909399;
}

.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.home-stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-left: 4px solid transparent;
  min-width: 0;
  overflow: hidden;
}

.home-stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.home-stat-card.stat-blue { border-left-color: #409eff; }
.home-stat-card.stat-green { border-left-color: #67c23a; }
.home-stat-card.stat-orange { border-left-color: #e6a23c; }
.home-stat-card.stat-purple { border-left-color: #9b59b6; }
.home-stat-card.stat-red { border-left-color: #f56c6c; }

.home-stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-blue .stat-icon { background: rgba(64, 158, 255, 0.12); color: #409eff; }
.stat-green .stat-icon { background: rgba(103, 194, 58, 0.12); color: #67c23a; }
.stat-orange .stat-icon { background: rgba(230, 162, 60, 0.12); color: #e6a23c; }
.stat-purple .stat-icon { background: rgba(155, 89, 182, 0.12); color: #9b59b6; }
.stat-red .stat-icon { background: rgba(245, 108, 108, 0.12); color: #f56c6c; }

.home-stat-card .stat-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.home-stat-card .stat-value {
  font-size: 26px;
  font-weight: 600;
  color: #303133;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-stat-card .stat-label {
  font-size: 13px;
  color: #909399;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-main-row {
  margin-top: 0;
}

.home-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.home-module-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #ebeef5;
}

.home-module-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #409eff;
}

.home-module-card .module-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: #fff;
}

.module-icon.bg-blue { background: linear-gradient(135deg, #409eff, #337ecc); }
.module-icon.bg-green { background: linear-gradient(135deg, #67c23a, #529b2e); }
.module-icon.bg-orange { background: linear-gradient(135deg, #e6a23c, #cf9236); }
.module-icon.bg-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

.home-module-card .module-info {
  flex: 1;
  min-width: 0;
}

.home-module-card .module-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 4px;
}

.home-module-card .module-info p {
  font-size: 12px;
  color: #909399;
  line-height: 1.5;
}

.home-module-card .module-arrow {
  color: #c0c4cc;
  font-size: 14px;
  flex-shrink: 0;
}

.home-module-card:hover .module-arrow {
  color: #409eff;
}

.home-quick-list {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.home-quick-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  color: #606266;
  border-bottom: 1px solid #f2f3f5;
  transition: background 0.15s, color 0.15s;
}

.home-quick-item:last-child {
  border-bottom: none;
}

.home-quick-item:hover {
  background: #f5f7fa;
  color: #409eff;
}

.home-quick-item > i:first-child {
  font-size: 16px;
  color: #909399;
  width: 20px;
  text-align: center;
}

.home-quick-item:hover > i:first-child {
  color: #409eff;
}

.home-quick-item > span {
  flex: 1;
}

.home-quick-item > i:last-child {
  font-size: 12px;
  color: #c0c4cc;
}

.home-tips-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.home-tips-text {
  font-size: 13px;
  color: #606266;
  line-height: 1.6;
  margin-bottom: 14px;
}

.home-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-tips-list li {
  font-size: 13px;
  color: #606266;
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px dashed #ebeef5;
  padding-left: 14px;
  position: relative;
}

.home-tips-list li:last-child {
  border-bottom: none;
}

.home-tips-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #409eff;
}

@media (max-width: 768px) {
  .home-hero {
    padding: 24px 20px;
  }

  .home-hero-title {
    font-size: 22px;
  }

  .home-hero-actions {
    width: 100%;
  }

  .home-hero-actions .el-button {
    flex: 1;
  }
}
