:root {
  --misti-primary: #f08100;
  --misti-primary-deep: #e1500b;
  --misti-primary-rgb: 240, 129, 0;
  --misti-primary-deep-rgb: 225, 80, 11;
}

.ecosystem-diagram {
  position: relative;
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  box-shadow: 0 24px 60px rgba(20, 33, 43, 0.08);
  overflow: hidden;
}

.ecosystem-diagram::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--misti-primary-rgb), 0.14) 0%, rgba(var(--misti-primary-rgb), 0.05) 32%, rgba(var(--misti-primary-rgb), 0) 72%);
  pointer-events: none;
}

.ecosystem-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) minmax(0, 1fr);
  grid-template-rows: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 620px;
}

.ecosystem-layout::before,
.ecosystem-layout::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ecosystem-layout::before {
  width: min(72%, 420px);
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #cbd5e1 10%, #94a3b8 50%, #cbd5e1 90%, transparent 100%);
}

.ecosystem-layout::after {
  width: 2px;
  height: min(68%, 360px);
  background: linear-gradient(180deg, transparent 0%, #cbd5e1 12%, #94a3b8 50%, #cbd5e1 88%, transparent 100%);
}

.ecosystem-node,
.ecosystem-core {
  position: relative;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ecosystem-node {
  z-index: 2;
  padding: 1.25rem 1.15rem;
  min-height: 176px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecosystem-node::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 2px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.16) 0%, rgba(var(--misti-primary-rgb), 0.4) 100%);
  pointer-events: none;
}

.ecosystem-node h3,
.ecosystem-core h3 {
  margin: 0.55rem 0 0;
  color: #14212b;
}

.ecosystem-node p,
.ecosystem-core p {
  margin: 0.75rem 0 0;
}

.ecosystem-node__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--misti-primary);
  background: rgba(var(--misti-primary-rgb), 0.09);
}

.ecosystem-node--top-left {
  grid-column: 1;
  grid-row: 1;
}

.ecosystem-node--top-left::after {
  width: 148px;
  right: -148px;
  bottom: 28px;
  transform: rotate(31deg);
  transform-origin: right center;
}

.ecosystem-node--top-right {
  grid-column: 3;
  grid-row: 1;
}

.ecosystem-node--top-right::after {
  width: 148px;
  left: -148px;
  bottom: 28px;
  transform: rotate(-31deg);
  transform-origin: left center;
}

.ecosystem-node--bottom-left {
  grid-column: 1;
  grid-row: 3;
}

.ecosystem-node--bottom-left::after {
  width: 148px;
  right: -148px;
  top: 28px;
  transform: rotate(-31deg);
  transform-origin: right center;
}

.ecosystem-node--bottom-right {
  grid-column: 3;
  grid-row: 3;
}

.ecosystem-node--bottom-right::after {
  width: 148px;
  left: -148px;
  top: 28px;
  transform: rotate(31deg);
  transform-origin: left center;
}

.ecosystem-core {
  z-index: 3;
  grid-column: 2;
  grid-row: 2;
  padding: 2.1rem 1.75rem;
  min-height: 186px;
  text-align: center;
  background: linear-gradient(180deg, #14212b 0%, #1e2f3d 100%);
  border: 1px solid rgba(var(--misti-primary-rgb), 0.26);
  color: #ffffff;
  box-shadow: 0 28px 65px rgba(20, 33, 43, 0.3), 0 0 0 10px rgba(255, 255, 255, 0.72);
  transform: scale(1.08);
}

.ecosystem-core::before,
.ecosystem-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ecosystem-core::before {
  width: 124%;
  height: 124%;
  border: 1px solid rgba(var(--misti-primary-rgb), 0.2);
}

.ecosystem-core::after {
  width: 156%;
  height: 156%;
  border: 1px dashed rgba(148, 163, 184, 0.24);
}

.ecosystem-core h3,
.ecosystem-core p {
  color: #ffffff;
}

.ecosystem-core .section-tag {
  background: rgba(var(--misti-primary-rgb), 0.16);
  color: #ffd2a6;
  letter-spacing: 0.12em;
}

@media (max-width: 1199.98px) {
  .ecosystem-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .ecosystem-layout::before,
  .ecosystem-layout::after {
    display: none;
  }

  .ecosystem-diagram::before {
    width: 320px;
    height: 320px;
  }

  .ecosystem-core {
    grid-column: 1 / -1;
    grid-row: auto;
    order: -1;
    transform: none;
  }

  .ecosystem-node--top-left,
  .ecosystem-node--top-right,
  .ecosystem-node--bottom-left,
  .ecosystem-node--bottom-right {
    grid-column: auto;
    grid-row: auto;
  }

  .ecosystem-node::after,
  .ecosystem-core::before,
  .ecosystem-core::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .ecosystem-diagram {
    padding: 1rem;
  }

  .ecosystem-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ecosystem-node,
  .ecosystem-core {
    min-height: auto;
  }
}
.product-grid__card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-grid__card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--misti-primary-rgb), 0.18);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
}

