:root {
	--primary-color: rgb(69, 123, 245);
	--secondary-color: rgb(44, 74, 176);
	--dark-color: rgb(30, 69, 160);
	--medium-color: rgb(222, 38, 38);
	--light-color: rgb(255, 255, 255);
	--accent-color: #1e45a0;
	--text-dark: rgb(41, 41, 41);
}

/* Стили для заголовков - прописные буквы */
.chatbot-section-title,
.chatbot-faq-title,
.chatbot-pricing-title,
.aichat-hero h1,
.chatbot-hero h1 {
    text-transform: uppercase;
}

/* Общие стили для секций */
.chatbot-benefits,
.chatbot-tasks,
.chatbot-faq,
.chatbot-process,
.chatbot-cta,
.chatbot-pricing-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
  
}

/* Внутренний контейнер для контента секций */
.chatbot-benefits .chatbot-inner,
.chatbot-tasks .chatbot-inner,
.chatbot-faq .chatbot-inner,
.chatbot-process .chatbot-inner,
.chatbot-cta .chatbot-inner,
.chatbot-pricing-section .chatbot-pricing-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Префикс для изоляции стилей */
.aichat-landing {
    /* Сброс стилей для изоляции от Bootstrap */
    all: initial;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    color: #ffffff;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Определяем все переменные внутри нашего контейнера */
.aichat-landing {
    --aichat-color-bg: #0f172a;
    --aichat-color-bg-alt: #1e293b;
    --aichat-color-primary: #3b82f6;
    --aichat-color-primary-alt: #6366f1;
    --aichat-color-text: #ffffff;
    --aichat-color-text-muted: #9ca3af;
    --aichat-font-main: 'Inter', sans-serif;
}



/* Герой секция */
.aichat-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px; 
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
	
    overflow: hidden;
}

.aichat-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/head.webp') no-repeat center/cover;
    opacity: 0.15;
    transform: translateY(0);
    transition: transform 0.5s ease-out;
}

.aichat-hero:hover::before {
    transform: translateY(-20px);
}

.aichat-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.aichat-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--aichat-color-text);
}

.aichat-hero p {
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--aichat-color-text-muted);
}

.aichat-hero-btns {
    display: inline-flex;
    gap: 20px;
}

.aichat-btn-primary {
    background: linear-gradient(135deg, var(--aichat-color-primary), var(--aichat-color-primary-alt));
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}

.aichat-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59,130,246,0.4);
    color: #fff;
    text-decoration: none;
}

.aichat-btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s;
    display: inline-block;
}

.aichat-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}




/* Адаптив */
@media (max-width: 768px) {
    .aichat-features {
        flex-direction: column;
    }
    .aichat-hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    .aichat-hero p {
        font-size: 1rem;
        text-align: center;
    }
    .aichat-benefit-card, 
    .aichat-testimonial-card, 
    .aichat-price-card {
        max-width: 100%;
    }
}

/* Общий контейнер всего лендинга */
.chatbot-landing {
  font-family: 'Inter', sans-serif;
  color: var(--light-color);
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
}

.chatbot-container {
  width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, rgb(28, 53, 138) 20%, rgb(80, 125, 232) 100%);
}

.chatbot-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Шапка сайта */
.chatbot-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: rgba(12, 22, 32, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(94, 153, 255, 0.1);
}

.chatbot-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.chatbot-menu {
  display: flex;
  gap: 20px;
}

.chatbot-menu a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.chatbot-menu a:hover {
  color: var(--primary-color);
}

/* Герой-секция */
.chatbot-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgb(224, 232, 255) 20%, rgb(157, 180, 252) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    
}

.chatbot-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: contain;
    opacity: 0.15;
    z-index: 0;
}

.chatbot-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chatbot-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    white-space: nowrap;
}

.chatbot-hero p {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-dark);
    width: 100%;
    display: block;
    align-items: center;
}

.chatbot-btn-primary {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.7s ease, box-shadow 0.3s ease;
  border: none;
  font-size: 1rem;
}

.chatbot-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(94, 153, 255, 0.3);
}

.chatbot-btn-secondary {
  background: transparent;
  color: var(--text-dark);
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  border: 2px solid var(--primary-color);
  transition: background 0.3s ease;
  font-size: 1rem;
}

.chatbot-btn-secondary:hover {
  background: rgba(94, 153, 255, 0.1);
}

