/* ============================================
   NiuFace 牛脸识别解决方案
   创建时间：2026-06-18
   ============================================ */

/* Banner */
.niuface-page .nf-banner {
  position: relative;
  width: 100%;
  height: 460px;
  background: linear-gradient(135deg, #0f1a2e 0%, #1a3550 50%, #0d1f35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.niuface-page .nf-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(114, 46, 209, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(24, 144, 255, 0.06) 0%, transparent 60%);
}
.niuface-page .nf-banner .nf-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 30px;
}
.niuface-page .nf-banner .nf-banner-inner h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.niuface-page .nf-banner .nf-banner-inner h1 span {
  color: #722ed1;
}
.niuface-page .nf-banner .nf-banner-inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}
.niuface-page .nf-banner .nf-banner-tags {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.niuface-page .nf-banner .nf-banner-tags span {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(114,46,209,0.4);
  border-radius: 20px;
  font-size: 13px;
  color: #b37feb;
  background: rgba(114,46,209,0.08);
}

/* Section common */
.niuface-page .nf-section {
  padding: 80px 0;
}
.niuface-page .nf-section.bg-light {
  background: #f7f9fc;
}
.niuface-page .nf-section-title {
  text-align: center;
  margin-bottom: 56px;
}
.niuface-page .nf-section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}
.niuface-page .nf-section-title p {
  font-size: 15px;
  color: #888;
  max-width: 650px;
  margin: 0 auto;
}

/* 产品定位 — card grid */
.niuface-page .nf-pos-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.niuface-page .nf-pos-card {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.niuface-page .nf-pos-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.niuface-page .nf-pos-card .nf-pos-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.niuface-page .nf-pos-card .nf-pos-icon.blue   { background: #e6f7ff; color: #1890ff; }
.niuface-page .nf-pos-card .nf-pos-icon.purple { background: #f9f0ff; color: #722ed1; }
.niuface-page .nf-pos-card .nf-pos-icon.green  { background: #f0fff4; color: #52c41a; }
.niuface-page .nf-pos-card .nf-pos-icon.orange { background: #fff7e6; color: #fa8c16; }
.niuface-page .nf-pos-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.niuface-page .nf-pos-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* 核心算法链 — horizontal flow */
.niuface-page .nf-flow-steps {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.niuface-page .nf-flow-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  position: relative;
  padding: 20px 16px;
}
.niuface-page .nf-flow-step::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 56px;
  font-size: 24px;
  color: #bbb;
  font-weight: 300;
}
.niuface-page .nf-flow-step:last-child::after {
  content: '';
}
.niuface-page .nf-flow-step .nf-step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #722ed1, #b37feb);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.niuface-page .nf-flow-step h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.niuface-page .nf-flow-step p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* 用户端功能 — product cards */
.niuface-page .nf-prod-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.niuface-page .nf-prod-card {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 28px;
  border-top: 4px solid #722ed1;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.niuface-page .nf-prod-card:nth-child(2) { border-top-color: #52c41a; }
.niuface-page .nf-prod-card:nth-child(3) { border-top-color: #1890ff; }
.niuface-page .nf-prod-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.niuface-page .nf-prod-card .nf-prod-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 16px;
}
.niuface-page .nf-prod-card .nf-prod-tag.purple { background: #f9f0ff; color: #722ed1; }
.niuface-page .nf-prod-card .nf-prod-tag.green  { background: #f0fff4; color: #52c41a; }
.niuface-page .nf-prod-card .nf-prod-tag.blue   { background: #e6f7ff; color: #1890ff; }
.niuface-page .nf-prod-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.niuface-page .nf-prod-card ul li {
  font-size: 14px;
  color: #555;
  line-height: 2;
  padding-left: 20px;
  position: relative;
}
.niuface-page .nf-prod-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #52c41a;
  font-weight: 700;
}

/* 管理后台 — feature cards */
.niuface-page .nf-feat-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.niuface-page .nf-feat-card {
  flex: 1;
  min-width: 260px;
  max-width: 300px;
  background: #fff;
  border-radius: 10px;
  padding: 32px 24px;
  border-left: 4px solid #722ed1;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.niuface-page .nf-feat-card:nth-child(2) { border-left-color: #1890ff; }
.niuface-page .nf-feat-card:nth-child(3) { border-left-color: #52c41a; }
.niuface-page .nf-feat-card:nth-child(4) { border-left-color: #fa8c16; }
.niuface-page .nf-feat-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.niuface-page .nf-feat-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}

/* 核心数据表 */
.niuface-page .nf-tables {
  max-width: 900px;
  margin: 0 auto;
}
.niuface-page .nf-tables .nf-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}
.niuface-page .nf-tables table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.niuface-page .nf-tables table thead th {
  background: #f6f0ff;
  color: #531dab;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  text-align: left;
}
.niuface-page .nf-tables table tbody td {
  padding: 12px 16px;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}
.niuface-page .nf-tables table tbody tr:last-child td {
  border-bottom: none;
}
.niuface-page .nf-tables table tbody td:first-child {
  font-weight: 600;
  color: #1a1a2e;
}

/* 关键指标 */
.niuface-page .nf-metric-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.niuface-page .nf-metric-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.niuface-page .nf-metric-card .nf-metric-value {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #722ed1, #b37feb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.niuface-page .nf-metric-card .nf-metric-label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
}
.niuface-page .nf-metric-card .nf-metric-desc {
  font-size: 13px;
  color: #999;
  margin-top: 6px;
}

/* 部署说明 */
.niuface-page .nf-deploy {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.niuface-page .nf-deploy .nf-deploy-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.niuface-page .nf-deploy .nf-deploy-tags span {
  padding: 10px 24px;
  background: #f9f0ff;
  color: #722ed1;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
}

/* Banner to section gap */
.niuface-page .nf-banner + .nf-section {
  padding-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
  .niuface-page .nf-banner { height: 340px; }
  .niuface-page .nf-banner .nf-banner-inner h1 { font-size: 28px; }
  .niuface-page .nf-banner .nf-banner-inner p { font-size: 14px; }
  .niuface-page .nf-section { padding: 50px 0; }
  .niuface-page .nf-section-title h2 { font-size: 24px; }
  .niuface-page .nf-flow-step::after { display: none; }
}