.product-grid__media {
  overflow: hidden;
  min-height: 248px;
  max-height: 248px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.product-grid__media-link {
  display: block;
  height: 100%;
  padding: 18px 18px 0;
}

.product-grid__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.3s ease;
}

.product-grid__card:hover .product-grid__media img {
  transform: translateY(-2px) scale(1.015);
}

.product-grid__badge {
  right: 16px !important;
  bottom: 16px !important;
  padding: 0 !important;
  background: transparent !important;
}

.product-grid__badge span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  line-height: 1;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.product-grid__body {
  padding: 1.45rem 1.35rem 1.3rem !important;
  gap: 0.9rem;
}

.product-grid__title {
  margin: 0;
  min-height: calc(1.3em * 2);
  font-size: 1.28rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-grid__title a {
  color: #14212b !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-grid__divider {
  width: 56px !important;
  margin: 0 !important;
}

.product-grid__description {
  margin: 0;
  min-height: calc(1.65em * 4);
  color: #516073;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.product-grid__value {
  margin-top: auto;
  padding-top: 0.95rem;
  min-height: calc(1.55em * 2);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #233142;
  font-weight: 600;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-grid__cta {
  width: 100%;
  margin-top: 1.15rem;
  min-height: 46px;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  text-transform: none !important;
  box-shadow: none;
}

.product-grid__cta:hover,
.product-grid__cta:active,
.product-grid__cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(var(--misti-primary-rgb), 0.18);
}

@media (max-width: 1399.98px) {
  .product-grid__media {
    min-height: 232px;
    max-height: 232px;
  }
}

@media (max-width: 767.98px) {
  .product-grid__media {
    min-height: 220px;
    max-height: 220px;
  }

  .product-grid__body {
    padding: 1.2rem 1.1rem 1.15rem !important;
  }

  .product-grid__description,
  .product-grid__value,
  .product-grid__title {
    min-height: auto;
  }
}

a:hover,
a:active,
a:focus {
  color: var(--misti-primary) !important;
}

#preloader:before,
#preloader:after {
  border-color: var(--misti-primary) !important;
}

.bg-primary {
  background-color: var(--misti-primary) !important;
}

.bg-primary-90 {
  background: rgba(var(--misti-primary-rgb), 0.9) !important;
}

.bg-primary-80 {
  background: rgba(var(--misti-primary-rgb), 0.8) !important;
}

.text-primary,
.text-primary-hover:hover {
  color: var(--misti-primary) !important;
}

.section-tag,
.blog-grids4 .blog-date span {
  background: rgba(var(--misti-primary-rgb), 0.12) !important;
  color: var(--misti-primary) !important;
}

.blog-grids4 .sepratar {
  background: var(--misti-primary) !important;
}

.navbar-nav li.current > a,
.navbar-nav li.active > a,
.navbar-nav li.has-sub a:hover,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.header-style1 .navbar-nav li.current > a,
.header-style1.scrollHeader .navbar-nav li.current > a,
.header-style2 .navbar-nav li.current > a,
.header-style2.scrollHeader .navbar-nav li.current > a,
.header-style3 .navbar-nav li.active > a,
.header-style3 .navbar-nav li.current > a,
.header-style3 .navbar-nav li.has-sub a:hover,
.header-style3.scrollHeader .navbar-nav > li.active > a,
.header-style3.scrollHeader .navbar-nav li.current > a,
.menu_area-light .navbar-nav li.current > a,
.menu_area-light.scrollHeader .navbar-nav li.current > a {
  color: var(--misti-primary) !important;
}

.navbar > ul > li.current > a:after,
.navbar > ul > li.has-sub > a:hover:after,
.header-style1 .navbar > ul > li.current > a:after,
.header-style1.scrollHeader .navbar > ul > li.current > a:after,
.header-style2 .navbar > ul > li.current > a:after,
.header-style2.scrollHeader .navbar > ul > li.current > a:after,
.header-style3 .navbar > ul > li.current > a:after,
.header-style3 .navbar > ul > li.has-sub > a:hover:after,
.header-style3.scrollHeader .navbar > ul > li.current > a:after,
.header-style3.scrollHeader .navbar > ul > li.has-sub > a:hover:after,
.menu_area-light .navbar > ul > li.current > a:after,
.menu_area-light.scrollHeader .navbar > ul > li.current > a:after {
  border-color: transparent var(--misti-primary) var(--misti-primary) transparent !important;
}

.butn-style9 {
  background: var(--misti-primary) !important;
  border-color: var(--misti-primary) !important;
}

.butn-style9:after {
  background: var(--misti-primary-deep) !important;
}

.butn-style9:hover,
.butn-style9:active,
.butn-style9:focus {
  border-color: var(--misti-primary-deep) !important;
}

.butn-style9.white {
  color: var(--misti-primary) !important;
}

.butn-style9.white:after {
  background: var(--misti-primary) !important;
}
