@charset "UTF-8";
:root {
  --pink: #ea1953;
  --pink-dark: #c80d43;
  --orange: #f48b4f;
  --ink: #1e1820;
  --muted: #6f6871;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fffafc;
  color: var(--ink);
  font-family: "Kanit", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  width: min(1400px, 100% - 64px);
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1.4px;
}

.brand-word {
  color: var(--pink);
}

.brand-dot {
  color: #f26943;
}

nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  color: #423b43;
}

nav a:hover {
  color: var(--pink);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.login:hover {
  color: var(--pink);
}

.button {
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  padding: 10px 19px;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  color: white;
  box-shadow: 0 8px 18px rgba(234, 25, 83, 0.18);
}

.button-primary {
  padding: 16px 26px;
  color: white;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  box-shadow: 0 15px 28px rgba(234, 25, 83, 0.22);
}

.button-primary span {
  font-size: 20px;
}

.button-secondary {
  padding: 15px 24px;
  color: var(--pink);
  background: white;
  border: 1px solid #f2a8bc;
}

.play {
  width: 25px;
  height: 25px;
  border: 1px solid #f5b2c5;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 8px;
  padding-left: 2px;
}

.hero {
  min-height: calc(100vh - 86px);
  max-height: 880px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(570px, 1.14fr);
  align-items: center;
  gap: 55px;
  padding: 48px max(5vw, (100vw - 1400px) / 2);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: radial-gradient(circle at 77% 48%, rgba(255, 218, 229, 0.98) 0, rgba(255, 239, 244, 0.76) 28%, transparent 55%), linear-gradient(108deg, white 0 42%, #fff9fb 72%, #fff4f7 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -170px;
  top: 40px;
  border: 1px solid rgba(234, 25, 83, 0.12);
  border-radius: 50%;
  z-index: -2;
}

.glow {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.glow-one {
  width: 240px;
  height: 240px;
  background: rgba(244, 139, 79, 0.12);
  right: 23%;
  top: 5%;
}

.glow-two {
  width: 330px;
  height: 330px;
  background: rgba(234, 25, 83, 0.09);
  right: -100px;
  bottom: -100px;
}

.hero-copy {
  align-self: center;
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #f8bfd0;
  color: var(--pink-dark);
  background: #fff7f9;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  margin-bottom: 21px;
}

.eyebrow-icon {
  color: #f17447;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 4.7vw, 75px);
  line-height: 1.14;
  letter-spacing: -2.2px;
  font-weight: 600;
}

h1 span {
  color: var(--pink);
}

.lead {
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  max-width: 540px;
  margin: 24px 0 28px;
}

.cta-row {
  display: flex;
  gap: 13px;
}

.benefits {
  display: flex;
  gap: 22px;
  margin: 21px 0 35px;
  font-size: 13px;
  color: #696168;
}

.benefits i {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  margin-right: 4px;
  font-style: normal;
  font-size: 10px;
  color: white;
  background: #35b46e;
}

.platform-list p {
  margin: 0 0 10px;
  font-size: 12px;
  color: #8d858b;
}

.platform-list > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.platform {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.platform img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-visual {
  height: 680px;
  min-width: 0;
  position: relative;
  display: grid;
  place-items: center;
}

.chat-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 213, 226, 0.35) 50%, transparent 70%);
}

.chat-window {
  width: min(530px, 94%);
  height: 615px;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #eedbe2;
  border-radius: 27px;
  box-shadow: 0 35px 80px rgba(96, 35, 58, 0.17), 0 9px 28px rgba(96, 35, 58, 0.08);
  transform: perspective(1200px) rotateY(-2deg);
}

.chat-topbar {
  height: 72px;
  flex: 0 0 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid #f0e7eb;
  background: rgba(255, 255, 255, 0.97);
}

.chat-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-avatar,
.admin-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 700;
}

.shop-avatar {
  width: 42px;
  height: 42px;
}

.chat-person b {
  display: block;
  font-size: 17px;
}

.chat-person small {
  display: block;
  color: #958b90;
  font-size: 11px;
  margin-top: 2px;
}

.chat-person small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #37bd73;
  margin-right: 4px;
}

.chat-menu {
  color: #a3979d;
  letter-spacing: 2px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 17px 18px 22px;
  background: linear-gradient(180deg, #fff 0, #fff9fb 100%);
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  display: none;
}

.chat-day {
  width: max-content;
  margin: 0 auto 14px;
  padding: 4px 9px;
  border-radius: 10px;
  color: #a3979d;
  background: #f7f1f3;
  font-size: 10px;
}

.chat-step {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  gap: 8px;
  align-items: end;
  margin: 0 0 11px;
  animation: message-in 0.36s ease both;
}

.admin-avatar {
  width: 25px;
  height: 25px;
  border-radius: 8px 8px 8px 10px;
  font-size: 9px;
  margin-bottom: 2px;
  grid-column: 3;
}

.step-content {
  width: 100%;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.chat-bubble,
.action-bubble {
  width: 100%;
  max-width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.55;
}

.admin .chat-bubble {
  background: #fff0f4;
  color: #49383f;
  border-radius: 12px 12px 4px 12px;
}

.customer .chat-bubble {
  background: linear-gradient(90deg, #ff841c, #dc005a);
  color: #fff;
  border-radius: 12px 12px 12px 4px;
}

.choice-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 7px;
}

.choice-row button {
  padding: 7px 11px;
  border: 1px solid #ef9eb5;
  border-radius: 999px;
  background: #fff;
  color: var(--pink);
  font-size: 11px;
}

.action-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px 12px 12px 4px;
  color: var(--pink-dark);
  background: #ffe5ed;
  font-weight: 500;
}

.action-bubble span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-size: 10px;
}

.catalog-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 7px;
}

.product-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #f0e5e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(72, 36, 49, 0.06);
}

.product-card > div:last-child {
  padding: 7px 8px;
}

.product-card b {
  display: block;
  font-size: 9px;
  white-space: nowrap;
}

.product-card small {
  display: block;
  color: #9e9297;
  font-size: 7px;
  margin-top: 2px;
}

.product-image {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: cover;
  object-position: center top;
  background: #f5f3f2;
}

.shirt {
  height: 62px;
  position: relative;
  overflow: hidden;
  background: #f8f4f5;
}

.shirt::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 40px;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px 5px 8px 8px;
  background: currentColor;
  box-shadow: 0 5px 10px rgba(44, 29, 35, 0.12);
}

.shirt::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 18px;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(0 28%, 21% 0, 38% 18%, 62% 18%, 79% 0, 100% 28%, 83% 82%, 70% 62%, 70% 100%, 30% 100%, 30% 62%, 17% 82%);
  background: currentColor;
}

.shirt span {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 5px;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #f8f4f5;
}

.shirt-red {
  color: #e9434d;
}

.shirt-black {
  color: #282427;
}

.shirt-white {
  color: #fff;
  background: #eee9eb;
}

.shirt-white::before,
.shirt-white::after {
  border: 1px solid #e8dfe2;
}

.selected-product {
  width: 100%;
  padding: 8px;
  margin-bottom: 7px;
  border-radius: 12px;
  background: #fff0f4;
}

.selected-product .product-card {
  display: grid;
  grid-template-columns: 78px 1fr;
}

.selected-product .shirt {
  height: 80px;
}

.selected-product .product-card > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.selected-product .product-card b {
  font-size: 12px;
  white-space: normal;
}

.selected-product .product-card small {
  font-size: 9px;
}

.selected-product .order-button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  margin-top: 7px;
  padding: 9px;
  color: white;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-size: 11px;
}

.selected-product .product-image {
  height: 80px;
}

.order-summary {
  width: 100%;
  padding: 14px;
  border: 1px solid #f2c6d2;
  border-radius: 14px 14px 4px 14px;
  color: #49383f;
  background: #fff;
  box-shadow: 0 8px 20px rgba(84, 39, 54, 0.08);
  font-size: 12px;
  line-height: 1.5;
}

.order-summary b {
  display: block;
  margin-bottom: 7px;
  color: var(--pink);
  font-size: 13px;
}

.order-summary p {
  margin: 2px 0;
}

.order-summary strong {
  display: block;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed #ead7dd;
  font-size: 13px;
}

.order-summary button {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-size: 11px;
  font-weight: 500;
}

.chat-bubble {
  white-space: pre-line;
}

.chat-step.system,
.chat-step.internal {
  justify-content: center;
  margin: 3px 0 11px;
}

.chat-step.system .step-content,
.chat-step.internal .step-content {
  width: 100%;
  max-width: 94%;
  align-items: center;
}

.handoff-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 8px 11px;
  border: 1px dashed #e8a6b9;
  border-radius: 10px;
  color: #9b4962;
  background: #fff7f9;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.handoff-notice span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-size: 11px;
}

.internal-note {
  width: 100%;
  padding: 10px 12px;
  border-left: 3px solid #f0a23b;
  border-radius: 4px 10px 10px 4px;
  color: #675547;
  background: #fff8eb;
  box-shadow: 0 4px 12px rgba(103, 74, 37, 0.06);
}

.internal-note small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #a66c20;
  font-size: 9px;
  font-weight: 600;
}

.internal-note p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.45;
}

.typing-row {
  display: flex;
  gap: 4px;
  width: max-content;
  margin: 3px 33px 8px auto;
  padding: 9px 12px;
  border-radius: 12px 12px 4px 12px;
  background: #f6eff2;
}

.typing-row span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a999a0;
  animation: typing 1s infinite;
}

.typing-row span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-row span:nth-child(3) {
  animation-delay: 0.3s;
}

.chat-composer {
  height: 61px;
  flex: 0 0 61px;
  margin: 0 14px 14px;
  padding: 0 9px 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b2a8ac;
  border: 1px solid #eadfe3;
  border-radius: 14px;
  font-size: 12px;
  background: #fff;
}

.chat-composer button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: linear-gradient(90deg, #ff841c, #dc005a);
}

.live-badge {
  position: absolute;
  z-index: 6;
  top: 50px;
  right: 4px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 1px solid #efdde4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 13px 30px rgba(75, 34, 50, 0.11);
  color: #55484e;
  font-size: 12px;
  animation: float 5s ease-in-out infinite;
}

.live-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42bd76;
  box-shadow: 0 0 0 4px #e5f8ed;
}

.core-feature {
  position: relative;
  overflow: hidden;
  padding: 92px max(7vw, (100vw - 1240px) / 2) 104px;
  background: #fff;
}

.core-feature::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -280px;
  top: 170px;
  border-radius: 50%;
  background: rgba(255, 224, 233, 0.5);
  filter: blur(2px);
}

.section-intro {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.section-intro span {
  color: var(--pink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  white-space: nowrap;
}

.section-intro i {
  width: 100%;
  height: 1px;
  background: #f0e5e9;
}

.feature-layout {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(540px, 1.02fr) minmax(590px, 0.98fr);
  align-items: center;
  gap: 58px;
}

.feature-copy {
  min-width: 0;
}

.feature-copy h2 {
  margin: 0 0 18px;
  max-width: 650px;
  font-size: clamp(42px, 3.45vw, 56px);
  line-height: 1.18;
  letter-spacing: -1.5px;
  font-weight: 600;
  color: var(--ink);
}

.feature-copy h2 em {
  color: var(--pink);
  font-style: normal;
}

.feature-copy > h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.4;
  font-weight: 500;
}

.feature-lead {
  max-width: 660px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 300;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.handoff-panel li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #514950;
  font-size: 15px;
  line-height: 1.52;
  font-weight: 300;
}

.feature-list li > span,
.handoff-panel li > span {
  flex: 0 0 auto;
  color: var(--pink);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
  margin-top: 0;
}

.handoff-panel {
  margin-top: 24px;
  padding: 18px 20px;
  border: 0;
  border-left: 3px solid var(--pink);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 240, 245, 0.72);
  box-shadow: none;
}

.handoff-title {
  margin-bottom: 12px;
}

.handoff-title h3 {
  margin: 0;
  color: #3f363a;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
}

.handoff-panel ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-visual {
  min-width: 0;
  display: grid;
  align-items: center;
  justify-items: stretch;
}

.feature-demo {
  width: 100%;
  height: 620px;
  position: relative;
  isolation: isolate;
}

.automation-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.automation-scene.scene-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.automation-scene.scene-hidden {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  pointer-events: none;
}

.scene-item {
  animation: sceneItemIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sceneItemIn {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feature-demo::before {
  content: none;
}

.feature-orbit {
  display: none;
}

.orbit-one {
  width: 490px;
  height: 490px;
  left: 20px;
  top: 80px;
}

.orbit-two {
  width: 350px;
  height: 350px;
  right: 0;
  bottom: 65px;
}

.post-card,
.inbox-card {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(234, 25, 83, 0.09);
  box-shadow: 0 18px 42px rgba(90, 42, 60, 0.11);
}

.post-card {
  width: 430px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  z-index: 2;
}

.post-head {
  height: 62px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-head > span:last-child {
  margin-left: auto;
  color: #aaa0a4;
}

.demo-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.post-head b,
.inbox-head b {
  display: block;
  font-size: 17px;
}

.post-head small {
  display: block;
  color: #a0979b;
  font-size: 12px;
}

.post-copy {
  padding: 0 14px 12px;
  font-size: 15px;
  color: #554c50;
}

.post-product-image {
  height: 215px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f6f1f2, #fff);
}

.post-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.post-actions {
  display: flex;
  justify-content: space-around;
  padding: 9px 12px;
  border-block: 1px solid #eee6e9;
  color: #7c7276;
  font-size: 11px;
}

.mini-shirt {
  position: relative;
  width: 65px;
  height: 82px;
  border-radius: 9px 9px 14px 14px;
  background: currentColor;
  box-shadow: 0 12px 17px rgba(73, 37, 50, 0.13);
}

.mini-shirt::before,
.mini-shirt::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 32px;
  height: 43px;
  background: currentColor;
}

.mini-shirt::before {
  left: -20px;
  transform: rotate(28deg);
  border-radius: 8px 0 0 8px;
}

.mini-shirt::after {
  right: -20px;
  transform: rotate(-28deg);
  border-radius: 0 8px 8px 0;
}

.shirt-coral {
  color: #ef5d64;
  transform: translateY(16px) rotate(-6deg);
}

.shirt-dark {
  color: #262226;
  transform: translateY(5px);
}

.shirt-cream {
  color: #fff;
  transform: translateY(16px) rotate(6deg);
}

.post-event-slot {
  height: 166px;
  overflow: visible;
  contain: layout;
}

.post-event {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.985);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  pointer-events: none;
}

.post-event.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.comment-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 12px 16px;
  padding: 10px;
  border-radius: 13px;
  background: #f7f4f5;
}

