/* === HERO PRODUCTS (page-specific) === */
.hero-products {
  position: relative;
  padding: 86px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #ffffff 100%);
}

.hero-products::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.72), transparent 88%);
  pointer-events: none;
}

.hero-products::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 36px;
  width: min(900px, 90vw);
  height: 370px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 20% 45%, rgba(37,99,235,0.15), transparent 32%),
    radial-gradient(circle at 72% 28%, rgba(124,58,237,0.12), transparent 30%),
    radial-gradient(circle at 48% 72%, rgba(8,145,178,0.10), transparent 34%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero-products h1 {
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -4.2px;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-products h1 span {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 45%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-products p {
  max-width: 780px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
}

.hero-products p strong {
  color: var(--text);
  font-weight: 800;
}

/* Hero-actions override (centered for this page) */
.hero-products .hero-actions {
  justify-content: center;
  margin-bottom: 34px;
}

/* === HERO PRODUCT STRIP === */
.hero-product-strip {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.strip-card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 14px;
  transition: 0.18s ease;
}

.strip-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-dark);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
}

.strip-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.strip-card.niaoce .strip-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.strip-card.okpan .strip-icon {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.strip-card.dropaxo .strip-icon {
  background: var(--purple-soft);
  color: var(--purple);
}

.strip-card h3 {
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
}

.strip-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: 0.18s ease;
  min-height: 430px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-dark);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.product-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.07);
}

.product-icon {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 29px;
  margin-bottom: 20px;
}

.product-card.niaoce .product-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.product-card.okpan .product-icon {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.product-card.dropaxo .product-icon {
  background: var(--purple-soft);
  color: var(--purple);
}

.product-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 14px;
}

.product-card h3 {
  position: relative;
  z-index: 2;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.product-card .domain {
  position: relative;
  z-index: 2;
  color: var(--primary);
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 12px;
}

.product-card .desc {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.product-features {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-soft);
  font-size: 14px;
}

.product-features i {
  color: var(--primary);
  font-size: 17px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.product-actions {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* === ECOSYSTEM PANEL === */
.ecosystem-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.ecosystem-left h3 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.ecosystem-left p {
  color: var(--muted);
  font-size: 15px;
}

.ecosystem-flow {
  display: grid;
  gap: 12px;
}

.flow-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
}

.flow-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
}

.flow-item:nth-child(1) .flow-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.flow-item:nth-child(2) .flow-icon {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.flow-item:nth-child(3) .flow-icon {
  background: var(--purple-soft);
  color: var(--purple);
}

.flow-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.flow-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.flow-tag {
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

/* === SCENARIO GRID === */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.scenario-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: 0.18s ease;
}

.scenario-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-dark);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.scenario-card i {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.scenario-card h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.scenario-card p {
  color: var(--muted);
  font-size: 14px;
}

/* === RESPONSIVE === */
@media (max-width: 1060px) {
  .hero-product-strip,
  .product-grid,
  .ecosystem-panel,
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-products {
    padding: 58px 0 62px;
  }

  .hero-products h1 {
    letter-spacing: -1.5px;
  }

  .hero-products p,
  .section-desc {
    font-size: 16px;
  }

  .strip-card {
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }

  .strip-icon {
    width: 44px;
    height: 44px;
  }

  .product-card {
    min-height: auto;
    padding: 22px;
  }

  .product-actions {
    flex-direction: column;
  }

  .ecosystem-panel {
    padding: 22px;
  }

  .flow-item {
    grid-template-columns: 44px 1fr;
  }

  .flow-tag {
    grid-column: 1 / -1;
    justify-self: flex-start;
  }
}
