/* Kong TPS benchmark bars — loop animation handled in kong-dashboard.js */
[data-kong-bar="1"] {
  transition: none !important;
}

/* Kong Nedir — single column after Platform Highlights removed */
.grid.desoft-kong-what-is-single {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Kong Nedir — kurumsal bilgi kartı */
.desoft-kong-what-is-section .desoft-kong-what-is-designed {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 84rem;
  margin-inline: auto;
}

.desoft-kong-what-is-prose {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 4px solid #10385a;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 208, 156, 0.24), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(16, 56, 90, 0.09), transparent 38%),
    linear-gradient(135deg, #e7f8f3 0%, #d3eee7 52%, #c7e7e0 100%);
  box-shadow:
    0 20px 42px rgba(12, 47, 78, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.desoft-kong-what-is-prose::before {
  display: none;
  content: none;
}

.desoft-kong-what-is-prose .desoft-kong-what-is-title {
  margin: 0 0 1.25rem;
  color: #10385a;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.desoft-kong-what-is-prose p {
  max-width: none;
  margin: 0;
  color: #000000;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.75;
}

.desoft-kong-what-is-prose p + p {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.desoft-kong-what-is-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.5vw, 1.25rem);
  width: 100%;
  margin-top: 1.6rem;
}

.desoft-kong-what-is-summary span {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(0, 208, 156, 0.48);
  border-radius: 999px;
  background: rgba(0, 208, 156, 0.1);
  color: #10385a;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 640px) {
  .desoft-kong-what-is-prose {
    border-width: 3px;
    border-radius: 1.15rem;
  }
}

.desoft-kong-feature-card-frame {
  border: 4px solid #10385a !important;
  box-shadow: 0 8px 20px rgba(12, 47, 78, 0.12);
}

/* Per-core capacity comparison rows */
.desoft-kong-cap-rows .desoft-kong-cap-row {
  border: 1px solid transparent;
  transition:
    background-color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.desoft-kong-cap-rows .desoft-kong-cap-row.is-kong-cap-active {
  background-color: rgba(0, 208, 156, 0.1) !important;
  border-color: rgba(0, 208, 156, 0.3) !important;
  box-shadow: 0 0 0 1px rgba(0, 208, 156, 0.12);
  animation: desoft-kong-cap-pulse 2.4s ease-in-out infinite;
}

@keyframes desoft-kong-cap-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(0, 208, 156, 0.12);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(0, 208, 156, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .desoft-kong-cap-rows .desoft-kong-cap-row.is-kong-cap-active {
    animation: none;
  }
}

/* Gartner Magic Quadrant chart */
.desoft-kong-gartner-chart {
  max-width: 42rem;
  margin: 2.5rem auto 0;
  padding: 0 0.25rem;
}

.desoft-kong-gartner-figure {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 52, 89, 0.1);
  border-radius: 1rem;
  box-shadow:
    0 4px 24px rgba(0, 52, 89, 0.08),
    0 1px 3px rgba(0, 52, 89, 0.06);
}

.desoft-kong-gartner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.375rem;
}

.desoft-kong-gartner-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(0, 52, 89, 0.55);
}

@media (min-width: 640px) {
  .desoft-kong-gartner-chart {
    max-width: 44rem;
    margin-top: 3rem;
  }

  .desoft-kong-gartner-figure {
    padding: 1.25rem 1.5rem;
  }
}

/* On-premises / hybrid deployment callout */
.desoft-kong-deploy-callout {
  position: relative;
  z-index: 10;
  padding: 0 1rem 2.5rem;
  margin-top: -0.5rem;
}

.desoft-kong-deploy-callout__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #003459 0%, #004a72 55%, #005f8a 100%);
  border: 2px solid rgba(0, 208, 156, 0.45);
  box-shadow:
    0 0 0 1px rgba(0, 208, 156, 0.15),
    0 16px 48px rgba(0, 52, 89, 0.28);
  color: #fff;
  text-align: center;
}

.desoft-kong-deploy-callout__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 208, 156, 0.18);
  border: 1px solid rgba(0, 208, 156, 0.55);
  color: #7ef0d4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desoft-kong-deploy-callout__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.desoft-kong-deploy-callout__lead {
  max-width: 42rem;
  margin: 0 auto 1.35rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.desoft-kong-deploy-callout__grid {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.desoft-kong-deploy-callout__mode {
  padding: 1rem 1.1rem;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.desoft-kong-deploy-callout__mode--hybrid {
  background: rgba(0, 208, 156, 0.12);
  border-color: rgba(0, 208, 156, 0.45);
  box-shadow: inset 0 0 0 1px rgba(0, 208, 156, 0.2);
}

.desoft-kong-deploy-callout__mode:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 208, 156, 0.55);
}

.desoft-kong-deploy-callout__pill {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 208, 156, 0.22);
  color: #b8fbea;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.desoft-kong-deploy-callout__mode--hybrid .desoft-kong-deploy-callout__pill {
  background: rgba(0, 208, 156, 0.35);
  color: #fff;
}