.customer-dot {
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #6474c9;
  font-size: 12px;
}

.comment-box b {
  font-size: 14px;
}

.comment-box p,
.bot-reply p {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6e6669;
}

.bot-reply {
  display: flex;
  gap: 8px;
  margin: 0 12px 24px 46px;
  padding: 9px 10px;
  border-left: 2px solid var(--pink);
  border-radius: 0 10px 10px 0;
  background: #fff4f7;
}

.bot-reply > span {
  color: var(--pink);
}

.bot-reply b {
  font-size: 11px;
  color: var(--pink-dark);
}

.demo-logo.tiny {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 8px;
  font-size: 10px;
}

.inbox-card {
  width: 450px;
  height: 590px;
  position: relative;
  z-index: 4;
  overflow: visible;
  border-radius: 24px;
  transform: none;
  display: flex;
  flex-direction: column;
}

.inbox-head {
  height: 66px;
  flex: 0 0 66px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee4e8;
}

.inbox-head > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.inbox-head small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #968b90;
  font-size: 9px;
}

.inbox-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fc579;
  box-shadow: 0 0 0 4px #e5f7ed;
}

.auto-pill {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--pink);
  background: #fff0f4;
  font-size: 10px;
}

.mini-conversation {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 10px 14px;
  background: #fffafb;
}

.mini-message {
  width: max-content;
  max-width: 88%;
  margin-bottom: 6px;
  padding: 8px 11px;
  font-size: 11px;
  line-height: 1.38;
}

.customer-message {
  border-radius: 12px 12px 12px 4px;
  background: #f1ecee;
  color: #5b5155;
}

.bot-message {
  margin-left: auto;
  border-radius: 12px 12px 4px 12px;
  color: white;
  background: linear-gradient(90deg, #ff841c, #dc005a);
}

.quick-replies {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin: -2px 0 9px;
}

.quick-replies span {
  padding: 5px 8px;
  border: 1px solid #f0adc0;
  border-radius: 999px;
  color: var(--pink);
  background: #fff;
  font-size: 10px;
}

.comment-origin {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 7px;
  padding: 7px 10px;
  width: max-content;
  max-width: 95%;
  border: 1px solid #dce7fb;
  border-radius: 12px;
  background: #f2f7ff;
  color: #45628c;
}

.comment-origin > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font-weight: 700;
}

.comment-origin small,
.comment-origin b {
  display: block;
}

.comment-origin small {
  font-size: 9px;
}

.comment-origin b {
  font-size: 12px;
}

.size-options {
  display: flex;
  gap: 5px;
  margin-top: 7px;
}

.size-options span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--pink);
  font-size: 9px;
  font-weight: 500;
}

.inbox-handoff {
  width: max-content;
  margin: 6px auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff1df;
  color: #a9632a;
  font-size: 9px;
}

.admin-notification {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 94%;
  margin: 5px auto 7px;
  padding: 7px 11px;
  border: 1px solid #f5b6c8;
  border-radius: 12px;
  background: #fff0f4;
  box-shadow: 0 7px 18px rgba(234, 25, 83, 0.1);
  color: #514248;
}

.admin-notification-top {
  position: absolute;
  z-index: 12;
  top: 12px;
  left: 0%;
  width: min(300px, 100vw - 48px);
  margin: 0;
  padding: 10px 13px;
  transform: translateX(-50%);
  border-radius: 15px;
  background: rgba(255, 240, 244, 0.97);
  box-shadow: 0 12px 28px rgba(90, 42, 60, 0.2);
  backdrop-filter: blur(8px);
}

.admin-notification > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
}

.admin-notification small,
.admin-notification b {
  display: block;
}

.admin-notification small {
  color: var(--pink);
  font-size: 8px;
}

.admin-notification b {
  font-size: 10px;
  line-height: 1.35;
}

.admin-live-message {
  margin-left: auto;
  border-radius: 12px 12px 4px 12px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
}

.admin-live-message small {
  display: block;
  margin-bottom: 4px;
  color: #ffe4eb;
  font-size: 8px;
}

.inbox-composer {
  height: 55px;
  flex: 0 0 55px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid #eee4e8;
  background: #fff;
  border-radius: 0 0 24px 24px;
}

.inbox-composer > span {
  flex: 1;
  padding: 8px 11px;
  border-radius: 999px;
  background: #f6f2f3;
  color: #aaa0a4;
  font-size: 10px;
}

.inbox-composer > button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #fff0f4;
  color: var(--pink);
}

.inbox-composer > button:last-child {
  border-radius: 50%;
  color: #fff;
  background: var(--pink);
}

.inbox-composer > button.quick-active {
  box-shadow: 0 0 0 3px #ffdce6;
}

.quick-message-menu {
  position: absolute;
  left: 8px;
  bottom: 48px;
  width: 245px;
  padding: 10px;
  border: 1px solid #f0dce3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(67, 31, 44, 0.16);
}

.quick-message-menu small {
  display: block;
  margin-bottom: 6px;
  color: #9a8d92;
  font-size: 9px;
}

.quick-message-menu button {
  width: 100%;
  display: block;
  padding: 7px 8px;
  border: 0;
  border-radius: 9px;
  background: #fff6f8;
  text-align: left;
}

.quick-message-menu button + button {
  margin-top: 5px;
  background: #faf7f8;
}

.quick-message-menu b,
.quick-message-menu span {
  display: block;
}

.quick-message-menu b {
  color: #4b4145;
  font-size: 10px;
}

.quick-message-menu span {
  margin-top: 2px;
  color: #998d92;
  font-size: 8px;
}

.handoff-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 12px 14px;
  background: #fff4e9;
  border-top: 1px solid #f5dfc9;
}

.handoff-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: var(--orange);
}

.handoff-bar b {
  display: block;
  font-size: 12px;
}

.handoff-bar small {
  display: block;
  color: #9a8172;
  font-size: 9px;
}

.admin-chip {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 7px;
  color: #a64c22;
  background: #ffe2cc;
  font-size: 10px;
}

.flow-connector {
  position: absolute;
  z-index: 6;
  left: 294px;
  top: 278px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f1dbe2;
  box-shadow: 0 8px 20px rgba(84, 39, 54, 0.1);
  color: #7e7076;
  font-size: 12px;
}

.flow-connector span {
  color: var(--pink);
  font-weight: 500;
}

.flow-connector i {
  font-style: normal;
  color: var(--orange);
}

.feature-stat {
  position: absolute;
  z-index: 7;
  min-width: 106px;
  padding: 11px 13px;
  border-radius: 15px;
  border: 1px solid #eddee3;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 25px rgba(80, 39, 54, 0.1);
  animation: float 5s ease-in-out infinite;
}

.feature-stat b {
  display: block;
  color: var(--pink);
  font-size: 20px;
  line-height: 1;
}

.feature-stat span {
  color: #82777c;
  font-size: 10px;
}

.stat-one {
  right: 8px;
  top: 95px;
}

.stat-two {
  left: 16px;
  bottom: 60px;
  animation-delay: -2s;
}

.keyword-feature {
  background: linear-gradient(180deg, #fff9fb 0, #fff 100%);
}

.keyword-feature::before {
  left: auto;
  right: -270px;
  top: 140px;
  background: rgba(255, 226, 218, 0.48);
}

.keyword-layout {
  grid-template-columns: minmax(590px, 0.98fr) minmax(540px, 1.02fr);
}

.keyword-copy {
  padding-right: 10px;
}

.keyword-list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.keyword-example-copy {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--pink);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 240, 245, 0.72);
}

.keyword-example-copy > span {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.keyword-example-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.keyword-example-copy p {
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #f3ced9;
  border-radius: 999px;
  background: #fff;
  color: #5d5156;
  font-size: 13px;
  font-weight: 300;
}

.keyword-example-copy > b {
  display: block;
  margin-top: 11px;
  font-size: 15px;
  font-weight: 500;
  color: #3f363a;
}

.keyword-demo {
  width: 100%;
  max-width: 450px;
  position: relative;
  padding: 22px;
  border: 1px solid rgba(234, 25, 83, 0.1);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(89, 42, 59, 0.12);
}

.keyword-chat-demo {
  height: 590px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.keyword-chat-head {
  height: 68px;
  flex: 0 0 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid #eee4e8;
  background: #fff;
}

.keyword-chat-head > div {
  display: flex;
  flex-direction: column;
}

.keyword-chat-head b {
  font-size: 14px;
  font-weight: 600;
}

.keyword-chat-head small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8e8287;
  font-size: 10px;
}

.keyword-chat-head small i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35b86b;
}

.keyword-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 15px 18px;
  background: linear-gradient(180deg, #fff9fb, #fff);
  overflow: hidden;
}

.keyword-chat-message {
  max-width: 76%;
  padding: 12px 15px;
  border-radius: 17px;
  font-size: 13px;
  line-height: 1.55;
  box-shadow: 0 5px 13px rgba(73, 42, 53, 0.06);
}

.keyword-chat-message.customer {
  align-self: flex-start;
  width: calc(76% - 34px);
  border: 1px solid #ece3e6;
  border-bottom-left-radius: 5px;
  background: #fff;
  color: #3e3639;
}

.keyword-chat-message.admin {
  flex: 0 0 calc(100% - 34px);
  min-width: 0;
  max-width: 100%;
  border-bottom-right-radius: 5px;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  color: #fff;
}

.keyword-admin-row {
  align-self: flex-end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  width: 76%;
}

.keyword-admin-row .admin-avatar {
  flex: 0 0 26px;
}

.keyword-intent-alert {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(94%, 390px);
  padding: 11px 14px;
  border: 1px solid #f2afc1;
  border-radius: 14px;
  background: #fff2f6;
  color: #b51f49;
  box-shadow: 0 8px 18px rgba(234, 25, 83, 0.1);
  font-size: 12px;
  text-align: center;
}

.keyword-intent-alert span {
  color: var(--pink);
  font-size: 16px;
}

.keyword-intent-alert b {
  font-weight: 600;
}

.keyword-chat-composer {
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px 0 17px;
  border-top: 1px solid #eee4e8;
  background: #fff;
  color: #aaa0a4;
  font-size: 11px;
}

.keyword-chat-composer button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  color: #fff;
  cursor: pointer;
}

.keyword-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid #f0e5e9;
}

.keyword-topline > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.keyword-topline b {
  font-size: 18px;
  font-weight: 500;
}

.keyword-spark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 8px 18px rgba(234, 25, 83, 0.18);
}

.detection-live {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0faf4;
  color: #37835a;
  font-size: 11px;
}

.detection-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ebf75;
  box-shadow: 0 0 0 4px #ddf5e7;
}

.keyword-messages {
  display: grid;
  gap: 10px;
  padding-top: 17px;
}

.keyword-message {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 15px;
  border: 1px solid #f0e5e9;
  background: #fffafb;
  animation: message-in 0.34s ease both;
}

.message-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #988b91;
  background: #f2ecef;
  font-size: 11px;
  font-weight: 500;
}

.keyword-message p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #3d3539;
}

.keyword-message small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: #8e8287;
  font-size: 10px;
}

.keyword-message small span {
  color: var(--pink);
  font-weight: 500;
}

.keyword-path {
  height: 42px;
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.keyword-path.is-visible {
  opacity: 1;
  transform: none;
}

.keyword-path span {
  width: 1px;
  height: 24px;
  background: #efc5d1;
}

.keyword-path i {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  color: var(--pink);
  font-style: normal;
  font-size: 17px;
}

.intent-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #e91854, #f26246);
  box-shadow: 0 13px 26px rgba(234, 25, 83, 0.2);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.intent-result.is-visible {
  opacity: 1;
  transform: none;
}

.intent-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.2);
}

.intent-icon span {
  width: 20px;
  height: 15px;
  position: relative;
  display: block;
  border: 2px solid #fff;
  border-radius: 7px;
}

.intent-icon span::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  border-left: 2px solid #fff;
  transform: skewY(-38deg);
}

.intent-result > div:nth-child(2) small,
.intent-result > div:nth-child(2) b {
  display: block;
}

.intent-result > div:nth-child(2) small {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.intent-result > div:nth-child(2) b {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 500;
}

.confidence {
  margin-left: auto;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  text-align: right;
}

.confidence b,
.confidence small {
  display: block;
}

.confidence b {
  font-size: 18px;
}

.confidence small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
}

.answer-preview {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 10px 0 35px;
  padding: 11px 13px;
  border-radius: 14px 14px 4px 14px;
  background: #fff0f4;
  color: #5a474e;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.answer-preview.is-visible {
  opacity: 1;
  transform: none;
}

.answer-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 10px;
  font-weight: 700;
}

.answer-preview p {
  margin: 1px 0 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 300;
}

.rich-feature {
  background: #fff;
}

.rich-feature::before {
  left: -260px;
  top: 120px;
  background: rgba(255, 224, 233, 0.48);
}

.rich-layout {
  grid-template-columns: minmax(540px, 1.02fr) minmax(590px, 0.98fr);
}

.rich-visual {
  grid-template-columns: minmax(0, 1fr);
}

.rich-copy h2 em {
  display: inline-block;
  margin-left: 10px;
}

.response-format-list {
  gap: 10px 22px;
}

.rich-choice-copy {
  margin-top: 24px;
  padding: 19px 21px;
  border-left: 3px solid var(--pink);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 240, 245, 0.72);
}

.rich-choice-copy h3 {
  margin: 0 0 7px;
  font-size: 20px;
  font-weight: 500;
  color: #3f363a;
}

.rich-choice-copy p {
  margin: 0;
  color: #675d62;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

.rich-choice-copy b {
  display: block;
  margin-top: 10px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 500;
}

.rich-choice-copy b span {
  margin: 0 5px;
  color: var(--orange);
}

.rich-response-demo {
  width: 100%;
  max-width: 555px;
  min-width: 0;
  height: 680px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-self: center;
  border: 1px solid rgba(234, 25, 83, 0.11);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 65px rgba(88, 39, 57, 0.14);
  overflow: hidden;
}

.rich-chat-head {
  height: 68px;
  flex: 0 0 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  border-bottom: 1px solid #f0e5e9;
  border-radius: 28px 28px 0 0;
  background: #fff;
}

.rich-shop {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rich-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}

.rich-shop b,
.rich-shop small {
  display: block;
}

.rich-shop b {
  font-size: 16px;
}

.rich-shop small {
  color: #91878c;
  font-size: 10px;
}

.rich-shop small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #3dbd74;
}

