/* CAT */

.cat-scene{display:flex;align-items:center;justify-content:center;padding:40px 0}
  .cat-wrap{position:relative;display:inline-block;animation:float 3.2s ease-in-out infinite}
  .cat-wrap img{width:120px;image-rendering:pixelated;display:block}
  @keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
  .star{position:absolute;animation:twinkle 2s ease-in-out infinite}
  @keyframes twinkle{0%,100%{opacity:.2;transform:scale(.7)}50%{opacity:1;transform:scale(1.1)}}
  .s1{top:-10px;left:-18px;animation-delay:0s}
  .s2{top:10px;right:-22px;animation-delay:.6s}
  .s3{bottom:0;left:-28px;animation-delay:1.1s}
  .s4{bottom:-8px;right:-10px;animation-delay:.3s}
  .ring{position:absolute;border-radius:50%;border:2px solid #7c5cbf;animation:pulse-ring 2.8s ease-in-out infinite}
  .r1{width:160px;height:160px;top:50%;left:50%;margin:-80px 0 0 -80px;opacity:.15}
  .r2{width:200px;height:200px;top:50%;left:50%;margin:-100px 0 0 -100px;opacity:.08;animation-delay:.5s}
  @keyframes pulse-ring{0%,100%{transform:scale(.92)}50%{transform:scale(1.04);opacity:.22}}



@font-face {
  font-family: "Zen Dots";
  src: url("../ZenDots-Regular.woff2") format("woff2");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
   
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 16px;
  min-height: 100vh;
  font-family: "zen dots", sans-serif;
}

/* HEADER */
.header {
    position: absolute;
      top: 0;
      width: 100%;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
}

.btn-index {
      position: absolute;
      left: 30px;
      font-size: 12px;
      color: rgba(255,255,255,0.6);
      text-decoration: none;
    }

.logo {
  width: 90px;
}

.logo img {
  width: 100%;
}

.chat-bot {
  margin-top: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
 
}

.shell {

  width: 100%;
  max-width: 440px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  border-radius: 22px;

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: 
    0 0 40px rgba(0, 153, 255, 0.15),
    0 0 80px rgba(128, 0, 255, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.05);

  overflow: hidden;
}





.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.av img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.av span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.tb-name {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}
.tb-status {
  font-size: 12px;
  color: #7d6eff;
  margin-top: 1px;
}

.messages {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 300px;
  background: #fff;
}

.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  animation: popIn 0.2s ease;
  word-break: break-word;
  white-space: pre-wrap;
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.bot {
  background: #e3e3e3;
  color: #1d1d1f;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.user-b {
  background: #000;
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.typing-wrap {
  align-self: flex-start;
}
.typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
  background: #f2f2f7;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aeaeb2;
  animation: blink 1.3s infinite;
}
.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

.input-area {
  padding: 14px 16px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
}
.step-lbl {
  font-size: 11px;
  color: #aeaeb2;
  letter-spacing: 0.05em;
  text-align: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #d1d1d6;
  background: #fff;
  font-size: 13px;
  color: #1d1d1f;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  line-height: 1;
}
.chip:hover {
  border-color: #000;
  background: #f9f9f9;
}
.chip:active {
  transform: scale(0.97);
}

.text-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.text-row input,
.text-row textarea {
  flex: 1;
  border: 1px solid #d1d1d6;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #1d1d1f;
  resize: none;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.text-row input:focus,
.text-row textarea:focus {
  border-color: #000;
}
.text-row textarea {
  min-height: 72px;
}

.send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.send-btn:hover {
  opacity: 0.75;
}
.send-btn:active {
  transform: scale(0.95);
}
.send-btn svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

.contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-wrap input {
  border: 1px solid #d1d1d6;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #1d1d1f;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  width: 100%;
}
.contact-wrap input:focus {
  border-color: #000;
}

.done-card {
  background: #f9f9f9;
  border: 1px solid #e5e5ea;
  border-radius: 16px;
  padding: 16px;
  align-self: flex-start;
  max-width: 92%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dc-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
}
.dc-label {
  color: #aeaeb2;
  min-width: 72px;
  flex-shrink: 0;
}
.dc-val {
  color: #1d1d1f;
  font-weight: 500;
  word-break: break-word;
}

.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
  margin-top: 4px;
}
.wa-btn:hover {
  opacity: 0.88;
}
.wa-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}

.error-msg {
  font-size: 12px;
  color: #ff3b30;
  padding: 2px 4px;
}

@media (max-width: 480px) {
  body {
    padding: 0;
  }

  .shell {

    width: 90%;
    border-radius: 20px;
    box-shadow: none;
  }

  .logo {
    width: 70px;
  }   
}
