/* Products page only (products.html). */

.oh-f-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.oh-f-products-page {
  padding-top: 102px;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  background: radial-gradient(circle at 12% 16%, rgba(79, 127, 255, 0.28) 0, rgba(255, 81, 81, 0) 22%), radial-gradient(circle at 88% 12%, rgba(174, 109, 255, 0.2) 0, rgba(183, 218, 255, 0.25) 20%), linear-gradient(180deg, #edf4ff 0%, #f4f8ff 38%, #fbfdff 72%, #fff 100%);
}

.oh-f-products-page::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 36% at 50% 0%, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 72%),
    radial-gradient(ellipse 52% 28% at 80% 16%, rgba(120, 162, 255, 0.07), rgba(120, 162, 255, 0) 72%);
}

.oh-f-products-hero {
  position: relative;
  z-index: 1;
  width: var(--inner);
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}

.oh-f-products-hero__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .oh-f-products-hero__grid {
    grid-template-columns: 1fr min(440px, 42%);
  }
}

.oh-f-products-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--c-text);
  white-space: normal;
}

.oh-f-products-hero h1 .oh-f-products-hero__accent {
  color: var(--c-blue);
}

.oh-f-products-hero__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-body);
}

.oh-f-products-hero__visual {
  position: relative;
  width: 100%;
  min-height: 260px;
  margin-top: 0.5rem;
}

@media (min-width: 960px) {
  .oh-f-products-hero__visual {
    min-height: 300px;
    max-width: 420px;
    margin-left: auto;
    margin-right: 0;
  }
}

/* 稿图：左上一张（机房/光纤）、右下一张（仪表盘），对角交叠；云在叠层中心 */
.oh-f-products-hero__img-a {
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  max-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
  animation: oh-float-soft 5s ease-in-out infinite;
}

.oh-f-products-hero__img-b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  max-width: 270px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  animation: oh-float-soft 6s ease-in-out infinite 0.5s;
}

.oh-f-products-hero__img-a img,
.oh-f-products-hero__img-b img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.oh-f-products-hero__deco {
  position: absolute;
  left: 58%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 81, 215, 0.12);
}

.oh-f-bento-wrap {
  position: relative;
  z-index: 1;
  width: var(--inner);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(3.2rem, 5vw, 4.5rem);
}

.oh-f-bento-wrap::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: -0.8rem;
  height: 10rem;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 35%, rgba(76, 119, 255, 0.14), rgba(76, 119, 255, 0) 26%),
    radial-gradient(circle at 82% 28%, rgba(177, 111, 255, 0.10), rgba(177, 111, 255, 0) 24%);
  filter: blur(26px);
  opacity: 0.95;
}

.oh-f-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

