/* ==========================================================================
   AI Chatbot — Theme Colors (Elite Technocrats)
   ========================================================================== */
:root {
  --ai-primary: #144378;
  --ai-primary-dark: #113e71;
  --ai-accent: #0dafec;
  --ai-accent-light: #05afef;
  --ai-accent-deep: #0089ef;
  --ai-title: #144378;
  --ai-text: #1c497c;
  --ai-text-muted: #4a6d8c;
  --ai-btn-bg: #144378;
  --ai-btn-hover: #0dafec;
  --ai-bg-tint: #eef9fd;
  --ai-bg-tint-mid: #e8f6fc;
  --ai-border: #c5e8f7;
  --ai-shadow: rgba(20, 67, 120, 0.12);
  --ai-shadow-accent: rgba(13, 175, 236, 0.25);
}

/* ==========================================================================
   Shared Buttons
   ========================================================================== */

.ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: var(--ai-btn-bg);
  border-radius: 50px;
  box-shadow: 0 6px 18px var(--ai-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ai-btn:hover,
.ai-btn:focus {
  color: #fff;
  text-decoration: none;
  background: var(--ai-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--ai-shadow-accent);
}

.ai-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  color: var(--ai-primary);
  font-size: 12px;
}

.ai-feature-box .ai-btn {
  align-self: flex-start;
  margin-top: 24px;
  padding: 8px 20px;
}

/* ==========================================================================
   AI Chatbot — Hero Section
   ========================================================================== */

.ai-chatbot-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 70px;
  background: linear-gradient(160deg, var(--ai-bg-tint) 0%, #ffffff 50%, var(--ai-bg-tint-mid) 100%);
}

.ai-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ai-hero-swoosh {
  position: absolute;
  border-radius: 50%;
}

.ai-hero-swoosh--1 {
  width: 560px;
  height: 560px;
  top: -140px;
  right: -100px;
  background: radial-gradient(circle, rgba(13, 175, 236, 0.12) 0%, transparent 68%);
}

.ai-hero-swoosh--2 {
  width: 420px;
  height: 420px;
  bottom: -80px;
  left: 25%;
  background: radial-gradient(circle, rgba(13, 175, 236, 0.08) 0%, transparent 70%);
}

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

/* ---- Left column ---- */

.ai-hero-content {
  padding-right: 24px;
  margin-bottom: 48px;
}

.ai-hero-badge {
  display: inline-block;
  padding: 8px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ai-accent-deep);
  background: rgba(5, 175, 239, 0.15);
  border-radius: 50px;
  letter-spacing: 0.01em;
}

.ai-hero-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ai-title);
}

.ai-hero-title-accent {
  display: block;
  margin-top: 6px;
  color: var(--ai-accent);
}

.ai-hero-desc {
  margin: 0 0 32px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ai-text);
}

/* ---- Right column — chat mockup ---- */

.ai-hero-visual {
  display: flex;
  justify-content: center;
}

.ai-chat-mockup {
  position: relative;
  width: 100%;
  max-width: 580px;
  overflow: visible;
}

/* Chat window */

.ai-chat-window {
  position: relative;
  z-index: 2;
  padding: 22px 24px 80px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.04),
    0 24px 60px var(--ai-shadow-accent);
}

.ai-chat-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f7;
}

.ai-chat-window-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.ai-chat-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ai-accent);
}

.ai-chat-window-dots span:nth-child(2) {
  background: var(--ai-accent-light);
  opacity: 0.7;
}

.ai-chat-window-dots span:nth-child(3) {
  background: var(--ai-border);
  opacity: 1;
}

.ai-chat-title {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ai-title);
  line-height: 1.3;
}

.ai-chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--ai-text-muted);
}

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

.ai-chat-body {
  margin-bottom: 18px;
}

.ai-chat-message {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ai-chat-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 24px;
  color: #fff;
  background: var(--ai-accent);
  border-radius: 50%;
  box-shadow: 0 6px 18px var(--ai-shadow-accent);
}

.ai-chat-bubble {
  flex: 1;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 6px 18px 18px 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.ai-chat-bubble p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ai-text);
}

