@font-face {
  font-family: "GTAmericaThin";
  src: url("../assets/fonts/GT-America-Standard-Thin-Trial.woff") format("woff");
}
@font-face {
  font-family: "SFPRORegular";
  src: url("../assets/fonts/SFPRODISPLAYREGULAR.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "SFPROMedium";
  src: url("../assets/fonts/SFPRODISPLAYMEDIUM.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "SFPROBold";
  src: url("../assets/fonts/SFPRODISPLAYBOLD.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

* {
  font-family: "SFPRORegular";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  color: #000;
}

/* Topbar — simplified to logo-only for this standalone pilot page (no
   marketing nav/search/login, which don't apply here). */
.topbar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  height: 50px;
  box-sizing: border-box;
}
.topbar img { height: 26px; }

/* ---------- Loader — ported to match the live site exactly ---------- */
.loader-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  top: 0;
  background: transparent;
}
.loader {
  position: relative;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.18), 0 0 36px rgba(79, 70, 229, 0.12);
  background: conic-gradient(from 0deg, rgba(99, 102, 241, 0.18), transparent 40%);
  filter: blur(0.6px);
  animation: ring-rotate 2.6s linear infinite;
}
.loader img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; position: relative; z-index: 2; }
@keyframes ring-rotate {
  0% { transform: rotate(0deg); opacity: 1; }
  50% { transform: rotate(180deg); opacity: 0.9; }
  100% { transform: rotate(360deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .loader-ring { animation: none; }
}
@media (max-width: 420px) {
  .loader { width: 72px; height: 72px; }
}

.dots { display: inline-flex; gap: 4px; margin-left: 10px; }
.dots span {
  width: 6px; height: 6px; border-radius: 50%; background: #ffaf4b; opacity: 0.35;
  animation: bounce 1.2s infinite ease-in-out;
}
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* ---------- Main layout ---------- */
.main-wrapper {
  background: linear-gradient(180deg, rgba(188, 226, 241, 0.15) 0%, rgba(244, 240, 236, 0.35) 50%, rgba(255, 199, 122, 0.15) 100%);
  position: relative;
  height: calc(100vh - 50px);
}
.main-wrapper .inner-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 0;
  height: 100%;
  position: relative;
}

.chat-coversation-wrp {
  height: calc(100dvh - 233px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 20px 10px;
  margin-bottom: 96px;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.chat-coversation-wrp::-webkit-scrollbar { width: 2px; }
.chat-coversation-wrp::-webkit-scrollbar-track { background: transparent; }
.chat-coversation-wrp::-webkit-scrollbar-thumb { background: transparent; }

/* ---------- Startup pills ---------- */
.startup-section { margin-left: -10px; }
.startup-heading {
  padding: 0 10px;
  margin-bottom: 11px;
  color: #582d43;
  font-weight: 400;
  font-size: 18px;
  font-family: "GTAmericaThin";
}
.start-text {
  padding: 0 10px;
  margin-bottom: 15px;
  color: #582d43;
  font-weight: 400;
  font-size: 18px;
  font-family: "GTAmericaThin";
}
.startup-boxes { display: flex; justify-content: left; flex-wrap: wrap; }
.startup-boxes .box { width: 25%; float: left; padding: 0 10px; margin-bottom: 12px; }
.startup-boxes .box .inwrp {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  border: 1px solid #b9b9b9;
  transition: border-color 0.15s ease;
}
.startup-boxes .box .inwrp:hover { border-color: #000; }
.startup-boxes .box .box-heading {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 3px;
  line-height: 21px;
  font-family: "SFPROMedium";
}

/* ---------- Message bubbles ---------- */
.message-wrp { margin-bottom: 0; width: 85%; float: left; padding: 10px 0; border-radius: 14px; clear: both; }
.message-wrp.user-message { float: right; }
.message-wrp .top-header { display: flex; align-items: center; margin-bottom: 5px; }
.message-wrp.user-message .top-header { flex-direction: row-reverse; }
.message-wrp .top-header .img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.message-wrp .top-header .name {
  font-family: "SFPROMedium";
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.1px;
  margin-left: 13px;
}
.message-wrp.user-message .top-header .name { margin-left: 0; margin-right: 13px; }
.message-wrp .content {
  padding-left: 37px;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.1px;
  font-weight: 400;
  font-family: "SFPRORegular";
  color: #000;
  white-space: pre-wrap;
}
.message-wrp.user-message .content {
  text-align: left;
  padding-left: 0;
  padding-right: 37px;
  color: #424242;
}

.waiting-reply { color: #8b8b8b; display: flex; align-items: center; font-size: 17px; }

.answer-bullets { padding-left: 37px; margin: 10px 0 0; list-style: disc; }
.answer-bullets li { font-size: 15px; line-height: 1.5; color: #333; margin-bottom: 4px; }

/* ---------- Follow-up pills + connect callout ---------- */
.pills-wrp { padding-left: 37px; margin-top: 10px; display: inline-block; width: 100%; box-sizing: border-box; }
.pill {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  border: 1px solid #b9b9b9;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
  line-height: 21px;
  width: 245px;
  max-width: 100%;
  float: left;
  font-family: "SFPROMedium";
  margin-right: 10px;
  transition: border-color 0.15s ease;
}
.pill:hover { border-color: #000; }

.connect-callout {
  margin: 14px 0 0 37px;
  padding: 14px 16px;
  background: #fdf3f6;
  border: 1px solid #582d43;
  border-left: 4px solid #582d43;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: "SFPROMedium";
  font-size: 15px;
  color: #582d43;
  animation: callout-in 0.25s ease-out;
}
.connect-callout-icon { font-size: 17px; line-height: 1.4; flex-shrink: 0; }
@keyframes callout-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Chat input ---------- */
.chat-input-wrp { position: absolute; bottom: 15px; width: 100%; }
.text-area-wrp { position: relative; padding-left: 20px; padding-right: 20px; }
.user-chat-input {
  height: 62px;
  max-height: 62px;
  min-height: 62px;
  width: 100%;
  border: 1px solid #d6d3cf;
  border-radius: 8px;
  color: #3e3e3e;
  padding: 20px 55px 20px 15px;
  font-size: 14px;
  box-sizing: border-box;
  resize: none;
  box-shadow: none;
}
.user-chat-input:focus { border-color: #dbd7d7; outline: none; }
.user-chat-input::-webkit-scrollbar { width: 2px; }
.user-chat-input::-webkit-scrollbar-track { background: transparent; }
.user-chat-input::-webkit-scrollbar-thumb { background: transparent; }

.user-chat-submit {
  position: absolute;
  top: 17px;
  right: 40px;
  background: #000;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-chat-submit:disabled { cursor: no-drop; opacity: 0.5; }
.user-chat-submit img { width: 14px; }

.policy-text { text-align: center; font-size: 10px; color: #808080; margin-top: 5px; }

/* ---------- Contact modal ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 10vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal.show { display: block; }
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  width: 520px;
  max-width: calc(100% - 40px);
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-height: 70vh;
  overflow: auto;
}
.modal-content::-webkit-scrollbar { width: 2px; }
.modal-content::-webkit-scrollbar-track { background: #eee; }
.modal-content::-webkit-scrollbar-thumb { background: #000; }
.modal-content .close {
  color: #000;
  position: absolute;
  right: 20px;
  top: 12px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.modal-title { text-align: center; margin-bottom: 20px; font-family: "SFPROMedium"; font-size: 20px; color: #582d43; }

#userForm { display: flex; flex-wrap: wrap; }
.form-group { margin-bottom: 20px; text-align: left; width: 50%; padding: 0 10px; box-sizing: border-box; }
.form-group.full-width { width: 100%; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 14px;
}
.form-group .error { color: red; font-size: 13px; margin-top: 4px; display: block; }
#submitBtn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin: 0 auto;
  display: table;
  font-family: "SFPRORegular";
}
#submitBtn:hover { background-color: #333; }

.thankyou-title { text-align: center; margin-top: 20px; font-size: 31px; font-weight: 400; color: #582d43; }

/* ---------- Welcome disclaimer modal ---------- */
.welcome-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000033;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.welcome-modal.show { display: flex; }
.welcome-modal .inner-wrp {
  background-color: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.welcome-modal h1 { font-size: 24px; color: #333; margin-bottom: 15px; font-family: "SFPROMedium"; }
.welcome-modal p { font-size: 14px; color: #666; line-height: 1.5; }
.welcome-modal .note { font-size: 14px; color: #e94e77; margin-top: 10px; }
.welcome-modal .btn {
  margin-top: 20px;
  background-color: #000;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  font-family: "SFPRORegular";
}

/* ---------- Responsive ---------- */
@media (min-width: 1440px) {
  .chat-coversation-wrp { height: calc(100dvh - 268px); margin-bottom: 126px; }
  .chat-input-wrp { bottom: 40px; }
  .start-text { margin-bottom: 40px; }
}

@media (max-width: 991px) {
  .chat-coversation-wrp { height: calc(100dvh - 170px); margin-bottom: 50px; }
  .startup-boxes { overflow: auto; flex-wrap: nowrap; }
  .startup-boxes .box { min-width: 250px; width: auto; }

  .user-chat-input {
    height: 38px;
    max-height: 38px;
    min-height: 38px;
    padding: 9px 45px 9px 15px;
    border-radius: 32px;
  }
  .user-chat-submit { top: 5px; right: 20px; }

  .pills-wrp { display: flex; overflow: auto; padding-bottom: 10px; margin-bottom: 10px; }
  .pill { max-width: inherit; min-width: 210px; }

  .policy-text { display: none; }
}

@media (max-width: 768px) {
  .form-group { width: 100%; }
}
