/* Specific styling for the AI page */
.ai-page-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 2rem;
  overflow: hidden;
  /* Deep navy gradient — complements the skyblue→darkblue card */
  background: linear-gradient(135deg, #020b1a 0%, #0a2140 45%, #0d3b6e 100%);
}

.ai-bg-wrapper {
  display: none;
}

.chat-container {
  width: 100%;
  max-width: 480px;
  height: 75vh;
  max-height: 650px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 10;
  position: relative;
}

.chat-container-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Slight dim to ensure text readability on light and dark parts of the video */
  filter: brightness(0.9);
}

.chat-header {
  padding: 1.2rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  z-index: 20;
  flex-shrink: 0;
  position: sticky;
  top: 0;
}

.ai-profile {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.ai-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(224, 121, 20, 0.25);
}

.ai-info h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-dark);
}

.ai-info p {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.close-chat-btn {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.close-chat-btn:hover {
  color: var(--accent-orange);
  background: rgba(0,0,0,0.05);
}

.chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  scroll-behavior: smooth;
  z-index: 1;
  position: relative;
}

/* Entry Animations */
@keyframes slideUpEnter {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes dropEnter {
  0% { opacity: 0; transform: translateY(-40px) scale(0.98); }
  60% { opacity: 1; transform: translateY(10px) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.message {
  max-width: 85%;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  animation: messageSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: white;
}

.bot-avatar {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
}

.user-avatar {
  background: linear-gradient(135deg, #111827, #4B5563);
}

@keyframes messageSlideIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.message-content {
  padding: 1.1rem 1.5rem;
  font-size: 1.35rem;
  line-height: 1.5;
  border-radius: 18px;
}

.message-content p {
  margin-bottom: 0.8rem;
}
.message-content p:last-child {
  margin-bottom: 0;
}

.bot-message {
  align-self: flex-start;
  flex-direction: row;
}

.bot-message .message-content {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255,255,255,0.4);
  font-weight: 500;
}

.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.user-message .message-content {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 500;
}

.chat-input-area {
  padding: 1.8rem 2.5rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 20;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
}

.quick-reply-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: flex-end;
  animation: slideUpEnter 0.3s ease;
}

.quick-reply-btn {
  background: var(--text-dark);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.quick-reply-btn:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(224, 121, 20, 0.3);
}

.input-container {
  display: flex;
  background: white;
  border-radius: 1rem;
  background: linear-gradient(173deg, #23272f 0%, #14161a 100%);
  box-shadow:
    10px 10px 20px #0e1013,
    -10px -10px 40px #383e4b;
  padding: 0.5rem;
  gap: 0.6rem;
  align-items: center;
}

.input-container input {
  border-radius: 0.8rem;
  background: #23272f;
  box-shadow:
    inset 5px 5px 10px #0e1013,
    inset -5px -5px 10px #383e4b,
    0px 0px 100px rgba(255, 212, 59, 0),
    0px 0px 100px rgba(255, 102, 0, 0);
  width: 100%;
  flex-basis: 100%;
  padding: 1.4rem 1.8rem;
  border: 1px solid transparent;
  color: white;
  transition: all 0.2s ease-in-out;
  font-size: 1.45rem;
  font-family: var(--font-body);
}

.input-container input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.input-container input:focus {
  border: 1px solid #ffd43b;
  outline: none;
  box-shadow:
    inset 0px 0px 10px rgba(255, 102, 0, 0.5),
    inset 0px 0px 10px rgba(255, 212, 59, 0.5),
    0px 0px 100px rgba(255, 212, 59, 0.5),
    0px 0px 100px rgba(255, 102, 0, 0.5);
}

.send-btn {
  width: 52px;
  height: 52px;
  border-radius: 0.8rem;
  background: #ffd43b;
  color: #14161a;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 212, 59, 0.25);
}

.send-btn:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow:
    0 6px 18px rgba(255, 212, 59, 0.4),
    0 0 15px rgba(255, 212, 59, 0.5);
}

.send-btn:active {
  transform: scale(0.96);
}

/* Voice and Mic Buttons */
.voice-toggle-btn {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.voice-toggle-btn:hover {
  background: white;
  color: var(--accent-orange);
}

.voice-toggle-btn.active {
  background: #ef4444;
  color: #000000;
  border-color: #ef4444;
}



/* Typing Indicator */
.typing-indicator-wrap {
  align-self: flex-start;
  animation: messageSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.typing-indicator {
  display: flex;
  gap: 0.6rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 20px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255,255,255,0.4);
}

.dot {
  width: 8px;
  height: 8px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* Custom scrollbar */
.chat-messages::-webkit-scrollbar {
  width: 8px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(17, 24, 39, 0.15);
  border-radius: 10px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 24, 39, 0.3);
}

/* Mobile Responsiveness — WhatsApp-style Constant Header/Footer & Keyboard Resize Lock */
@media (max-width: 768px) {
  .ai-page-body {
    padding: 0 !important;
    height: 100% !important;
    width: 100% !important;
    position: fixed !important;
    top: 0;
    left: 0;
    overflow: hidden !important;
  }
  
  .chat-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .chat-header {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 30 !important;
  }

  .chat-messages {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  .chat-input-area {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 30 !important;
  }
  
  .message {
    max-width: 90%;
  }
}

/* =========================================
   SPLASH SCREEN
   ========================================= */
.splash-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  gap: 2rem;
  z-index: 100;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease;
}

.splash-card {
  width: 100%;
  max-width: 440px;
  height: auto;
  min-height: unset;
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: slideUpEnter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(0, 102, 255, 0) 60%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.15s ease-out;
}

.splash-logo-circle {
  width: 250px;
  height: 250px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.logo-text-bold {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  letter-spacing: -0.05em;
}

.logo-text-ai {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: #0066ff;
  font-style: italic;
  line-height: 1;
  margin-top: -0.5rem;
}

.splash-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
}

.splash-privacy {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #4B5563;
  font-size: 1.4rem;
  font-weight: 500;
}

.privacy-dot {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
}

.splash-btn {
  background: #111827;
  color: white;
  border: none;
  padding: 1.4rem 2.8rem;
  border-radius: 30px;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.splash-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* =========================================
   LEAD FORM (Uiverse by KapeParaguay Adapted)
   ========================================= */

/* Blue gradient wrapper applied to the lead form card */
#leadFormCard {
  background: linear-gradient(45deg, skyblue, darkblue) !important;
  transition: background 0.3s ease !important;
}

#leadFormCard:hover {
  background: linear-gradient(45deg, darkblue, skyblue) !important;
}

/* Heading & subtitle on gradient background */
#leadFormCard h2 {
  color: #ffffff !important;
}

#leadFormCard p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.kape-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: -4px;
}

.flex-column > label {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.35rem;
}

.inputForm {
  border: 1.5px solid #ecedec;
  border-radius: 10em;
  height: 52px;
  display: flex;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
  transition: 0.2s ease-in-out;
  background-color: white;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.inputForm:focus-within {
  border: 1.5px solid orange;
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.2);
}

.input {
  margin-left: 10px;
  border-radius: 10rem;
  border: none;
  width: 100%;
  height: 100%;
  font-size: 1.4rem;
  font-family: var(--font-body);
  color: #111827;
  background: transparent;
}

.input:focus {
  outline: none;
}

.select-input {
  cursor: pointer;
}

.country-code-select {
  border: none;
  background: transparent;
  font-size: 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: #374151;
  outline: none;
  cursor: pointer;
  margin-left: 8px;
  padding-right: 6px;
  border-right: 1px solid #e5e7eb;
}

.button-submit {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  text-align: center;
  letter-spacing: 1px;
  text-decoration: none;
  background: #111827;
  transition: ease-out 0.4s;
  border: 2px solid #111827;
  border-radius: 10em;
  box-shadow: inset 0 0 0 0 #2563eb;
  margin: 15px 0 5px 0;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  height: 52px;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button-submit:hover {
  color: white;
  border-color: #2563eb;
  box-shadow: inset 0 -100px 0 0 #2563eb;
}

.button-submit:active {
  transform: scale(0.97);
}

/* =========================================
   SOCIAL LOGIN BUTTONS
   ========================================= */
.p {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin: 6px 0;
  font-family: var(--font-body);
}

.p.line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.25rem;
  margin: 10px 0 6px;
}

.p.line::before,
.p.line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.social-btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn {
  flex: 1;
  height: 48px;
  border-radius: 10em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 500;
  gap: 8px;
  border: 1.5px solid #e5e7eb;
  background-color: white;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
}

.btn.apple svg {
  fill: #111827;
}

/* =========================================
   SOCIAL ICON CIRCLES (sign in with row)
   ========================================= */
.social-icon-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.social-icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  padding: 0;
  flex-shrink: 0;
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
  background: #ffffff; /* prevent yellow blob bleed-through */
}

