.hero__visual {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.ai-chat {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border-radius: 18px;
  padding: 1.5rem;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
  font-family: system-ui, sans-serif;
}


.chat-bubble {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s forwards;
}

.chat-bubble.user {
  justify-content: flex-end;
}

.chat-bubble.user .text {
  background: #2563eb;
  color: white;
  border-bottom-right-radius: 6px;
}

.chat-bubble.ai .text {
  background: #334155;
  color: #f8fafc;
  border-bottom-left-radius: 6px;
}


.chat-bubble .text {
  max-width: 75%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.45;
}


.avatar {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1e293b;
  border-radius: 50%;
  color: #f1f5f9;
  flex-shrink: 0;
}

.user .avatar { order: 2; }
.user .text { order: 1; }


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.typing .text { display: none; }

.dots {
  display: flex;
  gap: 4px;
  margin-top: 0.6rem;
}

.dots span {
  width: 6px;
  height: 6px;
  background: #cbd5e1;
  border-radius: 50%;
  opacity: 0.4;
  animation: blink 1.2s infinite;
}

.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}


.chat-bubble:nth-child(1) { animation-delay: 0.2s; }
.chat-bubble:nth-child(2) { animation-delay: 0.8s; }
.chat-bubble:nth-child(3) { animation-delay: 1.6s; }
.chat-bubble:nth-child(4) { animation-delay: 2.6s; }
.chat-bubble:nth-child(5) { animation-delay: 3.4s; }
.chat-bubble:nth-child(6) { animation-delay: 4.2s; }
.chat-bubble:nth-child(7) { animation-delay: 5s; }
.chat-bubble:nth-child(8) { animation-delay: 5.8s; }



.ai-banner {
  display: flex;
  gap: 28px;
  padding: 32px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 16px;
  color: #fff;
  align-items: center;
  flex-wrap: wrap; 
}

.cta-content {
  flex: 1 1 300px;
  min-width: 260px;
}

.cta-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-text {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-cta {
  background: #fff;
  color: #2575fc;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: 0.3s;
  display: inline-block;
}
.btn-cta:hover {
  background: #f0f0f0;
}

.cta-visuals-chat {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  min-width: 260px;
}

.chat-window.ai-style {
  background: #0f0f1a;
  border: 1px solid #2a2a40;
  border-radius: 12px;
  width: 100%;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  overflow: hidden;
  font-family: "Consolas", monospace;
}

.chat-header {
  background: #111827;
  padding: 10px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid #2a2a40;
  color: #4ade80;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

/* Сообщения */
.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.chat-message.user {
  flex-direction: row;
}
.chat-message.bot {
  flex-direction: row-reverse;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  flex-shrink: 0;
}

.bubble {
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 70%;
  line-height: 1.4;
  font-size: 13px;
}

.chat-message.user .bubble {
  background: #1e3a8a;
  color: #fff;
  border-bottom-left-radius: 4px;
}

.chat-message.bot .bubble {
  background: #1f2937;
  color: #e5e7eb;
  border-bottom-right-radius: 4px;
  border: 1px solid #4ade80;
}

.highlight {
  color: #22d3ee;
  font-weight: 600;
}


.typing-dots {
  display: flex;
  gap: 3px;
}
.typing-dots span {
  width: 5px;
  height: 5px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.2s infinite;
}
.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}


@media (max-width: 768px) {
  .ai-banner {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }
  .cta-title {
    font-size: 20px;
  }
  .cta-text {
    font-size: 14px;
  }
  .chat-window.ai-style {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 18px;
  }
  .cta-text {
    font-size: 13px;
  }
  .bubble {
    font-size: 12px;
    padding: 6px 10px;
  }
  .avatar {
    width: 22px;
    height: 22px;
  }
}


.cta-banner-big {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, #22ff945c 0%, #000000 100%);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
}

.cta-big-content {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-big-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-big-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 600px;
}

.cta-big-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.cta-big-chips .chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.cta-big-actions .btn-cta {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
  color: #1d1f33;
  transition: 0.3s ease;
}

.cta-big-actions .btn-cta:hover {
  background: #f0f0f0;
}


.cta-big-visuals {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-board {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
}

.progress-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.progress-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
}

.progress-marker {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #444a77;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.progress-step.completed .progress-marker {
  background: #4caf50;
}

.progress-step.active .progress-marker {
  background: #ff9800;
}

.progress-step.upcoming .progress-marker {
  background: #777a9f;
}

.progress-info {
  flex: 1;
}

.progress-name {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 3px;
}

.progress-desc {
  font-size: 0.85rem;
  color: #c7c8e0;
}


.progress-bar {
  margin-top: 20px;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c5cff, #ff7ad9);
  transition: width 0.4s ease;
}


@media (max-width: 768px) {
  .cta-banner-big {
    padding: 25px;
    gap: 30px;
  }
  .cta-big-title {
    font-size: 1.6rem;
  }
  .cta-big-text {
    font-size: 1rem;
  }
  .progress-board {
    max-width: 100%;
  }
}


.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, #1a1c2e 0%, #252947 100%);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
}

.cta-content {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 600px;
}

.cta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.cta-chips .chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.cta-actions .btn-cta {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
  color: #1a1c2e;
  transition: background 0.3s;
}

.cta-actions .btn-cta:hover {
  background: #e5e5e5;
}


.cta-visuals {
  flex: 1 1 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-window {
  background: #0e0f1a;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  font-family: monospace;
}

.visual-header {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: #1f2133;
}

.visual-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.visual-header span:nth-child(1) { background: #ff5f56; }
.visual-header span:nth-child(2) { background: #ffbd2e; }
.visual-header span:nth-child(3) { background: #27c93f; }

.visual-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.visual-line {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.visual-line.success {
  background: rgba(39, 201, 63, 0.15);
  color: #4ce86f;
}

.visual-line.error {
  background: rgba(255, 95, 86, 0.15);
  color: #ff6b6b;
}

.visual-line.pending {
  background: rgba(255, 189, 46, 0.15);
  color: #ffbd2e;
}


@media (max-width: 768px) {
  .cta-banner {
    padding: 25px;
    gap: 25px;
  }
  .cta-title {
    font-size: 1.6rem;
  }
  .cta-text {
    font-size: 1rem;
  }
  .visual-window {
    max-width: 100%;
  }
}