@media (min-width: 1000px) {
  .oh-f-bento {
    grid-template-columns: 1.02fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .oh-f-bento__pi {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .oh-f-bento__sdwan {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .oh-f-bento__zabbix {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .oh-f-bento__sourcing {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .oh-f-bento__mpls {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
}

.oh-f-bento-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(249, 252, 255, 0.98) 100%);
  border: 1px solid rgba(196, 214, 245, 0.90);
  border-radius: 24px;
  box-shadow:
    0 8px 22px rgba(35, 76, 170, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.oh-f-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(72, 124, 237, 0.20);
  box-shadow:
    0 14px 30px rgba(35, 76, 170, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.oh-f-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 14%, rgba(96, 136, 255, 0.050) 0, rgba(96, 136, 255, 0) 24%),
    radial-gradient(circle at 82% 88%, rgba(183, 124, 255, 0.045) 0, rgba(183, 124, 255, 0) 25%);
  z-index: 0;
}

.oh-f-bento-card > *:not(.oh-f-bento-card__illus) {
  position: relative;
  z-index: 2;
}

.oh-f-bento-card--premium {
  min-height: 280px;
  padding: 1.05rem 1.15rem 1rem;
}

.oh-f-bento-card--small {
  min-height: 150px;
  padding: 0.9rem 0.95rem 0.85rem;
}

.oh-f-bento-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 100%;
}

.oh-f-bento-card__content {
  flex: 1;
  min-width: 0;
  padding-right: 0.3rem;
}

.oh-f-bento-card__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 18px rgba(37, 99, 235, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.oh-f-bento-card__icon--blue {
  background: linear-gradient(135deg, #2267ff 0%, #437bff 100%);
}

.oh-f-bento-card__icon--orange {
  background: linear-gradient(135deg, #ff9800 0%, #ffb13a 100%);
}

.oh-f-bento-card__icon--purple {
  background: linear-gradient(135deg, #b336ff 0%, #7a53ff 100%);
}

.oh-f-bento-card__icon--violet {
  background: linear-gradient(135deg, #9145ff 0%, #5b49f5 100%);
}

.oh-f-bento-card__icon--blue2 {
  background: linear-gradient(135deg, #2f6bff 0%, #4386ff 100%);
}

.oh-f-bento-card h3 {
  margin: 0 0 0.42rem;
  color: #1f2e46;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.oh-f-bento-card--premium h3 {
  margin-top: 0.85rem;
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
}

.oh-f-bento-card__body {
  margin: 0;
  color: #5c7090;
  font-size: 0.82rem;
  line-height: 1.72;
  max-width: 21rem;
}

.oh-f-bento-card__body--secondary {
  margin-top: 0.78rem;
}

.oh-f-bento-card__cta,
.oh-f-bento-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  margin-top: 0.72rem;
  color: #2463f3;
  font-size: 0.80rem;
  font-weight: 700;
}

.oh-f-bento-card__cta-arrow,
.oh-f-bento-card__link-arrow {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* 关键：插画改成“融合式背景插画”，不再单独占大空间 */
.oh-f-bento-card__illus {
  position: absolute;
  right: -6px;
  bottom: -2px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.68;
  filter: drop-shadow(0 10px 18px rgba(112, 133, 197, 0.08));
}

.oh-f-bento-card__illus svg {
  display: block;
  width: 100%;
  height: auto;
}

.oh-f-bento-card__illus--premium {
  width: 38%;
  max-width: 170px;
  color: #c9d9ff;
}

.oh-f-bento-card__illus--sdwan {
  width: 31%;
  max-width: 112px;
  color: #ffd8aa;
}

.oh-f-bento-card__illus--zabbix {
  width: 31%;
  max-width: 118px;
  color: #e0c9ff;
}

.oh-f-bento-card__illus--sourcing {
  width: 31%;
  max-width: 112px;
  color: #ddd0ff;
}

.oh-f-bento-card__illus--mpls {
  width: 31%;
  max-width: 112px;
  color: #d0ddff;
}

/* 让文字和插画“融在一张卡里”，不用给插画单独留太多空间 */
.oh-f-bento-card--small .oh-f-bento-card__content {
  max-width: calc(100% - 18px);
}

.oh-f-bento-summary {
  margin-top: 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.98) 100%);
  border: 1px solid rgba(196, 214, 245, 0.90);
  border-radius: 22px;
  box-shadow:
    0 8px 22px rgba(35, 76, 170, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 1000px) {
  .oh-f-bento-summary {
    grid-template-columns: auto 1px auto 1px 1fr;
    align-items: center;
    gap: 0.95rem;
  }
}

.oh-f-bento-summary__item {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.oh-f-bento-summary__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #eef4ff;
  color: #4f7dff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oh-f-bento-summary__text strong {
  display: block;
  color: #2463f3;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.oh-f-bento-summary__text small {
  display: block;
  margin-top: 0.12rem;
  color: #6f809d;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
}

.oh-f-bento-summary__divider {
  display: none;
}

@media (min-width: 1000px) {
  .oh-f-bento-summary__divider {
    display: block;
    width: 1px;
    height: 48px;
    background: rgba(208, 220, 239, 0.95);
  }
}

.oh-f-bento-summary__note {
  color: #5c7090;
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 540px;
}

@media (max-width: 999px) {
  .oh-f-bento-card--premium {
    min-height: 250px;
  }

  .oh-f-bento-card--small {
    min-height: 138px;
  }

  .oh-f-bento-card__illus--premium {
    width: 34%;
  }

  .oh-f-bento-card__illus--sdwan,
  .oh-f-bento-card__illus--zabbix,
  .oh-f-bento-card__illus--sourcing,
  .oh-f-bento-card__illus--mpls {
    width: 26%;
    min-width: 84px;
  }
}

@media (max-width: 767px) {
  .oh-f-bento-wrap {
    padding-bottom: 2.2rem;
  }

  .oh-f-bento-card--premium,
  .oh-f-bento-card--small {
    padding: 0.95rem;
    border-radius: 20px;
  }

  .oh-f-bento-card__row {
    gap: 0.72rem;
  }

  .oh-f-bento-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .oh-f-bento-card h3,
  .oh-f-bento-card--premium h3 {
    font-size: 0.96rem;
  }

  .oh-f-bento-card__body,
  .oh-f-bento-summary__note {
    font-size: 0.80rem;
    line-height: 1.62;
  }

  .oh-f-bento-card__illus {
    opacity: 0.55;
  }

  .oh-f-bento-summary {
    padding: 0.9rem 0.95rem;
    border-radius: 20px;
  }

  .oh-f-bento-summary__text strong {
    font-size: 1.05rem;
  }

  .oh-f-bento-summary__icon {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1000px) {
  .oh-f-bento-summary {
    grid-template-columns: auto 1px auto 1px 1fr;
    align-items: center;
    gap: 1rem;
  }
}

.oh-f-bento-summary__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.oh-f-bento-summary__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eef4ff;
  color: #4d7dff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oh-f-bento-summary__text strong {
  display: block;
  color: #2463f3;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.oh-f-bento-summary__text small {
  display: block;
  margin-top: 0.18rem;
  color: #6f809d;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.oh-f-bento-summary__divider {
  display: none;
}

@media (min-width: 1000px) {
  .oh-f-bento-summary__divider {
    display: block;
    width: 1px;
    height: 56px;
    background: rgba(208, 220, 239, 0.95);
  }
}

.oh-f-bento-summary__note {
  color: #5d6f8d;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 520px;
}

/* responsive */
@media (max-width: 999px) {
  .oh-f-bento-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .oh-f-bento-card--small .oh-f-bento-card__content {
    padding-right: 5rem;
  }

  .oh-f-bento-card__illus--premium {
    width: 38%;
  }

  .oh-f-bento-card__illus--sdwan,
  .oh-f-bento-card__illus--zabbix,
  .oh-f-bento-card__illus--sourcing,
  .oh-f-bento-card__illus--mpls {
    width: 28%;
    min-width: 90px;
  }
}

@media (max-width: 767px) {
  .oh-f-bento-wrap {
    padding-bottom: 2.5rem;
  }

  .oh-f-bento-card--premium,
  .oh-f-bento-card--small {
    padding: 1rem;
    border-radius: 20px;
  }

  .oh-f-bento-card__row {
    gap: 0.8rem;
  }

  .oh-f-bento-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .oh-f-bento-card h3,
  .oh-f-bento-card--premium h3 {
    font-size: 1rem;
  }

  .oh-f-bento-card__body,
  .oh-f-bento-summary__note {
    font-size: 0.89rem;
    line-height: 1.64;
  }

  .oh-f-bento-card--small .oh-f-bento-card__content {
    padding-right: 0;
  }

  .oh-f-bento-card__illus--premium {
    width: 34%;
    min-width: 105px;
    opacity: 0.7;
  }

  .oh-f-bento-card__illus--sdwan,
  .oh-f-bento-card__illus--zabbix,
  .oh-f-bento-card__illus--sourcing,
  .oh-f-bento-card__illus--mpls {
    width: 26%;
    min-width: 76px;
    opacity: 0.66;
  }

  .oh-f-bento-summary {
    padding: 0.95rem 1rem;
    border-radius: 20px;
  }

  .oh-f-bento-summary__text strong {
    font-size: 1.72rem;
  }

  .oh-f-bento-summary__icon {
    width: 44px;
    height: 44px;
  }
}
