/* =========================================================
   首页样式 - 大型活动风险评估系统
   主题色基于 Logo 青绿色 (#1BAFA8)
   ========================================================= */

:root {
  --home-ink: #0f2e2c;
  --home-text: #374151;
  --home-muted: #6b7280;
  --home-line: rgba(15, 42, 41, 0.08);
  --home-radius: 1.25rem;
  --home-shadow: 0 18px 40px rgba(13, 138, 133, 0.1);
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: #f4fbfa;
}

.section-dark {
  background: #0b2422;
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--zt-primary-light);
  color: var(--zt-primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--home-ink);
  margin-bottom: 0.75rem;
}

.section-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--home-muted);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-eyebrow {
  background: rgba(27, 175, 168, 0.18);
  color: #7fe3dc;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(27, 175, 168, 0.14), transparent 60%),
    linear-gradient(180deg, #f6fdfc 0%, #ffffff 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.glow-a {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -80px;
  background: rgba(27, 175, 168, 0.28);
}

.glow-b {
  width: 300px;
  height: 300px;
  bottom: -120px;
  left: -80px;
  background: rgba(13, 138, 133, 0.18);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--zt-primary-soft);
  color: var(--zt-primary-dark);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(13, 138, 133, 0.08);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zt-primary);
  box-shadow: 0 0 0 4px rgba(27, 175, 168, 0.18);
}

.hero-title {
  margin: 1.25rem 0 0;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--home-ink);
}

.hero-title-accent {
  display: block;
  margin-top: 0.35rem;
  background: linear-gradient(90deg, var(--zt-primary) 0%, var(--zt-primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 34em;
  margin: 1.25rem 0 2rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--home-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-hero-primary,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.btn-hero-primary {
  background: linear-gradient(90deg, var(--zt-primary) 0%, var(--zt-primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(27, 175, 168, 0.28);
}

.btn-hero-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(27, 175, 168, 0.36);
}

.btn-hero-ghost {
  background: #ffffff;
  color: var(--zt-primary-dark);
  border: 1px solid var(--zt-primary-soft);
}

.btn-hero-ghost:hover {
  color: var(--zt-primary-dark);
  background: var(--zt-primary-light);
  transform: translateY(-2px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--home-text);
}

.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--zt-primary);
}

/* 首屏数据卡 */
.hero-visual {
  display: grid;
  gap: 1.25rem;
}

.data-card {
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  padding: 1.5rem;
  box-shadow: var(--home-shadow);
}

.data-card-flat {
  box-shadow: 0 10px 26px rgba(13, 138, 133, 0.07);
}

.data-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.data-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--home-ink);
}

.data-card-tag {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 0.72rem;
  color: var(--home-muted);
}

.donut-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}

.donut {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: conic-gradient(#f59e0b 0 12%,
      #34c6bc 12% 45%,
      var(--zt-primary) 45% 100%);
}

.donut-hole {
  position: absolute;
  inset: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border-radius: 50%;
  background: #ffffff;
}

.donut-hole strong {
  font-size: 1.5rem;
  color: var(--home-ink);
}

.donut-hole span {
  font-size: 0.72rem;
  color: var(--home-muted);
}

.donut-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--home-text);
}

.donut-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lg {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.lg-low {
  background: var(--zt-primary);
}

.lg-mid {
  background: #34c6bc;
}

.lg-high {
  background: #f59e0b;
}

.dim-list {
  display: grid;
  gap: 0.85rem;
}

.dim-item {
  display: grid;
  grid-template-columns: 72px 1fr 34px;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.84rem;
  color: var(--home-text);
}

.dim-bar {
  height: 8px;
  border-radius: 999px;
  background: #eef4f3;
  overflow: hidden;
}

.dim-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--zt-primary), #34c6bc);
}

.dim-item em {
  font-style: normal;
  text-align: right;
  color: var(--home-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- 关键指标 ---------- */
.stats {
  padding: 3rem 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--zt-primary-dark);
}

.stat-item strong small {
  margin-left: 2px;
  font-size: 1rem;
  font-weight: 600;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--home-muted);
}

/* ---------- 核心能力 ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cap-card {
  padding: 1.75rem 1.6rem;
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
  border-color: var(--zt-primary-soft);
}

.cap-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: var(--zt-primary-light);
  color: var(--zt-primary-dark);
}

.cap-ico svg {
  width: 24px;
  height: 24px;
}

.cap-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--home-ink);
  margin-bottom: 0.5rem;
}

.cap-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--home-muted);
}

/* ---------- 评估流程 ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-step {
  position: relative;
  padding: 1.6rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}

.process-step::after {
  content: "";
  position: absolute;
  top: 2.6rem;
  right: -0.75rem;
  width: 0.5rem;
  height: 2px;
  background: var(--zt-primary-soft);
}

.process-step:last-child::after {
  display: none;
}

.step-no {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--zt-primary-soft);
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--home-ink);
  margin-bottom: 0.45rem;
}

.process-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--home-muted);
}

/* ---------- 服务场景 ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.scene-card {
  padding: 1.75rem;
  border-radius: var(--home-radius);
  background: linear-gradient(160deg, #ffffff 0%, var(--zt-primary-light) 100%);
  border: 1px solid var(--home-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}

.scene-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--home-ink);
  margin-bottom: 0.5rem;
}

.scene-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--home-muted);
}

/* ---------- 数字化平台 ---------- */
.platform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.platform-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.1rem;
}

.platform-list li {
  display: flex;
  gap: 0.9rem;
}

.pl-ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0.8rem;
  background: rgba(27, 175, 168, 0.16);
  color: #7fe3dc;
}

.pl-ico svg {
  width: 20px;
  height: 20px;
}

.platform-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #ffffff;
  font-size: 0.98rem;
}

.platform-list p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.platform-visual {
  display: grid;
  gap: 1.25rem;
}

.chart-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--home-radius);
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.chart-head em {
  font-style: normal;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 160px;
}

.bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  height: 100%;
}

.bar i {
  display: block;
  width: 100%;
  min-height: 8px;
  border-radius: 0.5rem 0.5rem 0.2rem 0.2rem;
  background: linear-gradient(180deg, #7fe3dc, var(--zt-primary));
}

.bar span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.chart-card-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.mini-metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #7fe3dc;
}

.mini-metric span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.about-card {
  padding: 1.6rem;
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}

.about-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--zt-primary) 0%, var(--zt-primary-dark) 100%);
  color: #ffffff;
}

.about-ico svg {
  width: 22px;
  height: 22px;
}

.about-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--home-ink);
  margin-bottom: 0.5rem;
}

.about-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--home-muted);
}

/* ---------- 行动号召 ---------- */
.cta {
  padding: 4rem 0;
  background: linear-gradient(120deg, var(--zt-primary) 0%, var(--zt-primary-dark) 60%, #0a6f6a 100%);
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.cta p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-cta,
.btn-cta-ghost {
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.btn-cta {
  background: #ffffff;
  color: var(--zt-primary-dark);
  font-weight: 700;
}

.btn-cta:hover {
  color: var(--zt-primary-dark);
  transform: translateY(-2px);
}

.btn-cta-ghost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 991.98px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step::after {
    display: none;
  }

  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cap-grid,
  .scene-grid,
  .about-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.75rem 1rem;
  }

  .stat-item strong {
    font-size: 1.6rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