.rich-channel {
  padding: 6px 10px;
  border-radius: 999px;
  color: #16853e;
  background: #e9f9ef;
  font-size: 10px;
  font-weight: 600;
}

.format-track {
  flex: 0 0 47px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f4e9ed;
  background: #fff9fb;
}

.format-marquee {
  width: max-content;
  display: flex;
  gap: 7px;
  padding-left: 10px;
  animation: format-slide 24s linear infinite;
}

.format-marquee span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #f2c6d3;
  border-radius: 999px;
  color: var(--pink);
  background: #fff;
  font-size: 10px;
}

.rich-chat-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 14px 17px 18px;
  background: linear-gradient(180deg, #fff 0, #fff9fb 100%);
}

.rich-chat-body::-webkit-scrollbar {
  display: none;
}

.rich-chat-day {
  width: max-content;
  margin: 0 auto 13px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #9a8d92;
  background: #f4eff1;
  font-size: 9px;
}

.conversation-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}

.customer-row {
  justify-content: flex-start;
}

.admin-row {
  justify-content: flex-end;
}

.admin-row .conversation-avatar {
  order: 2;
}

.conversation-avatar {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}

.avatar-spacer {
  visibility: hidden;
}

.response-shot {
  display: block;
  height: auto;
  object-fit: contain;
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(72, 43, 53, 0.08);
}

.response-text {
  width: min(330px, 76%);
}

.response-buttons {
  width: min(235px, 67%);
}

.response-album {
  width: min(365px, 82%);
}

.response-menu {
  width: 100%;
  margin-top: 7px;
  border-radius: 12px;
}

.admin-image-answer {
  width: min(280px, 72%);
  overflow: hidden;
  border-radius: 15px 15px 15px 4px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(72, 43, 53, 0.09);
}

.admin-image-answer p {
  margin: 0;
  padding: 9px 11px;
  color: #554a4f;
  font-size: 12px;
}

.admin-image-answer img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center 11%;
}

.admin-answer-group {
  width: min(390px, 82%);
}

.admin-answer-group .bot-rich {
  width: max-content;
  max-width: 100%;
  margin: 0;
}

.rich-message {
  width: max-content;
  max-width: 83%;
  margin-bottom: 9px;
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.45;
}

.customer-rich {
  border-radius: 12px 12px 12px 4px;
  background: #f0ebed;
  color: #544b4f;
}

.bot-rich {
  margin-left: auto;
  border-radius: 12px 12px 4px 12px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
}

.rich-chat-body {
  opacity: 1;
  transition: opacity 0.76s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.rich-chat-body.is-restarting {
  opacity: 0;
}

.conversation-row {
  opacity: 1;
  transform: none;
}

.conversation-row.is-new {
  animation: rich-message-enter 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: opacity, transform;
}

.rich-card-answer {
  width: min(285px, 70%);
  overflow: hidden;
  border: 1px solid #efe2e7;
  border-radius: 15px 15px 4px 15px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(72, 43, 53, 0.08);
}

.rich-card-answer > p {
  margin: 0;
  padding: 10px 12px;
  color: #554a4f;
  font-size: 12px;
  line-height: 1.5;
}

.rich-action-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 0 10px 10px;
}

.rich-action-buttons button,
.rich-order-catalog button {
  width: 100%;
  border: 1px solid var(--pink);
  border-radius: 9px;
  padding: 7px 6px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font: inherit;
  font-size: 9px;
}

.rich-single-product {
  width: min(245px, 72%);
}

.rich-single-product > img {
  display: block;
  width: 100%;
  height: 155px;
  object-fit: cover;
  object-position: center top;
}

.rich-single-product > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
}

.rich-single-product b {
  font-size: 10px;
}

.rich-single-product small {
  color: #2f9960;
  font-size: 8px;
}

.rich-color-answer {
  width: min(370px, 86%);
}

.rich-color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 0 9px 10px;
}

.rich-color-grid > div {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: #f5f2f3;
}

.rich-color-grid img {
  display: block;
  width: 100%;
  height: 84px;
  object-fit: cover;
  object-position: center top;
}

.rich-color-grid small {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 2px 5px;
  border-radius: 99px;
  color: #51464a;
  background: rgba(255, 255, 255, 0.9);
  font-size: 7px;
}

.rich-order-catalog {
  width: min(405px, 88%);
}

.rich-catalog-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 9px 10px;
}

.rich-catalog-scroll > div {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee4e7;
  border-radius: 10px;
  background: #fff;
}

.rich-catalog-scroll img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: cover;
  object-position: center top;
}

.rich-catalog-scroll b,
.rich-catalog-scroll small {
  display: block;
  padding-inline: 6px;
}

.rich-catalog-scroll b {
  margin-top: 6px;
  font-size: 8px;
  white-space: nowrap;
}

.rich-catalog-scroll small {
  margin-top: 2px;
  color: #9b8f94;
  font-size: 7px;
}

.rich-catalog-scroll button {
  width: calc(100% - 10px);
  margin: 6px 5px 5px;
  padding: 5px 3px;
  border-radius: 7px;
}

.rich-typing {
  width: max-content;
  display: flex;
  gap: 3px;
  margin: 0 34px 10px auto;
  padding: 8px 10px;
  border-radius: 11px 11px 3px 11px;
  background: #fce8ee;
}

.rich-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d76686;
  animation: typing 1.2s infinite;
}

.rich-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.rich-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.bot-rich.selection-prompt {
  margin-left: 0;
  color: #544b4f;
  background: #f0ebed;
  border-radius: 12px 12px 12px 4px;
}

.real-response-stage {
  width: 82%;
  height: 260px;
  position: relative;
  margin: 5px 0 10px auto;
  border: 1px solid #efdee4;
  border-radius: 19px 19px 5px 19px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(84, 38, 55, 0.1);
  overflow: hidden;
}

.real-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 12px 12px;
  opacity: 0;
  transform: translateX(28px);
  animation: real-item-slide 16s ease-in-out infinite;
}

.real-item-image {
  animation-delay: 4s;
}

.real-item-album {
  animation-delay: 8s;
}

.real-item-menu {
  animation-delay: 12s;
}

.real-item-label {
  position: absolute;
  z-index: 2;
  left: 13px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pink);
  font-size: 10px;
  font-weight: 500;
}

.real-item-label::before {
  content: "✦";
  color: var(--orange);
}

.real-crop {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 13px;
  box-shadow: 0 7px 16px rgba(65, 48, 54, 0.08);
}

.real-crop img {
  position: absolute;
  width: 555px;
  max-width: none;
  height: auto;
}

.crop-text {
  width: 190px;
  height: 153px;
}

.crop-text img {
  left: -29px;
  top: -88px;
}

.crop-image {
  width: 172px;
  height: 186px;
}

.crop-image img {
  left: -29px;
  top: -244px;
}

.crop-album {
  width: 252px;
  height: 177px;
}

.crop-album img {
  left: -29px;
  top: -454px;
}

.crop-menu {
  width: 380px;
  max-width: 100%;
  height: 190px;
}

.crop-menu img {
  left: -29px;
  top: -683px;
}

.rich-media-card {
  width: 78%;
  margin: 5px 0 10px auto;
  overflow: hidden;
  border: 1px solid #efdee4;
  border-radius: 17px 17px 5px 17px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(84, 38, 55, 0.09);
}

.rich-media-image {
  height: 80px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ffcfdb, #ffd9c7);
}

.rich-media-image::before,
.rich-media-image::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.rich-media-image::before {
  left: -24px;
  top: -46px;
}

.rich-media-image::after {
  right: -25px;
  bottom: -62px;
}

.media-play {
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 15px rgba(107, 42, 63, 0.16);
  font-size: 11px;
}

.media-label {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 7px;
  color: #7b4d5c;
  font-size: 9px;
  font-weight: 500;
}

.rich-media-copy {
  padding: 9px 11px 6px;
}

.rich-media-copy small,
.rich-media-copy b {
  display: block;
}

.rich-media-copy small {
  color: var(--pink);
  font-size: 8px;
}

.rich-media-copy b {
  margin-top: 1px;
  font-size: 13px;
}

.rich-media-copy p {
  margin: 2px 0 0;
  color: #81767b;
  font-size: 9px;
}

.rich-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px 10px 9px;
}

.rich-products > span {
  display: block;
  text-align: center;
}

.rich-products small {
  display: block;
  color: #776c71;
  font-size: 7px;
}

.rich-product {
  height: 38px;
  position: relative;
  display: block;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 7px;
  background: #f8f1f3;
}

.rich-product::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 27px;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  border-radius: 4px 4px 6px 6px;
  background: currentColor;
  box-shadow: 0 4px 8px rgba(50, 28, 36, 0.12);
}

.rich-product.coral {
  color: #ec5c67;
}

.rich-product.dark {
  color: #2c292b;
}

.rich-product.cream {
  color: #fff;
  background: #eee8ea;
}

.rich-choice-label {
  margin: 0 0 6px auto;
  width: 78%;
  color: #8f8288;
  font-size: 9px;
}

.rich-choices {
  width: 78%;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.rich-choices button {
  padding: 6px 9px;
  border: 1px solid #efa9bd;
  border-radius: 999px;
  color: var(--pink);
  background: #fff;
  font-size: 9px;
}

.rich-choices .choice-primary {
  border-color: var(--pink);
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
}

.rich-chat-input {
  height: 52px;
  flex: 0 0 52px;
  margin: 0 13px 13px;
  padding: 0 9px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ebdfe3;
  border-radius: 13px;
  color: #aaa0a4;
  background: #fff;
  font-size: 11px;
}

.rich-chat-input i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-style: normal;
  font-size: 11px;
}

.rich-float {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 28px rgba(76, 34, 49, 0.16);
  animation: float 5s ease-in-out infinite;
}

.rich-float span {
  font-size: 8px;
  font-weight: 400;
}

.sticker-float {
  width: 86px;
  height: 74px;
  left: -29px;
  top: 168px;
  border: 5px solid #fff;
  border-radius: 29px 29px 29px 8px;
  background: #47c777;
  transform: rotate(-7deg);
  font-size: 13px;
  font-weight: 700;
}

.flex-float {
  width: 76px;
  height: 76px;
  right: -25px;
  bottom: 90px;
  border: 5px solid #fff;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  animation-delay: -2s;
}

.flex-float b {
  font-size: 15px;
}

.smart-flow-feature {
  background: linear-gradient(180deg, #fff9fb 0, #fff 100%);
}

.smart-flow-feature::before {
  left: auto;
  right: -250px;
  top: 150px;
  background: rgba(255, 220, 210, 0.44);
}

.smart-flow-layout {
  grid-template-columns: minmax(570px, 0.98fr) minmax(570px, 1.02fr);
  align-items: start;
}

.smart-flow-copy h2 em {
  display: inline;
}

.flow-copy-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #f0e2e7;
}

.flow-copy-no-divider {
  padding-top: 0;
  border-top: 0;
}

.flow-copy-block h3 {
  margin: 0 0 7px;
  font-size: 21px;
  font-weight: 500;
}

.flow-copy-block > p {
  margin: 0 0 14px;
  color: #675d62;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 300;
}

.flow-copy-highlight {
  padding: 20px 20px 18px;
  border-top: 0;
  border-left: 3px solid var(--pink);
  border-radius: 0 17px 17px 0;
  background: rgba(255, 240, 245, 0.72);
}

.smart-flow-list {
  grid-template-columns: 1fr;
  gap: 8px;
}

.smart-flow-list li {
  font-size: 14px;
}

.smart-flow-visual {
  position: sticky;
  top: 25px;
  padding-top: 10px;
}

.smart-flow-demo {
  width: 100%;
  max-width: 590px;
  position: relative;
  padding: 20px;
  border: 1px solid rgba(234, 25, 83, 0.11);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 65px rgba(88, 39, 57, 0.14);
}

.flow-builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid #f0e5e9;
}

.flow-builder-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
}

.flow-builder-head b,
.flow-builder-head small {
  display: block;
}

.flow-builder-head b {
  font-size: 17px;
  font-weight: 500;
}

.flow-builder-head small {
  color: #9a8e93;
  font-size: 9px;
}

.flow-active {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #348157;
  background: #eff9f3;
  font-size: 10px;
}

.flow-active i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dbe73;
  box-shadow: 0 0 0 4px #daf3e4;
}

.flow-start {
  width: 250px;
  margin: 17px auto 0;
  padding: 11px 13px;
  text-align: center;
  border: 1px solid #f0d9e1;
  border-radius: 14px;
  background: #fff8fa;
}

.flow-start span,
.flow-start b {
  display: block;
}

.flow-start span {
  color: var(--pink);
  font-size: 9px;
}

.flow-start b {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
}

.vertical-line {
  width: 1px;
  height: 15px;
  margin: auto;
  background: #efbccb;
}

.condition-node {
  width: 255px;
  margin: auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  box-shadow: 0 10px 23px rgba(234, 25, 83, 0.18);
}

.node-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
}

.condition-node small,
.condition-node b {
  display: block;
}

.condition-node small {
  color: rgba(255, 255, 255, 0.73);
  font-size: 8px;
}

.condition-node b {
  font-size: 12px;
  font-weight: 500;
}

.node-check {
  margin-left: auto;
}

.branch-lines {
  height: 21px;
  position: relative;
  margin: 0 14%;
  border-top: 1px solid #efc2ce;
}

.branch-lines::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -16px;
  width: 1px;
  height: 16px;
  background: #efc2ce;
}

.branch-lines i {
  position: absolute;
  top: 0;
  width: 1px;
  height: 21px;
  background: #efc2ce;
}

.branch-lines i:nth-child(1) {
  left: 0;
}

.branch-lines i:nth-child(2) {
  left: 50%;
}

.branch-lines i:nth-child(3) {
  right: 0;
}

.customer-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.branch-card {
  min-width: 0;
  padding: 11px 9px;
  border: 1px solid #eee1e6;
  border-radius: 13px;
  background: #fff;
  text-align: center;
  box-shadow: 0 7px 17px rgba(78, 43, 55, 0.06);
}

.branch-card span,
.branch-card b,
.branch-card small {
  display: block;
}

.branch-card span {
  width: max-content;
  margin: 0 auto 6px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 8px;
}

