/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  background: rgba(0, 0, 0, 0.85);
}

/* Ensure loader visible during loading */
body.loading .page-loader { opacity: 1; visibility: visible; }

/* Ensure spinner is visible and sized for mini loader */
.page-loader__spinner { width: 32px; height: 32px; border-width: 3px; border-color: rgba(0,0,0,0.12); border-top-color: #5E52F3; }

@media (prefers-color-scheme: light) {
  .page-loader {
    background: rgba(255, 255, 255, 0.92);
  }
}

/* Dark theme support (future) */
@media (prefers-color-scheme: dark) {
  .page-loader {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  }
}

/* Light theme support (if needed) */
@media (prefers-color-scheme: light) {
  .page-loader {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  }
  
  .page-loader__text {
    color: #333;
  }
  
  .page-loader__spinner {
    border-color: #e5e5e5;
    border-top-color: #333;
  }
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__content {
  text-align: center;
  color: #fff;
}

.page-loader__logo {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Pulsating glow for circular loader and gradients */
.page-loader .loader-circle {
  width: 160px;
  height: 160px;
  animation: loader-pulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(101, 83, 217, 0.45));
}

@keyframes loader-pulse {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 18px rgba(101,83,217,0.35)); }
  50% { transform: scale(1.02); filter: drop-shadow(0 0 38px rgba(194,85,245,0.55)); }
  100% { transform: scale(0.96); filter: drop-shadow(0 0 18px rgba(101,83,217,0.35)); }
}

/* Text styling with better visibility and theme-based color filter */
.page-loader__text {
  color: #fff;
  opacity: 1;
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
  letter-spacing: 0.5px;
  filter: brightness(1) contrast(1.2);
  transition: filter 0.3s ease;
}

/* Animated dots */
.page-loader__text .dots {
  display: inline-block;
  margin-left: 2px;
}

.page-loader__text .dot {
  display: inline-block;
  animation: dotFade 1.8s infinite;
  opacity: 0;
}

.page-loader__text .dot:nth-child(2) {
  animation-delay: 0.6s;
}

.page-loader__text .dot:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes dotFade {
  0% { opacity: 0; transform: scale(0.8) translateY(0); }
  30% { opacity: 1; transform: scale(1.1) translateY(-2px); }
  60% { opacity: 0; transform: scale(0.8) translateY(0); }
  100% { opacity: 0; transform: scale(0.8) translateY(0); }
}

/* Light theme - invert color using filters */
@media (prefers-color-scheme: light) {
  .page-loader__text {
    filter: brightness(0) contrast(1.2);
  }
}

.page-loader__logo img {
  width: 200px;
  height: auto;
  max-width: 100%;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}

/* Light theme support */
@media (prefers-color-scheme: light) {
  .page-loader__logo img {
    filter: none !important;
  }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .page-loader__logo img {
    filter: none !important;
  }
}

.page-loader__spinner {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1a1a1a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .page-loader__spinner {
    animation: none;
  }
  
  .page-loader {
    transition: none;
  }
  
  body:not(.loading) .mono-header,
  body:not(.loading) .hero-section,
  body:not(.loading) .partners-section,
  body:not(.loading) .solutions-section,
  body:not(.loading) .templates-section,
  body:not(.loading) .integration-section,
  body:not(.loading) .testimonials-infinity-section,
  body:not(.loading) .questions-section,
  body:not(.loading) .ai-bpo-section,
  body:not(.loading) .ai-bpo2-section {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.page-loader__text {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  opacity: 0.8;
}

/* Mobile responsive loader */
@media (max-width: 768px) {
  .page-loader__logo {
    margin-bottom: 20px;
  }
  
  .page-loader__logo img {
    width: 100px;
    height: 25px;
    filter: none !important;
  }
  
  .page-loader__spinner {
    width: 35px;
    height: 35px;
    margin: 0 auto 15px;
  }
  
  .page-loader__text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-loader__logo img {
    width: 80px;
    height: 20px;
    filter: none !important;
  }
  
  .page-loader__spinner {
    width: 30px;
    height: 30px;
  }
  
  .page-loader__text {
    font-size: 12px;
  }
  
  .footer-container {
    padding: 0 24px;
  }
}

/* Hide body scroll when loader is active */
body.loading {
  overflow: visible;
}

/* Hide content during loading to prevent layout shifts */
body.loading .mono-header,
body.loading .hero-section,
body.loading .partners-section,
body.loading .solutions-section,
body.loading .templates-section,
body.loading .integration-section,
body.loading .testimonials-infinity-section,
body.loading .questions-section,
body.loading .ai-bpo-section,
body.loading .ai-bpo2-section {
  opacity: 0;
  visibility: visible;
}

/* Fade in content after loader */
body:not(.loading) .mono-header,
body:not(.loading) .hero-section,
body:not(.loading) .partners-section,
body:not(.loading) .solutions-section,
body:not(.loading) .templates-section,
body:not(.loading) .integration-section,
body:not(.loading) .testimonials-infinity-section,
body:not(.loading) .questions-section,
body:not(.loading) .ai-bpo-section,
body:not(.loading) .ai-bpo2-section {
  animation: fade-in-up 0.6s ease-out forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation for sections */
body:not(.loading) .hero-section { animation-delay: 0.05s; }
body:not(.loading) .partners-section { animation-delay: 0.1s; }
body:not(.loading) .solutions-section { animation-delay: 0.15s; }
body:not(.loading) .templates-section { animation-delay: 0.2s; }
body:not(.loading) .integration-section { animation-delay: 0.25s; }
body:not(.loading) .testimonials-infinity-section { animation-delay: 0.3s; }
body:not(.loading) .questions-section { animation-delay: 0.35s; }
body:not(.loading) .ai-bpo-section { animation-delay: 0.4s; }
body:not(.loading) .ai-bpo2-section { animation-delay: 0.45s; }

/* Mini loader for internal navigation */
.mini-loader {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mini-loader-fade-in 0.3s ease-out;
}

.mini-loader__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #1a1a1a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes mini-loader-fade-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Global Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #000;
    margin: 0;
    padding: 0;
}
a.header-logo__link {
  /* height: auto; */
  align-items: baseline;
  display: flex;
}
.mono-header {
  background: #000;
  color: #fff;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 16px 0 rgba(16,16,20,0.04);
}
.mono-header__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 0px;
  display: flex;
  align-items: center;
  /* height: 72px; */
  justify-content: space-between;
}
.mono-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.4rem;
  gap: 12px;
  cursor: pointer;
}
.mono-header__logo img {
  height: 40px;
  width: 40px;
  display: block;
}
.mono-header__nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mono-header__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
    font-weight: 400;
  transition: color 0.3s ease-in-out;
  cursor: pointer;
}
.mono-header__nav a:hover {
  color: #8272fe;
}

/* Home element when not a link */
.mono-header__nav li:not(:has(a)) {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  cursor: default;
}
.mono-header__btn {
  margin-left: 32px;
  padding: 16px 28px;
  border: 1px solid #fff;
  border-radius: 32px;
  background: transparent;
  color: #fff;
  font-weight: 500;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  white-space: nowrap;
  cursor: pointer;
}
.mono-header__btn:hover {
  background: #fff;
  color: #101014;
}
.mono-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 24px;
}
.mono-header__burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Адаптив */
@media (max-width: 900px) {
  .mono-header__container {
    padding: 16px 16px;
  }
  .mono-header__nav ul {
    gap: 18px;
  }
  .mono-header__btn {
    margin-left: 16px;
    padding: 8px 18px;
  }
}
@media (max-width: 700px) {
  .mono-header__nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #101014;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
  }
  .mono-header__nav.open {
    display: flex;
  }
  .mono-header__nav ul {
    flex-direction: column;
    gap: 18px;
  }
  .mono-header__btn {
    margin: 18px 0 0 0;
    width: 90%;
    text-align: center;
  }
  .mono-header__burger {
    display: flex;
  }
}

/* Скрыть меню на мобилке по умолчанию */
@media (max-width: 700px) {
  .mono-header__nav,
  .mono-header__btn {
    display: none !important;
  }
  .mono-header__nav.open,
  .mono-header__btn.open {
    display: none !important;
  }
  
  /* Показать бургер-меню на мобильных */
  .mono-header__burger {
    display: flex !important;
  }
  
  /* Скрыть dropdown меню десктопа на мобильных */
  .dropdown-menu {
    display: none !important;
  }
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 10000;
}

.mobile-menu-overlay.active .mobile-menu {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #333;
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mobile-menu__logo-img {
  height: 30px;
  width: auto;
  
}

.mobile-menu__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu__close:hover {
  background-color: #333;
}

.mobile-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__item {
  border-bottom: 1px solid #333;
}

.mobile-menu__item:last-child {
  border-bottom: none;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: inherit;
}

.mobile-menu__link:hover {
  background-color: #111;
}

/* Mobile menu Home element when not a link */
.mobile-menu__item span.mobile-menu__link {
  cursor: default;
}

.mobile-menu__chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  display: block;
  flex-shrink: 0;
}

.mobile-menu__item--dropdown.active .mobile-menu__chevron {
  transform: rotate(180deg);
}

.mobile-menu__dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #111;
}

.mobile-menu__item--dropdown.active .mobile-menu__dropdown {
  max-height: 1000px;
}

.mobile-menu__dropdown-items {
  padding: 0 12px 8px 12px; /* reduced spacing */
}

.mobile-menu__dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px; /* tighter rows */
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
}

.mobile-menu__dropdown-item:last-child {
  margin-bottom: 0;
}

.mobile-menu__dropdown-item:hover {
  background-color: #1a1a1a;
  color: #8272fe;
}

.mobile-menu__dropdown-link {
  color: #ffffff !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.mobile-menu__dropdown-link:hover {
  color: #8272fe !important;
  text-decoration: none !important;
}

