/* Custom Styles for Website AI Assistant Page */

.ai-hero-wrapper {
  position: relative;
  background: linear-gradient(135deg, #051630 0%, #092044 60%, #061936 100%);
  color: #ffffff;
  padding: 4rem 0 5rem 0;
  overflow: hidden;
  border-bottom: 4px solid #FF5E14;
}

/* Top-right angled orange ribbon accent */
.ai-hero-wrapper::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: #FF5E14;
  transform: rotate(45deg);
  z-index: 1;
  pointer-events: none;
}

.ai-hero-container {
  position: relative;
  z-index: 2;
}

.ai-brand-header {
  margin-bottom: 2rem;
}

.ai-hero-title {
  font-size: 3.2rem;
  font-weight: 800 !important;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.ai-hero-title span.highlight-orange {
  color: #FF5E14;
  display: block;
}

.ai-hero-subtitle {
  font-size: 1.45rem;
  font-weight: 600 !important;
  color: #e2e8f0;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.ai-hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* 4 Circular Feature Highlight Icons */
.ai-hero-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.ai-feature-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 105px;
}

.ai-feature-pill-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #FF5E14;
  background: rgba(255, 94, 20, 0.12);
  color: #FF5E14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.ai-feature-pill:hover .ai-feature-pill-icon {
  transform: translateY(-4px);
  background: #FF5E14;
  color: #ffffff;
}

.ai-feature-pill-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.25;
}

/* Action Button */
.btn-ai-cta {
  background-color: #FF5E14;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(255, 94, 20, 0.4);
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.btn-ai-cta:hover {
  background-color: #e04e09;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 94, 20, 0.55);
}

/* Floating Overlay Badge */
.ai-floating-badge {
  position: absolute;
  left: -130px;
  bottom: 60px;
  background: #081d3d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  border-radius: 16px;
  padding: 1rem 1.3rem;
  z-index: 10;
  max-width: 170px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.ai-floating-badge-icon {
  font-size: 1.6rem;
  color: #FF5E14;
  margin-bottom: 0.3rem;
}

.ai-floating-badge-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

/* Chatbot Mockup Window */
.chat-mockup-wrapper {
  position: relative;
}

.chat-mockup-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  /* overflow: hidden; */
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 440px;
  margin: 0 auto;
}

.chat-mockup-header {
  background: #071731;
  color: #ffffff;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.chat-avatar-frame {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FF5E14;
  overflow: hidden;
}

.chat-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-header-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  line-height: 1.2;
}

.chat-status-online {
  font-size: 0.8rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.chat-mockup-body {
  background: #f8fafc;
  padding: 1.4rem;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  max-width: 88%;
}

.chat-msg-bot {
  align-self: flex-start;
}

.chat-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-bubble {
  padding: 0.85rem 1.1rem;
  font-size: 0.93rem;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chat-bubble-bot {
  background: #ffffff;
  color: #1e293b;
  border-radius: 18px 18px 18px 4px;
  border: 1px solid #e2e8f0;
}

.chat-bubble-user {
  background: #091e42;
  color: #ffffff;
  border-radius: 18px 18px 4px 18px;
}

/* Typing Dots Indicator */
.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: 18px 18px 18px 4px;
  border: 1px solid #e2e8f0;
  width: fit-content;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: #64748b;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

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

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); background: #FF5E14; }
}

.chat-mockup-footer {
  background: #ffffff;
  padding: 0.9rem 1.2rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.chat-input-field {
  flex: 1;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: #475569;
  outline: none;
}

.chat-send-btn {
  background: transparent;
  border: none;
  color: #FF5E14;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  transition: transform 0.2s ease;
}

.chat-send-btn:hover {
  transform: scale(1.15);
}

.chat-floating-trigger {
  position: absolute;
  bottom: -18px;
  right: -15px;
  width: 58px;
  height: 58px;
  background: #FF5E14;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(255, 94, 20, 0.5);
  border: 3px solid #ffffff;
}


/* Middle Features Grid Section */
.ai-features-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.section-divider-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-divider-line {
  flex: 1;
  max-width: 160px;
  height: 2px;
  background-color: #e2e8f0;
}

.section-divider-heading {
  font-size: 2rem;
  font-weight: 800 !important;
  color: #061838;
  margin: 0;
  letter-spacing: -0.3px;
}

.features-grid-wrapper {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.feature-grid-item {
  padding: 2.2rem 1.8rem;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.3s ease;
  height: 100%;
}

.feature-grid-item:hover {
  background-color: #f8fafc;
}

.feature-item-icon {
  font-size: 2.2rem;
  color: #061838;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.feature-item-title {
  font-size: 1.18rem;
  font-weight: 700 !important;
  color: #061838;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.feature-item-desc {
  font-size: 0.95rem;
  color: #5F656F;
  line-height: 1.55;
  margin: 0;
}


/* Bottom CTA Banner Section */
.ai-cta-banner-wrapper {
  background: linear-gradient(135deg, #051630 0%, #0a224a 100%);
  color: #ffffff;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  border-top: 4px solid #FF5E14;
}

.ai-mascot-img {
  max-width: 240px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
}

.ai-cta-banner-title {
  font-size: 2.3rem;
  font-weight: 800 !important;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.ai-cta-banner-title span {
  color: #FF5E14;
  display: block;
}

.ai-cta-banner-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.ai-cta-banner-subdesc {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 1.8rem;
}

.ai-cta-graphic {
  position: absolute;
  right: 4%;
  bottom: 15%;
  opacity: 0.85;
  pointer-events: none;
}

.ai-cta-graphic i {
  font-size: 6rem;
  color: #FF5E14;
}


/* Responsive styles */
@media (max-width: 991px) {
  .ai-hero-title {
    font-size: 2.5rem;
  }
  .feature-grid-item {
    border-right: none;
  }
  .ai-hero-features-row {
    justify-content: center;
  }
  .section-divider-heading {
    font-size: 1.5rem;
  }
  .ai-cta-banner-wrapper {
    text-align: center;
  }
  .ai-cta-graphic {
    display: none;
  }
}

@media (max-width: 576px) {
  .ai-hero-wrapper {
    padding: 2.5rem 0 3.5rem 0;
  }
  .ai-hero-title {
    font-size: 2rem;
  }
  .ai-feature-pill {
    width: 80px;
  }
  .ai-feature-pill-icon {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
  .ai-feature-pill-label {
    font-size: 0.75rem;
  }
  .ai-hero-wrapper::after {
    position: relative;
  }
}