/* Контейнер */
.chatbot-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Секция задач */
.chatbot-tasks {
  background: linear-gradient(135deg, rgb(28, 53, 138) 20%, rgb(80, 125, 232) 100%);
}

.chatbot-section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: rgb(255, 255, 255);
}

.chatbot-tasks-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.chatbot-task-item {
  background: transparent;
  position: relative;
  border-radius: 15px;
  padding: 30px;
  transition: transform 0.7s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.chatbot-task-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(135deg, rgb(28, 53, 138) 20%, rgb(80, 125, 232) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.chatbot-task-item:hover {
  transform: translateY(-5px);
  box-shadow: 5px 5px 15px rgba(255, 255, 255);
}

.chatbot-task-icon {
  margin-bottom: 20px;
  font-size: 5.9rem;
  color: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.chatbot-task-text {
  font-size: 1.5rem;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--light-color);
}

/* Секция преимуществ */
.chatbot-benefits {
  background: linear-gradient(135deg, rgb(28, 53, 138) 20%, rgb(80, 125, 232) 100%);
  width: 100%;
}

.chatbot-section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Стили для карточек */
.card-container {
  perspective: 1000px;
  height: 250px;
  margin-bottom: 20px;
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.card.flipped {
  transform: rotateY(180deg);
}

.card-front, 
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, rgb(28, 53, 138) 20%, rgb(80, 125, 232) 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-back {
  transform: rotateY(180deg);
  text-align: center;
  padding: 25px;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  color: white;
}

.card-text {
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.3;
  color: white;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .chatbot-section-title {
    font-size: 2rem;
  }
}

/* Стили для плавного перехода между секциями */
/* Секция процесса */
.chatbot-process {
 background: linear-gradient(135deg, rgb(28, 53, 138) 20%, rgb(80, 125, 232) 100%);
}

.chatbot-process-intro {
 max-width: 800px;
 margin: 0 auto 50px;
 text-align: center;
 font-size: 1.5rem;
 line-height: 1.6;
 color: var(--light-color);
}

.chatbot-steps {
 display: flex;
 flex-direction: column;
 gap: 30px;
 position: relative;
}

.chatbot-steps::before {
 content: '';
 position: absolute;
 left: 35px;
 top: 0;
 bottom: 0;
 width: 3px;
 background-color: var(--primary-color);
 opacity: 0.3;
}

.chatbot-step {
 display: flex;
 gap: 30px;
 position: relative;
}

.chatbot-step-number {
 width: 70px;
 height: 70px;
 border-radius: 50%;
 background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.5rem;
 font-weight: 700;
 flex-shrink: 0;
 z-index: 1;
 color: var(--light-color);
}

.chatbot-step-content {
 padding: 25px;
 background-color: rgba(31, 58, 84, 0.4);
 border-radius: 15px;
 flex-grow: 1;
}

.chatbot-step-title {
 font-size: 3rem;
 font-weight: 600;
 margin-bottom: 10px;
 color: var(--light-color);
}

.chatbot-step-text {
 font-size: 1.3rem;
 line-height: 1.6;
 color: var(--light-color);
}

/* Секция FAQ */
.chatbot-faq {
  background: linear-gradient(135deg, rgb(224, 232, 255) 20%, rgb(157, 180, 252) 100%);
}

.chatbot-faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.chatbot-faq-item {
  background: transparent;
  position: relative;
  border-radius: 15px;
  padding: 25px;
  transition: transform 0.7s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.chatbot-faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(135deg, rgb(28, 53, 138) 20%, rgb(80, 125, 232) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.chatbot-faq-item:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.chatbot-faq-item:hover {
  box-shadow: 15px 15px 15px rgba(64, 102, 203, 0.49);
}

.chatbot-faq-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #000000;
}

.chatbot-faq-question {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000;
}

.chatbot-faq-answer {
  font-size: 2rem;
  line-height: 1.6;
  color: #000000;
}

/* Секция CTA */
.chatbot-cta {
 background: linear-gradient(135deg, rgb(28, 53, 138) 20%, rgb(80, 125, 232) 100%);
 text-align: center;
 position: relative;
 overflow: hidden;
}

.chatbot-cta::before {
 content: '';
 position: absolute;
 top: -50px;
 right: -50px;
 width: 400px;
 height: 400px;
 background: radial-gradient(circle, rgba(94, 153, 255, 0.2) 0%, transparent 70%);
 border-radius: 50%;
}

.chatbot-cta-content {
 max-width: 700px;
 margin: 0 auto;
 position: relative;
 z-index: 1;
}

.chatbot-cta h2 {
 font-size: 2.5rem;
 font-weight: 700;
 margin-bottom: 1.5rem;
 color: var(--light-color);
}

.chatbot-cta p {
 font-size: 1.5rem;
 margin-bottom: 2rem;
 color: var(--light-color);
}

/* Форма */
.chatbot-form {
 background-color: rgba(31, 58, 84, 0.7);
 padding: 30px;
 border-radius: 15px;
 max-width: 600px;
 margin: 0 auto;
 backdrop-filter: blur(10px);
}

.chatbot-form-title {
 font-size: 3rem;
 font-weight: 600;
 margin-bottom: 20px;
 text-align: center;
 color: var(--light-color);
}

.chatbot-form-group {
 margin-bottom: 20px;
}

.chatbot-form input,
.chatbot-form textarea,
.chatbot-form select {
 width: 100%;
 padding: 12px 15px;
 border-radius: 8px;
 border: 1px solid rgba(94, 153, 255, 0.2);
 background-color: rgba(12, 22, 32, 0.6);
 color: var(--light-color);
 font-size: 1.3rem;
 transition: border-color 0.3s ease;
}

.chatbot-form input:focus,
.chatbot-form textarea:focus,
.chatbot-form select:focus {
 border-color: var(--primary-color);
 outline: none;
}

.chatbot-form label {
 display: block;
 margin-bottom: 8px;
 font-weight: 500;
 color: var(--light-color);
}

.chatbot-form textarea {
 min-height: 120px;
 resize: vertical;
}

.chatbot-form-submit button[type="submit"] {
 background: linear-gradient(135deg, rgb(0, 145, 252), rgb(18, 132, 250));
 color: #ffffff;
 padding: 12px 28px;
 border-radius: 30px;
 text-decoration: none;
 font-weight: 600;
 display: inline-block;
 transition: transform 0.7s ease, box-shadow 0.3s ease;
 border: none;
 font-size: 1.3rem;
 cursor: pointer;
 width: 100%;
 max-width: 300px;
}

.chatbot-form-submit button[type="submit"]:hover {
 transform: translateY(-3px);
 box-shadow: 0 10px 20px rgba(94, 153, 255, 0.3);
}

/* Стилі для спрощеної секції стоимости */
/* Стили для секции chatbot-pricing-section */
.chatbot-pricing-section {
   background: linear-gradient(135deg, rgb(224, 232, 255) 20%, rgb(157, 180, 252) 100%);
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.chatbot-pricing-container {
   max-width: 1240px;
   margin: 0 auto;
   position: relative;
   z-index: 1;
   padding: 0 20px;
}

.chatbot-pricing-title {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 50%, #4776E6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(71, 118, 230, 0.2);
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 0;
    width: 100%;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.chatbot-pricing-content {
   display: flex;
   justify-content: center;
}

.chatbot-pricing-info {
   background: linear-gradient(135deg, rgb(28, 53, 138) 20%, rgb(80, 125, 232) 100%);
   position: relative;
   border-radius: 15px;
   padding: 25px;
   transition: transform 0.7s ease, box-shadow 0.3s ease;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
   width: 100%;
   text-align: center;
   z-index: 1;
}

.chatbot-pricing-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.chatbot-pricing-icon i {
    font-size: 3.5rem;
    color: #ffffff;
    opacity: 0.9;
}

.chatbot-pricing-amount {
   font-size: 2.5rem;
   font-weight: 700;
   color: #ffffff;
   margin-bottom: 1rem;
}

.chatbot-pricing-description {
   color: #ffffff;
   font-size: 1.8rem;
   line-height: 1.9;
   margin-bottom: 2rem;
   font-weight: bold;
}

.chatbot-demo-box {
   background: transparent;
   position: relative;
   border-radius: 15px;
   padding: 25px;
   display: flex;
   flex-direction: column;
   align-items: center;
   margin-bottom: 2rem;
   text-align: center;
   box-shadow: 0 10px 30px rgba(89, 200, 243, 0.31);
   z-index: 1;
   border: 2px solid rgba(255, 255, 255, 0.2);
}

.chatbot-demo-icon {
   flex-shrink: 0;
   margin-bottom: 15px;
}

.chatbot-demo-content h3 {
   font-size: 2rem;
   font-weight: 600;
   color: #ffffff;
   margin-top: 0;
   margin-bottom: 0.75rem;
   text-align: center;
}

.chatbot-demo-content p {
   color: #ffffff;
   font-size: 1.6rem;
   line-height: 1.6;
   margin: 0;
   text-align: center;
}

.chatbot-pricing-action {
   margin-top: 2rem;
}

.chatbot-pricing-section .chatbot-pricing-button,
.chatbot-pricing-section .chatbot-pricing-button:focus,
.chatbot-pricing-section .chatbot-pricing-button:hover,
.chatbot-pricing-section .chatbot-pricing-button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 50%, #4776E6 100%);
    background-size: 200% auto;
    color: white;
    padding: 15px 35px;
    border-radius: 5px; /* уменьшенные скругленные углы */
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.7s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(71, 118, 230, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    outline: none;
    animation: gradient-shift 5s ease infinite;
}

.chatbot-pricing-section .chatbot-pricing-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(71, 118, 230, 0.5);
    color: white;
    text-decoration: none;
	
}


/* Адаптивность */
@media (max-width: 992px) {
 .chatbot-hero h1 {
   font-size: 3rem;
 }
 
 .chatbot-section-title {
   font-size: 2rem;
 }
 
 .chatbot-step {
   flex-direction: column;
   gap: 15px;
 }
 
 .chatbot-steps::before {
   display: none;
 }
 
 .chatbot-step-number {
   width: 60px;
   height: 60px;
   font-size: 1.3rem;
 }
}

@media (max-width: 768px) {
 .chatbot-hero h1 {
   font-size: 2.5rem;
   white-space: normal;
   text-align: center;
 }
 
 .chatbot-hero p {
   
   text-align: center;
   max-width: 90%;
   margin-left: auto;
   margin-right: auto;
 }
 
 .chatbot-buttons {
   flex-direction: column;
 }
 
 .chatbot-footer-content {
   flex-direction: column;
 }
 
 .chatbot-pricing-title {
   font-size: 1.75rem;
 }
   
 .chatbot-pricing-info {
   padding: 1.5rem;
 }
   
 .chatbot-demo-box {
   flex-direction: column;
   padding: 1.25rem;
 }
   
 .chatbot-pricing-amount {
   font-size: 1.75rem;
 }
 
 .chatbot-section-title {
   font-size: 2.5rem;
 }
 
 .chatbot-task-text {
   font-size: 1.3rem;
 }
 
 .chatbot-task-icon {
   font-size: 4.5rem;
 }
}

@media (max-width: 576px) {
 .chatbot-section-title {
   font-size: 1.8rem;
 }
 
 .chatbot-benefit-item,
 .chatbot-task-item,
 .chatbot-faq-item {
   padding: 20px;
 }
 
 .chatbot-tasks-list {
   grid-template-columns: 1fr;
 }
}

/* Изменение сетки для задач на 2x2 */
@media (min-width: 768px) {
 .chatbot-tasks-list {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 30px;
 }
}

/* Улучшение стиля иконок */
.chatbot-task-icon {
 margin-bottom: 20px;
 display: flex;
 align-items: center;
 justify-content: center;
 height: 80px;
}

.chatbot-task-icon svg {
 transition: transform 0.7s ease;
}

.chatbot-task-item:hover .chatbot-task-icon svg {
 transform: scale(1.1);
}

/* Эффект намека на поворот при наведении */
.card-container .card:hover {
  transform: rotateY(30deg);
  
  transition: transform 0.3s ease, ;
}

/* Базовый переход для всех карточек */
.card-container .card {
  transition: transform 0.3s ease, ;
}

/* При клике карточка полностью переворачивается */
.card-container .card.flipped {
  transform: rotateY(180deg);
}

/* Убедимся, что эффект наведения не конфликтует с переворотом */
.card-container .card.flipped:hover {
  transform: rotateY(180deg);
}


/* Анимация намека на поворот для мобильных устройств */
@keyframes hintFlip {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(30deg); }
  100% { transform: rotateY(0deg); }
}

/* Класс, который добавляется при появлении карточки в видимой области */
.card.hint-flip {
  animation: hintFlip 1.5s ease-in-out;
}