/* Chatbot – floating button + panel, suggestions, CTA to form */

.chatbot-wrap {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  font-family: var(--font), system-ui, sans-serif;
}

.chatbot-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--bg);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chatbot-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
}

.chatbot-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 2rem);
  max-height: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-panel[hidden] { display: none !important; }

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}
.chatbot-header button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.25rem;
}
.chatbot-header button:hover { color: var(--text); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 120px;
  max-height: 240px;
}

.chatbot-msg {
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 85%;
}
.chatbot-msg-bot {
  background: var(--surface2);
  color: var(--text);
  align-self: flex-start;
}
.chatbot-msg-user {
  background: var(--accent-soft);
  color: var(--accent);
  align-self: flex-end;
}

.chatbot-suggestions {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.chatbot-suggestion-btn {
  padding: 0.6rem 0.9rem;
  text-align: left;
  font-size: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.chatbot-suggestion-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.chatbot-cta {
  padding: 1rem;
  border-top: 1px solid var(--border);
}
.chatbot-cta-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  transition: opacity 0.2s;
}
.chatbot-cta-btn:hover { opacity: 0.95; }

/* CTA strip */
.lp-cta-strip {
  background: linear-gradient(135deg, #0c4a6e 0%, #1e293b 100%);
  color: #fff;
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.lp-cta-strip p { margin: 0 0 1rem; font-size: 1.1rem; opacity: 0.95; }
.lp-cta-strip .btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: #0ea5e9;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.lp-cta-strip .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}
