/* Healthcare App — 04 Core features */

.cw-healthcare-core-features {
  background: #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-healthcare-core-features__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.cw-healthcare-core-features__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-healthcare-core-features__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #7cf5c8;
}

.cw-healthcare-core-features__title {
  margin: 12px 0 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-healthcare-core-features__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #7cf5c8;
}

.cw-healthcare-core-features__intro-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-healthcare-core-features__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.7);
}

.cw-healthcare-core-features__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.cw-healthcare-core-features__filters-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 231, 0.5);
  margin-right: 4px;
}

.cw-healthcare-core-features__filter {
  border: 1px solid rgba(243, 239, 231, 0.22);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-healthcare-core-features__filter.is-active {
  border-color: #7cf5c8;
  background: #7cf5c8;
  color: #141210;
}

.cw-healthcare-core-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 14px;
}

.cw-healthcare-core-features__card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 231, 0.12);
  border-radius: 24px;
  padding: 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  transition: background 0.3s ease, opacity 0.3s ease, transform 0.15s ease, border-color 0.3s ease;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateY(0);
  transform-style: preserve-3d;
  opacity: 1;
  box-sizing: border-box;
  will-change: transform;
}

.cw-healthcare-core-features__card.is-dimmed {
  opacity: 0.3;
}

.cw-healthcare-core-features__card.is-hover {
  background: #1e1b18;
  border-color: #7cf5c8;
}

.cw-healthcare-core-features__card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    240px circle at var(--cw-hc-feat-gx, 50%) var(--cw-hc-feat-gy, 50%),
    rgba(124, 245, 200, var(--cw-hc-feat-ga, 0)),
    transparent 60%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cw-healthcare-core-features__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 8px;
}

.cw-healthcare-core-features__card-no {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(243, 239, 231, 0.08);
  color: #f3efe7;
  display: grid;
  place-items: center;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  flex: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.cw-healthcare-core-features__card.is-hover .cw-healthcare-core-features__card-no {
  background: #7cf5c8;
  color: #141210;
}

.cw-healthcare-core-features__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.cw-healthcare-core-features__card-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(243, 239, 231, 0.2);
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(243, 239, 231, 0.7);
}

.cw-healthcare-core-features__card-title {
  position: relative;
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cw-healthcare-core-features__card-desc {
  position: relative;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(243, 239, 231, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .cw-healthcare-core-features__card {
    transition: background 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    will-change: auto;
  }
}
