/* ============================================
   首页 — Hero Banner/快捷操作
   从 style.css 拆分
   ============================================ */

/* ----- Hero Banner (Home) ----- */
/* ===== Hero Banner ===== */

.hero-banner {
  background: linear-gradient(160deg, #B3000C 0%, #D7000F 35%, #E8333C 60%, #B3000C 100%);
  border-radius: 22px;
  padding: var(--space-8) var(--space-6);
  color: #fff;
  margin-bottom: var(--space-5);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(215,0,15,.2), 0 1px 4px rgba(179,0,12,.15);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-top {
  margin-bottom: var(--space-5);
}

.hero-greeting {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-date {
  font-size: var(--text-xs);
  opacity: .65;
  margin-top: 2px;
  font-weight: 400;
}

/* Stats row — glass cards */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: var(--space-4);
  border: 1px solid rgba(255,255,255,.15);
}

.hero-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}

.hero-stat-icon {
  font-size: 1.125rem;
  line-height: 1;
  flex-shrink: 0;
  opacity: .9;
}

.hero-stat-body {
  min-width: 0;
}

.hero-stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.625rem;
  opacity: .65;
  font-weight: 400;
  line-height: 1.2;
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* ===== Quick Actions ===== */

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: var(--space-3) var(--space-1);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  color: var(--color-text);
  transition: all .2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}
.quick-action:active {
  transform: scale(.94);
}

.qa-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  transition: transform .2s var(--ease-out);
}
.quick-action:active .qa-icon-wrap {
  transform: scale(.9);
}

.qa-icon-svg { display: block; }

/* Recommend — warm orange */
.qa-recommend { background: #FFFBF7; }
.qa-recommend .qa-icon-wrap { background: #FFF0E0; color: #D7000F; }

/* Copy — indigo */
.qa-copy { background: #FAFBFF; }
.qa-copy .qa-icon-wrap { background: #F4F3F0; color: #78716C; }

/* Analyze — emerald */
.qa-analyze { background: #FAFDFB; }
.qa-analyze .qa-icon-wrap { background: #ECFDF5; color: #059669; }

/* Churn — amber */
.qa-churn { background: #FFFBEB; }
.qa-churn .qa-icon-wrap { background: #FFF7D6; color: #D97706; }

.qa-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--color-text);
}

.qa-desc {
  font-size: 0.5625rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