.ai-chat-input {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 5px 5px 5px 20px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ai-chat-input input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #334155;
  outline: none;
  height:  auto !important;
  padding: 0 !important;
}

.ai-chat-input input::placeholder {
  color: var(--ai-accent-light);
  opacity: 1;
}

.ai-chat-send {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--ai-accent);
  color: #fff;
  font-size: 14px;
  cursor: default;
  box-shadow: 0 4px 12px var(--ai-shadow-accent);
}

/* Feature cards — layered under chat window, icons above */

.ai-feature-strip {
  display: flex;
  gap: 12px;
  margin-top: -58px;
  padding: 0 6px;
  position: relative;
}

.ai-feature-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: center;
  padding: 12px 12px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
  position: relative;
  z-index: 99;
}

.ai-feature-icon {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #fff;
  background: var(--ai-accent);
  border-radius: 50%;
  box-shadow: 0 6px 18px var(--ai-shadow-accent);
}


.ai-feature-card-inner h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ai-title);
  line-height: 1.3;
}

.ai-feature-card-inner p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ai-text-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 992px) {
  .ai-hero-content {
    margin-bottom: 15px;
    padding-right: 48px;
  }

  .ai-hero-visual {
    justify-content: flex-end;
  }
}

@media (max-width: 991.98px) {
  .ai-hero-content {
    text-align: center;
    padding-right: 15px;
    margin-bottom: 15px;
  }

  .ai-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .ai-hero-visual {
    margin-top: 12px;
  }

  .ai-chat-mockup {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .ai-chatbot-hero {
    padding: 40px 0 40px;
  }

  .ai-hero-badge {
    font-size: 12px;
    padding: 7px 14px;
  }

  .ai-hero-desc {
    font-size: 15px;
  }

  .ai-chat-window {
    padding: 18px 18px 16px;
    border-radius: 20px;
  }

  .ai-chat-bubble p {
    font-size: 12.5px;
  }

  .ai-feature-strip {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
  }

  .ai-feature-card-inner h4 {
    font-size: 15px;
  }

  .ai-feature-card-inner p {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .ai-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .ai-chat-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ai-chat-title {
    order: 3;
    flex: 0 0 100%;
    font-size: 15px;
  }

  .ai-chat-status {
    margin-left: auto;
  }

  .ai-chat-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .ai-chat-message {
    gap: 10px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .ai-feature-strip {
    flex-direction: row;
    margin-top: -48px;
    gap: 10px;
  }

  .ai-feature-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .ai-feature-card-inner h4 {
    font-size: 11px;
  }

  .ai-feature-card-inner p {
    font-size: 10px;
  }
}

/* ==========================================================================
   Section 2 — Human-like Chatbot
   ========================================================================== */

.ai-human-section {
  position: relative;
  padding: 70px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--ai-bg-tint) 50%, #ffffff 100%);
}

.ai-human-header {
  max-width: 920px;
  margin: 0 auto 52px;
  text-align: center;
}

.ai-human-title {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  font-weight: 600;
  line-height: 1.28;
  color: var(--ai-title);
}

.ai-human-title-accent {
  color: var(--ai-accent);
}

.ai-human-subtitle {
  margin: 0 auto 20px;
  max-width: 780px;
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ai-title);
}

.ai-human-desc {
  margin: 0 auto;
  max-width: 860px;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
  color: var(--ai-text);
}

.ai-human-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}

.ai-human-video-frame {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: 880px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 20px;
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.04),
    0 28px 70px var(--ai-shadow-accent);
  overflow: hidden;
}

.ai-human-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  vertical-align: middle;
  background: #0f172a;
}

/* Decorative side icons */

.ai-human-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.ai-human-deco--left {
  left: -48px;
}

.ai-human-deco--right {
  right: -48px;
}

.ai-deco-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 24px;
  color: var(--ai-accent);
  background: rgba(5, 175, 239, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 24px var(--ai-shadow-accent);
}

.ai-deco-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.ai-deco-stack span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.45);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.ai-deco-stack span:nth-child(1) {
  width: 36px;
}

.ai-deco-stack span:nth-child(2) {
  width: 44px;
}

.ai-deco-stack span:nth-child(3) {
  width: 52px;
}