/* Prevent default blue tap color on mobile links */
.mobile-menu__link,
.mobile-menu__dropdown-link {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.mobile-menu__dropdown-link img {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

/* Remove focus styles from mobile menu links */
.mobile-menu__link:focus,
.mobile-menu__dropdown-link:focus {
  outline: none !important;
  box-shadow: none !important;
  background-color: inherit !important;
}

.mobile-menu__link:active,
.mobile-menu__dropdown-link:active {
  background-color: #111 !important;
  color: #8272fe !important;
}

/* Footer brand name white color */
.footer-brand-name {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  margin-left: 8px;
}

.mobile-menu__footer {
  padding: 20px;
  border-top: 1px solid #333;
}

.mobile-menu__btn {
  display: block;
  width: 100%;
  padding: 16px 28px;
  border: 1px solid #fff;
  border-radius: 32px;
  background: transparent;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.mobile-menu__btn:hover {
  background: #fff;
  color: #101014;
}

/* Hide mobile menu on desktop */
@media (min-width: 701px) {
  .mobile-menu-overlay {
    display: none;
  }
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.dropdown:hover {
  color: #8272fe;
}
.footer-nav-column ul li a{
  color: #000 !important;
  line-height: 46px;
  margin: 0;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
.footer-nav-column ul li a:hover {
  color: #8272fe !important;
}
.dropdown-menu {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  width: max-content;
  min-width: 600px;
  max-width: 90vw;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Adjust dropdown position on Workspace page (no promo banner) */
.page-template-template-workspace .dropdown-menu {
  top: 80px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

/* Pricing dropdown styles removed */

.dropdown-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* .dropdown-cards--plans styles removed */

.dropdown-card {
  display: flex;
  align-items: center;
  gap: 16px;
  /* padding: 16px; */
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}


.dropdown-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* width: 40px;
  height: 40px; */
  /* background: #2A2A2A; */
  /* border-radius: 8px; */
}

.dropdown-card__icon img {
  width: 44px;
  height: 44px;
}

.dropdown-card__content {
  flex: 1;
}

.dropdown-card__title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0 0 4px 0;
  white-space: nowrap;
}

.dropdown-card__desc {
  color: #969696;
  font-size: 0.85rem;
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

/* Hover effects for dropdown cards */


.dropdown-card:hover .dropdown-card__icon {
 background: #8272fe;
 border-radius: 12px;
}

.dropdown-card:hover .dropdown-card__title {
  color: #8272fe;
}

/* Hide dropdown on mobile */
@media (max-width: 700px) {
  .dropdown-menu {
    display: none;
  }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items:flex-start;
  justify-content: center;
}
.hero-section__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: url('../../Img/bg.webp') center center/cover no-repeat;
}
.hero-section__bg video {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  min-width: 100%;
  min-height: 100%;
}
.hero-section__content {
  position: relative;
  z-index: 3;
  max-width: 814px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding: 60px 16px 100px 16px;
}
.hero-section__title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero-section__subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #ffffff;
}
.hero-section__btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222 !important;
  background: #fff;
  border: 1.5px solid #222;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
  text-align: center;
}
.hero-section__btn:hover,
.hero-section__btn:focus {
  background: #222;
  color: #fff !important;
  border-color: #222;
}
@media (max-width: 700px) {
  .hero-section {
    min-height: auto;
    height: auto;
  }
  .hero-section__bg {
    height: auto;
    min-height: 100%;
  }
  .hero-section__bg video {
    height: auto;
    min-height: 100%;
  }
  .hero-section__title {
    font-size: 2.5rem;
  }
  .hero-section__subtitle {
    font-size: 1rem;
  }
  .hero-section__btn {
    padding: 14px 24px;
    font-size: 1rem;
  }
  .hero-section__content {
    padding: 40px 16px 60px 16px;
  }
}

.hero-sphere {
  width: 300px;
  height: 300px;
  margin: 0 auto 0px auto;
  border-radius: 50%;
  background: #1F1F1F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 83px 0 #9C89F1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* SVG hover transition */
.hero-sphere__svg,
.hero-sphere__mic-svg {
  position: absolute;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
}

.hero-sphere__svg {
  opacity: 0;
}

.hero-sphere__mic-svg {
  opacity: 1;
  animation: micPulse 1.5s ease-in-out infinite;
}

/* On hover: hide M logo, show microphone */
.hero-sphere.voice-trigger:hover .hero-sphere__svg {
  opacity: 0;
}

.hero-sphere.voice-trigger:hover .hero-sphere__mic-svg {
  opacity: 1;
}

/* Ensure rolodex moves when sphere is hovered (CSS sibling trigger) */
.hero-sphere.voice-trigger:hover ~ .hero-sphere__caption .hero-caption-rolodex .line {
  transform: translateY(-1.2em);
}

/* Microphone pulsing animation with color shifting */
@keyframes micPulse {
  0% { 
    transform: scale(1); 
    filter: hue-rotate(0deg) brightness(1) saturate(1); 
  }
  50% { 
    transform: scale(1.08); 
    filter: hue-rotate(20deg) brightness(1.2) saturate(1.3); 
  }
  100% { 
    transform: scale(1); 
    filter: hue-rotate(0deg) brightness(1) saturate(1); 
  }
}


.hero-sphere img {
  max-width: 70%;
  max-height: 70%;
  display: block;
}
.hero-sphere__caption {
  margin-top: 24px;
  text-align: center;
  color: #202020;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Rolodex mover for caption swap on hover */
.hero-caption-rolodex {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.2em; /* show only one line by default */
}
.hero-caption-rolodex .line {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-caption-rolodex.move .line {
  transform: translateY(-1.2em);
}
.hero-caption-rolodex .rolodex-text {
  line-height: 1.2;
  display: block;
  height: 1.2em;
}
@media (max-width: 700px) {
  .hero-sphere {
    width: 180px;
    height: 180px;
    margin-bottom: 28px;
  }
}

.hero-sphere-block {
  margin:44px 0px;
}
@media (max-width: 700px) {
  .hero-sphere-block {
    margin-bottom: 44px;
  }
}

.partners-section {
  background: #fff;
  padding: 24px 0 24px 0;
  width: 100vw;
  overflow-x: hidden;
}
.partners-fade {
  position: relative;
  width: 100vw;
  overflow: hidden;
  background: #fff;
}
.partners-fade::before,
.partners-fade::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.partners-fade::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.partners-fade::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}
.partners-section__container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  justify-items: center;
  gap: 56px;
  max-width: 100vw;
  margin: 0 auto;
  padding: 24px 24px;
  border: 1px solid #EBEBEB;
}
.partner-logo {
  width: 100%;
  max-width: 160px;
  max-height: 54px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.2s, filter 0.2s;
}
.partner-logo_svg {
  filter: brightness(0%) contrast(100%);
  fill: #000;
}
@media (max-width: 900px) {
  .partners-section__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 8px;
  }
  .partner-logo {
    max-width: 120px;
    max-height: 40px;
  }
}
@media (max-width: 600px) {
  .partners-section__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0 4px;
  }
  .partner-logo {
    max-width: 90px;
    max-height: 28px;
  }
}

.partners-marquee {
  position: relative;
  width: 100vw;
  overflow: hidden;
  background: #fff;
  height: 100px;
  display: flex;
  align-items: center;
}
.partners-marquee__track {
  display: flex;
  align-items: center;
  gap: 140px;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
  width: max-content;
  min-width: 200%;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.partner-logo {
  width: 100%;
  max-width: 160px;
  max-height: 54px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.2s, filter 0.2s;
}
.partner-logo_svg {
  filter: brightness(0%) contrast(100%);
  fill: #000;
}
.partner-logo_tring {
  filter: brightness(0%) contrast(100%);
}
@media (max-width: 900px) {
  .partners-marquee__track {
    gap: 32px;
    /* animation: none; */
    /* overflow-x: auto; */
    /* white-space: nowrap; */
    /* flex-wrap: nowrap; */
  }
  .partners-marquee {
    height: auto;
    /* overflow-x: auto; */
  }
  .partner-logo {
    max-width: 120px;
    max-height: 40px;
  }
}
@media (max-width: 600px) {
  .partners-marquee__track {
    gap: 18px;
  }
  .partner-logo {
    max-width: 90px;
    max-height: 28px;
  }
}


.solutions-section {
  background: none !important;
  padding: 150px 0;
  position: relative;
  z-index: 1;
}
.solutions-section__container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 64px;
  /* padding: 0 24px; */
}
.solutions-section__left {
  flex: 1 1 530px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 320px;
}
.solutions-section__title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.08;
}
@media (max-width: 700px) {
  .solutions-section__title {
    font-size: 2.1rem;
  }
}
.gradient-text {
  background: linear-gradient(90deg, #6a5cff 0%, #8f6fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.solutions-section__desc {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 36px;
  font-weight: 400;
}
.solutions-btn-wrap {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-top: 8px;
}
.solutions-section__btn {
  display: inline-block;
  padding: 16px 24px;
  font-size: 1.1rem;
    font-weight: 500;
  color: #fff!important;
  background: linear-gradient(90deg, #6a5cff 0%, #8f6fff 100%);
  border: none;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 4px 24px 0 rgba(106,92,255,0.15);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-align: center;
  white-space: nowrap;
  width: auto;
  min-width: 0;
  max-width: 100%;
}
.solutions-section__btn:hover {
  background: #fff;
  color: #6a5cff;
  box-shadow: 0 6px 32px 0 rgba(106,92,255,0.25);
}
.solutions-section__right {
  flex: 1 1 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solutions-cards {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: stretch;
}
.solutions-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 261px;
  height: 523px;
  min-width: 0;
}
.solutions-col--center {
  justify-content: center;
}
.solutions-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(106,92,255,0.08);
  overflow: hidden;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  height: calc((523px - 14px) / 2);
  width: 100%;
  position: relative;
}
.solutions-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(50,170,255,0) 0%, #6255E8 63%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 2;
  padding: 0 0 32px 32px;
  gap: 0;
}
.solutions-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  margin-bottom: 18px;
}
.solutions-card__icon img {
  width: 40px;
  height: 40px;
  display: block;
}
.solutions-card__text {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  text-align: left;
  line-height: 1.3;
}
.solutions-card:hover .solutions-card__overlay,
.solutions-card:focus-within .solutions-card__overlay {
  opacity: 1;
  pointer-events: auto;
}
.solutions-card:hover .solutions-card__text,
.solutions-card:focus-within .solutions-card__text {
  opacity: 1;
  transform: translateY(0);
}
.solutions-card--big {
  height: 523px;
  width: 100%;
}
.solutions-card img, .solutions-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .solutions-cards {
    flex-direction: column;
    align-items: center;
  }
  .solutions-col, .solutions-card--big {
    width: 100vw;
    max-width: 340px;
    height: auto;
  }
  .solutions-card {
    height: 140px;
  }
  .solutions-card--big {
    height: 280px;
  }
}

