html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: #ffffff;
  color: #2e2e2e;
  padding-top: 90px;
}

.header a {
  color: #5b21b6;
  text-decoration: none;
  font-weight: 500;
}

.btn {
  background: #d8b4fe;
  padding: 10px 18px;
  border-radius: 8px;
  color: #2e2e2e;
  font-weight: bold;
}

.logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 30px;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  background: #eeebfe;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 35px;
}

.hero-btn {
  position: relative;
  padding: 16px 38px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  overflow: hidden;

  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;

  color: white;
  background: linear-gradient(135deg, #7c3aed, #a855f7);

  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(124,58,237,0.4);
}

.hero-btn span {
  position: relative;
  z-index: 2;
}

.hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.3),
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.3)
  );
  transform: translateX(-100%);
  transition: 0.6s;
}

/* Hover эффект */
.hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(124,58,237,0.6);
}

/* Перелив при hover */
.hero-btn:hover::before {
  transform: translateX(100%);
}

/* Нажатие */
.hero-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(124,58,237,0.5);
}

/* Блок-фон для динамичного текста */
.hero-content {
  position: relative;
  z-index: 2;
  color: black;
  max-width: 900px;

  display: flex;
  flex-direction: column;
  align-items: center;   /* центрируем всё */
  text-align: center;
}

/* Фон-блок */
.dynamic-wrapper {
  margin: 20px 0 30px 0;   /* убрали auto */
  padding: 18px 40px;

  display: flex;           /* вместо inline-flex */
  justify-content: center;
  align-items: center;

  background: rgba(202, 153, 253, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 60px;

  min-width: 520px;
  height: 70px;

  border: 1px solid rgba(255,255,255,0.3);
}

/* Внутренний текст */
.dynamic-text {
  position: relative;
  height: 40px;
  font-size: 34px;
  font-weight: 600;
  color: black;

  display: flex;
  justify-content: center;
  align-items: center;
}

.word {
  position: absolute;

  left: 50%;
  transform: translate(-50%, 20px);

  opacity: 0;
  transition: all 0.6s ease;
  white-space: nowrap;
}


.word.active {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Анимация появления */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.features-section {
  padding: 140px 10%;
  background: #ffffff;
  position: relative;
}

/* Заголовок */
.features-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.features-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 20px;
}

.features-header p {
  font-size: 18px;
  color: #666;
}

/* Сетка */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Карточки */
.feature-card {
  padding: 40px;
  border-radius: 20px;
  background: #f5f3ff;
  transition: all 0.4s ease;
  cursor: pointer;
  transform: translateY(40px);
}

.feature-card h3 {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 20px;
  color: #5b21b6;
}

.feature-card p {
  color: #444;
  line-height: 1.5;
}

.stickers {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sticker {
  position: absolute;
  font-size: 28px;
  opacity: 0;
  transform: translate(0,0) scale(0.5);
  transition: all 1.5s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 60px rgba(91,33,182,0.15);
  background: #ede9fe;
}

.feature-icon {
  font-size: 32px;
  background: linear-gradient(135deg, #d8b4fe, #c084fc);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.card {
  background: #f5f3ff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(91,33,182,0.2);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(91,33,182,0.3);
}


.agent-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.agent {
  padding: 40px;
  background: #ede9fe;
  border-radius: 14px;
  transition: 0.3s;
}

.agent:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Image insert */
.image-insert {
  padding: 60px;
  display: none;
  justify-content: center;
}

.image-placeholder {
  width: 80%;
  height: 250px;
  background: #e9d5ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b21b6;
  font-weight: bold;
  font-size: 20px;
}

/* Info blocks */
.info-blocks {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
  padding: 80px;
}

.info-card {
  background: #f5f3ff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(91,33,182,0.15);
}

footer {
  text-align: center;
  padding: 30px;
  background: #f3f0ff;
  color: #5b21b6;
}

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

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


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgb(247 244 251);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  text-align: center;
  backdrop-filter: blur(12px);
  background: rgba(247,244,251,0.8);
}

/* Анимация текста при hover */
.nav-item {
  color: #5b21b6;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item:hover {
  transform: translateY(-5px) scale(1.1);
  color: #d8b4fe;
}

/* Модальное окно */
/* Затемнённый фон */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 60, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 3000;
}

/* Активное состояние */
.modal.active {
  opacity: 1;
  pointer-events: all;
}

/* Само окно */
.modal-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  text-align: center;

  transform: translateY(40px) scale(0.9);
  opacity: 0;
  transition: all 0.4s cubic-bezier(.17,.67,.35,1.3);

  box-shadow: 0 20px 60px rgba(91,33,182,0.2);
}

