/* OTT App — 07 Technologies & app types */

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

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

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

.cw-ott-app-tech-types__tech-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.cw-ott-app-tech-types__tech-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.cw-ott-app-tech-types__tech-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-ott-app-tech-types__tech-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3a3530;
}

.cw-ott-app-tech-types__tech-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-ott-app-tech-types__tech-item {
  border: 1px solid #e4ddd0;
  border-radius: 20px;
  background: #ffffff;
  color: #141210;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: inherit;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cw-ott-app-tech-types__tech-item.is-open {
  background: #141210;
  color: #f3efe7;
  border-color: #141210;
}

.cw-ott-app-tech-types__tech-item:focus-visible {
  outline: 2px solid #5b3fc4;
  outline-offset: 3px;
}

.cw-ott-app-tech-types__tech-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.cw-ott-app-tech-types__tech-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  line-height: 1;
}

.cw-ott-app-tech-types__tech-item.is-open .cw-ott-app-tech-types__tech-icon {
  transform: rotate(45deg);
}

.cw-ott-app-tech-types__tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-ott-app-tech-types__tech-chip {
  border: 1px solid #cfc7ba;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.cw-ott-app-tech-types__tech-item.is-open .cw-ott-app-tech-types__tech-chip {
  border-color: rgba(243, 239, 231, 0.3);
}

.cw-ott-app-tech-types__tech-desc {
  font-size: 14.5px;
  line-height: 1.65;
  opacity: 0.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.cw-ott-app-tech-types__tech-item.is-open .cw-ott-app-tech-types__tech-desc {
  max-height: 220px;
}

.cw-ott-app-tech-types__types-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.cw-ott-app-tech-types__types-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-ott-app-tech-types__types-title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #5b3fc4;
}

.cw-ott-app-tech-types__types-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3a3530;
}

.cw-ott-app-tech-types__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-ott-app-tech-types__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #141210;
  background: transparent;
  color: #141210;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.cw-ott-app-tech-types__pill.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-ott-app-tech-types__pill:focus-visible {
  outline: 2px solid #5b3fc4;
  outline-offset: 2px;
}

.cw-ott-app-tech-types__pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cw-ott-pill-dot, #b7a6f5);
  flex-shrink: 0;
}

.cw-ott-app-tech-types__type-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 18px;
}

.cw-ott-app-tech-types__type-detail.is-animating {
  animation: cw-ott-tech-in 0.35s ease both;
}

.cw-ott-app-tech-types__type-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cw-ott-app-tech-types__type-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -0.03em;
}

.cw-ott-app-tech-types__type-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #3a3530;
}

.cw-ott-app-tech-types__type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-ott-app-tech-types__type-tag {
  background: #141210;
  color: #f3efe7;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}

.cw-ott-app-tech-types__preview {
  border-radius: 24px;
  background: #141210;
  color: #f3efe7;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-ott-app-tech-types__preview-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 231, 0.55);
}

.cw-ott-app-tech-types__preview-hero {
  border-radius: 16px;
  background: radial-gradient(
    120% 90% at 30% 20%,
    var(--cw-ott-preview-accent, #b7a6f5),
    #2a1a5e 60%,
    #0f0d1a
  );
  padding: 18px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}

.cw-ott-app-tech-types__preview-hero-title {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.cw-ott-app-tech-types__preview-hero-sub {
  font-size: 12.5px;
  opacity: 0.8;
}

.cw-ott-app-tech-types__preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.cw-ott-app-tech-types__preview-stat {
  background: rgba(243, 239, 231, 0.06);
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.35;
}

.cw-ott-app-tech-types__preview-stat-label {
  color: rgba(243, 239, 231, 0.55);
  font-size: 10.5px;
}

.cw-ott-app-tech-types__preview-stat-value {
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .cw-ott-app-tech-types__tech-icon,
  .cw-ott-app-tech-types__tech-desc,
  .cw-ott-app-tech-types__tech-item,
  .cw-ott-app-tech-types__type-detail.is-animating {
    animation: none;
    transition: none;
  }
}
