body {
  font-family: "Averta", sans-serif;
  overflow-x: hidden; /* reinforce no horizontal scroll site-wide */
}

.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-wrap {
  position: relative;
  display: inline-block;
}
#typing-text {
  position: absolute;
  left: 0;
  top: 0;
  white-space: normal;
}
.typing-ghost {
  visibility: hidden;
  white-space: normal;
  display: block;
}

.typing-animation {
  border-right: 2px solid #667eea;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    border-color: #667eea;
  }
  51%,
  100% {
    border-color: transparent;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.btn-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: scale(1.05);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.voice-tab {
  transition: all 0.3s ease;
  cursor: pointer;
}

.voice-tab:hover {
  transform: scale(1.05);
}

.voice-tab.active {
  transform: scale(1.1);
  z-index: 10;
}

.ai-voices-agents-row {
  display: flex;
  gap: 40px;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 0px;
}

@media (min-width: 1300px) and (max-width: 1699px) {
  .ai-voices-agents-row {
    gap: 20px;
  }
}

.ai-voices-agents-box {
  position: relative;
  flex: 0 1 16%;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: #c2e8f1;
  box-shadow: 0px 0px 50px 5px #4f598a0d;
  border-radius: 40px;
  height: 395px;
  display: flex;
  overflow: hidden;
  align-items: stretch;
}

.ai-voices-agents-box.open {
  flex: 0 1 52%;
}

.ai-voices-agents-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 60px 10px #4f598a15;
}

.voice-agent-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-voices-agents-box.open .voice-agent-image {
  width: 160px;
  flex-shrink: 0;
}

.voice-agent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-voices-agents-box:not(.open) .voice-agent-image img {
  border-radius: 20px;
  object-fit: cover;
}

