/* OTT App — 04 Core features */

@keyframes cw-ott-core-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

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

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

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

.cw-ott-app-core-features__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

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

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

.cw-ott-app-core-features__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 18px;
  align-items: start;
}

.cw-ott-app-core-features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cw-ott-app-core-features__chip {
  border: 1px solid rgba(243, 239, 231, 0.14);
  background: transparent;
  color: #f3efe7;
  border-radius: 18px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
  width: 100%;
}

.cw-ott-app-core-features__chip.is-active {
  border-color: #b7a6f5;
  background: #b7a6f5;
  color: #141210;
}

.cw-ott-app-core-features__chip:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-ott-app-core-features__chip-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #b7a6f5;
  padding-top: 2px;
  flex: none;
}

.cw-ott-app-core-features__chip.is-active .cw-ott-app-core-features__chip-no {
  color: #141210;
}

.cw-ott-app-core-features__chip-title {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}

.cw-ott-app-core-features__panel {
  position: sticky;
  top: 90px;
  border-radius: 28px;
  background: #1e1b18;
  border: 1px solid rgba(183, 166, 245, 0.3);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-ott-app-core-features__panel.is-pulse {
  animation: cw-ott-core-in 0.35s ease both;
}

.cw-ott-app-core-features__panel-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #b7a6f5;
}

.cw-ott-app-core-features__panel-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cw-ott-app-core-features__panel-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.78);
}

.cw-ott-app-core-features__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-ott-app-core-features__tag {
  background: rgba(183, 166, 245, 0.15);
  color: #cfc4f6;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
}

@media (max-width: 520px) {
  .cw-ott-app-core-features__grid {
    grid-template-columns: 1fr;
  }

  .cw-ott-app-core-features__panel {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-ott-app-core-features__panel.is-pulse {
    animation: none;
  }
}