.ai-deco-server {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-deco-server span {
  display: block;
  width: 48px;
  height: 14px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.4);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.ai-deco-server span::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: 4px 0 0 6px;
  border-radius: 50%;
  background: rgba(13, 175, 236, 0.5);
}

/* Section 2 — Responsive */

@media (max-width: 1199.98px) {
  .ai-human-deco--left {
    left: -24px;
  }

  .ai-human-deco--right {
    right: -24px;
  }

  .ai-deco-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

@media (max-width: 991.98px) {
  .ai-human-section {
    padding: 60px 0 80px;
  }

  .ai-human-header {
    margin-bottom: 40px;
  }

  .ai-human-deco {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .ai-human-section {
    padding: 40px 0 40px;
  }

  .ai-human-header {
    margin-bottom: 32px;
  }

  .ai-human-video-frame {
    padding: 6px;
    border-radius: 16px;
  }

  .ai-human-video {
    border-radius: 10px;
  }
}

@media (max-width: 575.98px) {
  .ai-human-section {
    padding: 40px 0 40px;
  }

  .ai-human-desc {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* ==========================================================================
   Features Section — 3 Cards
   ========================================================================== */

.ai-features-section {
  padding: 70px 0;
  background: var(--ai-bg-tint);
}

.ai-features-section .container-fluid {
  max-width: 1480px;
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 auto;
}

.ai-features-row {
  row-gap: 32px;
}

.ai-features-col {
  display: flex;
}

.ai-feature-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 30px 25px 35px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ai-feature-box:hover {
  box-shadow: 0 12px 40px var(--ai-shadow-accent);
  transform: translateY(-3px);
}

.ai-feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ai-accent);
  background: rgba(5, 175, 239, 0.12);
  border-radius: 12px;
}

.ai-feature-box-title {
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  font-weight: 600;
  line-height: 1.38;
  color: var(--ai-title);
  letter-spacing: -0.01em;
}

.ai-feature-box-title span {
  color: var(--ai-accent);
}

.ai-feature-box-desc {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ai-text);
}

.ai-feature-box-img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 28px;
  padding: 0px;
}

.ai-feature-box-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.ai-feature-list {
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid #eef2f7;
}

.ai-feature-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ai-title);
}

.ai-feature-list li:last-child {
  margin-bottom: 0;
}

.ai-feature-list li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 11px;
  color: #fff;
  background: var(--ai-accent);
  border-radius: 50%;
  box-shadow: 0 3px 8px var(--ai-shadow-accent);
}

/* Features — Responsive */

@media (max-width: 991.98px) {
  .ai-features-section {
    padding: 70px 0;
  }

  .ai-features-row {
    row-gap: 28px;
  }

  .ai-feature-box {
    padding: 30px 26px 28px;
  }

  .ai-feature-box-title {
    font-size: 1.25rem;
  }

  .ai-feature-box-desc {
    font-size: 15.5px;
  }

  .ai-feature-box-img {
    min-height: 190px;
  }

  .ai-feature-list li {
    font-size: 15px;
  }
}

@media (max-width: 767.98px) {
  .ai-features-section {
    padding: 40px 0;
  }

  .ai-features-section .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ai-feature-box:hover {
    transform: none;
  }

  .ai-feature-box-img {
    min-height: 170px;
    margin-bottom: 24px;
    padding: 16px;
  }

  .ai-feature-box-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .ai-feature-list {
    padding-top: 20px;
  }

  .ai-feature-list li {
    font-size: 14.5px;
    margin-bottom: 14px;
  }
}

@media (max-width: 575.98px) {
  .ai-features-section {
    padding: 40px 0;
  }

  .ai-feature-box {
    padding: 26px 22px 24px;
    border-radius: 16px;
  }

  .ai-feature-num {
    width: 44px;
    height: 44px;
    font-size: 15px;
    margin-bottom: 18px;
  }

  .ai-feature-box-title {
    font-size: 1.15rem;
    margin-bottom: 14px;
  }

  .ai-feature-box-desc {
    font-size: 14.5px;
    margin-bottom: 20px;
  }

  .ai-feature-list li {
    font-size: 14px;
    padding-left: 32px;
  }

  .ai-feature-list li::before {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .ai-feature-box .ai-btn {
    width: auto;
    justify-content: center;
    margin-top: 20px;
  }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.ai-cta-section {
  padding: 56px 0 56px;
  background: #fff;
}

.ai-cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 36px;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--ai-bg-tint) 0%, #ffffff 50%, var(--ai-bg-tint) 100%);
  border: 1px solid var(--ai-border);
  box-shadow: 0 4px 24px var(--ai-shadow);
  overflow: hidden;
}