@keyframes floatCard {
  0% { transform: translateY(0px) scale(1);}
  100% { transform: translateY(-12px) scale(1.03);}
}
@media (max-width: 1100px) {
  .solutions-section__container {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }
  .solutions-section__right {
    justify-content: flex-start;
  }
}
@media (max-width: 700px) {
  .solutions-section {
    padding: 40px 0;
  }
  .solutions-section__container {
    padding: 0 8px;
  }
  .solutions-cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 140px 140px;
    gap: 12px;
    max-width: 100%;
  }
  .solutions-card--tall, .solutions-card--wide {
    height: 140px;
    grid-row: span 1;
    grid-column: span 1;
  }
}
.solutions-title-main {
  color: #202020;
    font-weight: 700;
}
.solutions-title-gradient {
  background: linear-gradient(90deg, #8EBBF3 0%, #5E52F3 56%, #CA5AFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  }

.centered-hero-section {
  width: 100vw;
  padding: 200px 0 60px 0;
  background: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.centered-hero-section__container {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.centered-hero-section__title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.08;
}
.centered-hero-section__subtitle {
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #8EBBF3 0%, #5E52F3 56%, #CA5AFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 22px;
  line-height: 1.08;
}
.centered-hero-section__desc {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.85;
  margin-bottom: 44px;
}
@media (max-width: 700px) {
  .centered-hero-section {
    padding: 40px 16px 20px 16px;
  }
  .centered-hero-section__title,
  .centered-hero-section__subtitle {
    font-size: 2rem;
  }
  .centered-hero-section__desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  /* Mobile layout: tabs above cards */
  .centered-hero-section__row-outer {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    order: 1;
  }
  
  .tabs {
    order: 0;
  }
  
  .centered-hero-section__bgblock {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    display: block;
  }
  
  .centered-hero-section__row {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  
  /* Make all content inside cards smaller */
  .centered-hero-section__bgblock .flow-label {
    font-size: 14px ;
    padding:0px;
    margin: 0px;
  }
  
  .centered-hero-section__bgblock .flow-title {
    font-size: 18px;
    margin-bottom: 0px;
    text-align: left;
    line-height:27px;
  }
  
  .centered-hero-section__bgblock .flow-subtitle {
    font-size: 20px;
    margin-bottom: 6px;
    display: none;
  }
  
  .centered-hero-section__bgblock .flow-link {
    font-size: 14px;
    /* padding: 8px 16px; */
  }
  .flow-content{
    margin-bottom: 16px;
  }
  
  .centered-hero-section__bgblock .flow-content {
    padding: 16px;
    gap: 8px;
  }
  
  .centered-hero-section__bgblock .chat-header {
    padding: 8px 12px;
  }
  
  .centered-hero-section__bgblock .chat-name {
    font-size: 0.9rem;
  }
  
  .centered-hero-section__bgblock .chat-time {
    font-size: 0.7rem;
  }
  
  .centered-hero-section__bgblock .chat-message {
    font-size: 0.8rem;
    padding: 8px 12px;
    margin-bottom: 8px;
  }
  
  .centered-hero-section__bgblock .flow-icon {
    width: 16px;
    height: 16px;
  }
  
  .centered-hero-section__bgblock .flow-wave-img {
    width: 20px;
    height: 20px;
  }
  
  .centered-hero-section__bgblock .flow-inner-block {
    padding: 8px;
    gap: 6px;
  }
  
  .centered-hero-section__bgblock .flow-inner-block-chat-customer,
  .centered-hero-section__bgblock .flow-inner-block-chat-agent {
    padding: 6px 8px;
    font-size: 0.7rem;
  }
}

.centered-hero-section__imgwrap {
  /* position: absolute;
  left: 0;
  right: 0;
  bottom: 0; */
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.centered-hero-section__imgwrap img {
  width: 24px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  /* border-radius: 0 0 32px 32px; */
}
.centered-hero-section__row {
  display: flex;
  flex-direction: row;
  /* gap: 40px; */
  justify-content: center;
  align-items: stretch;
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  overflow-x: visible;
  padding: 0;
  scroll-snap-type: x mandatory;
}
.centered-hero-section__row-outer {
  width: 100vw;
  max-width: 100vw;
  overflow: hidden !important;
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
  padding: 0;
  position: relative;
}
.centered-hero-section__bgblock {
  width: 892px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 892 / 618;
  background: url('../../Img/bg_dashboard.svg') center center/cover no-repeat;
  /* margin: 0 auto 0 auto !important; */
  /* border-radius: 32px; */
  box-shadow: 0 8px 48px 0 rgba(34,34,68,0.18);
  min-width: unset;
  max-height: 80vw;
  min-height: 120px;
  transition: width 0.2s, height 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 44px;
  box-sizing: border-box;
  overflow: hidden;
  flex: unset;
  scroll-snap-align: center;
}

/* Dashboard specific background */
.centered-hero-section__bgblock[data-slide="0"] {
  background: url('../../Img/bg_dashbboard.svg') center center/cover no-repeat;
}

/* Flow - Live Transcription background */
.centered-hero-section__bgblock[data-slide="1"] {
  background: url('../../Img/bg_live_transcription.svg') center center/cover no-repeat!important;
}

/* Knowledge Base background */
.centered-hero-section__bgblock[data-slide="2"] {
  background: url('../../Img/bg_knowledge_base.svg') center center/cover no-repeat;
}

/* Analytics background */
.centered-hero-section__bgblock[data-slide="3"] {
  background: url('../../Img/bg_analytics.svg') center center/cover no-repeat;
}

/* Flow background */
.centered-hero-section__bgblock[data-slide="4"] {
  background: url('../../Img/bg_flow.svg') center center/cover no-repeat;
}
@media (max-width: 950px) {
  .centered-hero-section__row {
    gap: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .centered-hero-section__bgblock {
    width: 80vw;
    min-width: 320px;
    max-width: 98vw;
    scroll-snap-align: center;
  }
}
@media (max-width: 600px) {
  .centered-hero-section__row {
    gap: 10px;
  }
  .centered-hero-section__bgblock {
    width: 100%;
    min-width: 120px;
    max-width: 100%;
    scroll-snap-align: center;
  }
  
  .centered-hero-section__bgblock .flow-content {
    padding: 0;
  }
}
.flow-label {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.flow-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.1;
}
.flow-subrow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.flow-subtitle {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
}
.flow-link {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 500;
  color: #8272FE !important;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  gap: 4px;
  margin-left: 18px;
}
.flow-link:hover {
  color: #6a5cff !important;
  text-decoration: none;
  gap: 10px;
}
.flow-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 44px;
}
@media (max-width: 950px) {
  .centered-hero-section__bgblock {
    width: 90vw;
    height: auto;
    aspect-ratio: 892 / 618;
    min-height: 550px;
    max-height: 60vw;
    border-radius: 18px;
    padding: 24px 10vw 18px 10vw;
    margin-bottom: 24px!important;
  }
  .flow-title {
    font-size: 1.4rem;
  }
  .flow-subtitle {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .centered-hero-section__bgblock {
    width: 98vw;
    min-width: 120px;
    min-height: auto;
    max-height: 48vw;
    border-radius: 10px;
    margin-top: 24px;
    padding: 16px 4vw 10px 4vw;
  }
  .flow-label {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .flow-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .flow-subrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .flow-link {
    margin-left: 0;
    font-size: 1rem;
  }
}

.tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* gap: 8px; */
  margin: 32px auto 0 auto;
  padding: 0;
  list-style: none;
  /* background: #111; */
  border-radius: 18px;
  min-height: 56px;
  box-shadow: 0 2px 24px 0 rgba(34,34,68,0.10);
  width: fit-content;
}
.tab {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  border: 1px solid transparent;
  outline: none;
  position: relative;
  z-index: 1;
  padding: 8px 24px;
  opacity: 0.7;
  min-width: max-content;
}
.tab.active {
  border: 1px solid #fff;
  opacity: 1;
}
.tab:hover:not(.active) {
  opacity: 0.9;
}
@media (max-width: 700px) {
  .tabs {
    gap: 8px;
    min-height: 40px;
    border-radius: 10px;
    max-width: none;
    margin: 0;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
  }
  .tab {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 999px;
    white-space: nowrap;
    min-width: auto;
  }
  
  /* Ensure tabs are properly spaced on mobile */
  .tab:not(:last-child) {
    margin-right: 4px;
  }
}

.slider-track {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* gap: 40px; */
  /* overflow: hidden !important; */
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  position: relative;
  /* pointer-events: none; */
}
.slider-slide {
  opacity: 0.5;
  transform: scale(0.92);
  transition: 
    opacity 0.5s cubic-bezier(.4,0,.2,1),
    transform 0.6s cubic-bezier(.4,0,.2,1);
  z-index: 1;
  pointer-events: auto;
}
.slider-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}
@media (max-width: 900px) {
  .slider-slide {
    flex: 0 0 90vw;
    max-width: 98vw;
    min-width: 220px;
  }
}
@media (max-width: 600px) {
  .slider-slide {
    flex: 0 0 98vw;
    max-width: 99vw;
    min-width: 120px;
  }
  }
.swiper {
  overflow: visible; /* чтобы peek-эффект работал */
  padding: 0; /* убираем лишние отступы */
}
.swiper-wrapper {
  margin: 0;
}

/* Dim inactive slides on desktop/tablet (scoped to centered-hero-section) */
.centered-hero-section .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.4;
}

@media (max-width: 768px) {
  .swiper-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .centered-hero-section .swiper {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }
  
  /* Show only one slide at a time on mobile */
  .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    display: none;
  }
  
  /* Show only the active slide */
  .swiper-slide.swiper-slide-active {
    display: block;
  }
  
  /* Center the active slide */
  .swiper-wrapper {
    justify-content: flex-start;
    align-items: center;
  }
  
  /* Ensure proper slide positioning */
  .swiper-slide {
    transform: translateX(0) !important;
  }
  
  /* Hide inactive slides completely on mobile */
  .swiper-slide:not(.swiper-slide-active) {
    opacity: 0;
    pointer-events: none;
  }
  
  /* Show active slide */
  .swiper-slide.swiper-slide-active {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (min-width: 769px) {
  .swiper-slide {
    padding: 0 !important;
    width: auto !important;
    min-width: unset !important;
    flex: unset !important;
    transition: opacity 0.3s ease;
  }
}






/* Templates Section */
.templates-section {
  width: 100vw;
  background: #010101;
  padding: 100px 0px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Hide mobile grid by default (desktop/tablet) */
.templates-section__grid--mobile { display: none; }

.templates-section__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  /* padding: 0 40px; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.templates-section__header {
  display: flex;
  justify-content: space-between;
  align-items:  end;
  margin-bottom: 56px;
  width: 100%;
}

.templates-section__title-group {
  display: flex;
  flex-direction: column;
}

.templates-section__title-group a {
  color: #fff;
  transition: color 0.3s ease;
}

.templates-section__title-group a:hover {
  color: #f0f0f0;
}

.templates-section__title {
  color: #fff;
  font-size: 3rem !important;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0px!important;
}
section.seamless-integration-section {
  padding: 100px 0px;
  background: #000000;
}
.integration-step.step-2{
  
    border-right: 1px #252525 solid;
    border-left: 1px #252525 solid;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 44px;
}

.seamless-integration__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.integration-steps{
  display: flex;
  border: 1px solid #252525;
  border-radius: 20px;
  /* padding: 24px; */
}

@media (max-width: 700px) {
  .integration-steps {
    flex-direction: column;
  }
}
.integration-step{
  padding: 24px;
}
span.step-number{
  border: 1px solid #252525;
  padding: 8px 14px;
  border-radius: 50px;
  color: #CEC4F7;
  font-weight: 400;
  font-size: 16px;
  margin-right: 16px;
}
h3.step-title{
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}
p.step-description{
  color: #969696;
  font-size: 1.2rem;
}

.step-link {
  display: flex;
  align-items: center;
  margin-top: 32px;
  font-size: 1.08rem;
  font-weight: 500;
  color: #6958ED!important;
  text-decoration: none;
  gap: 4px;
}

.step-link:hover {
  color: #6a5cff;
  text-decoration: none;
}

.step-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.step-link:hover img {
  transform: translateX(6px);
}

.step-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #252525;
  border-radius: 20px;
  color: #ccc; 
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}




.get-started-btn {
  padding: 8px 24px;
  font-size: 16px;
  font-weight: bold;
  background: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 16px;
  border-radius: 50px;
  line-height: 27px;
  display: inline-block;
}

.get-started-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  color: #000;
}

.get-started-btn:visited {
  color: #000;
}

.integration-step.step-1{
  position: relative;
}
.step-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.step-visual.step-1-img{
  position: absolute;
  bottom: 0;
  left: 0;
}
.templates-section__subtitle {
  font-size: 3rem !important;
  font-weight: 500;
  background: linear-gradient(90deg, #8EBBF3 0%, #5E52F3 56%, #CA5AFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.templates-section__demo-btn {
  display: inline-block;
    border: 1px solid #fff;
    border-radius: 32px;
    background: transparent;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 16px 24px 16px 24px;
    color: #fff!important;
}

.templates-section__demo-btn:hover {
  background: #fff;
  color: #101014!important;
}

/* a:visited {
  color: #fff;
} */

.templates-section__grid {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 1400px;
  /* justify-content: center; */
}

/* Column Styles */
.templates-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.templates-column--small {
  width: 280px;
  flex-shrink: 0;
}

.templates-column--large {
  width: 533px;
  flex-shrink: 0;
}

.templates-column--medium {
  width: 265px;
  flex-shrink: 0;
}

.template-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 265px;
  flex-shrink: 0;
}

.template-card--large {
  height: 544px;
}

.template-card--full-height {
  height: 544px;
}

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

.template-card__image {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.template-card__image img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  transition: transform 0.3s ease, border-radius 0.3s ease;
  border-radius: 15px;
}

.template-card:hover .template-card__image img {
  transform: scale(1.05);
  border-radius: 16px;
}

.template-card__overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  z-index: 2;
  pointer-events: none;
}

/* Individual overlay gradients */
.template-card__overlay--interview {
  background: linear-gradient(182deg, #52489e00 35%, #5e51c8 90%)
}

.template-card__overlay--food {
  background: linear-gradient(182deg, #52489e00 35%, #5e51c8 90%)
}

.template-card__overlay--taxi {
  background: linear-gradient(182deg, #52489e00 35%, #5e51c8 90%)
}

.template-card__overlay--health {
  background: linear-gradient(182deg, #52489e00 35%, #5e51c8 90%)
}

.template-card__overlay--job {
  background: linear-gradient(182deg, #52489e00 35%, #5e51c8 90%)
}

.template-card__overlay--sport {
  background: linear-gradient(182deg, #52489e00 35%, #5e51c8 90%)
}

.template-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 12px;
}

.template-card__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
 
}

.template-card__title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  align-self: flex-start;

  /* text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); */
}

/* Individual card colors */

.template-card.template-card--interview{
  background: #17181C;
}
.template-card.template-card--food {
  background: #17181C;
}

.template-card--taxi {
  background: #17181C;
}

.template-card--health {
  background: #17181C;
}

.template-card--job {
  background: #17181C;
}

.template-card--sport {
  background: #17181C;
}

.templates-section__bottom-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  /* margin-top: 40px;
  margin-bottom: 40px; */
}

.templates-section__bottom-cards:last-child {
  margin-bottom: 0;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  /* padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer; */
}



.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* width: 40px;
  height: 40px; */
  /* background: #2A2A2A;
  border-radius: 8px; */
}

.service-card__icon img {
  width: 46px;
  height: 46px;
  
}

.service-card__content {
  flex: 1;
}

.service-card__title {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 4px 0;
}

.service-card__desc {
  color: #969696;
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
}

.templates-section__explore-link {
  display: flex;
  justify-content: center;
 
}

.explore-more-link {
  display: flex;
  align-items: center;
  margin-top: 32px;
  font-size: 1.08rem;
  font-weight: 500;
  color: #6958ED!important;
  text-decoration: none;
  gap: 4px;
  /* transition: all 0.2s ease;
  letter-spacing: 0.01em;
  gap: 4px; */
}

.explore-more-link:hover {
  color: #6a5cff;
  text-decoration: none;
}

.explore-more-link img {
  height: 24px;
  transition: transform 0.2s ease;
}

.explore-more-link:hover img {
  transform: translateX(6px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  /* .templates-section__container {
    padding: 0 20px;
  } */
  
  .templates-section__header {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .templates-section__header {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  
  .templates-section__demo-btn {
    margin: 18px 0 0 0;
    width: 90%;
    text-align: center;
    padding: 8px 18px;

  }
}

@media (max-width: 1480px) {
  .templates-section__grid {
    max-width: 1100px;
  }
  
  .templates-column--small {
    width: 210px;
  }
  
  .templates-column--large {
    width: 420px;
  }
  
  .templates-column--medium {
    width: 210px;
  }
  
  .template-card {
    height: 210px;
  }
  
  .template-card--large {
    height: 434px;
  }
  
  .template-card--full-height {
    height: 434px;
  }
}

@media (max-width: 1200px) {
  .templates-section__bottom-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .templates-section__bottom-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .service-card {
    padding: 16px;
  }
  
  .service-card__icon {
    width: 32px;
    height: 32px;
  }
  
  .service-card__icon img {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 900px) {
  .templates-section__title,
  .templates-section__subtitle {
    font-size: 2rem;
  }
  
  .templates-section__grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .templates-column {
    width: 100% !important;
    max-width: 400px;
  }
  
  .template-card {
    height: 220px;
  }
  
  .template-card--large {
    height: 220px;
  }
  
  .template-card--full-height {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .templates-section {
    padding: 60px 0 80px 0;
  }
  
  .templates-section__title,
  .templates-section__subtitle {
    font-size: 1.8rem;
  }
  
  .templates-section__grid {
    gap: 16px;
    /* Horizontal scroll UX for cards */
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
  }
  /* Hide desktop grid, show mobile simplified list */
  .templates-section__grid { display: none; }
  .templates-section__grid--mobile {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 14px;
    overflow-x: auto;
    padding: 0 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    width: -webkit-fill-available;
  }
  .templates-section__grid--mobile .templates-card { scroll-snap-align: start; }
  .templates-section__grid--mobile .template-card {
    height: 260px;
    border-radius: 16px;
    width: 100%;
    min-width: 100%;
    /* Remove hover effects on mobile */
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
  }
  
  .templates-section__grid--mobile .template-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  .templates-section__grid--mobile .template-card__image img {
    transform: none !important;
    transition: none !important;
  }
  
  .templates-section__grid--mobile .template-card:hover .template-card__image img {
    transform: none !important;
  }
  
  /* Enhanced overlay for better text visibility on mobile */
  .templates-section__grid--mobile .template-card__overlay,
  .templates-section__grid--mobile .template-card__overlay--interview,
  .templates-section__grid--mobile .template-card__overlay--food,
  .templates-section__grid--mobile .template-card__overlay--taxi,
  .templates-section__grid--mobile .template-card__overlay--health,
  .templates-section__grid--mobile .template-card__overlay--job,
  .templates-section__grid--mobile .template-card__overlay--sport {
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%) !important;
  }
  
  /* Gradient overlay for template card images on mobile */
  .templates-section__grid--mobile .template-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #52489e2b 4%, #52489e 100%);
    z-index: 1;
  }
  
  .templates-section__bottom-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    display: none;
  }
  
  .templates-column {
    max-width: 300px;
    scroll-snap-align: start;
  }
  
  .template-card {
    height: 200px;
  }
  
  .template-card--large {
    height: 200px;
  }
  
  .template-card--full-height {
    height: 200px;
  }
  
  .template-card__content {
    bottom: 0;
    left: 0;
  }
  
  .template-card__icon {
    width: 40px;
    height: 40px;
  }
  
  .template-card__title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .templates-section__bottom-cards {
    display: none !important;
  }
}

.integration-section {
  width: 100vw;
  background: #010101;
  padding: 100px 0 120px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 500px;
}
#integration-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  min-height: 400px;
  z-index: 0;
  pointer-events: none;
}
#integration-blobs-bg {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.integration-section__container {
  position: relative;
  z-index: 1;
}
.integration-section__lines {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}
.integration-section__lines svg {
  width: 100%;
  height: 100%;
  display: block;
}
.integration-section__title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.1;
}
.integration-section__title .gradient-text {
  background: linear-gradient(90deg, #8EBBF3 0%, #5E52F3 56%, #CA5AFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.integration-section__desc {
  color: #bdbdbd;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 48px;
  opacity: 0.85;
}
.integration-section__grid {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 64px;
  z-index: 2;
}
.integration-card {
  position: relative;
}
.integration-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px;
  width: 0;
  height: 48px;
  border-right: 2px dashed #8EBBF3;
  opacity: 0.5;
  transform: translateX(-50%);
  z-index: 1;
}
.integration-section__center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}
.integration-section__center-logo {
  position: relative;
  z-index: 2;
}
.integration-section__center-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 320px); /* подберите под вашу сетку */
  height: 0;
  border-top: 2px dashed #8EBBF3;
  opacity: 0.5;
  z-index: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* Для крайних карточек — укоротить линии */