.branch-card b {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.branch-card small {
  margin-top: 2px;
  color: #968a8f;
  font-size: 7px;
}

.new-customer span {
  color: #c64d22;
  background: #fff0e8;
}

.returning-customer span {
  color: #1b76bd;
  background: #eaf6ff;
}

.vip-customer span {
  color: #9a6711;
  background: #fff6d9;
}

.flow-progress {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #eee1e6;
  border-radius: 15px;
  background: #fffafb;
}

.progress-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-title b {
  font-size: 11px;
  font-weight: 500;
}

.progress-title span {
  color: var(--pink);
  font-size: 9px;
}

.progress-track {
  height: 5px;
  margin: 8px 0 11px;
  overflow: hidden;
  border-radius: 99px;
  background: #eee7ea;
}

.progress-track i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--orange));
}

.data-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.data-steps span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #a0969a;
  font-size: 8px;
}

.data-steps i {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee8eb;
  font-style: normal;
  font-size: 7px;
}

.data-steps .data-done {
  color: #388259;
}

.data-steps .data-done i {
  color: #fff;
  background: #3fbc75;
}

.data-steps .data-current {
  color: var(--pink);
  font-weight: 500;
}

.data-steps .data-current i {
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
}

.flow-question {
  position: relative;
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 8px;
  margin: 10px 0 0 28px;
  padding: 11px 12px 32px;
  border-radius: 14px 14px 4px 14px;
  background: #fff0f4;
}

.question-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 10px;
  font-weight: 700;
}

.flow-question small,
.flow-question b {
  display: block;
}

.flow-question small {
  color: var(--pink);
  font-size: 8px;
}

.flow-question b {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
}

.question-options {
  position: absolute;
  left: 51px;
  bottom: 8px;
  color: var(--pink);
  font-size: 8px;
}

.flow-complete {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid #ccebd9;
  border-radius: 14px;
  background: #f0faf4;
}

.flow-complete > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #3dbb72;
}

.flow-complete b,
.flow-complete small {
  display: block;
}

.flow-complete b {
  color: #306d4a;
  font-size: 11px;
  font-weight: 500;
}

.flow-complete small {
  color: #70a186;
  font-size: 8px;
}

.flow-complete > i {
  margin-left: auto;
  color: #3a9d64;
  font-style: normal;
}

@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-3px);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes rich-message-enter {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.975);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .conversation-row.is-new {
    animation: none;
  }
  .rich-chat-body {
    transition: none;
  }
}
@keyframes format-slide {
  to {
    transform: translateX(-50%);
  }
}
@keyframes real-item-slide {
  0% {
    opacity: 0;
    transform: translateX(28px);
  }
  5%, 22% {
    opacity: 1;
    transform: none;
  }
  25%, 100% {
    opacity: 0;
    transform: translateX(-28px);
  }
}
/* Feature 04 — animated conversation and live customer data capture */
.customer-workspace {
  width: 100%;
  max-width: 680px;
  padding: 0;
  overflow: hidden;
  border-radius: 25px;
  background: #fff;
}

.workspace-bar {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border-bottom: 1px solid #efe4e8;
  background: #fff;
}

.workspace-bar > div {
  min-width: 0;
}

.workspace-bar b,
.workspace-bar small {
  display: block;
}

.workspace-bar b {
  font-size: 15px;
  font-weight: 500;
}

.workspace-bar small {
  color: #9a8e93;
  font-size: 9px;
}

.workspace-bar .flow-active {
  margin-left: auto;
  white-space: nowrap;
}

.workspace-grid {
  height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(210px, 0.87fr);
}

.flow-chat-panel {
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee4e8;
  background: #fff;
}

.flow-customer-head {
  height: 63px;
  flex: 0 0 63px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border-bottom: 1px solid #f0e8eb;
}

.customer-photo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7f6bd7, #ea1953);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 5px 12px rgba(93, 53, 98, 0.16);
}

.flow-customer-head b,
.flow-customer-head small {
  display: block;
}

.flow-customer-head b {
  font-size: 15px;
  font-weight: 500;
}

.flow-customer-head small {
  color: #978c91;
  font-size: 10px;
}

.vip-tag {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #a36b06;
  background: #fff3ca;
  font-size: 10px;
  font-weight: 500;
}

.flow-chat-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 12px 11px 18px;
  background: linear-gradient(180deg, #fff 0, #fff9fb 100%);
}

.flow-chat-body::-webkit-scrollbar {
  display: none;
}

.flow-message-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 9px;
  animation: message-in 0.34s ease both;
}

.flow-message-row.customer {
  justify-content: flex-start;
}

.flow-message-row.admin {
  justify-content: flex-end;
}

.flow-mini-avatar {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  order: 2;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 700;
}

.flow-message-bubble {
  max-width: 82%;
  padding: 9px 11px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-line;
}

.flow-message-row.customer .flow-message-bubble {
  border-radius: 11px 11px 11px 3px;
  color: #51484c;
  background: #efeaec;
}

.flow-message-row.admin .flow-message-bubble {
  border-radius: 11px 11px 3px 11px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
}

.flow-typing {
  width: max-content;
  display: flex;
  gap: 3px;
  padding: 8px 10px;
  margin-left: auto;
  border-radius: 11px 11px 3px 11px;
  background: #fce8ee;
}

.flow-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d76686;
  animation: typing 1.2s infinite;
}

.flow-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.flow-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.flow-chat-composer {
  position: relative;
  z-index: 2;
  height: 52px;
  flex: 0 0 52px;
  margin: 0 9px 9px;
  padding: 0 7px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eadfe3;
  border-radius: 11px;
  color: #8f8589;
  background: #fff;
  font-size: 12px;
  box-shadow: 0 -6px 14px rgba(77, 41, 54, 0.04);
}

.flow-chat-composer i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-style: normal;
}

.customer-data-panel {
  min-width: 0;
  padding: 14px 13px;
  background: #fcfafb;
}

.data-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid #eee5e8;
}

.data-panel-head b,
.data-panel-head small {
  display: block;
}

.data-panel-head b {
  font-size: 15px;
  font-weight: 500;
}

.data-panel-head small {
  color: #9b9094;
  font-size: 10px;
}

.data-panel-head > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--pink);
  background: #ffeaf0;
}

.customer-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 8px;
}

.customer-photo.large {
  width: 40px;
  height: 40px;
}

.customer-summary b,
.customer-summary small {
  display: block;
}

.customer-summary b {
  font-size: 14px;
  font-weight: 500;
}

.customer-summary small {
  color: #93878c;
  font-size: 10px;
}

.data-tags {
  display: flex;
  gap: 5px;
  margin-bottom: 11px;
}

.data-tags span {
  padding: 4px 7px;
  border-radius: 999px;
  color: #9b6810;
  background: #fff4cf;
  font-size: 9px;
}

.data-tags span + span {
  color: #247856;
  background: #e9f7ef;
}

.captured-field {
  margin-bottom: 8px;
  padding: 9px 10px;
  border: 1px dashed #e4dadd;
  border-radius: 11px;
  background: #fff;
  transition: border-color 0.35s, background 0.35s, transform 0.35s;
}

.captured-field > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.captured-field span {
  color: #756a6f;
  font-size: 11px;
}

.captured-field i {
  color: #30a268;
  font-size: 9px;
  font-style: normal;
  animation: message-in 0.35s ease both;
}

.captured-field p {
  min-height: 16px;
  margin: 4px 0 0;
  color: #aaa0a4;
  font-size: 11px;
  line-height: 1.45;
}

.captured-field.is-filled {
  border: 1px solid #bde7ce;
  background: #f5fcf8;
  transform: translateY(-1px);
}

.captured-field.is-filled p {
  color: #3f5548;
  font-weight: 400;
  animation: message-in 0.35s ease both;
}

.tax-field p {
  min-height: 42px;
}

.capture-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px;
  border-radius: 11px;
  background: #fff0f4;
}

.capture-status > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-size: 11px;
}

.capture-status b,
.capture-status small {
  display: block;
}

.capture-status b {
  color: #a42b4d;
  font-size: 11px;
  font-weight: 500;
}

.capture-status small {
  color: #b9788b;
  font-size: 9px;
}

.capture-status.complete {
  background: #eaf8f0;
}

.capture-status.complete > span {
  background: #35ae6a;
}

.capture-status.complete b {
  color: #267a4e;
}

.capture-status.complete small {
  color: #6c987e;
}

/* Feature 05 — automated follow-up journey */
.followup-feature {
  background: linear-gradient(180deg, #fff 0, #fff7fa 100%);
}

.followup-feature::before {
  left: -260px;
  top: 120px;
  background: rgba(255, 216, 228, 0.55);
}

.followup-layout {
  grid-template-columns: minmax(570px, 1.04fr) minmax(500px, 0.96fr);
  align-items: center;
}

.followup-copy h2 em {
  display: inline;
}

.followup-list {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

.followup-list li {
  font-size: 15px;
}

.followup-highlight {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #f4c5d2;
  border-radius: 17px;
  background: linear-gradient(135deg, #fff3f7, #fff9f4);
  box-shadow: 0 12px 26px rgba(109, 40, 63, 0.06);
}

.followup-highlight > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 17px;
}

.followup-highlight p {
  margin: 0;
  color: #6a5960;
  font-size: 15px;
  line-height: 1.55;
}

.followup-highlight b {
  color: var(--pink);
  font-size: 20px;
  font-weight: 600;
}

.followup-demo {
  width: 100%;
  max-width: 650px;
  overflow: hidden;
  border: 1px solid rgba(234, 25, 83, 0.12);
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(88, 39, 57, 0.14);
}

.followup-topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #eee4e8;
}

.followup-topbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.followup-topbar b,
.followup-topbar small {
  display: block;
}

.followup-topbar b {
  font-size: 16px;
  font-weight: 500;
}

.followup-topbar small {
  color: #978b90;
  font-size: 10px;
}

.followup-running {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #247b4d;
  background: #eaf8f0;
  font-size: 10px;
  white-space: nowrap;
}

.followup-running i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38b66c;
  box-shadow: 0 0 0 4px #d4f1e0;
}

.followup-customer {
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #f0e7ea;
  background: #fffafb;
}

.followup-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.followup-person > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7d6bd7, var(--pink));
  font-weight: 600;
}

.followup-person b,
.followup-person small {
  display: block;
}

.followup-person b {
  font-size: 14px;
  font-weight: 500;
}

.followup-person small {
  color: #968b90;
  font-size: 10px;
}

.lead-status {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
  transition: 0.3s;
}

.lead-status.warm {
  color: #b16a12;
  background: #fff2d8;
}

.lead-status.won {
  color: #23764a;
  background: #e6f7ed;
}

.followup-content {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(190px, 0.85fr);
}

.followup-chat {
  min-width: 0;
  position: relative;
  padding: 18px 15px;
  border-right: 1px solid #eee5e8;
  background: linear-gradient(180deg, #fff, #fff9fb);
}

.followup-date {
  width: max-content;
  margin: 0 auto 18px;
  padding: 4px 9px;
  border-radius: 9px;
  color: #a1979b;
  background: #f4eef0;
  font-size: 9px;
}

.followup-bubble {
  max-width: 85%;
  margin-bottom: 13px;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.5;
  animation: message-in 0.34s ease both;
}

.followup-bubble.customer {
  width: max-content;
  color: #50474b;
  background: #ece7e9;
  border-radius: 13px 13px 13px 4px;
}

.followup-bubble.bot {
  margin-left: auto;
  color: #4d3e44;
  background: #fff0f4;
  border-radius: 13px 13px 4px 13px;
}

.followup-bubble.bot span {
  display: block;
  margin-bottom: 4px;
  color: var(--pink);
  font-size: 9px;
  font-weight: 500;
}

.followup-success {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 0 auto;
  width: max-content;
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid #bfe5ce;
  border-radius: 13px;
  background: #eefaf3;
  animation: message-in 0.35s ease both;
}

.followup-success > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #37af69;
}

.followup-success b,
.followup-success small {
  display: block;
}

.followup-success b {
  color: #267a4e;
  font-size: 11px;
  font-weight: 500;
}

.followup-success small {
  color: #6a987d;
  font-size: 9px;
}

.followup-typing {
  width: max-content;
  display: flex;
  gap: 3px;
  margin: 4px 0 0 auto;
  padding: 8px 10px;
  border-radius: 12px 12px 4px 12px;
  background: #f9e4ea;
}

.followup-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cf6684;
  animation: typing 1.2s infinite;
}

.followup-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.followup-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.followup-rule {
  padding: 20px 14px;
  background: #fcfafb;
}

.rule-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee5e8;
}

.rule-title > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--pink);
  background: #ffe8ef;
}

.rule-title b,
.rule-title small {
  display: block;
}

.rule-title b {
  font-size: 13px;
  font-weight: 500;
}

.rule-title small {
  color: #988c91;
  font-size: 9px;
}

.rule-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  padding: 13px 3px;
  opacity: 0.48;
  transition: 0.35s;
}

.rule-step > i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #8f8589;
  background: #eee9eb;
  font-style: normal;
  font-size: 10px;
}

.rule-step b,
.rule-step small {
  display: block;
}

.rule-step b {
  font-size: 11px;
  font-weight: 500;
}

.rule-step small {
  color: #998e92;
  font-size: 8px;
  line-height: 1.4;
}

.rule-step.active,
.rule-step.complete {
  opacity: 1;
}

.rule-step.active > i {
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  box-shadow: 0 5px 12px rgba(234, 25, 83, 0.2);
}

.rule-step.complete > i {
  color: #fff;
  background: #38ae6a;
}

.rule-line {
  display: block;
  width: 1px;
  height: 16px;
  margin: -5px 0 -5px 16px;
  background: #e5d9dd;
}

/* Feature 06 — automatic customer segmentation */
.segment-feature {
  background: linear-gradient(180deg, #fff 0, #fff9f5 100%);
}

.segment-feature::before {
  right: -250px;
  top: 90px;
  background: rgba(255, 224, 210, 0.52);
}

.segment-layout {
  grid-template-columns: minmax(500px, 0.94fr) minmax(580px, 1.06fr);
  align-items: center;
}

.segment-copy h2 em {
  display: block;
}

.segment-list {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

.segment-list li {
  font-size: 15px;
}

.segment-highlight {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #f4c5d2;
  border-radius: 17px;
  background: linear-gradient(135deg, #fff3f7, #fff9f4);
  box-shadow: 0 12px 26px rgba(109, 40, 63, 0.06);
}

.segment-highlight > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 17px;
}

.segment-highlight p {
  margin: 0;
  color: #6a5960;
  font-size: 15px;
  line-height: 1.55;
}

.segment-highlight b {
  color: var(--pink);
  font-size: 20px;
  font-weight: 600;
}

.segment-demo {
  width: 100%;
  max-width: 680px;
  overflow: hidden;
  border: 1px solid rgba(234, 25, 83, 0.12);
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(88, 39, 57, 0.14);
}

.segment-topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #eee4e8;
}

.segment-topbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.segment-topbar b,
.segment-topbar small {
  display: block;
}

.segment-topbar b {
  font-size: 16px;
  font-weight: 500;
}

.segment-topbar small {
  color: #978b90;
  font-size: 10px;
}

.segment-live {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #247b4d;
  background: #eaf8f0;
  font-size: 10px;
}

.segment-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38b66c;
  box-shadow: 0 0 0 4px #d4f1e0;
}