.ai-cta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  text-align: center;
}

.ai-cta-title {
  margin: 0 0 18px;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ai-title);
}

/* Decorative illustrations */

.ai-cta-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.ai-cta-deco--left {
  left: 20px;
}

.ai-cta-deco--right {
  right: 20px;
}

/* Left — isometric server stack */

.ai-cta-server {
  position: relative;
  display: block;
  width: 60px;
  height: 68px;
  transform: scale(0.85) rotateX(55deg) rotateZ(-35deg);
  transform-style: preserve-3d;
}

.ai-cta-server-block {
  position: absolute;
  left: 50%;
  display: block;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--ai-bg-tint-mid) 0%, var(--ai-accent-light) 100%);
  box-shadow: 0 4px 12px var(--ai-shadow);
}

.ai-cta-server-block::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ai-accent);
  box-shadow: 12px 0 0 var(--ai-accent-light), 24px 0 0 var(--ai-primary);
}

.ai-cta-server-block--top {
  bottom: 40px;
  width: 44px;
  height: 16px;
  margin-left: -22px;
}

.ai-cta-server-block--mid {
  bottom: 22px;
  width: 50px;
  height: 18px;
  margin-left: -25px;
}

.ai-cta-server-block--base {
  bottom: 0;
  width: 56px;
  height: 20px;
  margin-left: -28px;
}

/* Right — shield on platform */

.ai-cta-shield-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ai-cta-shield-base {
  display: block;
  width: 48px;
  height: 10px;
  margin-top: -3px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--ai-bg-tint) 0%, var(--ai-bg-tint-mid) 100%);
  box-shadow: 0 3px 10px var(--ai-shadow);
  transform: perspective(120px) rotateX(25deg);
}

.ai-cta-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 20px;
  color: var(--ai-accent);
  background: linear-gradient(145deg, var(--ai-bg-tint) 0%, var(--ai-bg-tint-mid) 100%);
  border-radius: 50%;
  box-shadow: 0 6px 18px var(--ai-shadow-accent);
}

/* CTA — Desktop compact row */

@media (min-width: 992px) {
  .ai-cta-banner {
    padding: 24px 100px;
  }

  .ai-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 100%;
    text-align: left;
  }

  .ai-cta-title {
    margin: 0;
    flex: 1;
  }

  .ai-cta-content .ai-btn {
    flex-shrink: 0;
  }
}

/* CTA — Responsive */