.integration-card:first-child::after,
.integration-card:last-child::after {
  height: 32px;
}
@media (max-width: 900px) {
  .integration-section__grid {
    gap: 18px;
    margin-bottom: 32px;
  }
  .integration-card::after {
    height: 24px;
  }
  .integration-section__center-logo::before {
    width: 320px;
  }
}
.integration-section__dots-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 24px 0;
  position: relative;
  z-index: 1;
}
.integration-section__dots {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}
.integration-section__lines,
.integration-section__grid::after,
.integration-card::after {
  display: none !important;
  }



/* Monobot Integrations Section */


.partners-section__trusted {
  text-align: center;
  color: #bdbdbd;
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 12px 0;
  letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .partners-section__trusted {
    font-size: 0.95rem;
    width: 70%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  
  .partners-section {
    pointer-events: none;
    touch-action: none;
  }
  /* Improve scroll performance and avoid jank on mobile */
  .partners-section__container {
    will-change: transform;
    contain: paint;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  .partner-logo {
    transition: none;
  }
}

.integration-devtools-block {
  text-align: center;
  margin: 48px 0 0 0;
}
.integration-devtools-title {
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 14px;
}
.integration-devtools-btn {
  display: inline-block;
  background: #fff;
  color: #1F1F1F;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 24px;
  text-decoration: none;
  box-shadow: 0 2px 16px 0 rgba(34, 34, 68, 0.10);
  transition: background 0.2s, color 0.2s;
  line-height: 27px;
}
.integration-devtools-btn:hover {
  background: #ececff;
  color: #5E52F3;
}
.integration-devtools-btn:visited {
  color: #1F1F1F;
}
@media (max-width: 700px) {
  .integration-devtools-title {
    font-size: 1.3rem;
  }
  .integration-devtools-btn {
    font-size: 1.1rem;
    padding: 14px 18px;
  }
}

/* TESTIMONIALS INFINITY SLIDER SECTION */
.testimonials-infinity-section {
  background: #010101;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.testimonials-infinity__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.testimonials-infinity__header {
  text-align: center;
  margin-bottom: 80px;
}

.testimonials-infinity__title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 24px 0;
  line-height: 1.1;
}

.testimonials-infinity__subtitle {
  font-size: 1.25rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.testimonials-infinity__slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.testimonials-infinity__slider {
  position: relative;
  overflow: hidden;
}

.testimonials-infinity__track {
  display: flex;
  gap: 32px;
  animation: infiniteScroll 60s linear infinite;
  will-change: transform;
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 32px));
  }
}

.testimonials-infinity__card {
  flex: 0 0 420px;
  background: #111111;
  border: 1px solid #3838383e;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
}

.testimonials-infinity__card:hover {
  /* transform: translateY(-8px); */
  border-color: #383838;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.testimonials-infinity__quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #969696;
  margin-bottom: 32px;
  position: relative;
  flex-grow: 1;
}

.testimonials-infinity__quote::before {
  content: '"';
  font-size: 4rem;
  color: rgb(255 255 255 / 11%);
  position: absolute;
  top: -20px;
  left: -16px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonials-infinity__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonials-infinity__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(45deg, #8EBBF3, #5E52F3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.25rem;
  position: relative;
  flex-shrink: 0;
}

.testimonials-infinity__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonials-infinity__avatar img:hover {
  transform: none;
}



.testimonials-infinity__info {
  flex-grow: 1;
}

.testimonials-infinity__name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.testimonials-infinity__position {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Pause animation on hover */
.testimonials-infinity__track:hover {
  animation-play-state: paused;
}

/* Responsive Design for Testimonials Infinity */
@media (max-width: 1024px) {
  .testimonials-infinity-section {
    padding: 80px 0;
  }
  
  .testimonials-infinity__title {
    font-size: 2.5rem;
  }
  
  .testimonials-infinity__header {
    margin-bottom: 60px;
  }
  
  .testimonials-infinity__card {
    flex: 0 0 360px;
    padding: 32px;
  }
  
  .testimonials-infinity__track {
    gap: 24px;
  }
  
  @keyframes infiniteScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100% - 24px));
    }
  }
}

@media (max-width: 768px) {
  .testimonials-infinity-section {
    padding: 60px 0;
  }
  
  
  
  .testimonials-infinity__title {
    font-size: 2rem;
  }
  
  .testimonials-infinity__subtitle {
    font-size: 1.125rem;
  }
  
  .testimonials-infinity__header {
    margin-bottom: 40px;
  }
  
  .testimonials-infinity__card {
    flex: 0 0 300px;
    padding: 24px;
  }
  
  .testimonials-infinity__quote {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .testimonials-infinity__track {
    gap: 16px;
    animation: infiniteScrollMobile 45s linear infinite;
  }
  
  @keyframes infiniteScrollMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100% - 16px));
    }
  }
}

.template-card__overlay--interview {
  background: linear-gradient(182deg, #52489e00 35%, #5e51c8 80%);
}

/* --- Gladia-style Blog Page Styles --- */
body.page-template-template-blog {
    background: #ffffff;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.single-post {
    background: #f8f8f8;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.single-post .site-main {
    background: transparent;
    padding: 0;
    margin: 0;
}



/* Breadcrumbs */
.breadcrumbs {
    background: #f8f8f8;
    padding: 16px 0;
    margin-bottom: 0px;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #666;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #ccc;
}

.breadcrumbs a {
    color: #8272FE;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #6a5cff;
    text-decoration: underline;
}

.breadcrumbs span {
    color: #333;
}

/* Blog Layout */
/* .blog-layout {
    margin-top: 40px;
} */

/* Blog Main Content */
.blog-main {
    background: transparent;
    padding: 0;
}

/* Blog Toolbar */
.blog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 24px;
    position: sticky;
    top: 130px; /* Высота хедера + отступ */
    z-index: 999; /* Ниже хедера */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    padding: 24px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 250px;
    padding-right: 250px;
}