.desoft-kong-deploy-callout__mode-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 768px) {
  .desoft-kong-deploy-callout {
    padding: 0 1.5rem 3rem;
  }

  .desoft-kong-deploy-callout__inner {
    padding: 2rem 2.25rem 1.75rem;
  }

  .desoft-kong-deploy-callout__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .desoft-kong-deploy-callout__mode:hover {
    transform: none;
  }
}

/* Kong customer references — same pattern as Wallarm trusted logos */
.kong-trusted-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.kong-trusted-track {
  display: flex;
  width: max-content;
  animation: kong-trusted-scroll 193s linear infinite;
  will-change: transform;
}

.kong-trusted-set {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
  flex-shrink: 0;
}

.kong-trusted-logo {
  height: 1.5rem;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal;
}

.kong-trusted-logo[alt="BMW"],
.kong-trusted-logo[alt="Mercedes-Benz"] {
  height: 2rem;
}

@keyframes kong-trusted-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 640px) {
  .kong-trusted-logo {
    height: 2.25rem;
  }

  .kong-trusted-logo[alt="BMW"],
  .kong-trusted-logo[alt="Mercedes-Benz"] {
    height: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .kong-trusted-logo {
    height: 3rem;
  }

  .kong-trusted-logo[alt="BMW"],
  .kong-trusted-logo[alt="Mercedes-Benz"] {
    height: 3.5rem;
  }

  .kong-trusted-set {
    gap: 4rem;
    padding-right: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kong-trusted-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .kong-trusted-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 2rem;
  }

  .kong-trusted-set[aria-hidden="true"] {
    display: none;
  }
}

/* Unified platform — compact interactive flow graphic */
.desoft-kong-platform-source-hidden {
  display: none !important;
}

.desoft-kong-platform-graphic {
  box-sizing: border-box;
  max-width: 70rem;
  margin: 0 auto;
  padding: 1.5625rem 1.25rem 1.25rem;
  border: clamp(0.65rem, 1.45vw, 1rem) solid #10385a;
  border-radius: 1.45rem;
  background: linear-gradient(
    180deg,
    rgba(0, 208, 156, 0.07) 0%,
    rgba(255, 255, 255, 0.95) 55%
  );
  box-shadow: 0 18px 38px rgba(12, 47, 78, 0.18);
}

.desoft-kong-platform-graphic__track-wrap {
  margin-bottom: 1.0625rem;
}

.desoft-kong-platform-graphic__track-bar {
  position: relative;
  padding: 0.35rem 0 0.15rem;
}

.desoft-kong-platform-graphic__nodes {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.desoft-kong-platform-graphic__click-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.0625rem;
  padding: 0.6875rem 1.0625rem;
  border-radius: 9999px;
  background: rgba(0, 208, 156, 0.1);
  border: 1px dashed rgba(0, 208, 156, 0.45);
  color: #007a5e;
  font-size: 0.975rem;
  font-weight: 600;
  text-align: center;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
  transition:
    opacity 0.35s ease,
    max-height 0.35s ease,
    margin 0.35s ease,
    padding 0.35s ease;
  animation: desoft-kong-platform-hint-bob 2.4s ease-in-out infinite;
}

.desoft-kong-platform-graphic__hint-icon {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  background-color: #007a5e;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z'/%3E%3Cpath d='M13 13l6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z'/%3E%3Cpath d='M13 13l6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.desoft-kong-platform-graphic--interacted .desoft-kong-platform-graphic__click-hint {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  pointer-events: none;
  animation: none;
}

@keyframes desoft-kong-platform-hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.desoft-kong-platform-graphic__node {
  flex: 1 1 0;
  min-width: 5.9375rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.5625rem 0.375rem 0.6875rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0.9375rem;
  border: 1px solid rgba(0, 52, 89, 0.12);
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.desoft-kong-platform-graphic__node:hover {
  background: rgba(0, 208, 156, 0.08);
  border-color: rgba(0, 208, 156, 0.35);
  transform: translateY(-2px);
}

.desoft-kong-platform-graphic__node:focus-visible {
  outline: 2px solid #00d09c;
  outline-offset: 3px;
}

.desoft-kong-platform-graphic:not(.desoft-kong-platform-graphic--interacted)
  .desoft-kong-platform-graphic__node:not(.is-active) {
  animation: desoft-kong-platform-node-nudge 2.2s ease-in-out infinite;
}

.desoft-kong-platform-graphic:not(.desoft-kong-platform-graphic--interacted)
  .desoft-kong-platform-graphic__node:not(.is-active)
  .desoft-kong-platform-graphic__step {
  animation: desoft-kong-platform-step-pulse 2.2s ease-in-out infinite;
}

@keyframes desoft-kong-platform-node-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@keyframes desoft-kong-platform-step-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 208, 156, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(0, 208, 156, 0.18);
  }
}

