/**
 * HormLab Portal · 检测流程页样式
 */

/* 时间线 */
.flow-timeline { position: relative; }
.ft-item { display: flex; gap: 24px; position: relative; padding-bottom: 36px; }
.ft-item:last-child { padding-bottom: 0; }
.ft-item::before {
  content: ''; position: absolute; left: 21px; top: 48px; bottom: 0;
  width: 2px; background: var(--border-light);
}
.ft-item:last-child::before { display: none; }
.ft-dot {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; z-index: 1;
  box-shadow: 0 4px 14px rgba(91,108,255,.3);
}
.ft-card {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); padding: 26px 28px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.ft-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ft-card-highlight { border-color: rgba(212,162,78,.45); background: linear-gradient(180deg, rgba(212,162,78,.04), var(--bg-card)); }
.ft-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.ft-desc { font-size: 14.5px; color: var(--text-mid); line-height: 1.75; margin: 0; }

/* 采样管 */
.ft-tubes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.ft-tube {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: var(--r-md); padding: 16px; border: 1px solid var(--border-light);
}
.tube-am { background: rgba(236,72,153,.05); border-color: rgba(236,72,153,.25); }
.tube-pm { background: rgba(59,130,246,.05); border-color: rgba(59,130,246,.25); }
.ft-tube-icon { font-size: 26px; }
.ft-tube-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.tube-am .ft-tube-name { color: #DB2777; }
.tube-pm .ft-tube-name { color: #2563EB; }
.ft-tube-meta { font-size: 12.5px; color: var(--text-mid); margin-bottom: 6px; }
.ft-tube-idx { font-size: 12.5px; color: var(--text-light); line-height: 1.5; }

/* 注意事项 */
.ft-tips { margin-top: 16px; border-top: 1px dashed var(--border-light); padding-top: 14px; }
.ft-tips summary {
  font-size: 14px; font-weight: 600; color: var(--warning); cursor: pointer; user-select: none;
  list-style: none;
}
.ft-tips summary::-webkit-details-marker { display: none; }
.ft-tips summary::before { content: '⚠ '; }
.ft-tips ul { margin: 12px 0 0; padding-left: 20px; }
.ft-tips li { font-size: 13.5px; color: var(--text-mid); line-height: 1.8; }

/* 进度条 */
.track-strip {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px;
}
.track-node {
  padding: 10px 22px; border-radius: var(--r-pill);
  background: var(--bg-card); border: 1px solid var(--border-light);
  font-size: 14px; font-weight: 500; color: var(--text-mid);
}
.track-done {
  background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.4); color: var(--success);
  font-weight: 700;
}
.track-arrow { color: var(--text-light); font-size: 16px; }
.track-note { text-align: center; margin-top: 24px; }
.track-note p { font-size: 14px; color: var(--text-mid); }
.track-note a { color: var(--primary-blue); font-weight: 500; }
.track-note a:hover { text-decoration: underline; }

/* 报告三层 */
.report-layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 40px; }
.rl-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.rl-card:hover { transform: translateY(-3px); border-color: rgba(0,229,199,.4); }
.rl-num {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--cyan-glow); background: rgba(0,229,199,.1);
  border: 1px solid rgba(0,229,199,.3); border-radius: var(--r-sm);
  padding: 3px 12px; margin-bottom: 14px; letter-spacing: 1px;
}
.rl-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.rl-desc { font-size: 14px; color: var(--text-white-soft); line-height: 1.75; }

/* FAQ（复用 products.css 的 .faq-list/.faq-item —— 在此页重新声明以防单独引用） */
.container-narrow { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .2s ease;
}
.faq-item:hover { border-color: rgba(212,162,78,.4); }
.faq-item summary {
  padding: 16px 20px; font-size: 15px; font-weight: 600; cursor: pointer;
  list-style: none; position: relative; padding-right: 44px; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 300; color: var(--gold); transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 20px 18px; font-size: 14px; color: var(--text-mid); line-height: 1.75; margin: 0; }
.section-more { text-align: center; margin-top: 36px; }

/* 页头标题金色 accent（page-hero 内） */
.page-hero-h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; line-height: 1.25; margin: 18px 0 16px; letter-spacing: -1px; color: #fff; }
.page-hero-lead { color: var(--text-white-soft); font-size: 17px; line-height: 1.7; margin: 0 auto; max-width: 640px; }
.page-hero-h1 .accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 响应式 */
@media (max-width: 768px) {
  .ft-item { gap: 14px; }
  .ft-card { padding: 20px; }
  .ft-tubes { grid-template-columns: 1fr; }
  .track-node { padding: 8px 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .ft-card, .rl-card { transition: none; }
}
