/* OTT App — 03 AI vs traditional */

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

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

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

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

.cw-ott-app-ai__intro-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.cw-ott-app-ai__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-ai__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #5b3fc4;
}

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

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

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

.cw-ott-app-ai__compare-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.cw-ott-app-ai__compare-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.cw-ott-app-ai__compare-lead {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #3a3530;
  max-width: 720px;
}

.cw-ott-app-ai__modes {
  display: flex;
  gap: 4px;
  border: 1px solid #141210;
  border-radius: 999px;
  padding: 4px;
  flex-shrink: 0;
}

.cw-ott-app-ai__mode {
  border: 0;
  background: transparent;
  color: #141210;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

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

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

.cw-ott-app-ai__table {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #141210;
}

.cw-ott-app-ai__row {
  border: 0;
  border-bottom: 1px solid #d8d0c2;
  background: #faf7f1;
  color: #141210;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: center;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  width: 100%;
}

.cw-ott-app-ai__row:last-child {
  border-bottom: 0;
}

.cw-ott-app-ai__row.is-alt {
  background: #fff;
}

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

.cw-ott-app-ai__row.is-active .cw-ott-app-ai__value {
  color: #f3efe7;
}

.cw-ott-app-ai__aspect {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
}

.cw-ott-app-ai__value-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  min-width: 0;
}

.cw-ott-app-ai__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  background: #5b3fc4;
}

.cw-ott-app-ai__value.is-pulse {
  animation: cw-ott-ai-in 0.3s ease both;
}

.cw-ott-app-ai__foot {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #3a3530;
}

@media (max-width: 640px) {
  .cw-ott-app-ai__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cw-ott-app-ai__modes {
    width: 100%;
    justify-content: stretch;
  }

  .cw-ott-app-ai__mode {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
  }
}

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