@media (max-width: 991.98px) {
  .ai-cta-section {
    padding: 40px 0 40px;
  }

  .ai-cta-banner {
    padding: 24px 28px;
  }

  .ai-cta-deco {
    opacity: 0.2;
  }

  .ai-cta-deco--left {
    left: 8px;
  }

  .ai-cta-deco--right {
    right: 8px;
  }

  .ai-cta-server {
    transform: scale(0.7) rotateX(55deg) rotateZ(-35deg);
  }

  .ai-cta-shield {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
}

@media (max-width: 767.98px) {
  .ai-cta-section {
    padding: 40px 0 40px;
  }

  .ai-cta-banner {
    padding: 22px 20px;
    border-radius: 14px;
  }

  .ai-cta-deco {
    display: none;
  }

  .ai-cta-title {
    margin-bottom: 16px;
  }
}

@media (max-width: 575.98px) {
  .ai-cta-section {
    padding: 40px 0 40px;
  }

  .ai-cta-banner {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .ai-cta-title {
    font-size: 1.05rem;
    margin-bottom: 14px;
  }

  .ai-cta-content .ai-btn {
    white-space: normal;
  }
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ai-chatbot-hero {
        padding: 50px 0 50px;
    }
    .ai-human-section {
        padding: 50px 0 50px;
    }
    .ai-features-section {
        padding: 50px 0;
    }
}


@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .ai-chatbot-hero {
        padding: 50px 0 50px;
    }
    .ai-human-section {
        padding: 50px 0 50px;
    }
    .ai-features-section {
        padding: 50px 0;
    }
    .ai-hero-title {
        font-size: clamp(2rem, 3.5vw, 3.15rem);
    }
    .ai-human-title {
        font-size: clamp(1.75rem, 3.2vw, 2.65rem);
    }
}


@media only screen and (min-width: 1200px) and (max-width: 1440px) {
    .ai-chatbot-hero {
        padding: 50px 0 50px;
    }
    .ai-hero-title {
        font-size: clamp(2rem, 3.5vw, 3.15rem);
    }
    .ai-human-title {
        font-size: clamp(1.75rem, 3.2vw, 2.65rem);
    }
    .ai-human-section {
        padding: 50px 0 70px;
    }
    .ai-features-section {
        padding: 60px 0;
    }
}

/* ==========================================================================
   AI Chatbot Detail Page
   ========================================================================== */

.ai-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background: linear-gradient(160deg, var(--ai-bg-tint) 0%, #ffffff 52%, var(--ai-bg-tint-mid) 100%);
}

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

.ai-detail-hero-content {
  padding-right: 24px;
  margin-bottom: 40px;
}

.ai-detail-hero-title {
  margin: 0 0 20px;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--ai-title);
}

.ai-detail-hero-title .ai-hero-title-accent {
  display: inline;
  color: var(--ai-accent);
}

.ai-detail-hero-lead {
  margin: 0 0 28px;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ai-text);
}

.ai-detail-hero-visual {
  display: flex;
  justify-content: center;
}

.ai-detail-hero-img-wrap {
  width: 100%;
  max-width: 560px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--ai-border);
  border-radius: 20px;
  box-shadow: 0 16px 48px var(--ai-shadow);
}

.ai-detail-hero-img-wrap img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

/* AI detail pages — larger hero image (chatbot, agents, forecasting) */
.ai-detail-hero--featured {
  padding: 48px 0 72px;
  overflow: visible;
}


.ai-detail-hero--featured .ai-detail-hero-row {
  --bs-gutter-x: 2rem;
}

.ai-detail-hero--featured .ai-detail-hero-content {
  padding-right: 12px;
}

.ai-detail-hero--featured .ai-detail-hero-title {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
}

.ai-detail-hero--featured .ai-detail-hero-lead {
  max-width: 100%;
  font-size: clamp(15px, 1.6vw, 17px);
}

.ai-detail-hero--featured .ai-detail-hero-visual {
  justify-content: center;
  width: 100%;
}

.ai-detail-hero--featured .ai-detail-hero-img-wrap {
  width: 100%;
  max-width: none;
  padding: 8px;
  margin: 0 auto;
}

.ai-detail-hero--featured .ai-detail-hero-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 992px) {
  .ai-detail-hero--featured .ai-detail-hero-content {
    margin-bottom: 0;
    padding-right: 20px;
  }

  .ai-detail-hero--featured .ai-detail-hero-visual {
    justify-content: flex-end;
  }
}

@media (min-width: 1441px) {
  .ai-detail-hero--featured .ai-detail-hero-container {
    max-width: 1360px;
  }

  .ai-detail-hero--featured .ai-detail-hero-row {
    --bs-gutter-x: 2.5rem;
  }

  .ai-detail-hero--featured .ai-detail-hero-img-wrap {
    padding: 6px;
  }
}

@media (max-width: 991.98px) {

  .ai-detail-hero--featured .ai-detail-hero-content {
    margin-bottom: 32px;
    padding-right: 0;
    text-align: center;
  }

  .ai-detail-hero--featured .ai-detail-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .ai-detail-hero--featured .ai-detail-hero-img-wrap {
    max-width: 640px;
    transform: none;
  }
}

.ai-detail-content {
  padding: 64px 0 72px;
  background: #fff;
}

.ai-detail-prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ai-text);
}

