/*
 * Chat Interface Styles
 * Modern glassmorphic design with refined typography
 */

/* Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove tap highlights on mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Message content typography */
[data-message-content] {
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
}

/* Smooth scrolling for messages */
.chat-messages {
  scroll-behavior: smooth;
}

/* Message bubble transitions */
.message-group {
  animation: fadeIn 0.4s ease-out;
}

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

/* Online pulse animation */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.online-pulse::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Action hints */
.action-hint {
  transition: all 0.15s ease;
  cursor: pointer;
}

.action-hint:hover {
  color: #7c3aed;
  transform: translateY(-1px);
}

/* Trust badges */
.trust-badge {
  transition: all 0.15s ease;
  opacity: 0.6;
  cursor: help;
}

.trust-badge:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Links */
.link {
  transition: all 0.15s ease;
}

.link:hover {
  color: #059669;
}

/* Glassmorphic input */
.glass-input {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

/* Input focus states */
input:focus {
  outline: none;
}

/* Button hover states */
button {
  transition: all 0.15s ease;
}

button:hover {
  transform: scale(1.05);
}

button:active {
  transform: scale(0.98);
}

/* Pricing cards */
.pricing-card {
  transition: all 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