.segment-grid {
  height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(245px, 0.95fr);
}

.segment-chat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee5e8;
  background: linear-gradient(180deg, #fff, #fff9fb);
}

.segment-person {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid #f0e7ea;
  background: #fff;
}

.segment-person > span,
.segment-profile > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7269d5, var(--pink));
  font-weight: 600;
}

.segment-person b,
.segment-person small,
.segment-profile b,
.segment-profile small {
  display: block;
}

.segment-person b {
  font-size: 14px;
  font-weight: 500;
}

.segment-person small,
.segment-profile small {
  color: #968b90;
  font-size: 10px;
}

.segment-messages {
  flex: 1;
  min-height: 0;
  padding: 18px 14px;
}

.segment-bubble {
  max-width: 88%;
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.5;
  animation: message-in 0.34s ease both;
}

.segment-bubble.customer {
  width: max-content;
  border-radius: 13px 13px 13px 4px;
  color: #50474b;
  background: #ece7e9;
}

.segment-bubble.bot {
  margin-left: auto;
  border-radius: 13px 13px 4px 13px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
}

.segment-composer {
  height: 48px;
  flex: 0 0 48px;
  margin: 0 10px 10px;
  padding: 0 8px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eadfe3;
  border-radius: 11px;
  color: #908589;
  background: #fff;
  font-size: 11px;
}

.segment-composer i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-style: normal;
}

.segment-panel {
  padding: 16px 14px;
  background: #fcfafb;
}

.segment-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid #eee5e8;
}

.segment-panel-title b,
.segment-panel-title small {
  display: block;
}

.segment-panel-title b {
  font-size: 14px;
  font-weight: 500;
}

.segment-panel-title small {
  color: #978b90;
  font-size: 9px;
}

.segment-panel-title > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--pink);
  background: #ffe9ef;
}

.segment-profile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 0;
}

.segment-profile > span {
  width: 36px;
  height: 36px;
}

.segment-profile b {
  font-size: 13px;
  font-weight: 500;
}

.auto-tags > small,
.segment-destinations > small {
  display: block;
  margin-bottom: 7px;
  color: #8e8287;
  font-size: 9px;
}

.auto-tags > div {
  min-height: 60px;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 5px;
}

.auto-tags span {
  opacity: 0;
  transform: translateY(5px);
  padding: 5px 7px;
  border-radius: 999px;
  color: #a05a18;
  background: #fff0d9;
  font-size: 9px;
  transition: 0.35s;
}

.auto-tags span.show {
  opacity: 1;
  transform: none;
}

.auto-tags span:nth-child(2) {
  color: #a72d51;
  background: #ffe7ee;
}

.auto-tags span:nth-child(3) {
  color: #256f9c;
  background: #e7f3fb;
}

.auto-tags span:nth-child(4) {
  color: #247856;
  background: #e7f6ed;
}

.segment-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;
  padding: 10px;
  border: 1px dashed #e4d9dd;
  border-radius: 12px;
  background: #fff;
  transition: 0.35s;
}

.segment-group > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #a0999c;
  background: #eee9eb;
}

.segment-group small,
.segment-group b {
  display: block;
}

.segment-group small {
  color: #998e92;
  font-size: 8px;
}

.segment-group b {
  margin-top: 2px;
  color: #aaa0a4;
  font-size: 10px;
  font-weight: 500;
}

.segment-group.ready {
  border-style: solid;
  border-color: #bde7ce;
  background: #f1faf5;
}

.segment-group.ready > span {
  color: #fff;
  background: #38ae6a;
}

.segment-group.ready b {
  color: #31734d;
}

.segment-destinations > div {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  padding: 7px 8px;
  border-radius: 9px;
  background: #fff;
  opacity: 0.52;
  transition: 0.35s;
}

.segment-destinations > div.active {
  opacity: 1;
  box-shadow: 0 5px 14px rgba(83, 48, 60, 0.06);
}

.segment-destinations span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #8a7be0;
  font-size: 9px;
  font-weight: 600;
}

.segment-destinations div:nth-of-type(2) span {
  background: #1877f2;
}

.segment-destinations div:nth-of-type(3) span {
  background: #36bd55;
  font-size: 6px;
}

.segment-destinations b {
  font-size: 9px;
  font-weight: 500;
}

.segment-destinations i {
  color: #999;
  font-size: 8px;
  font-style: normal;
}

.segment-destinations .active i {
  color: #2e9c60;
}

/* Core feature 7 destination icons: equal optical size and stroke weight. */
.segment-destinations .destination-icon {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #fff;
  color: initial;
  font-size: initial;
  overflow: hidden;
}

.segment-destinations .destination-icon img {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.segment-destinations .destination-broadcast::before {
  content: "";
  width: 21px;
  height: 21px;
  background: #ea1953;
  mask: url("/img/chatbot/assets/feature7/broadcast.png") center/contain no-repeat;
  -webkit-mask: url("/img/chatbot/assets/feature7/broadcast.png") center/contain no-repeat;
}

.segment-destinations .destination-line {
  color: #06c755;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.7px;
}

.segment-destinations > div:nth-of-type(2) .destination-meta,
.segment-destinations > div:nth-of-type(3) .destination-line {
  background: #fff;
}

/* Feature 07 — two-scene segmentation to broadcast story */
.segment-scene {
  animation: segment-scene-in 0.42s ease both;
}

.segment-messages {
  overflow-y: auto;
  scrollbar-width: none;
}

.segment-messages::-webkit-scrollbar {
  display: none;
}

.segment-shirt-album {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 14px auto;
  max-width: 88%;
  animation: message-in 0.34s ease both;
}

.segment-shirt-album img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border: 1px solid #eee3e7;
  border-radius: 9px;
  background: #fff;
}

.show-chat .auto-tags > div {
  min-height: 92px;
}

.show-chat .auto-tags span:nth-child(1) {
  color: #a72d51;
  background: #ffe7ee;
}

.show-chat .auto-tags span:nth-child(2) {
  color: #247856;
  background: #e7f6ed;
}

.broadcast-scene {
  height: 578px;
  display: flex;
  flex-direction: column;
  background: #fcfafb;
}

.broadcast-head {
  height: 68px;
  flex: 0 0 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #eee4e8;
  background: #fff;
}

.broadcast-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.broadcast-head b,
.broadcast-head small {
  display: block;
}

.broadcast-head b {
  font-size: 16px;
  font-weight: 500;
}

.broadcast-head small {
  color: #978b90;
  font-size: 10px;
}

.broadcast-draft {
  padding: 7px 10px;
  border-radius: 999px;
  color: #6f6469;
  background: #f2edef;
  font-size: 10px;
}

.broadcast-body {
  flex: 1;
  padding: 20px;
  overflow: hidden;
}

.broadcast-section {
  margin-bottom: 17px;
}

.broadcast-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}

.broadcast-section-title > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 11px;
  font-weight: 600;
}

.broadcast-section-title b,
.broadcast-section-title small {
  display: block;
}

.broadcast-section-title b {
  font-size: 13px;
  font-weight: 500;
}

.broadcast-section-title small {
  color: #9a8f93;
  font-size: 9px;
}

.broadcast-target-box,
.broadcast-message-box {
  padding: 13px 14px;
  border: 1px solid #eadfe3;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(78, 43, 55, 0.04);
}

.broadcast-target-box > small,
.broadcast-message-box > span {
  display: block;
  margin-bottom: 8px;
  color: #8d8186;
  font-size: 9px;
}

.broadcast-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.broadcast-tags span {
  padding: 7px 9px;
  border-radius: 999px;
  color: #a72d51;
  background: #ffe7ee;
  font-size: 10px;
  animation: message-in 0.35s ease both;
}

.broadcast-tags i {
  margin-left: 4px;
  font-style: normal;
}

.broadcast-target-box p {
  margin: 9px 0 0;
  color: #388259;
  font-size: 9px;
}

.broadcast-message-box p {
  min-height: 58px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #eee5e8;
  border-radius: 9px;
  color: #51484c;
  background: #fffafb;
  font-size: 12px;
  line-height: 1.55;
}

.broadcast-message-box > small {
  display: block;
  margin-top: 6px;
  color: #aaa0a4;
  text-align: right;
  font-size: 8px;
}

.typing-caret {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin-left: 2px;
  vertical-align: -2px;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  animation: caret-blink 0.8s steps(1) infinite;
}

.broadcast-footer {
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 18px;
  border-top: 1px solid #eee4e8;
  background: #fff;
}

.broadcast-footer button {
  padding: 8px 13px;
  border: 1px solid #eadfe3;
  border-radius: 9px;
  color: #665c61;
  background: #fff;
  font: inherit;
  font-size: 10px;
}

.broadcast-footer .primary {
  border-color: var(--pink);
  color: #fff;
  background: var(--pink);
}

