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

.cw-ai-app-development-nlp__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 40px);
}

.cw-ai-app-development-nlp__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-ai-app-development-nlp__head-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-ai-app-development-nlp__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #4a3c7a;
}

.cw-ai-app-development-nlp__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cw-ai-app-development-nlp__em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #c8391a;
}

.cw-ai-app-development-nlp__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #2e2822;
}

.cw-ai-app-development-nlp__samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-ai-app-development-nlp__sample {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #141210;
  font: 600 14px 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-ai-app-development-nlp__sample.is-on {
  background: #141210;
  color: #fff;
}

.cw-ai-app-development-nlp__sample:focus-visible {
  outline: 2px solid #4a3c7a;
  outline-offset: 2px;
}

.cw-ai-app-development-nlp__panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
  align-items: stretch;
}

.cw-ai-app-development-nlp__panel--input {
  background: #fff;
  border-radius: 26px;
  padding: clamp(18px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-ai-app-development-nlp__panel-label {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #6b6158;
}

.cw-ai-app-development-nlp__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(20, 18, 16, 0.14);
  border-radius: 16px;
  background: #fbf8f2;
  outline: 0;
  padding: 14px 16px;
  font: 500 17px/1.55 'Inter', system-ui, sans-serif;
  color: #141210;
  resize: vertical;
  min-height: 100px;
}

.cw-ai-app-development-nlp__token-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #6b6158;
}

.cw-ai-app-development-nlp__legend {
  display: flex;
  gap: 10px;
}

.cw-ai-app-development-nlp__legend-pos {
  color: #4f6b00;
}

.cw-ai-app-development-nlp__legend-neg {
  color: #b5361a;
}

.cw-ai-app-development-nlp__legend-ent {
  color: #4a3c7a;
}

.cw-ai-app-development-nlp__tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-content: flex-start;
  min-height: 80px;
}

.cw-ai-app-development-nlp__token {
  padding: 5px 9px;
  border-radius: 8px;
  font: 500 13.5px 'Inter', system-ui, sans-serif;
  transition: background 0.3s ease;
}

.cw-ai-app-development-nlp__panel--analysis {
  border-radius: 26px;
  background: #141210;
  color: #eae7e1;
  padding: clamp(20px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cw-ai-app-development-nlp__sent-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cw-ai-app-development-nlp__sent-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.cw-ai-app-development-nlp__analysis-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-ai-app-development-nlp__sent-value {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 26px;
}

.cw-ai-app-development-nlp__sent-score {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  color: rgba(234, 231, 225, 0.6);
  margin-left: 0.25em;
}

.cw-ai-app-development-nlp__needle-track {
  position: relative;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, #ff5527, #4a423b 50%, #d4f53c);
}

.cw-ai-app-development-nlp__needle {
  position: absolute;
  top: -5px;
  width: 5px;
  height: 24px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
  transition: left 0.5s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.cw-ai-app-development-nlp__needle-labels {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: rgba(234, 231, 225, 0.45);
}

.cw-ai-app-development-nlp__emo-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-ai-app-development-nlp__emo-row {
  display: grid;
  grid-template-columns: 72px 1fr 38px;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

.cw-ai-app-development-nlp__emo-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(234, 231, 225, 0.08);
  overflow: hidden;
}

.cw-ai-app-development-nlp__emo-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.cw-ai-app-development-nlp__emo-pct {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: rgba(234, 231, 225, 0.6);
  text-align: right;
}

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

.cw-ai-app-development-nlp__stat {
  padding: 14px;
  border-radius: 14px;
  background: #1e1b18;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cw-ai-app-development-nlp__stat-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-ai-app-development-nlp__stat-value {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.cw-ai-app-development-nlp__stat-value--lang {
  color: #b7a6f5;
}

.cw-ai-app-development-nlp__stat-value--intent {
  color: #ff7a50;
}

.cw-ai-app-development-nlp__ents-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-ai-app-development-nlp__ents {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-ai-app-development-nlp__ent {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(183, 166, 245, 0.14);
  border: 1px solid rgba(183, 166, 245, 0.45);
  color: #d9cffb;
  font-size: 12.5px;
}

.cw-ai-app-development-nlp__ent-k {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  opacity: 0.7;
}

.cw-ai-app-development-nlp__ents-empty {
  font-size: 13px;
  color: rgba(234, 231, 225, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .cw-ai-app-development-nlp__needle,
  .cw-ai-app-development-nlp__emo-fill,
  .cw-ai-app-development-nlp__token {
    transition: none;
  }
}