.ai-detail-prose p {
  margin: 0 0 22px;
}

.ai-detail-prose p:last-child {
  margin-bottom: 0;
}

.ai-query-highlight {
  margin: 36px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--ai-bg-tint) 0%, #fff 100%);
  border: 1px solid var(--ai-border);
  border-left: 4px solid var(--ai-accent);
  border-radius: 16px;
  box-shadow: 0 8px 28px var(--ai-shadow);
}

.ai-query-highlight-title {
  margin: 0 0 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ai-title);
}

.ai-query-highlight-title i {
  margin-right: 10px;
  color: var(--ai-accent);
}

.ai-query-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.ai-query-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--ai-title);
}

.ai-query-list li::before {
  content: "\f10d";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 13px;
  color: var(--ai-accent);
  font-style: normal;
}

.ai-query-note {
  margin: 8px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--ai-border);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ai-text-muted);
}

.ai-section-heading {
  margin-bottom: 44px;
}

.ai-section-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ai-accent-deep);
  background: rgba(5, 175, 239, 0.12);
  border-radius: 50px;
}

.ai-section-title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ai-title);
}

.ai-section-desc {
  max-width: 680px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ai-text-muted);
}

.ai-capabilities-section {
  padding: 72px 0;
  background: var(--ai-bg-tint);
}

.ai-capabilities-grid {
  row-gap: 24px;
}

.ai-capability-card {
  height: 100%;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-capability-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--ai-shadow-accent);
}

.ai-capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  font-size: 20px;
  color: var(--ai-accent);
  background: rgba(5, 175, 239, 0.12);
  border-radius: 12px;
}

.ai-capability-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ai-title);
}

.ai-capability-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ai-text-muted);
}

.ai-benefits-section {
  padding: 72px 0;
  background: #fff;
}

.ai-benefits-grid {
  row-gap: 20px;
}

.ai-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 148px;
  padding: 24px 18px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--ai-bg-tint) 100%);
  border: 1px solid var(--ai-border);
  border-radius: 16px;
  box-shadow: 0 4px 18px var(--ai-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ai-benefit-card:hover {
  transform: translateY(-2px);
  border-color: var(--ai-accent);
}

.ai-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--ai-primary) 0%, var(--ai-accent) 100%);
  border-radius: 50%;
  box-shadow: 0 6px 16px var(--ai-shadow-accent);
}

.ai-benefit-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ai-title);
}

@media (max-width: 991.98px) {
  .ai-detail-hero {
    padding: 40px 0 40px;
  }

  .ai-detail-hero-content {
    margin-bottom: 32px;
    padding-right: 0;
    text-align: center;
  }

  .ai-detail-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .ai-detail-content {
    padding: 40px 0 40px;
  }

  .ai-query-highlight {
    padding: 22px 20px;
  }

  .ai-capabilities-section,
  .ai-benefits-section {
    padding: 40px 0;
  }
}

@media (max-width: 767.98px) {
  .ai-detail-hero-title {
    font-size: 1.65rem;
  }

  .ai-detail-hero-lead {
    font-size: 15px;
  }

  .ai-detail-prose {
    font-size: 15px;
    line-height: 1.75;
  }

  .ai-capability-card:hover,
  .ai-benefit-card:hover {
    transform: none;
  }

  .ai-section-heading {
    margin-bottom: 32px;
  }
}

/* ==========================================================================
   AI Agents Detail Page — Platforms & Use Cases
   ========================================================================== */

.ai-workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 28px;
}

.ai-workflow-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ai-title);
  break-inside: avoid;
}

.ai-workflow-list li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 12px;
  color: var(--ai-accent);
}

.ai-platforms-section {
  padding: 72px 0;
  background: var(--ai-bg-tint);
}