@keyframes segment-scene-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}
@media (max-width: 1180px) {
  .site-header {
    width: calc(100% - 40px);
  }
  nav {
    gap: 20px;
  }
  .hero {
    grid-template-columns: 0.85fr 1.15fr;
    padding-inline: 35px;
    gap: 28px;
  }
  .chat-window {
    width: min(500px, 95%);
  }
}
@media (max-width: 1180px) {
  .feature-layout {
    gap: 36px;
    grid-template-columns: minmax(470px, 1fr) minmax(500px, 1fr);
  }
  .feature-list {
    gap: 10px 14px;
  }
  .feature-demo {
    transform: scale(0.9);
  }
}
@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  nav {
    display: none;
  }
  .hero {
    max-height: none;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 65px 24px 35px;
  }
  .hero-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .lead {
    max-width: 620px;
  }
  .hero-visual {
    width: 100%;
    max-width: 660px;
    margin: 5px auto 0;
    height: 650px;
  }
  .platform-list > div {
    justify-content: center;
  }
  .chat-step {
    text-align: left;
  }
  .core-feature {
    padding: 85px 30px 95px;
  }
  .section-intro {
    margin-bottom: 28px;
  }
  .feature-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .feature-visual {
    order: 1;
  }
  .feature-copy {
    order: 2;
  }
  .feature-demo {
    width: min(600px, 100%);
    transform: none;
  }
  .feature-copy {
    text-align: left;
  }
  .feature-copy h2 br {
    display: none;
  }
  .keyword-copy {
    order: 1;
  }
  .keyword-visual {
    order: 2;
    margin-top: 10px;
  }
  .keyword-demo {
    margin: 0 auto;
  }
  .rich-response-demo {
    margin: 0 auto;
  }
  .rich-copy h2 em {
    margin-left: 8px;
  }
  .smart-flow-copy {
    order: 1;
  }
  .smart-flow-visual {
    order: 2;
    position: static;
    margin-top: 10px;
  }
  .smart-flow-demo {
    margin: 0 auto;
  }
  .customer-workspace {
    width: min(680px, 100%);
  }
}
@media (max-width: 620px) {
  .site-header {
    height: 72px;
    width: calc(100% - 28px);
  }
  .header-actions .login {
    display: none;
  }
  .button-small {
    padding: 9px 13px;
  }
  .hero {
    padding-top: 46px;
  }
  h1 {
    font-size: 47px;
    letter-spacing: -1.5px;
  }
  .lead {
    font-size: 15px;
    line-height: 1.75;
  }
  .cta-row {
    width: 100%;
    flex-direction: column;
  }
  .cta-row .button {
    width: 100%;
  }
  .benefits {
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px 16px;
  }
  .hero-visual {
    height: 575px;
    margin-top: 20px;
  }
  .chat-window {
    width: 100%;
    height: 550px;
    border-radius: 22px;
  }
  .chat-topbar {
    height: 64px;
    flex-basis: 64px;
  }
  .chat-messages {
    padding-inline: 12px;
  }
  .live-badge {
    right: -6px;
    top: -13px;
  }
  .catalog-row {
    gap: 3px;
  }
  .shirt {
    height: 54px;
  }
  .core-feature {
    padding: 64px 18px 76px;
  }
  .section-intro {
    margin-bottom: 22px;
  }
  .feature-demo {
    height: 500px;
    transform: scale(0.72);
    transform-origin: center center;
    margin: -65px 0;
  }
  .feature-copy h2 {
    font-size: 37px;
    letter-spacing: -1px;
  }
  .feature-copy > h3 {
    font-size: 20px;
  }
  .feature-lead {
    font-size: 16px;
  }
  .feature-list,
  .handoff-panel ul {
    grid-template-columns: 1fr;
  }
  .feature-list li,
  .handoff-panel li {
    font-size: 15px;
  }
  .handoff-panel {
    padding: 18px;
  }
  .handoff-title h3 {
    font-size: 19px;
  }
  .keyword-example-copy > div {
    display: grid;
  }
  .keyword-demo {
    padding: 15px;
    border-radius: 20px;
  }
  .keyword-topline b {
    font-size: 14px;
  }
  .detection-live {
    font-size: 9px;
  }
  .keyword-message {
    grid-template-columns: 30px 1fr auto;
    padding: 11px 10px;
    gap: 8px;
  }
  .keyword-message.strong {
    transform: none;
  }
  .keyword-message p {
    font-size: 14px;
  }
  .keyword-path {
    gap: 42px;
  }
  .intent-result {
    padding: 12px;
  }
  .intent-result > div:nth-child(2) b {
    font-size: 14px;
  }
  .confidence {
    padding-left: 8px;
  }
  .answer-preview {
    margin-left: 15px;
  }
  .rich-response-demo {
    height: 650px;
    width: calc(100% - 20px);
  }
  .conversation-avatar {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .rich-chat-body {
    padding-inline: 11px;
  }
  .response-album,
  .admin-answer-group {
    max-width: 86%;
  }
  .rich-copy h2 em {
    display: block;
    margin-left: 0;
  }
  .response-format-list {
    grid-template-columns: 1fr 1fr;
  }
  .rich-choice-copy {
    padding: 18px;
  }
  .rich-choice-copy h3 {
    font-size: 19px;
  }
  .smart-flow-demo {
    padding: 14px;
    border-radius: 20px;
  }
  .flow-builder-head b {
    font-size: 14px;
  }
  .flow-start,
  .condition-node {
    width: 220px;
  }
  .customer-branches {
    gap: 4px;
  }
  .branch-card {
    padding: 9px 4px;
  }
  .branch-card b {
    font-size: 8px;
  }
  .data-steps span {
    font-size: 7px;
  }
  .flow-question {
    margin-left: 8px;
  }
  .flow-copy-highlight {
    padding: 18px;
  }
  .smart-flow-list li {
    font-size: 14px;
  }
  .customer-workspace {
    height: auto;
    padding: 0;
    transform: none;
    margin: 0;
    width: 100%;
  }
  .workspace-bar {
    height: 58px;
    padding-inline: 12px;
  }
  .workspace-grid {
    height: auto;
    grid-template-columns: 1fr;
  }
  .flow-chat-panel {
    height: 500px;
    border-right: 0;
    border-bottom: 1px solid #eee4e8;
  }
  .customer-data-panel {
    padding: 14px;
  }
  .captured-field p {
    font-size: 10px;
  }
  .capture-status {
    margin-bottom: 2px;
  }
}
@media (max-width: 900px) {
  .followup-visual {
    order: 1;
  }
  .followup-copy {
    order: 2;
  }
  .followup-demo {
    margin: 0 auto;
  }
}
@media (max-width: 620px) {
  .followup-demo {
    border-radius: 20px;
  }
  .followup-topbar {
    height: 60px;
    padding-inline: 12px;
  }
  .followup-topbar b {
    font-size: 13px;
  }
  .followup-running {
    padding: 6px 8px;
    font-size: 8px;
  }
  .followup-customer {
    padding-inline: 12px;
  }
  .followup-content {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .followup-chat {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid #eee5e8;
  }
  .followup-rule {
    padding: 15px;
  }
  .followup-highlight b {
    font-size: 18px;
  }
}
@media (max-width: 900px) {
  .segment-copy {
    order: 2;
  }
  .segment-visual {
    order: 1;
  }
  .segment-demo {
    margin: 0 auto;
  }
}
@media (max-width: 620px) {
  .segment-demo {
    border-radius: 20px;
  }
  .segment-topbar {
    height: 60px;
    padding-inline: 12px;
  }
  .segment-topbar b {
    font-size: 13px;
  }
  .segment-live {
    padding: 6px 8px;
    font-size: 8px;
  }
  .segment-grid {
    height: auto;
    grid-template-columns: 1fr;
  }
  .segment-chat {
    min-height: 470px;
    border-right: 0;
    border-bottom: 1px solid #eee5e8;
  }
  .segment-panel {
    padding: 15px;
  }
  .segment-copy h2 em {
    display: inline;
    margin-left: 6px;
  }
  .segment-highlight b {
    font-size: 18px;
  }
  .segment-shirt-album img {
    height: 58px;
  }
  .broadcast-scene {
    height: auto;
    min-height: 540px;
  }
  .broadcast-head {
    height: 60px;
    flex-basis: 60px;
    padding-inline: 12px;
  }
  .broadcast-head b {
    font-size: 13px;
  }
  .broadcast-body {
    padding: 16px 12px;
  }
  .broadcast-section-title small {
    font-size: 8px;
  }
  .broadcast-message-box p {
    min-height: 78px;
  }
  .broadcast-footer {
    padding-inline: 12px;
  }
}
/* Feature 07 — welcome message + ref link */
.entry-feature {
  background: linear-gradient(180deg, #fff 0, #fff7fa 100%);
}

.entry-feature::before {
  left: -250px;
  top: 110px;
  background: rgba(255, 216, 228, 0.5);
}

.entry-layout {
  grid-template-columns: minmax(590px, 1.06fr) minmax(490px, 0.94fr);
  align-items: center;
}

.entry-copy h2 em {
  display: block;
}

.entry-list {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 23px;
}

.entry-list li {
  font-size: 15px;
}

.entry-highlight {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 27px;
  padding: 18px 20px;
  border: 1px solid #f4c5d2;
  border-radius: 17px;
  background: linear-gradient(135deg, #fff3f7, #fff9f4);
  box-shadow: 0 12px 26px rgba(109, 40, 63, 0.06);
}

.entry-highlight > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 17px;
}

.entry-highlight p {
  margin: 0;
  color: #6a5960;
  font-size: 15px;
  line-height: 1.55;
}

.entry-highlight b {
  color: var(--pink);
  font-size: 20px;
  font-weight: 600;
}

.entry-demo {
  width: 100%;
  max-width: 690px;
  overflow: hidden;
  border: 1px solid rgba(234, 25, 83, 0.12);
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(88, 39, 57, 0.14);
}

.entry-topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #eee4e8;
}

.entry-topbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.entry-topbar b,
.entry-topbar small {
  display: block;
}

.entry-topbar b {
  font-size: 16px;
  font-weight: 500;
}

.entry-topbar small {
  color: #978b90;
  font-size: 10px;
}

.entry-live {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #247b4d;
  background: #eaf8f0;
  font-size: 10px;
}

.entry-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38b66c;
  box-shadow: 0 0 0 4px #d4f1e0;
}

.entry-grid {
  height: 510px;
  display: grid;
  grid-template-columns: minmax(205px, 0.78fr) minmax(0, 1.22fr);
  grid-template-rows: 1fr;
}

.entry-sources {
  padding: 17px 13px;
  border-right: 1px solid #eee5e8;
  background: #fcfafb;
}

.entry-sources > small {
  display: block;
  margin: 0 4px 10px;
  color: #8f8388;
  font-size: 9px;
}

.entry-sources > div:not(.entry-route) {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #eee5e8;
  border-radius: 12px;
  background: #fff;
  opacity: 0.48;
  transition: 0.35s;
}

.entry-sources > div.active {
  opacity: 1;
  border-color: #f1b7c7;
  box-shadow: 0 7px 16px rgba(94, 44, 61, 0.07);
  transform: translateX(2px);
}

.entry-sources div > span {
  grid-row: 1/3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 9px;
  font-weight: 600;
}

.entry-sources div:nth-of-type(2) > span {
  background: #1877f2;
}

.entry-sources div:nth-of-type(3) > span {
  background: #35ba55;
  font-size: 15px;
}

.entry-sources b,
.entry-sources i {
  display: block;
}

.entry-sources b {
  font-size: 10px;
  font-weight: 500;
}

.entry-sources i {
  color: #9a8f93;
  font-size: 8px;
  font-style: normal;
}

.entry-route {
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed #e2d5da;
  border-radius: 12px;
  background: #fff6f8;
}

.entry-route span {
  display: block !important;
  width: auto !important;
  height: auto !important;
  color: #a84d69 !important;
  background: none !important;
  font-size: 8px !important;
  font-weight: 400 !important;
}

.entry-route b {
  display: block;
  margin-top: 4px;
  color: var(--pink);
  font-size: 10px;
  line-height: 1.4;
}

.entry-chat {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fff9fb);
}

.entry-person {
  height: 66px;
  flex: 0 0 66px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border-bottom: 1px solid #f0e7ea;
  background: #fff;
}

.entry-person > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7468d2, var(--pink));
  font-weight: 600;
}

.entry-person b,
.entry-person small {
  display: block;
}

.entry-person b {
  font-size: 14px;
  font-weight: 500;
}

.entry-person small {
  color: #968b90;
  font-size: 9px;
}

.entry-person em {
  padding: 5px 7px;
  border-radius: 999px;
  color: #a66313;
  background: #fff1d7;
  font-size: 8px;
  font-style: normal;
  white-space: nowrap;
}

.entry-messages {
  flex: 1;
  min-height: 0;
  padding: 18px 14px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.entry-bubble {
  width: max-content;
  max-width: 88%;
  margin-bottom: 13px;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.5;
  animation: message-in 0.34s ease both;
}

.entry-bubble.customer {
  color: #50474b;
  background: #ece7e9;
  border-radius: 13px 13px 13px 4px;
}

.entry-bubble.bot {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  border-radius: 13px 13px 4px 13px;
}

.entry-context {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px auto;
  width: max-content;
  max-width: 90%;
  padding: 9px 11px;
  border: 1px solid #f4c0ce;
  border-radius: 11px;
  background: #fff4f7;
  animation: message-in 0.35s ease both;
}

.entry-context > span {
  color: var(--pink);
}

.entry-context small,
.entry-context b {
  display: block;
}

.entry-context small {
  color: #a77b89;
  font-size: 8px;
}

.entry-context b {
  color: #a52d50;
  font-size: 10px;
  font-weight: 500;
}

.entry-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
  margin: -5px 0 12px;
}

.entry-actions span {
  padding: 6px 8px;
  border: 1px solid #efacc0;
  border-radius: 999px;
  color: var(--pink);
  background: #fff;
  font-size: 9px;
}

.entry-flow-ready {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0 0 auto;
  width: max-content;
  max-width: 92%;
  padding: 10px 12px;
  border: 1px solid #bde5cc;
  border-radius: 12px;
  background: #eefaf3;
  animation: message-in 0.35s ease both;
}

.entry-flow-ready > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #36ae69;
}

.entry-flow-ready b,
.entry-flow-ready small {
  display: block;
}

.entry-flow-ready b {
  color: #26784d;
  font-size: 10px;
  font-weight: 500;
}

.entry-flow-ready small {
  color: #719581;
  font-size: 8px;
}

.entry-composer {
  height: 48px;
  flex: 0 0 48px;
  margin: 0 10px 10px;
  padding: 0 8px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eadfe3;
  border-radius: 11px;
  color: #908589;
  background: #fff;
  font-size: 11px;
}

.entry-composer i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-style: normal;
}

@media (max-width: 900px) {
  .entry-visual {
    order: 1;
  }
  .entry-copy {
    order: 2;
  }
  .entry-demo {
    margin: 0 auto;
  }
}
@media (max-width: 620px) {
  .entry-demo {
    border-radius: 20px;
  }
  .entry-topbar {
    height: 60px;
    padding-inline: 12px;
  }
  .entry-topbar b {
    font-size: 13px;
  }
  .entry-live {
    padding: 6px 8px;
    font-size: 8px;
  }
  .entry-grid {
    height: auto;
    grid-template-columns: 1fr;
  }
  .entry-sources {
    border-right: 0;
    border-bottom: 1px solid #eee5e8;
  }
  .entry-sources > div:not(.entry-route) {
    display: inline-grid;
    width: calc(33.333% - 6px);
    margin-right: 4px;
    padding: 8px;
    grid-template-columns: 27px 1fr;
    column-gap: 5px;
    vertical-align: top;
  }
  .entry-sources div > span {
    width: 27px;
    height: 27px;
  }
  .entry-route {
    margin-top: 7px;
  }
  .entry-chat {
    height: 440px;
  }
  .entry-copy h2 em {
    display: inline;
    margin-left: 6px;
  }
  .entry-highlight b {
    font-size: 18px;
  }
}
.entry-origin-card {
  margin: 0 auto 13px;
  padding: 10px 12px;
  border: 1px solid #ebe3e6;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(72, 43, 53, 0.07);
  animation: message-in 0.34s ease both;
}

.entry-origin-card > small {
  display: block;
  margin-bottom: 7px;
  color: #81757a;
  font-size: 9px;
}

.entry-origin-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border-radius: 10px;
  background: #f6f3f4;
}

.entry-origin-card img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  object-fit: cover;
}

.entry-origin-card b {
  font-size: 11px;
  font-weight: 500;
}

.post-origin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff9fb;
}

.post-origin > small {
  margin: 0;
}

.post-origin > b {
  color: var(--pink);
  font-size: 9px;
}

.entry-size-options {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin: -4px 0 13px;
  animation: message-in 0.34s ease both;
}

.entry-size-options button {
  padding: 7px 11px;
  border: 1px solid #efacc0;
  border-radius: 999px;
  color: var(--pink);
  background: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
}

.entry-shirt-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 12px auto;
  animation: message-in 0.34s ease both;
}

.entry-shirt-gallery .product-card {
  min-width: 0;
  display: block;
  padding: 6px;
  border: 1px solid #eee3e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(74, 42, 53, 0.07);
}

.entry-shirt-gallery .product-image {
  width: 100%;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.entry-shirt-gallery .product-card > div {
  padding: 5px 1px 1px;
  text-align: center;
}

.entry-shirt-gallery .product-card b {
  font-size: 9px;
  white-space: nowrap;
}

.entry-shirt-gallery .product-card small {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .real-item-text {
    opacity: 1;
    transform: none;
  }
}
/* Keep Core Feature 7 chat content inside its frame and its composer pinned. */
.show-chat .segment-chat {
  min-height: 0;
  overflow: hidden;
}

.show-chat .segment-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.show-chat .segment-composer {
  position: relative;
  z-index: 2;
  flex: 0 0 48px;
  background: #fff;
  box-shadow: 0 -7px 16px rgba(77, 41, 54, 0.05);
}

@media (max-width: 620px) {
  .show-chat .segment-grid {
    height: 650px;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 470px) 180px;
  }
  .show-chat .segment-chat {
    height: 470px;
    min-height: 0;
  }
  .show-chat .segment-panel {
    min-height: 0;
    overflow: hidden;
  }
}
/* Responsive hardening — reflow the page instead of shrinking desktop frames */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

