/* بخش‌های نمونه اجرا و هزینه — صفحه عامل‌های هوش مصنوعی */

.ai-demo {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--ai-radius-md);
  border: 1px solid var(--ai-accent-border);
  background: linear-gradient(
    145deg,
    rgb(13 148 136 / 0.06),
    transparent 55%
  );
}

.ai-demo__goal {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--ai-accent-border);
}

.ai-demo__goal span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ai-accent);
  margin-bottom: 0.35rem;
}

.ai-demo__goal p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.65;
}

.ai-demo__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ai-demo__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--glass-bg, rgb(255 255 255 / 0.45));
  border: 1px solid rgb(15 23 42 / 0.06);
  transition: border-color 0.35s var(--ai-ease), box-shadow 0.35s var(--ai-ease);
}

[data-theme="dark"] .ai-demo__steps li {
  background: rgb(15 23 42 / 0.35);
  border-color: rgb(255 255 255 / 0.08);
}

.ai-demo__steps li.is-active {
  border-color: var(--ai-accent-border);
  box-shadow: 0 0 0 1px var(--ai-accent-soft);
}

.ai-demo__phase {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--ai-accent-soft);
  color: var(--ai-accent);
  white-space: nowrap;
}

.ai-demo__steps p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--text-muted);
}

.ai-demo__foot {
  margin: 1.15rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.7;
}

.ai-cost-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ai-cost-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ai-cost-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--ai-radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
}

.ai-cost-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.ai-cost-card p {
  margin: 0;
  flex: 1;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--text-muted);
}