/* Когда активно */
.modal.active .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Кнопки */
#submitPhone {
  margin-top: 20px;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  background: #d8b4fe;
  cursor: pointer;
  transition: 0.3s;
}

#submitPhone:hover {
  transform: scale(1.05);
}

/* Крестик */
.close {
  position: absolute;
  right: 25px;
  top: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #5b21b6;
}

.full-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.full-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: none;
}

/* Секция ассистентов */
.assistants-section {
  padding: 100px 10%;
  background: #eeebfe;
}

.assistants-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
}

.assistants-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

/* Левая колонка */
.assistants-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Карточки */
.assistant-card {
  padding: 25px;
  border-radius: 14px;
  background: #f5f3ff;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.assistant-card:hover {
  transform: translateX(6px);
}

.assistant-card.active {
  border-color: #d8b4fe;
  box-shadow: 0 15px 40px rgba(91,33,182,0.15);
  background: #ede9fe;
}

/* Правая колонка */
.assistant-preview img {
  width: 100%;
  border-radius: 24px;
}

/* Мини-модальное окно */
.agent-popover {
  position: absolute;
  background: #fff;
  padding: 20px 25px;
  border-radius: 16px;
  width: 280px;
  box-shadow: 0 20px 50px rgba(91,33,182,0.2);

  opacity: 0;
  transform: scale(0.9);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 3000;
}

.agent-popover.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.agent-popover h3 {
  color: #5b21b6;
  margin-bottom: 10px;
}

/* Попап */
.agent-popover {
  position: absolute;
  background: #fff;
  padding: 20px 25px;
  border-radius: 16px;
  width: 320px; /* немного шире, чтобы текст помещался */
  max-height: 400px; /* ограничиваем высоту */
  overflow-y: auto; /* скролл при переполнении */
  box-shadow: 0 20px 50px rgba(91,33,182,0.2);

  opacity: 0;
  transform: scale(0.9);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 3000;
}

.agent-popover.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

/* Внутренний контент */
#popoverContent p {
  margin-bottom: 10px;
  line-height: 1.4;
  font-size: 14px;
  color: #2e2e2e;
}

#popoverContent ul {
  margin: 10px 0;
  padding-left: 18px;
}

#popoverContent li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: #2e2e2e;
}

/* Секция */
.workflow-section {
  padding: 120px 10%;
  background: #fdfaff;
}

.workflow-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.workflow-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 20px;
}

.workflow-header p {
  font-size: 18px;
  color: #666;
}

/* Сетка этапов + стрелки */
.workflow-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 60px;
}

/* Этапы */
.workflow-step {
  flex: 1;
  height: 300px;
  background: #ede9fe;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
  transform: translateY(40px);
  opacity: 0;
}

.workflow-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.workflow-arrow.visible {
    opacity: 1;
    transform: translateY(0);
}

.workflow-step:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(91,33,182,0.15);
}

.workflow-step h3 {
  margin: 20px 0 12px;
  font-size: 20px;
  color: #5b21b6;
}