.blog-toolbar.sticky-active {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}
input[type="search"]{
  border:none!important;
}
/* Blog Filters */
.blog-filters {
    flex: 1;
    width: 100%;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.filter-tabs a {
   color: #1F1F1F !important;  
}

.filter-tab {
  padding: 8px 24px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid #e5e5e5;
  color: #1a1a1a;
  background: #fff;
}

.filter-tab:hover {
    color: #1a1a1a;
    background: #f0f0f0;
    border-color: #d0d0d0;
    /* background: #1a1a1a;
    border-color: #d0d0d0;
    color: #ffffff !important; */
}

.filter-tabs a.filter-tab--active {
    color: #fff !important;
    background: #1a1a1a;
    border-color: #1a1a1a;
}

/* Blog Grid Loading State */
.blog-grid {
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
}

.blog-grid.loading {
    opacity: 0.5;
    pointer-events: none;
    transform: scale(0.98);
}

.blog-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1a1a1a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Filter Tab Active State Enhancement */
.filter-tab {
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.filter-tab:hover::before {
    left: 100%;
}

.filter-tab--active::before {
    display: none;
}

/* Blog Search */
/* .blog-search {
    flex: 1;
    width: 50%;
} */

.search-form {
    margin: 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    padding: 8px 16px;
    transition: all 0.2s ease;
    min-width: 280px;
}

.search-input-wrapper:focus-within {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.search-icon {
    color: #666666;
    margin-right: 8px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.875rem;
    color: #1a1a1a;
    padding: 0;
    min-width: 0;
}

.search-input::placeholder {
    color: #999999;
}

.search-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #666666;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.search-btn:hover {
    color: #1a1a1a;
    background: #f0f0f0;
}

/* Blog Filter */
.blog-filter {
    position: relative;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.filter-icon {
    transition: transform 0.3s ease;
}

.filter-dropdown:hover .filter-icon {
    transform: rotate(180deg);
}

.filter-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.filter-dropdown:hover .filter-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.filter-item:last-child {
    border-bottom: none;
}

.filter-item:hover {
    background: #f9fafb;
    color: #4f46e5;
}

.filter-item.active {
    background: #4f46e5;
    color: white;
}

.filter-count {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Featured Post Block */
.featured-post-block {
    display: flex;
    /* gap: 40px; */
    margin-bottom: 60px;
    background: #f3f3f3;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
}

.featured-post-image {
    /* flex: 1; */
    width: 50%;
    position: relative;
    overflow: hidden;
}

.featured-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

.featured-post-content {
    /* flex: 1; */
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.featured-post-content:hover {
    transform: translateY(-2px);
}

.featured-post-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.featured-post-excerpt {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0
}

.featured-post-meta {
  display: flex;
  justify-content: space-between;
  /* margin-top: auto; */
  flex-direction: column;
  gap: 4px;
}

.featured-post-link {
    display: flex;
    align-items: center;
    margin-top: 32px;
    font-size: 1.08rem;
    font-weight: 500;
    color: #8272FE;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    gap: 4px;
}

.featured-post-link:hover {
    color: #6a5cff;
    text-decoration: none;
    gap: 10px;
}

.featured-post-link svg {
    transition: all 0.2s ease;
}

.featured-post-link:hover svg {
    transform: translateX(4px);
}

.featured-post-time {
   
    color: #999999;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: lowercase;
}

/* Latest Posts Section */
.latest-posts-section {
    background: #f8f8f8;
    padding: 80px 0;
    margin: 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    scroll-margin-top: 140px; /* Отступ для sticky-панели */
}

.latest-posts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    margin-top: 0;
    text-align: center;
    scroll-margin-top: 140px; /* Отступ для sticky-панели */
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

/* Blog Card */
.blog-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
}

.blog-card:hover {
    transform: none;
}

.blog-card__image {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #f8f8f8;
    border-radius: 20px;
    margin-bottom: 16px;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.02);
}



.blog-card__content {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: auto;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}



.blog-card__date {
    color: #999999;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 12px;
}

.blog-card__title {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 16px 0;
    line-height: 36px;
    flex-grow: 1;
    color: #1a1a1a;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.blog-card__title a {
    color: #1F1F1F;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    flex: 1;
}

.blog-card__title a:hover {
    color: #666666;
}

.blog-card__arrow {
    flex-shrink: 0;
    color: #666666;
    transition: all 0.2s ease;
}

.blog-card:hover .blog-card__arrow {
    color: #1a1a1a;
    transform: translate(2px, -2px);
}

.blog-card__excerpt {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
        line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blog-card__excerpt p{
    margin: 0!important;
}


.blog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.blog-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-name {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.read-more-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4f46e5;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.read-more-link:hover {
    color: #4338ca;
    transform: translateX(6px);
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Single Post Container */
.single-post-container {
    max-width: 1400px !important;
    margin: 60px auto 0;
    padding: 0 20px;
    width: 100%;
    min-height: 100vh;
    overflow: visible;
}

/* Single Post */
.single-post {
    /* background: white; */
    border-radius:20px;
    overflow: visible;
    /* border: 1px solid #f0f0f0; */
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
    margin-bottom: 60px;
}

/* Post Header */
.single-post__header {
    padding: 40px 40px 0;
}

.single-post__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.single-post__category {
    background: #f8f8f8;
    color: #666666;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #e5e5e5;
}

.single-post__date {
    color: #666666;
    font-size: 0.875rem;
}

.single-post__author {
    color: #666666;
    font-size: 0.875rem;
    margin-left: 16px;
}

.single-post__author a {
    color: #8272FE;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-post__author a:hover {
    color: #6a5cff;
    text-decoration: underline;
}

.single-post__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.single-post__excerpt {
    color: #666666;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Post Image */
.single-post__image {
    margin: 40px 0;
    overflow: hidden;
    max-height: 600px;
}

.single-post__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Post Content */
.single-post__content {
    padding: 0 40px 40px;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333333;
    max-width: none;
}

.single-post__content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 50px 0 25px 0;
}

.single-post__content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 40px 0 20px 0;
}

.single-post__content p {
    margin-bottom: 20px;
}

.single-post__content ul,
.single-post__content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.single-post__content li {
    margin-bottom: 8px;
}

.single-post__content blockquote {
    border-left: 4px solid #1a1a1a;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666666;
}

.single-post__content code {
    background: #f8f8f8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.single-post__content pre {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.single-post__content pre code {
    background: none;
    padding: 0;
}

/* Post Footer */
.single-post__footer {
    padding: 0 40px 40px;
    border-top: 1px solid #f0f0f0;
    margin-top: 40px;
    padding-top: 40px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    background: #f8f8f8;
    color: #666666;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

/* Post Navigation */
.single-post-navigation {
    margin-top: 60px;
}

.post-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.post-nav-link:hover {
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-nav-link:hover .post-nav-arrow {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
    transform: scale(1.05);
}

.post-nav-prev {
    text-align: left;
}

.post-nav-next {
    text-align: right;
    flex-direction: row-reverse;
}

.post-nav-arrow {
    flex-shrink: 0;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.post-nav-content {
    flex: 1;
    min-width: 0;
}

.post-nav-label {
    display: block;
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 4px;
}

.post-nav-title {
    display: block;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Back to Blog */
.back-to-blog {
    margin-top: 40px;
    text-align: center;
}

.back-to-blog__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-to-blog__link:hover {
    color: #1a1a1a;
}

/* Sidebar */
.single-post-sidebar {
    min-width: 0;
}

.sidebar-widget {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

/* Related Posts */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-post {
    display: flex;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.related-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post__image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 8px;
}

.related-post__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post__content {
    flex: 1;
    min-width: 0;
}

.related-post__title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px 0;
}

.related-post__title a {
    color: #1a1a1a;
    text-decoration: none;
}

.related-post__title a:hover {
    color: #666666;
}

.related-post__date {
    font-size: 0.75rem;
    color: #666666;
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-list .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: white;
    transition: all 0.2s ease;
    position: relative;
}

.pagination-list .page-numbers:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
    background: #f8f8f8;
    transform: translateY(-1px);
}

.pagination-list .page-numbers.current {
    color: white;
    background: #1a1a1a;
    border-color: #1a1a1a;
    font-weight: 600;
}

.pagination-list .page-numbers.prev,
.pagination-list .page-numbers.next {
    width: auto;
    padding: 0 16px;
    gap: 6px;
    font-size: 0.875rem;
}

.pagination-list .page-numbers.prev svg,
.pagination-list .page-numbers.next svg {
    width: 14px;
    height: 14px;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 40px;
}

.no-posts__icon {
    color: #9ca3af;
    margin-bottom: 24px;
}

.no-posts h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 12px;
}

.no-posts p {
    color: #6b7280;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

/* Button Focus and Active States */
.btn:focus, 
.btn:active, 
.uc-btn:focus, 
.uc-btn:active, 
.kb-hero__btn:focus, 
.kb-hero__btn:active {
    color: inherit;
    text-decoration: none;
    outline: none;
    outline-offset: 2px;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0.7;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    color: #374151;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border: 1px solid transparent;
    background: transparent;
}

.category-link:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    color: #4f46e5;
    transform: translateX(6px);
    border-color: rgba(79, 70, 229, 0.1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.category-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
    transform: translateX(4px);
}

.category-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-link.active .category-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.recent-post:last-child {
    border-bottom: none;
}

.recent-post__image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post__content {
    flex: 1;
    min-width: 0;
}

.recent-post__title {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.recent-post__title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post__title a:hover {
    color: #4f46e5;
}

.recent-post__date {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #374151;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tag-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.newsletter-widget p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.newsletter-form {
    margin: 0;
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 12px 0 0 12px;
    font-size: 0.95rem;
    background: white;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
    padding: 12px 16px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

/* Blog Navigation Styles */
.blog-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.blog-nav__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.blog-nav__title a {
    color: #374151 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    font-weight: 600;
    background: transparent !important;
}

.blog-nav__title a:hover {
    color: #4f46e5 !important;
    text-decoration: none !important;
    background: transparent !important;
}

.blog-nav__list {
    flex: 1;
    margin: 0 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.blog-nav__list a{
  color:#1F1F1F;
}
.blog-nav__link {
    color: #374151 !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid transparent;
    white-space: nowrap;
    background: transparent !important;
}

.blog-nav__link:hover {
    color: #4f46e5 !important;
    background-color: #f3f4f6 !important;
    border-color: #d1d5db;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-nav__link.active {
    background-color: #4f46e5 !important;
    color: white !important;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    text-decoration: none !important;
    font-weight: 600;
}

.blog-nav__link.active:hover {
    background-color: #4338ca !important;
    border-color: #4338ca;
    color: white !important;
    text-decoration: none !important;
}

.search-form-wrapper {
    flex-shrink: 0;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-form__input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    min-width: 200px;
}

.search-form__btn {
    padding: 8px 16px;
    background-color: #374151;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.search-form__btn:hover {
    background-color: #1f2937;
}

.blog-page {
    padding: 80px 0;
}

.blog-page .container {
    max-width: 1400px;
    padding: 0px;
    margin: 0 auto;
}

.blog-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Article Cards */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    list-style: none;
    padding: 0;
}

.article-card {
    border-radius: 20px;
}


.article-card__img-box {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-card__img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}


.article-card__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: #6b7280;
}

.article-card__title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 0 0 16px 0;
    font-weight: 600;
}

.article-card__title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card__title a:hover {
    color: #4f46e5;
}

.article-card__text {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.blog-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

/* Featured Post */
.blog-featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 100px;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-featured-post__image a {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-featured-post__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-featured-post__image a:hover img {
    transform: scale(1.08);
}

.blog-featured-post__content .entry-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-featured-post__content .entry-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-featured-post__content .entry-title a:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-featured-post__content .entry-summary {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.blog-grid-post {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.blog-grid-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-grid-post__image a {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-grid-post__image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-grid-post:hover .blog-grid-post__image img {
    transform: scale(1.05);
}

.blog-grid-post__content {
    padding: 0;
}

.blog-grid-post .entry-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 600;
}

.blog-grid-post .entry-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-grid-post .entry-title a:hover {
    color: #4f46e5;
}

/* Common Post Meta */
.entry-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.entry-meta a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.entry-meta a:hover {
    text-decoration: underline;
}

.cat-links {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.posted-on, .author {
    color: #6b7280;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 60px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 4px;
    font-weight: 500;
}

.pagination .page-numbers:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #1f2937;
}

.pagination .page-numbers.current {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

.pagination .pagination-prev,
.pagination .pagination-next {
    font-weight: 600;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 16px;
    margin: 40px 0;
}

.no-posts h3 {
    color: #374151;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.no-posts p {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 900px) {
    .blog-featured-post {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .blog-section-title {
        font-size: 1.875rem;
    }
    
    .blog-nav {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .blog-nav__list {
        margin: 0;
        order: 2;
        justify-content: center;
        gap: 12px;
    }
    
    .search-form-wrapper {
        order: 3;
    }
    
    .search-form {
        justify-content: center;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }
    
    .article-list {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .blog-page {
        padding: 40px 0;
    }
    
    .blog-featured-post {
        padding: 30px 20px;
        margin-bottom: 60px;
    }
    
    .blog-featured-post__content .entry-title {
        font-size: 1.75rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-grid-post {
        padding: 20px;
    }
    
    .blog-grid-post .entry-title {
        font-size: 1.25rem;
    }
    
    .article-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    
    
    .article-card .article-card__title {
        font-size: 1.25rem;
    }
    
    .blog-nav__title {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .blog-nav__list {
        gap: 8px;
    }
    
    .blog-nav__link {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .search-form__input {
        min-width: 150px;
    }
}

/* Animated BPO Card */
.solutions-card--animated {
    overflow: hidden;
}

.solutions-card--animated img {
    animation: bpoScrollOnly 4s ease-in-out infinite alternate;
    transform-origin: center top;
    height: 156%;
    width: 156%;
    object-fit: cover;
    position: relative;
    top: 83px;
    left: 0;
}

@keyframes bpoScrollOnly {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-30%);
    }
}

/* Pause animation on hover */
.solutions-card--animated:hover img {
    animation-play-state: paused;
}

/* Pause animation on hover */
.solutions-card--animated:hover img {
    animation-play-state: paused;
}

/* AI BPO Automation Section */
.ai-bpo-section {
  width: 100vw;
  background: #f8f8ff;
  padding: 100px 0 80px 0;
  display: flex;
  justify-content: center;
}
.ai-bpo-section__container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ai-bpo-section__title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #222;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.1;
}
.ai-bpo-section__subtitle {
  font-size: 1.25rem;
  color: #444;
  text-align: center;
  max-width: 800px;
  margin-bottom: 48px;
  font-weight: 400;
}
.ai-bpo-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 140px;
  align-items: center;
}
.ai-bpo-card {
  width: 100%;
  max-width: 1440px;
  height: 700px;
  max-height: 700px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(34,34,68,0.07);
  display: flex;
  overflow: hidden;
}
.ai-bpo-card__left, .ai-bpo-card__right {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
}
.ai-bpo-card__left {
  align-items: flex-start;
}
.ai-bpo-card__title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
}
.ai-bpo-card__desc {
  font-size: 1.15rem;
  color: #444;
  font-weight: 400;
  line-height: 1.5;
}
.ai-bpo-card__right {
  background: linear-gradient(120deg, #6a5cff 0%, #8f6fff 100%);
  border-radius: 0 32px 32px 0;
  min-height: 100%;
  min-width: 0;
}
@media (max-width: 1500px) {
  .ai-bpo-card, .ai-bpo-section__container {
    max-width: 98vw;
  }
}
@media (max-width: 1100px) {
  .ai-bpo-card {
    flex-direction: column;
    height: auto;
    min-height: 420px;
  }
  .ai-bpo-card__left, .ai-bpo-card__right {
    padding: 40px 24px;
    border-radius: 0;
  }
  .ai-bpo-card__right {
    border-radius: 0 0 32px 32px;
    min-height: 180px;
  }
}
@media (max-width: 700px) {
  .ai-bpo-section {
    padding: 44px 0 32px 0;
  }
  .ai-bpo-section__title {
    font-size: 1.4rem;
  }
  .ai-bpo-section__subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .ai-bpo-card {
    border-radius: 18px;
    min-height: 220px;
  }
  .ai-bpo-card__left, .ai-bpo-card__right {
    padding: 18px 10px;
  }
  .ai-bpo-card__title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .ai-bpo-card__desc {
    font-size: 0.98rem;
  }
  .ai-bpo-card__right {
    border-radius: 0 0 18px 18px;
  }
}

.ai-bpo-card:first-child {
  height: 700px;
  max-height: 700px;
}
@media (max-width: 1100px) {
  .ai-bpo-card:first-child {
    min-height: 500px;
    height: auto;
    max-height: none;
  }
}
@media (max-width: 700px) {
  .ai-bpo-card:first-child {
    min-height: 260px;
    height: auto;
    max-height: none;
  }
}

/* AI BPO Automation Section 2 */
.ai-bpo2-section {
  width: 100vw;
  background: #fff;
  padding: 100px 0 80px 0;
  display: flex;
  justify-content: center;
}
.ai-bpo2-section__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ai-bpo2-section .ai-bpo2-section__title{
  font-size: 3rem !important;
    text-align: center;
    color: #1F1F1F;
    margin: 0 !important;
    line-height: 60px;
    font-weight: 500;
    padding-bottom: 56px;
}
.ai-bpo2-section__title-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.5rem;
  font-size: 3.2rem!important;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  position: relative;
}
@media (max-width: 700px) {
  .ai-bpo2-section__title-row {
    font-size: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }
}
.ai-bpo2-section__title-underline {
  position: relative;
  display: inline-block;
}
.ai-bpo2-section__title-underline::after {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  margin-top: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8EBBF3 0%, #5E52F3 56%, #CA5AFF 100%);
}
.ai-bpo2-section__title-gradient {
  background: linear-gradient(90deg, #8EBBF3 0%, #5E52F3 56%, #CA5AFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
  position: relative;
}
.ai-bpo2-section__title-gradient.ai-bpo2-section__title-underline::after {
  margin-top: 8px;
}
.ai-bpo2-section__subtitle {
  font-size: 1.15rem;
  color: #444;
  text-align: center;
  max-width: 800px;
  margin: 24px auto 48px auto;
  font-weight: 400;
  line-height: 1.5;
}
.ai-bpo2-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 140px;
  align-items: center;
}
.ai-bpo2-card {
  width: 100%;
  max-width: 1440px;
  height: 700px;
  max-height: 700px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 0px 7px 0 rgb(34 34 68 / 23%);
  display: flex;
  overflow: hidden;
}
.ai-bpo2-card__left, .ai-bpo2-card__right {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  width: 50%;
}
.ai-bpo2-card__left {
  align-items: flex-start;
}
.ai-bpo2-card__title {
  font-size: 2rem;
  font-weight: 600;
  color: #1F1F1F;
  margin-bottom: 24px;
}
.ai-bpo2-card__desc {
  font-size: 1.15rem;
  color: #444;
  font-weight: 400;
  line-height: 1.5;
}
.ai-bpo2-card__right {
  /* background: linear-gradient(120deg, #6a5cff 0%, #8f6fff 100%); */
  
  border-radius: 0 32px 32px 0;
  min-height: 100%;
  min-width: 0;
}
@media (max-width: 1500px) {
  .ai-bpo2-card, .ai-bpo2-section__container {
    max-width: 98vw;
  }
}
@media (max-width: 1100px) {
  .ai-bpo2-card {
    flex-direction: column;
    height: auto;
    min-height: 500px;
  }
  .ai-bpo2-card__left, .ai-bpo2-card__right {
    padding: 40px 24px;
    border-radius: 0;
  }
  .ai-bpo2-card__right {
    border-radius: 0 0 32px 32px;
    min-height: 180px;
  }
}
@media (max-width: 700px) {
  .ai-bpo2-section {
    padding: 44px 0 32px 0;
  }
  .ai-bpo2-section .ai-bpo2-section__title {
    font-size: 2rem !important;
    line-height: 48px!important;
    font-weight: 500;
    color: #222;
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    padding-bottom: 24px;
  }

  .ai-bpo2-section__subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .ai-bpo2-card {
    border-radius: 18px;
    min-height: 260px;
  }
  .ai-bpo2-card__left, .ai-bpo2-card__right {
    padding: 18px 10px;
  }
  .ai-bpo2-card__title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .ai-bpo2-card__desc {
    font-size: 0.98rem;
  }
  .ai-bpo2-card__right {
    border-radius: 0 0 18px 18px;
  }
}

/* Stacking Cards Effect */
.stack-cards {
  --stack-cards-gap: 32px;
}
.stack-cards__item {
  position: relative;
  position: -webkit-sticky;
  position: sticky;
  top: 150px;
  height: 0;
  padding-bottom: 50%;
  -webkit-transform-origin: center top;
  transform-origin: center top;
  overflow: hidden;
}

/* Mobile responsive styles for stack cards */
@media (max-width: 700px) {
  .stack-cards.js-stack-cards.ai-bpo2-cards {
    --stack-cards-gap: 100px;
  }
  
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: 72px; /* ensure first card fully visible under header */
    height: auto;
    padding-bottom: 0;
    margin-bottom: 16px;
    -webkit-transform-origin: center top;
    transform-origin: center top;
    overflow: visible;
    min-height: 640px;
  }
  
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card {
    position: relative;
    width: 100%;
    height: auto;
    min-height: auto;
    transform: none !important;
    opacity: 1 !important;
    border-radius: 16px;
    margin: 0;
    flex-direction: column;
    z-index: 1; /* prevent next card overlapping CTA */
  }
  
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item:last-child {
    margin-bottom: 0;
  }
  
  /* Mobile styles for card content */
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__left,
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__right {
    padding: 20px 16px;
  }
  
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__desc {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .ai-bpo2-learn-link{
    margin-top: 16px!important;
  }
  /* Make right card same height as left and display first on mobile */
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card {
    display: flex;
    flex-direction: column;
  }
  
  /* Reorder blocks for mobile - right blocks first, then left blocks */
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__right.ai-bpo2-card__right-2 {
    order: 1;
    height: clamp(200px, 30vw, 300px);
    min-height: 0;
    flex: 1;
  }
  
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__right.pink-bg {
    order: 2;
    height: auto;
    min-height: 0;
    flex: 1;
  }
  
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__left {
    order: 3;
    flex: 1;
    height: auto;
    min-height: 0;
  }
  
  /* Ensure both sides have equal height */
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__left,
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__right.ai-bpo2-card__right-2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
  }
  
  /* Hide inner content and show mobile image for right card */
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__right.ai-bpo2-card__right-2 {
    background-image: url('../../Img/mob-image-home-bpo.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    border-radius: 20px 20px 0 0 !important;
  }
  
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__right.ai-bpo2-card__right-2 > * {
    display: none !important;
  }
  

  
  /* Hide content and show mobile image for pink-bg block */
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__right.pink-bg {
    background-image: url('../../Img/mob-image-home-workspace.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    border-radius: 20px 20px 0 0 !important;
  }
  
  .stack-cards.js-stack-cards.ai-bpo2-cards .stack-cards__item .ai-bpo2-card__right.pink-bg > * {
    display: none !important;
  }
  

}
.stack-cards__item > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Убираем только атрибуты параллакса, но оставляем динамическую прозрачность */
[data-parallax-card] {
  transform: none !important;
}
.ai-bpo2-card__right.pink-bg{
  /* background: linear-gradient(120deg, #c45cff 0%, #6f9dff 100%)!important; */
  background-image: url('../../Img/workspace_background.webp')!important;
  background-size: cover!important;      /* чтобы фон растягивался на весь элемент */
  background-position: center!important; /* центрировать фон */
  background-repeat: no-repeat!important;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 64px 56px;
}

.ai-bpo2-block-left {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* padding: 20px; */
  align-items: flex-end;
}

.ai-bpo2-block-left__image {
  max-width: 100%;
  height: auto;
}

.ai-bpo2-block-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* padding: 20px; */
}

.ai-bpo2-block-right__image-container {
  position: relative;
  width: 356px;
  height: 411px;
}

.ai-bpo2-block-right__image {
  width: 356px;
  height: 411px;
  object-fit: cover;
  border-radius: 8px;
}

.ai-bpo2-block-right__content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: calc(100% - 40px);
}

.ai-bpo2-block-right__text {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  bottom: 0px;
  left: 0px;
   width: 100%;
}

.ai-bpo2-block-right__title {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  justify-content: space-between;
}

.ai-bpo2-block-right__wave {
  flex-shrink: 0;
}

.wave-bar {
  animation: waveAnimation 3s ease-in-out infinite;
  transform-origin: bottom;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; }
.wave-bar:nth-child(5) { animation-delay: 0.8s; }
.wave-bar:nth-child(6) { animation-delay: 1s; }
.wave-bar:nth-child(7) { animation-delay: 1.2s; }
.wave-bar:nth-child(8) { animation-delay: 1.4s; }
.wave-bar:nth-child(9) { animation-delay: 1.6s; }

@keyframes waveAnimation {
  0%, 100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.7);
    opacity: 0.9;
  }
}


.ai-bpo2-block-right__description {
  font-size: 16px;
  font-weight: 400;
  color: #818181;
  opacity: 0.8;
}

.ai-bpo2-card__right.ai-bpo2-card__right-2{
  /* background: linear-gradient(120deg, #c45cff 0%, #6f9dff 100%)!important; */
  background-image: url('../../Img/bpo_background (3).webp')!important;
  background-size: cover!important;      /* чтобы фон растягивался на весь элемент */
  background-position: center!important; /* центрировать фон */
  background-repeat: no-repeat!important;
}
.ai-bpo2-card > * {
  position: static !important;
  width: 50% !important;
  height: 720px !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: auto !important;
  pointer-events: auto !important;
  margin: 0 !important;
  background: #f3f3f3 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.ai-bpo2-card__left {
  align-items: flex-start;
}
.ai-bpo2-card__right {
  background: linear-gradient(120deg, #6a5cff 0%, #8f6fff 100%) !important;
  border-radius: 0 32px 32px 0;
  align-items: stretch;
}
ul.stack-cards.js-stack-cards.ai-bpo2-cards{
  padding: 0!important;
}
/* Универсальные карточки */
:root {
  --card-gap: 300px;
  --card-padding-desktop: 64px 56px;
  --card-padding-tablet: 40px 24px;
  --card-padding-mobile: 18px 10px;
}
.stack-cards {
  gap: var(--card-gap);
}
.mono-card {
  width: 100%;
  max-width: 1440px;
  height: 700px;
  max-height: 700px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(34,34,68,0.07);
  display: flex;
  overflow: hidden;
}
.mono-card__side {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--card-padding-desktop);
  width: 50%;
}
.mono-card__side--left {
  align-items: flex-start;
}
.mono-card__side--right {
  background: none;
  border-radius: 0 32px 32px 0;
  min-height: 100%;
  min-width: 0;
}
.mono-card--gradient .mono-card__side--right {
  background: linear-gradient(120deg, #6a5cff 0%, #8f6fff 100%);
}
.mono-card__title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
}
.mono-card__desc {
  font-size: 1.15rem;
  color: #444;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 1500px) {
  .mono-card, .ai-bpo2-section__container {
    max-width: 100vw;
  }
}
@media (max-width: 1100px) {
  .mono-card {
    flex-direction: column;
    height: auto;
    min-height: 500px;
  }
  .mono-card__side {
    padding: var(--card-padding-tablet);
    border-radius: 0;
  }
  .mono-card__side--right {
    border-radius: 0 0 32px 32px;
    min-height: 180px;
  }
}
@media (max-width: 700px) {
  .mono-card {
    border-radius: 18px;
    min-height: 260px;
  }
  .ai-bpo2-section{
    padding:32px 16px;
  }
  .ai-bpo2-card > *{
    width: 100%!important;
  }
  .mono-card__side {
    padding: var(--card-padding-mobile);
  }
  .mono-card__title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .mono-card__desc {
    font-size: 0.98rem;
  }
  .mono-card__side--right {
    border-radius: 0 0 18px 18px;
  }
}
/* Удаляем старые стили ai-bpo2-card, ai-bpo-card и их элементы */
/* ...удалить блоки .ai-bpo2-card, .ai-bpo2-card__left, .ai-bpo2-card__right, .ai-bpo-card, .ai-bpo-card__left, .ai-bpo-card__right... */

.ai-bpo2-card__right .chat-widget {
  width: 300px;
  height: 345px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(34,34,68,0.10);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  position: relative;
  margin: 32px auto 0 auto;
  
}
.ai-bpo2-card__right .chat-widget__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.ai-bpo2-card__right .chat-widget__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}
.ai-bpo2-card__right .chat-widget__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ai-bpo2-card__right .chat-widget__name {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}
.ai-bpo2-card__right .chat-widget__messages {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 8px 0 8px 0;
}
.ai-bpo2-card__right .chat-widget__message {
  display: inline-block;
  max-width: 85%;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(40px);
  animation: chatMessageIn 0.6s forwards;
  margin: 0 8px;
  word-break: break-word;
  box-sizing: border-box;
}
.ai-bpo2-card__right .chat-widget__message.user {
  background: #f3f3f3;
  color: #222;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  text-align: right;
}
.ai-bpo2-card__right .chat-widget__message.bot {
  background: #b158fc;
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  text-align: left;
}
.ai-bpo2-card__right .chat-widget__message.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
@keyframes chatMessageIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ai-bpo2-card__right .chat-widget__messages {
  height: 140px; /* Ограничиваем высоту */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.ai-bpo2-card__right .chat-widget__message {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s ease;
}

.ai-bpo2-card__right .chat-widget__message.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-widget__messages {
  height: 140px; /* 2 сообщения по 70px */
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.chat-widget__message {
  height: auto;
  line-height: 1.4;
  padding: 10px 14px;
  font-size: 0.95rem;
  background: #e6eaff;
  border-radius: 16px;
  color: #222;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.ai-bpo2-card__right {
  position: relative!important;
}

.ai-bpo2-card__right .chat-widget {
  position: absolute;
  top: 24px;
  left: 44px;
  z-index: 2;
}
.ai-bpo2-card__right{
  position: absolute;
  left: 44px;
  bottom: 44px;
}
 .ai-bpo2-card__stat-block {
  position: absolute;
  right: 44px;
  bottom: 44px;
  width: 250px;
  height: 90px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(34,34,68,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  display: none;
}
.ai-bpo2-card__right .ai-bpo2-card__stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 4px;
}
.ai-bpo2-card__right .ai-bpo2-card__stat-desc {
  font-size: 18px;
  color: #222;
  text-align: center;
  font-weight: 400;
  opacity: 0.85;
}

.ai-bpo2-card__right .ai-bpo2-card__stat-block--curve {
  position: absolute;
    bottom: 44px;
    width: 290px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(34, 34, 68, 0.10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 0 16px 0;
    overflow: hidden;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
}
.ai-bpo2-card__curve-svg {
  position: absolute;
  left: 0; 
  top: -50px!important;
  width: 100%; height: 100%;
  z-index: 1;
}
.ai-bpo2-card__curve-line {
  stroke: #7affb2;
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: curveLineAppear 2.2s cubic-bezier(.4,0,.2,1) forwards;
  animation-iteration-count: infinite;
  animation-delay: 0.5s;
}
@keyframes curveLineAppear {
  0% {
    stroke-dashoffset: 400;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.ai-bpo2-card__stat-curve-text-main {
  position: relative;
  z-index: 2;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 18px 0 0 18px;
  line-height: 1.2;
}
.ai-bpo2-card__stat-curve-text-sub {
  position: relative;
  z-index: 2;
  font-size: 15px;
  color: #fff;
  opacity: 0.7;
  margin: 4px 0 0 18px;
  line-height: 1.2;
}
a.ai-bpo2-learn-link{
  color: #8272FE;
  display: flex;
  gap: 4px;
}
.ai-bpo2-learn-link {
  display: flex;
  align-items: center;
  margin-top: 32px;
  font-size: 1.08rem;
  font-weight: 500;
  color: #a3a3ff;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  gap: 4px;
}
.ai-bpo2-learn-link:hover {
  color: #6a5cff;
  text-decoration: none;
  gap: 10px;
}



/* Instant Setup Card */
.instant-setup-card {
  padding: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    color: #fff;
    max-width: 320px;
    margin: 0 auto 40px auto;
    position: absolute;
    z-index: 10;
    top: 20%;
    left: 10%;

}

.instant-setup-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.instant-setup-card__icon {
  width: 24px;
  height: 24px;
}

.instant-setup-card__title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.instant-setup-card__time {
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1;
  text-align: left;
}

.instant-setup-card__graph {
  width: 100%;
  height: auto;
  margin-top: -50px;
  opacity: 10%;
}

.instant-setup-card__desc {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  opacity: 0.9;
  margin: 0;
}

@media (max-width: 768px) {
  .instant-setup-card__time {
    font-size: 36px;
  }
  
  
}

/* AI-assisted Workspace Card */
.ai-workspace-card {
  padding: 24px;
    background-color: #9F9FF8;
    border-radius: 20px;
    color: #fff;
    max-width: 370px;
    margin: 0 auto 40px auto;
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 15%;
}

.ai-workspace-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ai-workspace-card__icon {
  width: 24px;
  height: 24px;
}

.ai-workspace-card__title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.ai-workspace-card__pie {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.ai-workspace-card__legend {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 16px;
}

.ai-workspace-card__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-workspace-card__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ai-workspace-card__legend-dot--ai {
  background-color: #fff;
}

.ai-workspace-card__legend-dot--human {
  background-color: rgba(255, 255, 255, 0.3);
}

.ai-workspace-card__legend-text {
  font-size: 14px;
  color: #fff;
}

.ai-workspace-card__desc {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  opacity: 0.9;
  margin: 0;
}

@media (max-width: 768px) {
  .ai-workspace-card {
    max-width: 100%;
    /* padding: 20px; */
    width: 100%;
    position: unset;
    bottom: auto;
    right: auto;
    margin: 0 auto 24px auto;
    height: 350px;
  }
}

/* Scale Conversations Card */
.scale-conversations-card {
  padding: 24px;
  background-color: #9F9FF8;
  border-radius: 20px;
  color: #fff;
  max-width: 320px;
  margin: 0 auto 40px auto;
  position: absolute;
  z-index: 10;
  top: 20%;
  right: 10%;
}

.scale-conversations-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.scale-conversations-card__icon {
  width: 24px;
  height: 24px;
}

.scale-conversations-card__title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.scale-conversations-card__desc {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  opacity: 0.9;
  margin: 0 0 16px 0;
}

.scale-conversations-card__graph {
  width: 100%;
  height: 80px;
}

.scale-conversations-card__chart {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .scale-conversations-card {
    max-width: 100%;
    /* padding: 20px; */
    position: relative;
    top: auto;
    right: auto;
    margin: 0 auto 20px auto;
    width: 100%;
    height: 350px;
    order: 2;
  }
}

/* Impact that Matters Card */
.impact-card {
  padding: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    color: #fff;
    max-width: 370px;
    margin: 0 auto 40px auto;
    position: absolute;
    z-index: 10;
    bottom: 0;
    right: 15%;
}

.impact-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.impact-card__icon {
  width: 24px;
  height: 24px;
}

.impact-card__title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.impact-card__stats {
  margin-bottom: 20px;
}

.impact-card__stat {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin: 0 0 8px 0;
  opacity: 0.9;
}

.impact-card__gauge {
  display: flex;
  justify-content: center;
  align-items: center;
}

.impact-card__chart {
  width: 75%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .impact-card {
    max-width: 100%;
        position: unset;
        margin: 0 auto 24px auto;
        width: 100%;
        height: 350px;
        order: 1;
        justify-content: space-between;
        display: flex;
        flex-direction: column;
  }
}

/* Dashboard Container */
.dashboard-container {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
  /* height: 100%; */
}

/* Dashboard Blocks */
.dashboard-block {
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  justify-content: space-between;
}

.dashboard-block--interactions {
  background-color: #17181C;
  color: #fff;
}

.dashboard-block--cost {
  background-color: #BDBDFA;
  color: #fff;
}

/* Dashboard Block Header */
.dashboard-block__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-block__icon {
  width: 24px;
  height: 24px;
}

.dashboard-block__title {
  font-size: 24px;
  font-weight: 500;
  color: inherit;
}

/* Dashboard Block Metric */
.dashboard-block__metric {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.dashboard-block__number {
  font-size: 48px;
  font-weight: 700;
  color: inherit;
  line-height: 1;
}

.dashboard-block__number--cost {
  color: #1F1F1F;
}

.dashboard-block__label {
  font-size: 14px;
  font-weight: 400;
  color: inherit;
  opacity: 0.8;
  color: #747477;
}

/* Horizontal Bar Chart */

  .horizontal-bar-chart {
    flex-direction: column;
    gap: 44px;
    justify-content: center;
    display: flex;
    height: 226px;
}


.chart-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chart-label {
  font-size: 14px;
  font-weight: 400;
  color: inherit;
  min-width: 80px;
}

.chart-bar {
  flex: 1;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  overflow: hidden;
}

.chart-bar__filled {
  background: linear-gradient(90deg, #4A90E2, #6A5CFF);
  border-radius: 4px;
}

.chart-bar__empty {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Chart labels with vertical lines */
.chart-labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 16px;
  height: 210px;
  position: absolute;
  top: 0;
  right: 0;
  gap: 41px;
}
.dashboard-block__chart{
position: relative;
/* height: 226px; */
}
.chart-label-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chart-label-line {
  width: 1px;
  height: 200px;
  background-color: rgb(255 255 255 / 9%);;
}

.chart-label-number {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* Vertical Bar Chart */
.vertical-bar-chart {
  width: 100%;
  height: 226px;
  display: flex;
}

.chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: end;
  /* gap: 8px; */
  height: auto;
  width: 100%;
}

.chart-bar-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.chart-bar-vertical__bar {
  width: 56px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  min-height: 20px;
}

.chart-bar-vertical__bar--1 {
  height: 86px;
}

.chart-bar-vertical__bar--2 {
  height: 151px;
}

.chart-bar-vertical__bar--3 {
  height: 108px;
  background: linear-gradient(180deg, #D0D0FB, #6958ED);
}

.chart-bar-vertical__bar--4 {
  height: 173px;
}

.chart-bar-vertical__bar--5 {
  height: 65px;
}

.chart-bar-vertical__label {
  font-size: 14px;
  font-weight: 400;
  color: #1F1F1F;
  text-align: center;
}

.chart-bar-vertical__label--active {
  background-color: #1F1F1F;
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: column;
    gap: 16px;
  }
  
  .dashboard-block {
    padding: 20px;
    gap: 20px;

  }
  
  .dashboard-block__number {
    font-size: 36px;
  }
  
  .chart-bars {
    height: 100px;
  }
}

/* Flow Container Styles */
.flow-container {
  display: flex;
  gap: 24px;
  width: 100%;
  height: 100%;
}

.flow-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.flow-block--left {
  background: #BDBDFA;
  padding: 8px;
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.flow-block--right {
  background: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.flow-right-block {
  width: 100%;
  border-radius: 20px;
  padding: 24px;
}

.flow-right-block--first {
  background: #BDBDFA;
}

.flow-right-block--second {
  background: #17181C;
}

/* Latency Block Styles */
.latency-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.latency-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.latency-icon {
  width: 20px;
  height: 20px;
}

.latency-title {
  color: #333;
  font-weight: 500;
  font-size: 16px;
}

.latency-value {
  background: #fff;
  color: #333;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 14px;
}

.latency-bar {
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #3B82F6, #10B981, #F59E0B, #F97316, #8B5CF6);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.latency-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #3B82F6, #10B981, #F59E0B, #F97316, #8B5CF6);
  border-radius: 4px;
  animation: rainbow-flow 3s ease-in-out infinite;
}

@keyframes rainbow-flow {
  0% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(180deg); }
  100% { filter: hue-rotate(360deg); }
}

.latency-progress {
  width: 100%;
  height: 100%;
  display: flex;
  border-radius: 4px;
  overflow: hidden;
}

.latency-segment {
  flex: 1;
  height: 100%;
}

.latency-segment--blue {
  background: #3B82F6;
}

.latency-segment--green {
  background: #10B981;
}

.latency-segment--yellow {
  background: #F59E0B;
}

.latency-segment--orange {
  background: #F97316;
}

.latency-segment--purple {
  background: #8B5CF6;
}

/* Keywords Block Styles */
.keywords-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.keywords-icon {
  width: 20px;
  height: 20px;
}

.keywords-title {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
}

.keywords-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-tag {
  background: #fff;
  color: #333;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
}
img.flow-icon.flow-icon--play{
  width: 32px;
}
img.flow-wave-img {
  width: 100%;
}

.flow-inner-block {
  /* flex: 1; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #17181C;
  border-radius: 20px;
  padding: 24px;
  gap: 24px;
  width: 100%;
}

.flow-inner-block-chat-customer,
.flow-inner-block-chat-agent {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  gap: 14px;
  width: 100%;
}

.chat-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.chat-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-name {
  color: #6958ED;
  font-weight: 500;
  font-size: 14px;
}

.chat-time {
  color: #999;
  font-size: 12px;
}

.chat-play-icon {
  width: 16px;
  height: 16px;
  color: #6958ED;
}

.chat-message {
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  width: 100%;
  text-align: left;
}

.chat-smile-icon {
  width: 20px;
  height: 20px;
}

/* Flow Icons */
.flow-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.flow-icon--play {
  width: 32px;
  height: 32px;
}

.flow-wave-img {
  width: 220px;
  height: 55px;
}

@media (max-width: 768px) {
  .flow-container {
    flex-direction: column;
    gap: 16px;
  }
  
  .flow-block {
    padding: 16px;
  }
}

/* Combined Sections Wrapper */
.combined-sections {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url('../../Img/background_section.webp');
  background-position: bottom ;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Video border radius reset */
video {
  border-radius: 0px !important;
}

/* .combined-sections::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
} */

.combined-sections > * {
  position: relative;
  z-index: 2;
}



.step-header{
  display: flex;
  flex-grow: inherit;
  align-items: stretch;
  margin-bottom: 24px;
}

.integration-step.step-2 .step-visual {
  margin-top: auto;
  margin-bottom: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.step-visual svg{
  width: 100%;
}
/* Questions Section */
.questions-section {
  background: #010101;
  padding: 100px 0 100px 0;
  width: 100%;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.questions-section__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.questions-section__header {
  text-align: center;
  margin-bottom: 80px;
}

.questions-section__title {
  color: #fff;
  font-size: 3rem !important;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0px!important;
}

.questions-section__title-gradient {
  background: linear-gradient(135deg, #6958ED 0%, #8272FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.questions-accordion {
  width: 100%;
  max-width: 1400px;
}

.question-item {
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.question-item:last-child {
  border-bottom: none;
}

.question-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 44px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 400;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-button:hover {
  color: #8272FE;
}

.question-text {
  flex: 1;
  margin-right: 24px;
  line-height: 36px;
   }

.question-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0) invert(1);
}

.question-item.active .question-chevron {
  transform: rotate(180deg);
}

.question-answer {
  visibility: hidden;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.question-item.active .question-answer {
  visibility: visible;
  height: auto;
  padding: 0 0 44px 0;
  opacity: 1;
}

.question-answer p {
  color: #969696;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .questions-section {
    padding: 60px 0;
  }
  
  .questions-section__title {
    font-size: 2rem !important;
  }
  
  .questions-section__header {
    margin-bottom: 40px;
  }
  
  .question-button {
    padding: 24px 0;
    font-size: 1rem;
  }
  
  .question-item.active .question-answer {
    padding: 0 0 24px 0;
  }
}

/* Responsive Styles for Modern Blog */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .featured-post-block {
        flex-direction: column;
        gap: 0;
    }
    
    .featured-post-image {
        flex: none;
    }
    
    .featured-post-img {
        min-height: 200px;
    }
    
    .featured-post-content {
        width: 100%;
        padding: 30px;
    }
    
    .featured-post-block {
        display: none;
    }
    
    .featured-post-title {
        font-size: 24px;
    }
    
    .latest-posts-section {
        margin: 0px;
        padding: clamp(40px, 8vw, 80px) 0;
    }
    
    .blog-toolbar {
        display: none;
    }
    
    .breadcrumbs {
        padding: 16px 24px;
    }
    
    .breadcrumbs ol {
        align-items: flex-start;
    }
    
    .uc-hero .uc-container {
        display: grid;
        grid-template-columns: 1fr!important;
        gap: 0px!important;
        align-items: center;
        position: relative;
    }
    .webinars-controls{
      display: none!important;
    }
    .uc-hero__visual{
      justify-content: center!important;
    }

    .search-input-wrapper {
        min-width: auto;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .blog-card__content {
       
        min-height: 200px;
    }
    
    .blog-card__title {
        font-size: 1.1rem;
    }
    
    .blog-card__image {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .blog-toolbar {
        gap: 16px;
        top: 130px; /* Высота хедера + отступ */
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 12px 20px;
    }
    
    .search-input-wrapper {
        padding: 6px 12px;
    }
    
    .search-input {
        font-size: 0.8rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-card {
        border-radius: 10px;
    }
    
    .blog-card__image {
        height: 160px;
    }
    
    .blog-card__content {
       
        min-height: 180px;
    }
    
    .blog-card__title {
        font-size: 1.1rem;
    }
    
    .filter-tabs {
        gap: 8px;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    /* Single Post Mobile */
    .single-post-container {
        margin-top: 40px;
        padding: 0 16px;
    }
    
    .single-post__header {
        padding: 24px 24px 0;
    }
    
    .single-post__title {
        font-size: 2.5rem;
    }
    
    .single-post__content {
        padding: 0 24px 24px;
        font-size: 1.125rem;
    }
    
    .single-post__content h2 {
        font-size: 2rem;
        margin: 40px 0 20px 0;
    }
    
    .single-post__content h3 {
        font-size: 1.75rem;
        margin: 30px 0 15px 0;
    }
    
    .single-post__footer {
        padding: 0 24px 24px;
        margin-top: 24px;
        padding-top: 24px;
    }
    
    .post-nav-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .post-nav-link {
        padding: 16px;
    }
    
    .post-nav-title {
        white-space: normal;
        line-height: 1.3;
  }
}

.post, .page {
  margin: inherit;
}

@media (max-width: 768px) {
  .dashboard-block--interactions, .dashboard-block--cost {
    width: 100%;
    height: 100%;
  }
  .dashboard-block__header .dashboard-block__title {
    font-size: 9px;
  }
  .dashboard-block__metric .dashboard-block__number {
    font-size: 18px;
  }
  .chart-label {
    font-size: 9px;
  }
  .chart-bar-vertical {
    width: 21px;
  }
  .vertical-bar-chart{
    width: 100%;
    height: 88px;
  }
  .chart-bars{
    height: auto;
  }
  .chart-bar-vertical__bar{
    width: 16px;
  }
  .horizontal-bar-chart{
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    display: flex;
    height: 88px;
  }
  .chart-label-line{
    width: 1px;
    height: 88px;
  }
  .horizontal-bar-chart{
    height: 88px;
    gap: 16px;
  }
  .chart-labels{
    height: 88px;
  }
}

@media (max-width: 768px) {
  .chart-bar-vertical__bar--1 {
    height: 33px;
  }
  .chart-bar-vertical__bar--2 {
    height: 59px;
  }
  .chart-bar-vertical__bar--3 {
    height: 42px;
  }
  .chart-bar-vertical__bar--4 {
    height: 67px;
  }
  .chart-bar-vertical__bar--5 {
    height: 25px;
  }
}

@media (max-width: 768px) {
  .flow-content {
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .centered-hero-section__bgblock {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: auto;
    max-height: none;
  }
}

.footer-nav-columns {
  gap: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
}

.site-footer {
  padding: 0px;
}

@media (max-width: 768px) {
  section {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

.footer-main {
  padding: 100px 0px 0px 0px;
}

@media (max-width: 768px) {
  .templates-section__title,
  .templates-section__subtitle {
    font-size: 2rem !important;
  }
}

@media (max-width: 768px) {
  .templates-section__title-group {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .templates-section__grid img {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .design-launch-section {
    padding: 0 !important;
  }
}

@media (max-width: 768px) {
  .templates-column {
    max-width: 100%;
  }
  .centered-hero-section {
    width: auto;
  }
  
  .template-card {
    height: 400px;
  }
  
  .template-card__image img {
    object-fit: contain;
    width: 100%;
    height: auto;
  }
  
  .integration-step.step-1, 
  .integration-step.step-2 {
    height: 672px;
    display: flex;
    flex-direction: column;
  }
  
  .integration-step.step-2 {
    border: 1px #252525 solid;
  }
  
  /* Mobile integration step 1 image */
  .step-visual.step-1-img .step-image {
    content: url('../../Img/integration-home-image-step-1.webp');
  }
  
  /* Mobile integration step 2 image */
  .integration-step.step-2 .step-visual {
    background: url('../../Img/integration-home-image-step-2.webp') center/cover no-repeat;
    /* border-radius: 12px; */
    width: 100%;
    height: 400px;
    /* min-height: 400px; */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    /* margin-top: -200px; */
    margin-bottom: 40px;
    background-size: cover;
    order: -1;
  }
  
  .integration-step.step-2 .step-visual svg {
    display: none;
  }
  
  .step-tags {
    display: flex;
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .testimonials-infinity__title {
    display: none;
  }
  
  .footer-container {
    display: flex;
    flex-direction: column;
  }
  
  .footer-nav-columns {
    order: 2;
  }
  
  .footer-bottom-section {
    order: 2;
    
  }
  
  .footer-left-section {
    justify-content: space-between;
    flex-direction: column;
  }
  
  .footer-brand {
    order: 1;
  }
  
  section.seamless-integration-section {
    padding: 40px 0px;
  }
  
  .templates-section__header {
    margin-bottom: 44px;
  }
  
  .templates-section__demo-btn {
    display: none;
  }
  
  .design-launch-grid {
    display: none;
  }
  
  .templates-section {
    padding: 60px 0 60px 0;
  }
  
  .footer-main {
    padding: 44px 0px 0px 0px;
  }
  
  .explore-more-link {
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .swiper {
    padding-left: 24px;
    padding-right: 24px;
  }
  .swiper-slide {
    width: 100% !important;
  }
  .centered-hero-section__bgblock {
    height: auto;
    padding: 16px;
  }
  
  .btn, .btn--primary, .btn--secondary, .btn--primary-dark, .btn--secondary-dark, .uc-btn, .kb-hero__btn, .kb-cta__btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .centered-hero-section .swiper-slide .centered-hero-section__bgblock {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 768px) {
  .swiper-slide {
    height: auto;
  }
}

/* Prevent flash on AI BPO2 section during loader */
body.loading .ai-bpo2-section {
  opacity: 1;
}
body:not(.loading) .ai-bpo2-section {
  animation: none;
}

@media (max-width: 768px) {
	/* Mobile: simplify slides visuals to a single placeholder image */
	.centered-hero-section .swiper-slide[data-slide="0"] .centered-hero-section__imgwrap .dashboard-container,
	.centered-hero-section .swiper-slide[data-slide="1"] .centered-hero-section__imgwrap .flow-container,
	.centered-hero-section .swiper-slide[data-slide="4"] .centered-hero-section__imgwrap .flow-container {
		display: none !important;
	}
	/* Dashboard mobile image */
	.centered-hero-section .swiper-slide[data-slide="0"] .centered-hero-section__imgwrap::before {
		content: "";
		display: block;
		width: 100%;
		height: 0;
		padding-bottom: 56.25%; /* 16:9 ratio */
		background: url('../../Img/slide-dashboard-image.webp') center/cover no-repeat;
		border-radius: 8px;
	}
	/* Live Transcription mobile image */
	.centered-hero-section .swiper-slide[data-slide="1"] .centered-hero-section__imgwrap::before {
		content: "";
		display: block;
		width: 100%;
		height: 0;
		padding-bottom: 56.25%; /* 16:9 ratio */
		background: url('../../Img/slide-interaction-details-image.webp') center/cover no-repeat;
		border-radius: 8px;
	}
	/* Knowledge Base mobile image */
	.centered-hero-section .swiper-slide[data-slide="2"] .centered-hero-section__imgwrap::before {
		content: "";
		display: block;
		width: 100%;
		height: 0;
		padding-bottom: 56.25%; /* 16:9 ratio */
		background: url('../../Img/slide-knowledge-base-image.webp') center/cover no-repeat;
		border-radius: 8px;
	}
	/* Flow mobile image */
	.centered-hero-section .swiper-slide[data-slide="4"] .centered-hero-section__imgwrap::before {
		content: "";
		display: block;
		width: 100%;
		height: 0;
		padding-bottom: 56.25%; /* 16:9 ratio */
		background: url('../../Img/slide-flow-image.svg') center/cover no-repeat;
		border-radius: 8px;
	}
}

/* Mobile Image Quality Optimization */
@media (max-width: 768px) {
  /* Prevent image blur on mobile devices */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Optimize transform scale effects for images */
  .template-card:hover .template-card__image img,
  .blog-card:hover .blog-card__img,
  .blog-featured-post__image a:hover img,
  .blog-grid-post:hover .blog-grid-post__image img {
    transform: none !important;
    transition: none !important;
  }
  
  /* Disable problematic backdrop-filter on iOS Safari */
  .uc-hero__hint .uc-hint-card,
  .pricing-plan__header,
  .pricing-plan__feature,
  .ai-bpo2-card,
  .blog-toolbar,
  .mobile-menu-overlay,
  .dropdown-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  /* Ensure proper object-fit for images */
  .uc-hero__visual img,
  .uc-hero__hint img,
  .template-card__image img,
  .blog-featured-post__image img,
  .blog-grid-post__image img {
    object-fit: contain !important;
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Fix background images that might blur */
  .centered-hero-section .swiper-slide[data-slide="0"] .centered-hero-section__imgwrap::before,
  .centered-hero-section .swiper-slide[data-slide="1"] .centered-hero-section__imgwrap::before,
  .centered-hero-section .swiper-slide[data-slide="2"] .centered-hero-section__imgwrap::before {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }
}

/* Add mobile font-size unification at the end of the file */
@media (max-width: 768px) {
	/* Unify all link and button font sizes in mobile */
	.flow-link,
	.tab,
	.filter-tab,
	.mobile-menu__link,
	.mobile-menu__btn,
	.hero-section__btn,
	.templates-section__demo-btn,
	.explore-more-link,
	.ai-bpo2-learn-link,
	.question-button,
	.mono-header__btn,
	.step-link,
	.get-started-btn,
	.integration-devtools-btn,
	.post-nav-link,
	.search-btn,
	.filter-btn,
	.featured-post-link,
	.read-more-link,
	.tag-link,
	.back-to-blog__link,
	.btn,
	.btn-primary,
	.category-link,
	.newsletter-btn,
	.blog-nav__link,
	.search-form__btn {
		font-size: 1rem !important;
	}
	
	/* Special case for centered-hero-section flow-link */
	.centered-hero-section__bgblock .flow-link {
		font-size: 1rem !important;
	}
}

/* Knowledge Base Blocks */
.knowledge-base-container {
  display: flex;
  gap: 24px;
  width: 100%;
  height: 100%;
}

.knowledge-block {
  flex: 1;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.knowledge-block--articles {
  background: #17181C;
}

.knowledge-block--search {
  background: #BDBDFA;
}

.knowledge-block__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.knowledge-block__icon {
  width: 32px;
  height: 32px;
}

.knowledge-block__title {
  font-size: 24px;
  font-weight: 500;
}

.knowledge-block--articles .knowledge-block__title {
  color: #fff;
}

.knowledge-block--search .knowledge-block__title {
  color: #fff;
}

.knowledge-block__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.knowledge-block__visual img {
width: 100%;
}

img.knowledge-animation{
  height: -webkit-fill-available;
    width: 100%;
}
/* Book and Magnifier */
/* Knowledge Animation */
.knowledge-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes rainbow-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Search Tags */
.search-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  min-height: auto;
}

.search-tag {
  background: #fff;
  color: #333;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.search-tag--gradient {
  background: linear-gradient(90deg, #FFFFFF 0%, #9B90F3 100%)!important;
}

/* .search-tag:nth-child(1) { background: linear-gradient(135deg, #fff, #f0f0ff); }
.search-tag:nth-child(2) { background: linear-gradient(135deg, #fff, #fff0f0); }
.search-tag:nth-child(3) { background: linear-gradient(135deg, #fff, #f0fff0); }
.search-tag:nth-child(4) { background: linear-gradient(135deg, #fff, #fff8f0); }
.search-tag:nth-child(5) { background: linear-gradient(135deg, #fff, #f0f8ff); }
.search-tag:nth-child(6) { background: linear-gradient(135deg, #fff, #f8f0ff); }
.search-tag:nth-child(7) { background: linear-gradient(135deg, #fff, #fffff0); }
.search-tag:nth-child(8) { background: linear-gradient(135deg, #fff, #f0ffff); } */

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .knowledge-base-container {
    flex-direction: column;
    gap: 16px;
    display: none;
  }
  
  .knowledge-block {
    padding: 20px;
  }
  
  .search-tags-container {
    padding: 16px;
    gap: 8px;
  }
  
  .search-tag {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Preloader SVG animation */
.preloader-logo {
  display: block;
  width: 208px;
  height: 51px;
  animation: preloaderPulse 1.6s ease-in-out infinite;
}

/* Animate gradient stops via CSS variables */
.preloader-logo .animated-gradient stop:first-child { stop-color: #8EBBF3; }
.preloader-logo .animated-gradient stop:nth-child(2) { stop-color: #5E52F3; }
.preloader-logo .animated-gradient stop:last-child { stop-color: #C255F5; }

.preloader-logo .animated-gradient stop {
  animation: gradientShift 2.2s linear infinite;
}

@keyframes gradientShift {
  0%   { stop-color: #8EBBF3; }
  33%  { stop-color: #5E52F3; }
  66%  { stop-color: #C255F5; }
  100% { stop-color: #8EBBF3; }
}

@keyframes preloaderPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(98, 74, 241, 0)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 4px 16px rgba(98, 74, 241, 0.35)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(98, 74, 241, 0)); }
}

/* Stabilize scrollbar to prevent layout shift and jank */
html {
  scrollbar-gutter: stable both-edges;
}

