/* =============================================
   CHATBOT SHOWCASE PAGE
   ============================================= */

* { box-sizing: border-box; }

.cb-wrap {
  padding-top: 90px;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ── HERO ── */
.cb-hero { padding: 64px 0 48px; text-align: center; }

.cb-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #9494b8;
  text-decoration: none;
  margin-bottom: 28px;
}
.cb-back:hover { color: #67e8f9; }

.cb-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67e8f9;
  margin-bottom: 20px;
}

.cb-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #eeeef8;
  margin: 0 0 18px;
}

.cb-hero p {
  font-size: 16px;
  color: #9494b8;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 28px;
}

.cb-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.cb-pill {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #9494b8;
}

.cb-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.cb-btn-p {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(124,58,237,0.32);
  transition: opacity 0.2s;
}
.cb-btn-p:hover { opacity: 0.85; }

.cb-btn-g {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.14);
  color: #eeeef8;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.cb-btn-g:hover { border-color: rgba(124,58,237,0.5); }

/* ── CHAT DEMO ── */
.cb-chat {
  background: #111124;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 64px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cb-chat-bar {
  background: #181830;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cb-chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  flex-shrink: 0;
}
.cb-chat-bar-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #eeeef8;
}
.cb-chat-bar-sub { font-size: 11px; color: #22c55e; }
.cb-chat-msgs {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cb-user-msg,
.cb-bot-msg {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
}
.cb-user-msg {
  align-self: flex-end;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.28);
  color: #eeeef8;
  border-bottom-right-radius: 4px;
}
.cb-bot-msg {
  align-self: flex-start;
  background: #181830;
  border: 1px solid rgba(255,255,255,0.07);
  color: #c4c4d8;
  border-bottom-left-radius: 4px;
}
.cb-chat-input-row {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.cb-fake-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #555577;
  font-family: inherit;
}
.cb-send {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

/* ── SECTIONS ── */
.cb-section { padding: 56px 0; border-top: 1px solid rgba(255,255,255,0.07); }

.cb-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #67e8f9;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cb-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: #67e8f9;
  border-radius: 2px;
}

.cb-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #eeeef8;
  margin: 0 0 10px;
}

.cb-gradient {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cb-desc {
  font-size: 15px;
  color: #9494b8;
  line-height: 1.75;
  margin: 0 0 32px;
}

/* Capabilities grid */
.cb-caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .cb-caps { grid-template-columns: 1fr; } }

.cb-cap {
  background: #111124;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.2s;
}
.cb-cap:hover { border-color: rgba(124,58,237,0.35); }
.cb-cap-icon { font-size: 22px; margin-bottom: 10px; display: block; }
.cb-cap h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #eeeef8;
  margin: 0 0 6px;
}
.cb-cap p { font-size: 13px; color: #9494b8; line-height: 1.6; margin: 0; }

/* Pipeline */
.cb-pipe { display: flex; flex-direction: column; }

.cb-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cb-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  height: calc(100% + 4px);
  width: 2px;
  background: rgba(255,255,255,0.07);
}
.cb-step + .cb-step { margin-top: 28px; }

.cb-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.cb-step-text { padding-top: 6px; }
.cb-step-text h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #eeeef8;
  margin: 0 0 4px;
}
.cb-step-text p { font-size: 13px; color: #9494b8; line-height: 1.65; margin: 0; }

/* Stack */
.cb-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 480px) { .cb-stack { grid-template-columns: 1fr 1fr; } }

.cb-stack-card {
  background: #111124;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px;
}
.cb-stack-layer {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9494b8;
  margin-bottom: 4px;
}
.cb-stack-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #eeeef8;
}

/* CTA */
.cb-cta {
  padding: 64px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.cb-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #eeeef8;
  margin: 0 0 12px;
}
.cb-cta p {
  font-size: 15px;
  color: #9494b8;
  line-height: 1.75;
  margin: 0 auto 28px;
  max-width: 400px;
}
.cb-cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Footer */
.cb-footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: #9494b8;
  font-size: 13px;
}
