/* =========================================================
   GLOBAL FONT + RESET
   (CEO Branding - Inter everywhere)
========================================================= */
body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  margin: 0;
  padding: 0;
  color: #1f2937;
}


/* =========================================================
   STARTER CHIP STYLING (CEO Style)
========================================================= */
.starter-chip {
  padding: 8px 18px;
  background: white;
  color: #4B0082;
  /* CEO accent purple */
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
  transition: 0.2s ease-in-out;
  cursor: pointer;
  white-space: nowrap;
}

.starter-chip:hover {
  background: #f3e8ff;
}


/* =========================================================
   RESPONSE CARDS (M35 Cognitive Engine Output)
========================================================= */
.response-card {
  background: white;
  border-radius: 18px;
  padding: 22px;
  margin-top: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.25s ease-out;
}

.response-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.response-card p {
  font-size: 1rem;
  line-height: 1.55;
  color: #444;
}


/* =========================================================
   CEO-COMPATIBLE ANIMATIONS
========================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   MOBILE TUNING — MAINTAIN CEO LOOK
========================================================= */
@media (max-width: 640px) {

  .starter-chip {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .response-card {
    padding: 18px;
  }

  .response-title {
    font-size: 1.2rem;
  }
}

/* ========================================= */
/* TINY MAGIQ TYPOGRAPHY SYSTEM (CEO STYLE)  */
/* ========================================= */

/* HERO TITLE (index.html & contact.html header) */
.tm-h1 {
  @apply text-3xl font-bold text-white;
}

/* SECTION TITLES (cards, form headings) */
.tm-h2 {
  @apply text-2xl font-semibold text-gray-900;
}

/* CEO SUBHEADLINE (Roboto, slightly larger text) */
.tm-lead {
  @apply text-lg font-roboto text-gray-700;
}

/* BODY TEXT (paragraphs, descriptions) */
.tm-body {
  @apply text-sm text-gray-600 leading-relaxed;
}

/* FORM LABELS + METADATA LABELS */
.tm-label {
  @apply text-xs font-medium text-gray-500 uppercase tracking-wide;
}

/* UI ELEMENT TEXT (buttons, chips, small actions) */
.tm-ui {
  @apply text-sm font-medium;
}

/* ----------------------------------------- */
/* TM Hover Animations for Conversational Chips */
/* ----------------------------------------- */

.starter-chip {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.starter-chip:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.25);
  /* subtle lift */
  box-shadow: 0 3px 12px rgba(80, 40, 180, 0.25);
  /* soft TM glow */
}

/* =========================================================
   ENHANCED UI/UX ANIMATIONS
========================================================= */

/* Skeleton Loader */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.skeleton-loader {
  background: linear-gradient(90deg,
      #f0f0f0 25%,
      #e0e0e0 50%,
      #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.4s ease-out;
}

/* Slide In Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

/* Typing Indicator */
@keyframes typing {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }
}

.typing-dot {
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Pulse Animation */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

/* Card Hover Effect */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-info {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.badge-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

/* Copy Button */
.copy-button {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.copy-button-container:hover .copy-button {
  opacity: 1;
}

/* Smooth Scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile Dropdown Styling */
#topic-dropdown {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

#topic-dropdown:focus {
  background-color: rgba(255, 255, 255, 0.4);
}

#topic-dropdown option {
  background-color: white;
  color: #1f2937;
  padding: 0.5rem;
}