/* Shared product feature module — Figma node 3132:3751. */
#features {
  --product-feature-card-height: 370px;
}

#features.product-section {
  min-height: calc(197px + var(--product-stage-height, 1230px));
  height: auto;
  padding: 60px 50px;
}

#features .product-heading {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#features .product-heading-inner {
  width: 302px;
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

#features .product-title-mark {
  width: 40px;
  height: 23px;
  flex: 0 0 auto;
  display: block;
}

#features .product-heading h2 {
  margin: 0;
  width: 192px;
  color: #111;
  font-size: 48px;
  line-height: 76.8px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

#features .product-stage {
  position: relative;
  width: var(--product-stage-width, 1805px);
  height: var(--product-stage-height, 1230px);
  margin: 0 auto;
  padding-top: 0;
}

#features .product-features {
  position: absolute;
  left: 0;
  top: var(--product-stage-pad, 70px);
  width: 1805px;
  height: 1160px;
  transform: scale(var(--product-stage-scale, 1));
  transform-origin: top left;
}

#features .tech-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--product-feature-card-height);
  transition: transform .28s ease, filter .28s ease;
}

#features .tech-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#features .tech-card:nth-child(3) .tech-card-bg,
#features .tech-card:nth-child(4) .tech-card-bg {
  transform: scaleX(-1);
}

#features .tech-card h3,
#features .tech-card p,
#features .tech-icon,
#features .tech-shadow {
  position: absolute;
  z-index: 1;
}

#features .tech-card h3 {
  left: var(--tx);
  top: 60px;
  margin: 0;
  color: #111;
  font-size: 32px;
  line-height: 51.2px;
  font-weight: 500;
  white-space: nowrap;
}

#features .tech-card:nth-child(even) h3 {
  left: auto;
  right: 60px;
  text-align: right;
}

#features .tech-card p {
  left: var(--px);
  top: var(--py);
  width: 565px;
  margin: 0;
  color: #666;
  font-size: 20px;
  line-height: 35px;
}

#features .tech-icon {
  left: var(--ix-pos);
  top: var(--iy-pos);
  width: var(--iw);
  height: var(--ih);
  overflow: visible;
}

#features .tech-shadow {
  left: var(--sx);
  top: var(--sy);
  width: var(--sw);
  height: var(--sh);
  display: none;
}

#features .tech-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

#features .tech-card:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 18px 24px rgba(34, 92, 179, .13));
}

@media (max-width: 1500px) {
  #features .product-heading {
    height: 68px;
    margin-bottom: 0;
  }

  #features .product-heading h2 {
    font-size: 42px;
    line-height: 68px;
  }

  #features.product-section {
    min-height: calc(184px + var(--product-stage-height, 1230px));
    padding: 52px 24px 64px;
  }
}

@media (max-width: 900px) {
  #features .product-heading {
    height: 54px;
    margin-bottom: 0;
  }

  #features .product-title-mark {
    width: 28px;
    height: 16px;
  }

  #features .product-heading h2 {
    width: auto;
    font-size: 32px;
    line-height: 54px;
  }

  #features.product-section {
    min-height: 0;
    padding: 44px 16px 56px;
  }

  #features .product-stage {
    width: 100%;
    height: auto;
  }

  #features .product-features {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    gap: 18px;
    transform: none;
  }

  #features .tech-card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 260px;
    height: auto;
    padding: 34px 28px 150px;
    overflow: hidden;
    border: 1px solid rgba(58, 110, 200, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
  }

  #features .tech-card-bg {
    display: none;
  }

  #features .tech-card h3,
  #features .tech-card p {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
  }

  #features .tech-card h3 {
    font-size: 26px;
    line-height: 38px;
    white-space: normal;
  }

  #features .tech-card p {
    margin-top: 12px;
    font-size: 17px;
    line-height: 30px;
  }

  #features .tech-icon {
    left: auto;
    right: 28px;
    top: auto;
    bottom: 22px;
    width: 126px;
    height: 126px;
  }
}
