html { scroll-behavior: smooth; }
.solution-card {
  transition: transform 0.5s ease;
}
.solution-card:hover {
  transform: translate3D(0, -1px, 0) scale(1.1);
  transition: transform 0.4s ease;
}
#main-nav { transition: background-color 0.2s ease, backdrop-filter 0.2s ease; }
body { font-family: 'Albert Sans', sans-serif; }
h1, h2, h3, h4 { font-family: 'Merriweather', serif; }
.hero-section {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}
.hero-ellipse {
  position: absolute;
  top: -554px;
  left: 515px;
  width: 1340px;
  height: 1340px;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  animation: ellipsePulse 4s ease-in-out infinite;
}
@keyframes ellipsePulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; }
}
.news-banner-gradient {
  background: #e9e2e9;
}
.cta-gradient {
  background: linear-gradient(135deg, #f3e8ff 0%, #fde8d8 50%, #fce4ec 100%);
}
.platform-card {
  transition: box-shadow 0.3s ease;
  will-change: box-shadow;
}
.platform-card:hover {
  box-shadow: 6px 6px 40px 0px #F2B94BB2, -6px -6px 40px 0px #B662A6B2;
}
/* ========== SHARED CARD HOVER BEHAVIOR ========== */
.hw-card,
.unlock-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
  cursor: pointer;
}
@media (min-width: 768px) {
  .hw-card,
  .unlock-card {
    box-shadow: 0px 4px 40px 0px #361637;
  }
  .hw-card:hover,
  .unlock-card:hover {
    transform: scale(1.12);
    box-shadow: 6px 6px 40px 0px #F2B94BB2, -6px -6px 40px 0px #B662A6B2;
    position: relative;
    z-index: 10;
  }
}

/* ========== UNLOCK CARD CHILD EFFECTS ========== */
.unlock-card .unlock-icon-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.unlock-card .unlock-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-color: transparent;
  transition: background-color 0.3s ease;
  pointer-events: none;
}
@media (min-width: 768px) {
  .unlock-card:hover .unlock-icon-wrap::after {
    background-color: #F2B94B33;
  }
}
.unlock-card .unlock-last-word {
  transition: color 0.3s ease, font-weight 0.3s ease;
}
@media (min-width: 768px) {
  .unlock-card:hover .unlock-last-word {
    color: #F2B94B;
    font-weight: 700;
  }
}
.tab-active {
  color: #5B245C;
  border-bottom: 2px solid #5B245C;
}

/* ========== CHAT CARD STYLES ========== */
.chat-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  font-family: 'Albert Sans', sans-serif;
}

.chat-topbar {
  background: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}

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

.chat-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-brand-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}

.chat-brand-sub {
  font-size: 12px;
  color: #888;
  line-height: 1;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.chat-body {
  background: #f8f9fa;
  padding: 20px;
  height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

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

.chat-msg.user .chat-avatar-sm {
  order: 1;
}

.chat-msg.user .chat-bubble {
  order: 0;
}

.chat-avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.chat-msg.user .chat-avatar-sm {
  background: #e2e8f0;
  color: #475569;
}

.chat-msg.ai .chat-avatar-sm {
  background: #1a3a5c;
  color: #ffffff;
}

.chat-bubble {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 280px;
  word-wrap: break-word;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-msg.user .chat-bubble {
  background: #5B245C;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-msg.ai .chat-bubble {
  border-bottom-left-radius: 4px;
}

.chat-input-bar {
  background: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
}

.chat-input-fake {
  flex: 1;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 14px;
  color: #94a3b8;
  cursor: text;
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  background: #1a3a5c;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.chat-send-btn:hover {
  background: #2d4a66;
}
}
.tab-inactive {
  color: #737373;
  border-bottom: 2px solid transparent;
}
.tab-inactive:hover {
  color: #5B245C;
}