.ai-platform-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.ai-platform-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ai-title);
  background: #fff;
  border: 1px solid var(--ai-border);
  border-radius: 50px;
  box-shadow: 0 2px 10px var(--ai-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-platform-tag:hover {
  transform: translateY(-2px);
  border-color: var(--ai-accent);
  box-shadow: 0 6px 18px var(--ai-shadow-accent);
}

.ai-industries-section .ai-platform-tag i {
  margin-right: 8px;
  font-size: 14px;
  color: var(--ai-accent);
}

.ai-usecases-section {
  padding: 0px 0 72px 0;
  background: #fff;
}

.ai-usecases-grid {
  row-gap: 24px;
}

.ai-usecase-card {
  height: 100%;
  padding: 28px 24px;
  background: linear-gradient(180deg, #fff 0%, var(--ai-bg-tint) 100%);
  border: 1px solid #e8edf3;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ai-usecase-card:hover {
  transform: translateY(-3px);
  border-color: var(--ai-accent);
  box-shadow: 0 12px 32px var(--ai-shadow-accent);
}

.ai-usecase-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--ai-primary) 0%, var(--ai-accent) 100%);
  border-radius: 14px;
  box-shadow: 0 6px 16px var(--ai-shadow-accent);
}

.ai-usecase-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ai-title);
}

.ai-usecase-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ai-text-muted);
}

@media (max-width: 991.98px) {
  .ai-platforms-section,
  .ai-usecases-section {
    padding: 40px 0;
  }

  .ai-usecases-section {
    padding-top: 0px;
  }

  .ai-workflow-list {
    columns: 1;
  }
}

@media (max-width: 767.98px) {
  .ai-platform-tag {
    font-size: 13px;
    padding: 8px 16px;
  }

  .ai-usecase-card:hover,
  .ai-platform-tag:hover {
    transform: none;
  }
}

/* ==========================================================================
   AI Services — page load animations
   ========================================================================== */

.ai-services-page .ai-load-fade,
.ai-chatbot-page .ai-load-fade,
.ai-agents-page .ai-load-fade,
.ai-forecasting-page .ai-load-fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.ai-services-page .ai-load-fade--right,
.ai-chatbot-page .ai-load-fade--right,
.ai-agents-page .ai-load-fade--right,
.ai-forecasting-page .ai-load-fade--right {
  transform: translateX(28px);
}

.ai-services-page .ai-load-fade--scale,
.ai-chatbot-page .ai-load-fade--scale,
.ai-agents-page .ai-load-fade--scale,
.ai-forecasting-page .ai-load-fade--scale {
  transform: scale(0.97);
}

.ai-services-page.ai-page-ready .ai-load-fade,
.ai-chatbot-page.ai-page-ready .ai-load-fade,
.ai-agents-page.ai-page-ready .ai-load-fade,
.ai-forecasting-page.ai-page-ready .ai-load-fade {
  opacity: 1;
  transform: none;
}

.ai-services-page .ai-load-delay-1,
.ai-chatbot-page .ai-load-delay-1,
.ai-agents-page .ai-load-delay-1,
.ai-forecasting-page .ai-load-delay-1 { transition-delay: 0.08s; }
.ai-services-page .ai-load-delay-2,
.ai-chatbot-page .ai-load-delay-2,
.ai-agents-page .ai-load-delay-2,
.ai-forecasting-page .ai-load-delay-2 { transition-delay: 0.16s; }
.ai-services-page .ai-load-delay-3,
.ai-chatbot-page .ai-load-delay-3,
.ai-agents-page .ai-load-delay-3,
.ai-forecasting-page .ai-load-delay-3 { transition-delay: 0.24s; }
.ai-services-page .ai-load-delay-4,
.ai-chatbot-page .ai-load-delay-4,
.ai-agents-page .ai-load-delay-4,
.ai-forecasting-page .ai-load-delay-4 { transition-delay: 0.32s; }
.ai-services-page .ai-load-delay-5,
.ai-chatbot-page .ai-load-delay-5,
.ai-agents-page .ai-load-delay-5,
.ai-forecasting-page .ai-load-delay-5 { transition-delay: 0.4s; }
.ai-services-page .ai-load-delay-6,
.ai-chatbot-page .ai-load-delay-6,
.ai-agents-page .ai-load-delay-6,
.ai-forecasting-page .ai-load-delay-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .ai-services-page .ai-load-fade,
  .ai-chatbot-page .ai-load-fade,
  .ai-agents-page .ai-load-fade,
  .ai-forecasting-page .ai-load-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}