.social-icon-btn:active {
  transform: scale(0.95);
}

/* Apple button — keep dark background so the white apple logo is visible */
.social-icon-btn.social-icon-apple {
  background: #000000;
  border-color: #333;
}

.social-icon-btn.social-icon-apple:hover {
  background: #1a1a1a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

/* Facebook button */
.social-icon-btn.social-icon-facebook {
  background: #ffffff;
}

.social-icon-btn.social-icon-facebook:hover {
  background: #f0f4ff;
  border-color: #1877f2;
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.3);
}

/* LinkedIn button */
.social-icon-btn.social-icon-linkedin {
  background: #ffffff;
}

.social-icon-btn.social-icon-linkedin:hover {
  background: #f0f4ff;
  border-color: #0a66c2;
  box-shadow: 0 8px 22px rgba(10, 102, 194, 0.3);
}



/* =========================================
   SOCIAL SIGN-IN TOAST
   ========================================= */
#socialToast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255, 255, 255, 0.97);
  color: #111827;
  padding: 14px 22px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  max-width: 90vw;
  white-space: nowrap;
}

#socialToast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================
   ADMIN LOGIN BUTTON (on gradient card)
   ========================================= */
#adminLoginBtn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--font-body) !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  padding: 8px 20px !important;
  border-radius: 30px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

