/* == css/app/page-home.css · 由 css/style.css L122-320 原样拆分，规则与顺序未动 == */

/* ============================================================
   PC 首页
   ============================================================ */
.hero { padding: 96px 0 110px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 72px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  background: var(--blue-50);
  color: var(--blue);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
}
.hero h1 {
  margin-top: 26px;
  font-size: 52px;
  line-height: 1.31;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero-sub {
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-1);
  max-width: 560px;
}
.hero-cta { margin-top: 26px; display: flex; gap: 14px; }
.hero-meta { margin-top: 26px; font-size: 13px; color: var(--gray-3); }

/* Hero 右侧工单预览卡 */
.hero-visual { position: relative; }
.ticket-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}
.ticket-top { display: flex; align-items: center; justify-content: space-between; }
.ticket-tags { display: flex; gap: 8px; }
.ticket-id { font-size: 12px; color: var(--gray-3); }
.ticket-title {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.62;
}
.ticket-desc { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--gray-2); }
.ticket-progress { margin-top: 16px; }
.ticket-progress-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.ticket-progress-head .label { color: var(--gray-2); }
.ticket-progress-head .pct { color: var(--blue); font-weight: 600; }
.progress-bar {
  margin-top: 8px;
  height: 6px;
  border-radius: 3px;
  background: #f1f1f4;
  overflow: hidden;
}
.progress-bar span { display: block; width: 62%; height: 100%; background: var(--blue); border-radius: 3px; }
.ticket-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f1f4;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-3);
}
.float-stat {
  position: absolute;
  left: 10px;
  bottom: -46px;
  width: 268px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-float);
}
.float-stat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-50);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.float-stat-num { font-size: 18px; font-weight: 700; line-height: 1.3; }
.float-stat-label { font-size: 12px; color: var(--gray-2); }

/* ---------- 反馈类型区 ---------- */
.types { padding: 96px 0 88px; }
.section-head h2 { font-size: 28px; font-weight: 700; }
.section-head p { margin-top: 10px; font-size: 14px; color: var(--gray-2); }
.type-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.type-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.type-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}
.type-icon.blue { background: var(--blue-50); }
.type-icon.red { background: var(--red-50); }
.type-icon.teal { background: var(--teal-50); }
.type-card h3 { margin-top: 14px; font-size: 17px; font-weight: 600; }
.type-card p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--gray-2); }
.type-chips { margin-top: 14px; display: flex; gap: 8px; }
.type-chips span {
  background: #f7f7f8;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--gray-1);
}

/* ---------- 处理流程 ---------- */
.flow { background: var(--bg-soft); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 56px 0; }
.flow-row { display: flex; align-items: center; }
.flow-step { display: flex; align-items: center; gap: 12px; flex: none; }
.flow-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.flow-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.flow-sub { font-size: 12px; color: var(--gray-3); }
.flow-line { flex: 1; height: 1px; background: var(--border); margin: 0 20px; }

/* ---------- 最新工单 ---------- */
.tickets { padding: 64px 0 80px; }
.tickets-head { display: flex; align-items: center; justify-content: space-between; }
.tickets-head h2 { font-size: 28px; font-weight: 700; }
.tickets-more { font-size: 14px; font-weight: 500; color: var(--blue); }
.tickets-more:hover { text-decoration: underline; }
.ticket-list {
  margin-top: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.ticket-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 24px;
  transition: background 0.15s;
}
.ticket-row:hover { background: var(--bg-soft); }
.ticket-row + .ticket-row { border-top: 1px solid #f1f1f4; }
.ticket-row .title {
  flex: 1;
  font-size: 14px;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticket-row .date { font-size: 13px; color: var(--gray-3); flex: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--black); padding: 44px 0 36px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-logo { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand .name { color: #fff; font-size: 15px; font-weight: 700; }
.footer-brand .desc { color: var(--gray-2); font-size: 13px; margin-left: 8px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--gray-3); font-size: 13px; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-copy {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #27272a;
  font-size: 12px;
  color: var(--gray-2);
}
.footer-copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-copy a:hover { color: #fff; }