.voice-agent-name {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 20px;
  padding: 8px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-voices-agents-box.open .voice-agent-name {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.voice-demo-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-voices-agents-box.open .voice-demo-content {
  opacity: 1;
  transform: translateX(0);
}

.ai-voices-agents-box:not(.open) .voice-demo-content {
  display: none;
}

.audio-player {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.play-button:hover {
  background: white;
  transform: scale(1.1);
}

.audio-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  width: 0%;
  transition: width 0.1s linear;
}

.download-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.download-button:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Added styles for playing state */
.play-button.playing {
  background: rgba(255, 255, 255, 1);
}

.play-button.playing svg {
  display: none;
}

.play-button.playing::after {
  content: "";
  width: 6px;
  height: 6px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 1px;
  margin-right: 3px;
  animation: pulse 0.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Smarter Conversations Section */
.smarter-conversations-area {
  background: #eceefd;
}

.smarter-conversations-area-in {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.smarter-conversations-title {
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
}

.smarter-conversations-box {
  box-shadow: 0px 5px 5px 0px #00000008;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 40px;
  padding: 40px 25px 40px 35px;
  transition: all 0.3s ease;
}

.smarter-conversations-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 25px 0px #00000015;
}

.smarter-conversations-box img {
  max-width: 80px;
  margin-bottom: 20px;
}

.font-25 {
  font-weight: 500;
  font-size: 25px;
  line-height: 30px;
  letter-spacing: -1.5px;
  color: #24242d;
  padding-bottom: 15px;
  padding-top: 20px;
}

.font-22 {
  color: #535367;
  font-weight: 400;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -1.32px;
}

.smarter-conversations-box p.font-22 {
  line-height: 25px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .smarter-conversations-area-in {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .smarter-conversations-title {
    grid-column: 1 / -1;
    grid-row: auto;
    text-align: center;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .smarter-conversations-area-in {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .smarter-conversations-box {
    padding: 30px 20px;
  }

  .font-25 {
    font-size: 22px;
    line-height: 28px;
  }

  .font-22 {
    font-size: 18px;
    line-height: 24px;
  }
}

/* Industries Mega Menu Styles */
.mega-menu {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 64px; /* below fixed nav */
  width: min(1100px, calc(100% - 2rem));
  z-index: 60;
  display: block;
}

.mega-menu.hidden {
  display: none;
}

.mega-inner {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  padding: 28px;
}

.mega-heading {
  color: #10b98100; /* keep spacing reserved if themed later */
  color: #6366f1;
  font-weight: 700;
  font-size: 20px;
  margin: 4px 4px 20px 4px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 20px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mega-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #e3e3e3;
}

.mega-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff; /* light primary tint */
  flex-shrink: 0;
}

.mega-icon svg {
  width: 26px;
  height: 26px;
}

.mega-content {
  display: flex;
  flex-direction: column;
}

.mega-title {
  color: #24242d;
  font-weight: 600;
  line-height: 1.2;
}

.mega-desc {
  color: #535367;
  font-size: 14px;
  line-height: 1.4;
}

.mega-footer {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.mega-view-more {
  color: #6366f1;
  font-weight: 600;
  text-decoration: none;
}

.mega-view-more:hover {
  text-decoration: underline;
}

/* Responsive behavior */
@media (max-width: 1024px) {
  .mega-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mega-menu {
    display: none !important;
  }
  .mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0; /* ensure it can scroll to the bottom */
    z-index: 70;
    padding: 12px;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.menu-open {
    overflow: hidden;
  } /* lock background scroll when open */
  .mobile-menu-inner {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    padding: 16px;
  }
  .mobile-top-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-link {
    display: block;
    padding: 12px 10px;
    color: #24242d;
    text-decoration: none;
    border-radius: 10px;
  }
  .mobile-link:hover {
    background: #f7f7fb;
  }
  .mobile-collapsible {
    margin-top: 4px;
  }
  .mobile-collapsible-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    background: #f7f7fb;
    border-radius: 10px;
    color: #24242d;
  }
  .collapse-arrow {
    transition: transform .2s ease;
  }
  .collapse-open .collapse-arrow {
    transform: rotate(180deg);
  }
  .mobile-sublist {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
  }
  ul.mobile-sublist li {margin-bottom: 4px}
  .mobile-sublink {
    display: block;
    padding: 10px 12px 10px 14px;
    color: #535367;
    text-decoration: none;
    border-radius: 8px;
  }
  .mobile-sublink:hover {
    background: #f7f7fb;
    color: #24242d;
  }
  .mobile-sub-footer {
    padding: 8px 12px 0 14px;
  }
  .mobile-view-more {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-view-more:hover {
    text-decoration: underline;
  }
  .mobile-cta-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }
  .btn-outline {
    border: 1px solid #6366f1;
    color: #6366f1;
    border-radius: 10px;
    padding: 10px 12px;
    text-decoration: none;
  }
  .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    text-decoration: none;
  }

  .mobile-industry-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 16px;
    text-decoration: none;
  }
  .mobile-industry-item:hover {
    background: #f9fafb;
  }
  .mobile-industry-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #e0e7ff; /* light primary tint */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .mobile-industry-icon svg {
    width: 22px;
    height: 22px;
  }
  .mobile-industry-content {
    display: flex;
    flex-direction: column;
  }
  .mobile-industry-title {
    color: #242427;
    font-weight: 600;
    line-height: 1.2;
  }
  .mobile-industry-desc {
    color: #535367;
    font-size: 13px;
    line-height: 1.3;
  }
}

/* force-hide desktop CTAs on small screens in case Tailwind isn't applied for some reason */
@media (max-width: 767px) {
  .desktop-ctas {
    display: none !important;
  }
}

/* mobile use-case cards to replace table on small screens */
.use-cases-mobile-cards {
  display: grid;
  gap: 12px;
}

.use-case-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.use-case-card h4 {
  font-weight: 700;
  color: #111827;
  font-size: 16px;
  margin-bottom: 6px;
}

.use-case-card .uc-what {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
}

.use-case-card .uc-outcome {
  color: #2563eb;
  font-size: 13px;
  margin-top: 4px;
}

/* footer industries compact grid */
.footer-industries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer-industry-group h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.footer-industry-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2; /* compact multi-column within group when room */
  column-gap: 16px;
}

.footer-industry-group li {
  break-inside: avoid;
  margin-bottom: 6px;
}

.footer-industry-group a {
  color: #9ca3af;
  font-size: 13px;
  text-decoration: none;
}

.footer-industry-group a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .footer-industries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .footer-industries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-industries {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .footer-industry-group ul {
    columns: 1;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Make voice agents row responsive on mobile: stack cards vertically and ensure full width */
@media (max-width: 768px) {
  .ai-voices-agents-row {
    flex-direction: column;
    gap: 16px;
  }

  .ai-voices-agents-box {
    flex: initial;
    width: 100%;
    height: auto; /* let content drive height */
    min-height: 0; /* remove desktop min-height to fit content */
    cursor: default; /* not interactive on mobile */
    flex-direction: column;
  }

  .ai-voices-agents-box.open {
    flex: initial; /* ignore expand width */
  }

  /* Image at the top, fixed height for a strong visual */
  .ai-voices-agents-box .voice-agent-image,
  .ai-voices-agents-box.open .voice-agent-image {
    width: 100%;
    height: 220px; /* top image height */
  }

  .ai-voices-agents-box .voice-agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }

  /* Always show content under image on mobile (override collapsed desktop rule) */
  .ai-voices-agents-box .voice-demo-content {
    display: block !important; /* override .ai-voices-agents-box:not(.open) display:none */
    opacity: 1;
    transform: none;
    padding: 20px 20px 24px;
  }

  /* Optional: name chip sits over the image as in desktop */
  .voice-agent-name {
    bottom: 16px;
  }
}
.ft-divider {
    margin: 15px 0 25px;
    background-color: #31313a;
    height: 1px;
  }

.avatar-circles {
  display: flex;
  position: relative;
  z-index: 10;
}

.avatar-circles img,
.avatar-circles a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.avatar-circles img {
  margin-left: -16px; /* overlap effect */
}

.avatar-circles img:first-child {
  margin-left: 0;
}

.avatar-circles a {
  margin-left: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  font-size: 12px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.avatar-circles a:hover {
  background-color: #4b5563; /* gray-600 */
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .avatar-circles img,
  .avatar-circles a {
    border-color: #1f2937; /* gray-800 */
  }

  .avatar-circles a {
    background-color: white;
    color: black;
  }
}

/* Testimonial Block */

.container.testimonialBlock {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 1rem;
      z-index: 10;
    }

    .testimonialBlock .title-block {
      max-width: 540px;
      margin: 0 auto;
      text-align: center;
    }

    .testimonialBlock .badge {
      display: inline-block;
      border: 1px solid #ccc;
      padding: 0.25rem 1rem;
      border-radius: 0.5rem;
    }

    .testimonialBlock h2 {
      font-weight: 700;
      margin-top: 1.25rem;
      font-size: clamp(1.25rem, 3vw, 3rem);
      line-height: 1.2;
    }

    .testimonialBlock p {
      margin-top: 1rem;
      opacity: 0.75;
    }

    .testimonialBlock .columns {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 2.5rem;
      max-height: 740px;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
      mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
    }

    .testimonialBlock .column {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      padding-bottom: 1.5rem;
      animation: scroll linear infinite;
    }

    /* Default scroll (will override via inline style for custom duration) */
    @keyframes scroll {
      from { transform: translateY(0); }
      to { transform: translateY(-50%); }
    }

    .testimonialBlock .testimonial {
      background: #fff;
      border: 1px solid #e5e5e5;
      border-radius: 1.5rem;
      padding: 2rem;
      box-shadow: 0 8px 16px rgba(0,0,0,0.05);
      max-width: 300px;
      width: 100%;
    }

    .testimonialBlock .testimonial-text {
      font-size: 0.95rem;
      line-height: 1.4;
    }

    .testimonialBlock .author {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 1.25rem;
    }

    .testimonialBlock .author img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
    }

    .author-info {
      display: flex;
      flex-direction: column;
    }

    .author-name {
      font-weight: 500;
      line-height: 1.25rem;
    }

    .testimonialBlock .author-role {
      opacity: 0.6;
      font-size: 0.85rem;
      line-height: 1.25rem;
    }

    /* Responsive column hiding */
    @media (max-width: 1024px) {
      .testimonialBlock .columns .column:nth-child(3) { display: none; }
    }
    @media (max-width: 768px) {
      .testimonialBlock .columns .column:nth-child(2) { display: none; }
    }

/* Integration Block */

.integrations .container {
            max-width: 1400px;
            width: 100%;
            padding: 3rem 2rem;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .integrations .text-center {
            text-align: center;
            margin-bottom: 4rem;
        }

        .integrations .main-heading {
            font-size: 4rem;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 1.5rem;
            letter-spacing: -0.02em;
        }

        .integrations .sub-heading {
            font-size: 1.25rem;
            color: #666;
            font-weight: 400;
            line-height: 1.8;
            max-width: 800px;
            margin: 0 auto;
        }

        @media (max-width: 768px) {
            .integrations .main-heading {
                font-size: 2.5rem;
            }
            .integrations .sub-heading {
                font-size: 1rem;
            }
        }

        .logo-carousel {
            display: flex;
            gap: 1rem;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }

        .integrations .logo-column {
            position: relative;
            height: 3.5rem;
            width: 6rem;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateY(50px);
            animation: slideUp 0.5s ease-out forwards;
        }

        @media (min-width: 768px) {
            .integrations .logo-column {
                height: 6rem;
                width: 12rem;
            }
        }

        .integrations .logo-column:nth-child(1) { animation-delay: 0s; }
        .integrations .logo-column:nth-child(2) { animation-delay: 0.1s; }
        .integrations .logo-column:nth-child(3) { animation-delay: 0.2s; }

        .integrations .logo-item {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateY(10%);
            filter: blur(8px);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .integrations .logo-item.active {
            opacity: 1;
            transform: translateY(0%);
            filter: blur(0px);
        }

        .integrations .logo-item.exiting {
            opacity: 0;
            transform: translateY(-20%);
            filter: blur(6px);
            transition: all 0.3s ease-in;
        }

        .integrations .logo-img {
            height: 5rem;
            width: 5rem;
            max-height: 80%;
            max-width: 80%;
            object-fit: contain;
        }

        @media (min-width: 768px) {
            .integrations .logo-img {
                height: 8rem;
                width: 8rem;
            }
        }

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

        /* Tools Grid Section */
        .tools-section {
            width: 100%;
            max-width: 1400px;
            padding: 2rem 0;
        }

        .connect-tool-row {
            display: flex;
            gap: 24px;
            transition: all 0.5s ease;
            padding-bottom: 24px;
        }

        .connect-tool-box {
            position: relative;
            flex: 0 1 20%;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            background: #FFFFFF;
            box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #e5e7eb;
            border-radius: 32px;
            padding: 40px 24px;
            max-height: 220px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
        }

        .connect-tool-box:hover {
            box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.12);
            transform: translateY(-4px);
            border-color: #d1d5db;
        }

        .connect-tool-box.open {
            flex: 0 1 40%;
        }

        .connect-tool-content {
            display: flex;
            align-items: center;
            text-align: left;
            width: 100%;
            gap: 20px;
        }

        .connect-tool-box:not(.open) .connect-tool-content {
            flex-direction: column;
            text-align: center;
            gap: 0;
        }

        .connect-tool-content img {
            width: 80px;
            height: 80px;
            min-width: 80px;
            object-fit: contain;
            border-radius: 20px;
        }

        .connect-tool-box:not(.open) .connect-tool-content img {
            margin-bottom: 20px;
        }

        .connect-tool-content-text {
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            max-height: 0;
            width: 0;
            opacity: 0;
        }

        .connect-tool-box.open .connect-tool-content-text {
            max-height: 200px;
            width: auto;
            opacity: 1;
            flex: 1;
        }

        .connect-tool-content-text p {
            color: #6b7280;
            font-size: 16px;
            line-height: 1.6;
            margin: 0;
        }

        .connect-tool-bottom {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            color: #1a1a1a;
            font-weight: 500;
            font-size: 16px;
            margin-top: 16px;
            width: 100%;
        }

        .integrations .arrow-icon {
            width: 20px;
            height: 20px;
            min-width: 20px;
            min-height: 20px;
            border-radius: 50%;
            background: #f3f4f6;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            opacity: 0.6;
        }

        .integrations .arrow-icon svg {
            width: 12px;
            height: 12px;
            transition: transform 0.3s ease;
        }

        .connect-tool-box:hover .arrow-icon {
            background: #e5e7eb;
            opacity: 1;
        }

        .connect-tool-box.open .arrow-icon svg {
            transform: rotate(90deg);
        }

        @media (max-width: 1200px) {
            .connect-tool-row {
                flex-wrap: wrap;
            }
            
            .connect-tool-box {
                flex: 0 1 calc(33.333% - 16px);
            }
            
            .connect-tool-box.open {
                flex: 0 1 calc(66.666% - 8px);
            }
        }

        @media (max-width: 768px) {
            .connect-tool-row {
                gap: 16px;
            }
            
            .connect-tool-box {
                flex: 0 1 100%;
            }
            
            .connect-tool-box.open {
                flex: 0 1 100%;
            }
        }

.avatar-wrap {max-width: 400px; margin: 0 auto; padding: 20px 0; display: flex; justify-content: flex-end;}
.text-sm-agent { font-size: 1.5rem; line-height: 2rem; }