/* ---------- 首页产品特色 ---------- */
.home-features {
  padding: 80px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(76, 106, 255, 0.06) 0%, transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(196, 18, 48, 0.05) 0%, transparent 38%),
    linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
}

.home-features-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.home-features .section-title {
  margin-bottom: 12px;
}

.home-features .section-subtitle {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.75;
  color: #4e5a70;
}

.home-features-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-features-highlights li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4e8ef;
  font-size: 13px;
  color: #232d47;
  box-shadow: 0 2px 8px rgba(17, 31, 51, 0.04);
}

.home-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 26px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8ebf0;
  box-shadow: 0 4px 20px rgba(17, 31, 51, 0.05);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--feature-accent, var(--primary));
}

.home-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 18, 48, 0.22);
  box-shadow: 0 16px 40px rgba(17, 31, 51, 0.1);
}

.home-feature-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.home-feature-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(17, 31, 51, 0.12);
}

.home-feature-icon img {
  width: 64px;
  height: 64px;
  display: block;
}

.home-feature-index {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: rgba(35, 45, 71, 0.08);
  letter-spacing: -0.02em;
}

.home-feature-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #232d47;
  line-height: 1.4;
}

.home-feature-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #676c73;
  flex: 1;
}

.home-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.home-feature-tags li {
  padding: 4px 10px;
  border-radius: 6px;
  background: #f4f6fa;
  font-size: 12px;
  color: #4e5a70;
  line-height: 1.4;
}

.home-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.home-feature-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.home-feature-card:hover .home-feature-link::after {
  transform: translateX(4px);
}

.home-feature-card--ai {
  --feature-accent: #9c27b0;
  --feature-icon-bg: rgba(156, 39, 176, 0.1);
}

.home-feature-card--control {
  --feature-accent: #f44336;
  --feature-icon-bg: rgba(244, 67, 54, 0.1);
}

.home-feature-card--send {
  --feature-accent: #2196f3;
  --feature-icon-bg: rgba(33, 150, 243, 0.1);
}

.home-feature-card--security {
  --feature-accent: #4caf50;
  --feature-icon-bg: rgba(76, 175, 80, 0.1);
}

.home-feature-card--client {
  --feature-accent: #ff5722;
  --feature-icon-bg: rgba(255, 87, 34, 0.1);
}

.home-feature-card--brand {
  --feature-accent: #795548;
  --feature-icon-bg: rgba(121, 85, 72, 0.1);
}

.home-features-foot {
  margin-top: 40px;
  text-align: center;
}

.btn-home-features-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 44px;
  padding: 0 28px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-home-features-more:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(196, 18, 48, 0.22);
}

@media (max-width: 1024px) {
  .home-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .home-features {
    padding: 56px 0;
  }

  .home-features-head {
    margin-bottom: 28px;
  }

  .home-features-highlights {
    gap: 8px;
  }

  .home-features-highlights li {
    font-size: 12px;
    padding: 5px 12px;
  }

  .home-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-feature-card {
    padding: 22px 20px 20px;
  }

  .home-feature-card h3 {
    font-size: 17px;
  }

  .home-feature-desc {
    font-size: 13px;
  }

  .home-features-foot {
    margin-top: 28px;
  }
}