.desoft-kong-platform-graphic__node.is-active {
  background: rgba(0, 208, 156, 0.12);
  border-color: rgba(0, 208, 156, 0.55);
  box-shadow: 0 4px 14px rgba(0, 52, 89, 0.1);
}

.desoft-kong-platform-graphic__node.is-hub {
  background: linear-gradient(180deg, #003459 0%, #004a72 100%);
  border-color: rgba(0, 208, 156, 0.45);
}

.desoft-kong-platform-graphic__node.is-hub.is-active {
  box-shadow: 0 6px 18px rgba(0, 52, 89, 0.24);
}

.desoft-kong-platform-graphic__node.is-hub .desoft-kong-platform-graphic__step,
.desoft-kong-platform-graphic__node.is-hub .desoft-kong-platform-graphic__name,
.desoft-kong-platform-graphic__node.is-hub .desoft-kong-platform-graphic__hint {
  color: #fff;
}

.desoft-kong-platform-graphic__node.is-hub .desoft-kong-platform-graphic__step {
  background: rgba(0, 208, 156, 0.28);
  border-color: rgba(0, 208, 156, 0.55);
}

.desoft-kong-platform-graphic__node.is-active:not(.is-hub)
  .desoft-kong-platform-graphic__name {
  color: #003459;
}

.desoft-kong-platform-graphic__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6875rem;
  height: 1.6875rem;
  border-radius: 999px;
  background: rgba(0, 208, 156, 0.14);
  border: 1px solid rgba(0, 208, 156, 0.35);
  font-size: 0.725rem;
  font-weight: 800;
  color: #007a5e;
  line-height: 1;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.desoft-kong-platform-graphic__node.is-active .desoft-kong-platform-graphic__step {
  transform: scale(1.08);
}

.desoft-kong-platform-graphic__name {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: #003459;
}

.desoft-kong-platform-graphic__hint {
  font-size: 0.725rem;
  line-height: 1.3;
  color: rgba(0, 52, 89, 0.58);
}

.desoft-kong-platform-graphic__detail {
  padding: 1.25rem 1.375rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 208, 156, 0.28);
  box-shadow: 0 4px 18px rgba(0, 52, 89, 0.06);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.desoft-kong-platform-graphic__detail.is-hub-detail {
  border-color: rgba(0, 52, 89, 0.22);
  background: linear-gradient(180deg, rgba(0, 52, 89, 0.04) 0%, #fff 100%);
}

.desoft-kong-platform-graphic__detail.is-switching {
  animation: desoft-kong-platform-detail-fade 0.35s ease;
}

@keyframes desoft-kong-platform-detail-fade {
  0% {
    opacity: 0.55;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.desoft-kong-platform-graphic__detail-head {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  margin-bottom: 0.5625rem;
}

.desoft-kong-platform-graphic__detail-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.8125rem;
  padding: 0.25rem 0.6875rem;
  border-radius: 9999px;
  background: rgba(0, 208, 156, 0.16);
  color: #007a5e;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.desoft-kong-platform-graphic__detail-title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  color: #003459;
}

.desoft-kong-platform-graphic__detail-subtitle {
  margin: 0 0 0.8125rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #00a67e;
}

.desoft-kong-platform-graphic__detail-body {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(0, 52, 89, 0.72);
}

@media (max-width: 767px) {
  /* Onceden "display: none" idi. Ama dugumleri tasiyan __nodes bu iki katmanin
     torunu; ustunu gizleyince asagidaki 2 sutunlu izgara kurali hic calismiyor
     ve alti yetenekten besi mobilde acilamiyordu. "contents" ile bu iki sarmal
     yerlesimden cikiyor, dugumler izgaraya dogrudan katiliyor. */
  .desoft-kong-platform-graphic__track-wrap,
  .desoft-kong-platform-graphic__track-bar {
    display: contents;
  }

  .desoft-kong-platform-graphic__nodes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .desoft-kong-platform-graphic__node {
    flex: unset;
    min-width: 0;
    width: 100%;
    padding: 0.6875rem 0.4375rem 0.8125rem;
  }

  .desoft-kong-platform-graphic__name {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .desoft-kong-platform-graphic__hint {
    font-size: 0.78125rem;
    line-height: 1.35;
  }

  .desoft-kong-platform-graphic__click-hint {
    font-size: 1.015625rem;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .desoft-kong-platform-graphic {
    padding: 1.875rem 1.6875rem 1.4375rem;
  }

  .desoft-kong-platform-graphic__name {
    font-size: 0.925rem;
  }

  .desoft-kong-platform-graphic__hint {
    font-size: 0.775rem;
  }

  .desoft-kong-platform-graphic__detail {
    padding: 1.4375rem 1.5625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .desoft-kong-platform-graphic__node,
  .desoft-kong-platform-graphic__detail,
  .desoft-kong-platform-graphic__click-hint {
    transition: none;
    animation: none;
  }

  .desoft-kong-platform-graphic__detail.is-switching {
    animation: none;
  }
}
