/* Cortex ERP — Platform page (Stage 2) */

.nd-cx-subnav {
  border-bottom: 1px solid var(--nd-border);
  background: var(--nd-white);
}

.nd-cx-subnav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 12px 0;
}

.nd-cx-subnav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nd-muted);
  text-decoration: none;
}

.nd-cx-subnav a:hover {
  color: var(--nd-accent-trust);
}

.nd-cx-subnav a[aria-current="page"] {
  color: var(--nd-heading);
  font-weight: 600;
}

.nd-cx-platform-cbs {
  border-top: 1px solid var(--nd-border);
  border-bottom: 1px solid var(--nd-border);
}

.nd-cx-platform-cbs__panel {
  margin-top: 28px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--nd-radius);
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: linear-gradient(135deg, rgba(16, 29, 43, 0.03) 0%, rgba(34, 109, 180, 0.06) 100%);
  box-shadow: var(--nd-shadow);
}

.nd-cx-platform-cbs__panel h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: var(--nd-heading);
}

.nd-cx-platform-cbs__panel p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: var(--nd-body);
}

.nd-cx-platform-cbs__panel p:last-child {
  margin-bottom: 0;
}

.nd-cx-platform-cbs__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.nd-cx-platform-cbs__list li {
  position: relative;
  padding: 0 0 10px 1.35rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--nd-body);
}

.nd-cx-platform-cbs__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nd-teal, #5eead4);
}

.nd-cx-platform-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 28px;
  padding: 20px;
  background: var(--nd-white);
  border: 1px dashed var(--nd-border-strong);
  border-radius: var(--nd-radius);
}

.nd-cx-platform-flow__node {
  flex: 0 1 auto;
  min-width: 140px;
  max-width: 220px;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nd-heading);
  background: var(--nd-surface-soft, #f4f6f8);
  border-radius: 8px;
  border: 1px solid var(--nd-border);
}

.nd-cx-platform-flow__node--accent {
  border-color: rgba(34, 109, 180, 0.35);
  background: rgba(34, 109, 180, 0.08);
  color: var(--nd-accent-trust);
}

.nd-cx-platform-flow__arrow {
  font-size: 1.25rem;
  color: var(--nd-muted);
  line-height: 1;
}

@media (max-width: 640px) {
  .nd-cx-platform-flow__arrow {
    display: none;
  }

  .nd-cx-platform-flow__node {
    width: 100%;
    max-width: none;
  }
}