.workflow-step p {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.workflow-icon {
  font-size: 36px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #d8b4fe, #c084fc);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Стрелки как линии с наконечником */
.workflow-arrow {
  width: 60px;
  height: 4px;
  background: #5b21b6;
  position: relative;
  flex-shrink: 0;
  margin: 0 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.4s ease;
}

.workflow-arrow::after {
  content: '';
  position: absolute;
  right: -10px;
  top: -6px;
  border: 8px solid transparent;
  border-left-color: #5b21b6;
}

/* Результат */
.workflow-result {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.workflow-result h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.workflow-result p {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
}

.workflow-metrics {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.workflow-metrics .metric {
  background: #ede9fe;
  padding: 25px 20px;
  border-radius: 20px;
  text-align: center;
  min-width: 120px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-metrics .metric:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(91,33,182,0.2);
}

.workflow-metrics .metric .value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #5b21b6;
  margin-bottom: 8px;
}

.workflow-metrics .metric .label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #3e3e3e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-section {
  padding: 80px 10%;
  background: #fdfaff;
}

.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-header h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.pricing-header p {
  font-size: 18px;
  color: #555;
}

/* Карточки */
.tariff-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.tariff-card {
  background: white;
  border-radius: 25px;
  padding: 35px;
  width: 320px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  transition: 0.4s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.tariff-card:hover {
  transform: translateY(-8px);
}

.tariff-card.active {
  border: 2px solid #5b21b6;
  box-shadow: 0 20px 50px rgba(91,33,182,0.2);
}

.tariff-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #5b21b6;
}

.tariff-price {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tariff-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.tariff-card ul li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.tariff-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #5b21b6;
}

.tariff-desc {
  font-size: 14px;
  color: #666;
}

.pricing-graph {
  max-width: 1100px;
  margin: auto;
}

/* Recommended карточка */
.tariff-card.recommended {
  position: relative;
  border: 2px solid #5b21b6;
  box-shadow: 0 20px 60px rgba(91,33,182,0.25);
  transform: scale(1.05);
}

/* Бейдж */
.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  color: white;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(91,33,182,0.4);
  animation: pulseBadge 2.5s infinite;
}

/* Пульсация бейджа */
@keyframes pulseBadge {
  0% { box-shadow: 0 0 0 0 rgba(91,33,182,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(91,33,182,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,33,182,0); }
}

/* Активная карточка */
.tariff-card.active {
  border: 2px solid #7000cc;
  box-shadow: 0 25px 70px rgba(91,33,182,0.3);
  transform: translateY(-6px) scale(1.05);
}

.tariff-card {
  transition: all 0.35s ease;
}

@media (max-width: 768px) {

  .hero {
    height: 90vh;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .dynamic-text {
    height: 40px;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
  }

}

a {
  text-decoration: none;
  color: inherit;
}

.binary-section {
  position: relative;
  overflow: hidden;
}

.binary-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-around;
}

.binary-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: monospace;
  font-size: calc(10px + 1vw);
  color: rgb(205 59 255 / 81%);
  animation: floatUp linear infinite;
}

.binary-column:nth-child(n) {
  animation-duration: calc(12s + (var(--i) * 2s));
}
@keyframes floatUp {
  0% { transform: translateY(100%); opacity: 0; }
  10% { opacity: 0.2; }
  50% { opacity: 0.15; }
  100% { transform: translateY(-100%); opacity: 0; }
}

.assistants-container {
  position: relative;
  z-index: 1;
}

.background-particles {
  position: absolute;
  inset: 0;
  z-index: 0; /* ниже всего контента */
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(168, 85, 247, 1);
  width: 8px;
  height: 8px;
  opacity: 0.3;
  animation-name: floatParticle;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0) scale(1);
    opacity: 0;
  }
  20% { opacity: 0.2; }
  50% { opacity: 0.15; }
  100% {
    transform: translateY(-10vh) translateX(50px) scale(0.8);
    opacity: 0;
  }
}

.agents-background {
  position: absolute;
  inset: 0;
  z-index: 0; /* под карточками */
  pointer-events: none;
  overflow: hidden;
}

#agents-lines-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.workflow-step{
  position:relative;
  transition:all .4s ease;
}

.workflow-step.active{
  transform:scale(1.08);
  background:rgba(160,120,255,0.18);
  box-shadow:0 0 40px rgba(160,120,255,.5);
}

