/* ============================================================
   Alti AI Chatbot Page Styles
   Minimal Black & White Theme with Inter Font
   ============================================================ */

.alti-page {
  background-color: #ffffff;
  padding-top: 76px;
}

.alti-hero-section {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid #e5e7eb;
}

.alti-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.alti-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #000000;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.alti-hero-para {
  font-size: 1.1rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.alti-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.alti-hero-pills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
}

.pill-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* Chat Widget Window Container */
.chat-widget-window {
  background: #ffffff;
  border: 2px solid #111827;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  height: 440px;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

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

.chat-avatar {
  position: relative;
  width: 36px;
  height: 36px;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.avatar-status-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

.chat-bot-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #111827;
}

.chat-bot-role {
  font-size: 0.75rem;
  color: #6b7280;
  margin-left: 6px;
}

.chat-status-text {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.chat-badge-lang {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chat-body {
  padding: 1.25rem;
  height: 290px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  display: flex;
  margin-bottom: 0.25rem;
  animation: fadeInMsg 0.3s ease;
}

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

.chat-msg-user {
  justify-content: flex-end;
}

.chat-msg-user .msg-bubble {
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 16px 16px 2px 16px;
  padding: 10px 14px;
  font-size: 0.88rem;
  max-width: 85%;
  line-height: 1.45;
}

.chat-msg-bot {
  justify-content: flex-start;
}

.chat-msg-bot .msg-bubble {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 16px 16px 16px 2px;
  padding: 10px 14px;
  font-size: 0.88rem;
  max-width: 85%;
  line-height: 1.45;
}

.msg-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 3px 8px;
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.msg-meta-alert {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 3px 8px;
  background: rgba(223, 120, 0, 0.1);
  color: var(--color-primary);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.chat-typing-row {
  padding: 0 1.25rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.typing-bubble {
  display: flex;
  gap: 4px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9ca3af;
}

.typing-text {
  font-size: 0.78rem;
  color: #6b7280;
}

.chat-footer-fake {
  padding: 10px 14px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.fake-input {
  flex-grow: 1;
  font-size: 0.85rem;
  color: #9ca3af;
}

.fake-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fake-send-btn svg {
  width: 16px;
  height: 16px;
}

/* BENEFITS SECTION */
.section-alti-benefits {
  padding: 6rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.centered-content {
  text-align: center;
  margin: 0 auto;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: #111827;
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(223, 120, 0, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* SECTION 2: CTA BANNER (MATCHES HOME PAGE CTA STYLE) */
.section-5 {
  padding: 6rem 0;
}

.cta-box {
  background: #fafafa;
  border: 2px solid #111827;
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.cta-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 14px 32px;
  font-size: 1rem;
}

@media (max-width: 992px) {
  .alti-hero-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