.feature-layout,
.feature-copy,
.feature-visual,
.sales-platform,
.business-use-cases,
.customer-use-cases {
  min-width: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }
  .hero-copy {
    width: 100%;
  }
  .feature-layout,
  .entry-layout,
  .keyword-layout,
  .rich-layout,
  .smart-flow-layout,
  .followup-layout,
  .segment-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-demo,
  .entry-demo,
  .keyword-demo,
  .rich-response-demo,
  .smart-flow-demo,
  .followup-demo,
  .segment-demo {
    max-width: 100%;
    transform: none;
  }
  .feature-visual {
    min-width: 0;
    width: 100%;
    overflow: visible;
  }
  .use-case-tabs {
    width: 100%;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 32px);
    gap: 12px;
  }
  .brand {
    font-size: 23px;
    letter-spacing: -1px;
  }
  .button-small {
    white-space: nowrap;
    font-size: 12px;
  }
  .hero {
    padding: 38px 16px 42px;
    gap: 18px;
  }
  h1 {
    font-size: clamp(38px, 11.5vw, 47px);
    line-height: 1.16;
    letter-spacing: -1.25px;
  }
  .eyebrow {
    margin-bottom: 17px;
    font-size: 11px;
  }
  .lead {
    margin: 20px 0 23px;
    font-size: 14px;
    line-height: 1.7;
  }
  .benefits {
    margin: 19px 0 29px;
    font-size: 11px;
  }
  .hero-visual {
    height: 535px;
    max-width: 100%;
    margin-top: 16px;
  }
  .chat-glow {
    width: 125vw;
    height: 125vw;
  }
  .chat-window {
    height: 520px;
    transform: none;
  }
  .chat-topbar {
    padding-inline: 14px;
  }
  .chat-person b {
    font-size: 15px;
  }
  .step-content {
    max-width: 91%;
  }
  .chat-bubble,
  .action-bubble {
    font-size: 11px;
    padding: 8px 10px;
  }
  .catalog-row {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .catalog-row .product-card {
    min-width: 112px;
  }
  .live-badge {
    right: 4px;
    top: -14px;
    max-width: calc(100% - 8px);
    font-size: 9px;
  }
  .core-feature {
    padding: 60px 16px 70px;
  }
  .feature-layout {
    gap: 30px;
  }
  .feature-demo {
    width: 100%;
    height: auto;
    min-height: 500px;
    margin: 0;
    transform: none;
  }
  .feature-copy h2 {
    font-size: clamp(31px, 9.5vw, 37px);
    line-height: 1.2;
  }
  .feature-copy > h3 {
    font-size: 18px;
    line-height: 1.45;
  }
  .feature-lead {
    font-size: 14px;
    line-height: 1.72;
  }
  .feature-list li,
  .handoff-panel li {
    font-size: 13px;
    line-height: 1.58;
  }
  .entry-highlight,
  .followup-highlight,
  .segment-highlight {
    padding: 15px;
    gap: 11px;
  }
  .entry-highlight p,
  .followup-highlight p,
  .segment-highlight p {
    font-size: 13px;
  }
  .entry-highlight b,
  .followup-highlight b,
  .segment-highlight b {
    font-size: 16px;
  }
  .entry-demo {
    height: 560px;
    min-height: 0;
  }
  .entry-grid {
    height: 492px;
  }
  .entry-tabs {
    height: 62px;
    padding: 8px;
  }
  .entry-tabs button {
    font-size: 10px;
  }
  .entry-person {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    padding-inline: 10px;
    gap: 7px;
  }
  .entry-person > span {
    width: 34px;
    height: 34px;
  }
  .entry-bot-status {
    font-size: 7px !important;
    padding: 5px 7px !important;
    white-space: nowrap;
  }
  .entry-messages {
    padding: 14px 10px;
  }
  .keyword-demo {
    width: 100%;
  }
  .keyword-chat-demo {
    height: 590px;
    padding: 0;
  }
  .keyword-chat-body {
    padding-inline: 12px;
  }
  .keyword-chat-message {
    max-width: 82%;
  }
  .keyword-admin-row {
    max-width: 94%;
  }
  .keyword-intent-alert {
    width: 100%;
    font-size: 11px;
  }
  .keyword-message {
    grid-template-columns: 27px minmax(0, 1fr);
    align-items: start;
  }
  .keyword-message > span:last-child {
    grid-column: 2;
    justify-self: start;
    margin-top: 3px;
  }
  .keyword-path {
    gap: 18px;
  }
  .intent-result {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .confidence {
    grid-column: 2;
    border-left: 0;
    padding: 4px 0 0;
  }
  .answer-preview {
    margin-left: 0;
  }
  .rich-response-demo {
    width: 100%;
    height: 610px;
  }
  .rich-card-answer {
    max-width: 91%;
  }
  .rich-color-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rich-catalog-scroll {
    max-width: 100%;
    overflow-x: auto;
  }
  .rich-action-buttons {
    grid-template-columns: 1fr;
  }
  .customer-workspace {
    min-width: 0;
  }
  .workspace-bar {
    gap: 7px;
  }
  .workspace-bar > div {
    min-width: 0;
  }
  .workspace-bar b {
    font-size: 11px;
  }
  .flow-active {
    font-size: 7px;
    white-space: nowrap;
  }
  .flow-chat-panel {
    height: 450px;
  }
  .customer-data-panel {
    min-width: 0;
  }
  .followup-topbar > div,
  .segment-topbar > div {
    min-width: 0;
  }
  .followup-topbar small,
  .segment-topbar small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .followup-customer {
    gap: 8px;
  }
  .followup-person {
    min-width: 0;
  }
  .followup-person small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .segment-chat {
    min-height: 380px;
  }
  .sales-platform {
    padding-inline: 16px;
  }
  .sales-platform-head h2,
  .use-cases-head h2 {
    font-size: clamp(32px, 9.5vw, 38px);
    letter-spacing: -1px;
  }
  .sales-flow {
    padding: 16px;
  }
  .sales-flow-track {
    left: 37px;
  }
  .sales-flow-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }
  .sales-flow-step > span {
    width: 40px;
    height: 40px;
  }
  .business-use-cases,
  .customer-use-cases {
    padding-inline: 16px;
  }
  .use-case-tabs {
    margin-inline: 0;
    padding: 5px;
    border-radius: 14px;
  }
  .use-case-tabs button {
    white-space: nowrap;
  }
  .use-case-panel,
  .customer-use-case-panel {
    width: 100%;
    padding: 24px 14px 16px;
  }
  .use-case-path {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }
  .use-case-path > div {
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 9px;
    padding: 0;
    text-align: left;
  }
  .use-case-path > div:not(:last-child)::after {
    content: "↓";
    position: static;
    grid-column: 1;
    text-align: center;
    margin: -5px 0 -4px;
  }
  .use-case-path span {
    margin: 0;
  }
  .use-case-path b {
    font-size: 11px;
  }
  .use-case-chat {
    width: 100%;
    height: 430px;
  }
  .customer-use-case-copy h3 {
    overflow-wrap: anywhere;
  }
  .real-use-case-note {
    width: 100%;
  }
}
@media (max-width: 380px) {
  .site-header {
    width: calc(100% - 24px);
  }
  .button-small {
    padding: 8px 10px;
    font-size: 11px;
  }
  .hero {
    padding-inline: 12px;
  }
  .core-feature,
  .sales-platform,
  .business-use-cases,
  .customer-use-cases {
    padding-inline: 12px;
  }
  .chat-window {
    height: 500px;
  }
  .chat-person small,
  .chat-menu {
    display: none;
  }
  .feature-copy h2 {
    font-size: 30px;
  }
  .response-format-list {
    grid-template-columns: 1fr;
  }
  .entry-bot-status,
  .followup-running,
  .segment-live {
    display: none !important;
  }
  .use-case-chat-head > em {
    display: none;
  }
}
/* Section 05 — final sales CTA */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 118px 24px 124px;
  color: #fff;
  background: linear-gradient(135deg, #ca0f45 0%, #ea1953 48%, #f05a48 100%);
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  pointer-events: none;
}

.final-cta::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  bottom: -150px;
  width: 680px;
  height: 360px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(1px);
}

.final-cta-glow {
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(3px);
}

.final-cta-glow-left {
  left: -180px;
  top: -170px;
}

.final-cta-glow-right {
  right: -160px;
  bottom: -190px;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.final-cta-kicker {
  display: inline-block;
  margin-bottom: 17px;
  color: #ffe4ec;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -1.7px;
}

.final-cta p {
  max-width: 790px;
  margin: 23px auto 31px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 13px;
}

.final-cta-primary {
  padding: 16px 26px;
  color: var(--pink);
  background: #fff;
  box-shadow: 0 16px 30px rgba(91, 9, 38, 0.2);
}

.final-cta-primary span {
  font-size: 20px;
}

.final-cta-secondary {
  padding: 15px 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
}

.final-cta-secondary .play {
  border-color: rgba(255, 255, 255, 0.58);
}

.final-cta .button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 620px) {
  .final-cta {
    padding: 82px 18px 88px;
  }
  .final-cta::before {
    inset: 12px;
    border-radius: 23px;
  }
  .final-cta h2 {
    font-size: 39px;
    letter-spacing: -1px;
  }
  .final-cta p {
    margin: 20px auto 27px;
    font-size: 14px;
    line-height: 1.75;
  }
  .final-cta-desktop-break {
    display: none;
  }
  .final-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .final-cta-actions .button {
    width: 100%;
  }
}
@media (max-width: 380px) {
  .final-cta {
    padding-inline: 16px;
  }
  .final-cta h2 {
    font-size: 34px;
  }
}
/* Feature 01 frame parity and stronger source hierarchy */
.entry-demo {
  width: 100%;
  max-width: 450px;
  height: 590px;
  border-color: rgba(234, 25, 83, 0.09);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(90, 42, 60, 0.11);
}

.entry-grid {
  height: 522px;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

.entry-person .entry-source-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 3px;
  padding: 4px 8px;
  border: 1px solid #f2a9bc;
  border-radius: 999px;
  color: #bd204c;
  background: #fff0f5;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(234, 25, 83, 0.08);
}

/* Section 03 — all-in-one sales platform */
.sales-platform {
  position: relative;
  overflow: hidden;
  padding: 118px max(6vw, (100vw - 1240px) / 2) 128px;
  background: #fff;
}

.sales-platform::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -260px;
  top: 40px;
  border-radius: 50%;
  background: rgba(255, 226, 234, 0.45);
  filter: blur(2px);
}

.sales-platform-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.sales-platform-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.7px;
}

.sales-platform-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(39px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -1.5px;
}

.sales-platform-head h3 {
  margin: 17px 0 9px;
  color: #42373d;
  font-size: 22px;
  font-weight: 500;
}

.sales-platform-head p {
  max-width: 700px;
  margin: 0 auto;
  color: #756a70;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.sales-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid #f0e3e7;
  border-radius: 24px;
  background: rgba(255, 252, 253, 0.92);
  box-shadow: 0 22px 55px rgba(87, 40, 57, 0.08);
}

.sales-flow-track {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 48px;
  height: 2px;
  background: #f1d7df;
  overflow: hidden;
}

.sales-flow-track i {
  display: block;
  width: 22%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--pink), var(--orange), transparent);
  animation: sales-flow-pulse 4.5s ease-in-out infinite;
}

.sales-flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.sales-flow-step > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border: 6px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 7px 16px rgba(234, 25, 83, 0.2);
  font-size: 11px;
  font-weight: 600;
}

.sales-flow-step b,
.sales-flow-step small {
  display: block;
}

.sales-flow-step b {
  min-height: 47px;
  color: #332a2f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.sales-flow-step small {
  color: #94888e;
  font-size: 11px;
  font-weight: 300;
}

.platform-capabilities {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.platform-capabilities article {
  min-height: 250px;
  padding: 27px 26px;
  border: 1px solid #eee4e7;
  border-radius: 20px;
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.platform-capabilities article:hover {
  transform: translateY(-4px);
  border-color: #f0bdcb;
  box-shadow: 0 16px 34px rgba(86, 40, 57, 0.08);
}

.platform-capabilities .capability-featured {
  border-color: #f1c4d0;
  background: linear-gradient(145deg, #fff6f8, #fff);
}

.capability-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--pink);
  background: #ffeaf0;
  font-size: 17px;
  font-weight: 600;
}

.platform-capabilities h3 {
  margin: 0 0 15px;
  color: #342a2f;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
}

.platform-capabilities ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-capabilities li {
  position: relative;
  margin-top: 9px;
  padding-left: 16px;
  color: #746970;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
}

.platform-capabilities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

@keyframes sales-flow-pulse {
  0% {
    transform: translateX(-110%);
  }
  60%, 100% {
    transform: translateX(470%);
  }
}
@media (max-width: 900px) {
  .sales-platform {
    padding: 88px 30px 96px;
  }
  .sales-flow {
    grid-template-columns: 1fr;
    padding: 18px 22px;
    gap: 0;
  }
  .sales-flow-track {
    left: 45px;
    right: auto;
    top: 42px;
    bottom: 42px;
    width: 2px;
    height: auto;
  }
  .sales-flow-track i {
    width: 100%;
    height: 22%;
    animation: sales-flow-pulse-mobile 4.5s ease-in-out infinite;
  }
  .sales-flow-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 16px;
    padding: 11px 0;
    text-align: left;
  }
  .sales-flow-step > span {
    margin: 0;
    border-width: 5px;
  }
  .sales-flow-step b {
    min-height: 0;
  }
  .platform-capabilities {
    grid-template-columns: 1fr;
  }
  .platform-capabilities article {
    min-height: 0;
  }
}
@media (max-width: 620px) {
  .sales-platform {
    padding: 70px 18px 78px;
  }
  .sales-platform-head {
    margin-bottom: 35px;
  }
  .sales-platform-head h2 {
    font-size: 38px;
  }
  .sales-platform-head h3 {
    font-size: 19px;
  }
  .sales-platform-head p {
    font-size: 14px;
  }
  .sales-flow {
    border-radius: 19px;
  }
  .platform-capabilities article {
    padding: 23px 21px;
  }
  .platform-capabilities h3 {
    font-size: 18px;
  }
}
@keyframes sales-flow-pulse-mobile {
  0% {
    transform: translateY(-110%);
  }
  60%, 100% {
    transform: translateY(470%);
  }
}
.business-use-cases {
  position: relative;
  overflow: hidden;
  padding: 118px max(6vw, (100vw - 1240px) / 2) 128px;
  background: linear-gradient(180deg, #fff8fa 0, #fff 72%);
}

.business-use-cases::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -330px;
  bottom: -250px;
  border-radius: 50%;
  background: rgba(255, 219, 229, 0.52);
}

.use-cases-head {
  position: relative;
  z-index: 1;
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}

.use-cases-head > span {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.7px;
}

.use-cases-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(39px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.6px;
}

.use-cases-head h2 em {
  color: var(--pink);
  font-style: normal;
}

.use-cases-head p {
  max-width: 690px;
  margin: 18px auto 0;
  color: #756a70;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.use-case-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 22px;
  padding: 6px;
  border: 1px solid #f0e1e6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 35px rgba(83, 38, 53, 0.06);
}

.use-case-tabs button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  color: #766a70;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.use-case-tabs button:hover {
  color: var(--pink);
  background: #fff4f7;
}

.use-case-tabs button:focus-visible {
  outline: 3px solid rgba(234, 25, 83, 0.22);
  outline-offset: 2px;
}

.use-case-tabs button.active {
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  box-shadow: 0 9px 20px rgba(234, 25, 83, 0.2);
  transform: translateY(-1px);
}