.emoji-burst{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.emoji{
  position:absolute;
  font-size:26px;
  opacity:0;
  transform:translate(-50%,-50%) scale(.4);
  transition:all 1s cubic-bezier(.2,.8,.2,1);
}

.workflow-result{
  opacity:0;
  transform:translateY(40px);
  transition:all .8s ease;
}

.workflow-result.show{
  opacity:1;
  transform:translateY(0);
}

.pipeline-section{
  padding:140px 20px;
  text-align:center;
  background:linear-gradient(180deg,#ffffff,#f7f2ff);
}

.pipeline-header h2{
  font-size:40px;
  margin-bottom:10px;
}

.pipeline-header p{
  opacity:.7;
  margin-bottom:70px;
}

.pipeline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
}

.pipeline-step{
  width:220px;
  padding:30px;
  border-radius:16px;
  background:white;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  transition:.3s;
}

.pipeline-step:hover{
  transform:translateY(-6px);
}

.pipeline-icon{
  font-size:32px;
  margin-bottom:12px;
}

.pipeline-arrow{
  width:80px;
  height:3px;
  background:linear-gradient(90deg,#a033ff,#6a7cff);
  border-radius:3px;
  position:relative;
  overflow:hidden;
}

.pipeline-arrow::after{
  content:"";
  position:absolute;
  width:40px;
  height:100%;
  background:white;
  opacity:.5;
  animation:pipelineFlow 2s linear infinite;
}

@keyframes pipelineFlow{
  from{transform:translateX(-100%);}
  to{transform:translateX(200%);}
}

.pipeline-cta{
  margin-top:80px;
}

.cta-primary{
  background:#a033ff;
  color:white;
  border:none;
  padding:18px 40px;
  border-radius:14px;
  font-size:18px;
  cursor:pointer;
  transition:.3s;
}

.cta-primary:hover{
  transform:scale(1.05);
  box-shadow:0 10px 30px rgba(160,51,255,.4);
}



.cta-final{
  padding:200px 20px;
  text-align:center;
  background:linear-gradient(180deg,#ffffff,#f7f2ff);
  position:relative;
  overflow:hidden;
}

.cta-final-inner{
  max-width:800px;
  margin:auto;
}

.cta-final h2{
  font-size:48px;
  line-height:1.2;
  margin-bottom:20px;
}

.cta-final p{
  font-size:18px;
  opacity:.7;
  margin-bottom:50px;
}

.cta-final-button{
  padding:18px 42px;
  border:none;
  border-radius:14px;
  font-size:18px;
  background:#a033ff;
  color:white;
  cursor:pointer;
  transition:.3s;
}

.cta-final-button:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 40px rgba(160,51,255,.35);
}

.cta-final::before{
  content:"";
  position:absolute;
  width:100%;
  height:120%;
  background:radial-gradient(circle,#a033ff30,transparent);
  top:-200px;
  left:50%;
  transform:translateX(-50%);
  pointer-events: none;
}

/* ================= MOBILE ================= */

@media (max-width: 900px){

  section{
    padding:80px 20px !important;
  }

  h1{
    font-size:32px;
  }

  .cta-final h2{
    font-size:26px;
  }

  .pricing-header h2{
    font-size:26px;
  }

  .workflow-header h2{
    font-size:26px;
  }

  .assistants-section h2{
    font-size:26px;
  }

  .features-header h2{
    font-size:26px;
  }


  p{
    font-size:15px;
  }

}

@media (max-width:768px){

  .dynamic-wrapper{
    min-width:auto;
    width:100%;
    padding:14px 20px;
  }

  .dynamic-text{
    font-size:22px;
  }

  .word{
    white-space:normal;
  }

}

@media (max-width:900px){

  .workflow-grid{
    flex-direction:column;
    align-items:center;
  }

  .workflow-arrow{
    transform:rotate(90deg);
    width:40px;
  }

  .workflow-step{
    width:100%;
    max-width:340px;
    height:auto;
  }

}

@media (max-width:900px){

  .assistants-container{
    grid-template-columns:1fr;
    gap:40px;
  }

  .assistant-preview{
    order:-1;
  }

}

@media (max-width:768px){

  .features-grid{
    grid-template-columns:1fr;
    gap:25px;
  }

  .feature-card{
    padding:25px;
  }

}

@media (max-width:768px){

  .tariff-cards{
    flex-direction:column;
    align-items:center;
  }

  .tariff-card{
    width:100%;
    max-width:340px;
  }

}

@media (max-width:768px){

  .pipeline{
    flex-direction:column;
  }

  .pipeline-arrow{
    width:3px;
    height:50px;
  }

}

@media (max-width:768px){
  .workflow-result {
    opacity: 1;
  }
  .header{
    padding:15px 20px;
  }

  .nav{
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .nav-item{
    margin-left:0;
  }

}

@media (max-width:768px){

  button{
    width:100%;
    max-width:320px;
  }

}

@media (max-width:900px){

  section,
  .features-section,
  .workflow-section,
  .assistants-section,
  .pricing-section{
    padding-left:20px;
    padding-right:20px;
  }

}

@media (max-width:900px){
  .info-blocks{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 15px 20px;
  }

  .nav {
    margin-top: 10px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo {
    height: 40px;
  }
}