#adminLoginBtn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 768px) {
  .splash-screen {
    width: 95%;
  }
  .splash-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .social-btn-row {
    flex-direction: column;
  }
}

/* =========================================
   SUCCESS ANIMATION LAYOUT
   ========================================= */
.success-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}


.success-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.6rem;
  color: #10b981;
  font-weight: 600;
}

.success-tick {
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #10b981;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}
@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
  100% { box-shadow: inset 0px 0px 0px 40px #10b981; }
}

/* =========================================
   CHAT EMPTY STATE (INTRO OPTIONS)
   ========================================= */
.chat-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  animation: fadeIn 0.5s ease;
  padding: 2rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.empty-state-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #111827;
  margin-bottom: 1rem;
  font-weight: 800;
}

.empty-state-subtitle {
  font-size: 1.5rem;
  color: #4B5563;
  margin-bottom: 3.5rem;
  max-width: 85%;
  line-height: 1.6;
}

.empty-state-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  max-width: 95%;
}

.empty-option-btn {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1.2rem 2.2rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.empty-option-btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  color: var(--accent-orange);
}

.empty-option-btn i {
  color: var(--accent-orange);
  font-size: 1.6rem;
}

/* Custom Budget Slider UI */
.budget-slider-container {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  animation: slideUpFade 0.4s ease forwards;
}

.budget-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #111827;
}

.budget-display {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  color: #000000;
  font-weight: 800;
  font-size: 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.06), 0 2px 5px rgba(0,0,0,0.04);
}

.budget-display input {
  background: transparent;
  border: none;
  color: #000000;
  font-weight: 800;
  font-size: 1.5rem;
  width: 90px;
  text-align: right;
  outline: none;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.slider-wrapper input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 5px;
  outline: none;
  /* background image used to color the track before the thumb */
  background-image: linear-gradient(var(--accent-blue), var(--accent-blue));
  background-size: 47% 100%; /* controlled by JS */
  background-repeat: no-repeat;
}

/* Thumb style for webkit */
.slider-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border: 2px solid white;
  transition: transform 0.1s;
}

.slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  color: #9CA3AF;
  font-size: 1.1rem;
  font-family: var(--font-body);
}

.submit-budget-btn {
  background: #000000;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
  cursor: pointer;
}

.submit-budget-btn:hover {
  background: #000000;
}