.use-case-tabs button i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--pink);
  background: #fff0f4;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
}

.use-case-tabs button.active i {
  color: var(--pink);
  background: #fff;
}

.use-case-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
  align-items: center;
  gap: 52px 70px;
  min-height: 535px;
  padding: 52px 64px;
  border: 1px solid #f0e0e5;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 65px rgba(84, 38, 55, 0.1);
  animation: use-case-enter 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.use-case-label {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--pink);
  background: #fff0f4;
  font-size: 11px;
  font-weight: 500;
}

.use-case-copy h3 {
  max-width: 480px;
  margin: 16px 0 13px;
  color: #332a2f;
  font-size: clamp(28px, 2.7vw, 41px);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.7px;
}

.use-case-copy > p {
  max-width: 500px;
  margin: 0;
  color: #73686e;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.use-case-path {
  display: flex;
  align-items: stretch;
  margin-top: 30px;
}

.use-case-path > div {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 22px;
  color: #554a4f;
}

.use-case-path > div:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 7px;
  color: #d8a5b4;
  font-size: 12px;
}

.use-case-path span {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 9px;
  font-weight: 600;
}

.use-case-path b {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.use-case-chat {
  width: min(500px, 100%);
  height: 465px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eddee3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(80, 38, 52, 0.13);
}

.use-case-chat-head {
  height: 68px;
  flex: 0 0 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #eee3e7;
}

.use-case-chat-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.use-case-chat-head > div > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 13px;
  font-weight: 700;
}

.use-case-chat-head p {
  margin: 0;
}

.use-case-chat-head b,
.use-case-chat-head small {
  display: block;
}

.use-case-chat-head b {
  font-size: 14px;
  font-weight: 500;
}

.use-case-chat-head small {
  margin-top: 2px;
  color: #91868b;
  font-size: 9px;
}

.use-case-chat-head small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #3dbd74;
}

.use-case-chat-head > em {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--pink);
  background: #fff0f4;
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
}

.use-case-chat-body {
  flex: 1;
  padding: 15px 17px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0, #fff9fb 100%);
}

.use-case-day {
  width: max-content;
  margin: 0 auto 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #9c9095;
  background: #f3eef0;
  font-size: 8px;
}

.use-case-message {
  width: max-content;
  max-width: 78%;
  margin-bottom: 10px;
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.5;
  animation: use-case-message 0.48s ease both;
}

.use-case-message.customer {
  border-radius: 12px 12px 12px 4px;
  color: #554b50;
  background: #efeaec;
}

.use-case-message.bot {
  margin-left: auto;
  border-radius: 12px 12px 4px 12px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  animation-delay: 0.07s;
}

.use-case-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: -2px 0 10px auto;
}

.use-case-options button {
  padding: 6px 9px;
  border: 1px solid #eca8bb;
  border-radius: 999px;
  color: var(--pink);
  background: #fff;
  font: inherit;
  font-size: 9px;
}

.use-case-options button:first-child {
  color: #fff;
  background: var(--pink);
}

.use-case-result {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 0 auto;
  padding: 10px 12px;
  border: 1px solid #dbeee3;
  border-radius: 13px;
  background: #f2fbf5;
  color: #3b7654;
  animation: use-case-message 0.48s 0.12s ease both;
}

.use-case-result > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #45b875;
  font-size: 10px;
}

.use-case-result small,
.use-case-result b {
  display: block;
}

.use-case-result small {
  font-size: 8px;
  font-weight: 300;
}

.use-case-result b {
  margin-top: 1px;
  font-size: 10px;
  font-weight: 500;
}

.use-case-composer {
  height: 49px;
  flex: 0 0 49px;
  margin: 0 12px 12px;
  padding: 0 8px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ebdfe3;
  border-radius: 12px;
  color: #aaa0a4;
  font-size: 10px;
}

.use-case-composer i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-style: normal;
  font-size: 10px;
}

.use-case-review {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(420px, 1.38fr);
  align-items: center;
  gap: 42px;
  padding-top: 44px;
  border-top: 1px solid #f0e2e7;
}

.use-case-review-copy > span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--pink);
  background: #fff0f4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35px;
}

.use-case-review-copy h4 {
  margin: 14px 0 8px;
  color: #332a2f;
  font-size: clamp(24px, 2.25vw, 34px);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.45px;
}

.use-case-review-copy p {
  margin: 0;
  color: #756a70;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

.use-case-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  border: 1px solid #eadce1;
  border-radius: 20px;
  background: #1c1719;
  box-shadow: 0 18px 42px rgba(70, 32, 45, 0.16);
}

.use-case-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.customer-use-cases {
  position: relative;
  overflow: hidden;
  padding: 118px max(6vw, (100vw - 1240px) / 2) 128px;
  background: #fff;
}

.customer-use-cases::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -330px;
  top: -280px;
  border-radius: 50%;
  background: rgba(255, 222, 231, 0.48);
}

.customer-brand-tabs {
  max-width: max-content;
  overflow-x: auto;
  scrollbar-width: none;
}

.customer-brand-tabs::-webkit-scrollbar {
  display: none;
}

.customer-brand-tabs button {
  white-space: nowrap;
}

.customer-use-case-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(520px, 1.35fr);
  align-items: center;
  gap: 58px;
  min-height: 480px;
  padding: 54px 62px;
  border: 1px solid #f0e0e5;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff9fb, #fff);
  box-shadow: 0 26px 65px rgba(84, 38, 55, 0.1);
  animation: use-case-enter 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.customer-use-case-copy h3 {
  margin: 17px 0 12px;
  color: #332a2f;
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.8px;
}

.customer-use-case-copy > p {
  margin: 0;
  color: #73686e;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.real-use-case-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  padding: 14px 15px;
  border: 1px solid #f1ced8;
  border-radius: 16px;
  background: #fff;
}

.real-use-case-note > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 11px;
}

.real-use-case-note small,
.real-use-case-note b {
  display: block;
}

.real-use-case-note small {
  color: #9a8d92;
  font-size: 9px;
}

.real-use-case-note b {
  margin-top: 2px;
  color: #493e43;
  font-size: 13px;
  font-weight: 500;
}

.customer-video {
  padding-top: 56.25%;
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(70, 32, 45, 0.18);
}

@keyframes use-case-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes use-case-message {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1000px) {
  .use-case-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .use-case-tabs::-webkit-scrollbar {
    display: none;
  }
  .use-case-tabs button {
    flex: 0 0 auto;
  }
  .use-case-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px;
  }
  .use-case-chat {
    justify-self: center;
  }
  .use-case-copy {
    text-align: center;
  }
  .use-case-copy h3,
  .use-case-copy > p {
    margin-inline: auto;
  }
  .use-case-path {
    max-width: 520px;
    margin-inline: auto;
    margin-top: 28px;
    text-align: left;
  }
  .customer-use-case-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px;
  }
  .customer-use-case-copy {
    text-align: center;
  }
  .customer-use-case-copy > p {
    max-width: 560px;
    margin-inline: auto;
  }
  .real-use-case-note {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }
  .customer-video {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }
}
@media (max-width: 620px) {
  .business-use-cases,
  .customer-use-cases {
    padding: 70px 18px 78px;
  }
  .use-cases-head {
    margin-bottom: 30px;
  }
  .use-cases-head h2 {
    font-size: 38px;
  }
  .use-cases-head p {
    font-size: 14px;
  }
  .use-case-tabs {
    justify-content: flex-start;
    margin-inline: -2px;
    border-radius: 15px;
  }
  .use-case-tabs button {
    min-height: 43px;
    padding: 8px 11px;
    font-size: 11px;
  }
  .use-case-panel {
    min-height: 0;
    padding: 27px 16px 18px;
    border-radius: 21px;
  }
  .use-case-copy h3 {
    font-size: 28px;
  }
  .use-case-copy > p {
    font-size: 14px;
  }
  .use-case-path {
    gap: 4px;
  }
  .use-case-path > div {
    display: block;
    padding-right: 15px;
    text-align: center;
  }
  .use-case-path > div:not(:last-child)::after {
    right: 2px;
    top: 8px;
  }
  .use-case-path span {
    margin: 0 auto 6px;
  }
  .use-case-path b {
    font-size: 9px;
  }
  .use-case-chat {
    height: 445px;
    border-radius: 19px;
  }
  .use-case-chat-head {
    padding-inline: 12px;
  }
  .use-case-chat-head > em {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .use-case-chat-body {
    padding-inline: 12px;
  }
  .customer-use-case-panel {
    min-height: 0;
    padding: 27px 16px 18px;
    border-radius: 21px;
  }
  .customer-use-case-copy h3 {
    font-size: 29px;
  }
  .customer-use-case-copy > p {
    font-size: 14px;
  }
  .customer-video {
    border-radius: 14px;
  }
}
.entry-person .entry-source-badge.from-post {
  border-color: #a9c8f7;
  color: #1762bd;
  background: #edf5ff;
}

.entry-origin-card {
  margin-bottom: 16px;
  padding: 12px 13px;
  border: 2px solid #f2adc0;
  background: #fff4f7;
  box-shadow: 0 10px 24px rgba(234, 25, 83, 0.11);
}

.entry-origin-card > small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: #b51f49;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.entry-origin-card > small span {
  display: inline-grid;
  place-items: center;
  padding: 4px 6px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  font-size: 8px;
  letter-spacing: 0.5px;
}

.post-origin {
  border-color: #aacaf6;
  background: #f2f7ff;
}

.post-origin > small {
  margin: 0;
  color: #1762bd;
}

.post-origin > small span {
  background: #1877f2;
}

.post-origin > b {
  color: #1762bd;
  font-size: 11px;
}

@media (max-width: 620px) {
  .entry-demo {
    height: 590px;
  }
  .entry-grid {
    height: 522px;
  }
  .entry-chat {
    height: auto;
  }
}
/* Final mobile overrides stay last so legacy desktop-frame rules cannot win. */
@media (max-width: 900px) {
  .feature-layout,
  .entry-layout,
  .keyword-layout,
  .rich-layout,
  .smart-flow-layout,
  .followup-layout,
  .segment-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-demo,
  .entry-demo,
  .keyword-demo,
  .rich-response-demo,
  .smart-flow-demo,
  .followup-demo,
  .segment-demo {
    max-width: 100%;
    transform: none;
  }
}
@media (max-width: 620px) {
  .hero {
    padding-inline: 16px;
    min-height: auto;
  }
  .hero-visual {
    max-width: 100%;
    height: 535px;
  }
  .chat-window {
    width: 100%;
    height: 520px;
    transform: none;
  }
  .core-feature {
    padding: 60px 16px 70px;
  }
  .feature-layout {
    gap: 30px;
  }
  .feature-demo {
    width: 100%;
    height: auto;
    min-height: 500px;
    margin: 0;
    transform: none;
  }
  .entry-demo {
    height: 560px;
    min-height: 0;
  }
  .entry-grid {
    height: 492px;
  }
  .rich-response-demo {
    width: 100%;
    height: 610px;
  }
  .customer-workspace {
    width: 100%;
    min-width: 0;
    margin: 0;
    transform: none;
  }
  .business-use-cases,
  .customer-use-cases,
  .sales-platform {
    padding-inline: 16px;
  }
  .use-case-tabs {
    width: 100%;
    margin-inline: 0;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .use-case-panel,
  .customer-use-case-panel {
    width: 100%;
    padding: 24px 14px 16px;
  }
  .use-case-chat {
    width: 100%;
  }
}
@media (max-width: 380px) {
  .hero,
  .core-feature,
  .business-use-cases,
  .customer-use-cases,
  .sales-platform {
    padding-inline: 12px;
  }
}
/* Alternating core-feature rhythm after Conversation Starter becomes Feature 01 */
@media (min-width: 901px) {
  .automation-feature .feature-copy,
  .rich-feature .feature-copy,
  .followup-feature .feature-copy {
    order: 1;
  }
  .automation-feature .feature-visual,
  .rich-feature .feature-visual,
  .followup-feature .feature-visual {
    order: 2;
  }
  .keyword-feature .feature-visual,
  .smart-flow-feature .feature-visual,
  .segment-feature .feature-visual {
    order: 1;
  }
  .keyword-feature .feature-copy,
  .smart-flow-feature .feature-copy,
  .segment-feature .feature-copy {
    order: 2;
  }
}
/* Requested animation typography and layout refinements */
.entry-grid {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

.entry-tabs {
  height: 68px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #eee4e8;
  background: #fff;
}

.entry-tabs button {
  border: 1px solid #eadfe3;
  border-radius: 12px;
  color: #776b70;
  background: #faf7f8;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.entry-tabs button:hover {
  border-color: #efb3c4;
  background: #fff7f9;
}

.entry-tabs button.active {
  border-color: var(--pink);
  color: #fff;
  background: linear-gradient(90deg, #ff841c, #dc005a);
  box-shadow: 0 7px 16px rgba(234, 25, 83, 0.18);
}

.entry-tabs button:focus-visible {
  outline: 3px solid rgba(234, 25, 83, 0.22);
  outline-offset: 2px;
}

.entry-bot-status {
  display: flex !important;
  align-items: center;
  gap: 6px !important;
  padding: 6px 9px !important;
  color: #247b4d !important;
  background: #eaf8f0 !important;
  font-size: 9px !important;
}

.entry-bot-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38b66c;
  box-shadow: 0 0 0 3px #d4f1e0;
}

.post-card .post-head b,
.post-card .post-head small,
.post-card .post-copy,
.post-card .post-actions,
.post-card .comment-box b,
.post-card .comment-box p,
.post-card .bot-reply b,
.post-card .bot-reply p,
.inbox-card .inbox-head b,
.inbox-card .inbox-head small,
.inbox-card .auto-pill,
.inbox-card .comment-origin small,
.inbox-card .comment-origin b,
.inbox-card .mini-message,
.inbox-card .size-options span {
  font-size: 12px;
}

.inbox-answer-group {
  display: flex;
  max-width: 88%;
  margin: 0 0 6px auto;
  flex-direction: column;
  align-items: flex-end;
}

.inbox-answer-group .mini-message {
  max-width: 100%;
  margin: 0;
}

.inbox-answer-group .size-options {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 7px;
}

.inbox-answer-group .size-options span {
  padding: 5px 8px;
  border: 1px solid #efacc0;
  border-radius: 999px;
  background: #fff;
  color: var(--pink);
  font-weight: 500;
}

.flow-message-bubble,
.segment-bubble {
  font-size: 12px;
}

/* JS scroll-reveal and counter helpers */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

[data-count] {
  display: inline-block;
}
