/* Chatbot Development page — 01 Hero */

@keyframes cw-chatbot-development-page-hero-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cw-chatbot-development-page-hero-dot {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

@keyframes cw-chatbot-development-page-hero-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 245, 60, 0.6);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(212, 245, 60, 0);
  }
}

.cw-chatbot-development-page-hero {
  background:
    radial-gradient(640px 480px at 80% 40%, rgba(183, 166, 245, 0.2), transparent 70%),
    #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-chatbot-development-page-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.cw-chatbot-development-page-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.cw-chatbot-development-page-hero__eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #b7a6f5;
}

.cw-chatbot-development-page-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4f53c;
  animation: cw-chatbot-development-page-hero-pulse 1.6s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cw-chatbot-development-page-hero__eyebrow-dot {
    animation: none;
  }
}

.cw-chatbot-development-page-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 6vw, 90px);
  line-height: 0.93;
  letter-spacing: -0.045em;
  color: #f3efe7;
}

.cw-chatbot-development-page-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #b7a6f5;
  letter-spacing: -0.02em;
}

.cw-chatbot-development-page-hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(243, 239, 231, 0.78);
  text-wrap: pretty;
}

.cw-chatbot-development-page-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-chatbot-development-page-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-chatbot-development-page-hero__btn--primary {
  background: #d4f53c;
  color: #141210;
  font-weight: 700;
}

.cw-chatbot-development-page-hero__btn--primary:hover,
.cw-chatbot-development-page-hero__btn--primary:focus-visible {
  background: #fff;
  color: #141210;
}

.cw-chatbot-development-page-hero__btn--secondary {
  border-color: rgba(243, 239, 231, 0.3);
  color: #f3efe7;
}

.cw-chatbot-development-page-hero__btn--secondary:hover,
.cw-chatbot-development-page-hero__btn--secondary:focus-visible {
  border-color: #b7a6f5;
  color: #f3efe7;
}

.cw-chatbot-development-page-hero__widget {
  background: #f3efe7;
  color: #141210;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  max-width: 520px;
  width: 100%;
  justify-self: end;
  display: flex;
  flex-direction: column;
}

.cw-chatbot-development-page-hero__widget-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #141210;
  color: #f3efe7;
}

.cw-chatbot-development-page-hero__avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #b7a6f5;
  color: #141210;
  display: grid;
  place-items: center;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.cw-chatbot-development-page-hero__widget-meta {
  flex: 1;
  min-width: 0;
}

.cw-chatbot-development-page-hero__widget-name {
  font-weight: 700;
  font-size: 15px;
}

.cw-chatbot-development-page-hero__widget-status {
  font-size: 12px;
  color: #d4f53c;
}

.cw-chatbot-development-page-hero__widget-badge {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #a39c90;
}

.cw-chatbot-development-page-hero__messages {
  height: 340px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f3efe7;
}

.cw-chatbot-development-page-hero__msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 82%;
  animation: cw-chatbot-development-page-hero-in 0.3s ease both;
}

.cw-chatbot-development-page-hero__msg--user {
  align-self: flex-end;
  align-items: flex-end;
}

.cw-chatbot-development-page-hero__msg--bot {
  align-self: flex-start;
  align-items: flex-start;
}

.cw-chatbot-development-page-hero__bubble {
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.cw-chatbot-development-page-hero__msg--user .cw-chatbot-development-page-hero__bubble {
  background: #141210;
  color: #f3efe7;
  border-radius: 16px 16px 4px 16px;
}

.cw-chatbot-development-page-hero__msg--bot .cw-chatbot-development-page-hero__bubble {
  background: #fff;
  color: #141210;
  border-radius: 16px 16px 16px 4px;
}

.cw-chatbot-development-page-hero__kw {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #6b645a;
}

.cw-chatbot-development-page-hero__typing {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  background: #fff;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 14px;
}

.cw-chatbot-development-page-hero__typing[hidden] {
  display: none !important;
}

.cw-chatbot-development-page-hero__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #141210;
  animation: cw-chatbot-development-page-hero-dot 1s infinite;
}

.cw-chatbot-development-page-hero__typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.cw-chatbot-development-page-hero__typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.cw-chatbot-development-page-hero__quick {
  padding: 0 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-chatbot-development-page-hero__quick-label {
  width: 100%;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #6b645a;
}

.cw-chatbot-development-page-hero__quick-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-chatbot-development-page-hero__quick-btn {
  border: 1px solid #141210;
  background: transparent;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  cursor: pointer;
  color: #141210;
  font-family: inherit;
}

.cw-chatbot-development-page-hero__quick-btn:hover,
.cw-chatbot-development-page-hero__quick-btn:focus-visible {
  background: #141210;
  color: #f3efe7;
}

.cw-chatbot-development-page-hero__composer {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #e4ddd0;
  background: #fff;
  align-items: center;
}

.cw-chatbot-development-page-hero__composer-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cw-chatbot-development-page-hero__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  padding: 8px 4px;
  color: #141210;
  min-width: 0;
}

.cw-chatbot-development-page-hero__input::placeholder {
  color: #8e877c;
}

.cw-chatbot-development-page-hero__send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #e0431c;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.cw-chatbot-development-page-hero__send:hover,
.cw-chatbot-development-page-hero__send:focus-visible {
  background: #141210;
}
